IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/systemd/src/udev/cdrom_id/extr_cdrom_id.c_cd_media_info.c'
source_filename = "AnghaBench/systemd/src/udev/cdrom_id/extr_cdrom_id.c_cd_media_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.scsi_cmd = type { i32 }
@cd_media_info.media_status = internal unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str = private unnamed_addr constant [6 x i8] c"blank\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"appendable\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"complete\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"other\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"READ DISC INFORMATION\00", align 1
@cd_media = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [15 x i8] c"disk type %02x\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"hardware reported media status: %s\00", align 1
@cd_media_cd_rom = dso_local local_unnamed_addr global i32 0, align 4
@cd_media_state = dso_local local_unnamed_addr global ptr null, align 8
@cd_media_dvd_rw_ro = dso_local local_unnamed_addr global i64 0, align 8
@cd_media_dvd_plus_rw = dso_local local_unnamed_addr global i64 0, align 8
@cd_media_dvd_plus_rw_dl = dso_local local_unnamed_addr global i64 0, align 8
@cd_media_dvd_ram = dso_local local_unnamed_addr global i64 0, align 8
@.str.7 = private unnamed_addr constant [19 x i8] c"READ DVD STRUCTURE\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"write-protected DVD-RAM media inserted\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"READ DVD FORMAT CAPACITIES\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [33 x i8] c"invalid format capacities length\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c"unformatted DVD-RAM media inserted\00", align 1
@.str.12 = private unnamed_addr constant [33 x i8] c"formatted DVD-RAM media inserted\00", align 1
@ENOMEDIUM = dso_local local_unnamed_addr global i32 0, align 4
@.str.13 = private unnamed_addr constant [36 x i8] c"format capacities returned no media\00", align 1
@.str.14 = private unnamed_addr constant [21 x i8] c"READ FIRST 32 BLOCKS\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"data in block 16, assuming complete\00", align 1
@.str.16 = private unnamed_addr constant [35 x i8] c"data in block 0, assuming complete\00", align 1
@.str.17 = private unnamed_addr constant [42 x i8] c"no data in blocks 0 or 16, assuming blank\00", align 1
@cd_media_session_next = dso_local local_unnamed_addr global i8 0, align 1
@cd_media_session_count = dso_local local_unnamed_addr global i8 0, align 1
@cd_media_track_count = dso_local local_unnamed_addr global i8 0, align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cd_media_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cd_media_info(i32 noundef %0) #0 {
%2 = alloca %struct.scsi_cmd, align 4
%3 = alloca [32 x i8], align 16
%4 = alloca [65536 x i8], align 16
%5 = alloca [8 x i8], align 1
%6 = alloca [12 x i8], align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
%7 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%8 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 81) #3
%9 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 8, i32 noundef 32) #3
%10 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 0) #3
%11 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %3, i32 noundef 32) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %1
%14 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.4, i32 noundef %11) #3
br label %187
15: ; preds = %1
store i32 1, ptr @cd_media, align 4, !tbaa !5
%16 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 8
%17 = load i8, ptr %16, align 8, !tbaa !9
%18 = zext i8 %17 to i32
%19 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.5, i32 noundef %18) #3
%20 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 2
%21 = load i8, ptr %20, align 2, !tbaa !9
%22 = and i8 %21, 3
%23 = zext nneg i8 %22 to i64
%24 = getelementptr inbounds [4 x ptr], ptr @cd_media_info.media_status, i64 0, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !10
%26 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.6, ptr noundef %25) #3
%27 = load i32, ptr @cd_media_cd_rom, align 4, !tbaa !5
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %15
%30 = load i8, ptr %20, align 2, !tbaa !9
%31 = and i8 %30, 3
%32 = zext nneg i8 %31 to i64
%33 = getelementptr inbounds [4 x ptr], ptr @cd_media_info.media_status, i64 0, i64 %32
%34 = load ptr, ptr %33, align 8, !tbaa !10
store ptr %34, ptr @cd_media_state, align 8, !tbaa !10
br label %35
35: ; preds = %29, %15
%36 = load i64, ptr @cd_media_dvd_rw_ro, align 8, !tbaa !12
%37 = icmp eq i64 %36, 0
br i1 %37, label %43, label %38
38: ; preds = %35
%39 = load i8, ptr %20, align 2, !tbaa !9
%40 = and i8 %39, 3
%41 = icmp eq i8 %40, 1
br i1 %41, label %42, label %43
42: ; preds = %38
store ptr @.str, ptr @cd_media_state, align 8, !tbaa !10
br label %43
43: ; preds = %42, %38, %35
%44 = icmp ne i64 %36, 0
%45 = load i64, ptr @cd_media_dvd_plus_rw, align 8
%46 = icmp ne i64 %45, 0
%47 = select i1 %44, i1 true, i1 %46
%48 = load i64, ptr @cd_media_dvd_plus_rw_dl, align 8
%49 = icmp ne i64 %48, 0
%50 = select i1 %47, i1 true, i1 %49
%51 = load i64, ptr @cd_media_dvd_ram, align 8
%52 = icmp ne i64 %51, 0
%53 = select i1 %50, i1 true, i1 %52
br i1 %53, label %54, label %172
54: ; preds = %43
%55 = load i8, ptr %20, align 2, !tbaa !9
%56 = and i8 %55, 2
%57 = icmp eq i8 %56, 0
br i1 %57, label %172, label %58
58: ; preds = %54
call void @llvm.lifetime.start.p0(i64 65536, ptr nonnull %4) #3
%59 = icmp eq i64 %51, 0
br i1 %59, label %107, label %60
60: ; preds = %58
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #3
%61 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%62 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 173) #3
%63 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 7, i32 noundef 192) #3
%64 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 8) #3
%65 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 11, i32 noundef 0) #3
%66 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %5, i32 noundef 8) #3
%67 = icmp eq i32 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %60
%69 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.7, i32 noundef %66) #3
br label %167
70: ; preds = %60
%71 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 4
%72 = load i8, ptr %71, align 1, !tbaa !9
%73 = and i8 %72, 2
%74 = icmp eq i8 %73, 0
br i1 %74, label %76, label %75
75: ; preds = %70
store ptr @.str.2, ptr @cd_media_state, align 8, !tbaa !10
br label %169
76: ; preds = %70
%77 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%78 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 35) #3
%79 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 8, i32 noundef 12) #3
%80 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 0) #3
%81 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %6, i32 noundef 12) #3
%82 = icmp eq i32 %81, 0
br i1 %82, label %85, label %83
83: ; preds = %76
%84 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.9, i32 noundef %81) #3
br label %167
85: ; preds = %76
%86 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 3
%87 = load i8, ptr %86, align 1, !tbaa !9
%88 = and i8 %87, 7
%89 = icmp ne i8 %88, 0
%90 = icmp ult i8 %87, 16
%91 = or i1 %90, %89
br i1 %91, label %92, label %96
92: ; preds = %85
%93 = load i32, ptr @EINVAL, align 4, !tbaa !5
%94 = call i32 @SYNTHETIC_ERRNO(i32 noundef %93) #3
%95 = call i32 @log_debug_errno(i32 noundef %94, ptr noundef nonnull @.str.10) #3
br label %167
96: ; preds = %85
%97 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 8
%98 = load i8, ptr %97, align 1, !tbaa !9
%99 = and i8 %98, 3
switch i8 %99, label %106 [
i8 1, label %169
i8 2, label %100
i8 3, label %102
]
100: ; preds = %96
%101 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.12) #3
br label %106
102: ; preds = %96
store i32 0, ptr @cd_media, align 4, !tbaa !5
%103 = load i32, ptr @ENOMEDIUM, align 4, !tbaa !5
%104 = call i32 @SYNTHETIC_ERRNO(i32 noundef %103) #3
%105 = call i32 @log_debug_errno(i32 noundef %104, ptr noundef nonnull @.str.13) #3
br label %167
106: ; preds = %100, %96
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %107
107: ; preds = %106, %58
%108 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%109 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 40) #3
%110 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 5, i32 noundef 0) #3
%111 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 8, i32 noundef 32) #3
%112 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 0) #3
%113 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %4, i32 noundef 65536) #3
%114 = icmp eq i32 %113, 0
br i1 %114, label %135, label %115
115: ; preds = %107
store i32 0, ptr @cd_media, align 4, !tbaa !5
%116 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.14, i32 noundef %113) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %187
117: ; preds = %135
%118 = or disjoint i64 %136, 1
%119 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %118
%120 = load i8, ptr %119, align 1, !tbaa !9
%121 = icmp eq i8 %120, 0
br i1 %121, label %122, label %164
122: ; preds = %117
%123 = or disjoint i64 %136, 2
%124 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %123
%125 = load i8, ptr %124, align 2, !tbaa !9
%126 = icmp eq i8 %125, 0
br i1 %126, label %127, label %164
127: ; preds = %122
%128 = or disjoint i64 %136, 3
%129 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %128
%130 = load i8, ptr %129, align 1, !tbaa !9
%131 = icmp eq i8 %130, 0
br i1 %131, label %132, label %164
132: ; preds = %127
%133 = add nuw nsw i64 %136, 4
%134 = icmp eq i64 %133, 34816
br i1 %134, label %158, label %135, !llvm.loop !14
135: ; preds = %107, %132
%136 = phi i64 [ %133, %132 ], [ 32768, %107 ]
%137 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %136
%138 = load i8, ptr %137, align 4, !tbaa !9
%139 = icmp eq i8 %138, 0
br i1 %139, label %117, label %164
140: ; preds = %158
%141 = or disjoint i64 %159, 1
%142 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %141
%143 = load i8, ptr %142, align 1, !tbaa !9
%144 = icmp eq i8 %143, 0
br i1 %144, label %145, label %164
145: ; preds = %140
%146 = or disjoint i64 %159, 2
%147 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %146
%148 = load i8, ptr %147, align 2, !tbaa !9
%149 = icmp eq i8 %148, 0
br i1 %149, label %150, label %164
150: ; preds = %145
%151 = or disjoint i64 %159, 3
%152 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %151
%153 = load i8, ptr %152, align 1, !tbaa !9
%154 = icmp eq i8 %153, 0
br i1 %154, label %155, label %164
155: ; preds = %150
%156 = add nuw nsw i64 %159, 4
%157 = icmp eq i64 %156, 2048
br i1 %157, label %163, label %158, !llvm.loop !16
158: ; preds = %132, %155
%159 = phi i64 [ %156, %155 ], [ 0, %132 ]
%160 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %159
%161 = load i8, ptr %160, align 4, !tbaa !9
%162 = icmp eq i8 %161, 0
br i1 %162, label %140, label %164
163: ; preds = %155
store ptr @.str, ptr @cd_media_state, align 8, !tbaa !10
br label %164
164: ; preds = %135, %117, %122, %127, %158, %140, %145, %150, %163
%165 = phi ptr [ @.str.17, %163 ], [ @.str.16, %150 ], [ @.str.16, %145 ], [ @.str.16, %140 ], [ @.str.16, %158 ], [ @.str.15, %127 ], [ @.str.15, %122 ], [ @.str.15, %117 ], [ @.str.15, %135 ]
%166 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull %165) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %172
167: ; preds = %102, %92, %83, %68
%168 = phi i32 [ -1, %68 ], [ -1, %83 ], [ %95, %92 ], [ %105, %102 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %187
169: ; preds = %96, %75
%170 = phi ptr [ @.str.8, %75 ], [ @.str.11, %96 ]
%171 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull %170) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %172
172: ; preds = %169, %164, %54, %43
%173 = load i8, ptr %20, align 2, !tbaa !9
%174 = and i8 %173, 2
%175 = icmp ne i8 %174, 0
%176 = load i64, ptr @cd_media_dvd_rw_ro, align 8
%177 = icmp ne i64 %176, 0
%178 = select i1 %175, i1 true, i1 %177
br i1 %178, label %182, label %179
179: ; preds = %172
%180 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 5
%181 = load i8, ptr %180, align 1, !tbaa !9
store i8 %181, ptr @cd_media_session_next, align 1, !tbaa !9
br label %182
182: ; preds = %179, %172
%183 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 4
%184 = load i8, ptr %183, align 4, !tbaa !9
store i8 %184, ptr @cd_media_session_count, align 1, !tbaa !9
%185 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 6
%186 = load i8, ptr %185, align 2, !tbaa !9
store i8 %186, ptr @cd_media_track_count, align 1, !tbaa !9
br label %187
187: ; preds = %167, %115, %182, %13
%188 = phi i32 [ -1, %13 ], [ 0, %182 ], [ -1, %115 ], [ %168, %167 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %188
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @scsi_cmd_init(ptr noundef) local_unnamed_addr #2
declare i32 @scsi_cmd_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @scsi_cmd_run(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @info_scsi_cmd_err(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @log_debug(ptr noundef, ...) local_unnamed_addr #2
declare i32 @log_debug_errno(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SYNTHETIC_ERRNO(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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| ; ModuleID = 'AnghaBench/systemd/src/udev/cdrom_id/extr_cdrom_id.c_cd_media_info.c'
source_filename = "AnghaBench/systemd/src/udev/cdrom_id/extr_cdrom_id.c_cd_media_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.scsi_cmd = type { i32 }
@cd_media_info.media_status = internal unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 8
@.str = private unnamed_addr constant [6 x i8] c"blank\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"appendable\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"complete\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"other\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"READ DISC INFORMATION\00", align 1
@cd_media = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [15 x i8] c"disk type %02x\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"hardware reported media status: %s\00", align 1
@cd_media_cd_rom = common local_unnamed_addr global i32 0, align 4
@cd_media_state = common local_unnamed_addr global ptr null, align 8
@cd_media_dvd_rw_ro = common local_unnamed_addr global i64 0, align 8
@cd_media_dvd_plus_rw = common local_unnamed_addr global i64 0, align 8
@cd_media_dvd_plus_rw_dl = common local_unnamed_addr global i64 0, align 8
@cd_media_dvd_ram = common local_unnamed_addr global i64 0, align 8
@.str.7 = private unnamed_addr constant [19 x i8] c"READ DVD STRUCTURE\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"write-protected DVD-RAM media inserted\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"READ DVD FORMAT CAPACITIES\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [33 x i8] c"invalid format capacities length\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c"unformatted DVD-RAM media inserted\00", align 1
@.str.12 = private unnamed_addr constant [33 x i8] c"formatted DVD-RAM media inserted\00", align 1
@ENOMEDIUM = common local_unnamed_addr global i32 0, align 4
@.str.13 = private unnamed_addr constant [36 x i8] c"format capacities returned no media\00", align 1
@.str.14 = private unnamed_addr constant [21 x i8] c"READ FIRST 32 BLOCKS\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"data in block 16, assuming complete\00", align 1
@.str.16 = private unnamed_addr constant [35 x i8] c"data in block 0, assuming complete\00", align 1
@.str.17 = private unnamed_addr constant [42 x i8] c"no data in blocks 0 or 16, assuming blank\00", align 1
@cd_media_session_next = common local_unnamed_addr global i8 0, align 1
@cd_media_session_count = common local_unnamed_addr global i8 0, align 1
@cd_media_track_count = common local_unnamed_addr global i8 0, align 1
@llvm.used = appending global [1 x ptr] [ptr @cd_media_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cd_media_info(i32 noundef %0) #0 {
%2 = alloca %struct.scsi_cmd, align 4
%3 = alloca [32 x i8], align 1
%4 = alloca [65536 x i8], align 1
%5 = alloca [8 x i8], align 1
%6 = alloca [12 x i8], align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
%7 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%8 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 81) #3
%9 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 8, i32 noundef 32) #3
%10 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 0) #3
%11 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %3, i32 noundef 32) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %1
%14 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.4, i32 noundef %11) #3
br label %158
15: ; preds = %1
store i32 1, ptr @cd_media, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %3, i64 8
%17 = load i8, ptr %16, align 1, !tbaa !10
%18 = zext i8 %17 to i32
%19 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.5, i32 noundef %18) #3
%20 = getelementptr inbounds i8, ptr %3, i64 2
%21 = load i8, ptr %20, align 1, !tbaa !10
%22 = and i8 %21, 3
%23 = zext nneg i8 %22 to i64
%24 = getelementptr inbounds [4 x ptr], ptr @cd_media_info.media_status, i64 0, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !11
%26 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.6, ptr noundef %25) #3
%27 = load i32, ptr @cd_media_cd_rom, align 4, !tbaa !6
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %15
%30 = load i8, ptr %20, align 1, !tbaa !10
%31 = and i8 %30, 3
%32 = zext nneg i8 %31 to i64
%33 = getelementptr inbounds [4 x ptr], ptr @cd_media_info.media_status, i64 0, i64 %32
%34 = load ptr, ptr %33, align 8, !tbaa !11
store ptr %34, ptr @cd_media_state, align 8, !tbaa !11
br label %35
35: ; preds = %29, %15
%36 = load i64, ptr @cd_media_dvd_rw_ro, align 8, !tbaa !13
%37 = icmp eq i64 %36, 0
br i1 %37, label %43, label %38
38: ; preds = %35
%39 = load i8, ptr %20, align 1, !tbaa !10
%40 = and i8 %39, 3
%41 = icmp eq i8 %40, 1
br i1 %41, label %42, label %43
42: ; preds = %38
store ptr @.str, ptr @cd_media_state, align 8, !tbaa !11
br label %43
43: ; preds = %42, %38, %35
%44 = icmp ne i64 %36, 0
%45 = load i64, ptr @cd_media_dvd_plus_rw, align 8
%46 = icmp ne i64 %45, 0
%47 = select i1 %44, i1 true, i1 %46
%48 = load i64, ptr @cd_media_dvd_plus_rw_dl, align 8
%49 = icmp ne i64 %48, 0
%50 = select i1 %47, i1 true, i1 %49
%51 = load i64, ptr @cd_media_dvd_ram, align 8
%52 = icmp ne i64 %51, 0
%53 = select i1 %50, i1 true, i1 %52
br i1 %53, label %54, label %143
54: ; preds = %43
%55 = load i8, ptr %20, align 1, !tbaa !10
%56 = and i8 %55, 2
%57 = icmp eq i8 %56, 0
br i1 %57, label %143, label %58
58: ; preds = %54
call void @llvm.lifetime.start.p0(i64 65536, ptr nonnull %4) #3
%59 = icmp eq i64 %51, 0
br i1 %59, label %108, label %60
60: ; preds = %58
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #3
%61 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%62 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 173) #3
%63 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 7, i32 noundef 192) #3
%64 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 8) #3
%65 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 11, i32 noundef 0) #3
%66 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %5, i32 noundef 8) #3
%67 = icmp eq i32 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %60
%69 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.7, i32 noundef %66) #3
br label %138
70: ; preds = %60
%71 = getelementptr inbounds i8, ptr %5, i64 4
%72 = load i8, ptr %71, align 1, !tbaa !10
%73 = and i8 %72, 2
%74 = icmp eq i8 %73, 0
br i1 %74, label %76, label %75
75: ; preds = %70
store ptr @.str.2, ptr @cd_media_state, align 8, !tbaa !11
br label %140
76: ; preds = %70
%77 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%78 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 35) #3
%79 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 8, i32 noundef 12) #3
%80 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 0) #3
%81 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %6, i32 noundef 12) #3
%82 = icmp eq i32 %81, 0
br i1 %82, label %85, label %83
83: ; preds = %76
%84 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.9, i32 noundef %81) #3
br label %138
85: ; preds = %76
%86 = getelementptr inbounds i8, ptr %6, i64 3
%87 = load i8, ptr %86, align 1, !tbaa !10
%88 = and i8 %87, 7
%89 = icmp ne i8 %88, 0
%90 = icmp ult i8 %87, 16
%91 = or i1 %90, %89
br i1 %91, label %92, label %96
92: ; preds = %85
%93 = load i32, ptr @EINVAL, align 4, !tbaa !6
%94 = call i32 @SYNTHETIC_ERRNO(i32 noundef %93) #3
%95 = call i32 @log_debug_errno(i32 noundef %94, ptr noundef nonnull @.str.10) #3
br label %138
96: ; preds = %85
%97 = getelementptr inbounds i8, ptr %6, i64 8
%98 = load i8, ptr %97, align 1, !tbaa !10
%99 = and i8 %98, 3
switch i8 %99, label %106 [
i8 1, label %140
i8 2, label %100
i8 3, label %102
i8 0, label %107
]
100: ; preds = %96
%101 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.12) #3
br label %107
102: ; preds = %96
store i32 0, ptr @cd_media, align 4, !tbaa !6
%103 = load i32, ptr @ENOMEDIUM, align 4, !tbaa !6
%104 = call i32 @SYNTHETIC_ERRNO(i32 noundef %103) #3
%105 = call i32 @log_debug_errno(i32 noundef %104, ptr noundef nonnull @.str.13) #3
br label %138
106: ; preds = %96
unreachable
107: ; preds = %100, %96
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %108
108: ; preds = %107, %58
%109 = call i32 @scsi_cmd_init(ptr noundef nonnull %2) #3
%110 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 40) #3
%111 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 5, i32 noundef 0) #3
%112 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 8, i32 noundef 32) #3
%113 = call i32 @scsi_cmd_set(ptr noundef nonnull %2, i32 noundef 9, i32 noundef 0) #3
%114 = call i32 @scsi_cmd_run(ptr noundef nonnull %2, i32 noundef %0, ptr noundef nonnull %4, i32 noundef 65536) #3
%115 = icmp eq i32 %114, 0
br i1 %115, label %121, label %116
116: ; preds = %108
store i32 0, ptr @cd_media, align 4, !tbaa !6
%117 = call i32 @info_scsi_cmd_err(ptr noundef nonnull @.str.14, i32 noundef %114) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %158
118: ; preds = %121
%119 = add nuw nsw i64 %122, 1
%120 = icmp eq i64 %119, 34816
br i1 %120, label %129, label %121, !llvm.loop !15
121: ; preds = %108, %118
%122 = phi i64 [ %119, %118 ], [ 32768, %108 ]
%123 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %122
%124 = load i8, ptr %123, align 1, !tbaa !10
%125 = icmp eq i8 %124, 0
br i1 %125, label %118, label %135
126: ; preds = %129
%127 = add nuw nsw i64 %130, 1
%128 = icmp eq i64 %127, 2048
br i1 %128, label %134, label %129, !llvm.loop !17
129: ; preds = %118, %126
%130 = phi i64 [ %127, %126 ], [ 0, %118 ]
%131 = getelementptr inbounds [65536 x i8], ptr %4, i64 0, i64 %130
%132 = load i8, ptr %131, align 1, !tbaa !10
%133 = icmp eq i8 %132, 0
br i1 %133, label %126, label %135
134: ; preds = %126
store ptr @.str, ptr @cd_media_state, align 8, !tbaa !11
br label %135
135: ; preds = %121, %129, %134
%136 = phi ptr [ @.str.17, %134 ], [ @.str.16, %129 ], [ @.str.15, %121 ]
%137 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull %136) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %143
138: ; preds = %102, %92, %83, %68
%139 = phi i32 [ -1, %68 ], [ -1, %83 ], [ %95, %92 ], [ %105, %102 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %158
140: ; preds = %96, %75
%141 = phi ptr [ @.str.8, %75 ], [ @.str.11, %96 ]
%142 = call i32 (ptr, ...) @log_debug(ptr noundef nonnull %141) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 65536, ptr nonnull %4) #3
br label %143
143: ; preds = %140, %135, %54, %43
%144 = load i8, ptr %20, align 1, !tbaa !10
%145 = and i8 %144, 2
%146 = icmp ne i8 %145, 0
%147 = load i64, ptr @cd_media_dvd_rw_ro, align 8
%148 = icmp ne i64 %147, 0
%149 = select i1 %146, i1 true, i1 %148
br i1 %149, label %153, label %150
150: ; preds = %143
%151 = getelementptr inbounds i8, ptr %3, i64 5
%152 = load i8, ptr %151, align 1, !tbaa !10
store i8 %152, ptr @cd_media_session_next, align 1, !tbaa !10
br label %153
153: ; preds = %150, %143
%154 = getelementptr inbounds i8, ptr %3, i64 4
%155 = load i8, ptr %154, align 1, !tbaa !10
store i8 %155, ptr @cd_media_session_count, align 1, !tbaa !10
%156 = getelementptr inbounds i8, ptr %3, i64 6
%157 = load i8, ptr %156, align 1, !tbaa !10
store i8 %157, ptr @cd_media_track_count, align 1, !tbaa !10
br label %158
158: ; preds = %138, %116, %153, %13
%159 = phi i32 [ -1, %13 ], [ 0, %153 ], [ -1, %116 ], [ %139, %138 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %159
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @scsi_cmd_init(ptr noundef) local_unnamed_addr #2
declare i32 @scsi_cmd_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @scsi_cmd_run(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @info_scsi_cmd_err(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @log_debug(ptr noundef, ...) local_unnamed_addr #2
declare i32 @log_debug_errno(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SYNTHETIC_ERRNO(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 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| systemd_src_udev_cdrom_id_extr_cdrom_id.c_cd_media_info |
; ModuleID = 'AnghaBench/freebsd/lib/libthr/thread/extr_thr_attr.c__thr_attr_getguardsize.c'
source_filename = "AnghaBench/freebsd/lib/libthr/thread/extr_thr_attr.c__thr_attr_getguardsize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local i32 @_thr_attr_getguardsize(ptr noalias noundef readonly %0, ptr noalias noundef writeonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %9, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
%7 = icmp eq ptr %1, null
%8 = or i1 %7, %6
br i1 %8, label %9, label %11
9: ; preds = %4, %2
%10 = load i32, ptr @EINVAL, align 4, !tbaa !9
br label %13
11: ; preds = %4
%12 = load i64, ptr %5, align 8, !tbaa !11
store i64 %12, ptr %1, align 8, !tbaa !14
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ 0, %11 ]
ret i32 %14
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !13, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/lib/libthr/thread/extr_thr_attr.c__thr_attr_getguardsize.c'
source_filename = "AnghaBench/freebsd/lib/libthr/thread/extr_thr_attr.c__thr_attr_getguardsize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define i32 @_thr_attr_getguardsize(ptr noalias noundef readonly %0, ptr noalias noundef writeonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %9, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
%7 = icmp eq ptr %1, null
%8 = or i1 %7, %6
br i1 %8, label %9, label %11
9: ; preds = %4, %2
%10 = load i32, ptr @EINVAL, align 4, !tbaa !10
br label %13
11: ; preds = %4
%12 = load i64, ptr %5, align 8, !tbaa !12
store i64 %12, ptr %1, align 8, !tbaa !15
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ 0, %11 ]
ret i32 %14
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!14, !14, i64 0}
| freebsd_lib_libthr_thread_extr_thr_attr.c__thr_attr_getguardsize |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_83xx_init.c_qlcnic_83xx_aer_reset.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_83xx_init.c_qlcnic_83xx_aer_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.qlcnic_hardware_context = type { i64, %struct.qlc_83xx_idc }
%struct.qlc_83xx_idc = type { ptr, i32 }
@QLC_83XX_IDC_DEV_NEED_RESET = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @qlcnic_83xx_aer_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.qlcnic_hardware_context, ptr %2, i64 0, i32 1
%4 = load i32, ptr @QLC_83XX_IDC_DEV_NEED_RESET, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.qlcnic_hardware_context, ptr %2, i64 0, i32 1, i32 1
store i32 %4, ptr %5, align 8, !tbaa !12
%6 = tail call i64 @qlcnic_83xx_idc_find_reset_owner_id(ptr noundef nonnull %0) #2
%7 = load i64, ptr %2, align 8, !tbaa !14
%8 = icmp eq i64 %7, %6
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = tail call i32 @qlcnic_83xx_restart_hw(ptr noundef nonnull %0) #2
%11 = icmp slt i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %9
%13 = tail call i32 @qlcnic_83xx_idc_clear_registers(ptr noundef nonnull %0, i32 noundef 0) #2
br label %14
14: ; preds = %12, %1
%15 = load ptr, ptr %3, align 8, !tbaa !17
%16 = tail call i32 %15(ptr noundef nonnull %0) #2
br label %17
17: ; preds = %9, %14
%18 = phi i32 [ %16, %14 ], [ %10, %9 ]
ret i32 %18
}
declare i64 @qlcnic_83xx_idc_find_reset_owner_id(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_83xx_restart_hw(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_83xx_idc_clear_registers(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 = !{!"qlcnic_adapter", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"qlc_83xx_idc", !7, i64 0, !11, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"qlcnic_hardware_context", !16, i64 0, !13, i64 8}
!16 = !{!"long", !8, i64 0}
!17 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_83xx_init.c_qlcnic_83xx_aer_reset.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_83xx_init.c_qlcnic_83xx_aer_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QLC_83XX_IDC_DEV_NEED_RESET = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @qlcnic_83xx_aer_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load i32, ptr @QLC_83XX_IDC_DEV_NEED_RESET, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %4, ptr %5, align 8, !tbaa !13
%6 = tail call i64 @qlcnic_83xx_idc_find_reset_owner_id(ptr noundef nonnull %0) #2
%7 = load i64, ptr %2, align 8, !tbaa !15
%8 = icmp eq i64 %7, %6
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = tail call i32 @qlcnic_83xx_restart_hw(ptr noundef nonnull %0) #2
%11 = icmp slt i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %9
%13 = tail call i32 @qlcnic_83xx_idc_clear_registers(ptr noundef nonnull %0, i32 noundef 0) #2
br label %14
14: ; preds = %12, %1
%15 = load ptr, ptr %3, align 8, !tbaa !18
%16 = tail call i32 %15(ptr noundef nonnull %0) #2
br label %17
17: ; preds = %9, %14
%18 = phi i32 [ %16, %14 ], [ %10, %9 ]
ret i32 %18
}
declare i64 @qlcnic_83xx_idc_find_reset_owner_id(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_83xx_restart_hw(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_83xx_idc_clear_registers(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 = !{!"qlcnic_adapter", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"qlc_83xx_idc", !8, i64 0, !12, i64 8}
!15 = !{!16, !17, i64 0}
!16 = !{!"qlcnic_hardware_context", !17, i64 0, !14, i64 8}
!17 = !{!"long", !9, i64 0}
!18 = !{!14, !8, i64 0}
| linux_drivers_net_ethernet_qlogic_qlcnic_extr_qlcnic_83xx_init.c_qlcnic_83xx_aer_reset |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_max_ports.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_max_ports.c"
target datalayout = "e-m:e-p270:32:32-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 @mlxsw_core_max_ports(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 = !{!"mlxsw_core", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_max_ports.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_max_ports.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 @mlxsw_core_max_ports(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 = !{!"mlxsw_core", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_core.c_mlxsw_core_max_ports |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_AllocateFrames.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_AllocateFrames.c"
target datalayout = "e-m:e-p270:32:32-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, i64, ptr, ptr, i64 }
%struct.TYPE_6__ = type { i64, i64, ptr }
@kNumChannels = dso_local local_unnamed_addr constant i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @AllocateFrames], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @AllocateFrames(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = trunc i64 %1 to i32
%4 = mul i32 %3, 24
%5 = tail call i32 @CheckSizeForOverflow(i32 noundef 0) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %63, label %7
7: ; preds = %2
%8 = tail call i32 @CheckSizeForOverflow(i32 noundef %4) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %63, label %10
10: ; preds = %7
%11 = tail call i64 @WebPMalloc(i64 noundef 0) #3
%12 = inttoptr i64 %11 to ptr
%13 = sext i32 %4 to i64
%14 = tail call i64 @WebPMalloc(i64 noundef %13) #3
%15 = inttoptr i64 %14 to ptr
%16 = icmp eq i64 %11, 0
%17 = icmp eq i64 %14, 0
%18 = select i1 %16, i1 true, i1 %17
br i1 %18, label %19, label %22
19: ; preds = %10
%20 = tail call i32 @WebPFree(ptr noundef %12) #3
%21 = tail call i32 @WebPFree(ptr noundef %15) #3
br label %63
22: ; preds = %10
%23 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !5
%25 = tail call i32 @WebPFree(ptr noundef %24) #3
%26 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
store i64 %1, ptr %26, align 8, !tbaa !12
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
store ptr %15, ptr %27, align 8, !tbaa !13
%28 = icmp eq i64 %1, 0
br i1 %28, label %62, label %29
29: ; preds = %22
%30 = and i64 %1, 3
%31 = icmp ult i64 %1, 4
br i1 %31, label %51, label %32
32: ; preds = %29
%33 = and i64 %1, -4
br label %34
34: ; preds = %34, %32
%35 = phi i64 [ 0, %32 ], [ %48, %34 ]
%36 = phi i64 [ 0, %32 ], [ %49, %34 ]
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %35
%38 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %35, i32 2
store ptr %12, ptr %38, align 8, !tbaa !14
%39 = or disjoint i64 %35, 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %37, i8 0, i64 16, i1 false)
%40 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %39
%41 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %39, i32 2
store ptr %12, ptr %41, align 8, !tbaa !14
%42 = or disjoint i64 %35, 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %40, i8 0, i64 16, i1 false)
%43 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %42
%44 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %42, i32 2
store ptr %12, ptr %44, align 8, !tbaa !14
%45 = or disjoint i64 %35, 3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %43, i8 0, i64 16, i1 false)
%46 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %45
%47 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %45, i32 2
store ptr %12, ptr %47, align 8, !tbaa !14
%48 = add nuw i64 %35, 4
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %46, i8 0, i64 16, i1 false)
%49 = add i64 %36, 4
%50 = icmp eq i64 %49, %33
br i1 %50, label %51, label %34, !llvm.loop !16
51: ; preds = %34, %29
%52 = phi i64 [ 0, %29 ], [ %48, %34 ]
%53 = icmp eq i64 %30, 0
br i1 %53, label %62, label %54
54: ; preds = %51, %54
%55 = phi i64 [ %59, %54 ], [ %52, %51 ]
%56 = phi i64 [ %60, %54 ], [ 0, %51 ]
%57 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %55
%58 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 %55, i32 2
store ptr %12, ptr %58, align 8, !tbaa !14
%59 = add nuw i64 %55, 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %57, i8 0, i64 16, i1 false)
%60 = add i64 %56, 1
%61 = icmp eq i64 %60, %30
br i1 %61, label %62, label %54, !llvm.loop !18
62: ; preds = %51, %54, %22
store ptr %12, ptr %23, align 8, !tbaa !5
br label %63
63: ; preds = %2, %7, %62, %19
%64 = phi i32 [ 0, %19 ], [ 1, %62 ], [ 0, %7 ], [ 0, %2 ]
ret i32 %64
}
declare i32 @CheckSizeForOverflow(i32 noundef) local_unnamed_addr #1
declare i64 @WebPMalloc(i64 noundef) local_unnamed_addr #1
declare i32 @WebPFree(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, !11, i64 16}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8, !11, i64 16, !11, 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 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !11, i64 24}
!14 = !{!15, !11, i64 16}
!15 = !{!"TYPE_6__", !10, i64 0, !10, i64 8, !11, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.unroll.disable"}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_AllocateFrames.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_AllocateFrames.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i64, i64, ptr }
@kNumChannels = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @AllocateFrames], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @AllocateFrames(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = trunc i64 %4 to i32
%6 = load i32, ptr @kNumChannels, align 4, !tbaa !13
%7 = mul nsw i32 %6, %5
%8 = load i32, ptr %0, align 8, !tbaa !14
%9 = mul nsw i32 %7, %8
%10 = trunc i64 %1 to i32
%11 = mul i32 %10, 24
%12 = mul i32 %11, %9
%13 = tail call i32 @CheckSizeForOverflow(i32 noundef %12) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %49, label %15
15: ; preds = %2
%16 = tail call i32 @CheckSizeForOverflow(i32 noundef %11) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %49, label %18
18: ; preds = %15
%19 = sext i32 %12 to i64
%20 = tail call i64 @WebPMalloc(i64 noundef %19) #3
%21 = inttoptr i64 %20 to ptr
%22 = sext i32 %11 to i64
%23 = tail call i64 @WebPMalloc(i64 noundef %22) #3
%24 = inttoptr i64 %23 to ptr
%25 = icmp eq i64 %20, 0
%26 = icmp eq i64 %23, 0
%27 = select i1 %25, i1 true, i1 %26
br i1 %27, label %28, label %31
28: ; preds = %18
%29 = tail call i32 @WebPFree(ptr noundef %21) #3
%30 = tail call i32 @WebPFree(ptr noundef %24) #3
br label %49
31: ; preds = %18
%32 = getelementptr inbounds i8, ptr %0, i64 16
%33 = load ptr, ptr %32, align 8, !tbaa !15
%34 = tail call i32 @WebPFree(ptr noundef %33) #3
%35 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %1, ptr %35, align 8, !tbaa !16
%36 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %24, ptr %36, align 8, !tbaa !17
%37 = icmp eq i64 %1, 0
br i1 %37, label %48, label %38
38: ; preds = %31
%39 = sext i32 %9 to i64
br label %40
40: ; preds = %38, %40
%41 = phi i64 [ 0, %38 ], [ %46, %40 ]
%42 = mul i64 %41, %39
%43 = getelementptr inbounds %struct.TYPE_6__, ptr %21, i64 %42
%44 = getelementptr inbounds %struct.TYPE_6__, ptr %24, i64 %41
%45 = getelementptr inbounds i8, ptr %44, i64 16
store ptr %43, ptr %45, align 8, !tbaa !18
%46 = add nuw i64 %41, 1
%47 = icmp eq i64 %46, %1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %44, i8 0, i64 16, i1 false)
br i1 %47, label %48, label %40, !llvm.loop !20
48: ; preds = %40, %31
store ptr %21, ptr %32, align 8, !tbaa !15
br label %49
49: ; preds = %2, %15, %48, %28
%50 = phi i32 [ 0, %28 ], [ 1, %48 ], [ 0, %15 ], [ 0, %2 ]
ret i32 %50
}
declare i32 @CheckSizeForOverflow(i32 noundef) local_unnamed_addr #1
declare i64 @WebPMalloc(i64 noundef) local_unnamed_addr #1
declare i32 @WebPFree(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, !11, i64 32}
!7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8, !12, i64 16, !12, 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 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !12, i64 16}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !12, i64 24}
!18 = !{!19, !12, i64 16}
!19 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !12, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| sumatrapdf_ext_libwebp_examples_extr_anim_util.c_AllocateFrames |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_disconnect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i2400mu = type { i32, i32, %struct.i2400m }
%struct.i2400m = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [22 x i8] c"(iface %p i2400m %p)\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"(iface %p i2400m %p) = void\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @i2400mu_disconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @i2400mu_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.i2400mu, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @d_fnstart(i32 noundef 3, ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %0, ptr noundef nonnull %3) #2
%6 = getelementptr inbounds %struct.i2400mu, ptr %2, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call i32 @debugfs_remove_recursive(i32 noundef %7) #2
%9 = tail call i32 @i2400m_release(ptr noundef nonnull %3) #2
%10 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef null) #2
%11 = load i32, ptr %2, align 8, !tbaa !14
%12 = tail call i32 @usb_put_dev(i32 noundef %11) #2
%13 = tail call i32 @free_netdev(ptr noundef %4) #2
%14 = tail call i32 @d_fnend(i32 noundef 3, ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef nonnull %3) #2
ret void
}
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare i32 @d_fnstart(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @debugfs_remove_recursive(i32 noundef) local_unnamed_addr #1
declare i32 @i2400m_release(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_put_dev(i32 noundef) local_unnamed_addr #1
declare i32 @free_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @d_fnend(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"i2400m", !7, 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, !13, i64 4}
!12 = !{!"i2400mu", !13, i64 0, !13, i64 4, !6, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_disconnect.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 [22 x i8] c"(iface %p i2400m %p)\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"(iface %p i2400m %p) = void\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @i2400mu_disconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @i2400mu_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @d_fnstart(i32 noundef 3, ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %0, ptr noundef nonnull %3) #2
%6 = getelementptr inbounds i8, ptr %2, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 @debugfs_remove_recursive(i32 noundef %7) #2
%9 = tail call i32 @i2400m_release(ptr noundef nonnull %3) #2
%10 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef null) #2
%11 = load i32, ptr %2, align 8, !tbaa !15
%12 = tail call i32 @usb_put_dev(i32 noundef %11) #2
%13 = tail call i32 @free_netdev(ptr noundef %4) #2
%14 = tail call i32 @d_fnend(i32 noundef 3, ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef nonnull %3) #2
ret void
}
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare i32 @d_fnstart(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @debugfs_remove_recursive(i32 noundef) local_unnamed_addr #1
declare i32 @i2400m_release(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_put_dev(i32 noundef) local_unnamed_addr #1
declare i32 @free_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @d_fnend(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"i2400m", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 4}
!13 = !{!"i2400mu", !14, i64 0, !14, i64 4, !7, i64 8}
!14 = !{!"int", !10, i64 0}
!15 = !{!13, !14, i64 0}
| fastsocket_kernel_drivers_net_wimax_i2400m_extr_usb.c_i2400mu_disconnect |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_ht.c_ieee80211_send_smps_action.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_ht.c_ieee80211_send_smps_action.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ieee80211_sub_if_data = type { ptr, ptr }
%struct.ieee80211_mgmt = type { %struct.TYPE_13__, i32, i32, i32, i32 }
%struct.TYPE_13__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { %struct.TYPE_11__, i32 }
%struct.TYPE_11__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_FTYPE_MGMT = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_STYPE_ACTION = dso_local local_unnamed_addr global i32 0, align 4
@WLAN_CATEGORY_HT = dso_local local_unnamed_addr global i32 0, align 4
@WLAN_HT_ACTION_SMPS = dso_local local_unnamed_addr global i32 0, align 4
@WLAN_HT_SMPS_CONTROL_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@WLAN_HT_SMPS_CONTROL_STATIC = dso_local local_unnamed_addr global i32 0, align 4
@WLAN_HT_SMPS_CONTROL_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_TX_CTL_REQ_TX_STATUS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ieee80211_send_smps_action(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = add nsw i64 %7, 27
%9 = tail call ptr @dev_alloc_skb(i64 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %4
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%13 = sub nsw i32 0, %12
br label %55
14: ; preds = %4
%15 = load i64, ptr %6, align 8, !tbaa !10
%16 = tail call i32 @skb_reserve(ptr noundef nonnull %9, i64 noundef %15) #2
%17 = tail call i64 @skb_put(ptr noundef nonnull %9, i32 noundef 27) #2
%18 = inttoptr i64 %17 to ptr
%19 = getelementptr inbounds %struct.ieee80211_mgmt, ptr %18, i64 0, i32 4
%20 = load i32, ptr %19, align 4, !tbaa !16
%21 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14
%22 = tail call i32 @memcpy(i32 noundef %20, ptr noundef %2, i32 noundef %21) #2
%23 = getelementptr inbounds %struct.ieee80211_mgmt, ptr %18, i64 0, i32 3
%24 = load i32, ptr %23, align 4, !tbaa !22
%25 = load ptr, ptr %0, align 8, !tbaa !23
%26 = load ptr, ptr %25, align 8, !tbaa !24
%27 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14
%28 = tail call i32 @memcpy(i32 noundef %24, ptr noundef %26, i32 noundef %27) #2
%29 = getelementptr inbounds %struct.ieee80211_mgmt, ptr %18, i64 0, i32 2
%30 = load i32, ptr %29, align 4, !tbaa !26
%31 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14
%32 = tail call i32 @memcpy(i32 noundef %30, ptr noundef %3, i32 noundef %31) #2
%33 = load i32, ptr @IEEE80211_FTYPE_MGMT, align 4, !tbaa !14
%34 = load i32, ptr @IEEE80211_STYPE_ACTION, align 4, !tbaa !14
%35 = or i32 %34, %33
%36 = tail call i32 @cpu_to_le16(i32 noundef %35) #2
%37 = getelementptr inbounds %struct.ieee80211_mgmt, ptr %18, i64 0, i32 1
store i32 %36, ptr %37, align 4, !tbaa !27
%38 = load i32, ptr @WLAN_CATEGORY_HT, align 4, !tbaa !14
%39 = getelementptr inbounds %struct.TYPE_12__, ptr %18, i64 0, i32 1
store i32 %38, ptr %39, align 4, !tbaa !28
%40 = load i32, ptr @WLAN_HT_ACTION_SMPS, align 4, !tbaa !14
%41 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 1
store i32 %40, ptr %41, align 4, !tbaa !29
switch i32 %1, label %49 [
i32 132, label %42
i32 130, label %42
i32 129, label %46
i32 128, label %44
i32 131, label %45
]
42: ; preds = %14, %14
%43 = tail call i32 @WARN_ON(i32 noundef 1) #2
br label %46
44: ; preds = %14
br label %46
45: ; preds = %14
br label %46
46: ; preds = %42, %14, %44, %45
%47 = phi ptr [ @WLAN_HT_SMPS_CONTROL_DYNAMIC, %45 ], [ @WLAN_HT_SMPS_CONTROL_STATIC, %44 ], [ @WLAN_HT_SMPS_CONTROL_DISABLED, %14 ], [ @WLAN_HT_SMPS_CONTROL_DISABLED, %42 ]
%48 = load i32, ptr %47, align 4, !tbaa !14
store i32 %48, ptr %18, align 4, !tbaa !30
br label %49
49: ; preds = %46, %14
%50 = load i32, ptr @IEEE80211_TX_CTL_REQ_TX_STATUS, align 4, !tbaa !14
%51 = tail call ptr @IEEE80211_SKB_CB(ptr noundef nonnull %9) #2
%52 = load i32, ptr %51, align 4, !tbaa !31
%53 = or i32 %52, %50
store i32 %53, ptr %51, align 4, !tbaa !31
%54 = tail call i32 @ieee80211_tx_skb(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
br label %55
55: ; preds = %49, %11
%56 = phi i32 [ 0, %49 ], [ %13, %11 ]
ret i32 %56
}
declare ptr @dev_alloc_skb(i64 noundef) local_unnamed_addr #1
declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare ptr @IEEE80211_SKB_CB(ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_tx_skb(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"ieee80211_sub_if_data", !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, !13, i64 0}
!11 = !{!"ieee80211_local", !12, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !15, i64 24}
!17 = !{!"ieee80211_mgmt", !18, i64 0, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24}
!18 = !{!"TYPE_13__", !19, i64 0}
!19 = !{!"TYPE_12__", !20, i64 0, !15, i64 8}
!20 = !{!"TYPE_11__", !21, i64 0}
!21 = !{!"TYPE_10__", !15, i64 0, !15, i64 4}
!22 = !{!17, !15, i64 20}
!23 = !{!6, !7, i64 0}
!24 = !{!25, !7, i64 0}
!25 = !{!"TYPE_9__", !7, i64 0}
!26 = !{!17, !15, i64 16}
!27 = !{!17, !15, i64 12}
!28 = !{!17, !15, i64 8}
!29 = !{!17, !15, i64 4}
!30 = !{!17, !15, i64 0}
!31 = !{!32, !15, i64 0}
!32 = !{!"TYPE_14__", !15, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_ht.c_ieee80211_send_smps_action.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_ht.c_ieee80211_send_smps_action.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
@ETH_ALEN = common local_unnamed_addr global i32 0, align 4
@IEEE80211_FTYPE_MGMT = common local_unnamed_addr global i32 0, align 4
@IEEE80211_STYPE_ACTION = common local_unnamed_addr global i32 0, align 4
@WLAN_CATEGORY_HT = common local_unnamed_addr global i32 0, align 4
@WLAN_HT_ACTION_SMPS = common local_unnamed_addr global i32 0, align 4
@WLAN_HT_SMPS_CONTROL_DISABLED = common local_unnamed_addr global i32 0, align 4
@WLAN_HT_SMPS_CONTROL_STATIC = common local_unnamed_addr global i32 0, align 4
@WLAN_HT_SMPS_CONTROL_DYNAMIC = common local_unnamed_addr global i32 0, align 4
@IEEE80211_TX_CTL_REQ_TX_STATUS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @ieee80211_send_smps_action(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = add nsw i64 %7, 27
%9 = tail call ptr @dev_alloc_skb(i64 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %4
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%13 = sub nsw i32 0, %12
br label %55
14: ; preds = %4
%15 = load i64, ptr %6, align 8, !tbaa !11
%16 = tail call i32 @skb_reserve(ptr noundef nonnull %9, i64 noundef %15) #2
%17 = tail call i64 @skb_put(ptr noundef nonnull %9, i32 noundef 27) #2
%18 = inttoptr i64 %17 to ptr
%19 = getelementptr inbounds i8, ptr %18, i64 24
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = load i32, ptr @ETH_ALEN, align 4, !tbaa !15
%22 = tail call i32 @memcpy(i32 noundef %20, ptr noundef %2, i32 noundef %21) #2
%23 = getelementptr inbounds i8, ptr %18, i64 20
%24 = load i32, ptr %23, align 4, !tbaa !23
%25 = load ptr, ptr %0, align 8, !tbaa !24
%26 = load ptr, ptr %25, align 8, !tbaa !25
%27 = load i32, ptr @ETH_ALEN, align 4, !tbaa !15
%28 = tail call i32 @memcpy(i32 noundef %24, ptr noundef %26, i32 noundef %27) #2
%29 = getelementptr inbounds i8, ptr %18, i64 16
%30 = load i32, ptr %29, align 4, !tbaa !27
%31 = load i32, ptr @ETH_ALEN, align 4, !tbaa !15
%32 = tail call i32 @memcpy(i32 noundef %30, ptr noundef %3, i32 noundef %31) #2
%33 = load i32, ptr @IEEE80211_FTYPE_MGMT, align 4, !tbaa !15
%34 = load i32, ptr @IEEE80211_STYPE_ACTION, align 4, !tbaa !15
%35 = or i32 %34, %33
%36 = tail call i32 @cpu_to_le16(i32 noundef %35) #2
%37 = getelementptr inbounds i8, ptr %18, i64 12
store i32 %36, ptr %37, align 4, !tbaa !28
%38 = load i32, ptr @WLAN_CATEGORY_HT, align 4, !tbaa !15
%39 = getelementptr inbounds i8, ptr %18, i64 8
store i32 %38, ptr %39, align 4, !tbaa !29
%40 = load i32, ptr @WLAN_HT_ACTION_SMPS, align 4, !tbaa !15
%41 = getelementptr inbounds i8, ptr %18, i64 4
store i32 %40, ptr %41, align 4, !tbaa !30
switch i32 %1, label %49 [
i32 132, label %42
i32 130, label %42
i32 129, label %46
i32 128, label %44
i32 131, label %45
]
42: ; preds = %14, %14
%43 = tail call i32 @WARN_ON(i32 noundef 1) #2
br label %46
44: ; preds = %14
br label %46
45: ; preds = %14
br label %46
46: ; preds = %42, %14, %44, %45
%47 = phi ptr [ @WLAN_HT_SMPS_CONTROL_DYNAMIC, %45 ], [ @WLAN_HT_SMPS_CONTROL_STATIC, %44 ], [ @WLAN_HT_SMPS_CONTROL_DISABLED, %14 ], [ @WLAN_HT_SMPS_CONTROL_DISABLED, %42 ]
%48 = load i32, ptr %47, align 4, !tbaa !15
store i32 %48, ptr %18, align 4, !tbaa !31
br label %49
49: ; preds = %46, %14
%50 = load i32, ptr @IEEE80211_TX_CTL_REQ_TX_STATUS, align 4, !tbaa !15
%51 = tail call ptr @IEEE80211_SKB_CB(ptr noundef nonnull %9) #2
%52 = load i32, ptr %51, align 4, !tbaa !32
%53 = or i32 %52, %50
store i32 %53, ptr %51, align 4, !tbaa !32
%54 = tail call i32 @ieee80211_tx_skb(ptr noundef nonnull %0, ptr noundef nonnull %9) #2
br label %55
55: ; preds = %49, %11
%56 = phi i32 [ 0, %49 ], [ %13, %11 ]
ret i32 %56
}
declare ptr @dev_alloc_skb(i64 noundef) local_unnamed_addr #1
declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare ptr @IEEE80211_SKB_CB(ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_tx_skb(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"ieee80211_sub_if_data", !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, !14, i64 0}
!12 = !{!"ieee80211_local", !13, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !16, i64 24}
!18 = !{!"ieee80211_mgmt", !19, i64 0, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24}
!19 = !{!"TYPE_13__", !20, i64 0}
!20 = !{!"TYPE_12__", !21, i64 0, !16, i64 8}
!21 = !{!"TYPE_11__", !22, i64 0}
!22 = !{!"TYPE_10__", !16, i64 0, !16, i64 4}
!23 = !{!18, !16, i64 20}
!24 = !{!7, !8, i64 0}
!25 = !{!26, !8, i64 0}
!26 = !{!"TYPE_9__", !8, i64 0}
!27 = !{!18, !16, i64 16}
!28 = !{!18, !16, i64 12}
!29 = !{!18, !16, i64 8}
!30 = !{!18, !16, i64 4}
!31 = !{!18, !16, i64 0}
!32 = !{!33, !16, i64 0}
!33 = !{!"TYPE_14__", !16, i64 0}
| fastsocket_kernel_net_mac80211_extr_ht.c_ieee80211_send_smps_action |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_mount.c_zfs_dispatch_mount.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_mount.c_zfs_dispatch_mount.c"
target datalayout = "e-m:e-p270:32:32-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, i32, ptr, i32, ptr, ptr, ptr }
@zfs_mount_task = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfs_dispatch_mount], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zfs_dispatch_mount(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = tail call ptr @zfs_alloc(ptr noundef %0, i32 noundef 56) #2
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 6
store ptr %0, ptr %9, align 8, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 5
store ptr %6, ptr %10, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 4
store ptr %1, ptr %11, align 8, !tbaa !13
store i64 %2, ptr %8, align 8, !tbaa !14
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 1
store i32 %3, ptr %12, align 8, !tbaa !15
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 3
store i32 %4, ptr %13, align 8, !tbaa !16
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 2
store ptr %5, ptr %14, align 8, !tbaa !17
%15 = load i32, ptr @zfs_mount_task, align 4, !tbaa !18
%16 = tail call i32 @tpool_dispatch(ptr noundef %6, i32 noundef %15, ptr noundef nonnull %8) #2
ret void
}
declare ptr @zfs_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpool_dispatch(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 48}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!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 40}
!13 = !{!6, !11, i64 32}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !10, i64 24}
!17 = !{!6, !11, i64 16}
!18 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_mount.c_zfs_dispatch_mount.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_mount.c_zfs_dispatch_mount.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@zfs_mount_task = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @zfs_dispatch_mount], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zfs_dispatch_mount(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = tail call ptr @zfs_alloc(ptr noundef %0, i32 noundef 56) #2
%9 = getelementptr inbounds i8, ptr %8, i64 48
store ptr %0, ptr %9, align 8, !tbaa !6
%10 = getelementptr inbounds i8, ptr %8, i64 40
store ptr %6, ptr %10, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %8, i64 32
store ptr %1, ptr %11, align 8, !tbaa !14
store i64 %2, ptr %8, align 8, !tbaa !15
%12 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %3, ptr %12, align 8, !tbaa !16
%13 = getelementptr inbounds i8, ptr %8, i64 24
store i32 %4, ptr %13, align 8, !tbaa !17
%14 = getelementptr inbounds i8, ptr %8, i64 16
store ptr %5, ptr %14, align 8, !tbaa !18
%15 = load i32, ptr @zfs_mount_task, align 4, !tbaa !19
%16 = tail call i32 @tpool_dispatch(ptr noundef %6, i32 noundef %15, ptr noundef nonnull %8) #2
ret void
}
declare ptr @zfs_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tpool_dispatch(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 48}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !12, i64 32, !12, i64 40, !12, i64 48}
!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 40}
!14 = !{!7, !12, i64 32}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !11, i64 24}
!18 = !{!7, !12, i64 16}
!19 = !{!11, !11, i64 0}
| freebsd_cddl_contrib_opensolaris_lib_libzfs_common_extr_libzfs_mount.c_zfs_dispatch_mount |
; ModuleID = 'AnghaBench/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_UpdateText.c'
source_filename = "AnghaBench/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_UpdateText.c"
target datalayout = "e-m:e-p270:32:32-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 }
@EF_UPDATE = dso_local local_unnamed_addr global i32 0, align 4
@EN_UPDATE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @EDIT_UpdateText], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @EDIT_UpdateText(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @EF_UPDATE, align 4, !tbaa !10
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %13, label %8
8: ; preds = %3
%9 = xor i32 %5, -1
%10 = and i32 %4, %9
store i32 %10, ptr %0, align 4, !tbaa !5
%11 = load i32, ptr @EN_UPDATE, align 4, !tbaa !10
%12 = tail call i32 @EDIT_NOTIFY_PARENT(ptr noundef nonnull %0, i32 noundef %11) #2
br label %13
13: ; preds = %8, %3
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = tail call i32 @InvalidateRect(i32 noundef %15, ptr noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @EDIT_NOTIFY_PARENT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @InvalidateRect(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_4__", !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/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_UpdateText.c'
source_filename = "AnghaBench/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_UpdateText.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EF_UPDATE = common local_unnamed_addr global i32 0, align 4
@EN_UPDATE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @EDIT_UpdateText], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @EDIT_UpdateText(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @EF_UPDATE, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %13, label %8
8: ; preds = %3
%9 = xor i32 %5, -1
%10 = and i32 %4, %9
store i32 %10, ptr %0, align 4, !tbaa !6
%11 = load i32, ptr @EN_UPDATE, align 4, !tbaa !11
%12 = tail call i32 @EDIT_NOTIFY_PARENT(ptr noundef nonnull %0, i32 noundef %11) #2
br label %13
13: ; preds = %8, %3
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = tail call i32 @InvalidateRect(i32 noundef %15, ptr noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @EDIT_NOTIFY_PARENT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @InvalidateRect(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_4__", !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}
| reactos_win32ss_user_user32_controls_extr_edit.c_EDIT_UpdateText |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_binfmt_flat.c_old_reloc.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_binfmt_flat.c_old_reloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@current = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable
define dso_local void @old_reloc(i64 noundef %0) local_unnamed_addr #0 {
unreachable
}
attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_binfmt_flat.c_old_reloc.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_binfmt_flat.c_old_reloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @old_reloc(i64 noundef %0) local_unnamed_addr #0 {
unreachable
}
attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_fs_extr_binfmt_flat.c_old_reloc |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_ssl_log_rsa_client_key_exchange.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_ssl_log_rsa_client_key_exchange.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SSL_AD_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@SSL_F_SSL_LOG_RSA_CLIENT_KEY_EXCHANGE = dso_local local_unnamed_addr global i32 0, align 4
@ERR_R_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"RSA\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @ssl_log_rsa_client_key_exchange(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = icmp ult i64 %2, 8
br i1 %6, label %7, label %12
7: ; preds = %5
%8 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !5
%9 = load i32, ptr @SSL_F_SSL_LOG_RSA_CLIENT_KEY_EXCHANGE, align 4, !tbaa !5
%10 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !5
%11 = tail call i32 @SSLfatal(ptr noundef %0, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
br label %14
12: ; preds = %5
%13 = tail call i32 @nss_keylog_int(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, i32 noundef 8, ptr noundef %3, i64 noundef %4) #2
br label %14
14: ; preds = %12, %7
%15 = phi i32 [ 0, %7 ], [ %13, %12 ]
ret i32 %15
}
declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nss_keylog_int(ptr noundef, ptr noundef, ptr noundef, 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"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_ssl_log_rsa_client_key_exchange.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_lib.c_ssl_log_rsa_client_key_exchange.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSL_AD_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4
@SSL_F_SSL_LOG_RSA_CLIENT_KEY_EXCHANGE = common local_unnamed_addr global i32 0, align 4
@ERR_R_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"RSA\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ssl_log_rsa_client_key_exchange(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = icmp ult i64 %2, 8
br i1 %6, label %7, label %12
7: ; preds = %5
%8 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !6
%9 = load i32, ptr @SSL_F_SSL_LOG_RSA_CLIENT_KEY_EXCHANGE, align 4, !tbaa !6
%10 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !6
%11 = tail call i32 @SSLfatal(ptr noundef %0, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
br label %14
12: ; preds = %5
%13 = tail call i32 @nss_keylog_int(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, i32 noundef 8, ptr noundef %3, i64 noundef %4) #2
br label %14
14: ; preds = %12, %7
%15 = phi i32 [ 0, %7 ], [ %13, %12 ]
ret i32 %15
}
declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nss_keylog_int(ptr noundef, ptr noundef, ptr noundef, 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"}
| freebsd_crypto_openssl_ssl_extr_ssl_lib.c_ssl_log_rsa_client_key_exchange |
; ModuleID = 'AnghaBench/micropython/ports/nrf/extr_mphalport.c_mp_hal_stdio_poll.c'
source_filename = "AnghaBench/micropython/ports/nrf/extr_mphalport.c_mp_hal_stdio_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"
@MP_STREAM_POLL_RD = dso_local local_unnamed_addr global i64 0, align 8
@board_stdio_uart = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @mp_hal_stdio_poll(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @MP_STREAM_POLL_RD, align 8, !tbaa !5
%3 = and i64 %2, %0
%4 = icmp eq i64 %3, 0
br i1 %4, label %16, label %5
5: ; preds = %1
%6 = load i32, ptr @board_stdio_uart, align 4, !tbaa !9
%7 = tail call ptr @MP_STATE_PORT(i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %16, label %9
9: ; preds = %5
%10 = load i32, ptr @board_stdio_uart, align 4, !tbaa !9
%11 = tail call ptr @MP_STATE_PORT(i32 noundef %10) #2
%12 = tail call i64 @uart_rx_any(ptr noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load i64, ptr @MP_STREAM_POLL_RD, align 8
%15 = select i1 %13, i64 0, i64 %14
br label %16
16: ; preds = %9, %5, %1
%17 = phi i64 [ 0, %5 ], [ 0, %1 ], [ %15, %9 ]
ret i64 %17
}
declare ptr @MP_STATE_PORT(i32 noundef) local_unnamed_addr #1
declare i64 @uart_rx_any(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/micropython/ports/nrf/extr_mphalport.c_mp_hal_stdio_poll.c'
source_filename = "AnghaBench/micropython/ports/nrf/extr_mphalport.c_mp_hal_stdio_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MP_STREAM_POLL_RD = common local_unnamed_addr global i64 0, align 8
@board_stdio_uart = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @mp_hal_stdio_poll(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @MP_STREAM_POLL_RD, align 8, !tbaa !6
%3 = and i64 %2, %0
%4 = icmp eq i64 %3, 0
br i1 %4, label %16, label %5
5: ; preds = %1
%6 = load i32, ptr @board_stdio_uart, align 4, !tbaa !10
%7 = tail call ptr @MP_STATE_PORT(i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %16, label %9
9: ; preds = %5
%10 = load i32, ptr @board_stdio_uart, align 4, !tbaa !10
%11 = tail call ptr @MP_STATE_PORT(i32 noundef %10) #2
%12 = tail call i64 @uart_rx_any(ptr noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load i64, ptr @MP_STREAM_POLL_RD, align 8
%15 = select i1 %13, i64 0, i64 %14
br label %16
16: ; preds = %9, %5, %1
%17 = phi i64 [ 0, %5 ], [ 0, %1 ], [ %15, %9 ]
ret i64 %17
}
declare ptr @MP_STATE_PORT(i32 noundef) local_unnamed_addr #1
declare i64 @uart_rx_any(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| micropython_ports_nrf_extr_mphalport.c_mp_hal_stdio_poll |
; ModuleID = 'AnghaBench/fastsocket/kernel/Documentation/prctl/extr_disable-tsc-ctxt-sw-stress-test.c_sigsegv_fail.c'
source_filename = "AnghaBench/fastsocket/kernel/Documentation/prctl/extr_disable-tsc-ctxt-sw-stress-test.c_sigsegv_fail.c"
target datalayout = "e-m:e-p270:32:32-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 [43 x i8] c"FATAL ERROR, rdtsc() failed while enabled\0A\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local void @sigsegv_fail(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !5
%3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str) #3
%4 = tail call i32 @exit(i32 noundef 0) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/Documentation/prctl/extr_disable-tsc-ctxt-sw-stress-test.c_sigsegv_fail.c'
source_filename = "AnghaBench/fastsocket/kernel/Documentation/prctl/extr_disable-tsc-ctxt-sw-stress-test.c_sigsegv_fail.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 [43 x i8] c"FATAL ERROR, rdtsc() failed while enabled\0A\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @sigsegv_fail(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !6
%3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str) #3
%4 = tail call i32 @exit(i32 noundef 0) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_Documentation_prctl_extr_disable-tsc-ctxt-sw-stress-test.c_sigsegv_fail |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/programs/extr_benchfn.c_BMK_isSuccessful_runOutcome.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/programs/extr_benchfn.c_BMK_isSuccessful_runOutcome.c"
target datalayout = "e-m:e-p270:32:32-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 @BMK_isSuccessful_runOutcome(i64 %0) local_unnamed_addr #0 {
%2 = icmp eq i64 %0, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
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/sys/contrib/zstd/programs/extr_benchfn.c_BMK_isSuccessful_runOutcome.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/programs/extr_benchfn.c_BMK_isSuccessful_runOutcome.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define range(i32 0, 2) i32 @BMK_isSuccessful_runOutcome(i64 %0) local_unnamed_addr #0 {
%2 = icmp eq i64 %0, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_contrib_zstd_programs_extr_benchfn.c_BMK_isSuccessful_runOutcome |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de2104x.c_de_get_msglevel.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de2104x.c_de_get_msglevel.c"
target datalayout = "e-m:e-p270:32:32-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 @de_get_msglevel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @de_get_msglevel(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
ret i32 %3
}
declare ptr @netdev_priv(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 = !{!"de_private", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de2104x.c_de_get_msglevel.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de2104x.c_de_get_msglevel.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 @de_get_msglevel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @de_get_msglevel(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
ret i32 %3
}
declare ptr @netdev_priv(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 = !{!"de_private", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_dec_tulip_extr_de2104x.c_de_get_msglevel |
; ModuleID = 'AnghaBench/git/extr_ref-filter.c_grab_tag_values.c'
source_filename = "AnghaBench/git/extr_ref-filter.c_grab_tag_values.c"
target datalayout = "e-m:e-p270:32:32-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.tag = type { ptr, i32 }
%struct.TYPE_4__ = type { ptr }
%struct.atom_value = type { ptr }
%struct.TYPE_3__ = type { i32, i32 }
@used_atom_cnt = dso_local local_unnamed_addr global i32 0, align 4
@used_atom = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [4 x i8] c"tag\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"type\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"object\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @grab_tag_values], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @grab_tag_values(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr @used_atom_cnt, align 4, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %51
6: ; preds = %3
%7 = icmp ne i32 %1, 0
%8 = zext i1 %7 to i64
%9 = getelementptr inbounds %struct.tag, ptr %2, i64 0, i32 1
br label %10
10: ; preds = %6, %46
%11 = phi i64 [ 0, %6 ], [ %47, %46 ]
%12 = load ptr, ptr @used_atom, align 8, !tbaa !9
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i64 %11
%14 = load ptr, ptr %13, align 8, !tbaa !11
%15 = getelementptr inbounds %struct.atom_value, ptr %0, i64 %11
%16 = load i8, ptr %14, align 1, !tbaa !13
%17 = icmp ne i8 %16, 42
%18 = xor i1 %7, %17
br i1 %18, label %19, label %46
19: ; preds = %10
%20 = getelementptr inbounds i8, ptr %14, i64 %8
%21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(4) @.str)
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = load i32, ptr %9, align 8, !tbaa !14
br label %43
25: ; preds = %19
%26 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(5) @.str.1)
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = load ptr, ptr %2, align 8, !tbaa !16
%30 = icmp eq ptr %29, null
br i1 %30, label %35, label %31
31: ; preds = %28
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i64 0, i32 1
%33 = load i32, ptr %32, align 4, !tbaa !17
%34 = tail call i32 @type_name(i32 noundef %33) #3
br label %43
35: ; preds = %28, %25
%36 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(7) @.str.2)
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %35
%39 = load ptr, ptr %2, align 8, !tbaa !16
%40 = icmp eq ptr %39, null
br i1 %40, label %46, label %41
41: ; preds = %38
%42 = tail call i32 @oid_to_hex(ptr noundef nonnull %39) #3
br label %43
43: ; preds = %31, %41, %23
%44 = phi i32 [ %24, %23 ], [ %42, %41 ], [ %34, %31 ]
%45 = tail call ptr @xstrdup(i32 noundef %44) #3
store ptr %45, ptr %15, align 8, !tbaa !19
br label %46
46: ; preds = %43, %35, %38, %10
%47 = add nuw nsw i64 %11, 1
%48 = load i32, ptr @used_atom_cnt, align 4, !tbaa !5
%49 = sext i32 %48 to i64
%50 = icmp slt i64 %47, %49
br i1 %50, label %10, label %51, !llvm.loop !21
51: ; preds = %46, %3
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1
declare ptr @xstrdup(i32 noundef) local_unnamed_addr #2
declare i32 @type_name(i32 noundef) local_unnamed_addr #2
declare i32 @oid_to_hex(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 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)"}
!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_4__", !10, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !6, i64 8}
!15 = !{!"tag", !10, i64 0, !6, i64 8}
!16 = !{!15, !10, i64 0}
!17 = !{!18, !6, i64 4}
!18 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!19 = !{!20, !10, i64 0}
!20 = !{!"atom_value", !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/extr_ref-filter.c_grab_tag_values.c'
source_filename = "AnghaBench/git/extr_ref-filter.c_grab_tag_values.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { ptr }
%struct.atom_value = type { ptr }
@used_atom_cnt = common local_unnamed_addr global i32 0, align 4
@used_atom = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [4 x i8] c"tag\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"type\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"object\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @grab_tag_values], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @grab_tag_values(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr @used_atom_cnt, align 4, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %51
6: ; preds = %3
%7 = icmp ne i32 %1, 0
%8 = zext i1 %7 to i64
%9 = getelementptr inbounds i8, ptr %2, i64 8
br label %10
10: ; preds = %6, %46
%11 = phi i64 [ 0, %6 ], [ %47, %46 ]
%12 = load ptr, ptr @used_atom, align 8, !tbaa !10
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i64 %11
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = getelementptr inbounds %struct.atom_value, ptr %0, i64 %11
%16 = load i8, ptr %14, align 1, !tbaa !14
%17 = icmp ne i8 %16, 42
%18 = xor i1 %7, %17
br i1 %18, label %19, label %46
19: ; preds = %10
%20 = getelementptr inbounds i8, ptr %14, i64 %8
%21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(4) @.str)
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = load i32, ptr %9, align 8, !tbaa !15
br label %43
25: ; preds = %19
%26 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(5) @.str.1)
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = load ptr, ptr %2, align 8, !tbaa !17
%30 = icmp eq ptr %29, null
br i1 %30, label %35, label %31
31: ; preds = %28
%32 = getelementptr inbounds i8, ptr %29, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !18
%34 = tail call i32 @type_name(i32 noundef %33) #3
br label %43
35: ; preds = %28, %25
%36 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(7) @.str.2)
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %35
%39 = load ptr, ptr %2, align 8, !tbaa !17
%40 = icmp eq ptr %39, null
br i1 %40, label %46, label %41
41: ; preds = %38
%42 = tail call i32 @oid_to_hex(ptr noundef nonnull %39) #3
br label %43
43: ; preds = %31, %41, %23
%44 = phi i32 [ %24, %23 ], [ %42, %41 ], [ %34, %31 ]
%45 = tail call ptr @xstrdup(i32 noundef %44) #3
store ptr %45, ptr %15, align 8, !tbaa !20
br label %46
46: ; preds = %43, %35, %38, %10
%47 = add nuw nsw i64 %11, 1
%48 = load i32, ptr @used_atom_cnt, align 4, !tbaa !6
%49 = sext i32 %48 to i64
%50 = icmp slt i64 %47, %49
br i1 %50, label %10, label %51, !llvm.loop !22
51: ; preds = %46, %3
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1
declare ptr @xstrdup(i32 noundef) local_unnamed_addr #2
declare i32 @type_name(i32 noundef) local_unnamed_addr #2
declare i32 @oid_to_hex(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 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)"}
!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_4__", !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !7, i64 8}
!16 = !{!"tag", !11, i64 0, !7, i64 8}
!17 = !{!16, !11, i64 0}
!18 = !{!19, !7, i64 4}
!19 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!20 = !{!21, !11, i64 0}
!21 = !{!"atom_value", !11, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| git_extr_ref-filter.c_grab_tag_values |
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_inode.c_block_map_looks_insane.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_inode.c_block_map_looks_insane.c"
target datalayout = "e-m:e-p270:32:32-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.ext2_inode_large = type { i32, i64, ptr, i32 }
@EXT4_INLINE_DATA_FL = dso_local local_unnamed_addr global i32 0, align 4
@EXT4_EXTENTS_FL = dso_local local_unnamed_addr global i32 0, align 4
@EXT2_N_BLOCKS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @block_map_looks_insane], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @block_map_looks_insane(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 8, !tbaa !5
%4 = load i32, ptr @EXT4_INLINE_DATA_FL, align 4, !tbaa !12
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %69
7: ; preds = %2
%8 = load i32, ptr @EXT4_EXTENTS_FL, align 4, !tbaa !12
%9 = and i32 %8, %3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %69
11: ; preds = %7
%12 = getelementptr inbounds %struct.ext2_inode_large, ptr %1, i64 0, i32 3
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = tail call i32 @LINUX_S_ISREG(i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = load i32, ptr %12, align 8, !tbaa !13
%18 = tail call i64 @LINUX_S_ISLNK(i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr %12, align 8, !tbaa !13
%22 = tail call i32 @LINUX_S_ISDIR(i32 noundef %21) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %69, label %24
24: ; preds = %20, %16, %11
%25 = load i32, ptr %12, align 8, !tbaa !13
%26 = tail call i64 @LINUX_S_ISLNK(i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i32 @EXT2_I_SIZE(ptr noundef nonnull %1) #2
%30 = icmp ult i32 %29, 9
br i1 %30, label %69, label %31
31: ; preds = %28, %24
%32 = getelementptr inbounds %struct.ext2_inode_large, ptr %1, i64 0, i32 1
%33 = load i64, ptr %32, align 8, !tbaa !14
%34 = icmp eq i64 %33, 0
br i1 %34, label %69, label %35
35: ; preds = %31
%36 = load i32, ptr @EXT2_N_BLOCKS, align 4, !tbaa !12
%37 = icmp eq i32 %36, 0
br i1 %37, label %64, label %38
38: ; preds = %35
%39 = getelementptr inbounds %struct.ext2_inode_large, ptr %1, i64 0, i32 2
br label %40
40: ; preds = %38, %56
%41 = phi i64 [ 0, %38 ], [ %58, %56 ]
%42 = phi i32 [ 0, %38 ], [ %57, %56 ]
%43 = load ptr, ptr %39, align 8, !tbaa !15
%44 = getelementptr inbounds i64, ptr %43, i64 %41
%45 = load i64, ptr %44, align 8, !tbaa !16
%46 = icmp eq i64 %45, 0
br i1 %46, label %56, label %47
47: ; preds = %40
%48 = load ptr, ptr %0, align 8, !tbaa !17
%49 = load i64, ptr %48, align 8, !tbaa !19
%50 = icmp slt i64 %45, %49
br i1 %50, label %54, label %51
51: ; preds = %47
%52 = tail call i64 @ext2fs_blocks_count(ptr noundef nonnull %48) #2
%53 = icmp slt i64 %45, %52
br i1 %53, label %56, label %54
54: ; preds = %51, %47
%55 = add i32 %42, 1
br label %56
56: ; preds = %40, %51, %54
%57 = phi i32 [ %55, %54 ], [ %42, %51 ], [ %42, %40 ]
%58 = add nuw nsw i64 %41, 1
%59 = load i32, ptr @EXT2_N_BLOCKS, align 4, !tbaa !12
%60 = zext i32 %59 to i64
%61 = icmp ult i64 %58, %60
br i1 %61, label %40, label %62, !llvm.loop !21
62: ; preds = %56
%63 = lshr i32 %59, 1
br label %64
64: ; preds = %62, %35
%65 = phi i32 [ 0, %35 ], [ %57, %62 ]
%66 = phi i32 [ 0, %35 ], [ %63, %62 ]
%67 = icmp ugt i32 %65, %66
%68 = zext i1 %67 to i32
br label %69
69: ; preds = %31, %28, %20, %2, %7, %64
%70 = phi i32 [ %68, %64 ], [ 0, %7 ], [ 0, %2 ], [ 0, %20 ], [ 0, %28 ], [ 0, %31 ]
ret i32 %70
}
declare i32 @LINUX_S_ISREG(i32 noundef) local_unnamed_addr #1
declare i64 @LINUX_S_ISLNK(i32 noundef) local_unnamed_addr #1
declare i32 @LINUX_S_ISDIR(i32 noundef) local_unnamed_addr #1
declare i32 @EXT2_I_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @ext2fs_blocks_count(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 = !{!"ext2_inode_large", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !11, i64 16}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_4__", !11, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_5__", !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_inode.c_block_map_looks_insane.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_inode.c_block_map_looks_insane.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXT4_INLINE_DATA_FL = common local_unnamed_addr global i32 0, align 4
@EXT4_EXTENTS_FL = common local_unnamed_addr global i32 0, align 4
@EXT2_N_BLOCKS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @block_map_looks_insane], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @block_map_looks_insane(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 8, !tbaa !6
%4 = load i32, ptr @EXT4_INLINE_DATA_FL, align 4, !tbaa !13
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %69
7: ; preds = %2
%8 = load i32, ptr @EXT4_EXTENTS_FL, align 4, !tbaa !13
%9 = and i32 %8, %3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %69
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %1, i64 24
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = tail call i32 @LINUX_S_ISREG(i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = load i32, ptr %12, align 8, !tbaa !14
%18 = tail call i64 @LINUX_S_ISLNK(i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr %12, align 8, !tbaa !14
%22 = tail call i32 @LINUX_S_ISDIR(i32 noundef %21) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %69, label %24
24: ; preds = %20, %16, %11
%25 = load i32, ptr %12, align 8, !tbaa !14
%26 = tail call i64 @LINUX_S_ISLNK(i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i32 @EXT2_I_SIZE(ptr noundef nonnull %1) #2
%30 = icmp ult i32 %29, 9
br i1 %30, label %69, label %31
31: ; preds = %28, %24
%32 = getelementptr inbounds i8, ptr %1, i64 8
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = icmp eq i64 %33, 0
br i1 %34, label %69, label %35
35: ; preds = %31
%36 = load i32, ptr @EXT2_N_BLOCKS, align 4, !tbaa !13
%37 = icmp eq i32 %36, 0
br i1 %37, label %64, label %38
38: ; preds = %35
%39 = getelementptr inbounds i8, ptr %1, i64 16
br label %40
40: ; preds = %38, %56
%41 = phi i64 [ 0, %38 ], [ %58, %56 ]
%42 = phi i32 [ 0, %38 ], [ %57, %56 ]
%43 = load ptr, ptr %39, align 8, !tbaa !16
%44 = getelementptr inbounds i64, ptr %43, i64 %41
%45 = load i64, ptr %44, align 8, !tbaa !17
%46 = icmp eq i64 %45, 0
br i1 %46, label %56, label %47
47: ; preds = %40
%48 = load ptr, ptr %0, align 8, !tbaa !18
%49 = load i64, ptr %48, align 8, !tbaa !20
%50 = icmp slt i64 %45, %49
br i1 %50, label %54, label %51
51: ; preds = %47
%52 = tail call i64 @ext2fs_blocks_count(ptr noundef nonnull %48) #2
%53 = icmp slt i64 %45, %52
br i1 %53, label %56, label %54
54: ; preds = %51, %47
%55 = add i32 %42, 1
br label %56
56: ; preds = %40, %51, %54
%57 = phi i32 [ %55, %54 ], [ %42, %51 ], [ %42, %40 ]
%58 = add nuw nsw i64 %41, 1
%59 = load i32, ptr @EXT2_N_BLOCKS, align 4, !tbaa !13
%60 = zext i32 %59 to i64
%61 = icmp ult i64 %58, %60
br i1 %61, label %40, label %62, !llvm.loop !22
62: ; preds = %56
%63 = lshr i32 %59, 1
br label %64
64: ; preds = %62, %35
%65 = phi i32 [ 0, %35 ], [ %57, %62 ]
%66 = phi i32 [ 0, %35 ], [ %63, %62 ]
%67 = icmp ugt i32 %65, %66
%68 = zext i1 %67 to i32
br label %69
69: ; preds = %31, %28, %20, %2, %7, %64
%70 = phi i32 [ %68, %64 ], [ 0, %7 ], [ 0, %2 ], [ 0, %20 ], [ 0, %28 ], [ 0, %31 ]
ret i32 %70
}
declare i32 @LINUX_S_ISREG(i32 noundef) local_unnamed_addr #1
declare i64 @LINUX_S_ISLNK(i32 noundef) local_unnamed_addr #1
declare i32 @LINUX_S_ISDIR(i32 noundef) local_unnamed_addr #1
declare i32 @EXT2_I_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @ext2fs_blocks_count(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 = !{!"ext2_inode_large", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 24}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !12, i64 16}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_4__", !12, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_5__", !11, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| rufus_src_ext2fs_extr_inode.c_block_map_looks_insane |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8821a1ant.c_btc8821a1ant_is_common_action.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8821a1ant.c_btc8821a1ant_is_common_action.c"
target datalayout = "e-m:e-p270:32:32-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.btc_coexist = type { ptr, ptr }
@BTC_GET_BL_WIFI_CONNECTED = dso_local local_unnamed_addr global i32 0, align 4
@BTC_GET_BL_WIFI_BUSY = dso_local local_unnamed_addr global i32 0, align 4
@BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE = dso_local local_unnamed_addr global i64 0, align 8
@coex_dm = dso_local local_unnamed_addr global ptr null, align 8
@COMP_BT_COEXIST = dso_local local_unnamed_addr global i32 0, align 4
@DBG_LOUD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"[BTCoex], Wifi non connected-idle + BT non connected-idle!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"[BTCoex], Wifi connected + BT non connected-idle!!\0A\00", align 1
@BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [57 x i8] c"[BTCoex], Wifi non connected-idle + BT connected-idle!!\0A\00", align 1
@.str.3 = private unnamed_addr constant [48 x i8] c"[BTCoex], Wifi connected + BT connected-idle!!\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"[BTCoex], Wifi non connected-idle + BT Busy!!\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"[BTCoex], Wifi Connected-Busy + BT Busy!!\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"[BTCoex], Wifi Connected-Idle + BT Busy!!\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @btc8821a1ant_is_common_action], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @btc8821a1ant_is_common_action(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds %struct.btc_coexist, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !10
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !10
%6 = load ptr, ptr %0, align 8, !tbaa !12
%7 = load i32, ptr @BTC_GET_BL_WIFI_CONNECTED, align 4, !tbaa !10
%8 = call i32 %6(ptr noundef nonnull %0, i32 noundef %7, ptr noundef nonnull %2) #3
%9 = load ptr, ptr %0, align 8, !tbaa !12
%10 = load i32, ptr @BTC_GET_BL_WIFI_BUSY, align 4, !tbaa !10
%11 = call i32 %9(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %3) #3
%12 = load i32, ptr %2, align 4, !tbaa !10
%13 = icmp eq i32 %12, 0
%14 = load i64, ptr @BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE, align 8, !tbaa !13
%15 = load ptr, ptr @coex_dm, align 8, !tbaa !15
%16 = load i64, ptr %15, align 8, !tbaa !16
%17 = icmp eq i64 %14, %16
br i1 %13, label %18, label %24
18: ; preds = %1
br i1 %17, label %19, label %30
19: ; preds = %18
%20 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !10
%21 = load i32, ptr @DBG_LOUD, align 4, !tbaa !10
%22 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %20, i32 noundef %21, ptr noundef nonnull @.str) #3
%23 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
24: ; preds = %1
br i1 %17, label %25, label %38
25: ; preds = %24
%26 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !10
%27 = load i32, ptr @DBG_LOUD, align 4, !tbaa !10
%28 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %26, i32 noundef %27, ptr noundef nonnull @.str.1) #3
%29 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
30: ; preds = %18
%31 = load i64, ptr @BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE, align 8, !tbaa !13
%32 = icmp eq i64 %31, %16
%33 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !10
%34 = load i32, ptr @DBG_LOUD, align 4, !tbaa !10
br i1 %32, label %35, label %46
35: ; preds = %30
%36 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %33, i32 noundef %34, ptr noundef nonnull @.str.2) #3
%37 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
38: ; preds = %24
%39 = load i64, ptr @BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE, align 8, !tbaa !13
%40 = icmp eq i64 %39, %16
br i1 %40, label %41, label %49
41: ; preds = %38
%42 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !10
%43 = load i32, ptr @DBG_LOUD, align 4, !tbaa !10
%44 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %42, i32 noundef %43, ptr noundef nonnull @.str.3) #3
%45 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
46: ; preds = %30
%47 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %33, i32 noundef %34, ptr noundef nonnull @.str.4) #3
%48 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
49: ; preds = %38
%50 = load i32, ptr %3, align 4, !tbaa !10
%51 = icmp eq i32 %50, 0
%52 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !10
%53 = load i32, ptr @DBG_LOUD, align 4, !tbaa !10
br i1 %51, label %56, label %54
54: ; preds = %49
%55 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %52, i32 noundef %53, ptr noundef nonnull @.str.5) #3
br label %58
56: ; preds = %49
%57 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %52, i32 noundef %53, ptr noundef nonnull @.str.6) #3
br label %58
58: ; preds = %54, %56, %25, %41, %46, %35, %19
%59 = phi i32 [ 1, %25 ], [ 1, %41 ], [ 1, %46 ], [ 1, %35 ], [ 1, %19 ], [ 0, %56 ], [ 0, %54 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @RT_TRACE(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @btc8821a1ant_sw_mechanism(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"btc_coexist", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_2__", !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8821a1ant.c_btc8821a1ant_is_common_action.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8821a1ant.c_btc8821a1ant_is_common_action.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BTC_GET_BL_WIFI_CONNECTED = common local_unnamed_addr global i32 0, align 4
@BTC_GET_BL_WIFI_BUSY = common local_unnamed_addr global i32 0, align 4
@BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE = common local_unnamed_addr global i64 0, align 8
@coex_dm = common local_unnamed_addr global ptr null, align 8
@COMP_BT_COEXIST = common local_unnamed_addr global i32 0, align 4
@DBG_LOUD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"[BTCoex], Wifi non connected-idle + BT non connected-idle!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"[BTCoex], Wifi connected + BT non connected-idle!!\0A\00", align 1
@BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [57 x i8] c"[BTCoex], Wifi non connected-idle + BT connected-idle!!\0A\00", align 1
@.str.3 = private unnamed_addr constant [48 x i8] c"[BTCoex], Wifi connected + BT connected-idle!!\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"[BTCoex], Wifi non connected-idle + BT Busy!!\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"[BTCoex], Wifi Connected-Busy + BT Busy!!\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"[BTCoex], Wifi Connected-Idle + BT Busy!!\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @btc8821a1ant_is_common_action], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @btc8821a1ant_is_common_action(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !11
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !11
%6 = load ptr, ptr %0, align 8, !tbaa !13
%7 = load i32, ptr @BTC_GET_BL_WIFI_CONNECTED, align 4, !tbaa !11
%8 = call i32 %6(ptr noundef nonnull %0, i32 noundef %7, ptr noundef nonnull %2) #3
%9 = load ptr, ptr %0, align 8, !tbaa !13
%10 = load i32, ptr @BTC_GET_BL_WIFI_BUSY, align 4, !tbaa !11
%11 = call i32 %9(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %3) #3
%12 = load i32, ptr %2, align 4, !tbaa !11
%13 = icmp eq i32 %12, 0
%14 = load i64, ptr @BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE, align 8, !tbaa !14
%15 = load ptr, ptr @coex_dm, align 8, !tbaa !16
%16 = load i64, ptr %15, align 8, !tbaa !17
%17 = icmp eq i64 %14, %16
br i1 %13, label %18, label %24
18: ; preds = %1
br i1 %17, label %19, label %30
19: ; preds = %18
%20 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !11
%21 = load i32, ptr @DBG_LOUD, align 4, !tbaa !11
%22 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %20, i32 noundef %21, ptr noundef nonnull @.str) #3
%23 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
24: ; preds = %1
br i1 %17, label %25, label %38
25: ; preds = %24
%26 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !11
%27 = load i32, ptr @DBG_LOUD, align 4, !tbaa !11
%28 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %26, i32 noundef %27, ptr noundef nonnull @.str.1) #3
%29 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
30: ; preds = %18
%31 = load i64, ptr @BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE, align 8, !tbaa !14
%32 = icmp eq i64 %31, %16
%33 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !11
%34 = load i32, ptr @DBG_LOUD, align 4, !tbaa !11
br i1 %32, label %35, label %46
35: ; preds = %30
%36 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %33, i32 noundef %34, ptr noundef nonnull @.str.2) #3
%37 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
38: ; preds = %24
%39 = load i64, ptr @BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE, align 8, !tbaa !14
%40 = icmp eq i64 %39, %16
br i1 %40, label %41, label %49
41: ; preds = %38
%42 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !11
%43 = load i32, ptr @DBG_LOUD, align 4, !tbaa !11
%44 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %42, i32 noundef %43, ptr noundef nonnull @.str.3) #3
%45 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
46: ; preds = %30
%47 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %33, i32 noundef %34, ptr noundef nonnull @.str.4) #3
%48 = call i32 @btc8821a1ant_sw_mechanism(ptr noundef nonnull %0, i32 noundef 0) #3
br label %58
49: ; preds = %38
%50 = load i32, ptr %3, align 4, !tbaa !11
%51 = icmp eq i32 %50, 0
%52 = load i32, ptr @COMP_BT_COEXIST, align 4, !tbaa !11
%53 = load i32, ptr @DBG_LOUD, align 4, !tbaa !11
br i1 %51, label %56, label %54
54: ; preds = %49
%55 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %52, i32 noundef %53, ptr noundef nonnull @.str.5) #3
br label %58
56: ; preds = %49
%57 = call i32 @RT_TRACE(ptr noundef %5, i32 noundef %52, i32 noundef %53, ptr noundef nonnull @.str.6) #3
br label %58
58: ; preds = %54, %56, %25, %41, %46, %35, %19
%59 = phi i32 [ 1, %25 ], [ 1, %41 ], [ 1, %46 ], [ 1, %35 ], [ 1, %19 ], [ 0, %56 ], [ 0, %54 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @RT_TRACE(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @btc8821a1ant_sw_mechanism(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"btc_coexist", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_2__", !15, i64 0}
| linux_drivers_net_wireless_realtek_rtlwifi_btcoexist_extr_halbtc8821a1ant.c_btc8821a1ant_is_common_action |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_16_ix.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_16_ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AX = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_adda_16_ix() local_unnamed_addr #0 {
%1 = tail call i32 (...) @OPER_AY_IX_16() #2
%2 = tail call signext i16 @MAKE_INT_16(i32 noundef %1) #2
%3 = load i64, ptr @AX, align 8, !tbaa !5
%4 = sext i16 %2 to i64
%5 = add nsw i64 %3, %4
%6 = tail call i64 @MASK_OUT_ABOVE_32(i64 noundef %5) #2
store i64 %6, ptr @AX, align 8, !tbaa !5
ret void
}
declare signext i16 @MAKE_INT_16(i32 noundef) local_unnamed_addr #1
declare i32 @OPER_AY_IX_16(...) local_unnamed_addr #1
declare i64 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_16_ix.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_16_ix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AX = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_adda_16_ix() local_unnamed_addr #0 {
%1 = tail call i32 @OPER_AY_IX_16() #2
%2 = tail call signext i16 @MAKE_INT_16(i32 noundef %1) #2
%3 = load i64, ptr @AX, align 8, !tbaa !6
%4 = sext i16 %2 to i64
%5 = add nsw i64 %3, %4
%6 = tail call i64 @MASK_OUT_ABOVE_32(i64 noundef %5) #2
store i64 %6, ptr @AX, align 8, !tbaa !6
ret void
}
declare signext i16 @MAKE_INT_16(i32 noundef) local_unnamed_addr #1
declare i32 @OPER_AY_IX_16(...) local_unnamed_addr #1
declare i64 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopac.c_m68k_op_adda_16_ix |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_tmr_add.c'
source_filename = "AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_tmr_add.c"
target datalayout = "e-m:e-p270:32:32-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.timer_entry = type { i32, i32, ptr, i32 }
@next = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tmr_add], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tmr_add(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = tail call ptr @malloc(i32 noundef 24) #2
%7 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24) #2
store i32 %2, ptr %6, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.timer_entry, ptr %6, i64 0, i32 3
store i32 %3, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.timer_entry, ptr %6, i64 0, i32 2
store ptr %4, ptr %9, align 8, !tbaa !12
%10 = getelementptr inbounds %struct.timer_entry, ptr %6, i64 0, i32 1
store i32 %1, ptr %10, align 4, !tbaa !13
%11 = tail call ptr @TAILQ_FIRST(ptr noundef %0) #2
%12 = tail call i64 @TAILQ_EMPTY(ptr noundef %0) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %5
%15 = load i32, ptr @next, align 4, !tbaa !14
%16 = tail call i32 @TAILQ_INSERT_HEAD(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %15) #2
br label %42
17: ; preds = %5
%18 = load i32, ptr %6, align 8, !tbaa !5
%19 = load i32, ptr %11, align 8, !tbaa !5
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = sub nsw i32 %19, %18
store i32 %22, ptr %11, align 8, !tbaa !5
%23 = load i32, ptr @next, align 4, !tbaa !14
%24 = tail call i32 @TAILQ_INSERT_HEAD(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %23) #2
br label %42
25: ; preds = %17, %35
%26 = phi i32 [ %36, %35 ], [ %19, %17 ]
%27 = phi i32 [ %37, %35 ], [ %18, %17 ]
%28 = phi ptr [ %33, %35 ], [ %11, %17 ]
%29 = icmp slt i32 %27, %26
br i1 %29, label %39, label %30
30: ; preds = %25
%31 = sub nsw i32 %27, %26
store i32 %31, ptr %6, align 8, !tbaa !5
%32 = load i32, ptr @next, align 4, !tbaa !14
%33 = tail call ptr @TAILQ_NEXT(ptr noundef nonnull %28, i32 noundef %32) #2
%34 = icmp eq ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %30
%36 = load i32, ptr %33, align 8, !tbaa !5
%37 = load i32, ptr %6, align 8, !tbaa !5
%38 = icmp sgt i32 %36, %37
br i1 %38, label %39, label %25, !llvm.loop !15
39: ; preds = %30, %35, %25
%40 = load i32, ptr @next, align 4, !tbaa !14
%41 = tail call i32 @TAILQ_INSERT_AFTER(ptr noundef %0, ptr noundef nonnull %28, ptr noundef nonnull %6, i32 noundef %40) #2
br label %42
42: ; preds = %21, %39, %14
ret void
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @TAILQ_FIRST(ptr noundef) local_unnamed_addr #1
declare i64 @TAILQ_EMPTY(ptr noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @TAILQ_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_AFTER(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"timer_entry", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 4}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_tmr_add.c'
source_filename = "AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_tmr_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@next = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tmr_add], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tmr_add(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = tail call ptr @malloc(i32 noundef 24) #2
%7 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24) #2
store i32 %2, ptr %6, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %6, i64 16
store i32 %3, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %4, ptr %9, align 8, !tbaa !13
%10 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %1, ptr %10, align 4, !tbaa !14
%11 = tail call ptr @TAILQ_FIRST(ptr noundef %0) #2
%12 = tail call i64 @TAILQ_EMPTY(ptr noundef %0) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %5
%15 = load i32, ptr @next, align 4, !tbaa !15
%16 = tail call i32 @TAILQ_INSERT_HEAD(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %15) #2
br label %42
17: ; preds = %5
%18 = load i32, ptr %6, align 8, !tbaa !6
%19 = load i32, ptr %11, align 8, !tbaa !6
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = sub nsw i32 %19, %18
store i32 %22, ptr %11, align 8, !tbaa !6
%23 = load i32, ptr @next, align 4, !tbaa !15
%24 = tail call i32 @TAILQ_INSERT_HEAD(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %23) #2
br label %42
25: ; preds = %17, %35
%26 = phi i32 [ %36, %35 ], [ %19, %17 ]
%27 = phi i32 [ %37, %35 ], [ %18, %17 ]
%28 = phi ptr [ %33, %35 ], [ %11, %17 ]
%29 = icmp slt i32 %27, %26
br i1 %29, label %39, label %30
30: ; preds = %25
%31 = sub nsw i32 %27, %26
store i32 %31, ptr %6, align 8, !tbaa !6
%32 = load i32, ptr @next, align 4, !tbaa !15
%33 = tail call ptr @TAILQ_NEXT(ptr noundef nonnull %28, i32 noundef %32) #2
%34 = icmp eq ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %30
%36 = load i32, ptr %33, align 8, !tbaa !6
%37 = load i32, ptr %6, align 8, !tbaa !6
%38 = icmp sgt i32 %36, %37
br i1 %38, label %39, label %25, !llvm.loop !16
39: ; preds = %30, %35, %25
%40 = load i32, ptr @next, align 4, !tbaa !15
%41 = tail call i32 @TAILQ_INSERT_AFTER(ptr noundef %0, ptr noundef nonnull %28, ptr noundef nonnull %6, i32 noundef %40) #2
br label %42
42: ; preds = %21, %39, %14
ret void
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @TAILQ_FIRST(ptr noundef) local_unnamed_addr #1
declare i64 @TAILQ_EMPTY(ptr noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @TAILQ_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_AFTER(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"timer_entry", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 4}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.sbin_uhsoctl_extr_uhsoctl.c_tmr_add |
; ModuleID = 'AnghaBench/linux/mm/kasan/extr_generic.c___asan_storeN.c'
source_filename = "AnghaBench/linux/mm/kasan/extr_generic.c___asan_storeN.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_RET_IP_ = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @__asan_storeN(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @_RET_IP_, align 4, !tbaa !5
%4 = tail call i32 @check_memory_region(i64 noundef %0, i64 noundef %1, i32 noundef 1, i32 noundef %3) #2
ret void
}
declare i32 @check_memory_region(i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/mm/kasan/extr_generic.c___asan_storeN.c'
source_filename = "AnghaBench/linux/mm/kasan/extr_generic.c___asan_storeN.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_RET_IP_ = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @__asan_storeN(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @_RET_IP_, align 4, !tbaa !6
%4 = tail call i32 @check_memory_region(i64 noundef %0, i64 noundef %1, i32 noundef 1, i32 noundef %3) #2
ret void
}
declare i32 @check_memory_region(i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_mm_kasan_extr_generic.c___asan_storeN |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arc.c_arc_cons_fix_new.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arc.c_arc_cons_fix_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BFD_RELOC_32 = dso_local local_unnamed_addr global i32 0, align 4
@BFD_RELOC_16 = dso_local local_unnamed_addr global i32 0, align 4
@BFD_RELOC_64 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @arc_cons_fix_new(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
switch i32 %2, label %12 [
i32 4, label %6
i32 2, label %10
]
6: ; preds = %4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = load i32, ptr @BFD_RELOC_32, align 4, !tbaa !5
%8 = call i32 @get_arc_exp_reloc_type(i32 noundef 1, i32 noundef %7, ptr noundef %3, ptr noundef nonnull %5) #3
%9 = call i32 @fix_new_exp(ptr noundef %0, i32 noundef %1, i32 noundef 4, ptr noundef nonnull %5, i32 noundef 0, i32 noundef %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %20
10: ; preds = %4
%11 = load i32, ptr @BFD_RELOC_16, align 4, !tbaa !5
br label %17
12: ; preds = %4
%13 = icmp eq i32 %2, 8
%14 = load i32, ptr @BFD_RELOC_64, align 4
%15 = load i32, ptr @BFD_RELOC_32, align 4
%16 = select i1 %13, i32 %14, i32 %15
br label %17
17: ; preds = %12, %10
%18 = phi i32 [ %11, %10 ], [ %16, %12 ]
%19 = tail call i32 @fix_new_exp(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef 0, i32 noundef %18) #3
br label %20
20: ; preds = %17, %6
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_arc_exp_reloc_type(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fix_new_exp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arc.c_arc_cons_fix_new.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arc.c_arc_cons_fix_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BFD_RELOC_32 = common local_unnamed_addr global i32 0, align 4
@BFD_RELOC_16 = common local_unnamed_addr global i32 0, align 4
@BFD_RELOC_64 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @arc_cons_fix_new(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
switch i32 %2, label %12 [
i32 4, label %6
i32 2, label %10
]
6: ; preds = %4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = load i32, ptr @BFD_RELOC_32, align 4, !tbaa !6
%8 = call i32 @get_arc_exp_reloc_type(i32 noundef 1, i32 noundef %7, ptr noundef %3, ptr noundef nonnull %5) #3
%9 = call i32 @fix_new_exp(ptr noundef %0, i32 noundef %1, i32 noundef 4, ptr noundef nonnull %5, i32 noundef 0, i32 noundef %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %20
10: ; preds = %4
%11 = load i32, ptr @BFD_RELOC_16, align 4, !tbaa !6
br label %17
12: ; preds = %4
%13 = icmp eq i32 %2, 8
%14 = load i32, ptr @BFD_RELOC_64, align 4
%15 = load i32, ptr @BFD_RELOC_32, align 4
%16 = select i1 %13, i32 %14, i32 %15
br label %17
17: ; preds = %12, %10
%18 = phi i32 [ %11, %10 ], [ %16, %12 ]
%19 = tail call i32 @fix_new_exp(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef 0, i32 noundef %18) #3
br label %20
20: ; preds = %17, %6
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_arc_exp_reloc_type(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fix_new_exp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_binutils_gas_config_extr_tc-arc.c_arc_cons_fix_new |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_isadma.h_comedi_isadma_poll.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_isadma.h_comedi_isadma_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @comedi_isadma_poll], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @comedi_isadma_poll(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_isadma.h_comedi_isadma_poll.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_comedi_isadma.h_comedi_isadma_poll.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 @comedi_isadma_poll], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @comedi_isadma_poll(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_staging_comedi_drivers_extr_comedi_isadma.h_comedi_isadma_poll |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_mempolicy.c___mpol_cond_copy.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_mempolicy.c___mpol_cond_copy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MPOL_F_SHARED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @__mpol_cond_copy(ptr noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mpol_needs_cond_ref(ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4, !tbaa !5
store i32 %6, ptr %0, align 4, !tbaa !5
%7 = load i32, ptr @MPOL_F_SHARED, align 4, !tbaa !5
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
store i32 %9, ptr %0, align 4, !tbaa !9
%10 = tail call i32 @__mpol_put(ptr noundef nonnull %1) #2
br label %11
11: ; preds = %2, %5
%12 = phi ptr [ %0, %5 ], [ %1, %2 ]
ret ptr %12
}
declare i32 @mpol_needs_cond_ref(ptr noundef) local_unnamed_addr #1
declare i32 @__mpol_put(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 = !{!"mempolicy", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_mempolicy.c___mpol_cond_copy.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_mempolicy.c___mpol_cond_copy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MPOL_F_SHARED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @__mpol_cond_copy(ptr noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mpol_needs_cond_ref(ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4, !tbaa !6
store i32 %6, ptr %0, align 4, !tbaa !6
%7 = load i32, ptr @MPOL_F_SHARED, align 4, !tbaa !6
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
store i32 %9, ptr %0, align 4, !tbaa !10
%10 = tail call i32 @__mpol_put(ptr noundef nonnull %1) #2
br label %11
11: ; preds = %2, %5
%12 = phi ptr [ %0, %5 ], [ %1, %2 ]
ret ptr %12
}
declare i32 @mpol_needs_cond_ref(ptr noundef) local_unnamed_addr #1
declare i32 @__mpol_put(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 = !{!"mempolicy", !7, i64 0}
| fastsocket_kernel_mm_extr_mempolicy.c___mpol_cond_copy |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth.c_wpa_request_new_ptk.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth.c_wpa_request_new_ptk.c"
target datalayout = "e-m:e-p270:32:32-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.wpa_state_machine = type { i64, i32 }
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wpa_request_new_ptk], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal void @wpa_request_new_ptk(ptr noundef writeonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = load i32, ptr @TRUE, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.wpa_state_machine, ptr %0, i64 0, i32 1
store i32 %4, ptr %5, align 8, !tbaa !9
store i64 0, ptr %0, align 8, !tbaa !12
br label %6
6: ; preds = %1, %3
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"wpa_state_machine", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth.c_wpa_request_new_ptk.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth.c_wpa_request_new_ptk.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
@llvm.used = appending global [1 x ptr] [ptr @wpa_request_new_ptk], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal void @wpa_request_new_ptk(ptr noundef writeonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = load i32, ptr @TRUE, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %4, ptr %5, align 8, !tbaa !10
store i64 0, ptr %0, align 8, !tbaa !13
br label %6
6: ; preds = %1, %3
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"wpa_state_machine", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
| freebsd_contrib_wpa_src_ap_extr_wpa_auth.c_wpa_request_new_ptk |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/esp/blufi/extr_blufi_prf.c_btc_blufi_profile_deinit.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/esp/blufi/extr_blufi_prf.c_btc_blufi_profile_deinit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32, i32 }
@blufi_env = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@.str = private unnamed_addr constant [29 x i8] c"BLUFI already de-initialized\00", align 1
@GATT_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@GATT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @btc_blufi_profile_deinit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @btc_blufi_profile_deinit() #0 {
%1 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @blufi_env, i64 0, i32 2), align 4, !tbaa !5
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @BTC_TRACE_ERROR(ptr noundef nonnull @.str) #2
br label %12
5: ; preds = %0
%6 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @blufi_env, i64 0, i32 1), align 4, !tbaa !10
%7 = tail call i32 @BTA_GATTS_StopService(i32 noundef %6) #2
%8 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @blufi_env, i64 0, i32 1), align 4, !tbaa !10
%9 = tail call i32 @BTA_GATTS_DeleteService(i32 noundef %8) #2
%10 = load i32, ptr @blufi_env, align 4, !tbaa !11
%11 = tail call i32 @BTA_GATTS_AppDeregister(i32 noundef %10) #2
br label %12
12: ; preds = %5, %3
%13 = phi ptr [ @GATT_SUCCESS, %5 ], [ @GATT_ERROR, %3 ]
%14 = load i32, ptr %13, align 4, !tbaa !12
ret i32 %14
}
declare i32 @BTC_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @BTA_GATTS_StopService(i32 noundef) local_unnamed_addr #1
declare i32 @BTA_GATTS_DeleteService(i32 noundef) local_unnamed_addr #1
declare i32 @BTA_GATTS_AppDeregister(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_2__", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/esp/blufi/extr_blufi_prf.c_btc_blufi_profile_deinit.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/esp/blufi/extr_blufi_prf.c_btc_blufi_profile_deinit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32, i32 }
@blufi_env = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@.str = private unnamed_addr constant [29 x i8] c"BLUFI already de-initialized\00", align 1
@GATT_ERROR = common local_unnamed_addr global i32 0, align 4
@GATT_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @btc_blufi_profile_deinit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @btc_blufi_profile_deinit() #0 {
%1 = load i32, ptr getelementptr inbounds (i8, ptr @blufi_env, i64 8), align 4, !tbaa !6
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @BTC_TRACE_ERROR(ptr noundef nonnull @.str) #2
br label %12
5: ; preds = %0
%6 = load i32, ptr getelementptr inbounds (i8, ptr @blufi_env, i64 4), align 4, !tbaa !11
%7 = tail call i32 @BTA_GATTS_StopService(i32 noundef %6) #2
%8 = load i32, ptr getelementptr inbounds (i8, ptr @blufi_env, i64 4), align 4, !tbaa !11
%9 = tail call i32 @BTA_GATTS_DeleteService(i32 noundef %8) #2
%10 = load i32, ptr @blufi_env, align 4, !tbaa !12
%11 = tail call i32 @BTA_GATTS_AppDeregister(i32 noundef %10) #2
br label %12
12: ; preds = %5, %3
%13 = phi ptr [ @GATT_SUCCESS, %5 ], [ @GATT_ERROR, %3 ]
%14 = load i32, ptr %13, align 4, !tbaa !13
ret i32 %14
}
declare i32 @BTC_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @BTA_GATTS_StopService(i32 noundef) local_unnamed_addr #1
declare i32 @BTA_GATTS_DeleteService(i32 noundef) local_unnamed_addr #1
declare i32 @BTA_GATTS_AppDeregister(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_2__", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
| esp-idf_components_bt_host_bluedroid_btc_profile_esp_blufi_extr_blufi_prf.c_btc_blufi_profile_deinit |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_mob.c_vmw_mob_pt_populate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_mob.c_vmw_mob_pt_populate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr }
%struct.ttm_operation_ctx = type { i32, i32 }
%struct.vmw_mob = type { i32, ptr }
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@ttm_bo_type_device = dso_local local_unnamed_addr global i32 0, align 4
@vmw_sys_ne_placement = dso_local global i32 0, align 4
@vmw_bo_driver = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vmw_mob_pt_populate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vmw_mob_pt_populate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.ttm_operation_ctx, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
%4 = getelementptr inbounds %struct.vmw_mob, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
%8 = tail call i32 @BUG_ON(i32 noundef %7) #3
%9 = load i32, ptr %1, align 8, !tbaa !11
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12
%11 = mul nsw i32 %10, %9
%12 = load i32, ptr @ttm_bo_type_device, align 4, !tbaa !12
%13 = tail call i32 @ttm_bo_create(ptr noundef %0, i32 noundef %11, i32 noundef %12, ptr noundef nonnull @vmw_sys_ne_placement, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %4) #3
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i64 @unlikely(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %48
18: ; preds = %2
%19 = load ptr, ptr %4, align 8, !tbaa !5
%20 = tail call i32 @ttm_bo_reserve(ptr noundef %19, i32 noundef 0, i32 noundef 1, ptr noundef null) #3
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
%23 = tail call i32 @BUG_ON(i32 noundef %22) #3
%24 = load ptr, ptr @vmw_bo_driver, align 8, !tbaa !13
%25 = load ptr, ptr %4, align 8, !tbaa !5
%26 = load i32, ptr %25, align 4, !tbaa !15
%27 = call i32 %24(i32 noundef %26, ptr noundef nonnull %3) #3
%28 = icmp ne i32 %27, 0
%29 = zext i1 %28 to i32
%30 = call i64 @unlikely(i32 noundef %29) #3
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %18
%33 = load ptr, ptr %4, align 8, !tbaa !5
%34 = call i32 @vmw_bo_map_dma(ptr noundef %33) #3
%35 = icmp ne i32 %34, 0
%36 = zext i1 %35 to i32
%37 = call i64 @unlikely(i32 noundef %36) #3
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = load ptr, ptr %4, align 8, !tbaa !5
%41 = call i32 @ttm_bo_unreserve(ptr noundef %40) #3
br label %48
42: ; preds = %32, %18
%43 = phi i32 [ %27, %18 ], [ %34, %32 ]
%44 = load ptr, ptr %4, align 8, !tbaa !5
%45 = call i32 @ttm_bo_unreserve(ptr noundef %44) #3
%46 = load ptr, ptr %4, align 8, !tbaa !5
%47 = call i32 @ttm_bo_put(ptr noundef %46) #3
store ptr null, ptr %4, align 8, !tbaa !5
br label %48
48: ; preds = %2, %42, %39
%49 = phi i32 [ %43, %42 ], [ 0, %39 ], [ %13, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %49
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @ttm_bo_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @ttm_bo_reserve(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vmw_bo_map_dma(ptr noundef) local_unnamed_addr #2
declare i32 @ttm_bo_unreserve(ptr noundef) local_unnamed_addr #2
declare i32 @ttm_bo_put(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"vmw_mob", !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 0}
!14 = !{!"TYPE_8__", !10, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_7__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_mob.c_vmw_mob_pt_populate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_mob.c_vmw_mob_pt_populate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { ptr }
%struct.ttm_operation_ctx = type { i32, i32 }
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@ttm_bo_type_device = common local_unnamed_addr global i32 0, align 4
@vmw_sys_ne_placement = common global i32 0, align 4
@vmw_bo_driver = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @vmw_mob_pt_populate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vmw_mob_pt_populate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.ttm_operation_ctx, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
%8 = tail call i32 @BUG_ON(i32 noundef %7) #3
%9 = load i32, ptr %1, align 8, !tbaa !12
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !13
%11 = mul nsw i32 %10, %9
%12 = load i32, ptr @ttm_bo_type_device, align 4, !tbaa !13
%13 = tail call i32 @ttm_bo_create(ptr noundef %0, i32 noundef %11, i32 noundef %12, ptr noundef nonnull @vmw_sys_ne_placement, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %4) #3
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i64 @unlikely(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %48
18: ; preds = %2
%19 = load ptr, ptr %4, align 8, !tbaa !6
%20 = tail call i32 @ttm_bo_reserve(ptr noundef %19, i32 noundef 0, i32 noundef 1, ptr noundef null) #3
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
%23 = tail call i32 @BUG_ON(i32 noundef %22) #3
%24 = load ptr, ptr @vmw_bo_driver, align 8, !tbaa !14
%25 = load ptr, ptr %4, align 8, !tbaa !6
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = call i32 %24(i32 noundef %26, ptr noundef nonnull %3) #3
%28 = icmp ne i32 %27, 0
%29 = zext i1 %28 to i32
%30 = call i64 @unlikely(i32 noundef %29) #3
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %18
%33 = load ptr, ptr %4, align 8, !tbaa !6
%34 = call i32 @vmw_bo_map_dma(ptr noundef %33) #3
%35 = icmp ne i32 %34, 0
%36 = zext i1 %35 to i32
%37 = call i64 @unlikely(i32 noundef %36) #3
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = load ptr, ptr %4, align 8, !tbaa !6
%41 = call i32 @ttm_bo_unreserve(ptr noundef %40) #3
br label %48
42: ; preds = %32, %18
%43 = phi i32 [ %27, %18 ], [ %34, %32 ]
%44 = load ptr, ptr %4, align 8, !tbaa !6
%45 = call i32 @ttm_bo_unreserve(ptr noundef %44) #3
%46 = load ptr, ptr %4, align 8, !tbaa !6
%47 = call i32 @ttm_bo_put(ptr noundef %46) #3
store ptr null, ptr %4, align 8, !tbaa !6
br label %48
48: ; preds = %2, %42, %39
%49 = phi i32 [ %43, %42 ], [ 0, %39 ], [ %13, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %49
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @ttm_bo_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @ttm_bo_reserve(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vmw_bo_map_dma(ptr noundef) local_unnamed_addr #2
declare i32 @ttm_bo_unreserve(ptr noundef) local_unnamed_addr #2
declare i32 @ttm_bo_put(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"vmw_mob", !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 0}
!15 = !{!"TYPE_8__", !11, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_7__", !8, i64 0}
| linux_drivers_gpu_drm_vmwgfx_extr_vmwgfx_mob.c_vmw_mob_pt_populate |
; ModuleID = 'AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks7010_sdio_read.c'
source_filename = "AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks7010_sdio_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ks7010_sdio_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ks7010_sdio_read(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @ks7010_to_func(ptr noundef %0) #2
%6 = tail call i32 @sdio_memcpy_fromio(ptr noundef %5, ptr noundef %2, i32 noundef %1, i32 noundef %3) #2
ret i32 %6
}
declare ptr @ks7010_to_func(ptr noundef) local_unnamed_addr #1
declare i32 @sdio_memcpy_fromio(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks7010_sdio_read.c'
source_filename = "AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks7010_sdio_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ks7010_sdio_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ks7010_sdio_read(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @ks7010_to_func(ptr noundef %0) #2
%6 = tail call i32 @sdio_memcpy_fromio(ptr noundef %5, ptr noundef %2, i32 noundef %1, i32 noundef %3) #2
ret i32 %6
}
declare ptr @ks7010_to_func(ptr noundef) local_unnamed_addr #1
declare i32 @sdio_memcpy_fromio(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_staging_ks7010_extr_ks7010_sdio.c_ks7010_sdio_read |
; ModuleID = 'AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_mcg_64_xsh_rr_32_boundedrand_r.c'
source_filename = "AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_mcg_64_xsh_rr_32_boundedrand_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_mcg_64_xsh_rr_32_boundedrand_r.c'
source_filename = "AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_mcg_64_xsh_rr_32_boundedrand_r.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| numpy_numpy_random_src_pcg64_extr_pcg64.orig.h_pcg_mcg_64_xsh_rr_32_boundedrand_r |
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeAppend.c_ExecAppendInitializeDSM.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeAppend.c_ExecAppendInitializeDSM.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { i32, ptr, %struct.TYPE_11__, i32 }
%struct.TYPE_11__ = type { ptr }
@LWTRANCHE_PARALLEL_APPEND = dso_local local_unnamed_addr global i32 0, align 4
@choose_next_subplan_for_leader = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ExecAppendInitializeDSM(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3
%5 = load i32, ptr %4, align 8, !tbaa !10
%6 = tail call ptr @shm_toc_allocate(i32 noundef %3, i32 noundef %5) #2
%7 = load i32, ptr %4, align 8, !tbaa !10
%8 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef %7) #2
%9 = load i32, ptr @LWTRANCHE_PARALLEL_APPEND, align 4, !tbaa !14
%10 = tail call i32 @LWLockInitialize(ptr noundef %6, i32 noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = tail call i32 @shm_toc_insert(i32 noundef %11, i32 noundef %14, ptr noundef %6) #2
%16 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1
store ptr %6, ptr %16, align 8, !tbaa !18
%17 = load i32, ptr @choose_next_subplan_for_leader, align 4, !tbaa !14
store i32 %17, ptr %0, align 8, !tbaa !19
ret void
}
declare ptr @shm_toc_allocate(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWLockInitialize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @shm_toc_insert(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_13__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"TYPE_15__", !7, i64 0, !12, i64 8, !13, i64 16, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_11__", !12, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!11, !12, i64 16}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_12__", !7, i64 0}
!18 = !{!11, !12, i64 8}
!19 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeAppend.c_ExecAppendInitializeDSM.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeAppend.c_ExecAppendInitializeDSM.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LWTRANCHE_PARALLEL_APPEND = common local_unnamed_addr global i32 0, align 4
@choose_next_subplan_for_leader = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ExecAppendInitializeDSM(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load i32, ptr %4, align 8, !tbaa !11
%6 = tail call ptr @shm_toc_allocate(i32 noundef %3, i32 noundef %5) #2
%7 = load i32, ptr %4, align 8, !tbaa !11
%8 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef %7) #2
%9 = load i32, ptr @LWTRANCHE_PARALLEL_APPEND, align 4, !tbaa !15
%10 = tail call i32 @LWLockInitialize(ptr noundef %6, i32 noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !16
%14 = load i32, ptr %13, align 4, !tbaa !17
%15 = tail call i32 @shm_toc_insert(i32 noundef %11, i32 noundef %14, ptr noundef %6) #2
%16 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %6, ptr %16, align 8, !tbaa !19
%17 = load i32, ptr @choose_next_subplan_for_leader, align 4, !tbaa !15
store i32 %17, ptr %0, align 8, !tbaa !20
ret void
}
declare ptr @shm_toc_allocate(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWLockInitialize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @shm_toc_insert(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_13__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 24}
!12 = !{!"TYPE_15__", !8, i64 0, !13, i64 8, !14, i64 16, !8, i64 24}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"TYPE_11__", !13, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!12, !13, i64 16}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_12__", !8, i64 0}
!19 = !{!12, !13, i64 8}
!20 = !{!12, !8, i64 0}
| postgres_src_backend_executor_extr_nodeAppend.c_ExecAppendInitializeDSM |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/nek_type_a/extr_matrix.c_matrix_is_on.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/nek_type_a/extr_matrix.c_matrix_is_on.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@matrix = dso_local local_unnamed_addr global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/qmk_firmware/keyboards/nek_type_a/extr_matrix.c_matrix_is_on.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/nek_type_a/extr_matrix.c_matrix_is_on.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@matrix = common local_unnamed_addr global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_nek_type_a_extr_matrix.c_matrix_is_on |
; ModuleID = 'AnghaBench/linux/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_eject.c'
source_filename = "AnghaBench/linux/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_eject.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cdrom_device_info = type { i32, ptr, i64 }
%struct.TYPE_2__ = type { ptr, ptr }
@CD_DO_IOCTL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"entering CDROMEJECT\0A\00", align 1
@CDC_OPEN_TRAY = dso_local local_unnamed_addr global i32 0, align 4
@ENOSYS = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@CDC_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cdrom_ioctl_eject], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cdrom_ioctl_eject(ptr noundef %0) #0 {
%2 = load i32, ptr @CD_DO_IOCTL, align 4, !tbaa !5
%3 = tail call i32 @cd_dbg(i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = load i32, ptr @CDC_OPEN_TRAY, align 4, !tbaa !5
%5 = tail call i64 @CDROM_CAN(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr @ENOSYS, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %36
10: ; preds = %1
%11 = load i32, ptr %0, align 8, !tbaa !9
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = getelementptr inbounds %struct.cdrom_device_info, ptr %0, i64 0, i32 2
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13, %10
%18 = load i32, ptr @EBUSY, align 4, !tbaa !5
%19 = sub nsw i32 0, %18
br label %36
20: ; preds = %13
%21 = load i32, ptr @CDC_LOCK, align 4, !tbaa !5
%22 = tail call i64 @CDROM_CAN(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = getelementptr inbounds %struct.cdrom_device_info, ptr %0, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !14
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = tail call i32 %27(ptr noundef nonnull %0, i32 noundef 0) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %24, %20
%31 = getelementptr inbounds %struct.cdrom_device_info, ptr %0, i64 0, i32 1
%32 = load ptr, ptr %31, align 8, !tbaa !14
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %32, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = tail call i32 %34(ptr noundef nonnull %0, i32 noundef 1) #2
br label %36
36: ; preds = %24, %30, %17, %7
%37 = phi i32 [ %19, %17 ], [ %28, %24 ], [ %35, %30 ], [ %9, %7 ]
ret i32 %37
}
declare i32 @cd_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @CDROM_CAN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"cdrom_device_info", !6, i64 0, !11, i64 8, !12, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !11, i64 8}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!17 = !{!16, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_eject.c'
source_filename = "AnghaBench/linux/drivers/cdrom/extr_cdrom.c_cdrom_ioctl_eject.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CD_DO_IOCTL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"entering CDROMEJECT\0A\00", align 1
@CDC_OPEN_TRAY = common local_unnamed_addr global i32 0, align 4
@ENOSYS = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@CDC_LOCK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cdrom_ioctl_eject], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cdrom_ioctl_eject(ptr noundef %0) #0 {
%2 = load i32, ptr @CD_DO_IOCTL, align 4, !tbaa !6
%3 = tail call i32 @cd_dbg(i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = load i32, ptr @CDC_OPEN_TRAY, align 4, !tbaa !6
%5 = tail call i64 @CDROM_CAN(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr @ENOSYS, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %36
10: ; preds = %1
%11 = load i32, ptr %0, align 8, !tbaa !10
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %0, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13, %10
%18 = load i32, ptr @EBUSY, align 4, !tbaa !6
%19 = sub nsw i32 0, %18
br label %36
20: ; preds = %13
%21 = load i32, ptr @CDC_LOCK, align 4, !tbaa !6
%22 = tail call i64 @CDROM_CAN(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !15
%27 = load ptr, ptr %26, align 8, !tbaa !16
%28 = tail call i32 %27(ptr noundef nonnull %0, i32 noundef 0) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %24, %20
%31 = getelementptr inbounds i8, ptr %0, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !15
%33 = getelementptr inbounds i8, ptr %32, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !18
%35 = tail call i32 %34(ptr noundef nonnull %0, i32 noundef 1) #2
br label %36
36: ; preds = %24, %30, %17, %7
%37 = phi i32 [ %19, %17 ], [ %28, %24 ], [ %35, %30 ], [ %9, %7 ]
ret i32 %37
}
declare i32 @cd_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @CDROM_CAN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"cdrom_device_info", !7, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !12, i64 8}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_2__", !12, i64 0, !12, i64 8}
!18 = !{!17, !12, i64 8}
| linux_drivers_cdrom_extr_cdrom.c_cdrom_ioctl_eject |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_context_ctor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_context_ctor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NVOBJ_FLAG_HEAP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @nv04_fifo_context_ctor(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3, i32 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = load i32, ptr @NVOBJ_FLAG_HEAP, align 4, !tbaa !5
%9 = call i32 @nouveau_fifo_context_create(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 4096, i32 noundef 4096, i32 noundef %8, ptr noundef nonnull %7) #3
%10 = load ptr, ptr %7, align 8, !tbaa !9
%11 = call ptr @nv_object(ptr noundef %10) #3
store ptr %11, ptr %5, align 8, !tbaa !9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nouveau_fifo_context_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @nv_object(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_context_ctor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_context_ctor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NVOBJ_FLAG_HEAP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @nv04_fifo_context_ctor(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3, i32 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = load i32, ptr @NVOBJ_FLAG_HEAP, align 4, !tbaa !6
%9 = call i32 @nouveau_fifo_context_create(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 4096, i32 noundef 4096, i32 noundef %8, ptr noundef nonnull %7) #3
%10 = load ptr, ptr %7, align 8, !tbaa !10
%11 = call ptr @nv_object(ptr noundef %10) #3
store ptr %11, ptr %5, align 8, !tbaa !10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nouveau_fifo_context_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @nv_object(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_fifo_extr_nv04.c_nv04_fifo_context_ctor |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_stage_roce_init.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_stage_roce_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"
@port_type = dso_local local_unnamed_addr global i32 0, align 4
@IB_LINK_LAYER_ETHERNET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_ib_stage_roce_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlx5_ib_stage_roce_init(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @port_type, align 4, !tbaa !10
%4 = tail call i32 @MLX5_CAP_GEN(ptr noundef %2, i32 noundef %3) #2
%5 = tail call i32 @mlx5_port_type_cap_to_rdma_ll(i32 noundef %4) #2
%6 = load i32, ptr @IB_LINK_LAYER_ETHERNET, align 4, !tbaa !10
%7 = icmp eq i32 %5, %6
br i1 %7, label %8, label %16
8: ; preds = %1
%9 = tail call i32 @mlx5_ib_stage_common_roce_init(ptr noundef nonnull %0) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = tail call i32 @mlx5_enable_eth(ptr noundef nonnull %0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @mlx5_ib_stage_common_roce_cleanup(ptr noundef nonnull %0) #2
br label %16
16: ; preds = %1, %11, %8, %14
%17 = phi i32 [ %12, %14 ], [ %9, %8 ], [ 0, %11 ], [ 0, %1 ]
ret i32 %17
}
declare i32 @MLX5_CAP_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_port_type_cap_to_rdma_ll(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_stage_common_roce_init(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_enable_eth(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_stage_common_roce_cleanup(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 = !{!"mlx5_ib_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_stage_roce_init.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_stage_roce_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@port_type = common local_unnamed_addr global i32 0, align 4
@IB_LINK_LAYER_ETHERNET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx5_ib_stage_roce_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mlx5_ib_stage_roce_init(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @port_type, align 4, !tbaa !11
%4 = tail call i32 @MLX5_CAP_GEN(ptr noundef %2, i32 noundef %3) #2
%5 = tail call i32 @mlx5_port_type_cap_to_rdma_ll(i32 noundef %4) #2
%6 = load i32, ptr @IB_LINK_LAYER_ETHERNET, align 4, !tbaa !11
%7 = icmp eq i32 %5, %6
br i1 %7, label %8, label %16
8: ; preds = %1
%9 = tail call i32 @mlx5_ib_stage_common_roce_init(ptr noundef nonnull %0) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = tail call i32 @mlx5_enable_eth(ptr noundef nonnull %0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @mlx5_ib_stage_common_roce_cleanup(ptr noundef nonnull %0) #2
br label %16
16: ; preds = %1, %11, %8, %14
%17 = phi i32 [ %12, %14 ], [ %9, %8 ], [ 0, %11 ], [ 0, %1 ]
ret i32 %17
}
declare i32 @MLX5_CAP_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_port_type_cap_to_rdma_ll(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_stage_common_roce_init(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_enable_eth(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_stage_common_roce_cleanup(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 = !{!"mlx5_ib_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_drivers_infiniband_hw_mlx5_extr_main.c_mlx5_ib_stage_roce_init |
; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8366rb.c_rtl8366rb_sw_get_port_led.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8366rb.c_rtl8366rb_sw_get_port_led.c"
target datalayout = "e-m:e-p270:32:32-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.switch_val = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@RTL8366RB_NUM_LEDGROUPS = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@RTL8366RB_LED_CTRL_REG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8366rb_sw_get_port_led], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rtl8366rb_sw_get_port_led(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 {
%4 = alloca i32, align 4
%5 = tail call ptr @sw_to_rtl8366_smi(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %2, align 4, !tbaa !9
%7 = load i32, ptr @RTL8366RB_NUM_LEDGROUPS, align 4, !tbaa !5
%8 = icmp slt i32 %6, %7
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %21
12: ; preds = %3
%13 = load i32, ptr @RTL8366RB_LED_CTRL_REG, align 4, !tbaa !5
%14 = call i32 @rtl8366_smi_read_reg(ptr noundef %5, i32 noundef %13, ptr noundef nonnull %4) #3
%15 = load i32, ptr %4, align 4, !tbaa !5
%16 = load i32, ptr %2, align 4, !tbaa !9
%17 = shl nsw i32 %16, 2
%18 = ashr i32 %15, %17
%19 = and i32 %18, 15
%20 = getelementptr inbounds %struct.switch_val, ptr %2, i64 0, i32 1
store i32 %19, ptr %20, align 4, !tbaa !12
br label %21
21: ; preds = %12, %9
%22 = phi i32 [ %11, %9 ], [ 0, %12 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sw_to_rtl8366_smi(ptr noundef) local_unnamed_addr #2
declare i32 @rtl8366_smi_read_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"switch_val", !6, i64 0, !11, i64 4}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8366rb.c_rtl8366rb_sw_get_port_led.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8366rb.c_rtl8366rb_sw_get_port_led.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTL8366RB_NUM_LEDGROUPS = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@RTL8366RB_LED_CTRL_REG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtl8366rb_sw_get_port_led], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rtl8366rb_sw_get_port_led(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 {
%4 = alloca i32, align 4
%5 = tail call ptr @sw_to_rtl8366_smi(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %2, align 4, !tbaa !10
%7 = load i32, ptr @RTL8366RB_NUM_LEDGROUPS, align 4, !tbaa !6
%8 = icmp slt i32 %6, %7
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %21
12: ; preds = %3
%13 = load i32, ptr @RTL8366RB_LED_CTRL_REG, align 4, !tbaa !6
%14 = call i32 @rtl8366_smi_read_reg(ptr noundef %5, i32 noundef %13, ptr noundef nonnull %4) #3
%15 = load i32, ptr %4, align 4, !tbaa !6
%16 = load i32, ptr %2, align 4, !tbaa !10
%17 = shl nsw i32 %16, 2
%18 = ashr i32 %15, %17
%19 = and i32 %18, 15
%20 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %19, ptr %20, align 4, !tbaa !13
br label %21
21: ; preds = %12, %9
%22 = phi i32 [ %11, %9 ], [ 0, %12 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sw_to_rtl8366_smi(ptr noundef) local_unnamed_addr #2
declare i32 @rtl8366_smi_read_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = !{!"switch_val", !7, i64 0, !12, i64 4}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!11, !7, i64 4}
| openwrt_target_linux_generic_files_drivers_net_phy_extr_rtl8366rb.c_rtl8366rb_sw_get_port_led |
; ModuleID = 'AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb_back.c_xenbusb_back_enumerate_type.c'
source_filename = "AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb_back.c_xenbusb_back_enumerate_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@XST_NIL = dso_local local_unnamed_addr global i32 0, align 4
@M_XENSTORE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xenbusb_back_enumerate_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xenbusb_back_enumerate_type(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = tail call ptr @device_get_softc(i32 noundef %0) #3
%8 = load i32, ptr @XST_NIL, align 4, !tbaa !5
%9 = load i32, ptr %7, align 4, !tbaa !9
%10 = call i32 @xs_directory(i32 noundef %8, i32 noundef %9, ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %3) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %54
12: ; preds = %2
%13 = load i64, ptr %4, align 8, !tbaa !11
%14 = icmp eq i64 %13, 0
br i1 %14, label %50, label %15
15: ; preds = %12, %43
%16 = phi i64 [ %47, %43 ], [ 0, %12 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%17 = load ptr, ptr %3, align 8, !tbaa !13
%18 = getelementptr inbounds ptr, ptr %17, i64 %16
%19 = load ptr, ptr %18, align 8, !tbaa !13
%20 = call ptr @xs_join(ptr noundef %1, ptr noundef %19) #3
%21 = load i32, ptr @XST_NIL, align 4, !tbaa !5
%22 = load i32, ptr %7, align 4, !tbaa !9
%23 = call ptr @sbuf_data(ptr noundef %20) #3
%24 = call i32 @xs_directory(i32 noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef nonnull %6, ptr noundef nonnull %5) #3
%25 = call i32 @sbuf_delete(ptr noundef %20) #3
%26 = icmp eq i32 %24, 0
br i1 %26, label %27, label %42
27: ; preds = %15
%28 = load i64, ptr %6, align 8, !tbaa !11
%29 = icmp eq i64 %28, 0
br i1 %29, label %43, label %30
30: ; preds = %27, %30
%31 = phi i64 [ %39, %30 ], [ 0, %27 ]
%32 = load ptr, ptr %5, align 8, !tbaa !13
%33 = getelementptr inbounds ptr, ptr %32, i64 %31
%34 = load ptr, ptr %33, align 8, !tbaa !13
%35 = call ptr @xs_join(ptr noundef %19, ptr noundef %34) #3
%36 = call ptr @sbuf_data(ptr noundef %35) #3
%37 = call i32 @xenbusb_add_device(i32 noundef %0, ptr noundef %1, ptr noundef %36) #3
%38 = call i32 @sbuf_delete(ptr noundef %35) #3
%39 = add nuw i64 %31, 1
%40 = load i64, ptr %6, align 8, !tbaa !11
%41 = icmp ult i64 %39, %40
br i1 %41, label %30, label %43, !llvm.loop !15
42: ; preds = %15
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %50
43: ; preds = %30, %27
%44 = load ptr, ptr %5, align 8, !tbaa !13
%45 = load i32, ptr @M_XENSTORE, align 4, !tbaa !5
%46 = call i32 @free(ptr noundef %44, i32 noundef %45) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
%47 = add nuw i64 %16, 1
%48 = load i64, ptr %4, align 8, !tbaa !11
%49 = icmp ult i64 %47, %48
br i1 %49, label %15, label %50, !llvm.loop !17
50: ; preds = %43, %12, %42
%51 = load ptr, ptr %3, align 8, !tbaa !13
%52 = load i32, ptr @M_XENSTORE, align 4, !tbaa !5
%53 = call i32 @free(ptr noundef %51, i32 noundef %52) #3
br label %54
54: ; preds = %2, %50
%55 = phi i32 [ 0, %50 ], [ %10, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @xs_directory(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @xs_join(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @sbuf_data(ptr noundef) local_unnamed_addr #2
declare i32 @sbuf_delete(ptr noundef) local_unnamed_addr #2
declare i32 @xenbusb_add_device(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
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"xenbusb_softc", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| ; ModuleID = 'AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb_back.c_xenbusb_back_enumerate_type.c'
source_filename = "AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb_back.c_xenbusb_back_enumerate_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XST_NIL = common local_unnamed_addr global i32 0, align 4
@M_XENSTORE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xenbusb_back_enumerate_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @xenbusb_back_enumerate_type(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = tail call ptr @device_get_softc(i32 noundef %0) #3
%8 = load i32, ptr @XST_NIL, align 4, !tbaa !6
%9 = load i32, ptr %7, align 4, !tbaa !10
%10 = call i32 @xs_directory(i32 noundef %8, i32 noundef %9, ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %3) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %54
12: ; preds = %2
%13 = load i64, ptr %4, align 8, !tbaa !12
%14 = icmp eq i64 %13, 0
br i1 %14, label %50, label %15
15: ; preds = %12, %43
%16 = phi i64 [ %47, %43 ], [ 0, %12 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%17 = load ptr, ptr %3, align 8, !tbaa !14
%18 = getelementptr inbounds ptr, ptr %17, i64 %16
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = call ptr @xs_join(ptr noundef %1, ptr noundef %19) #3
%21 = load i32, ptr @XST_NIL, align 4, !tbaa !6
%22 = load i32, ptr %7, align 4, !tbaa !10
%23 = call ptr @sbuf_data(ptr noundef %20) #3
%24 = call i32 @xs_directory(i32 noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef nonnull %6, ptr noundef nonnull %5) #3
%25 = call i32 @sbuf_delete(ptr noundef %20) #3
%26 = icmp eq i32 %24, 0
br i1 %26, label %27, label %42
27: ; preds = %15
%28 = load i64, ptr %6, align 8, !tbaa !12
%29 = icmp eq i64 %28, 0
br i1 %29, label %43, label %30
30: ; preds = %27, %30
%31 = phi i64 [ %39, %30 ], [ 0, %27 ]
%32 = load ptr, ptr %5, align 8, !tbaa !14
%33 = getelementptr inbounds ptr, ptr %32, i64 %31
%34 = load ptr, ptr %33, align 8, !tbaa !14
%35 = call ptr @xs_join(ptr noundef %19, ptr noundef %34) #3
%36 = call ptr @sbuf_data(ptr noundef %35) #3
%37 = call i32 @xenbusb_add_device(i32 noundef %0, ptr noundef %1, ptr noundef %36) #3
%38 = call i32 @sbuf_delete(ptr noundef %35) #3
%39 = add nuw i64 %31, 1
%40 = load i64, ptr %6, align 8, !tbaa !12
%41 = icmp ult i64 %39, %40
br i1 %41, label %30, label %43, !llvm.loop !16
42: ; preds = %15
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %50
43: ; preds = %30, %27
%44 = load ptr, ptr %5, align 8, !tbaa !14
%45 = load i32, ptr @M_XENSTORE, align 4, !tbaa !6
%46 = call i32 @free(ptr noundef %44, i32 noundef %45) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
%47 = add nuw i64 %16, 1
%48 = load i64, ptr %4, align 8, !tbaa !12
%49 = icmp ult i64 %47, %48
br i1 %49, label %15, label %50, !llvm.loop !18
50: ; preds = %43, %12, %42
%51 = load ptr, ptr %3, align 8, !tbaa !14
%52 = load i32, ptr @M_XENSTORE, align 4, !tbaa !6
%53 = call i32 @free(ptr noundef %51, i32 noundef %52) #3
br label %54
54: ; preds = %2, %50
%55 = phi i32 [ 0, %50 ], [ %10, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @xs_directory(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @xs_join(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @sbuf_data(ptr noundef) local_unnamed_addr #2
declare i32 @sbuf_delete(ptr noundef) local_unnamed_addr #2
declare i32 @xenbusb_add_device(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
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"xenbusb_softc", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| freebsd_sys_xen_xenbus_extr_xenbusb_back.c_xenbusb_back_enumerate_type |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_CL_VPORT_XOFFSET_0.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_CL_VPORT_XOFFSET_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A5XX_GRAS_CL_VPORT_XOFFSET_0__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A5XX_GRAS_CL_VPORT_XOFFSET_0__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_GRAS_CL_VPORT_XOFFSET_0], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @A5XX_GRAS_CL_VPORT_XOFFSET_0(float noundef %0) #0 {
%2 = tail call i32 @fui(float noundef %0) #2
%3 = load i32, ptr @A5XX_GRAS_CL_VPORT_XOFFSET_0__SHIFT, align 4, !tbaa !5
%4 = shl i32 %2, %3
%5 = load i32, ptr @A5XX_GRAS_CL_VPORT_XOFFSET_0__MASK, align 4, !tbaa !5
%6 = and i32 %4, %5
ret i32 %6
}
declare i32 @fui(float noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_CL_VPORT_XOFFSET_0.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_CL_VPORT_XOFFSET_0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A5XX_GRAS_CL_VPORT_XOFFSET_0__SHIFT = common local_unnamed_addr global i32 0, align 4
@A5XX_GRAS_CL_VPORT_XOFFSET_0__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A5XX_GRAS_CL_VPORT_XOFFSET_0], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @A5XX_GRAS_CL_VPORT_XOFFSET_0(float noundef %0) #0 {
%2 = tail call i32 @fui(float noundef %0) #2
%3 = load i32, ptr @A5XX_GRAS_CL_VPORT_XOFFSET_0__SHIFT, align 4, !tbaa !6
%4 = shl i32 %2, %3
%5 = load i32, ptr @A5XX_GRAS_CL_VPORT_XOFFSET_0__MASK, align 4, !tbaa !6
%6 = and i32 %4, %5
ret i32 %6
}
declare i32 @fui(float noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a5xx.xml.h_A5XX_GRAS_CL_VPORT_XOFFSET_0 |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pc87427.c_fan_alarm_show.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87427.c_fan_alarm_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@FAN_STATUS_LOSPD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fan_alarm_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fan_alarm_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @pc87427_update_device(ptr noundef %0) #2
%5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = load ptr, ptr %4, align 8, !tbaa !10
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = load i32, ptr @FAN_STATUS_LOSPD, align 4, !tbaa !13
%12 = and i32 %11, %10
%13 = icmp ne i32 %12, 0
%14 = zext i1 %13 to i32
%15 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %14) #2
ret i32 %15
}
declare ptr @pc87427_update_device(ptr noundef) local_unnamed_addr #1
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(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 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"pc87427_data", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pc87427.c_fan_alarm_show.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87427.c_fan_alarm_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@FAN_STATUS_LOSPD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fan_alarm_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fan_alarm_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @pc87427_update_device(ptr noundef %0) #2
%5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = load ptr, ptr %4, align 8, !tbaa !11
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = load i32, ptr @FAN_STATUS_LOSPD, align 4, !tbaa !14
%12 = and i32 %11, %10
%13 = icmp ne i32 %12, 0
%14 = zext i1 %13 to i32
%15 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %14) #2
ret i32 %15
}
declare ptr @pc87427_update_device(ptr noundef) local_unnamed_addr #1
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(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 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"pc87427_data", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
| linux_drivers_hwmon_extr_pc87427.c_fan_alarm_show |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_iova.c_iova_get_pad_size.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_iova.c_iova_get_pad_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @iova_get_pad_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iova_get_pad_size(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @ilog2(i32 noundef %0) #2
%4 = icmp eq i32 %3, 0
%5 = add i32 %1, 1
%6 = shl nsw i32 -1, %3
%7 = xor i32 %6, -1
%8 = and i32 %5, %7
%9 = select i1 %4, i32 0, i32 %8
ret i32 %9
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_iova.c_iova_get_pad_size.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_iova.c_iova_get_pad_size.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 @iova_get_pad_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iova_get_pad_size(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @ilog2(i32 noundef %0) #2
%4 = icmp eq i32 %3, 0
%5 = add i32 %1, 1
%6 = shl nsw i32 -1, %3
%7 = xor i32 %6, -1
%8 = and i32 %5, %7
%9 = select i1 %4, i32 0, i32 %8
ret i32 %9
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_pci_extr_iova.c_iova_get_pad_size |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_t_x509.c_X509_signature_print.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_t_x509.c_X509_signature_print.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c" Signature Algorithm: \00", align 1
@NID_undef = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @X509_signature_print(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = tail call i64 @BIO_puts(ptr noundef %0, ptr noundef nonnull @.str) #3
%7 = icmp slt i64 %6, 1
br i1 %7, label %38, label %8
8: ; preds = %3
%9 = load i32, ptr %1, align 4, !tbaa !5
%10 = tail call i64 @i2a_ASN1_OBJECT(ptr noundef %0, i32 noundef %9) #3
%11 = icmp slt i64 %10, 1
br i1 %11, label %38, label %12
12: ; preds = %8
%13 = load i32, ptr %1, align 4, !tbaa !5
%14 = tail call i32 @OBJ_obj2nid(i32 noundef %13) #3
%15 = load i32, ptr @NID_undef, align 4, !tbaa !10
%16 = icmp eq i32 %14, %15
br i1 %16, label %30, label %17
17: ; preds = %12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%18 = call i64 @OBJ_find_sigid_algs(i32 noundef %14, ptr noundef nonnull %5, ptr noundef nonnull %4) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %27, label %20
20: ; preds = %17
%21 = load i32, ptr %4, align 4, !tbaa !10
%22 = call ptr @EVP_PKEY_asn1_find(ptr noundef null, i32 noundef %21) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %20
%25 = load ptr, ptr %22, align 8, !tbaa !11
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %20, %24, %17
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %30
28: ; preds = %24
%29 = call i32 %25(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef 9, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %38
30: ; preds = %27, %12
%31 = icmp eq ptr %2, null
br i1 %31, label %34, label %32
32: ; preds = %30
%33 = call i32 @X509_signature_dump(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 9) #3
br label %38
34: ; preds = %30
%35 = call i64 @BIO_puts(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%36 = icmp sgt i64 %35, 0
%37 = zext i1 %36 to i32
br label %38
38: ; preds = %28, %34, %8, %3, %32
%39 = phi i32 [ %33, %32 ], [ %29, %28 ], [ 0, %3 ], [ 0, %8 ], [ %37, %34 ]
ret i32 %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @BIO_puts(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @i2a_ASN1_OBJECT(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OBJ_obj2nid(i32 noundef) local_unnamed_addr #2
declare i64 @OBJ_find_sigid_algs(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @EVP_PKEY_asn1_find(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 @X509_signature_dump(ptr noundef, 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_6__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_7__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_t_x509.c_X509_signature_print.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_t_x509.c_X509_signature_print.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" Signature Algorithm: \00", align 1
@NID_undef = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @X509_signature_print(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = tail call i64 @BIO_puts(ptr noundef %0, ptr noundef nonnull @.str) #3
%7 = icmp slt i64 %6, 1
br i1 %7, label %38, label %8
8: ; preds = %3
%9 = load i32, ptr %1, align 4, !tbaa !6
%10 = tail call i64 @i2a_ASN1_OBJECT(ptr noundef %0, i32 noundef %9) #3
%11 = icmp slt i64 %10, 1
br i1 %11, label %38, label %12
12: ; preds = %8
%13 = load i32, ptr %1, align 4, !tbaa !6
%14 = tail call i32 @OBJ_obj2nid(i32 noundef %13) #3
%15 = load i32, ptr @NID_undef, align 4, !tbaa !11
%16 = icmp eq i32 %14, %15
br i1 %16, label %30, label %17
17: ; preds = %12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%18 = call i64 @OBJ_find_sigid_algs(i32 noundef %14, ptr noundef nonnull %5, ptr noundef nonnull %4) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %27, label %20
20: ; preds = %17
%21 = load i32, ptr %4, align 4, !tbaa !11
%22 = call ptr @EVP_PKEY_asn1_find(ptr noundef null, i32 noundef %21) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %20
%25 = load ptr, ptr %22, align 8, !tbaa !12
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %20, %24, %17
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %30
28: ; preds = %24
%29 = call i32 %25(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef 9, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %38
30: ; preds = %27, %12
%31 = icmp eq ptr %2, null
br i1 %31, label %34, label %32
32: ; preds = %30
%33 = call i32 @X509_signature_dump(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 9) #3
br label %38
34: ; preds = %30
%35 = call i64 @BIO_puts(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%36 = icmp sgt i64 %35, 0
%37 = zext i1 %36 to i32
br label %38
38: ; preds = %28, %34, %8, %3, %32
%39 = phi i32 [ %33, %32 ], [ %29, %28 ], [ 0, %3 ], [ 0, %8 ], [ %37, %34 ]
ret i32 %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @BIO_puts(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @i2a_ASN1_OBJECT(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OBJ_obj2nid(i32 noundef) local_unnamed_addr #2
declare i64 @OBJ_find_sigid_algs(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @EVP_PKEY_asn1_find(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 @X509_signature_dump(ptr noundef, 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_6__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_7__", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
| freebsd_crypto_openssl_crypto_x509_extr_t_x509.c_X509_signature_print |
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_sections.c_GOMP_sections_next.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_sections.c_GOMP_sections_next.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @GOMP_sections_next() local_unnamed_addr #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = tail call ptr (...) @gomp_thread() #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @gomp_mutex_lock(ptr noundef %4) #3
%6 = call i64 @gomp_iter_dynamic_next_locked(ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%7 = icmp eq i64 %6, 0
%8 = load i64, ptr %1, align 8
%9 = trunc i64 %8 to i32
%10 = select i1 %7, i32 0, i32 %9
%11 = load ptr, ptr %3, align 8, !tbaa !5
%12 = call i32 @gomp_mutex_unlock(ptr noundef %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @gomp_thread(...) local_unnamed_addr #2
declare i32 @gomp_mutex_lock(ptr noundef) local_unnamed_addr #2
declare i64 @gomp_iter_dynamic_next_locked(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gomp_mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"gomp_thread", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_sections.c_GOMP_sections_next.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_sections.c_GOMP_sections_next.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 @GOMP_sections_next() local_unnamed_addr #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = tail call ptr @gomp_thread() #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @gomp_mutex_lock(ptr noundef %4) #3
%6 = call i64 @gomp_iter_dynamic_next_locked(ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%7 = icmp eq i64 %6, 0
%8 = load i64, ptr %1, align 8
%9 = trunc i64 %8 to i32
%10 = select i1 %7, i32 0, i32 %9
%11 = load ptr, ptr %3, align 8, !tbaa !6
%12 = call i32 @gomp_mutex_unlock(ptr noundef %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @gomp_thread(...) local_unnamed_addr #2
declare i32 @gomp_mutex_lock(ptr noundef) local_unnamed_addr #2
declare i64 @gomp_iter_dynamic_next_locked(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gomp_mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"gomp_thread", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcclibs_libgomp_extr_sections.c_GOMP_sections_next |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_sl_set_qos.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_sl_set_qos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TORUS_MAX_DIM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sl_set_qos], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @sl_set_qos(i32 noundef %0) #0 {
%2 = icmp ne i32 %0, 0
%3 = zext i1 %2 to i32
%4 = load i32, ptr @TORUS_MAX_DIM, align 4, !tbaa !5
%5 = shl nuw 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/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_sl_set_qos.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_sl_set_qos.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TORUS_MAX_DIM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sl_set_qos], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @sl_set_qos(i32 noundef %0) #0 {
%2 = icmp ne i32 %0, 0
%3 = zext i1 %2 to i32
%4 = load i32, ptr @TORUS_MAX_DIM, align 4, !tbaa !6
%5 = shl nuw 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"}
| freebsd_contrib_ofed_opensm_opensm_extr_osm_torus.c_sl_set_qos |
; ModuleID = 'AnghaBench/vlc/lib/extr_media_list.c_libvlc_media_list_unlock.c'
source_filename = "AnghaBench/vlc/lib/extr_media_list.c_libvlc_media_list_unlock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @libvlc_media_list_unlock(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @vlc_mutex_unlock(ptr noundef %0) #2
ret void
}
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/vlc/lib/extr_media_list.c_libvlc_media_list_unlock.c'
source_filename = "AnghaBench/vlc/lib/extr_media_list.c_libvlc_media_list_unlock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @libvlc_media_list_unlock(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @vlc_mutex_unlock(ptr noundef %0) #2
ret void
}
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| vlc_lib_extr_media_list.c_libvlc_media_list_unlock |
; ModuleID = 'AnghaBench/reactos/dll/win32/windowscodecs/extr_jpegformat.c_JpegDecoder_CreateInstance.c'
source_filename = "AnghaBench/reactos/dll/win32/windowscodecs/extr_jpegformat.c_JpegDecoder_CreateInstance.c"
target datalayout = "e-m:e-p270:32:32-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 [67 x i8] c"Trying to load JPEG picture, but JPEG support is not compiled in.\0A\00", align 1
@E_FAIL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @JpegDecoder_CreateInstance(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @ERR(ptr noundef nonnull @.str) #2
%4 = load i32, ptr @E_FAIL, align 4, !tbaa !5
ret i32 %4
}
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/windowscodecs/extr_jpegformat.c_JpegDecoder_CreateInstance.c'
source_filename = "AnghaBench/reactos/dll/win32/windowscodecs/extr_jpegformat.c_JpegDecoder_CreateInstance.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 [67 x i8] c"Trying to load JPEG picture, but JPEG support is not compiled in.\0A\00", align 1
@E_FAIL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @JpegDecoder_CreateInstance(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @ERR(ptr noundef nonnull @.str) #2
%4 = load i32, ptr @E_FAIL, align 4, !tbaa !6
ret i32 %4
}
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_dll_win32_windowscodecs_extr_jpegformat.c_JpegDecoder_CreateInstance |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_alloc_eq_tr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_alloc_eq_tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.res_common = type { i32, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@RES_EQ_RESERVED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_eq_tr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @alloc_eq_tr(i32 noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
store i32 %0, ptr %3, align 4, !tbaa !9
%6 = load i32, ptr @RES_EQ_RESERVED, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.res_common, ptr %3, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !12
br label %8
8: ; preds = %1, %5
ret ptr %3
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"res_eq", !11, i64 0}
!11 = !{!"res_common", !6, i64 0, !6, i64 4}
!12 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_alloc_eq_tr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_alloc_eq_tr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@RES_EQ_RESERVED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alloc_eq_tr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @alloc_eq_tr(i32 noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
store i32 %0, ptr %3, align 4, !tbaa !10
%6 = load i32, ptr @RES_EQ_RESERVED, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %6, ptr %7, align 4, !tbaa !13
br label %8
8: ; preds = %1, %5
ret ptr %3
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"res_eq", !12, i64 0}
!12 = !{!"res_common", !7, i64 0, !7, i64 4}
!13 = !{!11, !7, i64 4}
| linux_drivers_net_ethernet_mellanox_mlx4_extr_resource_tracker.c_alloc_eq_tr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/extr_r8192E_dm.c_dm_InitializeTXPowerTracking_ThermalMeter.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/extr_r8192E_dm.c_dm_InitializeTXPowerTracking_ThermalMeter.c"
target datalayout = "e-m:e-p270:32:32-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.r8192_priv = type { ptr, i64, ptr, ptr }
@TRUE = dso_local local_unnamed_addr global ptr null, align 8
@FALSE = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dm_InitializeTXPowerTracking_ThermalMeter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dm_InitializeTXPowerTracking_ThermalMeter(ptr noundef %0) #0 {
%2 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.r8192_priv, ptr %2, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = icmp eq i64 %5, 0
%7 = load ptr, ptr @FALSE, align 8
%8 = load ptr, ptr @TRUE, align 8
%9 = select i1 %6, ptr %7, ptr %8
%10 = getelementptr inbounds %struct.r8192_priv, ptr %2, i64 0, i32 2
store ptr %9, ptr %10, align 8
%11 = getelementptr inbounds %struct.r8192_priv, ptr %2, i64 0, i32 1
store i64 0, ptr %11, align 8, !tbaa !13
store ptr %7, ptr %2, align 8, !tbaa !14
ret void
}
declare ptr @ieee80211_priv(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 24}
!6 = !{!"r8192_priv", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/extr_r8192E_dm.c_dm_InitializeTXPowerTracking_ThermalMeter.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/extr_r8192E_dm.c_dm_InitializeTXPowerTracking_ThermalMeter.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 ptr null, align 8
@FALSE = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @dm_InitializeTXPowerTracking_ThermalMeter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dm_InitializeTXPowerTracking_ThermalMeter(ptr noundef %0) #0 {
%2 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = icmp eq i64 %5, 0
%7 = load ptr, ptr @FALSE, align 8
%8 = load ptr, ptr @TRUE, align 8
%9 = select i1 %6, ptr %7, ptr %8
%10 = getelementptr inbounds i8, ptr %2, i64 16
store ptr %9, ptr %10, align 8
%11 = getelementptr inbounds i8, ptr %2, i64 8
store i64 0, ptr %11, align 8, !tbaa !14
store ptr %7, ptr %2, align 8, !tbaa !15
ret void
}
declare ptr @ieee80211_priv(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 24}
!7 = !{!"r8192_priv", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_staging_rtl8192e_extr_r8192E_dm.c_dm_InitializeTXPowerTracking_ThermalMeter |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-pxa/extr_zylonite.c_zylonite_init_lcd.c'
source_filename = "AnghaBench/linux/arch/arm/mach-pxa/extr_zylonite.c_zylonite_init_lcd.c"
target datalayout = "e-m:e-p270:32:32-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 @zylonite_init_lcd], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @zylonite_init_lcd() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mach-pxa/extr_zylonite.c_zylonite_init_lcd.c'
source_filename = "AnghaBench/linux/arch/arm/mach-pxa/extr_zylonite.c_zylonite_init_lcd.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 @zylonite_init_lcd], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @zylonite_init_lcd() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_arm_mach-pxa_extr_zylonite.c_zylonite_init_lcd |
; ModuleID = 'AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_norx_test.c'
source_filename = "AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_norx_test.c"
target datalayout = "e-m:e-p270:32:32-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 @norx_test], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @norx_test() #0 {
%1 = alloca [16 x i32], align 16
%2 = alloca [16 x i32], align 16
%3 = alloca [16 x i32], align 16
%4 = alloca [8 x i32], align 16
%5 = alloca [16 x i32], align 16
%6 = alloca [16 x i32], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %1, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %2, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %3, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, i8 0, i64 32, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %5, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %6, i8 0, i64 64, i1 false)
%7 = call i32 @cf_norx32_encrypt(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef 64, ptr noundef nonnull %2, i32 noundef 64, ptr noundef null, i32 noundef 0, ptr noundef nonnull %5, ptr noundef nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @cf_norx32_encrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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)"}
| ; ModuleID = 'AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_norx_test.c'
source_filename = "AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_norx_test.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 @norx_test], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @norx_test() #0 {
%1 = alloca [16 x i32], align 4
%2 = alloca [16 x i32], align 4
%3 = alloca [16 x i32], align 4
%4 = alloca [8 x i32], align 4
%5 = alloca [16 x i32], align 4
%6 = alloca [16 x i32], align 4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %1, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %2, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %4, i8 0, i64 32, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %5, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %6, i8 0, i64 64, i1 false)
%7 = call i32 @cf_norx32_encrypt(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef 64, ptr noundef nonnull %2, i32 noundef 64, ptr noundef null, i32 noundef 0, ptr noundef nonnull %5, ptr noundef nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @cf_norx32_encrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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)"}
| h2o_deps_picotls_deps_cifra_src_arm_extr_main.c_norx_test |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212IsSleepAfterBeaconBroken.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212IsSleepAfterBeaconBroken.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AH_TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @ar5212IsSleepAfterBeaconBroken(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AH_TRUE, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212IsSleepAfterBeaconBroken.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212IsSleepAfterBeaconBroken.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AH_TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @ar5212IsSleepAfterBeaconBroken(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AH_TRUE, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_ath_ath_hal_ar5212_extr_ar5212_misc.c_ar5212IsSleepAfterBeaconBroken |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_cirrusfb.c_WGen.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_cirrusfb.c_WGen.c"
target datalayout = "e-m:e-p270:32:32-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.cirrusfb_info = type { i64, i32 }
@BT_PICASSO = dso_local local_unnamed_addr global i64 0, align 8
@VGA_PEL_IR = dso_local local_unnamed_addr global i32 0, align 4
@VGA_PEL_D = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @WGen], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @WGen(ptr nocapture noundef readonly %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @BT_PICASSO, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = load i32, ptr @VGA_PEL_IR, align 4, !tbaa !12
%9 = icmp eq i32 %8, %1
%10 = load i32, ptr @VGA_PEL_D, align 4
%11 = icmp eq i32 %10, %1
%12 = select i1 %9, i1 true, i1 %11
%13 = select i1 %12, i64 4095, i64 0
br label %14
14: ; preds = %7, %3
%15 = phi i64 [ 0, %3 ], [ %13, %7 ]
%16 = getelementptr inbounds %struct.cirrusfb_info, ptr %0, i64 0, i32 1
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = sext i32 %1 to i64
%19 = add nsw i64 %15, %18
%20 = tail call i32 @vga_w(i32 noundef %17, i64 noundef %19, i8 noundef zeroext %2) #2
ret void
}
declare i32 @vga_w(i32 noundef, i64 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"cirrusfb_info", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_cirrusfb.c_WGen.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_cirrusfb.c_WGen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BT_PICASSO = common local_unnamed_addr global i64 0, align 8
@VGA_PEL_IR = common local_unnamed_addr global i32 0, align 4
@VGA_PEL_D = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @WGen], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @WGen(ptr nocapture noundef readonly %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @BT_PICASSO, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = load i32, ptr @VGA_PEL_IR, align 4, !tbaa !13
%9 = icmp eq i32 %8, %1
%10 = load i32, ptr @VGA_PEL_D, align 4
%11 = icmp eq i32 %10, %1
%12 = select i1 %9, i1 true, i1 %11
%13 = select i1 %12, i64 4095, i64 0
br label %14
14: ; preds = %7, %3
%15 = phi i64 [ 0, %3 ], [ %13, %7 ]
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = sext i32 %1 to i64
%19 = add nsw i64 %15, %18
%20 = tail call i32 @vga_w(i32 noundef %17, i64 noundef %19, i8 noundef zeroext %2) #2
ret void
}
declare i32 @vga_w(i32 noundef, i64 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"cirrusfb_info", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 8}
| fastsocket_kernel_drivers_video_extr_cirrusfb.c_WGen |
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_ssh-keygen.c_do_convert_to_ssh2.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_ssh-keygen.c_do_convert_to_ssh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"key_to_blob failed: %s\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"%u-bit %s, converted by %s@%s from OpenSSH\00", align 1
@hostname = dso_local local_unnamed_addr global ptr null, align 8
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@SSH_COM_PUBLIC_BEGIN = dso_local local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [15 x i8] c"Comment: \22%s\22\0A\00", align 1
@SSH_COM_PUBLIC_END = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_convert_to_ssh2], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @do_convert_to_ssh2(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca [61 x i8], align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 61, ptr nonnull %5) #4
%6 = call i32 @sshkey_to_blob(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %3) #4
%7 = icmp eq i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = call i32 @ssh_err(i32 noundef %6) #4
%10 = call i32 @fatal(ptr noundef nonnull @.str, i32 noundef %9) #4
br label %11
11: ; preds = %8, %2
%12 = call i32 @sshkey_size(ptr noundef %1) #4
%13 = call ptr @sshkey_type(ptr noundef %1) #4
%14 = load ptr, ptr %0, align 8, !tbaa !5
%15 = load ptr, ptr @hostname, align 8, !tbaa !10
%16 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 61, ptr noundef nonnull @.str.1, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #4
%17 = load i32, ptr @stdout, align 4, !tbaa !11
%18 = load ptr, ptr @SSH_COM_PUBLIC_BEGIN, align 8, !tbaa !10
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef nonnull @.str.2, ptr noundef %18) #4
%20 = load i32, ptr @stdout, align 4, !tbaa !11
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %5) #4
%22 = load i32, ptr @stdout, align 4, !tbaa !11
%23 = load ptr, ptr %4, align 8, !tbaa !10
%24 = load i64, ptr %3, align 8, !tbaa !13
%25 = call i32 @dump_base64(i32 noundef %22, ptr noundef %23, i64 noundef %24) #4
%26 = load i32, ptr @stdout, align 4, !tbaa !11
%27 = load ptr, ptr @SSH_COM_PUBLIC_END, align 8, !tbaa !10
%28 = call i32 @fprintf(i32 noundef %26, ptr noundef nonnull @.str.2, ptr noundef %27) #4
%29 = call i32 @sshkey_free(ptr noundef %1) #4
%30 = load ptr, ptr %4, align 8, !tbaa !10
%31 = call i32 @free(ptr noundef %30) #4
%32 = call i32 @exit(i32 noundef 0) #5
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sshkey_to_blob(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fatal(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ssh_err(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sshkey_size(ptr noundef) local_unnamed_addr #2
declare ptr @sshkey_type(ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dump_base64(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @sshkey_free(ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"passwd", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_ssh-keygen.c_do_convert_to_ssh2.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_ssh-keygen.c_do_convert_to_ssh2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [23 x i8] c"key_to_blob failed: %s\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"%u-bit %s, converted by %s@%s from OpenSSH\00", align 1
@hostname = common local_unnamed_addr global ptr null, align 8
@stdout = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@SSH_COM_PUBLIC_BEGIN = common local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [15 x i8] c"Comment: \22%s\22\0A\00", align 1
@SSH_COM_PUBLIC_END = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @do_convert_to_ssh2], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @do_convert_to_ssh2(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca [61 x i8], align 1
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 61, ptr nonnull %5) #4
%6 = call i32 @sshkey_to_blob(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %3) #4
%7 = icmp eq i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = call i32 @ssh_err(i32 noundef %6) #4
%10 = call i32 @fatal(ptr noundef nonnull @.str, i32 noundef %9) #4
br label %11
11: ; preds = %8, %2
%12 = call i32 @sshkey_size(ptr noundef %1) #4
%13 = call ptr @sshkey_type(ptr noundef %1) #4
%14 = load ptr, ptr %0, align 8, !tbaa !6
%15 = load ptr, ptr @hostname, align 8, !tbaa !11
%16 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 61, ptr noundef nonnull @.str.1, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #4
%17 = load i32, ptr @stdout, align 4, !tbaa !12
%18 = load ptr, ptr @SSH_COM_PUBLIC_BEGIN, align 8, !tbaa !11
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef nonnull @.str.2, ptr noundef %18) #4
%20 = load i32, ptr @stdout, align 4, !tbaa !12
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %5) #4
%22 = load i32, ptr @stdout, align 4, !tbaa !12
%23 = load ptr, ptr %4, align 8, !tbaa !11
%24 = load i64, ptr %3, align 8, !tbaa !14
%25 = call i32 @dump_base64(i32 noundef %22, ptr noundef %23, i64 noundef %24) #4
%26 = load i32, ptr @stdout, align 4, !tbaa !12
%27 = load ptr, ptr @SSH_COM_PUBLIC_END, align 8, !tbaa !11
%28 = call i32 @fprintf(i32 noundef %26, ptr noundef nonnull @.str.2, ptr noundef %27) #4
%29 = call i32 @sshkey_free(ptr noundef %1) #4
%30 = load ptr, ptr %4, align 8, !tbaa !11
%31 = call i32 @free(ptr noundef %30) #4
%32 = call i32 @exit(i32 noundef 0) #5
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sshkey_to_blob(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fatal(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ssh_err(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sshkey_size(ptr noundef) local_unnamed_addr #2
declare ptr @sshkey_type(ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dump_base64(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @sshkey_free(ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"passwd", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
| freebsd_crypto_openssh_extr_ssh-keygen.c_do_convert_to_ssh2 |
; ModuleID = 'AnghaBench/git/extr_graph.c_parse_graph_colors_config.c'
source_filename = "AnghaBench/git/extr_graph.c_parse_graph_colors_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@COLOR_MAXLEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"ignore invalid color '%.*s' in log.graphColors\00", align 1
@GIT_COLOR_RESET = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_graph_colors_config], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @parse_graph_colors_config(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @strlen(ptr noundef %1) #3
%4 = sext i32 %3 to i64
%5 = getelementptr inbounds i8, ptr %1, i64 %4
%6 = icmp sgt i32 %3, 0
br i1 %6, label %7, label %28
7: ; preds = %2, %25
%8 = phi ptr [ %26, %25 ], [ %1, %2 ]
%9 = call ptr @strchrnul(ptr noundef %8, i8 noundef signext 44) #3
%10 = load i32, ptr @COLOR_MAXLEN, align 4, !tbaa !5
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave.p0()
%13 = alloca i8, i64 %11, align 16
%14 = ptrtoint ptr %9 to i64
%15 = ptrtoint ptr %8 to i64
%16 = sub i64 %14, %15
%17 = trunc i64 %16 to i32
%18 = call i32 @color_parse_mem(ptr noundef %8, i32 noundef %17, ptr noundef nonnull %13) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %7
%21 = call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull %13) #3
br label %25
22: ; preds = %7
%23 = call i32 @_(ptr noundef nonnull @.str) #3
%24 = call i32 @warning(i32 noundef %23, i32 noundef %17, ptr noundef %8) #3
br label %25
25: ; preds = %22, %20
%26 = getelementptr inbounds i8, ptr %9, i64 1
call void @llvm.stackrestore.p0(ptr %12)
%27 = icmp ult ptr %26, %5
br i1 %27, label %7, label %28, !llvm.loop !9
28: ; preds = %25, %2
%29 = load ptr, ptr @GIT_COLOR_RESET, align 8, !tbaa !11
%30 = call i32 @argv_array_push(ptr noundef %0, ptr noundef %29) #3
ret void
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @strchrnul(ptr noundef, i8 noundef signext) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @color_parse_mem(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warning(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
; 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 = { "no-trapping-math"="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 }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/git/extr_graph.c_parse_graph_colors_config.c'
source_filename = "AnghaBench/git/extr_graph.c_parse_graph_colors_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@COLOR_MAXLEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"ignore invalid color '%.*s' in log.graphColors\00", align 1
@GIT_COLOR_RESET = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @parse_graph_colors_config], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @parse_graph_colors_config(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @strlen(ptr noundef %1) #3
%4 = sext i32 %3 to i64
%5 = getelementptr inbounds i8, ptr %1, i64 %4
%6 = icmp sgt i32 %3, 0
br i1 %6, label %7, label %28
7: ; preds = %2, %25
%8 = phi ptr [ %26, %25 ], [ %1, %2 ]
%9 = call ptr @strchrnul(ptr noundef %8, i8 noundef signext 44) #3
%10 = load i32, ptr @COLOR_MAXLEN, align 4, !tbaa !6
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave.p0()
%13 = alloca i8, i64 %11, align 1
%14 = ptrtoint ptr %9 to i64
%15 = ptrtoint ptr %8 to i64
%16 = sub i64 %14, %15
%17 = trunc i64 %16 to i32
%18 = call i32 @color_parse_mem(ptr noundef %8, i32 noundef %17, ptr noundef nonnull %13) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %7
%21 = call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull %13) #3
br label %25
22: ; preds = %7
%23 = call i32 @_(ptr noundef nonnull @.str) #3
%24 = call i32 @warning(i32 noundef %23, i32 noundef %17, ptr noundef %8) #3
br label %25
25: ; preds = %22, %20
%26 = getelementptr inbounds i8, ptr %9, i64 1
call void @llvm.stackrestore.p0(ptr %12)
%27 = icmp ult ptr %26, %5
br i1 %27, label %7, label %28, !llvm.loop !10
28: ; preds = %25, %2
%29 = load ptr, ptr @GIT_COLOR_RESET, align 8, !tbaa !12
%30 = call i32 @argv_array_push(ptr noundef %0, ptr noundef %29) #3
ret void
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @strchrnul(ptr noundef, i8 noundef signext) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @color_parse_mem(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warning(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
; 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| git_extr_graph.c_parse_graph_colors_config |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_kmemleak.c_create_object.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_kmemleak.c_create_object.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.kmemleak_object = type { i32, i64, i64, i32, i32, i32, i32, %struct.prio_tree_node, i32, i32, i32, i64, i32, i32, i32, i32 }
%struct.prio_tree_node = type { i64, i64 }
%struct.TYPE_2__ = type { ptr, i64 }
@object_cache = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KMEMLEAK_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Cannot allocate a kmemleak_object structure\0A\00", align 1
@OBJECT_ALLOCATED = dso_local local_unnamed_addr global i32 0, align 4
@OBJECT_NEW = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"hardirq\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"softirq\00", align 1
@current = dso_local local_unnamed_addr global ptr null, align 8
@kmemleak_lock = dso_local global i32 0, align 4
@min_addr = dso_local local_unnamed_addr global i32 0, align 4
@max_addr = dso_local local_unnamed_addr global i32 0, align 4
@object_tree_root = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [68 x i8] c"Cannot insert 0x%lx into the object search tree (already existing)\0A\00", align 1
@object_list = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_object], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @create_object(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @object_cache, align 4, !tbaa !5
%6 = load i32, ptr @GFP_KMEMLEAK_MASK, align 4, !tbaa !5
%7 = and i32 %6, %3
%8 = tail call ptr @kmem_cache_alloc(i32 noundef %5, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %4
%11 = tail call i32 (ptr, ...) @kmemleak_stop(ptr noundef nonnull @.str) #2
br label %85
12: ; preds = %4
%13 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 5
%14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2
%15 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 15
%16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2
%17 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 14
%18 = tail call i32 @INIT_HLIST_HEAD(ptr noundef nonnull %17) #2
%19 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 6
%20 = tail call i32 @spin_lock_init(ptr noundef nonnull %19) #2
%21 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 13
%22 = tail call i32 @atomic_set(ptr noundef nonnull %21, i32 noundef 1) #2
%23 = load i32, ptr @OBJECT_ALLOCATED, align 4, !tbaa !5
%24 = load i32, ptr @OBJECT_NEW, align 4, !tbaa !5
%25 = or i32 %24, %23
store i32 %25, ptr %8, align 8, !tbaa !9
%26 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 1
store i64 %0, ptr %26, align 8, !tbaa !13
%27 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 2
store i64 %1, ptr %27, align 8, !tbaa !14
%28 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 3
store i32 %2, ptr %28, align 8, !tbaa !15
%29 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 4
store i32 -1, ptr %29, align 4, !tbaa !16
%30 = load i32, ptr @jiffies, align 4, !tbaa !5
%31 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 12
store i32 %30, ptr %31, align 8, !tbaa !17
%32 = tail call i64 (...) @in_irq() #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %39, label %34
34: ; preds = %12
%35 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 11
store i64 0, ptr %35, align 8, !tbaa !18
%36 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 10
%37 = load i32, ptr %36, align 8, !tbaa !19
%38 = tail call i32 @strncpy(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef 4) #2
br label %56
39: ; preds = %12
%40 = tail call i64 (...) @in_softirq() #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %47, label %42
42: ; preds = %39
%43 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 11
store i64 0, ptr %43, align 8, !tbaa !18
%44 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 10
%45 = load i32, ptr %44, align 8, !tbaa !19
%46 = tail call i32 @strncpy(i32 noundef %45, ptr noundef nonnull @.str.2, i32 noundef 4) #2
br label %56
47: ; preds = %39
%48 = load ptr, ptr @current, align 8, !tbaa !20
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %48, i64 0, i32 1
%50 = load i64, ptr %49, align 8, !tbaa !22
%51 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 11
store i64 %50, ptr %51, align 8, !tbaa !18
%52 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 10
%53 = load i32, ptr %52, align 8, !tbaa !19
%54 = load ptr, ptr %48, align 8, !tbaa !24
%55 = tail call i32 @strncpy(i32 noundef %53, ptr noundef %54, i32 noundef 4) #2
br label %56
56: ; preds = %42, %47, %34
%57 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 8
%58 = load i32, ptr %57, align 8, !tbaa !25
%59 = tail call i32 @__save_stack_trace(i32 noundef %58) #2
%60 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 9
store i32 %59, ptr %60, align 4, !tbaa !26
%61 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 7
%62 = tail call i32 @INIT_PRIO_TREE_NODE(ptr noundef nonnull %61) #2
store i64 %0, ptr %61, align 8, !tbaa !27
%63 = add i64 %1, %0
%64 = add i64 %63, -1
%65 = getelementptr inbounds %struct.kmemleak_object, ptr %8, i64 0, i32 7, i32 1
store i64 %64, ptr %65, align 8, !tbaa !28
%66 = tail call i32 @write_lock_irqsave(ptr noundef nonnull @kmemleak_lock, i64 noundef undef) #2
%67 = load i32, ptr @min_addr, align 4, !tbaa !5
%68 = tail call i32 @min(i32 noundef %67, i64 noundef %0) #2
store i32 %68, ptr @min_addr, align 4, !tbaa !5
%69 = load i32, ptr @max_addr, align 4, !tbaa !5
%70 = tail call i32 @max(i32 noundef %69, i64 noundef %63) #2
store i32 %70, ptr @max_addr, align 4, !tbaa !5
%71 = tail call ptr @prio_tree_insert(ptr noundef nonnull @object_tree_root, ptr noundef nonnull %61) #2
%72 = icmp eq ptr %71, %61
br i1 %72, label %80, label %73
73: ; preds = %56
%74 = tail call i32 (ptr, ...) @kmemleak_stop(ptr noundef nonnull @.str.3, i64 noundef %0) #2
%75 = tail call ptr @lookup_object(i64 noundef %0, i32 noundef 1) #2
%76 = getelementptr inbounds %struct.kmemleak_object, ptr %75, i64 0, i32 6
%77 = tail call i32 @spin_lock(ptr noundef nonnull %76) #2
%78 = tail call i32 @dump_object_info(ptr noundef %75) #2
%79 = tail call i32 @spin_unlock(ptr noundef nonnull %76) #2
br label %82
80: ; preds = %56
%81 = tail call i32 @list_add_tail_rcu(ptr noundef nonnull %13, ptr noundef nonnull @object_list) #2
br label %82
82: ; preds = %80, %73
%83 = phi ptr [ %75, %73 ], [ %8, %80 ]
%84 = tail call i32 @write_unlock_irqrestore(ptr noundef nonnull @kmemleak_lock, i64 noundef undef) #2
br label %85
85: ; preds = %82, %10
%86 = phi ptr [ %83, %82 ], [ null, %10 ]
ret ptr %86
}
declare ptr @kmem_cache_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kmemleak_stop(ptr noundef, ...) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_HLIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @in_irq(...) local_unnamed_addr #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @in_softirq(...) local_unnamed_addr #1
declare i32 @__save_stack_trace(i32 noundef) local_unnamed_addr #1
declare i32 @INIT_PRIO_TREE_NODE(ptr noundef) local_unnamed_addr #1
declare i32 @write_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @max(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @prio_tree_insert(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lookup_object(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @dump_object_info(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock_irqrestore(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, !6, i64 0}
!10 = !{!"kmemleak_object", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !12, i64 40, !6, i64 56, !6, i64 60, !6, i64 64, !11, i64 72, !6, i64 80, !6, i64 84, !6, i64 88, !6, i64 92}
!11 = !{!"long", !7, i64 0}
!12 = !{!"prio_tree_node", !11, i64 0, !11, i64 8}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 16}
!15 = !{!10, !6, i64 24}
!16 = !{!10, !6, i64 28}
!17 = !{!10, !6, i64 80}
!18 = !{!10, !11, i64 72}
!19 = !{!10, !6, i64 64}
!20 = !{!21, !21, i64 0}
!21 = !{!"any pointer", !7, i64 0}
!22 = !{!23, !11, i64 8}
!23 = !{!"TYPE_2__", !21, i64 0, !11, i64 8}
!24 = !{!23, !21, i64 0}
!25 = !{!10, !6, i64 56}
!26 = !{!10, !6, i64 60}
!27 = !{!10, !11, i64 40}
!28 = !{!10, !11, i64 48}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_kmemleak.c_create_object.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_kmemleak.c_create_object.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@object_cache = common local_unnamed_addr global i32 0, align 4
@GFP_KMEMLEAK_MASK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Cannot allocate a kmemleak_object structure\0A\00", align 1
@OBJECT_ALLOCATED = common local_unnamed_addr global i32 0, align 4
@OBJECT_NEW = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"hardirq\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"softirq\00", align 1
@current = common local_unnamed_addr global ptr null, align 8
@kmemleak_lock = common global i32 0, align 4
@min_addr = common local_unnamed_addr global i32 0, align 4
@max_addr = common local_unnamed_addr global i32 0, align 4
@object_tree_root = common global i32 0, align 4
@.str.3 = private unnamed_addr constant [68 x i8] c"Cannot insert 0x%lx into the object search tree (already existing)\0A\00", align 1
@object_list = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @create_object], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @create_object(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @object_cache, align 4, !tbaa !6
%6 = load i32, ptr @GFP_KMEMLEAK_MASK, align 4, !tbaa !6
%7 = and i32 %6, %3
%8 = tail call ptr @kmem_cache_alloc(i32 noundef %5, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %4
%11 = tail call i32 (ptr, ...) @kmemleak_stop(ptr noundef nonnull @.str) #2
br label %85
12: ; preds = %4
%13 = getelementptr inbounds i8, ptr %8, i64 32
%14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2
%15 = getelementptr inbounds i8, ptr %8, i64 92
%16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2
%17 = getelementptr inbounds i8, ptr %8, i64 88
%18 = tail call i32 @INIT_HLIST_HEAD(ptr noundef nonnull %17) #2
%19 = getelementptr inbounds i8, ptr %8, i64 36
%20 = tail call i32 @spin_lock_init(ptr noundef nonnull %19) #2
%21 = getelementptr inbounds i8, ptr %8, i64 84
%22 = tail call i32 @atomic_set(ptr noundef nonnull %21, i32 noundef 1) #2
%23 = load i32, ptr @OBJECT_ALLOCATED, align 4, !tbaa !6
%24 = load i32, ptr @OBJECT_NEW, align 4, !tbaa !6
%25 = or i32 %24, %23
store i32 %25, ptr %8, align 8, !tbaa !10
%26 = getelementptr inbounds i8, ptr %8, i64 8
store i64 %0, ptr %26, align 8, !tbaa !14
%27 = getelementptr inbounds i8, ptr %8, i64 16
store i64 %1, ptr %27, align 8, !tbaa !15
%28 = getelementptr inbounds i8, ptr %8, i64 24
store i32 %2, ptr %28, align 8, !tbaa !16
%29 = getelementptr inbounds i8, ptr %8, i64 28
store i32 -1, ptr %29, align 4, !tbaa !17
%30 = load i32, ptr @jiffies, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %8, i64 80
store i32 %30, ptr %31, align 8, !tbaa !18
%32 = tail call i64 @in_irq() #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %39, label %34
34: ; preds = %12
%35 = getelementptr inbounds i8, ptr %8, i64 72
store i64 0, ptr %35, align 8, !tbaa !19
%36 = getelementptr inbounds i8, ptr %8, i64 64
%37 = load i32, ptr %36, align 8, !tbaa !20
%38 = tail call i32 @strncpy(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef 4) #2
br label %56
39: ; preds = %12
%40 = tail call i64 @in_softirq() #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %47, label %42
42: ; preds = %39
%43 = getelementptr inbounds i8, ptr %8, i64 72
store i64 0, ptr %43, align 8, !tbaa !19
%44 = getelementptr inbounds i8, ptr %8, i64 64
%45 = load i32, ptr %44, align 8, !tbaa !20
%46 = tail call i32 @strncpy(i32 noundef %45, ptr noundef nonnull @.str.2, i32 noundef 4) #2
br label %56
47: ; preds = %39
%48 = load ptr, ptr @current, align 8, !tbaa !21
%49 = getelementptr inbounds i8, ptr %48, i64 8
%50 = load i64, ptr %49, align 8, !tbaa !23
%51 = getelementptr inbounds i8, ptr %8, i64 72
store i64 %50, ptr %51, align 8, !tbaa !19
%52 = getelementptr inbounds i8, ptr %8, i64 64
%53 = load i32, ptr %52, align 8, !tbaa !20
%54 = load ptr, ptr %48, align 8, !tbaa !25
%55 = tail call i32 @strncpy(i32 noundef %53, ptr noundef %54, i32 noundef 4) #2
br label %56
56: ; preds = %42, %47, %34
%57 = getelementptr inbounds i8, ptr %8, i64 56
%58 = load i32, ptr %57, align 8, !tbaa !26
%59 = tail call i32 @__save_stack_trace(i32 noundef %58) #2
%60 = getelementptr inbounds i8, ptr %8, i64 60
store i32 %59, ptr %60, align 4, !tbaa !27
%61 = getelementptr inbounds i8, ptr %8, i64 40
%62 = tail call i32 @INIT_PRIO_TREE_NODE(ptr noundef nonnull %61) #2
store i64 %0, ptr %61, align 8, !tbaa !28
%63 = add i64 %1, %0
%64 = add i64 %63, -1
%65 = getelementptr inbounds i8, ptr %8, i64 48
store i64 %64, ptr %65, align 8, !tbaa !29
%66 = tail call i32 @write_lock_irqsave(ptr noundef nonnull @kmemleak_lock, i64 noundef undef) #2
%67 = load i32, ptr @min_addr, align 4, !tbaa !6
%68 = tail call i32 @min(i32 noundef %67, i64 noundef %0) #2
store i32 %68, ptr @min_addr, align 4, !tbaa !6
%69 = load i32, ptr @max_addr, align 4, !tbaa !6
%70 = tail call i32 @max(i32 noundef %69, i64 noundef %63) #2
store i32 %70, ptr @max_addr, align 4, !tbaa !6
%71 = tail call ptr @prio_tree_insert(ptr noundef nonnull @object_tree_root, ptr noundef nonnull %61) #2
%72 = icmp eq ptr %71, %61
br i1 %72, label %80, label %73
73: ; preds = %56
%74 = tail call i32 (ptr, ...) @kmemleak_stop(ptr noundef nonnull @.str.3, i64 noundef %0) #2
%75 = tail call ptr @lookup_object(i64 noundef %0, i32 noundef 1) #2
%76 = getelementptr inbounds i8, ptr %75, i64 36
%77 = tail call i32 @spin_lock(ptr noundef nonnull %76) #2
%78 = tail call i32 @dump_object_info(ptr noundef %75) #2
%79 = tail call i32 @spin_unlock(ptr noundef nonnull %76) #2
br label %82
80: ; preds = %56
%81 = tail call i32 @list_add_tail_rcu(ptr noundef nonnull %13, ptr noundef nonnull @object_list) #2
br label %82
82: ; preds = %80, %73
%83 = phi ptr [ %75, %73 ], [ %8, %80 ]
%84 = tail call i32 @write_unlock_irqrestore(ptr noundef nonnull @kmemleak_lock, i64 noundef undef) #2
br label %85
85: ; preds = %82, %10
%86 = phi ptr [ %83, %82 ], [ null, %10 ]
ret ptr %86
}
declare ptr @kmem_cache_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kmemleak_stop(ptr noundef, ...) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_HLIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @in_irq(...) local_unnamed_addr #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @in_softirq(...) local_unnamed_addr #1
declare i32 @__save_stack_trace(i32 noundef) local_unnamed_addr #1
declare i32 @INIT_PRIO_TREE_NODE(ptr noundef) local_unnamed_addr #1
declare i32 @write_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @max(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @prio_tree_insert(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lookup_object(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @dump_object_info(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock_irqrestore(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, !7, i64 0}
!11 = !{!"kmemleak_object", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !13, i64 40, !7, i64 56, !7, i64 60, !7, i64 64, !12, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92}
!12 = !{!"long", !8, i64 0}
!13 = !{!"prio_tree_node", !12, i64 0, !12, i64 8}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 16}
!16 = !{!11, !7, i64 24}
!17 = !{!11, !7, i64 28}
!18 = !{!11, !7, i64 80}
!19 = !{!11, !12, i64 72}
!20 = !{!11, !7, i64 64}
!21 = !{!22, !22, i64 0}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!24, !12, i64 8}
!24 = !{!"TYPE_2__", !22, i64 0, !12, i64 8}
!25 = !{!24, !22, i64 0}
!26 = !{!11, !7, i64 56}
!27 = !{!11, !7, i64 60}
!28 = !{!11, !12, i64 40}
!29 = !{!11, !12, i64 48}
| fastsocket_kernel_mm_extr_kmemleak.c_create_object |
; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_rcache_search.c'
source_filename = "AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_rcache_search.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SIDTAB_RCACHE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@SIDTAB_MAX = dso_local local_unnamed_addr global i64 0, align 8
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sidtab_rcache_search], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sidtab_rcache_search(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i64, ptr @SIDTAB_RCACHE_SIZE, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %24, label %6
6: ; preds = %3, %20
%7 = phi i64 [ %21, %20 ], [ 0, %3 ]
%8 = load ptr, ptr %0, align 8, !tbaa !9
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = tail call i64 @READ_ONCE(i32 noundef %10) #2
%12 = load i64, ptr @SIDTAB_MAX, align 8, !tbaa !5
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %6
%15 = tail call i32 @sidtab_do_lookup(ptr noundef nonnull %0, i64 noundef %11, i32 noundef 0) #2
%16 = tail call i64 @context_cmp(i32 noundef %15, ptr noundef %1) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = tail call i32 @sidtab_rcache_update(ptr noundef nonnull %0, i64 noundef %11, i64 noundef %7) #2
store i64 %11, ptr %2, align 8, !tbaa !5
br label %27
20: ; preds = %6, %14
%21 = add nuw i64 %7, 1
%22 = load i64, ptr @SIDTAB_RCACHE_SIZE, align 8, !tbaa !5
%23 = icmp ult i64 %21, %22
br i1 %23, label %6, label %24, !llvm.loop !14
24: ; preds = %20, %3
%25 = load i32, ptr @ENOENT, align 4, !tbaa !12
%26 = sub nsw i32 0, %25
br label %27
27: ; preds = %18, %24
%28 = phi i32 [ 0, %18 ], [ %26, %24 ]
ret i32 %28
}
declare i64 @READ_ONCE(i32 noundef) local_unnamed_addr #1
declare i64 @context_cmp(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sidtab_do_lookup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sidtab_rcache_update(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"sidtab", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_rcache_search.c'
source_filename = "AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_rcache_search.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIDTAB_RCACHE_SIZE = common local_unnamed_addr global i64 0, align 8
@SIDTAB_MAX = common local_unnamed_addr global i64 0, align 8
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sidtab_rcache_search], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sidtab_rcache_search(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i64, ptr @SIDTAB_RCACHE_SIZE, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %24, label %6
6: ; preds = %3, %20
%7 = phi i64 [ %21, %20 ], [ 0, %3 ]
%8 = load ptr, ptr %0, align 8, !tbaa !10
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = tail call i64 @READ_ONCE(i32 noundef %10) #2
%12 = load i64, ptr @SIDTAB_MAX, align 8, !tbaa !6
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %6
%15 = tail call i32 @sidtab_do_lookup(ptr noundef nonnull %0, i64 noundef %11, i32 noundef 0) #2
%16 = tail call i64 @context_cmp(i32 noundef %15, ptr noundef %1) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = tail call i32 @sidtab_rcache_update(ptr noundef nonnull %0, i64 noundef %11, i64 noundef %7) #2
store i64 %11, ptr %2, align 8, !tbaa !6
br label %27
20: ; preds = %6, %14
%21 = add nuw i64 %7, 1
%22 = load i64, ptr @SIDTAB_RCACHE_SIZE, align 8, !tbaa !6
%23 = icmp ult i64 %21, %22
br i1 %23, label %6, label %24, !llvm.loop !15
24: ; preds = %20, %3
%25 = load i32, ptr @ENOENT, align 4, !tbaa !13
%26 = sub nsw i32 0, %25
br label %27
27: ; preds = %18, %24
%28 = phi i32 [ 0, %18 ], [ %26, %24 ]
ret i32 %28
}
declare i64 @READ_ONCE(i32 noundef) local_unnamed_addr #1
declare i64 @context_cmp(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sidtab_do_lookup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sidtab_rcache_update(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"sidtab", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_security_selinux_ss_extr_sidtab.c_sidtab_rcache_search |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_stext-output.c_text_begin_page.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_stext-output.c_text_begin_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"
%struct.TYPE_2__ = type { i32, ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @text_begin_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @text_begin_page(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @fz_drop_stext_page(ptr noundef %0, ptr noundef nonnull %5) #2
store ptr null, ptr %4, align 8, !tbaa !5
br label %9
9: ; preds = %7, %3
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 2
%11 = load i32, ptr %10, align 8, !tbaa !11
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 8, !tbaa !11
%13 = tail call ptr @fz_new_stext_page(ptr noundef %0, i32 noundef %2) #2
store ptr %13, ptr %4, align 8, !tbaa !5
%14 = tail call ptr @fz_new_stext_device(ptr noundef %0, ptr noundef %13, ptr noundef nonnull %1) #2
ret ptr %14
}
declare i32 @fz_drop_stext_page(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @fz_new_stext_page(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @fz_new_stext_device(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_stext-output.c_text_begin_page.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_stext-output.c_text_begin_page.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 @text_begin_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @text_begin_page(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @fz_drop_stext_page(ptr noundef %0, ptr noundef nonnull %5) #2
store ptr null, ptr %4, align 8, !tbaa !6
br label %9
9: ; preds = %7, %3
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 8, !tbaa !12
%13 = tail call ptr @fz_new_stext_page(ptr noundef %0, i32 noundef %2) #2
store ptr %13, ptr %4, align 8, !tbaa !6
%14 = tail call ptr @fz_new_stext_device(ptr noundef %0, ptr noundef %13, ptr noundef nonnull %1) #2
ret ptr %14
}
declare i32 @fz_drop_stext_page(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @fz_new_stext_page(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @fz_new_stext_device(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 16}
| sumatrapdf_mupdf_source_fitz_extr_stext-output.c_text_begin_page |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_dummy/extr_c_locale_dummy.c__Locale_positive_sign.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_dummy/extr_c_locale_dummy.c__Locale_positive_sign.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_empty_str = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local ptr @_Locale_positive_sign(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @_empty_str, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_dummy/extr_c_locale_dummy.c__Locale_positive_sign.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_dummy/extr_c_locale_dummy.c__Locale_positive_sign.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_empty_str = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define ptr @_Locale_positive_sign(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @_empty_str, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_sdk_lib_3rdparty_stlport_src_c_locale_dummy_extr_c_locale_dummy.c__Locale_positive_sign |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_sort.c_hist_entry__cpu_snprintf.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_sort.c_hist_entry__cpu_snprintf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%*.*d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hist_entry__cpu_snprintf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hist_entry__cpu_snprintf(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call i32 @repsep_snprintf(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @repsep_snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hist_entry", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_sort.c_hist_entry__cpu_snprintf.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_sort.c_hist_entry__cpu_snprintf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"%*.*d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hist_entry__cpu_snprintf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hist_entry__cpu_snprintf(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @repsep_snprintf(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @repsep_snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hist_entry", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_tools_perf_util_extr_sort.c_hist_entry__cpu_snprintf |
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_endpoint.c_ep_device_release.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_endpoint.c_ep_device_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ep_device_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ep_device_release(ptr noundef %0) #0 {
%2 = tail call ptr @to_ep_device(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_ep_device(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/drivers/usb/core/extr_endpoint.c_ep_device_release.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_endpoint.c_ep_device_release.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ep_device_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ep_device_release(ptr noundef %0) #0 {
%2 = tail call ptr @to_ep_device(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_ep_device(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_drivers_usb_core_extr_endpoint.c_ep_device_release |
; ModuleID = 'AnghaBench/zfs/cmd/zpool/extr_zpool_main.c_print_error_log.c'
source_filename = "AnghaBench/zfs/cmd/zpool/extr_zpool_main.c_print_error_log.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAXPATHLEN = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_ERR_DATASET = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_ERR_OBJECT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"%7s %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@str = private unnamed_addr constant [69 x i8] c"errors: Permanent errors have been detected in the following files:\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_error_log], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_error_log(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
store ptr null, ptr %2, align 8, !tbaa !5
%6 = load i32, ptr @MAXPATHLEN, align 4, !tbaa !9
%7 = shl nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = call i64 @zpool_get_errlog(ptr noundef %0, ptr noundef nonnull %2) #5
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %46
11: ; preds = %1
%12 = call i32 @puts(ptr nonnull dereferenceable(1) @str)
%13 = call ptr @safe_malloc(i64 noundef %8) #5
%14 = load ptr, ptr %2, align 8, !tbaa !5
%15 = call ptr @nvlist_next_nvpair(ptr noundef %14, ptr noundef null) #5
%16 = icmp eq ptr %15, null
br i1 %16, label %42, label %17
17: ; preds = %11, %17
%18 = phi ptr [ %40, %17 ], [ %15, %11 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
%19 = call i64 @nvpair_value_nvlist(ptr noundef nonnull %18, ptr noundef nonnull %3) #5
%20 = icmp eq i64 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @verify(i32 noundef %21) #5
%23 = load ptr, ptr %3, align 8, !tbaa !5
%24 = load i32, ptr @ZPOOL_ERR_DATASET, align 4, !tbaa !9
%25 = call i64 @nvlist_lookup_uint64(ptr noundef %23, i32 noundef %24, ptr noundef nonnull %4) #5
%26 = icmp eq i64 %25, 0
%27 = zext i1 %26 to i32
%28 = call i32 @verify(i32 noundef %27) #5
%29 = load ptr, ptr %3, align 8, !tbaa !5
%30 = load i32, ptr @ZPOOL_ERR_OBJECT, align 4, !tbaa !9
%31 = call i64 @nvlist_lookup_uint64(ptr noundef %29, i32 noundef %30, ptr noundef nonnull %5) #5
%32 = icmp eq i64 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 @verify(i32 noundef %33) #5
%35 = load i32, ptr %4, align 4, !tbaa !9
%36 = load i32, ptr %5, align 4, !tbaa !9
%37 = call i32 @zpool_obj_to_path(ptr noundef %0, i32 noundef %35, i32 noundef %36, ptr noundef %13, i64 noundef %8) #5
%38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull @.str.2, ptr noundef %13)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
%39 = load ptr, ptr %2, align 8, !tbaa !5
%40 = call ptr @nvlist_next_nvpair(ptr noundef %39, ptr noundef nonnull %18) #5
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %17, !llvm.loop !11
42: ; preds = %17, %11
%43 = call i32 @free(ptr noundef %13) #5
%44 = load ptr, ptr %2, align 8, !tbaa !5
%45 = call i32 @nvlist_free(ptr noundef %44) #5
br label %46
46: ; preds = %1, %42
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @zpool_get_errlog(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3
declare ptr @safe_malloc(i64 noundef) local_unnamed_addr #2
declare ptr @nvlist_next_nvpair(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @verify(i32 noundef) local_unnamed_addr #2
declare i64 @nvpair_value_nvlist(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @nvlist_lookup_uint64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zpool_obj_to_path(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @nvlist_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree nounwind }
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 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/zfs/cmd/zpool/extr_zpool_main.c_print_error_log.c'
source_filename = "AnghaBench/zfs/cmd/zpool/extr_zpool_main.c_print_error_log.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAXPATHLEN = common local_unnamed_addr global i32 0, align 4
@ZPOOL_ERR_DATASET = common local_unnamed_addr global i32 0, align 4
@ZPOOL_ERR_OBJECT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"%7s %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@str = private unnamed_addr constant [69 x i8] c"errors: Permanent errors have been detected in the following files:\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_error_log], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_error_log(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
store ptr null, ptr %2, align 8, !tbaa !6
%6 = load i32, ptr @MAXPATHLEN, align 4, !tbaa !10
%7 = shl nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = call i64 @zpool_get_errlog(ptr noundef %0, ptr noundef nonnull %2) #5
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %46
11: ; preds = %1
%12 = call i32 @puts(ptr nonnull dereferenceable(1) @str)
%13 = call ptr @safe_malloc(i64 noundef %8) #5
%14 = load ptr, ptr %2, align 8, !tbaa !6
%15 = call ptr @nvlist_next_nvpair(ptr noundef %14, ptr noundef null) #5
%16 = icmp eq ptr %15, null
br i1 %16, label %42, label %17
17: ; preds = %11, %17
%18 = phi ptr [ %40, %17 ], [ %15, %11 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
%19 = call i64 @nvpair_value_nvlist(ptr noundef nonnull %18, ptr noundef nonnull %3) #5
%20 = icmp eq i64 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @verify(i32 noundef %21) #5
%23 = load ptr, ptr %3, align 8, !tbaa !6
%24 = load i32, ptr @ZPOOL_ERR_DATASET, align 4, !tbaa !10
%25 = call i64 @nvlist_lookup_uint64(ptr noundef %23, i32 noundef %24, ptr noundef nonnull %4) #5
%26 = icmp eq i64 %25, 0
%27 = zext i1 %26 to i32
%28 = call i32 @verify(i32 noundef %27) #5
%29 = load ptr, ptr %3, align 8, !tbaa !6
%30 = load i32, ptr @ZPOOL_ERR_OBJECT, align 4, !tbaa !10
%31 = call i64 @nvlist_lookup_uint64(ptr noundef %29, i32 noundef %30, ptr noundef nonnull %5) #5
%32 = icmp eq i64 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 @verify(i32 noundef %33) #5
%35 = load i32, ptr %4, align 4, !tbaa !10
%36 = load i32, ptr %5, align 4, !tbaa !10
%37 = call i32 @zpool_obj_to_path(ptr noundef %0, i32 noundef %35, i32 noundef %36, ptr noundef %13, i64 noundef %8) #5
%38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull @.str.2, ptr noundef %13)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
%39 = load ptr, ptr %2, align 8, !tbaa !6
%40 = call ptr @nvlist_next_nvpair(ptr noundef %39, ptr noundef nonnull %18) #5
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %17, !llvm.loop !12
42: ; preds = %17, %11
%43 = call i32 @free(ptr noundef %13) #5
%44 = load ptr, ptr %2, align 8, !tbaa !6
%45 = call i32 @nvlist_free(ptr noundef %44) #5
br label %46
46: ; preds = %1, %42
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @zpool_get_errlog(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3
declare ptr @safe_malloc(i64 noundef) local_unnamed_addr #2
declare ptr @nvlist_next_nvpair(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @verify(i32 noundef) local_unnamed_addr #2
declare i64 @nvpair_value_nvlist(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @nvlist_lookup_uint64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zpool_obj_to_path(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @nvlist_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nofree nounwind }
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 = !{!"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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| zfs_cmd_zpool_extr_zpool_main.c_print_error_log |
; ModuleID = 'AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_refnameRangeTblEntry.c'
source_filename = "AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_refnameRangeTblEntry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@InvalidOid = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @refnameRangeTblEntry(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @InvalidOid, align 4, !tbaa !5
%7 = icmp eq ptr %4, null
br i1 %7, label %9, label %8
8: ; preds = %5
store i32 0, ptr %4, align 4, !tbaa !5
br label %9
9: ; preds = %8, %5
%10 = icmp eq ptr %1, null
br i1 %10, label %19, label %11
11: ; preds = %9
%12 = tail call i32 @LookupNamespaceNoError(ptr noundef nonnull %1) #2
%13 = tail call i64 @OidIsValid(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %47, label %15
15: ; preds = %11
%16 = tail call i32 @get_relname_relid(ptr noundef %2, i32 noundef %12) #2
%17 = tail call i64 @OidIsValid(i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %47, label %19
19: ; preds = %15, %9
%20 = phi i32 [ %16, %15 ], [ %6, %9 ]
br label %21
21: ; preds = %42, %19
%22 = phi ptr [ %0, %19 ], [ %43, %42 ]
%23 = phi ptr [ null, %19 ], [ %44, %42 ]
%24 = icmp eq ptr %22, null
br i1 %24, label %47, label %25
25: ; preds = %21
%26 = tail call i64 @OidIsValid(i32 noundef %20) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = tail call ptr @scanNameSpaceForRelid(ptr noundef nonnull %22, i32 noundef %20, i32 noundef %3) #2
br label %32
30: ; preds = %25
%31 = tail call ptr @scanNameSpaceForRefname(ptr noundef nonnull %22, ptr noundef %2, i32 noundef %3) #2
br label %32
32: ; preds = %30, %28
%33 = phi ptr [ %29, %28 ], [ %31, %30 ]
%34 = icmp ne ptr %33, null
%35 = or i1 %7, %34
%36 = select i1 %34, ptr %33, ptr %23
%37 = select i1 %34, i32 1, i32 3
br i1 %35, label %42, label %38
38: ; preds = %32
%39 = load i32, ptr %4, align 4, !tbaa !5
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4, !tbaa !5
%41 = load ptr, ptr %22, align 8, !tbaa !9
br label %42
42: ; preds = %32, %38
%43 = phi ptr [ %41, %38 ], [ %22, %32 ]
%44 = phi ptr [ %23, %38 ], [ %36, %32 ]
%45 = phi i32 [ 0, %38 ], [ %37, %32 ]
switch i32 %45, label %46 [
i32 0, label %21
i32 3, label %47
], !llvm.loop !12
46: ; preds = %42
br label %47
47: ; preds = %21, %42, %46, %11, %15
%48 = phi ptr [ null, %15 ], [ null, %11 ], [ %44, %46 ], [ null, %42 ], [ null, %21 ]
ret ptr %48
}
declare i32 @LookupNamespaceNoError(ptr noundef) local_unnamed_addr #1
declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @get_relname_relid(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @scanNameSpaceForRelid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @scanNameSpaceForRefname(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_refnameRangeTblEntry.c'
source_filename = "AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_refnameRangeTblEntry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@InvalidOid = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @refnameRangeTblEntry(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @InvalidOid, align 4, !tbaa !6
%7 = icmp eq ptr %4, null
br i1 %7, label %9, label %8
8: ; preds = %5
store i32 0, ptr %4, align 4, !tbaa !6
br label %9
9: ; preds = %8, %5
%10 = icmp eq ptr %1, null
br i1 %10, label %19, label %11
11: ; preds = %9
%12 = tail call i32 @LookupNamespaceNoError(ptr noundef nonnull %1) #2
%13 = tail call i64 @OidIsValid(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %47, label %15
15: ; preds = %11
%16 = tail call i32 @get_relname_relid(ptr noundef %2, i32 noundef %12) #2
%17 = tail call i64 @OidIsValid(i32 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %47, label %19
19: ; preds = %15, %9
%20 = phi i32 [ %16, %15 ], [ %6, %9 ]
br label %21
21: ; preds = %42, %19
%22 = phi ptr [ %0, %19 ], [ %43, %42 ]
%23 = phi ptr [ null, %19 ], [ %44, %42 ]
%24 = icmp eq ptr %22, null
br i1 %24, label %47, label %25
25: ; preds = %21
%26 = tail call i64 @OidIsValid(i32 noundef %20) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = tail call ptr @scanNameSpaceForRelid(ptr noundef nonnull %22, i32 noundef %20, i32 noundef %3) #2
br label %32
30: ; preds = %25
%31 = tail call ptr @scanNameSpaceForRefname(ptr noundef nonnull %22, ptr noundef %2, i32 noundef %3) #2
br label %32
32: ; preds = %30, %28
%33 = phi ptr [ %29, %28 ], [ %31, %30 ]
%34 = icmp ne ptr %33, null
%35 = or i1 %7, %34
%36 = select i1 %34, ptr %33, ptr %23
%37 = select i1 %34, i32 1, i32 3
br i1 %35, label %42, label %38
38: ; preds = %32
%39 = load i32, ptr %4, align 4, !tbaa !6
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4, !tbaa !6
%41 = load ptr, ptr %22, align 8, !tbaa !10
br label %42
42: ; preds = %32, %38
%43 = phi ptr [ %41, %38 ], [ %22, %32 ]
%44 = phi ptr [ %23, %38 ], [ %36, %32 ]
%45 = phi i32 [ 0, %38 ], [ %37, %32 ]
switch i32 %45, label %46 [
i32 0, label %21
i32 3, label %47
], !llvm.loop !13
46: ; preds = %42
br label %47
47: ; preds = %21, %42, %46, %11, %15
%48 = phi ptr [ null, %15 ], [ null, %11 ], [ %44, %46 ], [ null, %42 ], [ null, %21 ]
ret ptr %48
}
declare i32 @LookupNamespaceNoError(ptr noundef) local_unnamed_addr #1
declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @get_relname_relid(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @scanNameSpaceForRelid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @scanNameSpaceForRefname(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| postgres_src_backend_parser_extr_parse_relation.c_refnameRangeTblEntry |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/net/extr_if_axge.c_axge_attach_post.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/net/extr_if_axge.c_axge_attach_post.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AXGE_ACCESS_MAC = dso_local local_unnamed_addr global i32 0, align 4
@ETHER_ADDR_LEN = dso_local local_unnamed_addr global i32 0, align 4
@AXGE_NIDR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @axge_attach_post], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @axge_attach_post(ptr noundef %0) #0 {
%2 = tail call ptr @uether_getsc(ptr noundef %0) #2
%3 = tail call i32 @axge_chip_init(ptr noundef %2) #2
%4 = load i32, ptr @AXGE_ACCESS_MAC, align 4, !tbaa !5
%5 = load i32, ptr @ETHER_ADDR_LEN, align 4, !tbaa !5
%6 = load i32, ptr @AXGE_NIDR, align 4, !tbaa !5
%7 = load i32, ptr %0, align 4, !tbaa !9
%8 = tail call i32 @axge_read_mem(ptr noundef %2, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %5) #2
ret void
}
declare ptr @uether_getsc(ptr noundef) local_unnamed_addr #1
declare i32 @axge_chip_init(ptr noundef) local_unnamed_addr #1
declare i32 @axge_read_mem(ptr 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"usb_ether", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/net/extr_if_axge.c_axge_attach_post.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/net/extr_if_axge.c_axge_attach_post.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AXGE_ACCESS_MAC = common local_unnamed_addr global i32 0, align 4
@ETHER_ADDR_LEN = common local_unnamed_addr global i32 0, align 4
@AXGE_NIDR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @axge_attach_post], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @axge_attach_post(ptr noundef %0) #0 {
%2 = tail call ptr @uether_getsc(ptr noundef %0) #2
%3 = tail call i32 @axge_chip_init(ptr noundef %2) #2
%4 = load i32, ptr @AXGE_ACCESS_MAC, align 4, !tbaa !6
%5 = load i32, ptr @ETHER_ADDR_LEN, align 4, !tbaa !6
%6 = load i32, ptr @AXGE_NIDR, align 4, !tbaa !6
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = tail call i32 @axge_read_mem(ptr noundef %2, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %5) #2
ret void
}
declare ptr @uether_getsc(ptr noundef) local_unnamed_addr #1
declare i32 @axge_chip_init(ptr noundef) local_unnamed_addr #1
declare i32 @axge_read_mem(ptr 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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"usb_ether", !7, i64 0}
| freebsd_sys_dev_usb_net_extr_if_axge.c_axge_attach_post |
; ModuleID = 'AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx51_ipuv3.c_ipu3fb_load_palette.c'
source_filename = "AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx51_ipuv3.c_ipu3fb_load_palette.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipu3fb_load_palette], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @ipu3fb_load_palette(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx51_ipuv3.c_ipu3fb_load_palette.c'
source_filename = "AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx51_ipuv3.c_ipu3fb_load_palette.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 @ipu3fb_load_palette], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @ipu3fb_load_palette(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_arm_freescale_imx_extr_imx51_ipuv3.c_ipu3fb_load_palette |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c__get_field.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c__get_field.c"
target datalayout = "e-m:e-p270:32:32-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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @_get_field], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
define internal i32 @_get_field(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !5
%5 = and i32 %4, 7
%6 = sub i32 0, %4
%7 = and i32 %6, 7
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = add nsw i32 %9, %4
%11 = and i32 %10, 7
%12 = sdiv i32 %9, 8
%13 = sdiv i32 %4, 8
%14 = add nsw i32 %13, %1
%15 = add i32 %9, 7
%16 = icmp ult i32 %15, 15
%17 = add nsw i32 %5, %9
%18 = icmp slt i32 %17, 8
%19 = select i1 %16, i1 %18, i1 false
br i1 %19, label %20, label %29
20: ; preds = %3
%21 = xor i32 %14, 3
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %0, i64 %22
%24 = load i32, ptr %23, align 4, !tbaa !11
%25 = ashr i32 %24, %5
%26 = shl nsw i32 -1, %9
%27 = xor i32 %26, -1
%28 = and i32 %25, %27
br label %117
29: ; preds = %3
%30 = icmp eq i32 %7, 0
br i1 %30, label %39, label %31
31: ; preds = %29
%32 = add i32 %14, 1
%33 = xor i32 %14, 3
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %0, i64 %34
%36 = load i32, ptr %35, align 4, !tbaa !11
%37 = sub nuw nsw i32 8, %7
%38 = ashr i32 %36, %37
br label %39
39: ; preds = %31, %29
%40 = phi i32 [ %32, %31 ], [ %14, %29 ]
%41 = phi i32 [ %38, %31 ], [ 0, %29 ]
%42 = icmp eq i32 %11, 0
br i1 %42, label %53, label %43
43: ; preds = %39
%44 = sdiv i32 %10, 8
%45 = add nsw i32 %44, %1
%46 = xor i32 %45, 3
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %0, i64 %47
%49 = load i32, ptr %48, align 4, !tbaa !11
%50 = shl nsw i32 -1, %11
%51 = xor i32 %50, -1
%52 = and i32 %49, %51
br label %53
53: ; preds = %43, %39
%54 = phi i32 [ %52, %43 ], [ 0, %39 ]
br i1 %16, label %113, label %55
55: ; preds = %53
%56 = add nsw i32 %12, -1
%57 = add i32 %56, %40
%58 = add nsw i32 %12, -1
%59 = and i32 %12, 3
%60 = icmp eq i32 %59, 0
br i1 %60, label %76, label %61
61: ; preds = %55, %61
%62 = phi i32 [ %72, %61 ], [ %54, %55 ]
%63 = phi i32 [ %66, %61 ], [ %12, %55 ]
%64 = phi i32 [ %73, %61 ], [ %57, %55 ]
%65 = phi i32 [ %74, %61 ], [ 0, %55 ]
%66 = add nsw i32 %63, -1
%67 = shl i32 %62, 8
%68 = xor i32 %64, 3
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %0, i64 %69
%71 = load i32, ptr %70, align 4, !tbaa !11
%72 = or i32 %71, %67
%73 = add i32 %64, -1
%74 = add i32 %65, 1
%75 = icmp eq i32 %74, %59
br i1 %75, label %76, label %61, !llvm.loop !12
76: ; preds = %61, %55
%77 = phi i32 [ undef, %55 ], [ %72, %61 ]
%78 = phi i32 [ %12, %55 ], [ %66, %61 ]
%79 = phi i32 [ %57, %55 ], [ %73, %61 ]
%80 = icmp ult i32 %58, 3
br i1 %80, label %113, label %81
81: ; preds = %76, %81
%82 = phi i32 [ %84, %81 ], [ %78, %76 ]
%83 = phi i32 [ %85, %81 ], [ %79, %76 ]
%84 = add nsw i32 %82, -4
%85 = add i32 %83, -4
%86 = icmp eq i32 %84, 0
br i1 %86, label %87, label %81, !llvm.loop !14
87: ; preds = %81
%88 = add i32 %83, -3
%89 = xor i32 %88, 3
%90 = zext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %0, i64 %90
%92 = load i32, ptr %91, align 4, !tbaa !11
%93 = add i32 %83, -2
%94 = xor i32 %93, 3
%95 = zext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %0, i64 %95
%97 = load i32, ptr %96, align 4, !tbaa !11
%98 = xor i32 %83, 3
%99 = zext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %0, i64 %99
%101 = load i32, ptr %100, align 4, !tbaa !11
%102 = shl i32 %101, 16
%103 = add i32 %83, -1
%104 = xor i32 %103, 3
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %0, i64 %105
%107 = load i32, ptr %106, align 4, !tbaa !11
%108 = shl i32 %107, 8
%109 = or i32 %102, %108
%110 = or i32 %97, %109
%111 = shl i32 %110, 8
%112 = or i32 %92, %111
br label %113
113: ; preds = %87, %76, %53
%114 = phi i32 [ %54, %53 ], [ %77, %76 ], [ %112, %87 ]
%115 = shl i32 %114, %7
%116 = or i32 %115, %41
br label %117
117: ; preds = %113, %20
%118 = phi i32 [ %116, %113 ], [ %28, %20 ]
ret i32 %118
}
attributes #0 = { nofree norecurse nosync nounwind 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, 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}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.unroll.disable"}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c__get_field.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_fields.c__get_field.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @_get_field], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync)
define internal i32 @_get_field(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !6
%5 = and i32 %4, 7
%6 = sub i32 0, %4
%7 = and i32 %6, 7
%8 = getelementptr inbounds i8, ptr %2, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = add nsw i32 %9, %4
%11 = and i32 %10, 7
%12 = sdiv i32 %9, 8
%13 = sdiv i32 %4, 8
%14 = add nsw i32 %13, %1
%15 = add i32 %9, 7
%16 = icmp ult i32 %15, 15
%17 = add nsw i32 %5, %9
%18 = icmp slt i32 %17, 8
%19 = select i1 %16, i1 %18, i1 false
br i1 %19, label %20, label %29
20: ; preds = %3
%21 = xor i32 %14, 3
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %0, i64 %22
%24 = load i32, ptr %23, align 4, !tbaa !12
%25 = ashr i32 %24, %5
%26 = shl nsw i32 -1, %9
%27 = xor i32 %26, -1
%28 = and i32 %25, %27
br label %75
29: ; preds = %3
%30 = icmp eq i32 %7, 0
br i1 %30, label %39, label %31
31: ; preds = %29
%32 = add i32 %14, 1
%33 = xor i32 %14, 3
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %0, i64 %34
%36 = load i32, ptr %35, align 4, !tbaa !12
%37 = sub nuw nsw i32 8, %7
%38 = ashr i32 %36, %37
br label %39
39: ; preds = %31, %29
%40 = phi i32 [ %32, %31 ], [ %14, %29 ]
%41 = phi i32 [ %38, %31 ], [ 0, %29 ]
%42 = icmp eq i32 %11, 0
br i1 %42, label %53, label %43
43: ; preds = %39
%44 = sdiv i32 %10, 8
%45 = add nsw i32 %44, %1
%46 = xor i32 %45, 3
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %0, i64 %47
%49 = load i32, ptr %48, align 4, !tbaa !12
%50 = shl nsw i32 -1, %11
%51 = xor i32 %50, -1
%52 = and i32 %49, %51
br label %53
53: ; preds = %43, %39
%54 = phi i32 [ %52, %43 ], [ 0, %39 ]
br i1 %16, label %71, label %55
55: ; preds = %53
%56 = add nsw i32 %12, -1
%57 = add i32 %56, %40
br label %58
58: ; preds = %55, %58
%59 = phi i32 [ %68, %58 ], [ %54, %55 ]
%60 = phi i32 [ %62, %58 ], [ %12, %55 ]
%61 = phi i32 [ %69, %58 ], [ %57, %55 ]
%62 = add nsw i32 %60, -1
%63 = shl i32 %59, 8
%64 = xor i32 %61, 3
%65 = zext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %0, i64 %65
%67 = load i32, ptr %66, align 4, !tbaa !12
%68 = or i32 %67, %63
%69 = add i32 %61, -1
%70 = icmp eq i32 %62, 0
br i1 %70, label %71, label %58, !llvm.loop !13
71: ; preds = %58, %53
%72 = phi i32 [ %54, %53 ], [ %68, %58 ]
%73 = shl i32 %72, %7
%74 = or i32 %73, %41
br label %75
75: ; preds = %71, %20
%76 = phi i32 [ %74, %71 ], [ %28, %20 ]
ret i32 %76
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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, 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}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_ofed_libibmad_extr_fields.c__get_field |
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/rsn_supp/extr_wpa.c_wpa_supplicant_check_group_cipher.c'
source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/rsn_supp/extr_wpa.c_wpa_supplicant_check_group_cipher.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WPA_ALG_CCMP = dso_local local_unnamed_addr global i32 0, align 4
@WPA_ALG_TKIP = dso_local local_unnamed_addr global i32 0, align 4
@WPA_ALG_WEP104 = dso_local local_unnamed_addr global i32 0, align 4
@WPA_ALG_WEP40 = dso_local local_unnamed_addr global i32 0, align 4
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local noundef i32 @wpa_supplicant_check_group_cipher(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
switch i32 %0, label %26 [
i32 131, label %6
i32 130, label %10
i32 129, label %14
i32 128, label %18
]
6: ; preds = %5
%7 = icmp ne i32 %1, 16
%8 = icmp slt i32 %2, 16
%9 = or i1 %7, %8
br i1 %9, label %26, label %22
10: ; preds = %5
%11 = icmp ne i32 %1, 32
%12 = icmp slt i32 %2, 32
%13 = or i1 %11, %12
br i1 %13, label %26, label %22
14: ; preds = %5
%15 = icmp ne i32 %1, 13
%16 = icmp slt i32 %2, 13
%17 = or i1 %15, %16
br i1 %17, label %26, label %22
18: ; preds = %5
%19 = icmp ne i32 %1, 5
%20 = icmp slt i32 %2, 5
%21 = or i1 %19, %20
br i1 %21, label %26, label %22
22: ; preds = %18, %14, %10, %6
%23 = phi i32 [ 6, %6 ], [ 6, %10 ], [ 0, %14 ], [ 0, %18 ]
%24 = phi ptr [ @WPA_ALG_CCMP, %6 ], [ @WPA_ALG_TKIP, %10 ], [ @WPA_ALG_WEP104, %14 ], [ @WPA_ALG_WEP40, %18 ]
store i32 %23, ptr %3, align 4, !tbaa !5
%25 = load i32, ptr %24, align 4, !tbaa !5
store i32 %25, ptr %4, align 4, !tbaa !5
br label %26
26: ; preds = %22, %6, %10, %14, %18, %5
%27 = phi i32 [ -1, %5 ], [ -1, %6 ], [ -1, %10 ], [ -1, %14 ], [ -1, %18 ], [ 0, %22 ]
ret i32 %27
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/rsn_supp/extr_wpa.c_wpa_supplicant_check_group_cipher.c'
source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/rsn_supp/extr_wpa.c_wpa_supplicant_check_group_cipher.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WPA_ALG_CCMP = common local_unnamed_addr global i32 0, align 4
@WPA_ALG_TKIP = common local_unnamed_addr global i32 0, align 4
@WPA_ALG_WEP104 = common local_unnamed_addr global i32 0, align 4
@WPA_ALG_WEP40 = common local_unnamed_addr global i32 0, align 4
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define range(i32 -1, 1) i32 @wpa_supplicant_check_group_cipher(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
switch i32 %0, label %26 [
i32 131, label %6
i32 130, label %10
i32 129, label %14
i32 128, label %18
]
6: ; preds = %5
%7 = icmp ne i32 %1, 16
%8 = icmp slt i32 %2, 16
%9 = or i1 %7, %8
br i1 %9, label %26, label %22
10: ; preds = %5
%11 = icmp ne i32 %1, 32
%12 = icmp slt i32 %2, 32
%13 = or i1 %11, %12
br i1 %13, label %26, label %22
14: ; preds = %5
%15 = icmp ne i32 %1, 13
%16 = icmp slt i32 %2, 13
%17 = or i1 %15, %16
br i1 %17, label %26, label %22
18: ; preds = %5
%19 = icmp ne i32 %1, 5
%20 = icmp slt i32 %2, 5
%21 = or i1 %19, %20
br i1 %21, label %26, label %22
22: ; preds = %18, %14, %10, %6
%23 = phi i32 [ 6, %6 ], [ 6, %10 ], [ 0, %14 ], [ 0, %18 ]
%24 = phi ptr [ @WPA_ALG_CCMP, %6 ], [ @WPA_ALG_TKIP, %10 ], [ @WPA_ALG_WEP104, %14 ], [ @WPA_ALG_WEP40, %18 ]
store i32 %23, ptr %3, align 4, !tbaa !6
%25 = load i32, ptr %24, align 4, !tbaa !6
store i32 %25, ptr %4, align 4, !tbaa !6
br label %26
26: ; preds = %22, %6, %10, %14, %18, %5
%27 = phi i32 [ -1, %5 ], [ -1, %6 ], [ -1, %10 ], [ -1, %14 ], [ -1, %18 ], [ 0, %22 ]
ret i32 %27
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| esp-idf_components_wpa_supplicant_src_rsn_supp_extr_wpa.c_wpa_supplicant_check_group_cipher |
; ModuleID = 'AnghaBench/sway/sway/commands/extr_bind.c_find_keycode.c'
source_filename = "AnghaBench/sway/sway/commands/extr_bind.c_find_keycode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.keycode_matches = type { i64, i32, i32 }
@config = dso_local local_unnamed_addr global ptr null, align 8
@XKB_KEY_NoSymbol = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_keycode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @find_keycode(ptr nocapture readnone %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr @config, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = tail call i64 @xkb_state_key_get_one_sym(i32 noundef %5, i32 noundef %1) #2
%7 = load i64, ptr @XKB_KEY_NoSymbol, align 8, !tbaa !12
%8 = icmp eq i64 %6, %7
br i1 %8, label %17, label %9
9: ; preds = %3
%10 = load i64, ptr %2, align 8, !tbaa !14
%11 = icmp eq i64 %10, %6
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = getelementptr inbounds %struct.keycode_matches, ptr %2, i64 0, i32 2
store i32 %1, ptr %13, align 4, !tbaa !16
%14 = getelementptr inbounds %struct.keycode_matches, ptr %2, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !17
%16 = add nsw i32 %15, 1
store i32 %16, ptr %14, align 8, !tbaa !17
br label %17
17: ; preds = %9, %12, %3
ret void
}
declare i64 @xkb_state_key_get_one_sym(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 = !{!"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}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"keycode_matches", !13, i64 0, !11, i64 8, !11, i64 12}
!16 = !{!15, !11, i64 12}
!17 = !{!15, !11, i64 8}
| ; ModuleID = 'AnghaBench/sway/sway/commands/extr_bind.c_find_keycode.c'
source_filename = "AnghaBench/sway/sway/commands/extr_bind.c_find_keycode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@config = common local_unnamed_addr global ptr null, align 8
@XKB_KEY_NoSymbol = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @find_keycode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @find_keycode(ptr nocapture readnone %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr @config, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i64 @xkb_state_key_get_one_sym(i32 noundef %5, i32 noundef %1) #2
%7 = load i64, ptr @XKB_KEY_NoSymbol, align 8, !tbaa !13
%8 = icmp eq i64 %6, %7
br i1 %8, label %17, label %9
9: ; preds = %3
%10 = load i64, ptr %2, align 8, !tbaa !15
%11 = icmp eq i64 %10, %6
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %1, ptr %13, align 4, !tbaa !17
%14 = getelementptr inbounds i8, ptr %2, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !18
%16 = add nsw i32 %15, 1
store i32 %16, ptr %14, align 8, !tbaa !18
br label %17
17: ; preds = %9, %12, %3
ret void
}
declare i64 @xkb_state_key_get_one_sym(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"keycode_matches", !14, i64 0, !12, i64 8, !12, i64 12}
!17 = !{!16, !12, i64 12}
!18 = !{!16, !12, i64 8}
| sway_sway_commands_extr_bind.c_find_keycode |
; ModuleID = 'AnghaBench/git/extr_blame.c_map_line_number.c'
source_filename = "AnghaBench/git/extr_blame.c_map_line_number.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.line_number_mapping = type { i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @map_line_number], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @map_line_number(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = sub nsw i32 %0, %3
%5 = shl nsw i32 %4, 1
%6 = or disjoint i32 %5, 1
%7 = getelementptr inbounds %struct.line_number_mapping, ptr %1, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = mul nsw i32 %6, %8
%10 = getelementptr inbounds %struct.line_number_mapping, ptr %1, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = shl nsw i32 %11, 1
%13 = sdiv i32 %9, %12
%14 = getelementptr inbounds %struct.line_number_mapping, ptr %1, i64 0, i32 3
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = add nsw i32 %15, %13
ret i32 %16
}
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 = !{!"line_number_mapping", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 12}
| ; ModuleID = 'AnghaBench/git/extr_blame.c_map_line_number.c'
source_filename = "AnghaBench/git/extr_blame.c_map_line_number.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @map_line_number], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @map_line_number(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = sub nsw i32 %0, %3
%5 = shl nsw i32 %4, 1
%6 = or disjoint i32 %5, 1
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = mul nsw i32 %6, %8
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = shl nsw i32 %11, 1
%13 = sdiv i32 %9, %12
%14 = getelementptr inbounds i8, ptr %1, i64 12
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = add nsw i32 %15, %13
ret i32 %16
}
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 = !{!"line_number_mapping", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 12}
| git_extr_blame.c_map_line_number |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/dmasound/extr_dmasound_atari.c_AtaFree.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/dmasound/extr_dmasound_atari.c_AtaFree.c"
target datalayout = "e-m:e-p270:32:32-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 @AtaFree], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @AtaFree(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @atari_stram_free(ptr noundef %0) #2
ret void
}
declare i32 @atari_stram_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/dmasound/extr_dmasound_atari.c_AtaFree.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/dmasound/extr_dmasound_atari.c_AtaFree.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 @AtaFree], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @AtaFree(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @atari_stram_free(ptr noundef %0) #2
ret void
}
declare i32 @atari_stram_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)"}
| fastsocket_kernel_sound_oss_dmasound_extr_dmasound_atari.c_AtaFree |
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_bt_mesh_subnet_del.c'
source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_bt_mesh_subnet_del.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr }
%struct.bt_mesh_app_key = type { i64 }
@.str = private unnamed_addr constant [23 x i8] c"NetIdx 0x%03x store %u\00", align 1
@conf = dso_local local_unnamed_addr global ptr null, align 8
@CONFIG_BLE_MESH_SETTINGS = dso_local local_unnamed_addr global i32 0, align 4
@bt_mesh = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@CONFIG_BLE_MESH_FRIEND = dso_local local_unnamed_addr global i32 0, align 4
@BLE_MESH_KEY_UNUSED = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @bt_mesh_subnet_del(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i64 noundef %3, i32 noundef %1) #2
%5 = load ptr, ptr @conf, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %20, label %7
7: ; preds = %2
%8 = load i64, ptr %5, align 8, !tbaa !12
%9 = load i64, ptr %0, align 8, !tbaa !5
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = tail call i32 @hb_pub_disable(ptr noundef nonnull %5) #2
%13 = load i32, ptr @CONFIG_BLE_MESH_SETTINGS, align 4, !tbaa !15
%14 = tail call i64 @IS_ENABLED(i32 noundef %13) #2
%15 = icmp ne i64 %14, 0
%16 = icmp ne i32 %1, 0
%17 = and i1 %16, %15
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = tail call i32 (...) @bt_mesh_store_hb_pub() #2
br label %20
20: ; preds = %11, %18, %7, %2
%21 = load ptr, ptr @bt_mesh, align 8, !tbaa !17
%22 = tail call i32 @ARRAY_SIZE(ptr noundef %21) #2
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %40
24: ; preds = %20, %34
%25 = phi i64 [ %36, %34 ], [ 0, %20 ]
%26 = load ptr, ptr @bt_mesh, align 8, !tbaa !17
%27 = getelementptr inbounds %struct.bt_mesh_app_key, ptr %26, i64 %25
%28 = load i64, ptr %27, align 8, !tbaa !19
%29 = load i64, ptr %0, align 8, !tbaa !5
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %24
%32 = tail call i32 @bt_mesh_app_key_del(ptr noundef nonnull %27, i32 noundef %1) #2
%33 = load ptr, ptr @bt_mesh, align 8, !tbaa !17
br label %34
34: ; preds = %31, %24
%35 = phi ptr [ %33, %31 ], [ %26, %24 ]
%36 = add nuw nsw i64 %25, 1
%37 = tail call i32 @ARRAY_SIZE(ptr noundef %35) #2
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %24, label %40, !llvm.loop !21
40: ; preds = %34, %20
%41 = load i32, ptr @CONFIG_BLE_MESH_FRIEND, align 4, !tbaa !15
%42 = tail call i64 @IS_ENABLED(i32 noundef %41) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %40
%45 = load i64, ptr %0, align 8, !tbaa !5
%46 = tail call i32 @bt_mesh_friend_clear_net_idx(i64 noundef %45) #2
br label %47
47: ; preds = %44, %40
%48 = load i32, ptr @CONFIG_BLE_MESH_SETTINGS, align 4, !tbaa !15
%49 = tail call i64 @IS_ENABLED(i32 noundef %48) #2
%50 = icmp ne i64 %49, 0
%51 = icmp ne i32 %1, 0
%52 = and i1 %51, %50
br i1 %52, label %53, label %55
53: ; preds = %47
%54 = tail call i32 @bt_mesh_clear_subnet(ptr noundef nonnull %0) #2
br label %55
55: ; preds = %53, %47
%56 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 8) #2
%57 = load i64, ptr @BLE_MESH_KEY_UNUSED, align 8, !tbaa !23
store i64 %57, ptr %0, align 8, !tbaa !5
ret void
}
declare i32 @BT_DBG(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hb_pub_disable(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ENABLED(i32 noundef) local_unnamed_addr #1
declare i32 @bt_mesh_store_hb_pub(...) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @bt_mesh_app_key_del(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bt_mesh_friend_clear_net_idx(i64 noundef) local_unnamed_addr #1
declare i32 @bt_mesh_clear_subnet(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bt_mesh_subnet", !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 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"TYPE_5__", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_7__", !11, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"bt_mesh_app_key", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_bt_mesh_subnet_del.c'
source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_bt_mesh_subnet_del.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { ptr }
%struct.bt_mesh_app_key = type { i64 }
@.str = private unnamed_addr constant [23 x i8] c"NetIdx 0x%03x store %u\00", align 1
@conf = common local_unnamed_addr global ptr null, align 8
@CONFIG_BLE_MESH_SETTINGS = common local_unnamed_addr global i32 0, align 4
@bt_mesh = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@CONFIG_BLE_MESH_FRIEND = common local_unnamed_addr global i32 0, align 4
@BLE_MESH_KEY_UNUSED = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @bt_mesh_subnet_del(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i64 noundef %3, i32 noundef %1) #2
%5 = load ptr, ptr @conf, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %20, label %7
7: ; preds = %2
%8 = load i64, ptr %5, align 8, !tbaa !13
%9 = load i64, ptr %0, align 8, !tbaa !6
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = tail call i32 @hb_pub_disable(ptr noundef nonnull %5) #2
%13 = load i32, ptr @CONFIG_BLE_MESH_SETTINGS, align 4, !tbaa !16
%14 = tail call i64 @IS_ENABLED(i32 noundef %13) #2
%15 = icmp ne i64 %14, 0
%16 = icmp ne i32 %1, 0
%17 = and i1 %16, %15
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = tail call i32 @bt_mesh_store_hb_pub() #2
br label %20
20: ; preds = %11, %18, %7, %2
%21 = load ptr, ptr @bt_mesh, align 8, !tbaa !18
%22 = tail call i32 @ARRAY_SIZE(ptr noundef %21) #2
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %40
24: ; preds = %20, %34
%25 = phi i64 [ %36, %34 ], [ 0, %20 ]
%26 = load ptr, ptr @bt_mesh, align 8, !tbaa !18
%27 = getelementptr inbounds %struct.bt_mesh_app_key, ptr %26, i64 %25
%28 = load i64, ptr %27, align 8, !tbaa !20
%29 = load i64, ptr %0, align 8, !tbaa !6
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %24
%32 = tail call i32 @bt_mesh_app_key_del(ptr noundef nonnull %27, i32 noundef %1) #2
%33 = load ptr, ptr @bt_mesh, align 8, !tbaa !18
br label %34
34: ; preds = %31, %24
%35 = phi ptr [ %33, %31 ], [ %26, %24 ]
%36 = add nuw nsw i64 %25, 1
%37 = tail call i32 @ARRAY_SIZE(ptr noundef %35) #2
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %24, label %40, !llvm.loop !22
40: ; preds = %34, %20
%41 = load i32, ptr @CONFIG_BLE_MESH_FRIEND, align 4, !tbaa !16
%42 = tail call i64 @IS_ENABLED(i32 noundef %41) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %40
%45 = load i64, ptr %0, align 8, !tbaa !6
%46 = tail call i32 @bt_mesh_friend_clear_net_idx(i64 noundef %45) #2
br label %47
47: ; preds = %44, %40
%48 = load i32, ptr @CONFIG_BLE_MESH_SETTINGS, align 4, !tbaa !16
%49 = tail call i64 @IS_ENABLED(i32 noundef %48) #2
%50 = icmp ne i64 %49, 0
%51 = icmp ne i32 %1, 0
%52 = and i1 %51, %50
br i1 %52, label %53, label %55
53: ; preds = %47
%54 = tail call i32 @bt_mesh_clear_subnet(ptr noundef nonnull %0) #2
br label %55
55: ; preds = %53, %47
%56 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 8) #2
%57 = load i64, ptr @BLE_MESH_KEY_UNUSED, align 8, !tbaa !24
store i64 %57, ptr %0, align 8, !tbaa !6
ret void
}
declare i32 @BT_DBG(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hb_pub_disable(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ENABLED(i32 noundef) local_unnamed_addr #1
declare i32 @bt_mesh_store_hb_pub(...) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @bt_mesh_app_key_del(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bt_mesh_friend_clear_net_idx(i64 noundef) local_unnamed_addr #1
declare i32 @bt_mesh_clear_subnet(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bt_mesh_subnet", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_7__", !12, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"bt_mesh_app_key", !8, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!8, !8, i64 0}
| esp-idf_components_bt_esp_ble_mesh_mesh_core_extr_cfg_srv.c_bt_mesh_subnet_del |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_realtek.c_alc269_fixup_hp_gpio_led.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_realtek.c_alc269_fixup_hp_gpio_led.c"
target datalayout = "e-m:e-p270:32:32-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_verb = type { i32, i32, i32 }
%struct.alc_spec = type { i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@alc269_fixup_hp_gpio_led.gpio_init = internal constant [3 x %struct.hda_verb] [%struct.hda_verb { i32 1, i32 128, i32 24 }, %struct.hda_verb { i32 1, i32 129, i32 24 }, %struct.hda_verb zeroinitializer], align 16
@HDA_FIXUP_ACT_PRE_PROBE = dso_local local_unnamed_addr global i32 0, align 4
@alc269_fixup_hp_gpio_mute_hook = dso_local local_unnamed_addr global i32 0, align 4
@alc269_fixup_hp_gpio_mic_mute_hook = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alc269_fixup_hp_gpio_led], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @alc269_fixup_hp_gpio_led(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = load i32, ptr @HDA_FIXUP_ACT_PRE_PROBE, align 4, !tbaa !5
%5 = icmp eq i32 %4, %2
br i1 %5, label %6, label %13
6: ; preds = %3
%7 = load ptr, ptr %0, align 8, !tbaa !9
%8 = load i32, ptr @alc269_fixup_hp_gpio_mute_hook, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.alc_spec, ptr %7, i64 0, i32 1
%10 = getelementptr inbounds %struct.alc_spec, ptr %7, i64 0, i32 1, i32 1
store i32 %8, ptr %10, align 4, !tbaa !12
%11 = load i32, ptr @alc269_fixup_hp_gpio_mic_mute_hook, align 4, !tbaa !5
store i32 %11, ptr %9, align 8, !tbaa !17
store i64 0, ptr %7, align 8, !tbaa !18
%12 = tail call i32 @snd_hda_add_verbs(ptr noundef nonnull %0, ptr noundef nonnull @alc269_fixup_hp_gpio_led.gpio_init) #2
br label %13
13: ; preds = %6, %3
ret void
}
declare i32 @snd_hda_add_verbs(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"hda_codec", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 12}
!13 = !{!"alc_spec", !14, i64 0, !15, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"TYPE_4__", !6, i64 0, !16, i64 4}
!16 = !{!"TYPE_3__", !6, i64 0}
!17 = !{!13, !6, i64 8}
!18 = !{!13, !14, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_realtek.c_alc269_fixup_hp_gpio_led.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_realtek.c_alc269_fixup_hp_gpio_led.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hda_verb = type { i32, i32, i32 }
@alc269_fixup_hp_gpio_led.gpio_init = internal constant [3 x %struct.hda_verb] [%struct.hda_verb { i32 1, i32 128, i32 24 }, %struct.hda_verb { i32 1, i32 129, i32 24 }, %struct.hda_verb zeroinitializer], align 4
@HDA_FIXUP_ACT_PRE_PROBE = common local_unnamed_addr global i32 0, align 4
@alc269_fixup_hp_gpio_mute_hook = common local_unnamed_addr global i32 0, align 4
@alc269_fixup_hp_gpio_mic_mute_hook = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alc269_fixup_hp_gpio_led], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @alc269_fixup_hp_gpio_led(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = load i32, ptr @HDA_FIXUP_ACT_PRE_PROBE, align 4, !tbaa !6
%5 = icmp eq i32 %4, %2
br i1 %5, label %6, label %13
6: ; preds = %3
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = load i32, ptr @alc269_fixup_hp_gpio_mute_hook, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %7, i64 8
%10 = getelementptr inbounds i8, ptr %7, i64 12
store i32 %8, ptr %10, align 4, !tbaa !13
%11 = load i32, ptr @alc269_fixup_hp_gpio_mic_mute_hook, align 4, !tbaa !6
store i32 %11, ptr %9, align 8, !tbaa !18
store i64 0, ptr %7, align 8, !tbaa !19
%12 = tail call i32 @snd_hda_add_verbs(ptr noundef nonnull %0, ptr noundef nonnull @alc269_fixup_hp_gpio_led.gpio_init) #2
br label %13
13: ; preds = %6, %3
ret void
}
declare i32 @snd_hda_add_verbs(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"hda_codec", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 12}
!14 = !{!"alc_spec", !15, i64 0, !16, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0, !17, i64 4}
!17 = !{!"TYPE_3__", !7, i64 0}
!18 = !{!14, !7, i64 8}
!19 = !{!14, !15, i64 0}
| fastsocket_kernel_sound_pci_hda_extr_patch_realtek.c_alc269_fixup_hp_gpio_led |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_iwcm.c_cm_conn_rep_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_iwcm.c_cm_conn_rep_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.iwcm_id_private = type { i64, i32, %struct.TYPE_6__, i32, ptr, i32 }
%struct.TYPE_6__ = type { ptr, ptr, i32, i32 }
%struct.iw_cm_event = type { i64, i32, i64, i32, i32 }
@IWCM_F_CONNECT_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@IW_CM_STATE_CONN_SENT = dso_local local_unnamed_addr global i64 0, align 8
@IW_CM_STATE_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8
@IW_CM_STATE_IDLE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cm_conn_rep_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cm_conn_rep_handler(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.iwcm_id_private, ptr %0, i64 0, i32 3
%4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2
%5 = load i32, ptr @IWCM_F_CONNECT_WAIT, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.iwcm_id_private, ptr %0, i64 0, i32 5
%7 = tail call i32 @clear_bit(i32 noundef %5, ptr noundef nonnull %6) #2
%8 = load i64, ptr %0, align 8, !tbaa !9
%9 = load i64, ptr @IW_CM_STATE_CONN_SENT, align 8, !tbaa !14
%10 = icmp ne i64 %8, %9
%11 = zext i1 %10 to i32
%12 = tail call i32 @BUG_ON(i32 noundef %11) #2
%13 = load i64, ptr %1, align 8, !tbaa !15
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = getelementptr inbounds %struct.iw_cm_event, ptr %1, i64 0, i32 3
%17 = getelementptr inbounds %struct.iwcm_id_private, ptr %0, i64 0, i32 2, i32 2
%18 = load <2 x i32>, ptr %16, align 8, !tbaa !5
store <2 x i32> %18, ptr %17, align 8, !tbaa !5
br label %27
19: ; preds = %2
%20 = getelementptr inbounds %struct.iwcm_id_private, ptr %0, i64 0, i32 2, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = load ptr, ptr %21, align 8, !tbaa !18
%23 = load ptr, ptr %22, align 8, !tbaa !20
%24 = getelementptr inbounds %struct.iwcm_id_private, ptr %0, i64 0, i32 4
%25 = load ptr, ptr %24, align 8, !tbaa !22
%26 = tail call i32 %23(ptr noundef %25) #2
store ptr null, ptr %24, align 8, !tbaa !22
br label %27
27: ; preds = %19, %15
%28 = phi ptr [ @IW_CM_STATE_IDLE, %19 ], [ @IW_CM_STATE_ESTABLISHED, %15 ]
%29 = load i64, ptr %28, align 8, !tbaa !14
store i64 %29, ptr %0, align 8, !tbaa !9
%30 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2
%31 = getelementptr inbounds %struct.iwcm_id_private, ptr %0, i64 0, i32 2
%32 = load ptr, ptr %31, align 8, !tbaa !23
%33 = tail call i32 %32(ptr noundef nonnull %31, ptr noundef nonnull %1) #2
%34 = getelementptr inbounds %struct.iw_cm_event, ptr %1, i64 0, i32 2
%35 = load i64, ptr %34, align 8, !tbaa !24
%36 = icmp eq i64 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %27
%38 = getelementptr inbounds %struct.iw_cm_event, ptr %1, i64 0, i32 1
%39 = load i32, ptr %38, align 8, !tbaa !25
%40 = tail call i32 @kfree(i32 noundef %39) #2
br label %41
41: ; preds = %37, %27
%42 = getelementptr inbounds %struct.iwcm_id_private, ptr %0, i64 0, i32 1
%43 = tail call i32 @wake_up_all(ptr noundef nonnull %42) #2
ret i32 %33
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
declare i32 @wake_up_all(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 = !{!"iwcm_id_private", !11, i64 0, !6, i64 8, !12, i64 16, !6, i64 40, !13, i64 48, !6, i64 56}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 20}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"iw_cm_event", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !6, i64 28}
!17 = !{!10, !13, i64 24}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_5__", !13, i64 0}
!20 = !{!21, !13, i64 0}
!21 = !{!"TYPE_4__", !13, i64 0}
!22 = !{!10, !13, i64 48}
!23 = !{!10, !13, i64 16}
!24 = !{!16, !11, i64 16}
!25 = !{!16, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_iwcm.c_cm_conn_rep_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_iwcm.c_cm_conn_rep_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IWCM_F_CONNECT_WAIT = common local_unnamed_addr global i32 0, align 4
@IW_CM_STATE_CONN_SENT = common local_unnamed_addr global i64 0, align 8
@IW_CM_STATE_ESTABLISHED = common local_unnamed_addr global i64 0, align 8
@IW_CM_STATE_IDLE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @cm_conn_rep_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cm_conn_rep_handler(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 40
%4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2
%5 = load i32, ptr @IWCM_F_CONNECT_WAIT, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 56
%7 = tail call i32 @clear_bit(i32 noundef %5, ptr noundef nonnull %6) #2
%8 = load i64, ptr %0, align 8, !tbaa !10
%9 = load i64, ptr @IW_CM_STATE_CONN_SENT, align 8, !tbaa !15
%10 = icmp ne i64 %8, %9
%11 = zext i1 %10 to i32
%12 = tail call i32 @BUG_ON(i32 noundef %11) #2
%13 = load i64, ptr %1, align 8, !tbaa !16
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = getelementptr inbounds i8, ptr %1, i64 24
%17 = getelementptr inbounds i8, ptr %0, i64 32
%18 = load <2 x i32>, ptr %16, align 8, !tbaa !6
store <2 x i32> %18, ptr %17, align 8, !tbaa !6
br label %27
19: ; preds = %2
%20 = getelementptr inbounds i8, ptr %0, i64 24
%21 = load ptr, ptr %20, align 8, !tbaa !18
%22 = load ptr, ptr %21, align 8, !tbaa !19
%23 = load ptr, ptr %22, align 8, !tbaa !21
%24 = getelementptr inbounds i8, ptr %0, i64 48
%25 = load ptr, ptr %24, align 8, !tbaa !23
%26 = tail call i32 %23(ptr noundef %25) #2
store ptr null, ptr %24, align 8, !tbaa !23
br label %27
27: ; preds = %19, %15
%28 = phi ptr [ @IW_CM_STATE_IDLE, %19 ], [ @IW_CM_STATE_ESTABLISHED, %15 ]
%29 = load i64, ptr %28, align 8, !tbaa !15
store i64 %29, ptr %0, align 8, !tbaa !10
%30 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2
%31 = getelementptr inbounds i8, ptr %0, i64 16
%32 = load ptr, ptr %31, align 8, !tbaa !24
%33 = tail call i32 %32(ptr noundef nonnull %31, ptr noundef nonnull %1) #2
%34 = getelementptr inbounds i8, ptr %1, i64 16
%35 = load i64, ptr %34, align 8, !tbaa !25
%36 = icmp eq i64 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %27
%38 = getelementptr inbounds i8, ptr %1, i64 8
%39 = load i32, ptr %38, align 8, !tbaa !26
%40 = tail call i32 @kfree(i32 noundef %39) #2
br label %41
41: ; preds = %37, %27
%42 = getelementptr inbounds i8, ptr %0, i64 8
%43 = tail call i32 @wake_up_all(ptr noundef nonnull %42) #2
ret i32 %33
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
declare i32 @wake_up_all(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 = !{!"iwcm_id_private", !12, i64 0, !7, i64 8, !13, i64 16, !7, i64 40, !14, i64 48, !7, i64 56}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0, !14, i64 8, !7, i64 16, !7, i64 20}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"iw_cm_event", !12, i64 0, !7, i64 8, !12, i64 16, !7, i64 24, !7, i64 28}
!18 = !{!11, !14, i64 24}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_5__", !14, i64 0}
!21 = !{!22, !14, i64 0}
!22 = !{!"TYPE_4__", !14, i64 0}
!23 = !{!11, !14, i64 48}
!24 = !{!11, !14, i64 16}
!25 = !{!17, !12, i64 16}
!26 = !{!17, !7, i64 8}
| fastsocket_kernel_drivers_infiniband_core_extr_iwcm.c_cm_conn_rep_handler |
; ModuleID = 'AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_filter.c'
source_filename = "AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.img_ir_priv_hw = type { i32, ptr }
%struct.img_ir_filter = type { i32 }
@IMG_IR_IRQ_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@RC_FILTER_NORMAL = dso_local local_unnamed_addr global i64 0, align 8
@IMG_IR_F_FILTER = dso_local local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_DATA_MATCH = dso_local local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_DATA_VALID = dso_local local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_DATA2_VALID = dso_local local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_img_ir_set_filter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @_img_ir_set_filter(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @IMG_IR_IRQ_ENABLE, align 4, !tbaa !5
%4 = tail call i32 @img_ir_read(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq ptr %1, null
br i1 %5, label %19, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.img_ir_priv_hw, ptr %0, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !9
%9 = load i64, ptr @RC_FILTER_NORMAL, align 8, !tbaa !12
%10 = getelementptr inbounds %struct.img_ir_filter, ptr %8, i64 %9
%11 = load i32, ptr %1, align 4, !tbaa !5
store i32 %11, ptr %10, align 4, !tbaa !5
%12 = load i32, ptr @IMG_IR_F_FILTER, align 4, !tbaa !5
%13 = load i32, ptr %0, align 8, !tbaa !14
%14 = or i32 %13, %12
store i32 %14, ptr %0, align 8, !tbaa !14
%15 = load i32, ptr @IMG_IR_IRQ_DATA_MATCH, align 4, !tbaa !5
%16 = load i32, ptr @IMG_IR_IRQ_DATA_VALID, align 4, !tbaa !5
%17 = load i32, ptr @IMG_IR_IRQ_DATA2_VALID, align 4, !tbaa !5
%18 = or i32 %17, %16
br label %28
19: ; preds = %2
%20 = load i32, ptr @IMG_IR_F_FILTER, align 4, !tbaa !5
%21 = xor i32 %20, -1
%22 = load i32, ptr %0, align 8, !tbaa !14
%23 = and i32 %22, %21
store i32 %23, ptr %0, align 8, !tbaa !14
%24 = load i32, ptr @IMG_IR_IRQ_DATA_MATCH, align 4, !tbaa !5
%25 = load i32, ptr @IMG_IR_IRQ_DATA_VALID, align 4, !tbaa !5
%26 = load i32, ptr @IMG_IR_IRQ_DATA2_VALID, align 4, !tbaa !5
%27 = or i32 %26, %25
br label %28
28: ; preds = %19, %6
%29 = phi i32 [ %18, %6 ], [ %24, %19 ]
%30 = phi i32 [ %15, %6 ], [ %27, %19 ]
%31 = xor i32 %29, -1
%32 = and i32 %4, %31
%33 = or i32 %32, %30
%34 = tail call i32 @img_ir_write_filter(ptr noundef nonnull %0, ptr noundef %1) #2
%35 = load i32, ptr @IMG_IR_IRQ_CLEAR, align 4, !tbaa !5
%36 = tail call i32 @img_ir_write(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %30) #2
%37 = load i32, ptr @IMG_IR_IRQ_ENABLE, align 4, !tbaa !5
%38 = tail call i32 @img_ir_write(ptr noundef nonnull %0, i32 noundef %37, i32 noundef %33) #2
ret void
}
declare i32 @img_ir_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @img_ir_write_filter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @img_ir_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"img_ir_priv_hw", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_filter.c'
source_filename = "AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.img_ir_filter = type { i32 }
@IMG_IR_IRQ_ENABLE = common local_unnamed_addr global i32 0, align 4
@RC_FILTER_NORMAL = common local_unnamed_addr global i64 0, align 8
@IMG_IR_F_FILTER = common local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_DATA_MATCH = common local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_DATA_VALID = common local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_DATA2_VALID = common local_unnamed_addr global i32 0, align 4
@IMG_IR_IRQ_CLEAR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_img_ir_set_filter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @_img_ir_set_filter(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @IMG_IR_IRQ_ENABLE, align 4, !tbaa !6
%4 = tail call i32 @img_ir_read(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq ptr %1, null
br i1 %5, label %19, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = load i64, ptr @RC_FILTER_NORMAL, align 8, !tbaa !13
%10 = getelementptr inbounds %struct.img_ir_filter, ptr %8, i64 %9
%11 = load i32, ptr %1, align 4, !tbaa !6
store i32 %11, ptr %10, align 4, !tbaa !6
%12 = load i32, ptr @IMG_IR_F_FILTER, align 4, !tbaa !6
%13 = load i32, ptr %0, align 8, !tbaa !15
%14 = or i32 %13, %12
store i32 %14, ptr %0, align 8, !tbaa !15
%15 = load i32, ptr @IMG_IR_IRQ_DATA_MATCH, align 4, !tbaa !6
%16 = load i32, ptr @IMG_IR_IRQ_DATA_VALID, align 4, !tbaa !6
%17 = load i32, ptr @IMG_IR_IRQ_DATA2_VALID, align 4, !tbaa !6
%18 = or i32 %17, %16
br label %28
19: ; preds = %2
%20 = load i32, ptr @IMG_IR_F_FILTER, align 4, !tbaa !6
%21 = xor i32 %20, -1
%22 = load i32, ptr %0, align 8, !tbaa !15
%23 = and i32 %22, %21
store i32 %23, ptr %0, align 8, !tbaa !15
%24 = load i32, ptr @IMG_IR_IRQ_DATA_MATCH, align 4, !tbaa !6
%25 = load i32, ptr @IMG_IR_IRQ_DATA_VALID, align 4, !tbaa !6
%26 = load i32, ptr @IMG_IR_IRQ_DATA2_VALID, align 4, !tbaa !6
%27 = or i32 %26, %25
br label %28
28: ; preds = %19, %6
%29 = phi i32 [ %18, %6 ], [ %24, %19 ]
%30 = phi i32 [ %15, %6 ], [ %27, %19 ]
%31 = xor i32 %29, -1
%32 = and i32 %4, %31
%33 = or i32 %32, %30
%34 = tail call i32 @img_ir_write_filter(ptr noundef nonnull %0, ptr noundef %1) #2
%35 = load i32, ptr @IMG_IR_IRQ_CLEAR, align 4, !tbaa !6
%36 = tail call i32 @img_ir_write(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %30) #2
%37 = load i32, ptr @IMG_IR_IRQ_ENABLE, align 4, !tbaa !6
%38 = tail call i32 @img_ir_write(ptr noundef nonnull %0, i32 noundef %37, i32 noundef %33) #2
ret void
}
declare i32 @img_ir_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @img_ir_write_filter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @img_ir_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"img_ir_priv_hw", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !7, i64 0}
| linux_drivers_media_rc_img-ir_extr_img-ir-hw.c__img_ir_set_filter |
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_stmpe.c_stmpe_block_write.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_stmpe.c_stmpe_block_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @stmpe_block_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @mutex_lock(ptr noundef %0) #2
%6 = tail call i32 @__stmpe_block_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2
%7 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %6
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__stmpe_block_write(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_stmpe.c_stmpe_block_write.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_stmpe.c_stmpe_block_write.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 @stmpe_block_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @mutex_lock(ptr noundef %0) #2
%6 = tail call i32 @__stmpe_block_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2
%7 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %6
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__stmpe_block_write(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_mfd_extr_stmpe.c_stmpe_block_write |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/extr_test_tcp_check_syncookie_user.c_main.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/extr_test_tcp_check_syncookie_user.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sockaddr_in = type { i64, i32, i32, i64, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in6 = type { i64, i32, i32, i64, %struct.TYPE_2__, i32 }
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s prog_id\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Can't get map\00", align 1
@AF_INET = dso_local local_unnamed_addr global i32 0, align 4
@INADDR_LOOPBACK = dso_local local_unnamed_addr global i32 0, align 4
@AF_INET6 = dso_local local_unnamed_addr global i32 0, align 4
@in6addr_loopback = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.sockaddr_in, align 8
%4 = alloca %struct.sockaddr_in6, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
%6 = icmp slt i32 %0, 2
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i32, ptr @stderr, align 4, !tbaa !5
%9 = load ptr, ptr %1, align 8, !tbaa !9
%10 = tail call i32 @fprintf(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef %9) #6
%11 = tail call i32 @exit(i32 noundef 1) #7
unreachable
12: ; preds = %2
%13 = getelementptr inbounds ptr, ptr %1, i64 1
%14 = load ptr, ptr %13, align 8, !tbaa !9
%15 = tail call i32 @atoi(ptr nocapture noundef %14)
%16 = call i32 @get_map_fd_by_prog_id(i32 noundef %15, ptr noundef nonnull %5) #6
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = call i32 @log_err(ptr noundef nonnull @.str.1) #6
br label %48
20: ; preds = %12
%21 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #6
%22 = load i32, ptr @AF_INET, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 5
store i32 %22, ptr %23, align 4, !tbaa !11
%24 = load i32, ptr @INADDR_LOOPBACK, align 4, !tbaa !5
%25 = call i32 @htonl(i32 noundef %24)
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 4
store i32 %25, ptr %26, align 8, !tbaa !15
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 3
store i64 0, ptr %27, align 8, !tbaa !16
%28 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 32) #6
%29 = load i32, ptr @AF_INET6, align 4, !tbaa !5
%30 = getelementptr inbounds %struct.sockaddr_in6, ptr %4, i64 0, i32 2
store i32 %29, ptr %30, align 4, !tbaa !17
%31 = load i32, ptr @in6addr_loopback, align 4, !tbaa !5
%32 = getelementptr inbounds %struct.sockaddr_in6, ptr %4, i64 0, i32 1
store i32 %31, ptr %32, align 8, !tbaa !19
store i64 0, ptr %4, align 8, !tbaa !20
%33 = call i32 @start_server(ptr noundef nonnull %3, i32 noundef 32) #6
%34 = icmp eq i32 %33, -1
br i1 %34, label %48, label %35
35: ; preds = %20
%36 = call i32 @start_server(ptr noundef nonnull %4, i32 noundef 32) #6
%37 = icmp eq i32 %36, -1
br i1 %37, label %48, label %38
38: ; preds = %35
%39 = load i32, ptr %5, align 4, !tbaa !5
%40 = call i64 @run_test(i32 noundef %33, i32 noundef %16, i32 noundef %39) #6
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %38
%43 = load i32, ptr %5, align 4, !tbaa !5
%44 = call i64 @run_test(i32 noundef %36, i32 noundef %16, i32 noundef %43) #6
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 @printf(ptr noundef nonnull @.str.2) #6
br label %48
48: ; preds = %18, %20, %35, %38, %42, %46
%49 = phi i32 [ %33, %46 ], [ -1, %18 ], [ -1, %20 ], [ %33, %35 ], [ %33, %38 ], [ %33, %42 ]
%50 = phi i32 [ %36, %46 ], [ -1, %18 ], [ -1, %20 ], [ -1, %35 ], [ %36, %38 ], [ %36, %42 ]
%51 = phi i32 [ 0, %46 ], [ 1, %18 ], [ 1, %20 ], [ 1, %35 ], [ 1, %38 ], [ 1, %42 ]
%52 = call i32 @close(i32 noundef %49) #6
%53 = call i32 @close(i32 noundef %50) #6
%54 = call i32 @close(i32 noundef %16) #6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @get_map_fd_by_prog_id(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #4
declare i32 @log_err(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #5
declare i32 @start_server(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @run_test(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @close(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 = { 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 #5 = { nofree nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 28}
!12 = !{!"sockaddr_in", !13, i64 0, !6, i64 8, !6, i64 12, !13, i64 16, !14, i64 24, !6, i64 28}
!13 = !{!"long", !7, i64 0}
!14 = !{!"TYPE_2__", !6, i64 0}
!15 = !{!12, !6, i64 24}
!16 = !{!12, !13, i64 16}
!17 = !{!18, !6, i64 12}
!18 = !{!"sockaddr_in6", !13, i64 0, !6, i64 8, !6, i64 12, !13, i64 16, !14, i64 24, !6, i64 28}
!19 = !{!18, !6, i64 8}
!20 = !{!18, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/extr_test_tcp_check_syncookie_user.c_main.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/extr_test_tcp_check_syncookie_user.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockaddr_in = type { i64, i32, i32, i64, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in6 = type { i64, i32, i32, i64, %struct.TYPE_2__, i32 }
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s prog_id\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Can't get map\00", align 1
@AF_INET = common local_unnamed_addr global i32 0, align 4
@INADDR_LOOPBACK = common local_unnamed_addr global i32 0, align 4
@AF_INET6 = common local_unnamed_addr global i32 0, align 4
@in6addr_loopback = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.sockaddr_in, align 8
%4 = alloca %struct.sockaddr_in6, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
%6 = icmp slt i32 %0, 2
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i32, ptr @stderr, align 4, !tbaa !6
%9 = load ptr, ptr %1, align 8, !tbaa !10
%10 = tail call i32 @fprintf(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef %9) #6
%11 = tail call i32 @exit(i32 noundef 1) #7
unreachable
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %1, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !10
%15 = tail call i32 @atoi(ptr nocapture noundef %14)
%16 = call i32 @get_map_fd_by_prog_id(i32 noundef %15, ptr noundef nonnull %5) #6
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = call i32 @log_err(ptr noundef nonnull @.str.1) #6
br label %48
20: ; preds = %12
%21 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #6
%22 = load i32, ptr @AF_INET, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %3, i64 28
store i32 %22, ptr %23, align 4, !tbaa !12
%24 = load i32, ptr @INADDR_LOOPBACK, align 4, !tbaa !6
%25 = call i32 @htonl(i32 noundef %24)
%26 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %25, ptr %26, align 8, !tbaa !16
%27 = getelementptr inbounds i8, ptr %3, i64 16
store i64 0, ptr %27, align 8, !tbaa !17
%28 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 32) #6
%29 = load i32, ptr @AF_INET6, align 4, !tbaa !6
%30 = getelementptr inbounds i8, ptr %4, i64 12
store i32 %29, ptr %30, align 4, !tbaa !18
%31 = load i32, ptr @in6addr_loopback, align 4, !tbaa !6
%32 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %31, ptr %32, align 8, !tbaa !20
store i64 0, ptr %4, align 8, !tbaa !21
%33 = call i32 @start_server(ptr noundef nonnull %3, i32 noundef 32) #6
%34 = icmp eq i32 %33, -1
br i1 %34, label %48, label %35
35: ; preds = %20
%36 = call i32 @start_server(ptr noundef nonnull %4, i32 noundef 32) #6
%37 = icmp eq i32 %36, -1
br i1 %37, label %48, label %38
38: ; preds = %35
%39 = load i32, ptr %5, align 4, !tbaa !6
%40 = call i64 @run_test(i32 noundef %33, i32 noundef %16, i32 noundef %39) #6
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %38
%43 = load i32, ptr %5, align 4, !tbaa !6
%44 = call i64 @run_test(i32 noundef %36, i32 noundef %16, i32 noundef %43) #6
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 @printf(ptr noundef nonnull @.str.2) #6
br label %48
48: ; preds = %18, %20, %35, %38, %42, %46
%49 = phi i32 [ %33, %46 ], [ -1, %18 ], [ -1, %20 ], [ %33, %35 ], [ %33, %38 ], [ %33, %42 ]
%50 = phi i32 [ %36, %46 ], [ -1, %18 ], [ -1, %20 ], [ -1, %35 ], [ %36, %38 ], [ %36, %42 ]
%51 = phi i32 [ 0, %46 ], [ 1, %18 ], [ 1, %20 ], [ 1, %35 ], [ 1, %38 ], [ 1, %42 ]
%52 = call i32 @close(i32 noundef %49) #6
%53 = call i32 @close(i32 noundef %50) #6
%54 = call i32 @close(i32 noundef %16) #6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @get_map_fd_by_prog_id(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #4
declare i32 @log_err(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #5
declare i32 @start_server(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @run_test(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @close(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 = { 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 #5 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #6 = { nounwind }
attributes #7 = { 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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 28}
!13 = !{!"sockaddr_in", !14, i64 0, !7, i64 8, !7, i64 12, !14, i64 16, !15, i64 24, !7, i64 28}
!14 = !{!"long", !8, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0}
!16 = !{!13, !7, i64 24}
!17 = !{!13, !14, i64 16}
!18 = !{!19, !7, i64 12}
!19 = !{!"sockaddr_in6", !14, i64 0, !7, i64 8, !7, i64 12, !14, i64 16, !15, i64 24, !7, i64 28}
!20 = !{!19, !7, i64 8}
!21 = !{!19, !14, i64 0}
| linux_tools_testing_selftests_bpf_extr_test_tcp_check_syncookie_user.c_main |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_classmate-laptop.c_cmpc_tablet_add.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_classmate-laptop.c_cmpc_tablet_add.c"
target datalayout = "e-m:e-p270:32:32-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 [12 x i8] c"cmpc_tablet\00", align 1
@cmpc_tablet_idev_init = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cmpc_tablet_add], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cmpc_tablet_add(ptr noundef %0) #0 {
%2 = load i32, ptr @cmpc_tablet_idev_init, align 4, !tbaa !5
%3 = tail call i32 @cmpc_add_acpi_notify_device(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
ret i32 %3
}
declare i32 @cmpc_add_acpi_notify_device(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_classmate-laptop.c_cmpc_tablet_add.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_classmate-laptop.c_cmpc_tablet_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [12 x i8] c"cmpc_tablet\00", align 1
@cmpc_tablet_idev_init = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cmpc_tablet_add], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cmpc_tablet_add(ptr noundef %0) #0 {
%2 = load i32, ptr @cmpc_tablet_idev_init, align 4, !tbaa !6
%3 = tail call i32 @cmpc_add_acpi_notify_device(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
ret i32 %3
}
declare i32 @cmpc_add_acpi_notify_device(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_platform_x86_extr_classmate-laptop.c_cmpc_tablet_add |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_serialGet.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_serialGet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32 }
@MEM_Int = dso_local local_unnamed_addr global i32 0, align 4
@MEM_Null = dso_local local_unnamed_addr global i32 0, align 4
@MEM_Real = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @serialGet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @serialGet(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @FOUR_BYTE_UINT(ptr noundef %0) #3
store i32 %5, ptr %4, align 4, !tbaa !5
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = tail call i32 @FOUR_BYTE_UINT(ptr noundef nonnull %6) #3
%8 = icmp eq i32 %1, 6
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1, i32 1
%11 = load i32, ptr @MEM_Int, align 4, !tbaa !5
store i32 %11, ptr %2, align 4, !tbaa !9
%12 = load i32, ptr %10, align 4, !tbaa !12
%13 = lshr i32 %12, 31
%14 = tail call i32 @testcase(i32 noundef %13) #3
br label %28
15: ; preds = %3
%16 = tail call i32 @swapMixedEndianFloat(i32 noundef 0) #3
%17 = tail call i32 @assert(i32 noundef 0) #3
%18 = tail call i32 @assert(i32 noundef 0) #3
%19 = tail call i32 @swapMixedEndianFloat(i32 noundef %5) #3
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1
%21 = call i32 @memcpy(ptr noundef nonnull %20, ptr noundef nonnull %4, i32 noundef 4) #3
%22 = load i32, ptr %4, align 4, !tbaa !5
%23 = call i64 @IsNaN(i32 noundef %22) #3
%24 = icmp eq i64 %23, 0
%25 = load i32, ptr @MEM_Null, align 4
%26 = load i32, ptr @MEM_Real, align 4
%27 = select i1 %24, i32 %26, i32 %25
store i32 %27, ptr %2, align 4, !tbaa !9
br label %28
28: ; preds = %15, %9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FOUR_BYTE_UINT(ptr noundef) local_unnamed_addr #2
declare i32 @testcase(i32 noundef) local_unnamed_addr #2
declare i32 @swapMixedEndianFloat(i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IsNaN(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0, !11, i64 4}
!11 = !{!"TYPE_4__", !6, i64 0, !6, i64 4}
!12 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_serialGet.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_serialGet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MEM_Int = common local_unnamed_addr global i32 0, align 4
@MEM_Null = common local_unnamed_addr global i32 0, align 4
@MEM_Real = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @serialGet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @serialGet(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @FOUR_BYTE_UINT(ptr noundef %0) #3
store i32 %5, ptr %4, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = tail call i32 @FOUR_BYTE_UINT(ptr noundef nonnull %6) #3
%8 = icmp eq i32 %1, 6
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i32, ptr @MEM_Int, align 4, !tbaa !6
store i32 %11, ptr %2, align 4, !tbaa !10
%12 = load i32, ptr %10, align 4, !tbaa !13
%13 = lshr i32 %12, 31
%14 = tail call i32 @testcase(i32 noundef %13) #3
br label %28
15: ; preds = %3
%16 = tail call i32 @swapMixedEndianFloat(i32 noundef 0) #3
%17 = tail call i32 @assert(i32 noundef 0) #3
%18 = tail call i32 @assert(i32 noundef 0) #3
%19 = tail call i32 @swapMixedEndianFloat(i32 noundef %5) #3
%20 = getelementptr inbounds i8, ptr %2, i64 4
%21 = call i32 @memcpy(ptr noundef nonnull %20, ptr noundef nonnull %4, i32 noundef 4) #3
%22 = load i32, ptr %4, align 4, !tbaa !6
%23 = call i64 @IsNaN(i32 noundef %22) #3
%24 = icmp eq i64 %23, 0
%25 = load i32, ptr @MEM_Null, align 4
%26 = load i32, ptr @MEM_Real, align 4
%27 = select i1 %24, i32 %26, i32 %25
store i32 %27, ptr %2, align 4, !tbaa !10
br label %28
28: ; preds = %15, %9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FOUR_BYTE_UINT(ptr noundef) local_unnamed_addr #2
declare i32 @testcase(i32 noundef) local_unnamed_addr #2
declare i32 @swapMixedEndianFloat(i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IsNaN(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0, !12, i64 4}
!12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!13 = !{!11, !7, i64 8}
| freebsd_contrib_sqlite3_extr_sqlite3.c_serialGet |
; ModuleID = 'AnghaBench/linux/drivers/pnp/extr_card.c_card_suspend.c'
source_filename = "AnghaBench/linux/drivers/pnp/extr_card.c_card_suspend.c"
target datalayout = "e-m:e-p270:32:32-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.pnp_card_link = type { ptr, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @card_suspend], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @card_suspend(ptr nocapture noundef readonly %0, i64 %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.pnp_card_link, ptr %3, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = icmp eq i64 %5, %1
br i1 %6, label %11, label %7
7: ; preds = %2
store i64 %1, ptr %4, align 8, !tbaa.struct !14
%8 = load ptr, ptr %3, align 8, !tbaa !16
%9 = load ptr, ptr %8, align 8, !tbaa !17
%10 = tail call i32 %9(ptr noundef nonnull %3, i64 %1) #1
br label %11
11: ; preds = %2, %7
%12 = phi i32 [ %10, %7 ], [ 0, %2 ]
ret i32 %12
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pnp_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"pnp_card_link", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{i64 0, i64 8, !15}
!15 = !{!13, !13, i64 0}
!16 = !{!11, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_5__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/pnp/extr_card.c_card_suspend.c'
source_filename = "AnghaBench/linux/drivers/pnp/extr_card.c_card_suspend.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 @card_suspend], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @card_suspend(ptr nocapture noundef readonly %0, i64 %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = icmp eq i64 %5, %1
br i1 %6, label %11, label %7
7: ; preds = %2
store i64 %1, ptr %4, align 8, !tbaa !15
%8 = load ptr, ptr %3, align 8, !tbaa !16
%9 = load ptr, ptr %8, align 8, !tbaa !17
%10 = tail call i32 %9(ptr noundef nonnull %3, i64 %1) #1
br label %11
11: ; preds = %2, %7
%12 = phi i32 [ %10, %7 ], [ 0, %2 ]
ret i32 %12
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pnp_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"pnp_card_link", !8, i64 0, !13, i64 8}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_5__", !8, i64 0}
| linux_drivers_pnp_extr_card.c_card_suspend |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atombios_parse_power_table_6.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atombios_parse_power_table_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.radeon_device = type { %struct.TYPE_12__, %struct.TYPE_9__, %struct.radeon_mode_info }
%struct.TYPE_12__ = type { i32, ptr }
%struct.TYPE_9__ = type { i32, i32 }
%struct.radeon_mode_info = type { ptr }
%struct.TYPE_8__ = type { i32, i32, i32, i32 }
%struct._StateArray = type { i32, i64 }
%struct._ClockInfoArray = type { i32, ptr }
%struct.TYPE_10__ = type { i32, i32, ptr }
%struct.TYPE_13__ = type { i32, ptr, ptr, i32 }
%struct.TYPE_11__ = type { i32, i32, i32 }
@DATA = dso_local local_unnamed_addr global i32 0, align 4
@PowerPlayInfo = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@RADEON_PM_MODE_NO_DISPLAY = dso_local local_unnamed_addr global i32 0, align 4
@POWER_STATE_TYPE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @radeon_atombios_parse_power_table_6], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @radeon_atombios_parse_power_table_6(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2
%6 = load i32, ptr @DATA, align 4, !tbaa !5
%7 = load i32, ptr @PowerPlayInfo, align 4, !tbaa !5
%8 = tail call i32 @GetIndexIntoMasterTable(i32 noundef %6, i32 noundef %7) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
%9 = load ptr, ptr %5, align 8, !tbaa !9
%10 = call i32 @atom_parse_data_header(ptr noundef %9, i32 noundef %8, ptr noundef null, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2) #4
%11 = icmp eq i32 %10, 0
br i1 %11, label %193, label %12
12: ; preds = %1
%13 = load ptr, ptr %5, align 8, !tbaa !9
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = load i64, ptr %2, align 8, !tbaa !15
%16 = add nsw i64 %15, %14
%17 = inttoptr i64 %16 to ptr
%18 = getelementptr inbounds %struct.TYPE_8__, ptr %17, i64 0, i32 3
%19 = call i32 @radeon_atombios_add_pplib_thermal_controller(ptr noundef nonnull %0, ptr noundef nonnull %18) #4
%20 = load ptr, ptr %5, align 8, !tbaa !9
%21 = load i64, ptr %20, align 8, !tbaa !12
%22 = load i64, ptr %2, align 8, !tbaa !15
%23 = add nsw i64 %22, %21
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %17, i64 0, i32 2
%25 = load i32, ptr %24, align 4, !tbaa !16
%26 = call i64 @le16_to_cpu(i32 noundef %25) #4
%27 = add nsw i64 %23, %26
%28 = inttoptr i64 %27 to ptr
%29 = load ptr, ptr %5, align 8, !tbaa !9
%30 = load i64, ptr %29, align 8, !tbaa !12
%31 = load i64, ptr %2, align 8, !tbaa !15
%32 = add nsw i64 %31, %30
%33 = getelementptr inbounds %struct.TYPE_8__, ptr %17, i64 0, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !16
%35 = call i64 @le16_to_cpu(i32 noundef %34) #4
%36 = add nsw i64 %32, %35
%37 = inttoptr i64 %36 to ptr
%38 = load ptr, ptr %5, align 8, !tbaa !9
%39 = load i64, ptr %38, align 8, !tbaa !12
%40 = load i64, ptr %2, align 8, !tbaa !15
%41 = add nsw i64 %40, %39
%42 = load i32, ptr %17, align 4, !tbaa !16
%43 = call i64 @le16_to_cpu(i32 noundef %42) #4
%44 = add nsw i64 %41, %43
%45 = inttoptr i64 %44 to ptr
%46 = load i32, ptr %28, align 8, !tbaa !17
%47 = icmp eq i32 %46, 0
br i1 %47, label %193, label %48
48: ; preds = %12
%49 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%50 = call ptr @kcalloc(i32 noundef %46, i32 noundef 4, i32 noundef %49) #4
%51 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
store ptr %50, ptr %51, align 8, !tbaa !19
%52 = icmp eq ptr %50, null
br i1 %52, label %193, label %53
53: ; preds = %48
%54 = load i32, ptr %28, align 8, !tbaa !17
%55 = icmp sgt i32 %54, 0
br i1 %55, label %56, label %182
56: ; preds = %53
%57 = getelementptr inbounds %struct._StateArray, ptr %28, i64 0, i32 1
%58 = load i64, ptr %57, align 8, !tbaa !23
%59 = inttoptr i64 %58 to ptr
%60 = getelementptr inbounds %struct._ClockInfoArray, ptr %37, i64 0, i32 1
%61 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 1
br label %71
62: ; preds = %132
%63 = icmp sgt i32 %133, 0
br i1 %63, label %64, label %182
64: ; preds = %62
%65 = load ptr, ptr %51, align 8, !tbaa !19
%66 = zext nneg i32 %133 to i64
%67 = and i64 %66, 1
%68 = icmp eq i32 %133, 1
br i1 %68, label %169, label %69
69: ; preds = %64
%70 = and i64 %66, 2147483646
br label %142
71: ; preds = %56, %132
%72 = phi i64 [ 0, %56 ], [ %138, %132 ]
%73 = phi ptr [ %59, %56 ], [ %137, %132 ]
%74 = phi i32 [ 0, %56 ], [ %133, %132 ]
%75 = load i32, ptr %73, align 8, !tbaa !16
%76 = load ptr, ptr %45, align 8, !tbaa !24
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds i32, ptr %76, i64 %77
%79 = getelementptr inbounds %struct.TYPE_10__, ptr %73, i64 0, i32 1
%80 = load i32, ptr %79, align 4, !tbaa !16
%81 = call i32 @llvm.umax.i32(i32 %80, i32 1)
%82 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%83 = call ptr @kcalloc(i32 noundef %81, i32 noundef 4, i32 noundef %82) #4
%84 = load ptr, ptr %51, align 8, !tbaa !19
%85 = getelementptr inbounds %struct.TYPE_13__, ptr %84, i64 %72, i32 1
store ptr %83, ptr %85, align 8, !tbaa !26
%86 = icmp eq ptr %83, null
br i1 %86, label %193, label %87
87: ; preds = %71
%88 = load i32, ptr %79, align 4, !tbaa !16
%89 = icmp eq i32 %88, 0
br i1 %89, label %116, label %90
90: ; preds = %87
%91 = icmp sgt i32 %88, 0
br i1 %91, label %95, label %92
92: ; preds = %90
%93 = sext i32 %74 to i64
%94 = getelementptr inbounds %struct.TYPE_13__, ptr %84, i64 %93
store i32 0, ptr %94, align 8, !tbaa !28
br label %132
95: ; preds = %90
%96 = getelementptr inbounds %struct.TYPE_10__, ptr %73, i64 0, i32 2
br label %97
97: ; preds = %95, %97
%98 = phi i64 [ 0, %95 ], [ %112, %97 ]
%99 = phi i32 [ 0, %95 ], [ %111, %97 ]
%100 = load ptr, ptr %96, align 8, !tbaa !16
%101 = getelementptr inbounds i32, ptr %100, i64 %98
%102 = load i32, ptr %101, align 4, !tbaa !5
%103 = load ptr, ptr %60, align 8, !tbaa !29
%104 = load i32, ptr %37, align 8, !tbaa !31
%105 = mul nsw i32 %104, %102
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %103, i64 %106
%108 = call i32 @radeon_atombios_parse_pplib_clock_info(ptr noundef %0, i32 noundef %74, i32 noundef %99, ptr noundef %107) #4
%109 = icmp ne i32 %108, 0
%110 = zext i1 %109 to i32
%111 = add nuw nsw i32 %99, %110
%112 = add nuw nsw i64 %98, 1
%113 = load i32, ptr %79, align 4, !tbaa !16
%114 = sext i32 %113 to i64
%115 = icmp slt i64 %112, %114
br i1 %115, label %97, label %123, !llvm.loop !32
116: ; preds = %87
%117 = sext i32 %74 to i64
%118 = getelementptr inbounds %struct.TYPE_13__, ptr %84, i64 %117, i32 1
%119 = load ptr, ptr %118, align 8, !tbaa !26
%120 = getelementptr inbounds %struct.TYPE_11__, ptr %119, i64 0, i32 1
%121 = load <2 x i32>, ptr %61, align 8, !tbaa !5
store <2 x i32> %121, ptr %120, align 4, !tbaa !5
%122 = getelementptr inbounds %struct.TYPE_13__, ptr %84, i64 %117
store i32 1, ptr %122, align 8, !tbaa !28
br label %128
123: ; preds = %97
%124 = load ptr, ptr %51, align 8, !tbaa !19
%125 = sext i32 %74 to i64
%126 = getelementptr inbounds %struct.TYPE_13__, ptr %124, i64 %125
store i32 %111, ptr %126, align 8, !tbaa !28
%127 = icmp eq i32 %111, 0
br i1 %127, label %132, label %128
128: ; preds = %116, %123
%129 = phi i32 [ 1, %116 ], [ %111, %123 ]
%130 = call i32 @radeon_atombios_parse_pplib_non_clock_info(ptr noundef nonnull %0, i32 noundef %74, i32 noundef %129, ptr noundef %78) #4
%131 = add nsw i32 %74, 1
br label %132
132: ; preds = %92, %128, %123
%133 = phi i32 [ %131, %128 ], [ %74, %123 ], [ %74, %92 ]
%134 = load i32, ptr %79, align 4, !tbaa !16
%135 = add nsw i32 %134, 2
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %73, i64 %136
%138 = add nuw nsw i64 %72, 1
%139 = load i32, ptr %28, align 8, !tbaa !17
%140 = sext i32 %139 to i64
%141 = icmp slt i64 %138, %140
br i1 %141, label %71, label %62, !llvm.loop !34
142: ; preds = %165, %69
%143 = phi i64 [ 0, %69 ], [ %166, %165 ]
%144 = phi i64 [ 0, %69 ], [ %167, %165 ]
%145 = getelementptr inbounds %struct.TYPE_13__, ptr %65, i64 %143
%146 = load i32, ptr %145, align 8, !tbaa !28
%147 = icmp sgt i32 %146, 1
br i1 %147, label %148, label %154
148: ; preds = %142
%149 = load i32, ptr @RADEON_PM_MODE_NO_DISPLAY, align 4, !tbaa !5
%150 = getelementptr inbounds %struct.TYPE_13__, ptr %65, i64 %143, i32 1
%151 = load ptr, ptr %150, align 8, !tbaa !26
%152 = load i32, ptr %151, align 4, !tbaa !35
%153 = or i32 %152, %149
store i32 %153, ptr %151, align 4, !tbaa !35
br label %154
154: ; preds = %142, %148
%155 = or disjoint i64 %143, 1
%156 = getelementptr inbounds %struct.TYPE_13__, ptr %65, i64 %155
%157 = load i32, ptr %156, align 8, !tbaa !28
%158 = icmp sgt i32 %157, 1
br i1 %158, label %159, label %165
159: ; preds = %154
%160 = load i32, ptr @RADEON_PM_MODE_NO_DISPLAY, align 4, !tbaa !5
%161 = getelementptr inbounds %struct.TYPE_13__, ptr %65, i64 %155, i32 1
%162 = load ptr, ptr %161, align 8, !tbaa !26
%163 = load i32, ptr %162, align 4, !tbaa !35
%164 = or i32 %163, %160
store i32 %164, ptr %162, align 4, !tbaa !35
br label %165
165: ; preds = %159, %154
%166 = add nuw nsw i64 %143, 2
%167 = add i64 %144, 2
%168 = icmp eq i64 %167, %70
br i1 %168, label %169, label %142, !llvm.loop !37
169: ; preds = %165, %64
%170 = phi i64 [ 0, %64 ], [ %166, %165 ]
%171 = icmp eq i64 %67, 0
br i1 %171, label %182, label %172
172: ; preds = %169
%173 = getelementptr inbounds %struct.TYPE_13__, ptr %65, i64 %170
%174 = load i32, ptr %173, align 8, !tbaa !28
%175 = icmp sgt i32 %174, 1
br i1 %175, label %176, label %182
176: ; preds = %172
%177 = load i32, ptr @RADEON_PM_MODE_NO_DISPLAY, align 4, !tbaa !5
%178 = getelementptr inbounds %struct.TYPE_13__, ptr %65, i64 %170, i32 1
%179 = load ptr, ptr %178, align 8, !tbaa !26
%180 = load i32, ptr %179, align 4, !tbaa !35
%181 = or i32 %180, %177
store i32 %181, ptr %179, align 4, !tbaa !35
br label %182
182: ; preds = %169, %176, %172, %53, %62
%183 = phi i32 [ %133, %62 ], [ 0, %53 ], [ %133, %172 ], [ %133, %176 ], [ %133, %169 ]
%184 = load i32, ptr %0, align 8, !tbaa !38
%185 = icmp eq i32 %184, -1
br i1 %185, label %186, label %193
186: ; preds = %182
%187 = load i32, ptr @POWER_STATE_TYPE_DEFAULT, align 4, !tbaa !5
%188 = load ptr, ptr %51, align 8, !tbaa !19
%189 = getelementptr inbounds %struct.TYPE_13__, ptr %188, i64 0, i32 3
store i32 %187, ptr %189, align 8, !tbaa !39
store i32 0, ptr %0, align 8, !tbaa !38
%190 = getelementptr inbounds %struct.TYPE_13__, ptr %188, i64 0, i32 1
%191 = load ptr, ptr %190, align 8, !tbaa !26
%192 = getelementptr inbounds %struct.TYPE_13__, ptr %188, i64 0, i32 2
store ptr %191, ptr %192, align 8, !tbaa !40
br label %193
193: ; preds = %71, %182, %186, %48, %12, %1
%194 = phi i32 [ 0, %1 ], [ 0, %12 ], [ 0, %48 ], [ %183, %186 ], [ %183, %182 ], [ %74, %71 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %194
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GetIndexIntoMasterTable(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @atom_parse_data_header(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_atombios_add_pplib_thermal_controller(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_atombios_parse_pplib_clock_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_atombios_parse_pplib_non_clock_info(ptr noundef, 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"radeon_mode_info", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_14__", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_StateArray", !6, i64 0, !14, i64 8}
!19 = !{!20, !11, i64 8}
!20 = !{!"radeon_device", !21, i64 0, !22, i64 16, !10, i64 24}
!21 = !{!"TYPE_12__", !6, i64 0, !11, i64 8}
!22 = !{!"TYPE_9__", !6, i64 0, !6, i64 4}
!23 = !{!18, !14, i64 8}
!24 = !{!25, !11, i64 0}
!25 = !{!"_NonClockInfoArray", !11, i64 0}
!26 = !{!27, !11, i64 8}
!27 = !{!"TYPE_13__", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24}
!28 = !{!27, !6, i64 0}
!29 = !{!30, !11, i64 8}
!30 = !{!"_ClockInfoArray", !6, i64 0, !11, i64 8}
!31 = !{!30, !6, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = !{!36, !6, i64 0}
!36 = !{!"TYPE_11__", !6, i64 0, !6, i64 4, !6, i64 8}
!37 = distinct !{!37, !33}
!38 = !{!20, !6, i64 0}
!39 = !{!27, !6, i64 24}
!40 = !{!27, !11, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atombios_parse_power_table_6.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atombios_parse_power_table_6.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_13__ = type { i32, ptr, ptr, i32 }
@DATA = common local_unnamed_addr global i32 0, align 4
@PowerPlayInfo = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@RADEON_PM_MODE_NO_DISPLAY = common local_unnamed_addr global i32 0, align 4
@POWER_STATE_TYPE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @radeon_atombios_parse_power_table_6], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @radeon_atombios_parse_power_table_6(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load i32, ptr @DATA, align 4, !tbaa !6
%7 = load i32, ptr @PowerPlayInfo, align 4, !tbaa !6
%8 = tail call i32 @GetIndexIntoMasterTable(i32 noundef %6, i32 noundef %7) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
%9 = load ptr, ptr %5, align 8, !tbaa !10
%10 = call i32 @atom_parse_data_header(ptr noundef %9, i32 noundef %8, ptr noundef null, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2) #4
%11 = icmp eq i32 %10, 0
br i1 %11, label %163, label %12
12: ; preds = %1
%13 = load ptr, ptr %5, align 8, !tbaa !10
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = load i64, ptr %2, align 8, !tbaa !16
%16 = add nsw i64 %15, %14
%17 = inttoptr i64 %16 to ptr
%18 = getelementptr inbounds i8, ptr %17, i64 12
%19 = call i32 @radeon_atombios_add_pplib_thermal_controller(ptr noundef nonnull %0, ptr noundef nonnull %18) #4
%20 = load ptr, ptr %5, align 8, !tbaa !10
%21 = load i64, ptr %20, align 8, !tbaa !13
%22 = load i64, ptr %2, align 8, !tbaa !16
%23 = add nsw i64 %22, %21
%24 = getelementptr inbounds i8, ptr %17, i64 8
%25 = load i32, ptr %24, align 4, !tbaa !17
%26 = call i64 @le16_to_cpu(i32 noundef %25) #4
%27 = add nsw i64 %23, %26
%28 = inttoptr i64 %27 to ptr
%29 = load ptr, ptr %5, align 8, !tbaa !10
%30 = load i64, ptr %29, align 8, !tbaa !13
%31 = load i64, ptr %2, align 8, !tbaa !16
%32 = add nsw i64 %31, %30
%33 = getelementptr inbounds i8, ptr %17, i64 4
%34 = load i32, ptr %33, align 4, !tbaa !17
%35 = call i64 @le16_to_cpu(i32 noundef %34) #4
%36 = add nsw i64 %32, %35
%37 = inttoptr i64 %36 to ptr
%38 = load ptr, ptr %5, align 8, !tbaa !10
%39 = load i64, ptr %38, align 8, !tbaa !13
%40 = load i64, ptr %2, align 8, !tbaa !16
%41 = add nsw i64 %40, %39
%42 = load i32, ptr %17, align 4, !tbaa !17
%43 = call i64 @le16_to_cpu(i32 noundef %42) #4
%44 = add nsw i64 %41, %43
%45 = inttoptr i64 %44 to ptr
%46 = load i32, ptr %28, align 8, !tbaa !18
%47 = icmp eq i32 %46, 0
br i1 %47, label %163, label %48
48: ; preds = %12
%49 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%50 = call ptr @kcalloc(i32 noundef %46, i32 noundef 4, i32 noundef %49) #4
%51 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %50, ptr %51, align 8, !tbaa !20
%52 = icmp eq ptr %50, null
br i1 %52, label %163, label %53
53: ; preds = %48
%54 = load i32, ptr %28, align 8, !tbaa !18
%55 = icmp sgt i32 %54, 0
br i1 %55, label %56, label %152
56: ; preds = %53
%57 = getelementptr inbounds i8, ptr %28, i64 8
%58 = load i64, ptr %57, align 8, !tbaa !24
%59 = inttoptr i64 %58 to ptr
%60 = getelementptr inbounds i8, ptr %37, i64 8
%61 = getelementptr inbounds i8, ptr %0, i64 16
br label %67
62: ; preds = %128
%63 = icmp sgt i32 %129, 0
br i1 %63, label %64, label %152
64: ; preds = %62
%65 = load ptr, ptr %51, align 8, !tbaa !20
%66 = zext nneg i32 %129 to i64
br label %138
67: ; preds = %56, %128
%68 = phi i64 [ 0, %56 ], [ %134, %128 ]
%69 = phi ptr [ %59, %56 ], [ %133, %128 ]
%70 = phi i32 [ 0, %56 ], [ %129, %128 ]
%71 = load i32, ptr %69, align 8, !tbaa !17
%72 = load ptr, ptr %45, align 8, !tbaa !25
%73 = sext i32 %71 to i64
%74 = getelementptr inbounds i32, ptr %72, i64 %73
%75 = getelementptr inbounds i8, ptr %69, i64 4
%76 = load i32, ptr %75, align 4, !tbaa !17
%77 = call i32 @llvm.umax.i32(i32 %76, i32 1)
%78 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%79 = call ptr @kcalloc(i32 noundef %77, i32 noundef 4, i32 noundef %78) #4
%80 = load ptr, ptr %51, align 8, !tbaa !20
%81 = getelementptr inbounds %struct.TYPE_13__, ptr %80, i64 %68, i32 1
store ptr %79, ptr %81, align 8, !tbaa !27
%82 = icmp eq ptr %79, null
br i1 %82, label %163, label %83
83: ; preds = %67
%84 = load i32, ptr %75, align 4, !tbaa !17
%85 = icmp eq i32 %84, 0
br i1 %85, label %112, label %86
86: ; preds = %83
%87 = icmp sgt i32 %84, 0
br i1 %87, label %91, label %88
88: ; preds = %86
%89 = sext i32 %70 to i64
%90 = getelementptr inbounds %struct.TYPE_13__, ptr %80, i64 %89
store i32 0, ptr %90, align 8, !tbaa !29
br label %128
91: ; preds = %86
%92 = getelementptr inbounds i8, ptr %69, i64 8
br label %93
93: ; preds = %91, %93
%94 = phi i64 [ 0, %91 ], [ %108, %93 ]
%95 = phi i32 [ 0, %91 ], [ %107, %93 ]
%96 = load ptr, ptr %92, align 8, !tbaa !17
%97 = getelementptr inbounds i32, ptr %96, i64 %94
%98 = load i32, ptr %97, align 4, !tbaa !6
%99 = load ptr, ptr %60, align 8, !tbaa !30
%100 = load i32, ptr %37, align 8, !tbaa !32
%101 = mul nsw i32 %100, %98
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %99, i64 %102
%104 = call i32 @radeon_atombios_parse_pplib_clock_info(ptr noundef %0, i32 noundef %70, i32 noundef %95, ptr noundef %103) #4
%105 = icmp ne i32 %104, 0
%106 = zext i1 %105 to i32
%107 = add nuw nsw i32 %95, %106
%108 = add nuw nsw i64 %94, 1
%109 = load i32, ptr %75, align 4, !tbaa !17
%110 = sext i32 %109 to i64
%111 = icmp slt i64 %108, %110
br i1 %111, label %93, label %119, !llvm.loop !33
112: ; preds = %83
%113 = sext i32 %70 to i64
%114 = getelementptr inbounds %struct.TYPE_13__, ptr %80, i64 %113, i32 1
%115 = load ptr, ptr %114, align 8, !tbaa !27
%116 = getelementptr inbounds i8, ptr %115, i64 4
%117 = load <2 x i32>, ptr %61, align 8, !tbaa !6
store <2 x i32> %117, ptr %116, align 4, !tbaa !6
%118 = getelementptr inbounds %struct.TYPE_13__, ptr %80, i64 %113
store i32 1, ptr %118, align 8, !tbaa !29
br label %124
119: ; preds = %93
%120 = load ptr, ptr %51, align 8, !tbaa !20
%121 = sext i32 %70 to i64
%122 = getelementptr inbounds %struct.TYPE_13__, ptr %120, i64 %121
store i32 %107, ptr %122, align 8, !tbaa !29
%123 = icmp eq i32 %107, 0
br i1 %123, label %128, label %124
124: ; preds = %112, %119
%125 = phi i32 [ 1, %112 ], [ %107, %119 ]
%126 = call i32 @radeon_atombios_parse_pplib_non_clock_info(ptr noundef nonnull %0, i32 noundef %70, i32 noundef %125, ptr noundef %74) #4
%127 = add nsw i32 %70, 1
br label %128
128: ; preds = %88, %124, %119
%129 = phi i32 [ %127, %124 ], [ %70, %119 ], [ %70, %88 ]
%130 = load i32, ptr %75, align 4, !tbaa !17
%131 = add nsw i32 %130, 2
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %69, i64 %132
%134 = add nuw nsw i64 %68, 1
%135 = load i32, ptr %28, align 8, !tbaa !18
%136 = sext i32 %135 to i64
%137 = icmp slt i64 %134, %136
br i1 %137, label %67, label %62, !llvm.loop !35
138: ; preds = %64, %149
%139 = phi i64 [ 0, %64 ], [ %150, %149 ]
%140 = getelementptr inbounds %struct.TYPE_13__, ptr %65, i64 %139
%141 = load i32, ptr %140, align 8, !tbaa !29
%142 = icmp sgt i32 %141, 1
br i1 %142, label %143, label %149
143: ; preds = %138
%144 = load i32, ptr @RADEON_PM_MODE_NO_DISPLAY, align 4, !tbaa !6
%145 = getelementptr inbounds i8, ptr %140, i64 8
%146 = load ptr, ptr %145, align 8, !tbaa !27
%147 = load i32, ptr %146, align 4, !tbaa !36
%148 = or i32 %147, %144
store i32 %148, ptr %146, align 4, !tbaa !36
br label %149
149: ; preds = %138, %143
%150 = add nuw nsw i64 %139, 1
%151 = icmp eq i64 %150, %66
br i1 %151, label %152, label %138, !llvm.loop !38
152: ; preds = %149, %53, %62
%153 = phi i32 [ %129, %62 ], [ 0, %53 ], [ %129, %149 ]
%154 = load i32, ptr %0, align 8, !tbaa !39
%155 = icmp eq i32 %154, -1
br i1 %155, label %156, label %163
156: ; preds = %152
%157 = load i32, ptr @POWER_STATE_TYPE_DEFAULT, align 4, !tbaa !6
%158 = load ptr, ptr %51, align 8, !tbaa !20
%159 = getelementptr inbounds i8, ptr %158, i64 24
store i32 %157, ptr %159, align 8, !tbaa !40
store i32 0, ptr %0, align 8, !tbaa !39
%160 = getelementptr inbounds i8, ptr %158, i64 8
%161 = load ptr, ptr %160, align 8, !tbaa !27
%162 = getelementptr inbounds i8, ptr %158, i64 16
store ptr %161, ptr %162, align 8, !tbaa !41
br label %163
163: ; preds = %67, %152, %156, %48, %12, %1
%164 = phi i32 [ 0, %1 ], [ 0, %12 ], [ 0, %48 ], [ %153, %156 ], [ %153, %152 ], [ %70, %67 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %164
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GetIndexIntoMasterTable(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @atom_parse_data_header(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_atombios_add_pplib_thermal_controller(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_atombios_parse_pplib_clock_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_atombios_parse_pplib_non_clock_info(ptr noundef, 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !12, i64 0}
!11 = !{!"radeon_mode_info", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_14__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"_StateArray", !7, i64 0, !15, i64 8}
!20 = !{!21, !12, i64 8}
!21 = !{!"radeon_device", !22, i64 0, !23, i64 16, !11, i64 24}
!22 = !{!"TYPE_12__", !7, i64 0, !12, i64 8}
!23 = !{!"TYPE_9__", !7, i64 0, !7, i64 4}
!24 = !{!19, !15, i64 8}
!25 = !{!26, !12, i64 0}
!26 = !{!"_NonClockInfoArray", !12, i64 0}
!27 = !{!28, !12, i64 8}
!28 = !{!"TYPE_13__", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24}
!29 = !{!28, !7, i64 0}
!30 = !{!31, !12, i64 8}
!31 = !{!"_ClockInfoArray", !7, i64 0, !12, i64 8}
!32 = !{!31, !7, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = !{!37, !7, i64 0}
!37 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !7, i64 8}
!38 = distinct !{!38, !34}
!39 = !{!21, !7, i64 0}
!40 = !{!28, !7, i64 24}
!41 = !{!28, !12, i64 16}
| linux_drivers_gpu_drm_radeon_extr_radeon_atombios.c_radeon_atombios_parse_power_table_6 |
; ModuleID = 'AnghaBench/nuklear/demo/gdip/extr_nuklear_gdip.h_nk_gdip_scissor.c'
source_filename = "AnghaBench/nuklear/demo/gdip/extr_nuklear_gdip.h_nk_gdip_scissor.c"
target datalayout = "e-m:e-p270:32:32-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 }
@gdip = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@CombineModeReplace = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nk_gdip_scissor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nk_gdip_scissor(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = load i32, ptr @gdip, align 4, !tbaa !5
%6 = fptosi float %0 to i32
%7 = fptosi float %1 to i32
%8 = fadd float %2, 1.000000e+00
%9 = fptosi float %8 to i32
%10 = fadd float %3, 1.000000e+00
%11 = fptosi float %10 to i32
%12 = load i32, ptr @CombineModeReplace, align 4, !tbaa !10
%13 = tail call i32 @GdipSetClipRectI(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %12) #2
ret void
}
declare i32 @GdipSetClipRectI(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, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/nuklear/demo/gdip/extr_nuklear_gdip.h_nk_gdip_scissor.c'
source_filename = "AnghaBench/nuklear/demo/gdip/extr_nuklear_gdip.h_nk_gdip_scissor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@gdip = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@CombineModeReplace = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nk_gdip_scissor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nk_gdip_scissor(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = load i32, ptr @gdip, align 4, !tbaa !6
%6 = fptosi float %0 to i32
%7 = fptosi float %1 to i32
%8 = fadd float %2, 1.000000e+00
%9 = fptosi float %8 to i32
%10 = fadd float %3, 1.000000e+00
%11 = fptosi float %10 to i32
%12 = load i32, ptr @CombineModeReplace, align 4, !tbaa !11
%13 = tail call i32 @GdipSetClipRectI(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %12) #2
ret void
}
declare i32 @GdipSetClipRectI(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, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| nuklear_demo_gdip_extr_nuklear_gdip.h_nk_gdip_scissor |
; ModuleID = 'AnghaBench/freebsd/usr.bin/calendar/extr_io.c_cal_fopen.c'
source_filename = "AnghaBench/freebsd/usr.bin/calendar/extr_io.c_cal_fopen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Cannot get home directory\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Cannot enter home directory\00", align 1
@calendarHomes = dso_local local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"can't open calendar file \22%s\22\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cal_fopen], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noalias noundef ptr @cal_fopen(ptr noundef %0) #0 {
%2 = tail call ptr @getenv(ptr noundef nonnull @.str)
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i8, ptr %2, align 1, !tbaa !5
%6 = icmp eq i8 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4, %1
%8 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.1) #4
br label %36
9: ; preds = %4
%10 = tail call i64 @chdir(ptr noundef nonnull %2) #4
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load ptr, ptr @calendarHomes, align 8, !tbaa !8
%14 = tail call i32 @nitems(ptr noundef %13) #4
%15 = icmp eq i32 %14, 0
br i1 %15, label %34, label %18
16: ; preds = %9
%17 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.2) #4
br label %36
18: ; preds = %12, %28
%19 = phi i64 [ %29, %28 ], [ 0, %12 ]
%20 = load ptr, ptr @calendarHomes, align 8, !tbaa !8
%21 = getelementptr inbounds ptr, ptr %20, i64 %19
%22 = load ptr, ptr %21, align 8, !tbaa !8
%23 = tail call i64 @chdir(ptr noundef %22) #4
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %18
%26 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.3)
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %36
28: ; preds = %25, %18
%29 = add nuw nsw i64 %19, 1
%30 = load ptr, ptr @calendarHomes, align 8, !tbaa !8
%31 = tail call i32 @nitems(ptr noundef %30) #4
%32 = zext i32 %31 to i64
%33 = icmp ult i64 %29, %32
br i1 %33, label %18, label %34, !llvm.loop !10
34: ; preds = %28, %12
%35 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.4, ptr noundef %0) #4
br label %36
36: ; preds = %25, %34, %16, %7
%37 = phi ptr [ null, %7 ], [ null, %16 ], [ null, %34 ], [ %26, %25 ]
ret ptr %37
}
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1
declare i32 @warnx(ptr noundef, ...) local_unnamed_addr #2
declare i64 @chdir(ptr noundef) local_unnamed_addr #2
declare i32 @nitems(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #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 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/calendar/extr_io.c_cal_fopen.c'
source_filename = "AnghaBench/freebsd/usr.bin/calendar/extr_io.c_cal_fopen.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"HOME\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Cannot get home directory\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Cannot enter home directory\00", align 1
@calendarHomes = common local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"can't open calendar file \22%s\22\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cal_fopen], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noalias noundef ptr @cal_fopen(ptr noundef %0) #0 {
%2 = tail call ptr @getenv(ptr noundef nonnull @.str)
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i8, ptr %2, align 1, !tbaa !6
%6 = icmp eq i8 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4, %1
%8 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.1) #4
br label %36
9: ; preds = %4
%10 = tail call i64 @chdir(ptr noundef nonnull %2) #4
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load ptr, ptr @calendarHomes, align 8, !tbaa !9
%14 = tail call i32 @nitems(ptr noundef %13) #4
%15 = icmp eq i32 %14, 0
br i1 %15, label %34, label %18
16: ; preds = %9
%17 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.2) #4
br label %36
18: ; preds = %12, %28
%19 = phi i64 [ %29, %28 ], [ 0, %12 ]
%20 = load ptr, ptr @calendarHomes, align 8, !tbaa !9
%21 = getelementptr inbounds ptr, ptr %20, i64 %19
%22 = load ptr, ptr %21, align 8, !tbaa !9
%23 = tail call i64 @chdir(ptr noundef %22) #4
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %18
%26 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.3)
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %36
28: ; preds = %25, %18
%29 = add nuw nsw i64 %19, 1
%30 = load ptr, ptr @calendarHomes, align 8, !tbaa !9
%31 = tail call i32 @nitems(ptr noundef %30) #4
%32 = zext i32 %31 to i64
%33 = icmp ult i64 %29, %32
br i1 %33, label %18, label %34, !llvm.loop !11
34: ; preds = %28, %12
%35 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.4, ptr noundef %0) #4
br label %36
36: ; preds = %25, %34, %16, %7
%37 = phi ptr [ null, %7 ], [ null, %16 ], [ null, %34 ], [ %26, %25 ]
ret ptr %37
}
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1
declare i32 @warnx(ptr noundef, ...) local_unnamed_addr #2
declare i64 @chdir(ptr noundef) local_unnamed_addr #2
declare i32 @nitems(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.bin_calendar_extr_io.c_cal_fopen |
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_meter.c_vm_free_count.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_meter.c_vm_free_count.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64 }
@vm_ndomains = dso_local local_unnamed_addr global i32 0, align 4
@vm_dom = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i64 @vm_free_count() local_unnamed_addr #0 {
%1 = load i32, ptr @vm_ndomains, align 4, !tbaa !5
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %36
3: ; preds = %0
%4 = load ptr, ptr @vm_dom, align 8, !tbaa !9
%5 = zext nneg i32 %1 to i64
%6 = icmp ult i32 %1, 4
br i1 %6, label %25, label %7
7: ; preds = %3
%8 = and i64 %5, 2147483644
br label %9
9: ; preds = %9, %7
%10 = phi i64 [ 0, %7 ], [ %19, %9 ]
%11 = phi <2 x i64> [ zeroinitializer, %7 ], [ %17, %9 ]
%12 = phi <2 x i64> [ zeroinitializer, %7 ], [ %18, %9 ]
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %10
%14 = getelementptr inbounds i64, ptr %13, i64 2
%15 = load <2 x i64>, ptr %13, align 8, !tbaa !11
%16 = load <2 x i64>, ptr %14, align 8, !tbaa !11
%17 = add <2 x i64> %15, %11
%18 = add <2 x i64> %16, %12
%19 = add nuw i64 %10, 4
%20 = icmp eq i64 %19, %8
br i1 %20, label %21, label %9, !llvm.loop !14
21: ; preds = %9
%22 = add <2 x i64> %18, %17
%23 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %22)
%24 = icmp eq i64 %8, %5
br i1 %24, label %36, label %25
25: ; preds = %3, %21
%26 = phi i64 [ 0, %3 ], [ %8, %21 ]
%27 = phi i64 [ 0, %3 ], [ %23, %21 ]
br label %28
28: ; preds = %25, %28
%29 = phi i64 [ %34, %28 ], [ %26, %25 ]
%30 = phi i64 [ %33, %28 ], [ %27, %25 ]
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %29
%32 = load i64, ptr %31, align 8, !tbaa !11
%33 = add nsw i64 %32, %30
%34 = add nuw nsw i64 %29, 1
%35 = icmp eq i64 %34, %5
br i1 %35, label %36, label %28, !llvm.loop !18
36: ; preds = %28, %21, %0
%37 = phi i64 [ 0, %0 ], [ %23, %21 ], [ %33, %28 ]
ret i64 %37
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !17, !16}
| ; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_meter.c_vm_free_count.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_meter.c_vm_free_count.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
@vm_ndomains = common local_unnamed_addr global i32 0, align 4
@vm_dom = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define i64 @vm_free_count() local_unnamed_addr #0 {
%1 = load i32, ptr @vm_ndomains, align 4, !tbaa !6
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %46
3: ; preds = %0
%4 = load ptr, ptr @vm_dom, align 8, !tbaa !10
%5 = zext nneg i32 %1 to i64
%6 = icmp ult i32 %1, 8
br i1 %6, label %35, label %7
7: ; preds = %3
%8 = and i64 %5, 2147483640
br label %9
9: ; preds = %9, %7
%10 = phi i64 [ 0, %7 ], [ %27, %9 ]
%11 = phi <2 x i64> [ zeroinitializer, %7 ], [ %23, %9 ]
%12 = phi <2 x i64> [ zeroinitializer, %7 ], [ %24, %9 ]
%13 = phi <2 x i64> [ zeroinitializer, %7 ], [ %25, %9 ]
%14 = phi <2 x i64> [ zeroinitializer, %7 ], [ %26, %9 ]
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %10
%16 = getelementptr inbounds i8, ptr %15, i64 16
%17 = getelementptr inbounds i8, ptr %15, i64 32
%18 = getelementptr inbounds i8, ptr %15, i64 48
%19 = load <2 x i64>, ptr %15, align 8, !tbaa !12
%20 = load <2 x i64>, ptr %16, align 8, !tbaa !12
%21 = load <2 x i64>, ptr %17, align 8, !tbaa !12
%22 = load <2 x i64>, ptr %18, align 8, !tbaa !12
%23 = add <2 x i64> %19, %11
%24 = add <2 x i64> %20, %12
%25 = add <2 x i64> %21, %13
%26 = add <2 x i64> %22, %14
%27 = add nuw i64 %10, 8
%28 = icmp eq i64 %27, %8
br i1 %28, label %29, label %9, !llvm.loop !15
29: ; preds = %9
%30 = add <2 x i64> %24, %23
%31 = add <2 x i64> %25, %30
%32 = add <2 x i64> %26, %31
%33 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %32)
%34 = icmp eq i64 %8, %5
br i1 %34, label %46, label %35
35: ; preds = %29, %3
%36 = phi i64 [ 0, %3 ], [ %8, %29 ]
%37 = phi i64 [ 0, %3 ], [ %33, %29 ]
br label %38
38: ; preds = %35, %38
%39 = phi i64 [ %44, %38 ], [ %36, %35 ]
%40 = phi i64 [ %43, %38 ], [ %37, %35 ]
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %39
%42 = load i64, ptr %41, align 8, !tbaa !12
%43 = add nsw i64 %42, %40
%44 = add nuw nsw i64 %39, 1
%45 = icmp eq i64 %44, %5
br i1 %45, label %46, label %38, !llvm.loop !19
46: ; preds = %38, %29, %0
%47 = phi i64 [ 0, %0 ], [ %33, %29 ], [ %43, %38 ]
ret i64 %47
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16, !17, !18}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !16, !18, !17}
| freebsd_sys_vm_extr_vm_meter.c_vm_free_count |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_inode.c_fuse_umount_begin.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_inode.c_fuse_umount_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @fuse_umount_begin], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fuse_umount_begin(ptr noundef %0) #0 {
%2 = tail call i32 @get_fuse_conn_super(ptr noundef %0) #2
%3 = tail call i32 @fuse_abort_conn(i32 noundef %2) #2
ret void
}
declare i32 @fuse_abort_conn(i32 noundef) local_unnamed_addr #1
declare i32 @get_fuse_conn_super(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_inode.c_fuse_umount_begin.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_inode.c_fuse_umount_begin.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 @fuse_umount_begin], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fuse_umount_begin(ptr noundef %0) #0 {
%2 = tail call i32 @get_fuse_conn_super(ptr noundef %0) #2
%3 = tail call i32 @fuse_abort_conn(i32 noundef %2) #2
ret void
}
declare i32 @fuse_abort_conn(i32 noundef) local_unnamed_addr #1
declare i32 @get_fuse_conn_super(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_fs_fuse_extr_inode.c_fuse_umount_begin |
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set_default_verify_store.c'
source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set_default_verify_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @SSL_CTX_set_default_verify_store(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 (...) @X509_LOOKUP_store() #2
%4 = tail call ptr @X509_STORE_add_lookup(i32 noundef %2, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = tail call i32 (...) @ERR_set_mark() #2
%8 = tail call i32 @X509_LOOKUP_add_store(ptr noundef nonnull %4, ptr noundef null) #2
%9 = tail call i32 (...) @ERR_pop_to_mark() #2
br label %10
10: ; preds = %1, %6
%11 = phi i32 [ 1, %6 ], [ 0, %1 ]
ret i32 %11
}
declare ptr @X509_STORE_add_lookup(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @X509_LOOKUP_store(...) local_unnamed_addr #1
declare i32 @ERR_set_mark(...) local_unnamed_addr #1
declare i32 @X509_LOOKUP_add_store(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ERR_pop_to_mark(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set_default_verify_store.c'
source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set_default_verify_store.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 @SSL_CTX_set_default_verify_store(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @X509_LOOKUP_store() #2
%4 = tail call ptr @X509_STORE_add_lookup(i32 noundef %2, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = tail call i32 @ERR_set_mark() #2
%8 = tail call i32 @X509_LOOKUP_add_store(ptr noundef nonnull %4, ptr noundef null) #2
%9 = tail call i32 @ERR_pop_to_mark() #2
br label %10
10: ; preds = %1, %6
%11 = phi i32 [ 1, %6 ], [ 0, %1 ]
ret i32 %11
}
declare ptr @X509_STORE_add_lookup(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @X509_LOOKUP_store(...) local_unnamed_addr #1
declare i32 @ERR_set_mark(...) local_unnamed_addr #1
declare i32 @X509_LOOKUP_add_store(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ERR_pop_to_mark(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| openssl_ssl_extr_ssl_lib.c_SSL_CTX_set_default_verify_store |
; ModuleID = 'AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fdmisccmd.c'
source_filename = "AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fdmisccmd.c"
target datalayout = "e-m:e-p270:32:32-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.bio = type { i32, i32, i32, i32, i32, ptr, ptr, i64 }
%struct.fd_data = type { i32, ptr }
%struct.fd_formb = type { i32, i32 }
%struct.TYPE_2__ = type { i32, i32 }
%struct.fdc_readid = type { i32, i32 }
@M_TEMP = 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
@BIO_FMT = dso_local local_unnamed_addr global i64 0, align 8
@BIO_RDID = dso_local local_unnamed_addr global i64 0, align 8
@BIO_PROBE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [25 x i8] c"wrong cmd in fdmisccmd()\00", align 1
@PRIBIO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"fdwait\00", align 1
@hz = dso_local local_unnamed_addr global i32 0, align 4
@BIO_DONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fdmisccmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fdmisccmd(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @M_TEMP, align 4, !tbaa !5
%5 = load i32, ptr @M_WAITOK, align 4, !tbaa !5
%6 = load i32, ptr @M_ZERO, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = tail call ptr @malloc(i32 noundef 48, i32 noundef %4, i32 noundef %7) #2
%9 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 7
store i64 %1, ptr %9, align 8, !tbaa !9
%10 = load i64, ptr @BIO_FMT, align 8, !tbaa !13
%11 = icmp eq i64 %10, %1
br i1 %11, label %12, label %25
12: ; preds = %3
%13 = load i32, ptr %2, align 4, !tbaa !14
%14 = getelementptr inbounds %struct.fd_data, ptr %0, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = load i32, ptr %15, align 4, !tbaa !18
%17 = mul nsw i32 %16, %13
%18 = getelementptr inbounds %struct.fd_formb, ptr %2, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !20
%20 = add nsw i32 %17, %19
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !21
%23 = mul nsw i32 %20, %22
store i32 %23, ptr %8, align 8, !tbaa !22
%24 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 1
store i32 8, ptr %24, align 4, !tbaa !23
br label %46
25: ; preds = %3
%26 = load i64, ptr @BIO_RDID, align 8, !tbaa !13
%27 = icmp eq i64 %26, %1
br i1 %27, label %28, label %41
28: ; preds = %25
%29 = load i32, ptr %2, align 4, !tbaa !24
%30 = getelementptr inbounds %struct.fd_data, ptr %0, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !16
%32 = load i32, ptr %31, align 4, !tbaa !18
%33 = mul nsw i32 %32, %29
%34 = getelementptr inbounds %struct.fdc_readid, ptr %2, i64 0, i32 1
%35 = load i32, ptr %34, align 4, !tbaa !26
%36 = add nsw i32 %33, %35
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !21
%39 = mul nsw i32 %36, %38
store i32 %39, ptr %8, align 8, !tbaa !22
%40 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 1
store i32 8, ptr %40, align 4, !tbaa !23
br label %46
41: ; preds = %25
%42 = load i64, ptr @BIO_PROBE, align 8, !tbaa !13
%43 = icmp eq i64 %42, %1
br i1 %43, label %46, label %44
44: ; preds = %41
%45 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %46
46: ; preds = %28, %41, %44, %12
%47 = load i32, ptr %8, align 8, !tbaa !22
%48 = load i32, ptr %0, align 8, !tbaa !27
%49 = mul nsw i32 %48, %47
%50 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 2
store i32 %49, ptr %50, align 8, !tbaa !28
%51 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 6
store ptr %2, ptr %51, align 8, !tbaa !29
%52 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 5
store ptr %0, ptr %52, align 8, !tbaa !30
%53 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 3
store i32 0, ptr %53, align 4, !tbaa !31
%54 = tail call i32 @fd_enqueue(ptr noundef nonnull %0, ptr noundef nonnull %8) #2
br label %55
55: ; preds = %55, %46
%56 = load i32, ptr @PRIBIO, align 4, !tbaa !5
%57 = load i32, ptr @hz, align 4, !tbaa !5
%58 = tail call i32 @tsleep(ptr noundef nonnull %8, i32 noundef %56, ptr noundef nonnull @.str.1, i32 noundef %57) #2
%59 = load i32, ptr %53, align 4, !tbaa !31
%60 = load i32, ptr @BIO_DONE, align 4, !tbaa !5
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %55, label %63, !llvm.loop !32
63: ; preds = %55
%64 = getelementptr inbounds %struct.bio, ptr %8, i64 0, i32 4
%65 = load i32, ptr %64, align 8, !tbaa !34
%66 = load i32, ptr @M_TEMP, align 4, !tbaa !5
%67 = tail call i32 @free(ptr noundef nonnull %8, i32 noundef %66) #2
ret i32 %65
}
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @fd_enqueue(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tsleep(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 40}
!10 = !{!"bio", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !11, i64 24, !11, i64 32, !12, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"fd_formb", !6, i64 0, !6, i64 4}
!16 = !{!17, !11, i64 8}
!17 = !{!"fd_data", !6, i64 0, !11, i64 8}
!18 = !{!19, !6, i64 0}
!19 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!20 = !{!15, !6, i64 4}
!21 = !{!19, !6, i64 4}
!22 = !{!10, !6, i64 0}
!23 = !{!10, !6, i64 4}
!24 = !{!25, !6, i64 0}
!25 = !{!"fdc_readid", !6, i64 0, !6, i64 4}
!26 = !{!25, !6, i64 4}
!27 = !{!17, !6, i64 0}
!28 = !{!10, !6, i64 8}
!29 = !{!10, !11, i64 32}
!30 = !{!10, !11, i64 24}
!31 = !{!10, !6, i64 12}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fdmisccmd.c'
source_filename = "AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fdmisccmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_TEMP = 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
@BIO_FMT = common local_unnamed_addr global i64 0, align 8
@BIO_RDID = common local_unnamed_addr global i64 0, align 8
@BIO_PROBE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [25 x i8] c"wrong cmd in fdmisccmd()\00", align 1
@PRIBIO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"fdwait\00", align 1
@hz = common local_unnamed_addr global i32 0, align 4
@BIO_DONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fdmisccmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fdmisccmd(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @M_TEMP, align 4, !tbaa !6
%5 = load i32, ptr @M_WAITOK, align 4, !tbaa !6
%6 = load i32, ptr @M_ZERO, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = tail call ptr @malloc(i32 noundef 48, i32 noundef %4, i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %8, i64 40
store i64 %1, ptr %9, align 8, !tbaa !10
%10 = load i64, ptr @BIO_FMT, align 8, !tbaa !14
%11 = icmp eq i64 %10, %1
br i1 %11, label %12, label %25
12: ; preds = %3
%13 = load i32, ptr %2, align 4, !tbaa !15
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = load i32, ptr %15, align 4, !tbaa !19
%17 = mul nsw i32 %16, %13
%18 = getelementptr inbounds i8, ptr %2, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !21
%20 = add nsw i32 %17, %19
%21 = getelementptr inbounds i8, ptr %15, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !22
%23 = mul nsw i32 %20, %22
store i32 %23, ptr %8, align 8, !tbaa !23
%24 = getelementptr inbounds i8, ptr %8, i64 4
store i32 8, ptr %24, align 4, !tbaa !24
br label %46
25: ; preds = %3
%26 = load i64, ptr @BIO_RDID, align 8, !tbaa !14
%27 = icmp eq i64 %26, %1
br i1 %27, label %28, label %41
28: ; preds = %25
%29 = load i32, ptr %2, align 4, !tbaa !25
%30 = getelementptr inbounds i8, ptr %0, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !17
%32 = load i32, ptr %31, align 4, !tbaa !19
%33 = mul nsw i32 %32, %29
%34 = getelementptr inbounds i8, ptr %2, i64 4
%35 = load i32, ptr %34, align 4, !tbaa !27
%36 = add nsw i32 %33, %35
%37 = getelementptr inbounds i8, ptr %31, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !22
%39 = mul nsw i32 %36, %38
store i32 %39, ptr %8, align 8, !tbaa !23
%40 = getelementptr inbounds i8, ptr %8, i64 4
store i32 8, ptr %40, align 4, !tbaa !24
br label %46
41: ; preds = %25
%42 = load i64, ptr @BIO_PROBE, align 8, !tbaa !14
%43 = icmp eq i64 %42, %1
br i1 %43, label %46, label %44
44: ; preds = %41
%45 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %46
46: ; preds = %28, %41, %44, %12
%47 = load i32, ptr %8, align 8, !tbaa !23
%48 = load i32, ptr %0, align 8, !tbaa !28
%49 = mul nsw i32 %48, %47
%50 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %49, ptr %50, align 8, !tbaa !29
%51 = getelementptr inbounds i8, ptr %8, i64 32
store ptr %2, ptr %51, align 8, !tbaa !30
%52 = getelementptr inbounds i8, ptr %8, i64 24
store ptr %0, ptr %52, align 8, !tbaa !31
%53 = getelementptr inbounds i8, ptr %8, i64 12
store i32 0, ptr %53, align 4, !tbaa !32
%54 = tail call i32 @fd_enqueue(ptr noundef nonnull %0, ptr noundef nonnull %8) #2
br label %55
55: ; preds = %55, %46
%56 = load i32, ptr @PRIBIO, align 4, !tbaa !6
%57 = load i32, ptr @hz, align 4, !tbaa !6
%58 = tail call i32 @tsleep(ptr noundef nonnull %8, i32 noundef %56, ptr noundef nonnull @.str.1, i32 noundef %57) #2
%59 = load i32, ptr %53, align 4, !tbaa !32
%60 = load i32, ptr @BIO_DONE, align 4, !tbaa !6
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %55, label %63, !llvm.loop !33
63: ; preds = %55
%64 = getelementptr inbounds i8, ptr %8, i64 16
%65 = load i32, ptr %64, align 8, !tbaa !35
%66 = load i32, ptr @M_TEMP, align 4, !tbaa !6
%67 = tail call i32 @free(ptr noundef nonnull %8, i32 noundef %66) #2
ret i32 %65
}
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @fd_enqueue(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tsleep(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 40}
!11 = !{!"bio", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !12, i64 24, !12, i64 32, !13, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"fd_formb", !7, i64 0, !7, i64 4}
!17 = !{!18, !12, i64 8}
!18 = !{!"fd_data", !7, i64 0, !12, i64 8}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!21 = !{!16, !7, i64 4}
!22 = !{!20, !7, i64 4}
!23 = !{!11, !7, i64 0}
!24 = !{!11, !7, i64 4}
!25 = !{!26, !7, i64 0}
!26 = !{!"fdc_readid", !7, i64 0, !7, i64 4}
!27 = !{!26, !7, i64 4}
!28 = !{!18, !7, i64 0}
!29 = !{!11, !7, i64 8}
!30 = !{!11, !12, i64 32}
!31 = !{!11, !12, i64 24}
!32 = !{!11, !7, i64 12}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!11, !7, i64 16}
| freebsd_sys_dev_fdc_extr_fdc.c_fdmisccmd |
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_surface_meta.c_MetaTrianglesToSurface.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_surface_meta.c_MetaTrianglesToSurface.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_9__ = type { ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32 }
@maxSurfaceVerts = dso_local local_unnamed_addr global i32 0, align 4
@maxSurfaceIndexes = dso_local local_unnamed_addr global i32 0, align 4
@SURFACE_META = dso_local local_unnamed_addr global i32 0, align 4
@qfalse = dso_local local_unnamed_addr global i64 0, align 8
@qtrue = dso_local local_unnamed_addr global i64 0, align 8
@numMetaTriangles = dso_local local_unnamed_addr global i32 0, align 4
@SYS_VRB = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%d...\00", align 1
@GOOD_SCORE = dso_local local_unnamed_addr global i32 0, align 4
@ADEQUATE_SCORE = dso_local local_unnamed_addr global i32 0, align 4
@numMergedSurfaces = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MetaTrianglesToSurface], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @MetaTrianglesToSurface(i32 noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) #0 {
%5 = load i32, ptr @maxSurfaceVerts, align 4, !tbaa !5
%6 = shl i32 %5, 2
%7 = tail call ptr @safe_malloc(i32 noundef %6) #2
%8 = load i32, ptr @maxSurfaceIndexes, align 4, !tbaa !5
%9 = shl i32 %8, 2
%10 = tail call ptr @safe_malloc(i32 noundef %9) #2
%11 = icmp sgt i32 %0, 0
br i1 %11, label %12, label %156
12: ; preds = %4
%13 = zext nneg i32 %0 to i64
%14 = zext nneg i32 %0 to i64
br label %15
15: ; preds = %12, %151
%16 = phi i64 [ 0, %12 ], [ %152, %151 ]
%17 = phi i64 [ 1, %12 ], [ %154, %151 ]
%18 = phi ptr [ %1, %12 ], [ %153, %151 ]
%19 = load ptr, ptr %18, align 8, !tbaa !9
%20 = icmp eq ptr %19, null
br i1 %20, label %151, label %21
21: ; preds = %15
%22 = load i32, ptr @SURFACE_META, align 4, !tbaa !5
%23 = tail call ptr @AllocDrawSurface(i32 noundef %22) #2
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 6
%25 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 12
%26 = load <4 x i32>, ptr %24, align 4, !tbaa !5
store <4 x i32> %26, ptr %25, align 8, !tbaa !5
%27 = load ptr, ptr %18, align 8, !tbaa !9
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 11
store ptr %27, ptr %28, align 8, !tbaa !12
%29 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 5
%30 = load i32, ptr %29, align 8, !tbaa !14
%31 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 10
store i32 %30, ptr %31, align 8, !tbaa !15
%32 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 3
%33 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 8
%34 = load <2 x i32>, ptr %32, align 8, !tbaa !5
store <2 x i32> %34, ptr %33, align 8, !tbaa !5
store ptr %7, ptr %23, align 8, !tbaa !16
%35 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 1
store ptr %10, ptr %35, align 8, !tbaa !17
%36 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 2
%37 = load i32, ptr %36, align 4, !tbaa !18
%38 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 7
%39 = load i32, ptr %38, align 4, !tbaa !19
%40 = tail call i32 @VectorCopy(i32 noundef %37, i32 noundef %39) #2
%41 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 1
%42 = load i32, ptr %41, align 8, !tbaa !20
%43 = tail call i32 @AllocSideRef(i32 noundef %42, ptr noundef null) #2
%44 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 6
store i32 %43, ptr %44, align 8, !tbaa !21
%45 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 5
%46 = load i32, ptr %45, align 4, !tbaa !22
%47 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 4
%48 = load i32, ptr %47, align 8, !tbaa !23
%49 = tail call i32 @ClearBounds(i32 noundef %46, i32 noundef %48) #2
%50 = load i32, ptr @maxSurfaceVerts, align 4, !tbaa !5
%51 = shl i32 %50, 2
%52 = tail call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef %51) #2
%53 = load i32, ptr @maxSurfaceIndexes, align 4, !tbaa !5
%54 = shl i32 %53, 2
%55 = tail call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef %54) #2
%56 = load i64, ptr @qfalse, align 8, !tbaa !24
%57 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %23, ptr noundef nonnull %18, i64 noundef %56) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %21
%60 = load i32, ptr %3, align 4, !tbaa !5
%61 = add nsw i32 %60, 1
store i32 %61, ptr %3, align 4, !tbaa !5
br label %62
62: ; preds = %59, %21
%63 = load i64, ptr @qtrue, align 8, !tbaa !24
%64 = icmp eq i64 %63, 0
br i1 %64, label %133, label %65
65: ; preds = %62
%66 = add nuw nsw i64 %16, 1
%67 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 %66
%68 = icmp ult i64 %66, %13
br label %69
69: ; preds = %65, %130
%70 = load i32, ptr %3, align 4, !tbaa !5
%71 = mul nsw i32 %70, 10
%72 = load i32, ptr @numMetaTriangles, align 4, !tbaa !5
%73 = sdiv i32 %71, %72
%74 = load i32, ptr %2, align 4, !tbaa !5
%75 = icmp sgt i32 %73, %74
br i1 %75, label %76, label %79
76: ; preds = %69
store i32 %73, ptr %2, align 4, !tbaa !5
%77 = load i32, ptr @SYS_VRB, align 4, !tbaa !5
%78 = tail call i32 @Sys_FPrintf(i32 noundef %77, ptr noundef nonnull @.str, i32 noundef %73) #2
br label %79
79: ; preds = %76, %69
%80 = load i64, ptr @qfalse, align 8, !tbaa !24
br i1 %68, label %81, label %130
81: ; preds = %79, %107
%82 = phi i64 [ %111, %107 ], [ %17, %79 ]
%83 = phi i64 [ %110, %107 ], [ %80, %79 ]
%84 = phi i32 [ %109, %107 ], [ -1, %79 ]
%85 = phi ptr [ %112, %107 ], [ %67, %79 ]
%86 = phi i32 [ %108, %107 ], [ 0, %79 ]
%87 = load ptr, ptr %85, align 8, !tbaa !9
%88 = icmp eq ptr %87, null
br i1 %88, label %107, label %89
89: ; preds = %81
%90 = load i64, ptr @qtrue, align 8, !tbaa !24
%91 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %23, ptr noundef nonnull %85, i64 noundef %90) #2
%92 = icmp sgt i32 %91, %86
br i1 %92, label %93, label %107
93: ; preds = %89
%94 = load i32, ptr @GOOD_SCORE, align 4, !tbaa !5
%95 = icmp slt i32 %91, %94
%96 = trunc i64 %82 to i32
br i1 %95, label %107, label %97
97: ; preds = %93
%98 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 %82
%99 = load i64, ptr @qfalse, align 8, !tbaa !24
%100 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %23, ptr noundef nonnull %98, i64 noundef %99) #2
%101 = icmp eq i32 %100, 0
br i1 %101, label %105, label %102
102: ; preds = %97
%103 = load i32, ptr %3, align 4, !tbaa !5
%104 = add nsw i32 %103, 1
store i32 %104, ptr %3, align 4, !tbaa !5
br label %105
105: ; preds = %102, %97
%106 = load i64, ptr @qtrue, align 8, !tbaa !24
br label %107
107: ; preds = %89, %105, %93, %81
%108 = phi i32 [ %86, %81 ], [ 0, %105 ], [ %91, %93 ], [ %86, %89 ]
%109 = phi i32 [ %84, %81 ], [ -1, %105 ], [ %96, %93 ], [ %84, %89 ]
%110 = phi i64 [ %83, %81 ], [ %106, %105 ], [ %83, %93 ], [ %83, %89 ]
%111 = add nuw nsw i64 %82, 1
%112 = getelementptr inbounds %struct.TYPE_8__, ptr %85, i64 1
%113 = icmp eq i64 %111, %14
br i1 %113, label %114, label %81, !llvm.loop !26
114: ; preds = %107
%115 = icmp sgt i32 %109, -1
%116 = load i32, ptr @ADEQUATE_SCORE, align 4
%117 = icmp sgt i32 %108, %116
%118 = select i1 %115, i1 %117, i1 false
br i1 %118, label %119, label %130
119: ; preds = %114
%120 = zext nneg i32 %109 to i64
%121 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 %120
%122 = load i64, ptr @qfalse, align 8, !tbaa !24
%123 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %23, ptr noundef %121, i64 noundef %122) #2
%124 = icmp eq i32 %123, 0
br i1 %124, label %128, label %125
125: ; preds = %119
%126 = load i32, ptr %3, align 4, !tbaa !5
%127 = add nsw i32 %126, 1
store i32 %127, ptr %3, align 4, !tbaa !5
br label %128
128: ; preds = %125, %119
%129 = load i64, ptr @qtrue, align 8, !tbaa !24
br label %130
130: ; preds = %79, %128, %114
%131 = phi i64 [ %129, %128 ], [ %110, %114 ], [ %80, %79 ]
%132 = icmp eq i64 %131, 0
br i1 %132, label %133, label %69, !llvm.loop !28
133: ; preds = %130, %62
%134 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 2
%135 = load i32, ptr %134, align 8, !tbaa !29
%136 = shl i32 %135, 2
%137 = tail call ptr @safe_malloc(i32 noundef %136) #2
store ptr %137, ptr %23, align 8, !tbaa !16
%138 = load i32, ptr %134, align 8, !tbaa !29
%139 = shl i32 %138, 2
%140 = tail call i32 @memcpy(ptr noundef %137, ptr noundef %7, i32 noundef %139) #2
%141 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 3
%142 = load i32, ptr %141, align 4, !tbaa !30
%143 = shl i32 %142, 2
%144 = tail call ptr @safe_malloc(i32 noundef %143) #2
store ptr %144, ptr %35, align 8, !tbaa !17
%145 = load i32, ptr %141, align 4, !tbaa !30
%146 = shl i32 %145, 2
%147 = tail call i32 @memcpy(ptr noundef %144, ptr noundef %10, i32 noundef %146) #2
%148 = tail call i32 @ClassifySurfaces(i32 noundef 1, ptr noundef nonnull %23) #2
%149 = load i32, ptr @numMergedSurfaces, align 4, !tbaa !5
%150 = add nsw i32 %149, 1
store i32 %150, ptr @numMergedSurfaces, align 4, !tbaa !5
br label %151
151: ; preds = %15, %133
%152 = add nuw nsw i64 %16, 1
%153 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 1
%154 = add nuw nsw i64 %17, 1
%155 = icmp eq i64 %152, %14
br i1 %155, label %156, label %15, !llvm.loop !31
156: ; preds = %151, %4
%157 = tail call i32 @free(ptr noundef %7) #2
%158 = tail call i32 @free(ptr noundef %10) #2
ret void
}
declare ptr @safe_malloc(i32 noundef) local_unnamed_addr #1
declare ptr @AllocDrawSurface(i32 noundef) local_unnamed_addr #1
declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AllocSideRef(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ClearBounds(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AddMetaTriangleToSurface(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Sys_FPrintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ClassifySurfaces(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_8__", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 56}
!13 = !{!"TYPE_9__", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !11, i64 56, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76}
!14 = !{!10, !6, i64 24}
!15 = !{!13, !6, i64 48}
!16 = !{!13, !11, i64 0}
!17 = !{!13, !11, i64 8}
!18 = !{!10, !6, i64 12}
!19 = !{!13, !6, i64 36}
!20 = !{!10, !6, i64 8}
!21 = !{!13, !6, i64 32}
!22 = !{!13, !6, i64 28}
!23 = !{!13, !6, i64 24}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = !{!13, !6, i64 16}
!30 = !{!13, !6, i64 20}
!31 = distinct !{!31, !27}
| ; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_surface_meta.c_MetaTrianglesToSurface.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_surface_meta.c_MetaTrianglesToSurface.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@maxSurfaceVerts = common local_unnamed_addr global i32 0, align 4
@maxSurfaceIndexes = common local_unnamed_addr global i32 0, align 4
@SURFACE_META = common local_unnamed_addr global i32 0, align 4
@qfalse = common local_unnamed_addr global i64 0, align 8
@qtrue = common local_unnamed_addr global i64 0, align 8
@numMetaTriangles = common local_unnamed_addr global i32 0, align 4
@SYS_VRB = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%d...\00", align 1
@GOOD_SCORE = common local_unnamed_addr global i32 0, align 4
@ADEQUATE_SCORE = common local_unnamed_addr global i32 0, align 4
@numMergedSurfaces = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MetaTrianglesToSurface], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @MetaTrianglesToSurface(i32 noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) #0 {
%5 = load i32, ptr @maxSurfaceVerts, align 4, !tbaa !6
%6 = shl i32 %5, 2
%7 = tail call ptr @safe_malloc(i32 noundef %6) #2
%8 = load i32, ptr @maxSurfaceIndexes, align 4, !tbaa !6
%9 = shl i32 %8, 2
%10 = tail call ptr @safe_malloc(i32 noundef %9) #2
%11 = icmp sgt i32 %0, 0
br i1 %11, label %12, label %155
12: ; preds = %4
%13 = zext nneg i32 %0 to i64
br label %14
14: ; preds = %12, %150
%15 = phi i64 [ 0, %12 ], [ %151, %150 ]
%16 = phi i64 [ 1, %12 ], [ %153, %150 ]
%17 = phi ptr [ %1, %12 ], [ %152, %150 ]
%18 = load ptr, ptr %17, align 8, !tbaa !10
%19 = icmp eq ptr %18, null
br i1 %19, label %150, label %20
20: ; preds = %14
%21 = load i32, ptr @SURFACE_META, align 4, !tbaa !6
%22 = tail call ptr @AllocDrawSurface(i32 noundef %21) #2
%23 = getelementptr inbounds i8, ptr %17, i64 28
%24 = getelementptr inbounds i8, ptr %22, i64 64
%25 = load <4 x i32>, ptr %23, align 4, !tbaa !6
store <4 x i32> %25, ptr %24, align 8, !tbaa !6
%26 = load ptr, ptr %17, align 8, !tbaa !10
%27 = getelementptr inbounds i8, ptr %22, i64 56
store ptr %26, ptr %27, align 8, !tbaa !13
%28 = getelementptr inbounds i8, ptr %17, i64 24
%29 = load i32, ptr %28, align 8, !tbaa !15
%30 = getelementptr inbounds i8, ptr %22, i64 48
store i32 %29, ptr %30, align 8, !tbaa !16
%31 = getelementptr inbounds i8, ptr %17, i64 16
%32 = getelementptr inbounds i8, ptr %22, i64 40
%33 = load <2 x i32>, ptr %31, align 8, !tbaa !6
store <2 x i32> %33, ptr %32, align 8, !tbaa !6
store ptr %7, ptr %22, align 8, !tbaa !17
%34 = getelementptr inbounds i8, ptr %22, i64 8
store ptr %10, ptr %34, align 8, !tbaa !18
%35 = getelementptr inbounds i8, ptr %17, i64 12
%36 = load i32, ptr %35, align 4, !tbaa !19
%37 = getelementptr inbounds i8, ptr %22, i64 36
%38 = load i32, ptr %37, align 4, !tbaa !20
%39 = tail call i32 @VectorCopy(i32 noundef %36, i32 noundef %38) #2
%40 = getelementptr inbounds i8, ptr %17, i64 8
%41 = load i32, ptr %40, align 8, !tbaa !21
%42 = tail call i32 @AllocSideRef(i32 noundef %41, ptr noundef null) #2
%43 = getelementptr inbounds i8, ptr %22, i64 32
store i32 %42, ptr %43, align 8, !tbaa !22
%44 = getelementptr inbounds i8, ptr %22, i64 28
%45 = load i32, ptr %44, align 4, !tbaa !23
%46 = getelementptr inbounds i8, ptr %22, i64 24
%47 = load i32, ptr %46, align 8, !tbaa !24
%48 = tail call i32 @ClearBounds(i32 noundef %45, i32 noundef %47) #2
%49 = load i32, ptr @maxSurfaceVerts, align 4, !tbaa !6
%50 = shl i32 %49, 2
%51 = tail call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef %50) #2
%52 = load i32, ptr @maxSurfaceIndexes, align 4, !tbaa !6
%53 = shl i32 %52, 2
%54 = tail call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef %53) #2
%55 = load i64, ptr @qfalse, align 8, !tbaa !25
%56 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %22, ptr noundef nonnull %17, i64 noundef %55) #2
%57 = icmp eq i32 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %20
%59 = load i32, ptr %3, align 4, !tbaa !6
%60 = add nsw i32 %59, 1
store i32 %60, ptr %3, align 4, !tbaa !6
br label %61
61: ; preds = %58, %20
%62 = load i64, ptr @qtrue, align 8, !tbaa !25
%63 = icmp eq i64 %62, 0
br i1 %63, label %132, label %64
64: ; preds = %61
%65 = add nuw nsw i64 %15, 1
%66 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 %65
%67 = icmp ult i64 %65, %13
br label %68
68: ; preds = %64, %129
%69 = load i32, ptr %3, align 4, !tbaa !6
%70 = mul nsw i32 %69, 10
%71 = load i32, ptr @numMetaTriangles, align 4, !tbaa !6
%72 = sdiv i32 %70, %71
%73 = load i32, ptr %2, align 4, !tbaa !6
%74 = icmp sgt i32 %72, %73
br i1 %74, label %75, label %78
75: ; preds = %68
store i32 %72, ptr %2, align 4, !tbaa !6
%76 = load i32, ptr @SYS_VRB, align 4, !tbaa !6
%77 = tail call i32 @Sys_FPrintf(i32 noundef %76, ptr noundef nonnull @.str, i32 noundef %72) #2
br label %78
78: ; preds = %75, %68
%79 = load i64, ptr @qfalse, align 8, !tbaa !25
br i1 %67, label %80, label %129
80: ; preds = %78, %106
%81 = phi i64 [ %110, %106 ], [ %16, %78 ]
%82 = phi i64 [ %109, %106 ], [ %79, %78 ]
%83 = phi i32 [ %108, %106 ], [ -1, %78 ]
%84 = phi ptr [ %111, %106 ], [ %66, %78 ]
%85 = phi i32 [ %107, %106 ], [ 0, %78 ]
%86 = load ptr, ptr %84, align 8, !tbaa !10
%87 = icmp eq ptr %86, null
br i1 %87, label %106, label %88
88: ; preds = %80
%89 = load i64, ptr @qtrue, align 8, !tbaa !25
%90 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %22, ptr noundef nonnull %84, i64 noundef %89) #2
%91 = icmp sgt i32 %90, %85
br i1 %91, label %92, label %106
92: ; preds = %88
%93 = load i32, ptr @GOOD_SCORE, align 4, !tbaa !6
%94 = icmp slt i32 %90, %93
%95 = trunc nuw nsw i64 %81 to i32
br i1 %94, label %106, label %96
96: ; preds = %92
%97 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 %81
%98 = load i64, ptr @qfalse, align 8, !tbaa !25
%99 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %22, ptr noundef nonnull %97, i64 noundef %98) #2
%100 = icmp eq i32 %99, 0
br i1 %100, label %104, label %101
101: ; preds = %96
%102 = load i32, ptr %3, align 4, !tbaa !6
%103 = add nsw i32 %102, 1
store i32 %103, ptr %3, align 4, !tbaa !6
br label %104
104: ; preds = %101, %96
%105 = load i64, ptr @qtrue, align 8, !tbaa !25
br label %106
106: ; preds = %88, %104, %92, %80
%107 = phi i32 [ %85, %80 ], [ 0, %104 ], [ %90, %92 ], [ %85, %88 ]
%108 = phi i32 [ %83, %80 ], [ -1, %104 ], [ %95, %92 ], [ %83, %88 ]
%109 = phi i64 [ %82, %80 ], [ %105, %104 ], [ %82, %92 ], [ %82, %88 ]
%110 = add nuw nsw i64 %81, 1
%111 = getelementptr inbounds i8, ptr %84, i64 48
%112 = icmp eq i64 %110, %13
br i1 %112, label %113, label %80, !llvm.loop !27
113: ; preds = %106
%114 = icmp sgt i32 %108, -1
%115 = load i32, ptr @ADEQUATE_SCORE, align 4
%116 = icmp sgt i32 %107, %115
%117 = select i1 %114, i1 %116, i1 false
br i1 %117, label %118, label %129
118: ; preds = %113
%119 = zext nneg i32 %108 to i64
%120 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 %119
%121 = load i64, ptr @qfalse, align 8, !tbaa !25
%122 = tail call i32 @AddMetaTriangleToSurface(ptr noundef nonnull %22, ptr noundef %120, i64 noundef %121) #2
%123 = icmp eq i32 %122, 0
br i1 %123, label %127, label %124
124: ; preds = %118
%125 = load i32, ptr %3, align 4, !tbaa !6
%126 = add nsw i32 %125, 1
store i32 %126, ptr %3, align 4, !tbaa !6
br label %127
127: ; preds = %124, %118
%128 = load i64, ptr @qtrue, align 8, !tbaa !25
br label %129
129: ; preds = %78, %127, %113
%130 = phi i64 [ %128, %127 ], [ %109, %113 ], [ %79, %78 ]
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %68, !llvm.loop !29
132: ; preds = %129, %61
%133 = getelementptr inbounds i8, ptr %22, i64 16
%134 = load i32, ptr %133, align 8, !tbaa !30
%135 = shl i32 %134, 2
%136 = tail call ptr @safe_malloc(i32 noundef %135) #2
store ptr %136, ptr %22, align 8, !tbaa !17
%137 = load i32, ptr %133, align 8, !tbaa !30
%138 = shl i32 %137, 2
%139 = tail call i32 @memcpy(ptr noundef %136, ptr noundef %7, i32 noundef %138) #2
%140 = getelementptr inbounds i8, ptr %22, i64 20
%141 = load i32, ptr %140, align 4, !tbaa !31
%142 = shl i32 %141, 2
%143 = tail call ptr @safe_malloc(i32 noundef %142) #2
store ptr %143, ptr %34, align 8, !tbaa !18
%144 = load i32, ptr %140, align 4, !tbaa !31
%145 = shl i32 %144, 2
%146 = tail call i32 @memcpy(ptr noundef %143, ptr noundef %10, i32 noundef %145) #2
%147 = tail call i32 @ClassifySurfaces(i32 noundef 1, ptr noundef nonnull %22) #2
%148 = load i32, ptr @numMergedSurfaces, align 4, !tbaa !6
%149 = add nsw i32 %148, 1
store i32 %149, ptr @numMergedSurfaces, align 4, !tbaa !6
br label %150
150: ; preds = %14, %132
%151 = add nuw nsw i64 %15, 1
%152 = getelementptr inbounds i8, ptr %17, i64 48
%153 = add nuw nsw i64 %16, 1
%154 = icmp eq i64 %151, %13
br i1 %154, label %155, label %14, !llvm.loop !32
155: ; preds = %150, %4
%156 = tail call i32 @free(ptr noundef %7) #2
%157 = tail call i32 @free(ptr noundef %10) #2
ret void
}
declare ptr @safe_malloc(i32 noundef) local_unnamed_addr #1
declare ptr @AllocDrawSurface(i32 noundef) local_unnamed_addr #1
declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AllocSideRef(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ClearBounds(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AddMetaTriangleToSurface(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Sys_FPrintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ClassifySurfaces(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_8__", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 56}
!14 = !{!"TYPE_9__", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !12, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76}
!15 = !{!11, !7, i64 24}
!16 = !{!14, !7, i64 48}
!17 = !{!14, !12, i64 0}
!18 = !{!14, !12, i64 8}
!19 = !{!11, !7, i64 12}
!20 = !{!14, !7, i64 36}
!21 = !{!11, !7, i64 8}
!22 = !{!14, !7, i64 32}
!23 = !{!14, !7, i64 28}
!24 = !{!14, !7, i64 24}
!25 = !{!26, !26, i64 0}
!26 = !{!"long", !8, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = !{!14, !7, i64 16}
!31 = !{!14, !7, i64 20}
!32 = distinct !{!32, !28}
| lab_q3map2_q3map2_extr_surface_meta.c_MetaTrianglesToSurface |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_patch.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_patch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i64, i32, i32 }
%struct.TYPE_9__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @gola_patch], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gola_patch(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr %1, align 8, !tbaa !10
%6 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call i32 @setgcrefnull(i32 noundef %7) #2
%9 = load ptr, ptr %4, align 8, !tbaa !15
%10 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 %5
%11 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !17
%13 = tail call i32 @setbc_a(ptr noundef %10, i32 noundef %12) #2
%14 = load i64, ptr %2, align 8, !tbaa !10
%15 = tail call i32 @jmp_patch(ptr noundef nonnull %4, i64 noundef %5, i64 noundef %14) #2
ret void
}
declare i32 @setgcrefnull(i32 noundef) local_unnamed_addr #1
declare i32 @setbc_a(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jmp_patch(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_11__", !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_10__", !12, i64 0, !13, i64 8, !13, i64 12}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 12}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_12__", !7, i64 0}
!17 = !{!11, !13, i64 8}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_patch.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_patch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_9__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @gola_patch], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gola_patch(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr %1, align 8, !tbaa !11
%6 = getelementptr inbounds i8, ptr %1, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = tail call i32 @setgcrefnull(i32 noundef %7) #2
%9 = load ptr, ptr %4, align 8, !tbaa !16
%10 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 %5
%11 = getelementptr inbounds i8, ptr %2, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !18
%13 = tail call i32 @setbc_a(ptr noundef %10, i32 noundef %12) #2
%14 = load i64, ptr %2, align 8, !tbaa !11
%15 = tail call i32 @jmp_patch(ptr noundef nonnull %4, i64 noundef %5, i64 noundef %14) #2
ret void
}
declare i32 @setgcrefnull(i32 noundef) local_unnamed_addr #1
declare i32 @setbc_a(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jmp_patch(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_11__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_10__", !13, i64 0, !14, i64 8, !14, i64 12}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !14, i64 12}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_12__", !8, i64 0}
!18 = !{!12, !14, i64 8}
| xLua_build_luajit-2.1.0b2_src_extr_lj_parse.c_gola_patch |
; ModuleID = 'AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_cmd_nowait.c'
source_filename = "AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_cmd_nowait.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @q6asm_cmd_nowait(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @__q6asm_cmd(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2
ret i32 %3
}
declare i32 @__q6asm_cmd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_cmd_nowait.c'
source_filename = "AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_cmd_nowait.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 @q6asm_cmd_nowait(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @__q6asm_cmd(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2
ret i32 %3
}
declare i32 @__q6asm_cmd(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)"}
| linux_sound_soc_qcom_qdsp6_extr_q6asm.c_q6asm_cmd_nowait |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_mt2060.c_mt2060_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_mt2060.c_mt2060_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.dvb_frontend = type { %struct.TYPE_3__, ptr }
%struct.TYPE_3__ = type { ptr }
@REG_VGAG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mt2060_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mt2060_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.dvb_frontend, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !11
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef 1) #2
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr @REG_VGAG, align 4, !tbaa !12
%10 = load ptr, ptr %3, align 8, !tbaa !14
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = shl i32 %11, 6
%13 = or disjoint i32 %12, 51
%14 = tail call i32 @mt2060_writereg(ptr noundef nonnull %3, i32 noundef %9, i32 noundef %13) #2
%15 = load ptr, ptr %0, align 8, !tbaa !11
%16 = icmp eq ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %8
%18 = tail call i32 %15(ptr noundef nonnull %0, i32 noundef 0) #2
br label %19
19: ; preds = %17, %8
ret i32 %14
}
declare i32 @mt2060_writereg(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, !8, i64 8}
!6 = !{!"dvb_frontend", !7, i64 0, !8, i64 8}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"mt2060_priv", !8, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_4__", !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_mt2060.c_mt2060_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_mt2060.c_mt2060_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_VGAG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mt2060_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mt2060_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !12
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef 1) #2
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr @REG_VGAG, align 4, !tbaa !13
%10 = load ptr, ptr %3, align 8, !tbaa !15
%11 = load i32, ptr %10, align 4, !tbaa !17
%12 = shl i32 %11, 6
%13 = or disjoint i32 %12, 51
%14 = tail call i32 @mt2060_writereg(ptr noundef nonnull %3, i32 noundef %9, i32 noundef %13) #2
%15 = load ptr, ptr %0, align 8, !tbaa !12
%16 = icmp eq ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %8
%18 = tail call i32 %15(ptr noundef nonnull %0, i32 noundef 0) #2
br label %19
19: ; preds = %17, %8
ret i32 %14
}
declare i32 @mt2060_writereg(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, !9, i64 8}
!7 = !{!"dvb_frontend", !8, i64 0, !9, i64 8}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!16, !9, i64 0}
!16 = !{!"mt2060_priv", !9, i64 0}
!17 = !{!18, !14, i64 0}
!18 = !{!"TYPE_4__", !14, i64 0}
| fastsocket_kernel_drivers_media_common_tuners_extr_mt2060.c_mt2060_init |
; ModuleID = 'AnghaBench/linux/tools/perf/ui/browsers/extr_hists.c_hist_browser__show_callchain_list.c'
source_filename = "AnghaBench/linux/tools/perf/ui/browsers/extr_hists.c_hist_browser__show_callchain_list.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64 }
@symbol_conf = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Not enough memory!\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hist_browser__show_callchain_list], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hist_browser__show_callchain_list(ptr noundef %0, ptr noundef %1, ptr noundef %2, i16 noundef zeroext %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7, ptr noundef %8) #0 {
%10 = alloca [1024 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca [64 x i8], align 16
%13 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
%14 = load i64, ptr %8, align 8, !tbaa !5
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %9
%17 = add nsw i64 %14, -1
store i64 %17, ptr %8, align 8, !tbaa !5
br label %45
18: ; preds = %9
store ptr null, ptr %11, align 8, !tbaa !10
store ptr null, ptr %13, align 8, !tbaa !10
%19 = load i32, ptr %0, align 4, !tbaa !12
%20 = call ptr @callchain_list__sym_name(ptr noundef %2, ptr noundef nonnull %10, i32 noundef 1024, i32 noundef %19) #3
%21 = load i64, ptr @symbol_conf, align 8, !tbaa !15
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %18
%24 = call i32 @callchain_list_counts__printf_value(ptr noundef %2, ptr noundef null, ptr noundef nonnull %12, i32 noundef 64) #3
%25 = call i64 @asprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str, ptr noundef %20, ptr noundef nonnull %12) #3
%26 = icmp slt i64 %25, 0
%27 = load ptr, ptr %13, align 8
%28 = select i1 %26, ptr @.str.1, ptr %27
br label %29
29: ; preds = %23, %18
%30 = phi ptr [ %20, %18 ], [ %28, %23 ]
%31 = icmp eq i32 %5, 0
br i1 %31, label %38, label %32
32: ; preds = %29
%33 = call i32 @callchain_node__scnprintf_value(ptr noundef %1, ptr noundef nonnull %12, i32 noundef 64, i32 noundef %4) #3
%34 = call i64 @asprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.2, ptr noundef nonnull %12, ptr noundef %30) #3
%35 = icmp slt i64 %34, 0
%36 = load ptr, ptr %11, align 8
%37 = select i1 %35, ptr @.str.1, ptr %36
br label %38
38: ; preds = %32, %29
%39 = phi ptr [ %30, %29 ], [ %37, %32 ]
%40 = call i32 %7(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %39, i32 noundef %6, i16 noundef zeroext %3, ptr noundef nonnull %8) #3
%41 = load ptr, ptr %11, align 8, !tbaa !10
%42 = call i32 @free(ptr noundef %41) #3
%43 = load ptr, ptr %13, align 8, !tbaa !10
%44 = call i32 @free(ptr noundef %43) #3
br label %45
45: ; preds = %38, %16
%46 = phi i32 [ 0, %16 ], [ 1, %38 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %10) #3
ret i32 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @callchain_list__sym_name(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @callchain_list_counts__printf_value(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @callchain_node__scnprintf_value(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"callchain_print_arg", !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, !14, i64 0}
!13 = !{!"hist_browser", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/perf/ui/browsers/extr_hists.c_hist_browser__show_callchain_list.c'
source_filename = "AnghaBench/linux/tools/perf/ui/browsers/extr_hists.c_hist_browser__show_callchain_list.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
@symbol_conf = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Not enough memory!\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hist_browser__show_callchain_list], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @hist_browser__show_callchain_list(ptr noundef %0, ptr noundef %1, ptr noundef %2, i16 noundef zeroext %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7, ptr noundef %8) #0 {
%10 = alloca [1024 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca [64 x i8], align 1
%13 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
%14 = load i64, ptr %8, align 8, !tbaa !6
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %9
%17 = add nsw i64 %14, -1
store i64 %17, ptr %8, align 8, !tbaa !6
br label %45
18: ; preds = %9
store ptr null, ptr %11, align 8, !tbaa !11
store ptr null, ptr %13, align 8, !tbaa !11
%19 = load i32, ptr %0, align 4, !tbaa !13
%20 = call ptr @callchain_list__sym_name(ptr noundef %2, ptr noundef nonnull %10, i32 noundef 1024, i32 noundef %19) #3
%21 = load i64, ptr @symbol_conf, align 8, !tbaa !16
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %18
%24 = call i32 @callchain_list_counts__printf_value(ptr noundef %2, ptr noundef null, ptr noundef nonnull %12, i32 noundef 64) #3
%25 = call i64 @asprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str, ptr noundef %20, ptr noundef nonnull %12) #3
%26 = icmp slt i64 %25, 0
%27 = load ptr, ptr %13, align 8
%28 = select i1 %26, ptr @.str.1, ptr %27
br label %29
29: ; preds = %23, %18
%30 = phi ptr [ %20, %18 ], [ %28, %23 ]
%31 = icmp eq i32 %5, 0
br i1 %31, label %38, label %32
32: ; preds = %29
%33 = call i32 @callchain_node__scnprintf_value(ptr noundef %1, ptr noundef nonnull %12, i32 noundef 64, i32 noundef %4) #3
%34 = call i64 @asprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.2, ptr noundef nonnull %12, ptr noundef %30) #3
%35 = icmp slt i64 %34, 0
%36 = load ptr, ptr %11, align 8
%37 = select i1 %35, ptr @.str.1, ptr %36
br label %38
38: ; preds = %32, %29
%39 = phi ptr [ %30, %29 ], [ %37, %32 ]
%40 = call i32 %7(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %39, i32 noundef %6, i16 noundef zeroext %3, ptr noundef nonnull %8) #3
%41 = load ptr, ptr %11, align 8, !tbaa !11
%42 = call i32 @free(ptr noundef %41) #3
%43 = load ptr, ptr %13, align 8, !tbaa !11
%44 = call i32 @free(ptr noundef %43) #3
br label %45
45: ; preds = %38, %16
%46 = phi i32 [ 0, %16 ], [ 1, %38 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %10) #3
ret i32 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @callchain_list__sym_name(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @callchain_list_counts__printf_value(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @callchain_node__scnprintf_value(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"callchain_print_arg", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"hist_browser", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_2__", !8, i64 0}
| linux_tools_perf_ui_browsers_extr_hists.c_hist_browser__show_callchain_list |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bnad.c_bnad_txrx_irq_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bnad.c_bnad_txrx_irq_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnad_txrx_irq_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bnad_txrx_irq_free(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = tail call i32 @kfree(ptr noundef %3) #2
store ptr null, ptr %1, align 8, !tbaa !5
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bna_intr_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bnad.c_bnad_txrx_irq_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bnad.c_bnad_txrx_irq_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 @bnad_txrx_irq_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bnad_txrx_irq_free(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = tail call i32 @kfree(ptr noundef %3) #2
store ptr null, ptr %1, align 8, !tbaa !6
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bna_intr_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_bna_extr_bnad.c_bnad_txrx_irq_free |
; ModuleID = 'AnghaBench/postgres/src/interfaces/ecpg/ecpglib/extr_descriptor.c_ECPGset_desc_header.c'
source_filename = "AnghaBench/postgres/src/interfaces/ecpg/ecpglib/extr_descriptor.c_ECPGset_desc_header.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ECPGset_desc_header(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @ecpg_find_desc(i32 noundef %0, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %3
store i32 %2, ptr %4, align 4, !tbaa !5
br label %7
7: ; preds = %3, %6
%8 = phi i32 [ 1, %6 ], [ 0, %3 ]
ret i32 %8
}
declare ptr @ecpg_find_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"descriptor", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/postgres/src/interfaces/ecpg/ecpglib/extr_descriptor.c_ECPGset_desc_header.c'
source_filename = "AnghaBench/postgres/src/interfaces/ecpg/ecpglib/extr_descriptor.c_ECPGset_desc_header.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 @ECPGset_desc_header(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @ecpg_find_desc(i32 noundef %0, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %3
store i32 %2, ptr %4, align 4, !tbaa !6
br label %7
7: ; preds = %3, %6
%8 = phi i32 [ 1, %6 ], [ 0, %3 ]
ret i32 %8
}
declare ptr @ecpg_find_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"descriptor", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| postgres_src_interfaces_ecpg_ecpglib_extr_descriptor.c_ECPGset_desc_header |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_scs_8_ai.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_scs_8_ai.c"
target datalayout = "e-m:e-p270:32:32-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 @m68k_op_scs_8_ai() local_unnamed_addr #0 {
%1 = tail call i32 (...) @EA_AY_AI_8() #2
%2 = tail call i64 (...) @COND_CS() #2
%3 = icmp eq i64 %2, 0
%4 = select i1 %3, i32 0, i32 255
%5 = tail call i32 @m68ki_write_8(i32 noundef %1, i32 noundef %4) #2
ret void
}
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EA_AY_AI_8(...) local_unnamed_addr #1
declare i64 @COND_CS(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_scs_8_ai.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_scs_8_ai.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 @m68k_op_scs_8_ai() local_unnamed_addr #0 {
%1 = tail call i32 @EA_AY_AI_8() #2
%2 = tail call i64 @COND_CS() #2
%3 = icmp eq i64 %2, 0
%4 = select i1 %3, i32 0, i32 255
%5 = tail call i32 @m68ki_write_8(i32 noundef %1, i32 noundef %4) #2
ret void
}
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EA_AY_AI_8(...) local_unnamed_addr #1
declare i64 @COND_CS(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopnz.c_m68k_op_scs_8_ai |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_write8.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_write8.c"
target datalayout = "e-m:e-p270:32:32-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.map_pci_info = type { ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mtd_pci_write8], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mtd_pci_write8(ptr noundef %0, ptr nocapture readonly %1, i64 noundef %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.map_pci_info, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = load ptr, ptr %0, align 8, !tbaa !13
%8 = tail call i64 %7(ptr noundef nonnull %0, i64 noundef %2) #2
%9 = add nsw i64 %8, %6
%10 = tail call i32 @writeb(i32 noundef %4, i64 noundef %9) #2
ret void
}
declare i32 @writeb(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 = !{!"map_pci_info", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_write8.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_write8.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 @mtd_pci_write8], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mtd_pci_write8(ptr noundef %0, i64 %1, i64 noundef %2) #0 {
%4 = inttoptr i64 %1 to ptr
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = load ptr, ptr %0, align 8, !tbaa !14
%9 = tail call i64 %8(ptr noundef nonnull %0, i64 noundef %2) #2
%10 = add nsw i64 %9, %7
%11 = tail call i32 @writeb(i32 noundef %5, i64 noundef %10) #2
ret void
}
declare i32 @writeb(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 = !{!"map_pci_info", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 0}
| fastsocket_kernel_drivers_mtd_maps_extr_pci.c_mtd_pci_write8 |
; ModuleID = 'AnghaBench/reactos/dll/win32/secur32/wine/extr_util.c_SECUR32_arc4Init.c'
source_filename = "AnghaBench/reactos/dll/win32/secur32/wine/extr_util.c_SECUR32_arc4Init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, i64, i64 }
@.str = private unnamed_addr constant [14 x i8] c"(%p, %p, %d)\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @SECUR32_arc4Init(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, i32 noundef %2) #3
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
%6 = load ptr, ptr %0, align 8, !tbaa !5
br label %7
7: ; preds = %7, %3
%8 = phi i64 [ 0, %3 ], [ %28, %7 ]
%9 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %3 ], [ %29, %7 ]
%10 = add <4 x i32> %9, <i32 4, i32 4, i32 4, i32 4>
%11 = getelementptr inbounds i32, ptr %6, i64 %8
%12 = getelementptr inbounds i32, ptr %11, i64 4
store <4 x i32> %9, ptr %11, align 4, !tbaa !11
store <4 x i32> %10, ptr %12, align 4, !tbaa !11
%13 = or disjoint i64 %8, 8
%14 = add <4 x i32> %9, <i32 8, i32 8, i32 8, i32 8>
%15 = add <4 x i32> %9, <i32 12, i32 12, i32 12, i32 12>
%16 = getelementptr inbounds i32, ptr %6, i64 %13
%17 = getelementptr inbounds i32, ptr %16, i64 4
store <4 x i32> %14, ptr %16, align 4, !tbaa !11
store <4 x i32> %15, ptr %17, align 4, !tbaa !11
%18 = or disjoint i64 %8, 16
%19 = add <4 x i32> %9, <i32 16, i32 16, i32 16, i32 16>
%20 = add <4 x i32> %9, <i32 20, i32 20, i32 20, i32 20>
%21 = getelementptr inbounds i32, ptr %6, i64 %18
%22 = getelementptr inbounds i32, ptr %21, i64 4
store <4 x i32> %19, ptr %21, align 4, !tbaa !11
store <4 x i32> %20, ptr %22, align 4, !tbaa !11
%23 = or disjoint i64 %8, 24
%24 = add <4 x i32> %9, <i32 24, i32 24, i32 24, i32 24>
%25 = add <4 x i32> %9, <i32 28, i32 28, i32 28, i32 28>
%26 = getelementptr inbounds i32, ptr %6, i64 %23
%27 = getelementptr inbounds i32, ptr %26, i64 4
store <4 x i32> %24, ptr %26, align 4, !tbaa !11
store <4 x i32> %25, ptr %27, align 4, !tbaa !11
%28 = add nuw nsw i64 %8, 32
%29 = add <4 x i32> %9, <i32 32, i32 32, i32 32, i32 32>
%30 = icmp eq i64 %28, 256
br i1 %30, label %31, label %7, !llvm.loop !13
31: ; preds = %7, %31
%32 = phi i64 [ %50, %31 ], [ 0, %7 ]
%33 = phi i32 [ %49, %31 ], [ 0, %7 ]
%34 = phi i32 [ %43, %31 ], [ 0, %7 ]
%35 = getelementptr inbounds i32, ptr %6, i64 %32
%36 = load i32, ptr %35, align 4, !tbaa !11
%37 = zext i32 %33 to i64
%38 = getelementptr inbounds i64, ptr %1, i64 %37
%39 = load i64, ptr %38, align 8, !tbaa !17
%40 = trunc i64 %39 to i32
%41 = add i32 %36, %34
%42 = add i32 %41, %40
%43 = and i32 %42, 255
%44 = zext nneg i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %6, i64 %44
%46 = load i32, ptr %45, align 4, !tbaa !11
store i32 %46, ptr %35, align 4, !tbaa !11
store i32 %36, ptr %45, align 4, !tbaa !11
%47 = add i32 %33, 1
%48 = icmp ult i32 %47, %2
%49 = select i1 %48, i32 %47, i32 0
%50 = add nuw nsw i64 %32, 1
%51 = icmp eq i64 %50, 256
br i1 %51, label %52, label %31, !llvm.loop !18
52: ; preds = %31
ret void
}
declare i32 @TRACE(ptr noundef, ptr noundef, ptr 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, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !14}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/secur32/wine/extr_util.c_SECUR32_arc4Init.c'
source_filename = "AnghaBench/reactos/dll/win32/secur32/wine/extr_util.c_SECUR32_arc4Init.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 [14 x i8] c"(%p, %p, %d)\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @SECUR32_arc4Init(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, i32 noundef %2) #3
%5 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 16
%8 = getelementptr inbounds i8, ptr %6, i64 32
%9 = getelementptr inbounds i8, ptr %6, i64 48
store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %6, align 4, !tbaa !12
store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, ptr %7, align 4, !tbaa !12
store <4 x i32> <i32 8, i32 9, i32 10, i32 11>, ptr %8, align 4, !tbaa !12
store <4 x i32> <i32 12, i32 13, i32 14, i32 15>, ptr %9, align 4, !tbaa !12
%10 = getelementptr inbounds i8, ptr %6, i64 64
%11 = getelementptr inbounds i8, ptr %6, i64 80
%12 = getelementptr inbounds i8, ptr %6, i64 96
%13 = getelementptr inbounds i8, ptr %6, i64 112
store <4 x i32> <i32 16, i32 17, i32 18, i32 19>, ptr %10, align 4, !tbaa !12
store <4 x i32> <i32 20, i32 21, i32 22, i32 23>, ptr %11, align 4, !tbaa !12
store <4 x i32> <i32 24, i32 25, i32 26, i32 27>, ptr %12, align 4, !tbaa !12
store <4 x i32> <i32 28, i32 29, i32 30, i32 31>, ptr %13, align 4, !tbaa !12
%14 = getelementptr inbounds i8, ptr %6, i64 128
%15 = getelementptr inbounds i8, ptr %6, i64 144
%16 = getelementptr inbounds i8, ptr %6, i64 160
%17 = getelementptr inbounds i8, ptr %6, i64 176
store <4 x i32> <i32 32, i32 33, i32 34, i32 35>, ptr %14, align 4, !tbaa !12
store <4 x i32> <i32 36, i32 37, i32 38, i32 39>, ptr %15, align 4, !tbaa !12
store <4 x i32> <i32 40, i32 41, i32 42, i32 43>, ptr %16, align 4, !tbaa !12
store <4 x i32> <i32 44, i32 45, i32 46, i32 47>, ptr %17, align 4, !tbaa !12
%18 = getelementptr inbounds i8, ptr %6, i64 192
%19 = getelementptr inbounds i8, ptr %6, i64 208
%20 = getelementptr inbounds i8, ptr %6, i64 224
%21 = getelementptr inbounds i8, ptr %6, i64 240
store <4 x i32> <i32 48, i32 49, i32 50, i32 51>, ptr %18, align 4, !tbaa !12
store <4 x i32> <i32 52, i32 53, i32 54, i32 55>, ptr %19, align 4, !tbaa !12
store <4 x i32> <i32 56, i32 57, i32 58, i32 59>, ptr %20, align 4, !tbaa !12
store <4 x i32> <i32 60, i32 61, i32 62, i32 63>, ptr %21, align 4, !tbaa !12
%22 = getelementptr inbounds i8, ptr %6, i64 256
%23 = getelementptr inbounds i8, ptr %6, i64 272
%24 = getelementptr inbounds i8, ptr %6, i64 288
%25 = getelementptr inbounds i8, ptr %6, i64 304
store <4 x i32> <i32 64, i32 65, i32 66, i32 67>, ptr %22, align 4, !tbaa !12
store <4 x i32> <i32 68, i32 69, i32 70, i32 71>, ptr %23, align 4, !tbaa !12
store <4 x i32> <i32 72, i32 73, i32 74, i32 75>, ptr %24, align 4, !tbaa !12
store <4 x i32> <i32 76, i32 77, i32 78, i32 79>, ptr %25, align 4, !tbaa !12
%26 = getelementptr inbounds i8, ptr %6, i64 320
%27 = getelementptr inbounds i8, ptr %6, i64 336
%28 = getelementptr inbounds i8, ptr %6, i64 352
%29 = getelementptr inbounds i8, ptr %6, i64 368
store <4 x i32> <i32 80, i32 81, i32 82, i32 83>, ptr %26, align 4, !tbaa !12
store <4 x i32> <i32 84, i32 85, i32 86, i32 87>, ptr %27, align 4, !tbaa !12
store <4 x i32> <i32 88, i32 89, i32 90, i32 91>, ptr %28, align 4, !tbaa !12
store <4 x i32> <i32 92, i32 93, i32 94, i32 95>, ptr %29, align 4, !tbaa !12
%30 = getelementptr inbounds i8, ptr %6, i64 384
%31 = getelementptr inbounds i8, ptr %6, i64 400
%32 = getelementptr inbounds i8, ptr %6, i64 416
%33 = getelementptr inbounds i8, ptr %6, i64 432
store <4 x i32> <i32 96, i32 97, i32 98, i32 99>, ptr %30, align 4, !tbaa !12
store <4 x i32> <i32 100, i32 101, i32 102, i32 103>, ptr %31, align 4, !tbaa !12
store <4 x i32> <i32 104, i32 105, i32 106, i32 107>, ptr %32, align 4, !tbaa !12
store <4 x i32> <i32 108, i32 109, i32 110, i32 111>, ptr %33, align 4, !tbaa !12
%34 = getelementptr inbounds i8, ptr %6, i64 448
%35 = getelementptr inbounds i8, ptr %6, i64 464
%36 = getelementptr inbounds i8, ptr %6, i64 480
%37 = getelementptr inbounds i8, ptr %6, i64 496
store <4 x i32> <i32 112, i32 113, i32 114, i32 115>, ptr %34, align 4, !tbaa !12
store <4 x i32> <i32 116, i32 117, i32 118, i32 119>, ptr %35, align 4, !tbaa !12
store <4 x i32> <i32 120, i32 121, i32 122, i32 123>, ptr %36, align 4, !tbaa !12
store <4 x i32> <i32 124, i32 125, i32 126, i32 127>, ptr %37, align 4, !tbaa !12
%38 = getelementptr inbounds i8, ptr %6, i64 512
%39 = getelementptr inbounds i8, ptr %6, i64 528
%40 = getelementptr inbounds i8, ptr %6, i64 544
%41 = getelementptr inbounds i8, ptr %6, i64 560
store <4 x i32> <i32 128, i32 129, i32 130, i32 131>, ptr %38, align 4, !tbaa !12
store <4 x i32> <i32 132, i32 133, i32 134, i32 135>, ptr %39, align 4, !tbaa !12
store <4 x i32> <i32 136, i32 137, i32 138, i32 139>, ptr %40, align 4, !tbaa !12
store <4 x i32> <i32 140, i32 141, i32 142, i32 143>, ptr %41, align 4, !tbaa !12
%42 = getelementptr inbounds i8, ptr %6, i64 576
%43 = getelementptr inbounds i8, ptr %6, i64 592
%44 = getelementptr inbounds i8, ptr %6, i64 608
%45 = getelementptr inbounds i8, ptr %6, i64 624
store <4 x i32> <i32 144, i32 145, i32 146, i32 147>, ptr %42, align 4, !tbaa !12
store <4 x i32> <i32 148, i32 149, i32 150, i32 151>, ptr %43, align 4, !tbaa !12
store <4 x i32> <i32 152, i32 153, i32 154, i32 155>, ptr %44, align 4, !tbaa !12
store <4 x i32> <i32 156, i32 157, i32 158, i32 159>, ptr %45, align 4, !tbaa !12
%46 = getelementptr inbounds i8, ptr %6, i64 640
%47 = getelementptr inbounds i8, ptr %6, i64 656
%48 = getelementptr inbounds i8, ptr %6, i64 672
%49 = getelementptr inbounds i8, ptr %6, i64 688
store <4 x i32> <i32 160, i32 161, i32 162, i32 163>, ptr %46, align 4, !tbaa !12
store <4 x i32> <i32 164, i32 165, i32 166, i32 167>, ptr %47, align 4, !tbaa !12
store <4 x i32> <i32 168, i32 169, i32 170, i32 171>, ptr %48, align 4, !tbaa !12
store <4 x i32> <i32 172, i32 173, i32 174, i32 175>, ptr %49, align 4, !tbaa !12
%50 = getelementptr inbounds i8, ptr %6, i64 704
%51 = getelementptr inbounds i8, ptr %6, i64 720
%52 = getelementptr inbounds i8, ptr %6, i64 736
%53 = getelementptr inbounds i8, ptr %6, i64 752
store <4 x i32> <i32 176, i32 177, i32 178, i32 179>, ptr %50, align 4, !tbaa !12
store <4 x i32> <i32 180, i32 181, i32 182, i32 183>, ptr %51, align 4, !tbaa !12
store <4 x i32> <i32 184, i32 185, i32 186, i32 187>, ptr %52, align 4, !tbaa !12
store <4 x i32> <i32 188, i32 189, i32 190, i32 191>, ptr %53, align 4, !tbaa !12
%54 = getelementptr inbounds i8, ptr %6, i64 768
%55 = getelementptr inbounds i8, ptr %6, i64 784
%56 = getelementptr inbounds i8, ptr %6, i64 800
%57 = getelementptr inbounds i8, ptr %6, i64 816
store <4 x i32> <i32 192, i32 193, i32 194, i32 195>, ptr %54, align 4, !tbaa !12
store <4 x i32> <i32 196, i32 197, i32 198, i32 199>, ptr %55, align 4, !tbaa !12
store <4 x i32> <i32 200, i32 201, i32 202, i32 203>, ptr %56, align 4, !tbaa !12
store <4 x i32> <i32 204, i32 205, i32 206, i32 207>, ptr %57, align 4, !tbaa !12
%58 = getelementptr inbounds i8, ptr %6, i64 832
%59 = getelementptr inbounds i8, ptr %6, i64 848
%60 = getelementptr inbounds i8, ptr %6, i64 864
%61 = getelementptr inbounds i8, ptr %6, i64 880
store <4 x i32> <i32 208, i32 209, i32 210, i32 211>, ptr %58, align 4, !tbaa !12
store <4 x i32> <i32 212, i32 213, i32 214, i32 215>, ptr %59, align 4, !tbaa !12
store <4 x i32> <i32 216, i32 217, i32 218, i32 219>, ptr %60, align 4, !tbaa !12
store <4 x i32> <i32 220, i32 221, i32 222, i32 223>, ptr %61, align 4, !tbaa !12
%62 = getelementptr inbounds i8, ptr %6, i64 896
%63 = getelementptr inbounds i8, ptr %6, i64 912
%64 = getelementptr inbounds i8, ptr %6, i64 928
%65 = getelementptr inbounds i8, ptr %6, i64 944
store <4 x i32> <i32 224, i32 225, i32 226, i32 227>, ptr %62, align 4, !tbaa !12
store <4 x i32> <i32 228, i32 229, i32 230, i32 231>, ptr %63, align 4, !tbaa !12
store <4 x i32> <i32 232, i32 233, i32 234, i32 235>, ptr %64, align 4, !tbaa !12
store <4 x i32> <i32 236, i32 237, i32 238, i32 239>, ptr %65, align 4, !tbaa !12
%66 = getelementptr inbounds i8, ptr %6, i64 960
%67 = getelementptr inbounds i8, ptr %6, i64 976
%68 = getelementptr inbounds i8, ptr %6, i64 992
%69 = getelementptr inbounds i8, ptr %6, i64 1008
store <4 x i32> <i32 240, i32 241, i32 242, i32 243>, ptr %66, align 4, !tbaa !12
store <4 x i32> <i32 244, i32 245, i32 246, i32 247>, ptr %67, align 4, !tbaa !12
store <4 x i32> <i32 248, i32 249, i32 250, i32 251>, ptr %68, align 4, !tbaa !12
store <4 x i32> <i32 252, i32 253, i32 254, i32 255>, ptr %69, align 4, !tbaa !12
br label %70
70: ; preds = %3, %70
%71 = phi i64 [ %89, %70 ], [ 0, %3 ]
%72 = phi i32 [ %88, %70 ], [ 0, %3 ]
%73 = phi i32 [ %82, %70 ], [ 0, %3 ]
%74 = getelementptr inbounds i32, ptr %6, i64 %71
%75 = load i32, ptr %74, align 4, !tbaa !12
%76 = zext i32 %72 to i64
%77 = getelementptr inbounds i64, ptr %1, i64 %76
%78 = load i64, ptr %77, align 8, !tbaa !14
%79 = trunc i64 %78 to i32
%80 = add i32 %75, %73
%81 = add i32 %80, %79
%82 = and i32 %81, 255
%83 = zext nneg i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %6, i64 %83
%85 = load i32, ptr %84, align 4, !tbaa !12
store i32 %85, ptr %74, align 4, !tbaa !12
store i32 %75, ptr %84, align 4, !tbaa !12
%86 = add i32 %72, 1
%87 = icmp ult i32 %86, %2
%88 = select i1 %87, i32 %86, i32 0
%89 = add nuw nsw i64 %71, 1
%90 = icmp eq i64 %89, 256
br i1 %90, label %91, label %70, !llvm.loop !15
91: ; preds = %70
ret void
}
declare i32 @TRACE(ptr noundef, ptr noundef, ptr 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, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!11, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| reactos_dll_win32_secur32_wine_extr_util.c_SECUR32_arc4Init |
; ModuleID = 'AnghaBench/lz4/tests/extr_frametest.c_FUZ_highbit.c'
source_filename = "AnghaBench/lz4/tests/extr_frametest.c_FUZ_highbit.c"
target datalayout = "e-m:e-p270:32:32-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 @FUZ_highbit], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define internal i32 @FUZ_highbit(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 0
br i1 %2, label %9, label %3
3: ; preds = %1, %3
%4 = phi i32 [ %7, %3 ], [ 0, %1 ]
%5 = phi i32 [ %6, %3 ], [ %0, %1 ]
%6 = ashr i32 %5, 1
%7 = add i32 %4, 1
%8 = icmp ult i32 %5, 2
br i1 %8, label %9, label %3, !llvm.loop !5
9: ; preds = %3, %1
%10 = phi i32 [ 0, %1 ], [ %7, %3 ]
ret i32 %10
}
attributes #0 = { nofree norecurse nosync nounwind memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/lz4/tests/extr_frametest.c_FUZ_highbit.c'
source_filename = "AnghaBench/lz4/tests/extr_frametest.c_FUZ_highbit.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 @FUZ_highbit], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(none) uwtable(sync)
define internal i32 @FUZ_highbit(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 0
br i1 %2, label %9, label %3
3: ; preds = %1, %3
%4 = phi i32 [ %7, %3 ], [ 0, %1 ]
%5 = phi i32 [ %6, %3 ], [ %0, %1 ]
%6 = ashr i32 %5, 1
%7 = add i32 %4, 1
%8 = icmp ult i32 %5, 2
br i1 %8, label %9, label %3, !llvm.loop !6
9: ; preds = %3, %1
%10 = phi i32 [ 0, %1 ], [ %7, %3 ]
ret i32 %10
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| lz4_tests_extr_frametest.c_FUZ_highbit |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_lport.c_fc_lport_enter_scr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_lport.c_fc_lport_enter_scr.c"
target datalayout = "e-m:e-p270:32:32-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.fc_lport = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [33 x i8] c"Entered SCR state from %s state\0A\00", align 1
@LPORT_ST_SCR = dso_local local_unnamed_addr global i32 0, align 4
@FC_FID_FCTRL = dso_local local_unnamed_addr global i32 0, align 4
@ELS_SCR = dso_local local_unnamed_addr global i32 0, align 4
@fc_lport_scr_resp = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fc_lport_enter_scr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fc_lport_enter_scr(ptr noundef %0) #0 {
%2 = tail call i32 @fc_lport_state(ptr noundef %0) #2
%3 = tail call i32 @FC_LPORT_DBG(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
%4 = load i32, ptr @LPORT_ST_SCR, align 4, !tbaa !5
%5 = tail call i32 @fc_lport_state_enter(ptr noundef %0, i32 noundef %4) #2
%6 = tail call ptr @fc_frame_alloc(ptr noundef %0, i32 noundef 4) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @fc_lport_error(ptr noundef %0, ptr noundef null) #2
br label %22
10: ; preds = %1
%11 = getelementptr inbounds %struct.fc_lport, ptr %0, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !9
%13 = load i32, ptr @FC_FID_FCTRL, align 4, !tbaa !5
%14 = load i32, ptr @ELS_SCR, align 4, !tbaa !5
%15 = load i32, ptr @fc_lport_scr_resp, align 4, !tbaa !5
%16 = load i32, ptr %0, align 8, !tbaa !13
%17 = shl nsw i32 %16, 1
%18 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef %13, ptr noundef nonnull %6, i32 noundef %14, i32 noundef %15, ptr noundef nonnull %0, i32 noundef %17) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %10
%21 = tail call i32 @fc_lport_error(ptr noundef nonnull %0, ptr noundef null) #2
br label %22
22: ; preds = %10, %20, %8
ret void
}
declare i32 @FC_LPORT_DBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fc_lport_state(ptr noundef) local_unnamed_addr #1
declare i32 @fc_lport_state_enter(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @fc_frame_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fc_lport_error(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"fc_lport", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_lport.c_fc_lport_enter_scr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_lport.c_fc_lport_enter_scr.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 [33 x i8] c"Entered SCR state from %s state\0A\00", align 1
@LPORT_ST_SCR = common local_unnamed_addr global i32 0, align 4
@FC_FID_FCTRL = common local_unnamed_addr global i32 0, align 4
@ELS_SCR = common local_unnamed_addr global i32 0, align 4
@fc_lport_scr_resp = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fc_lport_enter_scr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fc_lport_enter_scr(ptr noundef %0) #0 {
%2 = tail call i32 @fc_lport_state(ptr noundef %0) #2
%3 = tail call i32 @FC_LPORT_DBG(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
%4 = load i32, ptr @LPORT_ST_SCR, align 4, !tbaa !6
%5 = tail call i32 @fc_lport_state_enter(ptr noundef %0, i32 noundef %4) #2
%6 = tail call ptr @fc_frame_alloc(ptr noundef %0, i32 noundef 4) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @fc_lport_error(ptr noundef %0, ptr noundef null) #2
br label %22
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !10
%13 = load i32, ptr @FC_FID_FCTRL, align 4, !tbaa !6
%14 = load i32, ptr @ELS_SCR, align 4, !tbaa !6
%15 = load i32, ptr @fc_lport_scr_resp, align 4, !tbaa !6
%16 = load i32, ptr %0, align 8, !tbaa !14
%17 = shl nsw i32 %16, 1
%18 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef %13, ptr noundef nonnull %6, i32 noundef %14, i32 noundef %15, ptr noundef nonnull %0, i32 noundef %17) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %10
%21 = tail call i32 @fc_lport_error(ptr noundef nonnull %0, ptr noundef null) #2
br label %22
22: ; preds = %10, %20, %8
ret void
}
declare i32 @FC_LPORT_DBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fc_lport_state(ptr noundef) local_unnamed_addr #1
declare i32 @fc_lport_state_enter(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @fc_frame_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fc_lport_error(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"fc_lport", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !7, i64 0}
| fastsocket_kernel_drivers_scsi_libfc_extr_fc_lport.c_fc_lport_enter_scr |
; ModuleID = 'AnghaBench/linux/crypto/extr_blkcipher.c_crypto_init_blkcipher_ops.c'
source_filename = "AnghaBench/linux/crypto/extr_blkcipher.c_crypto_init_blkcipher_ops.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@CRYPTO_ALG_TYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @crypto_init_blkcipher_ops], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @crypto_init_blkcipher_ops(ptr noundef %0, i32 %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !13
%7 = sdiv i32 %6, 8
%8 = icmp sgt i32 %5, %7
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !13
%11 = sub nsw i32 0, %10
br label %20
12: ; preds = %3
%13 = load i32, ptr @CRYPTO_ALG_TYPE_MASK, align 4, !tbaa !13
%14 = and i32 %13, %2
%15 = icmp eq i32 %14, %13
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = tail call i32 @crypto_init_blkcipher_ops_sync(ptr noundef nonnull %0) #2
br label %20
18: ; preds = %12
%19 = tail call i32 @crypto_init_blkcipher_ops_async(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %18, %16, %9
%21 = phi i32 [ %11, %9 ], [ %17, %16 ], [ %19, %18 ]
ret i32 %21
}
declare i32 @crypto_init_blkcipher_ops_sync(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_init_blkcipher_ops_async(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 = !{!"crypto_tfm", !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 = !{!"blkcipher_alg", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/crypto/extr_blkcipher.c_crypto_init_blkcipher_ops.c'
source_filename = "AnghaBench/linux/crypto/extr_blkcipher.c_crypto_init_blkcipher_ops.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@CRYPTO_ALG_TYPE_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @crypto_init_blkcipher_ops], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @crypto_init_blkcipher_ops(ptr noundef %0, i32 %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !14
%7 = sdiv i32 %6, 8
%8 = icmp sgt i32 %5, %7
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !14
%11 = sub nsw i32 0, %10
br label %20
12: ; preds = %3
%13 = load i32, ptr @CRYPTO_ALG_TYPE_MASK, align 4, !tbaa !14
%14 = and i32 %13, %2
%15 = icmp eq i32 %14, %13
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = tail call i32 @crypto_init_blkcipher_ops_sync(ptr noundef nonnull %0) #2
br label %20
18: ; preds = %12
%19 = tail call i32 @crypto_init_blkcipher_ops_async(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %18, %16, %9
%21 = phi i32 [ %11, %9 ], [ %17, %16 ], [ %19, %18 ]
ret i32 %21
}
declare i32 @crypto_init_blkcipher_ops_sync(ptr noundef) local_unnamed_addr #1
declare i32 @crypto_init_blkcipher_ops_async(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 = !{!"crypto_tfm", !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 = !{!"blkcipher_alg", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| linux_crypto_extr_blkcipher.c_crypto_init_blkcipher_ops |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslpredef.c_ApCheckObjectType.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslpredef.c_ApCheckObjectType.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AE_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@ACPI_RTYPE_INTEGER = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"Integer\00", align 1
@ACPI_RTYPE_STRING = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"String\00", align 1
@ACPI_RTYPE_BUFFER = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"Buffer\00", align 1
@ACPI_RTYPE_PACKAGE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c"Package\00", align 1
@ACPI_NOT_PACKAGE_ELEMENT = dso_local local_unnamed_addr global i32 0, align 4
@AE_OK = dso_local local_unnamed_addr global i32 0, align 4
@ACPI_RTYPE_REFERENCE = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [10 x i8] c"Reference\00", align 1
@AslGbl_StringBuffer = dso_local local_unnamed_addr global ptr null, align 8
@AslGbl_MsgBuffer = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [29 x i8] c"%4.4s: found %s, %s required\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"%4.4s: found %s at index %u, %s required\00", align 1
@ASL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ASL_MSG_RESERVED_OPERAND_TYPE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ApCheckObjectType(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %1, null
br i1 %5, label %39, label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %7, label %14 [
i32 128, label %16
i32 133, label %16
i32 132, label %16
i32 136, label %16
i32 130, label %8
i32 137, label %9
i32 131, label %10
i32 129, label %10
i32 135, label %11
i32 134, label %11
]
8: ; preds = %6
br label %16
9: ; preds = %6
br label %16
10: ; preds = %6, %6
br label %16
11: ; preds = %6, %6
%12 = load i32, ptr @ACPI_NOT_PACKAGE_ELEMENT, align 4, !tbaa !11
%13 = icmp eq i32 %12, %3
br i1 %13, label %16, label %39
14: ; preds = %6
%15 = tail call ptr @UtGetOpName(i32 noundef %7) #2
br label %22
16: ; preds = %11, %6, %6, %6, %6, %10, %9, %8
%17 = phi ptr [ @ACPI_RTYPE_PACKAGE, %10 ], [ @ACPI_RTYPE_BUFFER, %9 ], [ @ACPI_RTYPE_STRING, %8 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_REFERENCE, %11 ]
%18 = phi ptr [ @.str.3, %10 ], [ @.str.2, %9 ], [ @.str.1, %8 ], [ @.str, %6 ], [ @.str, %6 ], [ @.str, %6 ], [ @.str, %6 ], [ @.str.4, %11 ]
%19 = load i32, ptr %17, align 4, !tbaa !11
%20 = and i32 %19, %2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %39
22: ; preds = %16, %14
%23 = phi ptr [ %15, %14 ], [ %18, %16 ]
%24 = load ptr, ptr @AslGbl_StringBuffer, align 8, !tbaa !12
%25 = tail call i32 @AcpiUtGetExpectedReturnTypes(ptr noundef %24, i32 noundef %2) #2
%26 = load i32, ptr @ACPI_NOT_PACKAGE_ELEMENT, align 4, !tbaa !11
%27 = icmp eq i32 %26, %3
%28 = load i32, ptr @AslGbl_MsgBuffer, align 4, !tbaa !11
%29 = load ptr, ptr @AslGbl_StringBuffer, align 8, !tbaa !12
br i1 %27, label %30, label %32
30: ; preds = %22
%31 = tail call i32 (i32, ptr, ptr, ptr, ...) @sprintf(i32 noundef %28, ptr noundef nonnull @.str.5, ptr noundef %0, ptr noundef %23, ptr noundef %29) #2
br label %34
32: ; preds = %22
%33 = tail call i32 (i32, ptr, ptr, ptr, ...) @sprintf(i32 noundef %28, ptr noundef nonnull @.str.6, ptr noundef %0, ptr noundef %23, i32 noundef %3, ptr noundef %29) #2
br label %34
34: ; preds = %32, %30
%35 = load i32, ptr @ASL_ERROR, align 4, !tbaa !11
%36 = load i32, ptr @ASL_MSG_RESERVED_OPERAND_TYPE, align 4, !tbaa !11
%37 = load i32, ptr @AslGbl_MsgBuffer, align 4, !tbaa !11
%38 = tail call i32 @AslError(i32 noundef %35, i32 noundef %36, ptr noundef nonnull %1, i32 noundef %37) #2
br label %39
39: ; preds = %16, %11, %4, %34
%40 = phi ptr [ @AE_TYPE, %34 ], [ @AE_TYPE, %4 ], [ @AE_OK, %11 ], [ @AE_OK, %16 ]
%41 = load i32, ptr %40, align 4, !tbaa !11
ret i32 %41
}
declare ptr @UtGetOpName(i32 noundef) local_unnamed_addr #1
declare i32 @AcpiUtGetExpectedReturnTypes(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @AslError(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslpredef.c_ApCheckObjectType.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslpredef.c_ApCheckObjectType.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AE_TYPE = common local_unnamed_addr global i32 0, align 4
@ACPI_RTYPE_INTEGER = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"Integer\00", align 1
@ACPI_RTYPE_STRING = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"String\00", align 1
@ACPI_RTYPE_BUFFER = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"Buffer\00", align 1
@ACPI_RTYPE_PACKAGE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c"Package\00", align 1
@ACPI_NOT_PACKAGE_ELEMENT = common local_unnamed_addr global i32 0, align 4
@AE_OK = common local_unnamed_addr global i32 0, align 4
@ACPI_RTYPE_REFERENCE = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [10 x i8] c"Reference\00", align 1
@AslGbl_StringBuffer = common local_unnamed_addr global ptr null, align 8
@AslGbl_MsgBuffer = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [29 x i8] c"%4.4s: found %s, %s required\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"%4.4s: found %s at index %u, %s required\00", align 1
@ASL_ERROR = common local_unnamed_addr global i32 0, align 4
@ASL_MSG_RESERVED_OPERAND_TYPE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ApCheckObjectType(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %1, null
br i1 %5, label %39, label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %7, label %14 [
i32 128, label %16
i32 133, label %16
i32 132, label %16
i32 136, label %16
i32 130, label %8
i32 137, label %9
i32 131, label %10
i32 129, label %10
i32 135, label %11
i32 134, label %11
]
8: ; preds = %6
br label %16
9: ; preds = %6
br label %16
10: ; preds = %6, %6
br label %16
11: ; preds = %6, %6
%12 = load i32, ptr @ACPI_NOT_PACKAGE_ELEMENT, align 4, !tbaa !12
%13 = icmp eq i32 %12, %3
br i1 %13, label %16, label %39
14: ; preds = %6
%15 = tail call ptr @UtGetOpName(i32 noundef %7) #2
br label %22
16: ; preds = %11, %6, %6, %6, %6, %10, %9, %8
%17 = phi ptr [ @ACPI_RTYPE_PACKAGE, %10 ], [ @ACPI_RTYPE_BUFFER, %9 ], [ @ACPI_RTYPE_STRING, %8 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_INTEGER, %6 ], [ @ACPI_RTYPE_REFERENCE, %11 ]
%18 = phi ptr [ @.str.3, %10 ], [ @.str.2, %9 ], [ @.str.1, %8 ], [ @.str, %6 ], [ @.str, %6 ], [ @.str, %6 ], [ @.str, %6 ], [ @.str.4, %11 ]
%19 = load i32, ptr %17, align 4, !tbaa !12
%20 = and i32 %19, %2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %39
22: ; preds = %16, %14
%23 = phi ptr [ %15, %14 ], [ %18, %16 ]
%24 = load ptr, ptr @AslGbl_StringBuffer, align 8, !tbaa !13
%25 = tail call i32 @AcpiUtGetExpectedReturnTypes(ptr noundef %24, i32 noundef %2) #2
%26 = load i32, ptr @ACPI_NOT_PACKAGE_ELEMENT, align 4, !tbaa !12
%27 = icmp eq i32 %26, %3
%28 = load i32, ptr @AslGbl_MsgBuffer, align 4, !tbaa !12
%29 = load ptr, ptr @AslGbl_StringBuffer, align 8, !tbaa !13
br i1 %27, label %30, label %32
30: ; preds = %22
%31 = tail call i32 (i32, ptr, ptr, ptr, ...) @sprintf(i32 noundef %28, ptr noundef nonnull @.str.5, ptr noundef %0, ptr noundef %23, ptr noundef %29) #2
br label %34
32: ; preds = %22
%33 = tail call i32 (i32, ptr, ptr, ptr, ...) @sprintf(i32 noundef %28, ptr noundef nonnull @.str.6, ptr noundef %0, ptr noundef %23, i32 noundef %3, ptr noundef %29) #2
br label %34
34: ; preds = %32, %30
%35 = load i32, ptr @ASL_ERROR, align 4, !tbaa !12
%36 = load i32, ptr @ASL_MSG_RESERVED_OPERAND_TYPE, align 4, !tbaa !12
%37 = load i32, ptr @AslGbl_MsgBuffer, align 4, !tbaa !12
%38 = tail call i32 @AslError(i32 noundef %35, i32 noundef %36, ptr noundef nonnull %1, i32 noundef %37) #2
br label %39
39: ; preds = %16, %11, %4, %34
%40 = phi ptr [ @AE_TYPE, %34 ], [ @AE_TYPE, %4 ], [ @AE_OK, %11 ], [ @AE_OK, %16 ]
%41 = load i32, ptr %40, align 4, !tbaa !12
ret i32 %41
}
declare ptr @UtGetOpName(i32 noundef) local_unnamed_addr #1
declare i32 @AcpiUtGetExpectedReturnTypes(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @AslError(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
| freebsd_sys_contrib_dev_acpica_compiler_extr_aslpredef.c_ApCheckObjectType |
; ModuleID = 'AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_spa_create.c'
source_filename = "AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_spa_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, ptr }
@zfs_pools = dso_local global i32 0, align 4
@spa_link = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @spa_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @spa_create(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @calloc(i32 noundef 1, i32 noundef 16) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %16, label %5
5: ; preds = %2
%6 = tail call ptr @strdup(ptr noundef %1)
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 2
store ptr %6, ptr %7, align 8, !tbaa !5
%8 = icmp eq ptr %6, null
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @free(ptr noundef nonnull %3) #3
br label %16
11: ; preds = %5
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
%13 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %12) #3
store i32 %0, ptr %3, align 8, !tbaa !11
%14 = load i32, ptr @spa_link, align 4, !tbaa !12
%15 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull @zfs_pools, ptr noundef nonnull %3, i32 noundef %14) #3
br label %16
16: ; preds = %2, %11, %9
%17 = phi ptr [ null, %9 ], [ %3, %11 ], [ null, %2 ]
ret ptr %17
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_spa_create.c'
source_filename = "AnghaBench/freebsd/stand/libsa/zfs/extr_zfsimpl.c_spa_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@zfs_pools = common global i32 0, align 4
@spa_link = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @spa_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @spa_create(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @calloc(i32 noundef 1, i32 noundef 16) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %16, label %5
5: ; preds = %2
%6 = tail call ptr @strdup(ptr noundef %1)
%7 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %6, ptr %7, align 8, !tbaa !6
%8 = icmp eq ptr %6, null
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @free(ptr noundef nonnull %3) #3
br label %16
11: ; preds = %5
%12 = getelementptr inbounds i8, ptr %3, i64 4
%13 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %12) #3
store i32 %0, ptr %3, align 8, !tbaa !12
%14 = load i32, ptr @spa_link, align 4, !tbaa !13
%15 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull @zfs_pools, ptr noundef nonnull %3, i32 noundef %14) #3
br label %16
16: ; preds = %2, %11, %9
%17 = phi ptr [ null, %9 ], [ %3, %11 ], [ null, %2 ]
ret ptr %17
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
| freebsd_stand_libsa_zfs_extr_zfsimpl.c_spa_create |
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_tps65086-regulator.c_tps65086_of_parse_cb.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_tps65086-regulator.c_tps65086_of_parse_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"
%struct.TYPE_4__ = type { i32, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr, ptr }
%struct.regulator_config = type { i32, i32 }
@.str = private unnamed_addr constant [28 x i8] c"ti,regulator-step-size-25mv\00", align 1
@tps65086_buck126_25mv_ranges = dso_local local_unnamed_addr global ptr null, align 8
@regulators = dso_local local_unnamed_addr global ptr null, align 8
@tps65086_buck345_25mv_ranges = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [47 x i8] c"25mV step mode only valid for BUCK regulators\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"ti,regulator-decay\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Error setting decay\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tps65086_of_parse_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tps65086_of_parse_cb(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i64 @of_property_read_bool(ptr noundef %0, ptr noundef nonnull @.str) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %31, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %7, label %28 [
i32 133, label %8
i32 132, label %8
i32 128, label %8
i32 131, label %18
i32 130, label %18
i32 129, label %18
]
8: ; preds = %6, %6, %6
%9 = load ptr, ptr @tps65086_buck126_25mv_ranges, align 8, !tbaa !10
%10 = load ptr, ptr @regulators, align 8, !tbaa !10
%11 = zext nneg i32 %7 to i64
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %11, i32 2, i32 1
store ptr %9, ptr %12, align 8, !tbaa !12
%13 = tail call ptr @ARRAY_SIZE(ptr noundef %9) #2
%14 = load ptr, ptr @regulators, align 8, !tbaa !10
%15 = load i32, ptr %1, align 4, !tbaa !5
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %16, i32 2
store ptr %13, ptr %17, align 8, !tbaa !15
br label %33
18: ; preds = %6, %6, %6
%19 = load ptr, ptr @tps65086_buck345_25mv_ranges, align 8, !tbaa !10
%20 = load ptr, ptr @regulators, align 8, !tbaa !10
%21 = zext nneg i32 %7 to i64
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i64 %21, i32 2, i32 1
store ptr %19, ptr %22, align 8, !tbaa !12
%23 = tail call ptr @ARRAY_SIZE(ptr noundef %19) #2
%24 = load ptr, ptr @regulators, align 8, !tbaa !10
%25 = load i32, ptr %1, align 4, !tbaa !5
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %26, i32 2
store ptr %23, ptr %27, align 8, !tbaa !15
br label %33
28: ; preds = %6
%29 = load i32, ptr %2, align 4, !tbaa !16
%30 = tail call i32 @dev_warn(i32 noundef %29, ptr noundef nonnull @.str.1) #2
br label %31
31: ; preds = %3, %28
%32 = load i32, ptr %1, align 4, !tbaa !5
br label %33
33: ; preds = %31, %8, %18
%34 = phi i32 [ %32, %31 ], [ %15, %8 ], [ %25, %18 ]
%35 = icmp slt i32 %34, 129
br i1 %35, label %36, label %54
36: ; preds = %33
%37 = tail call i64 @of_property_read_bool(ptr noundef %0, ptr noundef nonnull @.str.2) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %54, label %39
39: ; preds = %36
%40 = getelementptr inbounds %struct.regulator_config, ptr %2, i64 0, i32 1
%41 = load i32, ptr %40, align 4, !tbaa !18
%42 = load ptr, ptr @regulators, align 8, !tbaa !10
%43 = load i32, ptr %1, align 4, !tbaa !5
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds %struct.TYPE_4__, ptr %42, i64 %44
%46 = getelementptr inbounds %struct.TYPE_4__, ptr %42, i64 %44, i32 1
%47 = load i32, ptr %46, align 4, !tbaa !19
%48 = load i32, ptr %45, align 8, !tbaa !20
%49 = tail call i32 @regmap_write_bits(i32 noundef %41, i32 noundef %47, i32 noundef %48, i32 noundef %48) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %39
%52 = load i32, ptr %2, align 4, !tbaa !16
%53 = tail call i32 @dev_err(i32 noundef %52, ptr noundef nonnull @.str.3) #2
br label %54
54: ; preds = %33, %36, %39, %51
%55 = phi i32 [ %49, %51 ], [ 0, %39 ], [ 0, %36 ], [ 0, %33 ]
ret i32 %55
}
declare i64 @of_property_read_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @regmap_write_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = !{!"regulator_desc", !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 16}
!13 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !14, i64 8}
!14 = !{!"TYPE_3__", !11, i64 0, !11, i64 8}
!15 = !{!13, !11, i64 8}
!16 = !{!17, !7, i64 0}
!17 = !{!"regulator_config", !7, i64 0, !7, i64 4}
!18 = !{!17, !7, i64 4}
!19 = !{!13, !7, i64 4}
!20 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_tps65086-regulator.c_tps65086_of_parse_cb.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_tps65086-regulator.c_tps65086_of_parse_cb.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, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr, ptr }
@.str = private unnamed_addr constant [28 x i8] c"ti,regulator-step-size-25mv\00", align 1
@tps65086_buck126_25mv_ranges = common local_unnamed_addr global ptr null, align 8
@regulators = common local_unnamed_addr global ptr null, align 8
@tps65086_buck345_25mv_ranges = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [47 x i8] c"25mV step mode only valid for BUCK regulators\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"ti,regulator-decay\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Error setting decay\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tps65086_of_parse_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tps65086_of_parse_cb(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i64 @of_property_read_bool(ptr noundef %0, ptr noundef nonnull @.str) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %31, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %7, label %28 [
i32 133, label %8
i32 132, label %8
i32 128, label %8
i32 131, label %18
i32 130, label %18
i32 129, label %18
]
8: ; preds = %6, %6, %6
%9 = load ptr, ptr @tps65086_buck126_25mv_ranges, align 8, !tbaa !11
%10 = load ptr, ptr @regulators, align 8, !tbaa !11
%11 = zext nneg i32 %7 to i64
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %11, i32 2, i32 1
store ptr %9, ptr %12, align 8, !tbaa !13
%13 = tail call ptr @ARRAY_SIZE(ptr noundef %9) #2
%14 = load ptr, ptr @regulators, align 8, !tbaa !11
%15 = load i32, ptr %1, align 4, !tbaa !6
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %16, i32 2
store ptr %13, ptr %17, align 8, !tbaa !16
br label %33
18: ; preds = %6, %6, %6
%19 = load ptr, ptr @tps65086_buck345_25mv_ranges, align 8, !tbaa !11
%20 = load ptr, ptr @regulators, align 8, !tbaa !11
%21 = zext nneg i32 %7 to i64
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i64 %21, i32 2, i32 1
store ptr %19, ptr %22, align 8, !tbaa !13
%23 = tail call ptr @ARRAY_SIZE(ptr noundef %19) #2
%24 = load ptr, ptr @regulators, align 8, !tbaa !11
%25 = load i32, ptr %1, align 4, !tbaa !6
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %26, i32 2
store ptr %23, ptr %27, align 8, !tbaa !16
br label %33
28: ; preds = %6
%29 = load i32, ptr %2, align 4, !tbaa !17
%30 = tail call i32 @dev_warn(i32 noundef %29, ptr noundef nonnull @.str.1) #2
br label %31
31: ; preds = %3, %28
%32 = load i32, ptr %1, align 4, !tbaa !6
br label %33
33: ; preds = %31, %8, %18
%34 = phi i32 [ %32, %31 ], [ %15, %8 ], [ %25, %18 ]
%35 = icmp slt i32 %34, 129
br i1 %35, label %36, label %54
36: ; preds = %33
%37 = tail call i64 @of_property_read_bool(ptr noundef %0, ptr noundef nonnull @.str.2) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %54, label %39
39: ; preds = %36
%40 = getelementptr inbounds i8, ptr %2, i64 4
%41 = load i32, ptr %40, align 4, !tbaa !19
%42 = load ptr, ptr @regulators, align 8, !tbaa !11
%43 = load i32, ptr %1, align 4, !tbaa !6
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds %struct.TYPE_4__, ptr %42, i64 %44
%46 = getelementptr inbounds i8, ptr %45, i64 4
%47 = load i32, ptr %46, align 4, !tbaa !20
%48 = load i32, ptr %45, align 8, !tbaa !21
%49 = tail call i32 @regmap_write_bits(i32 noundef %41, i32 noundef %47, i32 noundef %48, i32 noundef %48) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %39
%52 = load i32, ptr %2, align 4, !tbaa !17
%53 = tail call i32 @dev_err(i32 noundef %52, ptr noundef nonnull @.str.3) #2
br label %54
54: ; preds = %33, %36, %39, %51
%55 = phi i32 [ %49, %51 ], [ 0, %39 ], [ 0, %36 ], [ 0, %33 ]
ret i32 %55
}
declare i64 @of_property_read_bool(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @regmap_write_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = !{!"regulator_desc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !15, i64 8}
!15 = !{!"TYPE_3__", !12, i64 0, !12, i64 8}
!16 = !{!14, !12, i64 8}
!17 = !{!18, !8, i64 0}
!18 = !{!"regulator_config", !8, i64 0, !8, i64 4}
!19 = !{!18, !8, i64 4}
!20 = !{!14, !8, i64 4}
!21 = !{!14, !8, i64 0}
| linux_drivers_regulator_extr_tps65086-regulator.c_tps65086_of_parse_cb |
; ModuleID = 'AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsnccnt.c__mbsnccnt.c'
source_filename = "AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsnccnt.c__mbsnccnt.c"
target datalayout = "e-m:e-p270:32:32-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 @_mbsnccnt(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i8, ptr %0, align 1, !tbaa !5
%4 = icmp ne i8 %3, 0
%5 = icmp ne i64 %1, 0
%6 = and i1 %4, %5
br i1 %6, label %7, label %25
7: ; preds = %2, %7
%8 = phi i8 [ %21, %7 ], [ %3, %2 ]
%9 = phi i64 [ %20, %7 ], [ 0, %2 ]
%10 = phi ptr [ %19, %7 ], [ %0, %2 ]
%11 = phi i64 [ %15, %7 ], [ %1, %2 ]
%12 = tail call i64 @_ismbblead(i8 noundef zeroext %8) #2
%13 = icmp eq i64 %12, 0
%14 = sext i1 %13 to i64
%15 = add i64 %11, %14
%16 = xor i1 %13, true
%17 = zext i1 %16 to i64
%18 = getelementptr inbounds i8, ptr %10, i64 %17
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = add i64 %9, 1
%21 = load i8, ptr %19, align 1, !tbaa !5
%22 = icmp ne i8 %21, 0
%23 = icmp ne i64 %15, 0
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %7, label %25, !llvm.loop !8
25: ; preds = %7, %2
%26 = phi i64 [ 0, %2 ], [ %20, %7 ]
ret i64 %26
}
declare i64 @_ismbblead(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsnccnt.c__mbsnccnt.c'
source_filename = "AnghaBench/reactos/sdk/lib/crt/mbstring/extr_mbsnccnt.c__mbsnccnt.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 @_mbsnccnt(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i8, ptr %0, align 1, !tbaa !6
%4 = icmp ne i8 %3, 0
%5 = icmp ne i64 %1, 0
%6 = and i1 %4, %5
br i1 %6, label %7, label %25
7: ; preds = %2, %7
%8 = phi i8 [ %21, %7 ], [ %3, %2 ]
%9 = phi i64 [ %20, %7 ], [ 0, %2 ]
%10 = phi ptr [ %19, %7 ], [ %0, %2 ]
%11 = phi i64 [ %15, %7 ], [ %1, %2 ]
%12 = tail call i64 @_ismbblead(i8 noundef zeroext %8) #2
%13 = icmp eq i64 %12, 0
%14 = sext i1 %13 to i64
%15 = add i64 %11, %14
%16 = xor i1 %13, true
%17 = zext i1 %16 to i64
%18 = getelementptr inbounds i8, ptr %10, i64 %17
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = add i64 %9, 1
%21 = load i8, ptr %19, align 1, !tbaa !6
%22 = icmp ne i8 %21, 0
%23 = icmp ne i64 %15, 0
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %7, label %25, !llvm.loop !9
25: ; preds = %7, %2
%26 = phi i64 [ 0, %2 ], [ %20, %7 ]
ret i64 %26
}
declare i64 @_ismbblead(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| reactos_sdk_lib_crt_mbstring_extr_mbsnccnt.c__mbsnccnt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.