IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_ieee.c_ieee_typdef.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_ieee.c_ieee_typdef.c" target datalayout = "e-m:e-p270:32:32-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.ieee_handle = type { i32, ptr } %struct.ieee_name_type = type { i32, ptr, i32, %struct.ieee_write_type } %struct.ieee_write_type = type { i32, ptr, i32, i32, i64 } @FALSE = dso_local local_unnamed_addr global i64 0, align 8 @builtin_bcd_float = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"void\00", align 1 @TRUE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"signed char\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"char\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"unsigned char\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"signed short int\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"short\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"short int\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"signed short\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"unsigned short int\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"short unsigned int\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"unsigned short\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"signed long\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"long\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"long int\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"unsigned long\00", align 1 @.str.16 = private unnamed_addr constant [18 x i8] c"long unsigned int\00", align 1 @.str.17 = private unnamed_addr constant [9 x i8] c"unsigned\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"unsigned int\00", align 1 @.str.19 = private unnamed_addr constant [17 x i8] c"signed long long\00", align 1 @.str.20 = private unnamed_addr constant [14 x i8] c"long long int\00", align 1 @.str.21 = private unnamed_addr constant [19 x i8] c"unsigned long long\00", align 1 @.str.22 = private unnamed_addr constant [23 x i8] c"long long unsigned int\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"float\00", align 1 @.str.24 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @.str.25 = private unnamed_addr constant [12 x i8] c"long double\00", align 1 @.str.26 = private unnamed_addr constant [17 x i8] c"long long double\00", align 1 @DEBUG_KIND_ILLEGAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ieee_typdef], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ieee_typdef(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.ieee_handle, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 8, !tbaa.struct !11 %6 = getelementptr inbounds i8, ptr %4, i64 4 %7 = load i32, ptr %6, align 4, !tbaa.struct !16 %8 = getelementptr inbounds i8, ptr %4, i64 16 %9 = load i32, ptr %8, align 8, !tbaa.struct !17 %10 = getelementptr inbounds i8, ptr %4, i64 20 %11 = load i32, ptr %10, align 4, !tbaa.struct !18 %12 = getelementptr inbounds i8, ptr %4, i64 24 %13 = load i64, ptr %12, align 8, !tbaa.struct !19 %14 = load i64, ptr @FALSE, align 8, !tbaa !14 %15 = load i64, ptr @builtin_bcd_float, align 8, !tbaa !14 %16 = trunc i64 %15 to i32 %17 = icmp ugt i32 %5, %16 br i1 %17, label %154, label %18 18: ; preds = %2 switch i32 %5, label %148 [ i32 128, label %19 i32 140, label %24 i32 149, label %24 i32 134, label %35 i32 136, label %40 i32 142, label %40 i32 141, label %40 i32 137, label %40 i32 129, label %61 i32 130, label %61 i32 139, label %75 i32 146, label %75 i32 145, label %75 i32 132, label %93 i32 135, label %93 i32 133, label %93 i32 138, label %112 i32 131, label %120 i32 147, label %128 i32 148, label %133 i32 144, label %138 i32 143, label %143 ] 19: ; preds = %18 %20 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(5) @.str) %21 = icmp eq i32 %20, 0 %22 = load i64, ptr @TRUE, align 8 %23 = select i1 %21, i64 %22, i64 %14 br label %148 24: ; preds = %18, %18 %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(12) @.str.1) %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 29: ; preds = %24 %30 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(5) @.str.2) %31 = icmp eq i32 %30, 0 %32 = load i64, ptr @TRUE, align 8 %33 = select i1 %31, i32 149, i32 %5 %34 = select i1 %31, i64 %32, i64 %14 br label %148 35: ; preds = %18 %36 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(14) @.str.3) %37 = icmp eq i32 %36, 0 %38 = load i64, ptr @TRUE, align 8 %39 = select i1 %37, i64 %38, i64 %14 br label %148 40: ; preds = %18, %18, %18, %18 %41 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(17) @.str.4) %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 45: ; preds = %40 %46 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(6) @.str.5) %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %45 %49 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 50: ; preds = %45 %51 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(10) @.str.6) %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %50 %54 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 55: ; preds = %50 %56 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(13) @.str.7) %57 = icmp eq i32 %56, 0 %58 = load i64, ptr @TRUE, align 8 %59 = select i1 %57, i32 137, i32 %5 %60 = select i1 %57, i64 %58, i64 %14 br label %148 61: ; preds = %18, %18 %62 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(19) @.str.8) %63 = icmp eq i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %61 %65 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(19) @.str.9) %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %64, %61 %68 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 69: ; preds = %64 %70 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(15) @.str.10) %71 = icmp eq i32 %70, 0 %72 = load i64, ptr @TRUE, align 8 %73 = select i1 %71, i32 130, i32 %5 %74 = select i1 %71, i64 %72, i64 %14 br label %148 75: ; preds = %18, %18, %18 %76 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(12) @.str.11) %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %80 78: ; preds = %75 %79 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 80: ; preds = %75 %81 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(4) @.str.12) %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %85 83: ; preds = %80 %84 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 85: ; preds = %80 %86 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(5) @.str.13) %87 = icmp eq i32 %86, 0 br i1 %87, label %91, label %88 88: ; preds = %85 %89 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(9) @.str.14) %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %148 91: ; preds = %88, %85 %92 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 93: ; preds = %18, %18, %18 %94 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(14) @.str.15) %95 = icmp eq i32 %94, 0 br i1 %95, label %99, label %96 96: ; preds = %93 %97 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(18) @.str.16) %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %101 99: ; preds = %96, %93 %100 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 101: ; preds = %96 %102 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(9) @.str.17) %103 = icmp eq i32 %102, 0 br i1 %103, label %104, label %106 104: ; preds = %101 %105 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 106: ; preds = %101 %107 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(13) @.str.18) %108 = icmp eq i32 %107, 0 %109 = load i64, ptr @TRUE, align 8 %110 = select i1 %108, i32 133, i32 %5 %111 = select i1 %108, i64 %109, i64 %14 br label %148 112: ; preds = %18 %113 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(17) @.str.19) %114 = icmp eq i32 %113, 0 br i1 %114, label %118, label %115 115: ; preds = %112 %116 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(14) @.str.20) %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %148 118: ; preds = %115, %112 %119 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 120: ; preds = %18 %121 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(19) @.str.21) %122 = icmp eq i32 %121, 0 br i1 %122, label %126, label %123 123: ; preds = %120 %124 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(23) @.str.22) %125 = icmp eq i32 %124, 0 br i1 %125, label %126, label %148 126: ; preds = %123, %120 %127 = load i64, ptr @TRUE, align 8, !tbaa !14 br label %148 128: ; preds = %18 %129 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(6) @.str.23) %130 = icmp eq i32 %129, 0 %131 = load i64, ptr @TRUE, align 8 %132 = select i1 %130, i64 %131, i64 %14 br label %148 133: ; preds = %18 %134 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(7) @.str.24) %135 = icmp eq i32 %134, 0 %136 = load i64, ptr @TRUE, align 8 %137 = select i1 %135, i64 %136, i64 %14 br label %148 138: ; preds = %18 %139 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(12) @.str.25) %140 = icmp eq i32 %139, 0 %141 = load i64, ptr @TRUE, align 8 %142 = select i1 %140, i64 %141, i64 %14 br label %148 143: ; preds = %18 %144 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(17) @.str.26) %145 = icmp eq i32 %144, 0 %146 = load i64, ptr @TRUE, align 8 %147 = select i1 %145, i64 %146, i64 %14 br label %148 148: ; preds = %143, %138, %133, %128, %106, %69, %55, %35, %29, %19, %123, %126, %115, %118, %99, %104, %78, %88, %91, %83, %67, %43, %53, %48, %27, %18 %149 = phi i32 [ %5, %18 ], [ 131, %126 ], [ 131, %123 ], [ 138, %118 ], [ 138, %115 ], [ 132, %99 ], [ 135, %104 ], [ 139, %78 ], [ 146, %83 ], [ 145, %91 ], [ %5, %88 ], [ 129, %67 ], [ 136, %43 ], [ 142, %48 ], [ 141, %53 ], [ 140, %27 ], [ 128, %19 ], [ %33, %29 ], [ 134, %35 ], [ %59, %55 ], [ %73, %69 ], [ %110, %106 ], [ 147, %128 ], [ 148, %133 ], [ 144, %138 ], [ 143, %143 ] %150 = phi i64 [ %14, %18 ], [ %127, %126 ], [ %14, %123 ], [ %119, %118 ], [ %14, %115 ], [ %100, %99 ], [ %105, %104 ], [ %79, %78 ], [ %84, %83 ], [ %92, %91 ], [ %14, %88 ], [ %68, %67 ], [ %44, %43 ], [ %49, %48 ], [ %54, %53 ], [ %28, %27 ], [ %23, %19 ], [ %34, %29 ], [ %39, %35 ], [ %60, %55 ], [ %74, %69 ], [ %111, %106 ], [ %132, %128 ], [ %137, %133 ], [ %142, %138 ], [ %147, %143 ] %151 = icmp ne i64 %150, 0 %152 = select i1 %151, i32 %149, i32 %5 %153 = zext i1 %151 to i64 br label %154 154: ; preds = %148, %2 %155 = phi i32 [ %5, %2 ], [ %152, %148 ] %156 = phi i32 [ %5, %2 ], [ %149, %148 ] %157 = phi i64 [ %14, %2 ], [ %153, %148 ] %158 = load i64, ptr @TRUE, align 8, !tbaa !14 %159 = tail call ptr @ieee_name_type_hash_lookup(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %158, i64 noundef %14) #3 %160 = icmp eq ptr %159, null br i1 %160, label %212, label %161 161: ; preds = %154 %162 = load ptr, ptr %159, align 8, !tbaa !13 %163 = icmp eq ptr %162, null br i1 %163, label %182, label %164 164: ; preds = %161 %165 = load i64, ptr @TRUE, align 8 br label %166 166: ; preds = %164, %177 %167 = phi ptr [ %162, %164 ], [ %180, %177 ] %168 = phi i64 [ %13, %164 ], [ %178, %177 ] %169 = load i32, ptr %167, align 8, !tbaa !20 %170 = icmp eq i32 %169, %156 br i1 %170, label %171, label %177 171: ; preds = %166 %172 = getelementptr inbounds %struct.ieee_name_type, ptr %167, i64 0, i32 3, i32 4 %173 = load i64, ptr %172, align 8, !tbaa !23 %174 = icmp eq i64 %173, 0 br i1 %174, label %175, label %177 175: ; preds = %171 %176 = tail call i32 @ieee_pop_unused_type(ptr noundef %0) #3 br label %212 177: ; preds = %166, %171 %178 = phi i64 [ %168, %171 ], [ %165, %166 ] %179 = getelementptr inbounds %struct.ieee_name_type, ptr %167, i64 0, i32 1 %180 = load ptr, ptr %179, align 8, !tbaa !13 %181 = icmp eq ptr %180, null br i1 %181, label %182, label %166, !llvm.loop !24 182: ; preds = %177, %161 %183 = phi i64 [ %13, %161 ], [ %178, %177 ] %184 = tail call i64 @xmalloc(i32 noundef 56) #3 %185 = inttoptr i64 %184 to ptr %186 = tail call i32 @memset(ptr noundef %185, i32 noundef 0, i32 noundef 56) #3 store i32 %156, ptr %185, align 8, !tbaa !20 %187 = getelementptr inbounds %struct.ieee_name_type, ptr %185, i64 0, i32 3 store i32 %155, ptr %187, align 8, !tbaa.struct !11 %188 = getelementptr inbounds i8, ptr %185, i64 28 store i32 %7, ptr %188, align 4 %189 = getelementptr inbounds %struct.ieee_name_type, ptr %185, i64 0, i32 3, i32 2 store i32 %9, ptr %189, align 8, !tbaa.struct !17 %190 = getelementptr inbounds %struct.ieee_name_type, ptr %185, i64 0, i32 3, i32 3 store i32 %11, ptr %190, align 4, !tbaa.struct !18 %191 = getelementptr inbounds %struct.ieee_name_type, ptr %185, i64 0, i32 3, i32 4 %192 = getelementptr inbounds %struct.ieee_name_type, ptr %185, i64 0, i32 3, i32 1 store ptr %1, ptr %192, align 8, !tbaa !26 store i64 %183, ptr %191, align 8, !tbaa !23 %193 = load i32, ptr @DEBUG_KIND_ILLEGAL, align 4, !tbaa !12 %194 = getelementptr inbounds %struct.ieee_name_type, ptr %185, i64 0, i32 2 store i32 %193, ptr %194, align 8, !tbaa !27 %195 = load ptr, ptr %159, align 8, !tbaa !28 %196 = getelementptr inbounds %struct.ieee_name_type, ptr %185, i64 0, i32 1 store ptr %195, ptr %196, align 8, !tbaa !30 store ptr %185, ptr %159, align 8, !tbaa !28 %197 = icmp eq i64 %157, 0 br i1 %197, label %200, label %198 198: ; preds = %182 %199 = tail call i32 @ieee_pop_unused_type(ptr noundef %0) #3 br label %212 200: ; preds = %182 %201 = tail call i32 @ieee_pop_type(ptr noundef %0) #3 %202 = tail call i32 @ieee_define_named_type(ptr noundef %0, ptr noundef %1, i32 noundef -1, i32 noundef %11, i32 noundef %9, i64 noundef %183, ptr noundef null) #3 %203 = icmp eq i32 %202, 0 br i1 %203, label %212, label %204 204: ; preds = %200 %205 = tail call i32 @ieee_write_number(ptr noundef %0, i32 noundef 84) #3 %206 = icmp eq i32 %205, 0 br i1 %206, label %212, label %207 207: ; preds = %204 %208 = tail call i32 @ieee_write_number(ptr noundef %0, i32 noundef %201) #3 %209 = icmp eq i32 %208, 0 br i1 %209, label %212, label %210 210: ; preds = %207 %211 = tail call i32 @ieee_pop_type(ptr noundef %0) #3 br label %212 212: ; preds = %200, %204, %207, %154, %210, %198, %175 %213 = phi ptr [ @TRUE, %175 ], [ @TRUE, %198 ], [ @TRUE, %210 ], [ @FALSE, %154 ], [ @FALSE, %207 ], [ @FALSE, %204 ], [ @FALSE, %200 ] %214 = load i64, ptr %213, align 8, !tbaa !14 ret i64 %214 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare ptr @ieee_name_type_hash_lookup(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ieee_pop_unused_type(ptr noundef) local_unnamed_addr #2 declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ieee_pop_type(ptr noundef) local_unnamed_addr #2 declare i32 @ieee_define_named_type(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ieee_write_number(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 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, !10, i64 8} !6 = !{!"ieee_handle", !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 = !{i64 0, i64 4, !12, i64 8, i64 8, !13, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 8, !14} !12 = !{!7, !7, i64 0} !13 = !{!10, !10, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{i64 4, i64 8, !13, i64 12, i64 4, !12, i64 16, i64 4, !12, i64 20, i64 8, !14} !17 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 8, !14} !18 = !{i64 0, i64 4, !12, i64 4, i64 8, !14} !19 = !{i64 0, i64 8, !14} !20 = !{!21, !7, i64 0} !21 = !{!"ieee_name_type", !7, i64 0, !10, i64 8, !7, i64 16, !22, i64 24} !22 = !{!"ieee_write_type", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !15, i64 24} !23 = !{!21, !15, i64 48} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!21, !10, i64 32} !27 = !{!21, !7, i64 16} !28 = !{!29, !10, i64 0} !29 = !{!"ieee_name_type_hash_entry", !10, i64 0} !30 = !{!21, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_ieee.c_ieee_typdef.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_ieee.c_ieee_typdef.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i64 0, align 8 @builtin_bcd_float = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"void\00", align 1 @TRUE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"signed char\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"char\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"unsigned char\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"signed short int\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"short\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"short int\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"signed short\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"unsigned short int\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"short unsigned int\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"unsigned short\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"signed long\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"long\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"long int\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"unsigned long\00", align 1 @.str.16 = private unnamed_addr constant [18 x i8] c"long unsigned int\00", align 1 @.str.17 = private unnamed_addr constant [9 x i8] c"unsigned\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"unsigned int\00", align 1 @.str.19 = private unnamed_addr constant [17 x i8] c"signed long long\00", align 1 @.str.20 = private unnamed_addr constant [14 x i8] c"long long int\00", align 1 @.str.21 = private unnamed_addr constant [19 x i8] c"unsigned long long\00", align 1 @.str.22 = private unnamed_addr constant [23 x i8] c"long long unsigned int\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"float\00", align 1 @.str.24 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @.str.25 = private unnamed_addr constant [12 x i8] c"long double\00", align 1 @.str.26 = private unnamed_addr constant [17 x i8] c"long long double\00", align 1 @DEBUG_KIND_ILLEGAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ieee_typdef], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ieee_typdef(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %4, i64 4 %7 = load i32, ptr %6, align 4 %8 = getelementptr inbounds i8, ptr %4, i64 16 %9 = load i32, ptr %8, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %4, i64 20 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = getelementptr inbounds i8, ptr %4, i64 24 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = load i64, ptr @FALSE, align 8, !tbaa !13 %15 = load i64, ptr @builtin_bcd_float, align 8, !tbaa !13 %16 = trunc i64 %15 to i32 %17 = icmp ugt i32 %5, %16 br i1 %17, label %154, label %18 18: ; preds = %2 switch i32 %5, label %148 [ i32 128, label %19 i32 140, label %24 i32 149, label %24 i32 134, label %35 i32 136, label %40 i32 142, label %40 i32 141, label %40 i32 137, label %40 i32 129, label %61 i32 130, label %61 i32 139, label %75 i32 146, label %75 i32 145, label %75 i32 132, label %93 i32 135, label %93 i32 133, label %93 i32 138, label %112 i32 131, label %120 i32 147, label %128 i32 148, label %133 i32 144, label %138 i32 143, label %143 ] 19: ; preds = %18 %20 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(5) @.str) %21 = icmp eq i32 %20, 0 %22 = load i64, ptr @TRUE, align 8 %23 = select i1 %21, i64 %22, i64 %14 br label %148 24: ; preds = %18, %18 %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(12) @.str.1) %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 29: ; preds = %24 %30 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(5) @.str.2) %31 = icmp eq i32 %30, 0 %32 = load i64, ptr @TRUE, align 8 %33 = select i1 %31, i32 149, i32 %5 %34 = select i1 %31, i64 %32, i64 %14 br label %148 35: ; preds = %18 %36 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(14) @.str.3) %37 = icmp eq i32 %36, 0 %38 = load i64, ptr @TRUE, align 8 %39 = select i1 %37, i64 %38, i64 %14 br label %148 40: ; preds = %18, %18, %18, %18 %41 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(17) @.str.4) %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 45: ; preds = %40 %46 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(6) @.str.5) %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %45 %49 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 50: ; preds = %45 %51 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(10) @.str.6) %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %50 %54 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 55: ; preds = %50 %56 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(13) @.str.7) %57 = icmp eq i32 %56, 0 %58 = load i64, ptr @TRUE, align 8 %59 = select i1 %57, i32 137, i32 %5 %60 = select i1 %57, i64 %58, i64 %14 br label %148 61: ; preds = %18, %18 %62 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(19) @.str.8) %63 = icmp eq i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %61 %65 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(19) @.str.9) %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %64, %61 %68 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 69: ; preds = %64 %70 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(15) @.str.10) %71 = icmp eq i32 %70, 0 %72 = load i64, ptr @TRUE, align 8 %73 = select i1 %71, i32 130, i32 %5 %74 = select i1 %71, i64 %72, i64 %14 br label %148 75: ; preds = %18, %18, %18 %76 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(12) @.str.11) %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %80 78: ; preds = %75 %79 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 80: ; preds = %75 %81 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(4) @.str.12) %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %85 83: ; preds = %80 %84 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 85: ; preds = %80 %86 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(5) @.str.13) %87 = icmp eq i32 %86, 0 br i1 %87, label %91, label %88 88: ; preds = %85 %89 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(9) @.str.14) %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %148 91: ; preds = %88, %85 %92 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 93: ; preds = %18, %18, %18 %94 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(14) @.str.15) %95 = icmp eq i32 %94, 0 br i1 %95, label %99, label %96 96: ; preds = %93 %97 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(18) @.str.16) %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %101 99: ; preds = %96, %93 %100 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 101: ; preds = %96 %102 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(9) @.str.17) %103 = icmp eq i32 %102, 0 br i1 %103, label %104, label %106 104: ; preds = %101 %105 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 106: ; preds = %101 %107 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(13) @.str.18) %108 = icmp eq i32 %107, 0 %109 = load i64, ptr @TRUE, align 8 %110 = select i1 %108, i32 133, i32 %5 %111 = select i1 %108, i64 %109, i64 %14 br label %148 112: ; preds = %18 %113 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(17) @.str.19) %114 = icmp eq i32 %113, 0 br i1 %114, label %118, label %115 115: ; preds = %112 %116 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(14) @.str.20) %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %148 118: ; preds = %115, %112 %119 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 120: ; preds = %18 %121 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(19) @.str.21) %122 = icmp eq i32 %121, 0 br i1 %122, label %126, label %123 123: ; preds = %120 %124 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(23) @.str.22) %125 = icmp eq i32 %124, 0 br i1 %125, label %126, label %148 126: ; preds = %123, %120 %127 = load i64, ptr @TRUE, align 8, !tbaa !13 br label %148 128: ; preds = %18 %129 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(6) @.str.23) %130 = icmp eq i32 %129, 0 %131 = load i64, ptr @TRUE, align 8 %132 = select i1 %130, i64 %131, i64 %14 br label %148 133: ; preds = %18 %134 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(7) @.str.24) %135 = icmp eq i32 %134, 0 %136 = load i64, ptr @TRUE, align 8 %137 = select i1 %135, i64 %136, i64 %14 br label %148 138: ; preds = %18 %139 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(12) @.str.25) %140 = icmp eq i32 %139, 0 %141 = load i64, ptr @TRUE, align 8 %142 = select i1 %140, i64 %141, i64 %14 br label %148 143: ; preds = %18 %144 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(17) @.str.26) %145 = icmp eq i32 %144, 0 %146 = load i64, ptr @TRUE, align 8 %147 = select i1 %145, i64 %146, i64 %14 br label %148 148: ; preds = %143, %138, %133, %128, %106, %69, %55, %35, %29, %19, %123, %126, %115, %118, %99, %104, %78, %88, %91, %83, %67, %43, %53, %48, %27, %18 %149 = phi i32 [ %5, %18 ], [ 131, %126 ], [ 131, %123 ], [ 138, %118 ], [ 138, %115 ], [ 132, %99 ], [ 135, %104 ], [ 139, %78 ], [ 146, %83 ], [ 145, %91 ], [ %5, %88 ], [ 129, %67 ], [ 136, %43 ], [ 142, %48 ], [ 141, %53 ], [ 140, %27 ], [ 128, %19 ], [ %33, %29 ], [ 134, %35 ], [ %59, %55 ], [ %73, %69 ], [ %110, %106 ], [ 147, %128 ], [ 148, %133 ], [ 144, %138 ], [ 143, %143 ] %150 = phi i64 [ %14, %18 ], [ %127, %126 ], [ %14, %123 ], [ %119, %118 ], [ %14, %115 ], [ %100, %99 ], [ %105, %104 ], [ %79, %78 ], [ %84, %83 ], [ %92, %91 ], [ %14, %88 ], [ %68, %67 ], [ %44, %43 ], [ %49, %48 ], [ %54, %53 ], [ %28, %27 ], [ %23, %19 ], [ %34, %29 ], [ %39, %35 ], [ %60, %55 ], [ %74, %69 ], [ %111, %106 ], [ %132, %128 ], [ %137, %133 ], [ %142, %138 ], [ %147, %143 ] %151 = icmp ne i64 %150, 0 %152 = select i1 %151, i32 %149, i32 %5 %153 = zext i1 %151 to i64 br label %154 154: ; preds = %148, %2 %155 = phi i32 [ %5, %2 ], [ %152, %148 ] %156 = phi i32 [ %5, %2 ], [ %149, %148 ] %157 = phi i64 [ %14, %2 ], [ %153, %148 ] %158 = load i64, ptr @TRUE, align 8, !tbaa !13 %159 = tail call ptr @ieee_name_type_hash_lookup(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %158, i64 noundef %14) #3 %160 = icmp eq ptr %159, null br i1 %160, label %212, label %161 161: ; preds = %154 %162 = load ptr, ptr %159, align 8, !tbaa !15 %163 = icmp eq ptr %162, null br i1 %163, label %182, label %164 164: ; preds = %161 %165 = load i64, ptr @TRUE, align 8 br label %166 166: ; preds = %164, %177 %167 = phi ptr [ %162, %164 ], [ %180, %177 ] %168 = phi i64 [ %13, %164 ], [ %178, %177 ] %169 = load i32, ptr %167, align 8, !tbaa !16 %170 = icmp eq i32 %169, %156 br i1 %170, label %171, label %177 171: ; preds = %166 %172 = getelementptr inbounds i8, ptr %167, i64 48 %173 = load i64, ptr %172, align 8, !tbaa !19 %174 = icmp eq i64 %173, 0 br i1 %174, label %175, label %177 175: ; preds = %171 %176 = tail call i32 @ieee_pop_unused_type(ptr noundef %0) #3 br label %212 177: ; preds = %166, %171 %178 = phi i64 [ %168, %171 ], [ %165, %166 ] %179 = getelementptr inbounds i8, ptr %167, i64 8 %180 = load ptr, ptr %179, align 8, !tbaa !15 %181 = icmp eq ptr %180, null br i1 %181, label %182, label %166, !llvm.loop !20 182: ; preds = %177, %161 %183 = phi i64 [ %13, %161 ], [ %178, %177 ] %184 = tail call i64 @xmalloc(i32 noundef 56) #3 %185 = inttoptr i64 %184 to ptr %186 = tail call i32 @memset(ptr noundef %185, i32 noundef 0, i32 noundef 56) #3 store i32 %156, ptr %185, align 8, !tbaa !16 %187 = getelementptr inbounds i8, ptr %185, i64 24 store i32 %155, ptr %187, align 8, !tbaa !12 %188 = getelementptr inbounds i8, ptr %185, i64 28 store i32 %7, ptr %188, align 4 %189 = getelementptr inbounds i8, ptr %185, i64 40 store i32 %9, ptr %189, align 8, !tbaa !12 %190 = getelementptr inbounds i8, ptr %185, i64 44 store i32 %11, ptr %190, align 4, !tbaa !12 %191 = getelementptr inbounds i8, ptr %185, i64 48 %192 = getelementptr inbounds i8, ptr %185, i64 32 store ptr %1, ptr %192, align 8, !tbaa !22 store i64 %183, ptr %191, align 8, !tbaa !19 %193 = load i32, ptr @DEBUG_KIND_ILLEGAL, align 4, !tbaa !12 %194 = getelementptr inbounds i8, ptr %185, i64 16 store i32 %193, ptr %194, align 8, !tbaa !23 %195 = load ptr, ptr %159, align 8, !tbaa !24 %196 = getelementptr inbounds i8, ptr %185, i64 8 store ptr %195, ptr %196, align 8, !tbaa !26 store ptr %185, ptr %159, align 8, !tbaa !24 %197 = icmp eq i64 %157, 0 br i1 %197, label %200, label %198 198: ; preds = %182 %199 = tail call i32 @ieee_pop_unused_type(ptr noundef %0) #3 br label %212 200: ; preds = %182 %201 = tail call i32 @ieee_pop_type(ptr noundef %0) #3 %202 = tail call i32 @ieee_define_named_type(ptr noundef %0, ptr noundef %1, i32 noundef -1, i32 noundef %11, i32 noundef %9, i64 noundef %183, ptr noundef null) #3 %203 = icmp eq i32 %202, 0 br i1 %203, label %212, label %204 204: ; preds = %200 %205 = tail call i32 @ieee_write_number(ptr noundef %0, i32 noundef 84) #3 %206 = icmp eq i32 %205, 0 br i1 %206, label %212, label %207 207: ; preds = %204 %208 = tail call i32 @ieee_write_number(ptr noundef %0, i32 noundef %201) #3 %209 = icmp eq i32 %208, 0 br i1 %209, label %212, label %210 210: ; preds = %207 %211 = tail call i32 @ieee_pop_type(ptr noundef %0) #3 br label %212 212: ; preds = %200, %204, %207, %154, %210, %198, %175 %213 = phi ptr [ @TRUE, %175 ], [ @TRUE, %198 ], [ @TRUE, %210 ], [ @FALSE, %154 ], [ @FALSE, %207 ], [ @FALSE, %204 ], [ @FALSE, %200 ] %214 = load i64, ptr %213, align 8, !tbaa !13 ret i64 %214 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare ptr @ieee_name_type_hash_lookup(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ieee_pop_unused_type(ptr noundef) local_unnamed_addr #2 declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ieee_pop_type(ptr noundef) local_unnamed_addr #2 declare i32 @ieee_define_named_type(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ieee_write_number(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 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, !11, i64 8} !7 = !{!"ieee_handle", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"ieee_name_type", !8, i64 0, !11, i64 8, !8, i64 16, !18, i64 24} !18 = !{!"ieee_write_type", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !14, i64 24} !19 = !{!17, !14, i64 48} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!17, !11, i64 32} !23 = !{!17, !8, i64 16} !24 = !{!25, !11, i64 0} !25 = !{!"ieee_name_type_hash_entry", !11, i64 0} !26 = !{!17, !11, i64 8}
freebsd_contrib_binutils_binutils_extr_ieee.c_ieee_typdef
; ModuleID = 'AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r_init.c_esas2r_get_uncached_size.c' source_filename = "AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r_init.c_esas2r_get_uncached_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" @ESAS2R_DISC_BUF_LEN = dso_local local_unnamed_addr global i32 0, align 4 @num_sg_lists = dso_local local_unnamed_addr global i32 0, align 4 @sgl_page_size = dso_local local_unnamed_addr global i64 0, align 8 @num_requests = dso_local local_unnamed_addr global i32 0, align 4 @num_ae_requests = dso_local local_unnamed_addr global i32 0, align 4 @ESAS2R_LIST_EXTRA = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @esas2r_get_uncached_size(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @ESAS2R_DISC_BUF_LEN, align 4, !tbaa !5 %3 = tail call i64 @ALIGN(i32 noundef %2, i32 noundef 8) #2 %4 = tail call i64 @ALIGN(i32 noundef 8, i32 noundef 8) #2 %5 = load i32, ptr @num_sg_lists, align 4, !tbaa !5 %6 = load i64, ptr @sgl_page_size, align 8, !tbaa !9 %7 = trunc i64 %6 to i32 %8 = mul nsw i32 %5, %7 %9 = sext i32 %8 to i64 %10 = load i32, ptr @num_requests, align 4, !tbaa !5 %11 = load i32, ptr @num_ae_requests, align 4, !tbaa !5 %12 = load i32, ptr @ESAS2R_LIST_EXTRA, align 4, !tbaa !5 %13 = add i32 %10, 1 %14 = add i32 %13, %11 %15 = add nsw i32 %14, %12 %16 = shl i32 %15, 2 %17 = tail call i64 @ALIGN(i32 noundef %16, i32 noundef 8) #2 %18 = load i32, ptr @num_requests, align 4, !tbaa !5 %19 = load i32, ptr @num_ae_requests, align 4, !tbaa !5 %20 = load i32, ptr @ESAS2R_LIST_EXTRA, align 4, !tbaa !5 %21 = add i32 %18, 1 %22 = add i32 %21, %19 %23 = add nsw i32 %22, %20 %24 = shl i32 %23, 2 %25 = tail call i64 @ALIGN(i32 noundef %24, i32 noundef 8) #2 %26 = add i64 %3, 268 %27 = add i64 %26, %4 %28 = add i64 %27, %9 %29 = add i64 %28, %17 %30 = add i64 %29, %25 ret i64 %30 } declare i64 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r_init.c_esas2r_get_uncached_size.c' source_filename = "AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r_init.c_esas2r_get_uncached_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESAS2R_DISC_BUF_LEN = common local_unnamed_addr global i32 0, align 4 @num_sg_lists = common local_unnamed_addr global i32 0, align 4 @sgl_page_size = common local_unnamed_addr global i64 0, align 8 @num_requests = common local_unnamed_addr global i32 0, align 4 @num_ae_requests = common local_unnamed_addr global i32 0, align 4 @ESAS2R_LIST_EXTRA = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @esas2r_get_uncached_size(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @ESAS2R_DISC_BUF_LEN, align 4, !tbaa !6 %3 = tail call i64 @ALIGN(i32 noundef %2, i32 noundef 8) #2 %4 = tail call i64 @ALIGN(i32 noundef 8, i32 noundef 8) #2 %5 = load i32, ptr @num_sg_lists, align 4, !tbaa !6 %6 = load i64, ptr @sgl_page_size, align 8, !tbaa !10 %7 = trunc i64 %6 to i32 %8 = mul nsw i32 %5, %7 %9 = sext i32 %8 to i64 %10 = load i32, ptr @num_requests, align 4, !tbaa !6 %11 = load i32, ptr @num_ae_requests, align 4, !tbaa !6 %12 = load i32, ptr @ESAS2R_LIST_EXTRA, align 4, !tbaa !6 %13 = add i32 %10, 1 %14 = add i32 %13, %11 %15 = add nsw i32 %14, %12 %16 = shl i32 %15, 2 %17 = tail call i64 @ALIGN(i32 noundef %16, i32 noundef 8) #2 %18 = load i32, ptr @num_requests, align 4, !tbaa !6 %19 = load i32, ptr @num_ae_requests, align 4, !tbaa !6 %20 = load i32, ptr @ESAS2R_LIST_EXTRA, align 4, !tbaa !6 %21 = add i32 %18, 1 %22 = add i32 %21, %19 %23 = add nsw i32 %22, %20 %24 = shl i32 %23, 2 %25 = tail call i64 @ALIGN(i32 noundef %24, i32 noundef 8) #2 %26 = add i64 %3, 268 %27 = add i64 %26, %4 %28 = add i64 %27, %9 %29 = add i64 %28, %17 %30 = add i64 %29, %25 ret i64 %30 } declare i64 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
linux_drivers_scsi_esas2r_extr_esas2r_init.c_esas2r_get_uncached_size
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/components/extr_avcodec_audio_decoder.c_avcodec_send_eos.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/components/extr_avcodec_audio_decoder.c_avcodec_send_eos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, i64 } @MMAL_EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @MMAL_BUFFER_HEADER_FLAG_EOS = dso_local local_unnamed_addr global i32 0, align 4 @MMAL_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @avcodec_send_eos], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @avcodec_send_eos(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = tail call ptr @mmal_queue_get(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i64 0, i32 1 store i64 0, ptr %9, align 8, !tbaa !15 %10 = load i32, ptr @MMAL_BUFFER_HEADER_FLAG_EOS, align 4, !tbaa !18 store i32 %10, ptr %6, align 8, !tbaa !19 %11 = tail call i32 @mmal_port_buffer_header_callback(ptr noundef %1, ptr noundef nonnull %6) #2 br label %12 12: ; preds = %2, %8 %13 = phi ptr [ @MMAL_SUCCESS, %8 ], [ @MMAL_EAGAIN, %2 ] %14 = load i32, ptr %13, align 4, !tbaa !18 ret i32 %14 } declare ptr @mmal_queue_get(i32 noundef) local_unnamed_addr #1 declare i32 @mmal_port_buffer_header_callback(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_9__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_8__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_10__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!16, !17, i64 8} !16 = !{!"TYPE_11__", !14, i64 0, !17, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!14, !14, i64 0} !19 = !{!16, !14, i64 0}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/components/extr_avcodec_audio_decoder.c_avcodec_send_eos.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/components/extr_avcodec_audio_decoder.c_avcodec_send_eos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MMAL_EAGAIN = common local_unnamed_addr global i32 0, align 4 @MMAL_BUFFER_HEADER_FLAG_EOS = common local_unnamed_addr global i32 0, align 4 @MMAL_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @avcodec_send_eos], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @avcodec_send_eos(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = tail call ptr @mmal_queue_get(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %6, i64 8 store i64 0, ptr %9, align 8, !tbaa !16 %10 = load i32, ptr @MMAL_BUFFER_HEADER_FLAG_EOS, align 4, !tbaa !19 store i32 %10, ptr %6, align 8, !tbaa !20 %11 = tail call i32 @mmal_port_buffer_header_callback(ptr noundef %1, ptr noundef nonnull %6) #2 br label %12 12: ; preds = %2, %8 %13 = phi ptr [ @MMAL_SUCCESS, %8 ], [ @MMAL_EAGAIN, %2 ] %14 = load i32, ptr %13, align 4, !tbaa !19 ret i32 %14 } declare ptr @mmal_queue_get(i32 noundef) local_unnamed_addr #1 declare i32 @mmal_port_buffer_header_callback(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_9__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_8__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!17, !18, i64 8} !17 = !{!"TYPE_11__", !15, i64 0, !18, i64 8} !18 = !{!"long", !9, i64 0} !19 = !{!15, !15, i64 0} !20 = !{!17, !15, i64 0}
RetroArch_gfx_include_userland_interface_mmal_components_extr_avcodec_audio_decoder.c_avcodec_send_eos
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_hw_ct.c_bfa_hwct_msix_init.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_hw_ct.c_bfa_hwct_msix_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" @BFI_MSIX_CT_MAX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @bfa_hwct_msix_init(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp ne i32 %1, 1 %4 = load i32, ptr @BFI_MSIX_CT_MAX, align 4 %5 = icmp ne i32 %4, %1 %6 = select i1 %3, i1 %5, i1 false %7 = zext i1 %6 to i32 %8 = tail call i32 @WARN_ON(i32 noundef %7) #2 %9 = tail call i32 @bfa_trc(ptr noundef %0, i32 noundef %1) #2 store i32 %1, ptr %0, align 4, !tbaa !5 %10 = tail call i32 @bfa_hwct_msix_uninstall(ptr noundef nonnull %0) #2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_trc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_hwct_msix_uninstall(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 = !{!"bfa_s", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_hw_ct.c_bfa_hwct_msix_init.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_hw_ct.c_bfa_hwct_msix_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFI_MSIX_CT_MAX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @bfa_hwct_msix_init(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp ne i32 %1, 1 %4 = load i32, ptr @BFI_MSIX_CT_MAX, align 4 %5 = icmp ne i32 %4, %1 %6 = select i1 %3, i1 %5, i1 false %7 = zext i1 %6 to i32 %8 = tail call i32 @WARN_ON(i32 noundef %7) #2 %9 = tail call i32 @bfa_trc(ptr noundef %0, i32 noundef %1) #2 store i32 %1, ptr %0, align 4, !tbaa !6 %10 = tail call i32 @bfa_hwct_msix_uninstall(ptr noundef nonnull %0) #2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_trc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_hwct_msix_uninstall(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 = !{!"bfa_s", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_bfa_extr_bfa_hw_ct.c_bfa_hwct_msix_init
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_st.c_read_ns_show.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_st.c_read_ns_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 [5 x i8] c"%lld\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_ns_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_ns_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = tail call i64 @atomic64_read(ptr noundef %6) #2 %8 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %7) #2 ret i32 %8 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @atomic64_read(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 = !{!"st_modedef", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_st.c_read_ns_show.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_st.c_read_ns_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 [5 x i8] c"%lld\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @read_ns_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @read_ns_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = tail call i64 @atomic64_read(ptr noundef %6) #2 %8 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %7) #2 ret i32 %8 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @atomic64_read(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 = !{!"st_modedef", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0}
linux_drivers_scsi_extr_st.c_read_ns_show
; ModuleID = 'AnghaBench/freebsd/sys/xdr/extr_xdr_mbuf.c_xdrmbuf_create.c' source_filename = "AnghaBench/freebsd/sys/xdr/extr_xdr_mbuf.c_xdrmbuf_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_3__ = type { i32, ptr, i64, ptr, ptr } @.str = private unnamed_addr constant [36 x i8] c"xdrmbuf_create with NULL mbuf chain\00", align 1 @xdrmbuf_ops = dso_local global i32 0, align 4 @XDR_ENCODE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @xdrmbuf_create(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %1, null %5 = zext i1 %4 to i32 %6 = tail call i32 @KASSERT(i32 noundef %5, ptr noundef nonnull @.str) #2 store i32 %2, ptr %0, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 store ptr @xdrmbuf_ops, ptr %7, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store ptr %1, ptr %8, align 8, !tbaa !13 %9 = load i32, ptr @XDR_ENCODE, align 4, !tbaa !14 %10 = icmp eq i32 %9, %2 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = tail call ptr @m_last(ptr noundef %1) #2 %13 = load i64, ptr %12, align 8, !tbaa !15 br label %14 14: ; preds = %3, %11 %15 = phi ptr [ %12, %11 ], [ %1, %3 ] %16 = phi i64 [ %13, %11 ], [ 0, %3 ] %17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 store ptr %15, ptr %17, align 8 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i64 %16, ptr %18, align 8 ret void } declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @m_last(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !10, i64 32} !13 = !{!6, !10, i64 8} !14 = !{!7, !7, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"mbuf", !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/xdr/extr_xdr_mbuf.c_xdrmbuf_create.c' source_filename = "AnghaBench/freebsd/sys/xdr/extr_xdr_mbuf.c_xdrmbuf_create.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 [36 x i8] c"xdrmbuf_create with NULL mbuf chain\00", align 1 @xdrmbuf_ops = common global i32 0, align 4 @XDR_ENCODE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @xdrmbuf_create(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %1, null %5 = zext i1 %4 to i32 %6 = tail call i32 @KASSERT(i32 noundef %5, ptr noundef nonnull @.str) #2 store i32 %2, ptr %0, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 32 store ptr @xdrmbuf_ops, ptr %7, align 8, !tbaa !13 %8 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %1, ptr %8, align 8, !tbaa !14 %9 = load i32, ptr @XDR_ENCODE, align 4, !tbaa !15 %10 = icmp eq i32 %9, %2 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = tail call ptr @m_last(ptr noundef %1) #2 %13 = load i64, ptr %12, align 8, !tbaa !16 br label %14 14: ; preds = %3, %11 %15 = phi ptr [ %12, %11 ], [ %1, %3 ] %16 = phi i64 [ %13, %11 ], [ 0, %3 ] %17 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %15, ptr %17, align 8 %18 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %16, ptr %18, align 8 ret void } declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @m_last(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !11, i64 32} !14 = !{!7, !11, i64 8} !15 = !{!8, !8, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"mbuf", !12, i64 0}
freebsd_sys_xdr_extr_xdr_mbuf.c_xdrmbuf_create
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_cryp.c_CRYP_KeyInit.c' source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_cryp.c_CRYP_KeyInit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i32, i32 } @CRYP = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @CRYP_KeyInit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr @CRYP, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 %4 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 4 %5 = load <4 x i32>, ptr %3, align 4, !tbaa !9 store <4 x i32> %5, ptr %4, align 4, !tbaa !9 %6 = load <4 x i32>, ptr %0, align 4, !tbaa !9 store <4 x i32> %6, ptr %2, align 4, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_cryp.c_CRYP_KeyInit.c' source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_cryp.c_CRYP_KeyInit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYP = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define void @CRYP_KeyInit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr @CRYP, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = getelementptr inbounds i8, ptr %2, i64 16 %5 = load <4 x i32>, ptr %3, align 4, !tbaa !10 store <4 x i32> %5, ptr %4, align 4, !tbaa !10 %6 = load <4 x i32>, ptr %0, align 4, !tbaa !10 store <4 x i32> %6, ptr %2, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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}
anypixel_firmware_controller_ThirdParty_SPL_src_extr_stm32f4xx_cryp.c_CRYP_KeyInit
; ModuleID = 'AnghaBench/linux/drivers/staging/android/extr_ashmem.c_lru_del.c' source_filename = "AnghaBench/linux/drivers/staging/android/extr_ashmem.c_lru_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" @lru_count = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lru_del], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @lru_del(ptr noundef %0) #0 { %2 = tail call i32 @list_del(ptr noundef %0) #2 %3 = tail call i64 @range_size(ptr noundef %0) #2 %4 = load i32, ptr @lru_count, align 4, !tbaa !5 %5 = trunc i64 %3 to i32 %6 = sub i32 %4, %5 store i32 %6, ptr @lru_count, align 4, !tbaa !5 ret void } declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i64 @range_size(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/android/extr_ashmem.c_lru_del.c' source_filename = "AnghaBench/linux/drivers/staging/android/extr_ashmem.c_lru_del.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @lru_count = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lru_del], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @lru_del(ptr noundef %0) #0 { %2 = tail call i32 @list_del(ptr noundef %0) #2 %3 = tail call i64 @range_size(ptr noundef %0) #2 %4 = load i32, ptr @lru_count, align 4, !tbaa !6 %5 = trunc i64 %3 to i32 %6 = sub i32 %4, %5 store i32 %6, ptr @lru_count, align 4, !tbaa !6 ret void } declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i64 @range_size(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_android_extr_ashmem.c_lru_del
; ModuleID = 'AnghaBench/linux/net/vmw_vsock/extr_hyperv_transport.c_hvs_close_lock_held.c' source_filename = "AnghaBench/linux/net/vmw_vsock/extr_hyperv_transport.c_hvs_close_lock_held.c" target datalayout = "e-m:e-p270:32:32-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.sock = type { i64, i32 } %struct.vsock_sock = type { i32, i32, i32 } @TCP_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8 @TCP_CLOSING = dso_local local_unnamed_addr global i64 0, align 8 @SHUTDOWN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_DONE = dso_local local_unnamed_addr global i32 0, align 4 @hvs_close_timeout = dso_local local_unnamed_addr global i32 0, align 4 @HVS_CLOSE_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hvs_close_lock_held], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @hvs_close_lock_held(ptr noundef %0) #0 { %2 = tail call ptr @sk_vsock(ptr noundef %0) #2 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr @TCP_ESTABLISHED, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 %6 = load i64, ptr @TCP_CLOSING, align 8 %7 = icmp eq i64 %3, %6 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %9, label %30 9: ; preds = %1 %10 = getelementptr inbounds %struct.sock, ptr %2, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = load i32, ptr @SHUTDOWN_MASK, align 4, !tbaa !13 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, %12 br i1 %14, label %19, label %15 15: ; preds = %9 %16 = getelementptr inbounds %struct.vsock_sock, ptr %0, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = tail call i32 @hvs_shutdown_lock_held(i32 noundef %17, i32 noundef %12) #2 br label %19 19: ; preds = %15, %9 %20 = load i32, ptr @SOCK_DONE, align 4, !tbaa !13 %21 = tail call i64 @sock_flag(ptr noundef nonnull %2, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %19 %24 = tail call i32 @sock_hold(ptr noundef nonnull %2) #2 %25 = getelementptr inbounds %struct.vsock_sock, ptr %0, i64 0, i32 1 %26 = load i32, ptr @hvs_close_timeout, align 4, !tbaa !13 %27 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %25, i32 noundef %26) #2 store i32 1, ptr %0, align 4, !tbaa !16 %28 = load i32, ptr @HVS_CLOSE_TIMEOUT, align 4, !tbaa !13 %29 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %25, i32 noundef %28) #2 br label %30 30: ; preds = %19, %1, %23 %31 = phi i32 [ 0, %23 ], [ 1, %1 ], [ 1, %19 ] ret i32 %31 } declare ptr @sk_vsock(ptr noundef) local_unnamed_addr #1 declare i32 @hvs_shutdown_lock_held(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sock_hold(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @schedule_delayed_work(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 = !{!"sock", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!15, !10, i64 8} !15 = !{!"vsock_sock", !10, i64 0, !10, i64 4, !10, i64 8} !16 = !{!15, !10, i64 0}
; ModuleID = 'AnghaBench/linux/net/vmw_vsock/extr_hyperv_transport.c_hvs_close_lock_held.c' source_filename = "AnghaBench/linux/net/vmw_vsock/extr_hyperv_transport.c_hvs_close_lock_held.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCP_ESTABLISHED = common local_unnamed_addr global i64 0, align 8 @TCP_CLOSING = common local_unnamed_addr global i64 0, align 8 @SHUTDOWN_MASK = common local_unnamed_addr global i32 0, align 4 @SOCK_DONE = common local_unnamed_addr global i32 0, align 4 @hvs_close_timeout = common local_unnamed_addr global i32 0, align 4 @HVS_CLOSE_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hvs_close_lock_held], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @hvs_close_lock_held(ptr noundef %0) #0 { %2 = tail call ptr @sk_vsock(ptr noundef %0) #2 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr @TCP_ESTABLISHED, align 8, !tbaa !12 %5 = icmp eq i64 %3, %4 %6 = load i64, ptr @TCP_CLOSING, align 8 %7 = icmp eq i64 %3, %6 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %9, label %30 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %2, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = load i32, ptr @SHUTDOWN_MASK, align 4, !tbaa !14 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, %12 br i1 %14, label %19, label %15 15: ; preds = %9 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 @hvs_shutdown_lock_held(i32 noundef %17, i32 noundef %12) #2 br label %19 19: ; preds = %15, %9 %20 = load i32, ptr @SOCK_DONE, align 4, !tbaa !14 %21 = tail call i64 @sock_flag(ptr noundef nonnull %2, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %19 %24 = tail call i32 @sock_hold(ptr noundef nonnull %2) #2 %25 = getelementptr inbounds i8, ptr %0, i64 4 %26 = load i32, ptr @hvs_close_timeout, align 4, !tbaa !14 %27 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %25, i32 noundef %26) #2 store i32 1, ptr %0, align 4, !tbaa !17 %28 = load i32, ptr @HVS_CLOSE_TIMEOUT, align 4, !tbaa !14 %29 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %25, i32 noundef %28) #2 br label %30 30: ; preds = %19, %1, %23 %31 = phi i32 [ 0, %23 ], [ 1, %1 ], [ 1, %19 ] ret i32 %31 } declare ptr @sk_vsock(ptr noundef) local_unnamed_addr #1 declare i32 @hvs_shutdown_lock_held(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sock_hold(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @schedule_delayed_work(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 = !{!"sock", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"vsock_sock", !11, i64 0, !11, i64 4, !11, i64 8} !17 = !{!16, !11, i64 0}
linux_net_vmw_vsock_extr_hyperv_transport.c_hvs_close_lock_held
; ModuleID = 'AnghaBench/linux/arch/um/kernel/extr_trap.c_segv_handler.c' source_filename = "AnghaBench/linux/arch/um/kernel/extr_trap.c_segv_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" ; Function Attrs: nounwind uwtable define dso_local void @segv_handler(i32 noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @UPT_FAULTINFO(ptr noundef %2) #2 %5 = tail call i64 @UPT_IS_USER(ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %3 %8 = tail call i32 @SEGV_IS_FIXABLE(ptr noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = tail call i32 @show_segv_info(ptr noundef %2) #2 %12 = tail call i32 @UPT_IP(ptr noundef %2) #2 %13 = load i32, ptr %4, align 4 %14 = tail call i32 @bad_segv(i32 %13, i32 noundef %12) #2 br label %20 15: ; preds = %7, %3 %16 = tail call i32 @UPT_IP(ptr noundef %2) #2 %17 = tail call i64 @UPT_IS_USER(ptr noundef %2) #2 %18 = load i32, ptr %4, align 4 %19 = tail call i32 @segv(i32 %18, i32 noundef %16, i64 noundef %17, ptr noundef %2) #2 br label %20 20: ; preds = %15, %10 ret void } declare ptr @UPT_FAULTINFO(ptr noundef) local_unnamed_addr #1 declare i64 @UPT_IS_USER(ptr noundef) local_unnamed_addr #1 declare i32 @SEGV_IS_FIXABLE(ptr noundef) local_unnamed_addr #1 declare i32 @show_segv_info(ptr noundef) local_unnamed_addr #1 declare i32 @bad_segv(i32, i32 noundef) local_unnamed_addr #1 declare i32 @UPT_IP(ptr noundef) local_unnamed_addr #1 declare i32 @segv(i32, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/um/kernel/extr_trap.c_segv_handler.c' source_filename = "AnghaBench/linux/arch/um/kernel/extr_trap.c_segv_handler.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 @segv_handler(i32 noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @UPT_FAULTINFO(ptr noundef %2) #2 %5 = tail call i64 @UPT_IS_USER(ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %16, label %7 7: ; preds = %3 %8 = tail call i32 @SEGV_IS_FIXABLE(ptr noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %7 %11 = tail call i32 @show_segv_info(ptr noundef %2) #2 %12 = tail call i32 @UPT_IP(ptr noundef %2) #2 %13 = load i32, ptr %4, align 4 %14 = zext i32 %13 to i64 %15 = tail call i32 @bad_segv(i64 %14, i32 noundef %12) #2 br label %22 16: ; preds = %7, %3 %17 = tail call i32 @UPT_IP(ptr noundef %2) #2 %18 = tail call i64 @UPT_IS_USER(ptr noundef %2) #2 %19 = load i32, ptr %4, align 4 %20 = zext i32 %19 to i64 %21 = tail call i32 @segv(i64 %20, i32 noundef %17, i64 noundef %18, ptr noundef %2) #2 br label %22 22: ; preds = %16, %10 ret void } declare ptr @UPT_FAULTINFO(ptr noundef) local_unnamed_addr #1 declare i64 @UPT_IS_USER(ptr noundef) local_unnamed_addr #1 declare i32 @SEGV_IS_FIXABLE(ptr noundef) local_unnamed_addr #1 declare i32 @show_segv_info(ptr noundef) local_unnamed_addr #1 declare i32 @bad_segv(i64, i32 noundef) local_unnamed_addr #1 declare i32 @UPT_IP(ptr noundef) local_unnamed_addr #1 declare i32 @segv(i64, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_um_kernel_extr_trap.c_segv_handler
; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_fixup_phandle.c' source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_fixup_phandle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FDT_ERR_NOTFOUND = dso_local local_unnamed_addr global i32 0, align 4 @FDT_ERR_INTERNAL = dso_local local_unnamed_addr global i32 0, align 4 @FDT_ERR_BADOVERLAY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @overlay_fixup_phandle], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @overlay_fixup_phandle(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %8 = call ptr @fdt_getprop_by_offset(ptr noundef %1, i32 noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #4 %9 = icmp eq ptr %8, null %10 = load i32, ptr %6, align 4, !tbaa !5 br i1 %9, label %11, label %18 11: ; preds = %4 %12 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 %14 = icmp eq i32 %10, %13 br i1 %14, label %15, label %77 15: ; preds = %11 %16 = load i32, ptr @FDT_ERR_INTERNAL, align 4, !tbaa !5 %17 = sub nsw i32 0, %16 br label %77 18: ; preds = %4, %74 %19 = phi i32 [ %75, %74 ], [ %10, %4 ] %20 = phi ptr [ %32, %74 ], [ %8, %4 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 %21 = call ptr @memchr(ptr noundef %20, i8 noundef signext 0, i32 noundef %19) #4 %22 = icmp eq ptr %21, null br i1 %22, label %67, label %23 23: ; preds = %18 %24 = ptrtoint ptr %21 to i64 %25 = ptrtoint ptr %20 to i64 %26 = sub i64 %24, %25 %27 = trunc i64 %26 to i32 %28 = add nsw i32 %27, 1 %29 = load i32, ptr %6, align 4, !tbaa !5 %30 = sub nsw i32 %29, %28 store i32 %30, ptr %6, align 4, !tbaa !5 %31 = sext i32 %28 to i64 %32 = getelementptr inbounds i8, ptr %20, i64 %31 %33 = call ptr @memchr(ptr noundef %20, i8 noundef signext 58, i32 noundef %27) #4 %34 = icmp eq ptr %33, null br i1 %34, label %67, label %35 35: ; preds = %23 %36 = load i8, ptr %33, align 1, !tbaa !9 %37 = icmp eq i8 %36, 58 br i1 %37, label %38, label %67 38: ; preds = %35 %39 = ptrtoint ptr %33 to i64 %40 = sub i64 %39, %25 %41 = trunc i64 %40 to i32 %42 = add nsw i32 %27, -1 %43 = icmp eq i32 %42, %41 br i1 %43, label %67, label %44 44: ; preds = %38 %45 = xor i32 %41, -1 %46 = add i32 %45, %27 %47 = getelementptr inbounds i8, ptr %33, i64 1 %48 = call ptr @memchr(ptr noundef nonnull %47, i8 noundef signext 58, i32 noundef %46) #4 %49 = icmp eq ptr %48, null br i1 %49, label %67, label %50 50: ; preds = %44 %51 = load i8, ptr %48, align 1, !tbaa !9 %52 = icmp eq i8 %51, 58 br i1 %52, label %53, label %67 53: ; preds = %50 %54 = ptrtoint ptr %48 to i64 %55 = ptrtoint ptr %47 to i64 %56 = sub i64 %54, %55 %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %53 %60 = getelementptr inbounds i8, ptr %48, i64 1 %61 = call i32 @strtoul(ptr noundef nonnull %60, ptr noundef nonnull %7, i32 noundef 10) %62 = load ptr, ptr %7, align 8, !tbaa !10 %63 = load i8, ptr %62, align 1, !tbaa !9 %64 = icmp eq i8 %63, 0 %65 = icmp ugt ptr %62, %60 %66 = and i1 %65, %64 br i1 %66, label %70, label %67 67: ; preds = %59, %53, %44, %50, %38, %23, %35, %18 %68 = load i32, ptr @FDT_ERR_BADOVERLAY, align 4, !tbaa !5 %69 = sub nsw i32 0, %68 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 br label %77 70: ; preds = %59 %71 = load ptr, ptr %5, align 8, !tbaa !10 %72 = call i32 @overlay_fixup_one_phandle(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %20, i32 noundef %41, ptr noundef nonnull %47, i32 noundef %57, i32 noundef %61, ptr noundef %71) #4 %73 = icmp eq i32 %72, 0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 br i1 %73, label %74, label %77 74: ; preds = %70 %75 = load i32, ptr %6, align 4, !tbaa !5 %76 = icmp sgt i32 %75, 0 br i1 %76, label %18, label %77, !llvm.loop !12 77: ; preds = %74, %70, %67, %11, %15 %78 = phi i32 [ %17, %15 ], [ %10, %11 ], [ %69, %67 ], [ 0, %74 ], [ %72, %70 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @fdt_getprop_by_offset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3 declare i32 @overlay_fixup_one_phandle(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_fixup_phandle.c' source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_overlay.c_overlay_fixup_phandle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FDT_ERR_NOTFOUND = common local_unnamed_addr global i32 0, align 4 @FDT_ERR_INTERNAL = common local_unnamed_addr global i32 0, align 4 @FDT_ERR_BADOVERLAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @overlay_fixup_phandle], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @overlay_fixup_phandle(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %8 = call ptr @fdt_getprop_by_offset(ptr noundef %1, i32 noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #4 %9 = icmp eq ptr %8, null %10 = load i32, ptr %6, align 4, !tbaa !6 br i1 %9, label %11, label %18 11: ; preds = %4 %12 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 %14 = icmp eq i32 %10, %13 br i1 %14, label %15, label %77 15: ; preds = %11 %16 = load i32, ptr @FDT_ERR_INTERNAL, align 4, !tbaa !6 %17 = sub nsw i32 0, %16 br label %77 18: ; preds = %4, %74 %19 = phi i32 [ %75, %74 ], [ %10, %4 ] %20 = phi ptr [ %32, %74 ], [ %8, %4 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 %21 = call ptr @memchr(ptr noundef %20, i8 noundef signext 0, i32 noundef %19) #4 %22 = icmp eq ptr %21, null br i1 %22, label %67, label %23 23: ; preds = %18 %24 = ptrtoint ptr %21 to i64 %25 = ptrtoint ptr %20 to i64 %26 = sub i64 %24, %25 %27 = trunc i64 %26 to i32 %28 = add nsw i32 %27, 1 %29 = load i32, ptr %6, align 4, !tbaa !6 %30 = sub nsw i32 %29, %28 store i32 %30, ptr %6, align 4, !tbaa !6 %31 = sext i32 %28 to i64 %32 = getelementptr inbounds i8, ptr %20, i64 %31 %33 = call ptr @memchr(ptr noundef %20, i8 noundef signext 58, i32 noundef %27) #4 %34 = icmp eq ptr %33, null br i1 %34, label %67, label %35 35: ; preds = %23 %36 = load i8, ptr %33, align 1, !tbaa !10 %37 = icmp eq i8 %36, 58 br i1 %37, label %38, label %67 38: ; preds = %35 %39 = ptrtoint ptr %33 to i64 %40 = sub i64 %39, %25 %41 = trunc i64 %40 to i32 %42 = add nsw i32 %27, -1 %43 = icmp eq i32 %42, %41 br i1 %43, label %67, label %44 44: ; preds = %38 %45 = xor i32 %41, -1 %46 = add i32 %45, %27 %47 = getelementptr inbounds i8, ptr %33, i64 1 %48 = call ptr @memchr(ptr noundef nonnull %47, i8 noundef signext 58, i32 noundef %46) #4 %49 = icmp eq ptr %48, null br i1 %49, label %67, label %50 50: ; preds = %44 %51 = load i8, ptr %48, align 1, !tbaa !10 %52 = icmp eq i8 %51, 58 br i1 %52, label %53, label %67 53: ; preds = %50 %54 = ptrtoint ptr %48 to i64 %55 = ptrtoint ptr %47 to i64 %56 = sub i64 %54, %55 %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %53 %60 = getelementptr inbounds i8, ptr %48, i64 1 %61 = call i32 @strtoul(ptr noundef nonnull %60, ptr noundef nonnull %7, i32 noundef 10) %62 = load ptr, ptr %7, align 8, !tbaa !11 %63 = load i8, ptr %62, align 1, !tbaa !10 %64 = icmp eq i8 %63, 0 %65 = icmp ugt ptr %62, %60 %66 = and i1 %65, %64 br i1 %66, label %70, label %67 67: ; preds = %59, %53, %44, %50, %38, %23, %35, %18 %68 = load i32, ptr @FDT_ERR_BADOVERLAY, align 4, !tbaa !6 %69 = sub nsw i32 0, %68 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 br label %77 70: ; preds = %59 %71 = load ptr, ptr %5, align 8, !tbaa !11 %72 = call i32 @overlay_fixup_one_phandle(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %20, i32 noundef %41, ptr noundef nonnull %47, i32 noundef %57, i32 noundef %61, ptr noundef %71) #4 %73 = icmp eq i32 %72, 0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 br i1 %73, label %74, label %77 74: ; preds = %70 %75 = load i32, ptr %6, align 4, !tbaa !6 %76 = icmp sgt i32 %75, 0 br i1 %76, label %18, label %77, !llvm.loop !13 77: ; preds = %74, %70, %67, %11, %15 %78 = phi i32 [ %17, %15 ], [ %10, %11 ], [ %69, %67 ], [ 0, %74 ], [ %72, %70 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @fdt_getprop_by_offset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3 declare i32 @overlay_fixup_one_phandle(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
linux_scripts_dtc_libfdt_extr_fdt_overlay.c_overlay_fixup_phandle
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_expr.c_store_by_pieces_2.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_expr.c_store_by_pieces_2.c" target datalayout = "e-m:e-p270:32:32-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.store_by_pieces = type { i32, i32, i64, i64, i32, i32, ptr, i32, i64 } @HAVE_PRE_DECREMENT = dso_local local_unnamed_addr global i64 0, align 8 @HAVE_POST_INCREMENT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @store_by_pieces_2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @store_by_pieces_2(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call i32 @GET_MODE_SIZE(i32 noundef %1) #2 %5 = load i32, ptr %2, align 8, !tbaa !5 %6 = icmp ult i32 %5, %4 br i1 %6, label %74, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 3 %9 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 1 %10 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 8 %11 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 7 %12 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 4 %13 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 2 %14 = sub i32 0, %4 %15 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 6 %16 = getelementptr inbounds %struct.store_by_pieces, ptr %2, i64 0, i32 5 %17 = load i64, ptr %8, align 8, !tbaa !12 br label %18 18: ; preds = %7, %70 %19 = phi i64 [ %17, %7 ], [ %65, %70 ] %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load i32, ptr %9, align 4, !tbaa !13 %23 = sub i32 %22, %4 store i32 %23, ptr %9, align 4, !tbaa !13 br label %24 24: ; preds = %21, %18 %25 = load i64, ptr %10, align 8, !tbaa !14 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr %11, align 8, !tbaa !15 br i1 %26, label %32, label %28 28: ; preds = %24 %29 = load i32, ptr %12, align 8, !tbaa !16 %30 = load i32, ptr %9, align 4, !tbaa !13 %31 = tail call i32 @adjust_automodify_address(i32 noundef %27, i32 noundef %1, i32 noundef %29, i32 noundef %30) #2 br label %35 32: ; preds = %24 %33 = load i32, ptr %9, align 4, !tbaa !13 %34 = tail call i32 @adjust_address(i32 noundef %27, i32 noundef %1, i32 noundef %33) #2 br label %35 35: ; preds = %32, %28 %36 = phi i32 [ %31, %28 ], [ %34, %32 ] %37 = load i64, ptr @HAVE_PRE_DECREMENT, align 8, !tbaa !17 %38 = icmp eq i64 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %35 %40 = load i64, ptr %13, align 8, !tbaa !18 %41 = icmp slt i64 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr %12, align 8, !tbaa !16 %44 = tail call i32 @GEN_INT(i32 noundef %14) #2 %45 = tail call i32 @gen_add2_insn(i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @emit_insn(i32 noundef %45) #2 br label %47 47: ; preds = %42, %39, %35 %48 = load ptr, ptr %15, align 8, !tbaa !19 %49 = load i32, ptr %16, align 4, !tbaa !20 %50 = load i32, ptr %9, align 4, !tbaa !13 %51 = tail call i32 %48(i32 noundef %49, i32 noundef %50, i32 noundef %1) #2 %52 = tail call i32 (i32, ...) %0(i32 noundef %36, i32 noundef %51) #2 %53 = tail call i32 @emit_insn(i32 noundef %52) #2 %54 = load i64, ptr @HAVE_POST_INCREMENT, align 8, !tbaa !17 %55 = icmp eq i64 %54, 0 br i1 %55, label %64, label %56 56: ; preds = %47 %57 = load i64, ptr %13, align 8, !tbaa !18 %58 = icmp sgt i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %56 %60 = load i32, ptr %12, align 8, !tbaa !16 %61 = tail call i32 @GEN_INT(i32 noundef %4) #2 %62 = tail call i32 @gen_add2_insn(i32 noundef %60, i32 noundef %61) #2 %63 = tail call i32 @emit_insn(i32 noundef %62) #2 br label %64 64: ; preds = %59, %56, %47 %65 = load i64, ptr %8, align 8, !tbaa !12 %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %64 %68 = load i32, ptr %9, align 4, !tbaa !13 %69 = add i32 %68, %4 store i32 %69, ptr %9, align 4, !tbaa !13 br label %70 70: ; preds = %67, %64 %71 = load i32, ptr %2, align 8, !tbaa !5 %72 = sub i32 %71, %4 store i32 %72, ptr %2, align 8, !tbaa !5 %73 = icmp ult i32 %72, %4 br i1 %73, label %74, label %18, !llvm.loop !21 74: ; preds = %70, %3 ret void } declare i32 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @adjust_automodify_address(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @adjust_address(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_add2_insn(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GEN_INT(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 = !{!"store_by_pieces", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !11, i64 32, !7, i64 40, !10, i64 48} !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 16} !13 = !{!6, !7, i64 4} !14 = !{!6, !10, i64 48} !15 = !{!6, !7, i64 40} !16 = !{!6, !7, i64 24} !17 = !{!10, !10, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!6, !11, i64 32} !20 = !{!6, !7, i64 28} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_expr.c_store_by_pieces_2.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_expr.c_store_by_pieces_2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HAVE_PRE_DECREMENT = common local_unnamed_addr global i64 0, align 8 @HAVE_POST_INCREMENT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @store_by_pieces_2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @store_by_pieces_2(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call i32 @GET_MODE_SIZE(i32 noundef %1) #2 %5 = load i32, ptr %2, align 8, !tbaa !6 %6 = icmp ult i32 %5, %4 br i1 %6, label %74, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %2, i64 16 %9 = getelementptr inbounds i8, ptr %2, i64 4 %10 = getelementptr inbounds i8, ptr %2, i64 48 %11 = getelementptr inbounds i8, ptr %2, i64 40 %12 = getelementptr inbounds i8, ptr %2, i64 24 %13 = getelementptr inbounds i8, ptr %2, i64 8 %14 = sub i32 0, %4 %15 = getelementptr inbounds i8, ptr %2, i64 32 %16 = getelementptr inbounds i8, ptr %2, i64 28 %17 = load i64, ptr %8, align 8, !tbaa !13 br label %18 18: ; preds = %7, %70 %19 = phi i64 [ %17, %7 ], [ %65, %70 ] %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load i32, ptr %9, align 4, !tbaa !14 %23 = sub i32 %22, %4 store i32 %23, ptr %9, align 4, !tbaa !14 br label %24 24: ; preds = %21, %18 %25 = load i64, ptr %10, align 8, !tbaa !15 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr %11, align 8, !tbaa !16 br i1 %26, label %32, label %28 28: ; preds = %24 %29 = load i32, ptr %12, align 8, !tbaa !17 %30 = load i32, ptr %9, align 4, !tbaa !14 %31 = tail call i32 @adjust_automodify_address(i32 noundef %27, i32 noundef %1, i32 noundef %29, i32 noundef %30) #2 br label %35 32: ; preds = %24 %33 = load i32, ptr %9, align 4, !tbaa !14 %34 = tail call i32 @adjust_address(i32 noundef %27, i32 noundef %1, i32 noundef %33) #2 br label %35 35: ; preds = %32, %28 %36 = phi i32 [ %31, %28 ], [ %34, %32 ] %37 = load i64, ptr @HAVE_PRE_DECREMENT, align 8, !tbaa !18 %38 = icmp eq i64 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %35 %40 = load i64, ptr %13, align 8, !tbaa !19 %41 = icmp slt i64 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr %12, align 8, !tbaa !17 %44 = tail call i32 @GEN_INT(i32 noundef %14) #2 %45 = tail call i32 @gen_add2_insn(i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @emit_insn(i32 noundef %45) #2 br label %47 47: ; preds = %42, %39, %35 %48 = load ptr, ptr %15, align 8, !tbaa !20 %49 = load i32, ptr %16, align 4, !tbaa !21 %50 = load i32, ptr %9, align 4, !tbaa !14 %51 = tail call i32 %48(i32 noundef %49, i32 noundef %50, i32 noundef %1) #2 %52 = tail call i32 (i32, ...) %0(i32 noundef %36, i32 noundef %51) #2 %53 = tail call i32 @emit_insn(i32 noundef %52) #2 %54 = load i64, ptr @HAVE_POST_INCREMENT, align 8, !tbaa !18 %55 = icmp eq i64 %54, 0 br i1 %55, label %64, label %56 56: ; preds = %47 %57 = load i64, ptr %13, align 8, !tbaa !19 %58 = icmp sgt i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %56 %60 = load i32, ptr %12, align 8, !tbaa !17 %61 = tail call i32 @GEN_INT(i32 noundef %4) #2 %62 = tail call i32 @gen_add2_insn(i32 noundef %60, i32 noundef %61) #2 %63 = tail call i32 @emit_insn(i32 noundef %62) #2 br label %64 64: ; preds = %59, %56, %47 %65 = load i64, ptr %8, align 8, !tbaa !13 %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %64 %68 = load i32, ptr %9, align 4, !tbaa !14 %69 = add i32 %68, %4 store i32 %69, ptr %9, align 4, !tbaa !14 br label %70 70: ; preds = %67, %64 %71 = load i32, ptr %2, align 8, !tbaa !6 %72 = sub i32 %71, %4 store i32 %72, ptr %2, align 8, !tbaa !6 %73 = icmp ult i32 %72, %4 br i1 %73, label %74, label %18, !llvm.loop !22 74: ; preds = %70, %3 ret void } declare i32 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @adjust_automodify_address(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @adjust_address(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_add2_insn(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GEN_INT(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 = !{!"store_by_pieces", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !12, i64 32, !8, i64 40, !11, i64 48} !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 = !{!7, !11, i64 16} !14 = !{!7, !8, i64 4} !15 = !{!7, !11, i64 48} !16 = !{!7, !8, i64 40} !17 = !{!7, !8, i64 24} !18 = !{!11, !11, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!7, !12, i64 32} !21 = !{!7, !8, i64 28} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_extr_expr.c_store_by_pieces_2
; ModuleID = 'AnghaBench/linux/sound/pci/extr_als4000.c_snd_als4000_set_playback_dma.c' source_filename = "AnghaBench/linux/sound/pci/extr_als4000.c_snd_als4000_set_playback_dma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ALS4K_GCR91_DMA0_ADDR = dso_local local_unnamed_addr global i32 0, align 4 @ALS4K_GCR92_DMA0_MODE_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_als4000_set_playback_dma], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @snd_als4000_set_playback_dma(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @ALS4K_GCR91_DMA0_ADDR, align 4, !tbaa !5 %5 = tail call i32 @snd_als4k_gcr_write(ptr noundef %0, i32 noundef %4, i32 noundef %1) #2 %6 = load i32, ptr @ALS4K_GCR92_DMA0_MODE_COUNT, align 4, !tbaa !5 %7 = add i32 %2, -1 %8 = or i32 %7, 1572864 %9 = tail call i32 @snd_als4k_gcr_write(ptr noundef %0, i32 noundef %6, i32 noundef %8) #2 ret void } declare i32 @snd_als4k_gcr_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_als4000.c_snd_als4000_set_playback_dma.c' source_filename = "AnghaBench/linux/sound/pci/extr_als4000.c_snd_als4000_set_playback_dma.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ALS4K_GCR91_DMA0_ADDR = common local_unnamed_addr global i32 0, align 4 @ALS4K_GCR92_DMA0_MODE_COUNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_als4000_set_playback_dma], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @snd_als4000_set_playback_dma(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @ALS4K_GCR91_DMA0_ADDR, align 4, !tbaa !6 %5 = tail call i32 @snd_als4k_gcr_write(ptr noundef %0, i32 noundef %4, i32 noundef %1) #2 %6 = load i32, ptr @ALS4K_GCR92_DMA0_MODE_COUNT, align 4, !tbaa !6 %7 = add i32 %2, -1 %8 = or i32 %7, 1572864 %9 = tail call i32 @snd_als4k_gcr_write(ptr noundef %0, i32 noundef %6, i32 noundef %8) #2 ret void } declare i32 @snd_als4k_gcr_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_sound_pci_extr_als4000.c_snd_als4000_set_playback_dma
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/extr_ltable.c_rehash.c' source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_ltable.c_rehash.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXBITS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rehash], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rehash(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5 %5 = load i32, ptr @MAXBITS, align 4, !tbaa !5 %6 = add nsw i32 %5, 1 %7 = zext i32 %6 to i64 %8 = tail call ptr @llvm.stacksave.p0() %9 = alloca i32, i64 %7, align 16 %10 = load i32, ptr @MAXBITS, align 4, !tbaa !5 %11 = icmp slt i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %3 %13 = add nuw i32 %10, 1 %14 = zext i32 %13 to i64 %15 = shl nuw nsw i64 %14, 2 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %9, i8 0, i64 %15, i1 false), !tbaa !5 br label %16 16: ; preds = %12, %3 %17 = call i32 @numusearray(ptr noundef %1, ptr noundef nonnull %9) #5 store i32 %17, ptr %4, align 4, !tbaa !5 %18 = call i64 @numusehash(ptr noundef %1, ptr noundef nonnull %9, ptr noundef nonnull %4) #5 %19 = trunc i64 %18 to i32 %20 = call i64 @countint(ptr noundef %2, ptr noundef nonnull %9) #5 %21 = load i32, ptr %4, align 4, !tbaa !5 %22 = trunc i64 %20 to i32 %23 = add i32 %21, %22 store i32 %23, ptr %4, align 4, !tbaa !5 %24 = call i32 @computesizes(ptr noundef nonnull %9, ptr noundef nonnull %4) #5 %25 = load i32, ptr %4, align 4, !tbaa !5 %26 = add i32 %17, 1 %27 = add i32 %26, %19 %28 = sub i32 %27, %24 %29 = call i32 @resize(ptr noundef %0, ptr noundef %1, i32 noundef %25, i32 noundef %28) #5 call void @llvm.stackrestore.p0(ptr %8) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @numusearray(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @numusehash(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @countint(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @computesizes(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @resize(ptr noundef, ptr noundef, i32 noundef, i32 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/extr_ltable.c_rehash.c' source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_ltable.c_rehash.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXBITS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rehash], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rehash(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5 %5 = load i32, ptr @MAXBITS, align 4, !tbaa !6 %6 = add nsw i32 %5, 1 %7 = zext i32 %6 to i64 %8 = tail call ptr @llvm.stacksave.p0() %9 = alloca i32, i64 %7, align 4 %10 = load i32, ptr @MAXBITS, align 4, !tbaa !6 %11 = icmp slt i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %3 %13 = add nuw i32 %10, 1 %14 = zext i32 %13 to i64 %15 = shl nuw nsw i64 %14, 2 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %9, i8 0, i64 %15, i1 false), !tbaa !6 br label %16 16: ; preds = %12, %3 %17 = call i32 @numusearray(ptr noundef %1, ptr noundef nonnull %9) #5 store i32 %17, ptr %4, align 4, !tbaa !6 %18 = call i64 @numusehash(ptr noundef %1, ptr noundef nonnull %9, ptr noundef nonnull %4) #5 %19 = trunc i64 %18 to i32 %20 = call i64 @countint(ptr noundef %2, ptr noundef nonnull %9) #5 %21 = load i32, ptr %4, align 4, !tbaa !6 %22 = trunc i64 %20 to i32 %23 = add i32 %21, %22 store i32 %23, ptr %4, align 4, !tbaa !6 %24 = call i32 @computesizes(ptr noundef nonnull %9, ptr noundef nonnull %4) #5 %25 = load i32, ptr %4, align 4, !tbaa !6 %26 = add i32 %17, 1 %27 = add i32 %26, %19 %28 = sub i32 %27, %24 %29 = call i32 @resize(ptr noundef %0, ptr noundef %1, i32 noundef %25, i32 noundef %28) #5 call void @llvm.stackrestore.p0(ptr %8) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @numusearray(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @numusehash(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @countint(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @computesizes(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @resize(ptr noundef, ptr noundef, i32 noundef, i32 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
nodemcu-firmware_app_lua_extr_ltable.c_rehash
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_set_vpd_proto_id.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_set_vpd_proto_id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.t10_vpd = type { i8, i32 } ; Function Attrs: nounwind uwtable define dso_local void @transport_set_vpd_proto_id(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 1 %4 = load i8, ptr %3, align 1, !tbaa !5 %5 = icmp sgt i8 %4, -1 br i1 %5, label %11, label %6 6: ; preds = %2 %7 = load i8, ptr %1, align 1, !tbaa !5 %8 = and i8 %7, -16 store i8 %8, ptr %0, align 4, !tbaa !8 %9 = getelementptr inbounds %struct.t10_vpd, ptr %0, i64 0, i32 1 store i32 1, ptr %9, align 4, !tbaa !11 %10 = tail call i32 @transport_dump_vpd_proto_id(ptr noundef nonnull %0, ptr noundef null, i32 noundef 0) #2 br label %11 11: ; preds = %6, %2 ret void } declare i32 @transport_dump_vpd_proto_id(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !6, i64 0} !9 = !{!"t10_vpd", !6, i64 0, !10, i64 4} !10 = !{!"int", !6, i64 0} !11 = !{!9, !10, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_set_vpd_proto_id.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_set_vpd_proto_id.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 @transport_set_vpd_proto_id(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 1 %4 = load i8, ptr %3, align 1, !tbaa !6 %5 = icmp sgt i8 %4, -1 br i1 %5, label %11, label %6 6: ; preds = %2 %7 = load i8, ptr %1, align 1, !tbaa !6 %8 = and i8 %7, -16 store i8 %8, ptr %0, align 4, !tbaa !9 %9 = getelementptr inbounds i8, ptr %0, i64 4 store i32 1, ptr %9, align 4, !tbaa !12 %10 = tail call i32 @transport_dump_vpd_proto_id(ptr noundef nonnull %0, ptr noundef null, i32 noundef 0) #2 br label %11 11: ; preds = %6, %2 ret void } declare i32 @transport_dump_vpd_proto_id(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !7, i64 0} !10 = !{!"t10_vpd", !7, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 4}
fastsocket_kernel_drivers_target_extr_target_core_transport.c_transport_set_vpd_proto_id
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_icmp6.c_ni6_dnsmatch.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_icmp6.c_ni6_dnsmatch.c" target datalayout = "e-m:e-p270:32:32-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 @ni6_dnsmatch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ni6_dnsmatch(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = icmp eq i32 %1, %3 br i1 %5, label %6, label %9 6: ; preds = %4 %7 = tail call i64 @bcmp(ptr noundef %0, ptr noundef %2, i32 noundef %1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %96, label %9 9: ; preds = %6, %4 %10 = icmp slt i32 %1, 2 %11 = icmp slt i32 %3, 2 %12 = or i1 %10, %11 br i1 %12, label %96, label %13 13: ; preds = %9 %14 = zext nneg i32 %1 to i64 %15 = getelementptr i8, ptr %0, i64 %14 %16 = getelementptr i8, ptr %15, i64 -1 %17 = load i8, ptr %16, align 1, !tbaa !5 %18 = icmp eq i8 %17, 0 br i1 %18, label %19, label %96 19: ; preds = %13 %20 = zext nneg i32 %3 to i64 %21 = getelementptr i8, ptr %2, i64 %20 %22 = getelementptr i8, ptr %21, i64 -1 %23 = load i8, ptr %22, align 1, !tbaa !5 %24 = icmp eq i8 %23, 0 br i1 %24, label %25, label %96 25: ; preds = %19 %26 = add nsw i32 %1, -1 %27 = add nsw i32 %3, -1 %28 = ptrtoint ptr %0 to i64 %29 = zext nneg i32 %26 to i64 %30 = ptrtoint ptr %2 to i64 %31 = zext nneg i32 %27 to i64 %32 = add nsw i32 %1, -2 %33 = zext nneg i32 %32 to i64 %34 = add nsw i32 %3, -2 %35 = zext nneg i32 %34 to i64 br label %36 36: ; preds = %25, %78 %37 = phi i64 [ 0, %25 ], [ %84, %78 ] %38 = phi ptr [ %0, %25 ], [ %81, %78 ] %39 = phi ptr [ %2, %25 ], [ %82, %78 ] %40 = ptrtoint ptr %39 to i64 %41 = sub i64 %40, %30 %42 = icmp slt i64 %41, %31 br i1 %42, label %43, label %88 43: ; preds = %36 %44 = add nsw i64 %37, 1 %45 = add nsw i64 %41, 1 %46 = load i8, ptr %38, align 1, !tbaa !5 %47 = icmp slt i8 %46, 0 br i1 %47, label %96, label %48 48: ; preds = %43 %49 = load i8, ptr %39, align 1, !tbaa !5 %50 = icmp sgt i8 %49, -1 %51 = or i8 %49, %46 %52 = icmp ult i8 %51, 64 %53 = and i1 %50, %52 br i1 %53, label %54, label %96 54: ; preds = %48 %55 = icmp eq i8 %46, 0 %56 = icmp eq i64 %37, %33 %57 = select i1 %55, i1 %56, i1 false br i1 %57, label %96, label %58 58: ; preds = %54 %59 = icmp eq i8 %49, 0 %60 = icmp eq i64 %41, %35 %61 = select i1 %59, i1 %60, i1 false br i1 %61, label %96, label %62 62: ; preds = %58 %63 = zext nneg i8 %46 to i32 %64 = icmp ne i8 %46, %49 %65 = or i1 %55, %64 br i1 %65, label %96, label %66 66: ; preds = %62 %67 = zext nneg i8 %46 to i64 %68 = add nsw i64 %44, %67 %69 = icmp sgt i64 %68, %29 %70 = add nsw i64 %45, %67 %71 = icmp sgt i64 %70, %31 %72 = select i1 %69, i1 true, i1 %71 br i1 %72, label %96, label %73 73: ; preds = %66 %74 = getelementptr inbounds i8, ptr %38, i64 1 %75 = getelementptr inbounds i8, ptr %39, i64 1 %76 = tail call i64 @bcmp(ptr noundef nonnull %74, ptr noundef nonnull %75, i32 noundef %63) #2 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %96 78: ; preds = %73 %79 = add nuw nsw i32 %63, 1 %80 = zext nneg i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %38, i64 %80 %82 = getelementptr inbounds i8, ptr %39, i64 %80 %83 = ptrtoint ptr %81 to i64 %84 = sub i64 %83, %28 %85 = icmp slt i64 %84, %29 br i1 %85, label %36, label %86, !llvm.loop !8 86: ; preds = %78 %87 = ptrtoint ptr %82 to i64 br label %88 88: ; preds = %36, %86 %89 = phi i64 [ %87, %86 ], [ %40, %36 ] %90 = phi i64 [ %84, %86 ], [ %37, %36 ] %91 = icmp eq i64 %90, %29 %92 = sub i64 %89, %30 %93 = icmp eq i64 %92, %31 %94 = select i1 %91, i1 %93, i1 false %95 = zext i1 %94 to i32 br label %96 96: ; preds = %73, %66, %62, %58, %54, %43, %48, %88, %13, %19, %9, %6 %97 = phi i32 [ 1, %6 ], [ 0, %9 ], [ 0, %19 ], [ 0, %13 ], [ %95, %88 ], [ 0, %73 ], [ 0, %66 ], [ 0, %62 ], [ 1, %58 ], [ 1, %54 ], [ 0, %43 ], [ 0, %48 ] ret i32 %97 } declare i64 @bcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_icmp6.c_ni6_dnsmatch.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_icmp6.c_ni6_dnsmatch.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 @ni6_dnsmatch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @ni6_dnsmatch(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = icmp eq i32 %1, %3 br i1 %5, label %6, label %9 6: ; preds = %4 %7 = tail call i64 @bcmp(ptr noundef %0, ptr noundef %2, i32 noundef %1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %96, label %9 9: ; preds = %6, %4 %10 = icmp slt i32 %1, 2 %11 = icmp slt i32 %3, 2 %12 = or i1 %10, %11 br i1 %12, label %96, label %13 13: ; preds = %9 %14 = zext nneg i32 %1 to i64 %15 = getelementptr i8, ptr %0, i64 %14 %16 = getelementptr i8, ptr %15, i64 -1 %17 = load i8, ptr %16, align 1, !tbaa !6 %18 = icmp eq i8 %17, 0 br i1 %18, label %19, label %96 19: ; preds = %13 %20 = zext nneg i32 %3 to i64 %21 = getelementptr i8, ptr %2, i64 %20 %22 = getelementptr i8, ptr %21, i64 -1 %23 = load i8, ptr %22, align 1, !tbaa !6 %24 = icmp eq i8 %23, 0 br i1 %24, label %25, label %96 25: ; preds = %19 %26 = add nsw i32 %1, -1 %27 = add nsw i32 %3, -1 %28 = ptrtoint ptr %0 to i64 %29 = zext nneg i32 %26 to i64 %30 = ptrtoint ptr %2 to i64 %31 = zext nneg i32 %27 to i64 %32 = add nsw i32 %1, -2 %33 = zext nneg i32 %32 to i64 %34 = add nsw i32 %3, -2 %35 = zext nneg i32 %34 to i64 br label %36 36: ; preds = %25, %78 %37 = phi i64 [ 0, %25 ], [ %84, %78 ] %38 = phi ptr [ %0, %25 ], [ %81, %78 ] %39 = phi ptr [ %2, %25 ], [ %82, %78 ] %40 = ptrtoint ptr %39 to i64 %41 = sub i64 %40, %30 %42 = icmp slt i64 %41, %31 br i1 %42, label %43, label %88 43: ; preds = %36 %44 = add nsw i64 %37, 1 %45 = add nsw i64 %41, 1 %46 = load i8, ptr %38, align 1, !tbaa !6 %47 = icmp slt i8 %46, 0 br i1 %47, label %96, label %48 48: ; preds = %43 %49 = load i8, ptr %39, align 1, !tbaa !6 %50 = icmp sgt i8 %49, -1 %51 = or i8 %49, %46 %52 = icmp ult i8 %51, 64 %53 = and i1 %50, %52 br i1 %53, label %54, label %96 54: ; preds = %48 %55 = icmp eq i8 %46, 0 %56 = icmp eq i64 %37, %33 %57 = select i1 %55, i1 %56, i1 false br i1 %57, label %96, label %58 58: ; preds = %54 %59 = icmp eq i8 %49, 0 %60 = icmp eq i64 %41, %35 %61 = select i1 %59, i1 %60, i1 false br i1 %61, label %96, label %62 62: ; preds = %58 %63 = zext nneg i8 %46 to i32 %64 = icmp ne i8 %46, %49 %65 = or i1 %55, %64 br i1 %65, label %96, label %66 66: ; preds = %62 %67 = zext nneg i8 %46 to i64 %68 = add nsw i64 %44, %67 %69 = icmp sgt i64 %68, %29 %70 = add nsw i64 %45, %67 %71 = icmp sgt i64 %70, %31 %72 = select i1 %69, i1 true, i1 %71 br i1 %72, label %96, label %73 73: ; preds = %66 %74 = getelementptr inbounds i8, ptr %38, i64 1 %75 = getelementptr inbounds i8, ptr %39, i64 1 %76 = tail call i64 @bcmp(ptr noundef nonnull %74, ptr noundef nonnull %75, i32 noundef %63) #2 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %96 78: ; preds = %73 %79 = add nuw nsw i32 %63, 1 %80 = zext nneg i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %38, i64 %80 %82 = getelementptr inbounds i8, ptr %39, i64 %80 %83 = ptrtoint ptr %81 to i64 %84 = sub i64 %83, %28 %85 = icmp slt i64 %84, %29 br i1 %85, label %36, label %86, !llvm.loop !9 86: ; preds = %78 %87 = ptrtoint ptr %82 to i64 br label %88 88: ; preds = %36, %86 %89 = phi i64 [ %87, %86 ], [ %40, %36 ] %90 = phi i64 [ %84, %86 ], [ %37, %36 ] %91 = icmp eq i64 %90, %29 %92 = sub i64 %89, %30 %93 = icmp eq i64 %92, %31 %94 = select i1 %91, i1 %93, i1 false %95 = zext i1 %94 to i32 br label %96 96: ; preds = %73, %66, %62, %58, %54, %43, %48, %88, %13, %19, %9, %6 %97 = phi i32 [ 1, %6 ], [ 0, %9 ], [ 0, %19 ], [ 0, %13 ], [ %95, %88 ], [ 0, %73 ], [ 0, %66 ], [ 0, %62 ], [ 1, %58 ], [ 1, %54 ], [ 0, %43 ], [ 0, %48 ] ret i32 %97 } declare i64 @bcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
freebsd_sys_netinet6_extr_icmp6.c_ni6_dnsmatch
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_debugfs_add.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_debugfs_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.i2400mu = type { ptr, i32, i32, %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } @.str = private unnamed_addr constant [11 x i8] c"i2400m-usb\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"dl_\00", align 1 @usb = dso_local local_unnamed_addr global i32 0, align 4 @fw = dso_local local_unnamed_addr global i32 0, align 4 @notif = dso_local local_unnamed_addr global i32 0, align 4 @rx = dso_local local_unnamed_addr global i32 0, align 4 @tx = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"rx_size_auto_shrink\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"Can't create debugfs entry rx_size_auto_shrink: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"rx_size\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"Can't create debugfs entry rx_size: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @i2400mu_debugfs_add], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @i2400mu_debugfs_add(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.i2400mu, ptr %0, i64 0, i32 4 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.i2400mu, ptr %0, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = tail call ptr @debugfs_create_dir(ptr noundef nonnull @.str, ptr noundef %5) #2 %7 = tail call i32 @PTR_ERR(ptr noundef %6) #2 %8 = tail call i64 @IS_ERR(ptr noundef %6) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %1 %11 = load i32, ptr @ENODEV, align 4, !tbaa !14 %12 = sub nsw i32 0, %11 %13 = icmp eq i32 %7, %12 %14 = select i1 %13, i32 0, i32 %7 br label %49 15: ; preds = %1 store ptr %6, ptr %0, align 8, !tbaa !15 %16 = load i32, ptr @usb, align 4, !tbaa !14 %17 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %16, ptr noundef %6) #2 %18 = load i32, ptr @fw, align 4, !tbaa !14 %19 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %18, ptr noundef %6) #2 %20 = load i32, ptr @notif, align 4, !tbaa !14 %21 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %20, ptr noundef %6) #2 %22 = load i32, ptr @rx, align 4, !tbaa !14 %23 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %22, ptr noundef %6) #2 %24 = load i32, ptr @tx, align 4, !tbaa !14 %25 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %24, ptr noundef %6) #2 %26 = getelementptr inbounds %struct.i2400mu, ptr %0, i64 0, i32 2 %27 = tail call ptr @debugfs_create_u8(ptr noundef nonnull @.str.2, i32 noundef 384, ptr noundef %6, ptr noundef nonnull %26) #2 %28 = tail call i32 @PTR_ERR(ptr noundef %27) #2 %29 = tail call i64 @IS_ERR(ptr noundef %27) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %37, label %31 31: ; preds = %15 %32 = load i32, ptr @ENODEV, align 4, !tbaa !14 %33 = sub nsw i32 0, %32 %34 = icmp eq i32 %28, %33 br i1 %34, label %37, label %35 35: ; preds = %31 %36 = tail call i32 @dev_err(ptr noundef %3, ptr noundef nonnull @.str.3, i32 noundef %28) #2 br label %49 37: ; preds = %31, %15 %38 = getelementptr inbounds %struct.i2400mu, ptr %0, i64 0, i32 1 %39 = tail call ptr @debugfs_create_size_t(ptr noundef nonnull @.str.4, i32 noundef 384, ptr noundef %6, ptr noundef nonnull %38) #2 %40 = tail call i32 @PTR_ERR(ptr noundef %39) #2 %41 = tail call i64 @IS_ERR(ptr noundef %39) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %53, label %43 43: ; preds = %37 %44 = load i32, ptr @ENODEV, align 4, !tbaa !14 %45 = sub nsw i32 0, %44 %46 = icmp eq i32 %40, %45 br i1 %46, label %53, label %47 47: ; preds = %43 %48 = tail call i32 @dev_err(ptr noundef %3, ptr noundef nonnull @.str.5, i32 noundef %40) #2 br label %49 49: ; preds = %47, %35, %10 %50 = phi i32 [ %14, %10 ], [ %28, %35 ], [ %40, %47 ] %51 = load ptr, ptr %0, align 8, !tbaa !15 %52 = tail call i32 @debugfs_remove_recursive(ptr noundef %51) #2 br label %53 53: ; preds = %37, %43, %49 %54 = phi i32 [ %50, %49 ], [ 0, %43 ], [ 0, %37 ] ret i32 %54 } declare ptr @debugfs_create_dir(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @__debugfs_register(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @debugfs_create_u8(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @debugfs_create_size_t(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_remove_recursive(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 = !{!"i2400mu", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !7, i64 0} !13 = !{!6, !7, i64 16} !14 = !{!10, !10, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_debugfs_add.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_usb.c_i2400mu_debugfs_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 [11 x i8] c"i2400m-usb\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"dl_\00", align 1 @usb = common local_unnamed_addr global i32 0, align 4 @fw = common local_unnamed_addr global i32 0, align 4 @notif = common local_unnamed_addr global i32 0, align 4 @rx = common local_unnamed_addr global i32 0, align 4 @tx = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"rx_size_auto_shrink\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"Can't create debugfs entry rx_size_auto_shrink: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"rx_size\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"Can't create debugfs entry rx_size: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @i2400mu_debugfs_add], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @i2400mu_debugfs_add(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !14 %6 = tail call ptr @debugfs_create_dir(ptr noundef nonnull @.str, ptr noundef %5) #2 %7 = tail call i32 @PTR_ERR(ptr noundef %6) #2 %8 = tail call i64 @IS_ERR(ptr noundef %6) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %1 %11 = load i32, ptr @ENODEV, align 4, !tbaa !15 %12 = sub nsw i32 0, %11 %13 = icmp eq i32 %7, %12 %14 = select i1 %13, i32 0, i32 %7 br label %49 15: ; preds = %1 store ptr %6, ptr %0, align 8, !tbaa !16 %16 = load i32, ptr @usb, align 4, !tbaa !15 %17 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %16, ptr noundef %6) #2 %18 = load i32, ptr @fw, align 4, !tbaa !15 %19 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %18, ptr noundef %6) #2 %20 = load i32, ptr @notif, align 4, !tbaa !15 %21 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %20, ptr noundef %6) #2 %22 = load i32, ptr @rx, align 4, !tbaa !15 %23 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %22, ptr noundef %6) #2 %24 = load i32, ptr @tx, align 4, !tbaa !15 %25 = tail call i32 @__debugfs_register(ptr noundef nonnull @.str.1, i32 noundef %24, ptr noundef %6) #2 %26 = getelementptr inbounds i8, ptr %0, i64 12 %27 = tail call ptr @debugfs_create_u8(ptr noundef nonnull @.str.2, i32 noundef 384, ptr noundef %6, ptr noundef nonnull %26) #2 %28 = tail call i32 @PTR_ERR(ptr noundef %27) #2 %29 = tail call i64 @IS_ERR(ptr noundef %27) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %37, label %31 31: ; preds = %15 %32 = load i32, ptr @ENODEV, align 4, !tbaa !15 %33 = sub nsw i32 0, %32 %34 = icmp eq i32 %28, %33 br i1 %34, label %37, label %35 35: ; preds = %31 %36 = tail call i32 @dev_err(ptr noundef %3, ptr noundef nonnull @.str.3, i32 noundef %28) #2 br label %49 37: ; preds = %31, %15 %38 = getelementptr inbounds i8, ptr %0, i64 8 %39 = tail call ptr @debugfs_create_size_t(ptr noundef nonnull @.str.4, i32 noundef 384, ptr noundef %6, ptr noundef nonnull %38) #2 %40 = tail call i32 @PTR_ERR(ptr noundef %39) #2 %41 = tail call i64 @IS_ERR(ptr noundef %39) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %53, label %43 43: ; preds = %37 %44 = load i32, ptr @ENODEV, align 4, !tbaa !15 %45 = sub nsw i32 0, %44 %46 = icmp eq i32 %40, %45 br i1 %46, label %53, label %47 47: ; preds = %43 %48 = tail call i32 @dev_err(ptr noundef %3, ptr noundef nonnull @.str.5, i32 noundef %40) #2 br label %49 49: ; preds = %47, %35, %10 %50 = phi i32 [ %14, %10 ], [ %28, %35 ], [ %40, %47 ] %51 = load ptr, ptr %0, align 8, !tbaa !16 %52 = tail call i32 @debugfs_remove_recursive(ptr noundef %51) #2 br label %53 53: ; preds = %37, %43, %49 %54 = phi i32 [ %50, %49 ], [ 0, %43 ], [ 0, %37 ] ret i32 %54 } declare ptr @debugfs_create_dir(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @__debugfs_register(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @debugfs_create_u8(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @debugfs_create_size_t(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_remove_recursive(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 = !{!"i2400mu", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_5__", !8, i64 0} !14 = !{!7, !8, i64 16} !15 = !{!11, !11, i64 0} !16 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_net_wimax_i2400m_extr_usb.c_i2400mu_debugfs_add
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-rv3029c2.c_rv3029_eeprom_exit.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-rv3029c2.c_rv3029_eeprom_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RV3029_ONOFF_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @RV3029_ONOFF_CTRL_EERE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rv3029_eeprom_exit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rv3029_eeprom_exit(ptr noundef %0) #0 { %2 = load i32, ptr @RV3029_ONOFF_CTRL, align 4, !tbaa !5 %3 = load i32, ptr @RV3029_ONOFF_CTRL_EERE, align 4, !tbaa !5 %4 = tail call i32 @rv3029_update_bits(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %3) #2 ret i32 %4 } declare i32 @rv3029_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-rv3029c2.c_rv3029_eeprom_exit.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-rv3029c2.c_rv3029_eeprom_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RV3029_ONOFF_CTRL = common local_unnamed_addr global i32 0, align 4 @RV3029_ONOFF_CTRL_EERE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rv3029_eeprom_exit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rv3029_eeprom_exit(ptr noundef %0) #0 { %2 = load i32, ptr @RV3029_ONOFF_CTRL, align 4, !tbaa !6 %3 = load i32, ptr @RV3029_ONOFF_CTRL_EERE, align 4, !tbaa !6 %4 = tail call i32 @rv3029_update_bits(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %3) #2 ret i32 %4 } declare i32 @rv3029_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_rtc_extr_rtc-rv3029c2.c_rv3029_eeprom_exit
; ModuleID = 'AnghaBench/macvim/src/extr_workshop.c_workshop_set_option.c' source_filename = "AnghaBench/macvim/src/extr_workshop.c_workshop_set_option.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BUFSIZ = dso_local local_unnamed_addr global i32 0, align 4 @NUL = dso_local local_unnamed_addr global i8 0, align 1 @.str = private unnamed_addr constant [7 x i8] c"syntax\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"syntax %s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"lineno\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"set %snu\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"on\00", align 1 @.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"parentheses\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"set %ssm\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @WS_TRACE = dso_local local_unnamed_addr global i32 0, align 4 @WS_TRACE_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @workshop_set_option(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BUFSIZ, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = load i8, ptr @NUL, align 1, !tbaa !9 store i8 %6, ptr %5, align 16, !tbaa !9 %7 = load i8, ptr %0, align 1, !tbaa !9 switch i8 %7, label %29 [ i8 115, label %8 i8 108, label %13 i8 112, label %21 ] 8: ; preds = %2 %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(7) @.str) %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %29 11: ; preds = %8 %12 = call i32 @vim_snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str.1, ptr noundef %1) #3 br label %29 13: ; preds = %2 %14 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(7) @.str.3) %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %29 16: ; preds = %13 %17 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(3) @.str.5) %18 = icmp eq i32 %17, 0 %19 = select i1 %18, ptr @.str.6, ptr @.str.7 %20 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.4, ptr noundef nonnull %19) #3 br label %29 21: ; preds = %2 %22 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(12) @.str.8) %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %21 %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(3) @.str.5) %26 = icmp eq i32 %25, 0 %27 = select i1 %26, ptr @.str.6, ptr @.str.7 %28 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.9, ptr noundef nonnull %27) #3 br label %29 29: ; preds = %8, %21, %24, %13, %16, %11, %2 %30 = load i8, ptr %5, align 16, !tbaa !9 %31 = load i8, ptr @NUL, align 1, !tbaa !9 %32 = icmp eq i8 %30, %31 br i1 %32, label %36, label %33 33: ; preds = %29 %34 = load i32, ptr @TRUE, align 4, !tbaa !5 %35 = call i32 @coloncmd(ptr noundef nonnull %5, i32 noundef %34) #3 br label %36 36: ; preds = %33, %29 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 i32 @vim_snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @coloncmd(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 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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/macvim/src/extr_workshop.c_workshop_set_option.c' source_filename = "AnghaBench/macvim/src/extr_workshop.c_workshop_set_option.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BUFSIZ = common local_unnamed_addr global i32 0, align 4 @NUL = common local_unnamed_addr global i8 0, align 1 @.str = private unnamed_addr constant [7 x i8] c"syntax\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"syntax %s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"lineno\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"set %snu\00", align 1 @.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"parentheses\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"set %ssm\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 @WS_TRACE = common local_unnamed_addr global i32 0, align 4 @WS_TRACE_VERBOSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @workshop_set_option(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BUFSIZ, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 %6 = load i8, ptr @NUL, align 1, !tbaa !10 store i8 %6, ptr %5, align 1, !tbaa !10 %7 = load i8, ptr %0, align 1, !tbaa !10 switch i8 %7, label %49 [ i8 115, label %8 i8 108, label %13 i8 112, label %31 ] 8: ; preds = %2 %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(7) @.str) %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %49 11: ; preds = %8 %12 = call i32 @vim_snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str.1, ptr noundef %1) #3 br label %49 13: ; preds = %2 %14 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(7) @.str.3) %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %49 16: ; preds = %13 %17 = load i8, ptr %1, align 1 %18 = icmp eq i8 %17, 111 br i1 %18, label %19, label %28 19: ; preds = %16 %20 = getelementptr inbounds i8, ptr %1, i64 1 %21 = load i8, ptr %20, align 1 %22 = icmp eq i8 %21, 110 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %1, i64 2 %25 = load i8, ptr %24, align 1 %26 = icmp eq i8 %25, 0 %27 = select i1 %26, ptr @.str.6, ptr @.str.7 br label %28 28: ; preds = %16, %19, %23 %29 = phi ptr [ @.str.7, %16 ], [ @.str.7, %19 ], [ %27, %23 ] %30 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.4, ptr noundef nonnull %29) #3 br label %49 31: ; preds = %2 %32 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(12) @.str.8) %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %49 34: ; preds = %31 %35 = load i8, ptr %1, align 1 %36 = icmp eq i8 %35, 111 br i1 %36, label %37, label %46 37: ; preds = %34 %38 = getelementptr inbounds i8, ptr %1, i64 1 %39 = load i8, ptr %38, align 1 %40 = icmp eq i8 %39, 110 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = getelementptr inbounds i8, ptr %1, i64 2 %43 = load i8, ptr %42, align 1 %44 = icmp eq i8 %43, 0 %45 = select i1 %44, ptr @.str.6, ptr @.str.7 br label %46 46: ; preds = %34, %37, %41 %47 = phi ptr [ @.str.7, %34 ], [ @.str.7, %37 ], [ %45, %41 ] %48 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.9, ptr noundef nonnull %47) #3 br label %49 49: ; preds = %8, %31, %46, %13, %28, %11, %2 %50 = load i8, ptr %5, align 1, !tbaa !10 %51 = load i8, ptr @NUL, align 1, !tbaa !10 %52 = icmp eq i8 %50, %51 br i1 %52, label %56, label %53 53: ; preds = %49 %54 = load i32, ptr @TRUE, align 4, !tbaa !6 %55 = call i32 @coloncmd(ptr noundef nonnull %5, i32 noundef %54) #3 br label %56 56: ; preds = %53, %49 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 i32 @vim_snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @coloncmd(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 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 = !{!8, !8, i64 0}
macvim_src_extr_workshop.c_workshop_set_option
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ehci-hub.c_remove_companion_file.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ehci-hub.c_remove_companion_file.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dev_attr_companion = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @remove_companion_file], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @remove_companion_file(ptr noundef %0) #0 { %2 = tail call i32 @ehci_is_TDI(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = tail call ptr @ehci_to_hcd(ptr noundef %0) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @device_remove_file(i32 noundef %6, ptr noundef nonnull @dev_attr_companion) #2 br label %8 8: ; preds = %4, %1 ret void } declare i32 @ehci_is_TDI(ptr noundef) local_unnamed_addr #1 declare i32 @device_remove_file(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ehci_to_hcd(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ehci-hub.c_remove_companion_file.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ehci-hub.c_remove_companion_file.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dev_attr_companion = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @remove_companion_file], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @remove_companion_file(ptr noundef %0) #0 { %2 = tail call i32 @ehci_is_TDI(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = tail call ptr @ehci_to_hcd(ptr noundef %0) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @device_remove_file(i32 noundef %6, ptr noundef nonnull @dev_attr_companion) #2 br label %8 8: ; preds = %4, %1 ret void } declare i32 @ehci_is_TDI(ptr noundef) local_unnamed_addr #1 declare i32 @device_remove_file(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ehci_to_hcd(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_usb_host_extr_ehci-hub.c_remove_companion_file
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/helix/rev2/extr_matrix.c__matrix_scan.c' source_filename = "AnghaBench/qmk_firmware/keyboards/helix/rev2/extr_matrix.c__matrix_scan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @isLeftHand = dso_local local_unnamed_addr global i64 0, align 8 @ROWS_PER_HAND = dso_local local_unnamed_addr global i64 0, align 8 @matrix_debouncing = dso_local local_unnamed_addr global ptr null, align 8 @DEBOUNCE = dso_local local_unnamed_addr global i64 0, align 8 @debouncing = dso_local local_unnamed_addr global i64 0, align 8 @matrix = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i64 @_matrix_scan() local_unnamed_addr #0 { %1 = load i64, ptr @isLeftHand, align 8, !tbaa !5 %2 = icmp eq i64 %1, 0 %3 = load i64, ptr @ROWS_PER_HAND, align 8 %4 = trunc i64 %3 to i32 %5 = select i1 %2, i32 %4, i32 0 %6 = icmp sgt i64 %3, 0 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = sext i32 %5 to i64 br label %15 9: ; preds = %27 %10 = icmp sgt i64 %30, 0 br label %11 11: ; preds = %9, %0 %12 = phi i1 [ %10, %9 ], [ false, %0 ] %13 = load i64, ptr @debouncing, align 8, !tbaa !5 %14 = icmp eq i64 %13, 0 br i1 %14, label %51, label %32 15: ; preds = %7, %27 %16 = phi i64 [ 0, %7 ], [ %29, %27 ] %17 = tail call i32 @select_row(i64 noundef %16) #2 %18 = tail call i32 @_delay_us(i32 noundef 30) #2 %19 = tail call i64 (...) @read_cols() #2 %20 = load ptr, ptr @matrix_debouncing, align 8, !tbaa !9 %21 = getelementptr i64, ptr %20, i64 %16 %22 = getelementptr i64, ptr %21, i64 %8 %23 = load i64, ptr %22, align 8, !tbaa !5 %24 = icmp eq i64 %23, %19 br i1 %24, label %27, label %25 25: ; preds = %15 store i64 %19, ptr %22, align 8, !tbaa !5 %26 = load i64, ptr @DEBOUNCE, align 8, !tbaa !5 store i64 %26, ptr @debouncing, align 8, !tbaa !5 br label %27 27: ; preds = %25, %15 %28 = tail call i32 (...) @unselect_rows() #2 %29 = add nuw nsw i64 %16, 1 %30 = load i64, ptr @ROWS_PER_HAND, align 8, !tbaa !5 %31 = icmp slt i64 %29, %30 br i1 %31, label %15, label %9, !llvm.loop !11 32: ; preds = %11 %33 = add nsw i64 %13, -1 store i64 %33, ptr @debouncing, align 8, !tbaa !5 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %40 35: ; preds = %32 br i1 %12, label %36, label %51 36: ; preds = %35 %37 = load ptr, ptr @matrix_debouncing, align 8, !tbaa !9 %38 = sext i32 %5 to i64 %39 = load ptr, ptr @matrix, align 8, !tbaa !9 br label %42 40: ; preds = %32 %41 = tail call i32 @_delay_ms(i32 noundef 1) #2 br label %51 42: ; preds = %36, %42 %43 = phi i64 [ 0, %36 ], [ %48, %42 ] %44 = add nsw i64 %43, %38 %45 = getelementptr inbounds i64, ptr %37, i64 %44 %46 = load i64, ptr %45, align 8, !tbaa !5 %47 = getelementptr inbounds i64, ptr %39, i64 %44 store i64 %46, ptr %47, align 8, !tbaa !5 %48 = add nuw nsw i64 %43, 1 %49 = load i64, ptr @ROWS_PER_HAND, align 8, !tbaa !5 %50 = icmp slt i64 %48, %49 br i1 %50, label %42, label %51, !llvm.loop !13 51: ; preds = %42, %35, %40, %11 ret i64 1 } declare i32 @select_row(i64 noundef) local_unnamed_addr #1 declare i32 @_delay_us(i32 noundef) local_unnamed_addr #1 declare i64 @read_cols(...) local_unnamed_addr #1 declare i32 @unselect_rows(...) local_unnamed_addr #1 declare i32 @_delay_ms(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/helix/rev2/extr_matrix.c__matrix_scan.c' source_filename = "AnghaBench/qmk_firmware/keyboards/helix/rev2/extr_matrix.c__matrix_scan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @isLeftHand = common local_unnamed_addr global i64 0, align 8 @ROWS_PER_HAND = common local_unnamed_addr global i64 0, align 8 @matrix_debouncing = common local_unnamed_addr global ptr null, align 8 @DEBOUNCE = common local_unnamed_addr global i64 0, align 8 @debouncing = common local_unnamed_addr global i64 0, align 8 @matrix = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i64 @_matrix_scan() local_unnamed_addr #0 { %1 = load i64, ptr @isLeftHand, align 8, !tbaa !6 %2 = icmp eq i64 %1, 0 %3 = load i64, ptr @ROWS_PER_HAND, align 8 %4 = trunc i64 %3 to i32 %5 = select i1 %2, i32 %4, i32 0 %6 = icmp sgt i64 %3, 0 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = sext i32 %5 to i64 br label %15 9: ; preds = %27 %10 = icmp sgt i64 %30, 0 br label %11 11: ; preds = %9, %0 %12 = phi i1 [ %10, %9 ], [ false, %0 ] %13 = load i64, ptr @debouncing, align 8, !tbaa !6 %14 = icmp eq i64 %13, 0 br i1 %14, label %51, label %32 15: ; preds = %7, %27 %16 = phi i64 [ 0, %7 ], [ %29, %27 ] %17 = tail call i32 @select_row(i64 noundef %16) #2 %18 = tail call i32 @_delay_us(i32 noundef 30) #2 %19 = tail call i64 @read_cols() #2 %20 = load ptr, ptr @matrix_debouncing, align 8, !tbaa !10 %21 = getelementptr i64, ptr %20, i64 %16 %22 = getelementptr i64, ptr %21, i64 %8 %23 = load i64, ptr %22, align 8, !tbaa !6 %24 = icmp eq i64 %23, %19 br i1 %24, label %27, label %25 25: ; preds = %15 store i64 %19, ptr %22, align 8, !tbaa !6 %26 = load i64, ptr @DEBOUNCE, align 8, !tbaa !6 store i64 %26, ptr @debouncing, align 8, !tbaa !6 br label %27 27: ; preds = %25, %15 %28 = tail call i32 @unselect_rows() #2 %29 = add nuw nsw i64 %16, 1 %30 = load i64, ptr @ROWS_PER_HAND, align 8, !tbaa !6 %31 = icmp slt i64 %29, %30 br i1 %31, label %15, label %9, !llvm.loop !12 32: ; preds = %11 %33 = add nsw i64 %13, -1 store i64 %33, ptr @debouncing, align 8, !tbaa !6 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %40 35: ; preds = %32 br i1 %12, label %36, label %51 36: ; preds = %35 %37 = load ptr, ptr @matrix_debouncing, align 8, !tbaa !10 %38 = sext i32 %5 to i64 %39 = load ptr, ptr @matrix, align 8, !tbaa !10 br label %42 40: ; preds = %32 %41 = tail call i32 @_delay_ms(i32 noundef 1) #2 br label %51 42: ; preds = %36, %42 %43 = phi i64 [ 0, %36 ], [ %48, %42 ] %44 = add nsw i64 %43, %38 %45 = getelementptr inbounds i64, ptr %37, i64 %44 %46 = load i64, ptr %45, align 8, !tbaa !6 %47 = getelementptr inbounds i64, ptr %39, i64 %44 store i64 %46, ptr %47, align 8, !tbaa !6 %48 = add nuw nsw i64 %43, 1 %49 = load i64, ptr @ROWS_PER_HAND, align 8, !tbaa !6 %50 = icmp slt i64 %48, %49 br i1 %50, label %42, label %51, !llvm.loop !14 51: ; preds = %42, %35, %40, %11 ret i64 1 } declare i32 @select_row(i64 noundef) local_unnamed_addr #1 declare i32 @_delay_us(i32 noundef) local_unnamed_addr #1 declare i64 @read_cols(...) local_unnamed_addr #1 declare i32 @unselect_rows(...) local_unnamed_addr #1 declare i32 @_delay_ms(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13}
qmk_firmware_keyboards_helix_rev2_extr_matrix.c__matrix_scan
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/pipeline/extr_..ff_ffmsg_queue.h_msg_queue_get.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/pipeline/extr_..ff_ffmsg_queue.h_msg_queue_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32, ptr, i32, ptr, ptr, i64 } %struct.TYPE_7__ = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @msg_queue_get], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @msg_queue_get(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = tail call i32 @SDL_LockMutex(i32 noundef %4) #3 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %35 9: ; preds = %3 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5 %11 = icmp eq i32 %2, 0 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 br label %13 13: ; preds = %9, %29 %14 = load ptr, ptr %10, align 8, !tbaa !13 %15 = icmp eq ptr %14, null br i1 %15, label %28, label %16 16: ; preds = %13 %17 = load ptr, ptr %14, align 8, !tbaa !14 store ptr %17, ptr %10, align 8, !tbaa !13 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %16 %20 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4 store ptr null, ptr %20, align 8, !tbaa !16 br label %21 21: ; preds = %19, %16 %22 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = add nsw i32 %23, -1 store i32 %24, ptr %22, align 8, !tbaa !17 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !18 %25 = getelementptr inbounds %struct.TYPE_7__, ptr %14, i64 0, i32 1 store ptr null, ptr %25, align 8, !tbaa !20 %26 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %27 = load ptr, ptr %26, align 8, !tbaa !21 store ptr %27, ptr %14, align 8, !tbaa !14 store ptr %14, ptr %26, align 8, !tbaa !21 br label %35 28: ; preds = %13 br i1 %11, label %35, label %29 29: ; preds = %28 %30 = load i32, ptr %12, align 4, !tbaa !22 %31 = load i32, ptr %0, align 8, !tbaa !5 %32 = tail call i32 @SDL_CondWait(i32 noundef %30, i32 noundef %31) #3 %33 = load i64, ptr %6, align 8, !tbaa !12 %34 = icmp eq i64 %33, 0 br i1 %34, label %13, label %35 35: ; preds = %29, %28, %3, %21 %36 = phi i32 [ 1, %21 ], [ -1, %3 ], [ -1, %29 ], [ 0, %28 ] %37 = load i32, ptr %0, align 8, !tbaa !5 %38 = tail call i32 @SDL_UnlockMutex(i32 noundef %37) #3 ret i32 %36 } declare i32 @SDL_LockMutex(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @SDL_CondWait(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SDL_UnlockMutex(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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, i64 4, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !11, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !11, i64 40} !13 = !{!6, !10, i64 32} !14 = !{!15, !10, i64 0} !15 = !{!"TYPE_7__", !10, i64 0, !10, i64 8} !16 = !{!6, !10, i64 24} !17 = !{!6, !7, i64 16} !18 = !{i64 0, i64 8, !19, i64 8, i64 8, !19} !19 = !{!10, !10, i64 0} !20 = !{!15, !10, i64 8} !21 = !{!6, !10, i64 8} !22 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/pipeline/extr_..ff_ffmsg_queue.h_msg_queue_get.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/pipeline/extr_..ff_ffmsg_queue.h_msg_queue_get.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 @msg_queue_get], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 -1, 2) i32 @msg_queue_get(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = tail call i32 @SDL_LockMutex(i32 noundef %4) #3 %6 = getelementptr inbounds i8, ptr %0, i64 40 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %35 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 32 %11 = icmp eq i32 %2, 0 %12 = getelementptr inbounds i8, ptr %0, i64 4 br label %13 13: ; preds = %9, %29 %14 = load ptr, ptr %10, align 8, !tbaa !14 %15 = icmp eq ptr %14, null br i1 %15, label %28, label %16 16: ; preds = %13 %17 = load ptr, ptr %14, align 8, !tbaa !15 store ptr %17, ptr %10, align 8, !tbaa !14 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %16 %20 = getelementptr inbounds i8, ptr %0, i64 24 store ptr null, ptr %20, align 8, !tbaa !17 br label %21 21: ; preds = %19, %16 %22 = getelementptr inbounds i8, ptr %0, i64 16 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = add nsw i32 %23, -1 store i32 %24, ptr %22, align 8, !tbaa !18 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !19 %25 = getelementptr inbounds i8, ptr %14, i64 8 store ptr null, ptr %25, align 8, !tbaa !21 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !22 store ptr %27, ptr %14, align 8, !tbaa !15 store ptr %14, ptr %26, align 8, !tbaa !22 br label %35 28: ; preds = %13 br i1 %11, label %35, label %29 29: ; preds = %28 %30 = load i32, ptr %12, align 4, !tbaa !23 %31 = load i32, ptr %0, align 8, !tbaa !6 %32 = tail call i32 @SDL_CondWait(i32 noundef %30, i32 noundef %31) #3 %33 = load i64, ptr %6, align 8, !tbaa !13 %34 = icmp eq i64 %33, 0 br i1 %34, label %13, label %35 35: ; preds = %29, %28, %3, %21 %36 = phi i32 [ 1, %21 ], [ -1, %3 ], [ -1, %29 ], [ 0, %28 ] %37 = load i32, ptr %0, align 8, !tbaa !6 %38 = tail call i32 @SDL_UnlockMutex(i32 noundef %37) #3 ret i32 %36 } declare i32 @SDL_LockMutex(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @SDL_CondWait(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SDL_UnlockMutex(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !12, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !12, i64 40} !14 = !{!7, !11, i64 32} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_7__", !11, i64 0, !11, i64 8} !17 = !{!7, !11, i64 24} !18 = !{!7, !8, i64 16} !19 = !{i64 0, i64 8, !20, i64 8, i64 8, !20} !20 = !{!11, !11, i64 0} !21 = !{!16, !11, i64 8} !22 = !{!7, !11, i64 8} !23 = !{!7, !8, i64 4}
ijkplayer_ijkmedia_ijkplayer_pipeline_extr_..ff_ffmsg_queue.h_msg_queue_get
; ModuleID = 'AnghaBench/linux/net/tipc/extr_bearer.c_tipc_bearer_cleanup.c' source_filename = "AnghaBench/linux/net/tipc/extr_bearer.c_tipc_bearer_cleanup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @notifier = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @tipc_bearer_cleanup() local_unnamed_addr #0 { %1 = tail call i32 @unregister_netdevice_notifier(ptr noundef nonnull @notifier) #2 ret void } declare i32 @unregister_netdevice_notifier(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/tipc/extr_bearer.c_tipc_bearer_cleanup.c' source_filename = "AnghaBench/linux/net/tipc/extr_bearer.c_tipc_bearer_cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @notifier = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @tipc_bearer_cleanup() local_unnamed_addr #0 { %1 = tail call i32 @unregister_netdevice_notifier(ptr noundef nonnull @notifier) #2 ret void } declare i32 @unregister_netdevice_notifier(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_tipc_extr_bearer.c_tipc_bearer_cleanup
; ModuleID = 'AnghaBench/linux/tools/perf/ui/tui/extr_util.c_perf_tui__warning.c' source_filename = "AnghaBench/linux/tools/perf/ui/tui/extr_util.c_perf_tui__warning.c" target datalayout = "e-m:e-p270:32:32-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 [9 x i8] c"Warning:\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @perf_tui__warning], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @perf_tui__warning(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @__ui__warning(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @__ui__warning(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/tools/perf/ui/tui/extr_util.c_perf_tui__warning.c' source_filename = "AnghaBench/linux/tools/perf/ui/tui/extr_util.c_perf_tui__warning.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 [9 x i8] c"Warning:\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @perf_tui__warning], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @perf_tui__warning(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @__ui__warning(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @__ui__warning(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_tools_perf_ui_tui_extr_util.c_perf_tui__warning
; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_scsi.c_zfcp_scsi_adapter_register.c' source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_scsi.c_zfcp_scsi_adapter_register.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ccw_dev_id = type { i32 } %struct.zfcp_adapter = type { ptr, ptr } %struct.TYPE_5__ = type { i32, i32, i32, ptr, i32, i32, i64 } @zfcp_scsi_host_template = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"Registering the FCP device with the SCSI stack failed\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @zfcp_scsi_transport_template = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @zfcp_scsi_adapter_register(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.ccw_dev_id, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %35 5: ; preds = %1 %6 = getelementptr inbounds %struct.zfcp_adapter, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = call i32 @ccw_device_get_id(ptr noundef %7, ptr noundef nonnull %2) #3 %9 = call ptr @scsi_host_alloc(ptr noundef nonnull @zfcp_scsi_host_template, i32 noundef 8) #3 store ptr %9, ptr %0, align 8, !tbaa !5 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %5 %12 = load ptr, ptr %6, align 8, !tbaa !10 %13 = call i32 @dev_err(ptr noundef %12, ptr noundef nonnull @.str) #3 %14 = load i32, ptr @EIO, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %35 16: ; preds = %5 store i32 511, ptr %9, align 8, !tbaa !13 %17 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 1 store i32 -1, ptr %17, align 4, !tbaa !16 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 6 store i64 0, ptr %18, align 8, !tbaa !17 %19 = load i32, ptr %2, align 4, !tbaa !18 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 5 store i32 %19, ptr %20, align 4, !tbaa !20 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 2 store i32 16, ptr %21, align 8, !tbaa !21 %22 = load i32, ptr @zfcp_scsi_transport_template, align 4, !tbaa !11 %23 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 4 store i32 %22, ptr %23, align 8, !tbaa !22 %24 = ptrtoint ptr %0 to i64 %25 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 3 %26 = load ptr, ptr %25, align 8, !tbaa !23 store i64 %24, ptr %26, align 8, !tbaa !24 %27 = load ptr, ptr %6, align 8, !tbaa !10 %28 = call i64 @scsi_add_host(ptr noundef nonnull %9, ptr noundef %27) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %35, label %30 30: ; preds = %16 %31 = load ptr, ptr %0, align 8, !tbaa !5 %32 = call i32 @scsi_host_put(ptr noundef %31) #3 %33 = load i32, ptr @EIO, align 4, !tbaa !11 %34 = sub nsw i32 0, %33 br label %35 35: ; preds = %16, %1, %30, %11 %36 = phi i32 [ %34, %30 ], [ %15, %11 ], [ 0, %1 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ccw_device_get_id(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @scsi_host_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @scsi_add_host(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @scsi_host_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, !7, i64 0} !6 = !{!"zfcp_adapter", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_5__", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16, !12, i64 24, !12, i64 28, !15, i64 32} !15 = !{!"long", !8, i64 0} !16 = !{!14, !12, i64 4} !17 = !{!14, !15, i64 32} !18 = !{!19, !12, i64 0} !19 = !{!"ccw_dev_id", !12, i64 0} !20 = !{!14, !12, i64 28} !21 = !{!14, !12, i64 8} !22 = !{!14, !12, i64 24} !23 = !{!14, !7, i64 16} !24 = !{!15, !15, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_scsi.c_zfcp_scsi_adapter_register.c' source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_scsi.c_zfcp_scsi_adapter_register.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ccw_dev_id = type { i32 } @zfcp_scsi_host_template = common global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"Registering the FCP device with the SCSI stack failed\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @zfcp_scsi_transport_template = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @zfcp_scsi_adapter_register(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.ccw_dev_id, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %34 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = call i32 @ccw_device_get_id(ptr noundef %7, ptr noundef nonnull %2) #3 %9 = call ptr @scsi_host_alloc(ptr noundef nonnull @zfcp_scsi_host_template, i32 noundef 8) #3 store ptr %9, ptr %0, align 8, !tbaa !6 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %5 %12 = load ptr, ptr %6, align 8, !tbaa !11 %13 = call i32 @dev_err(ptr noundef %12, ptr noundef nonnull @.str) #3 %14 = load i32, ptr @EIO, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %34 16: ; preds = %5 store <2 x i32> <i32 511, i32 -1>, ptr %9, align 8, !tbaa !12 %17 = getelementptr inbounds i8, ptr %9, i64 32 store i64 0, ptr %17, align 8, !tbaa !14 %18 = load i32, ptr %2, align 4, !tbaa !17 %19 = getelementptr inbounds i8, ptr %9, i64 28 store i32 %18, ptr %19, align 4, !tbaa !19 %20 = getelementptr inbounds i8, ptr %9, i64 8 store i32 16, ptr %20, align 8, !tbaa !20 %21 = load i32, ptr @zfcp_scsi_transport_template, align 4, !tbaa !12 %22 = getelementptr inbounds i8, ptr %9, i64 24 store i32 %21, ptr %22, align 8, !tbaa !21 %23 = ptrtoint ptr %0 to i64 %24 = getelementptr inbounds i8, ptr %9, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !22 store i64 %23, ptr %25, align 8, !tbaa !23 %26 = load ptr, ptr %6, align 8, !tbaa !11 %27 = call i64 @scsi_add_host(ptr noundef nonnull %9, ptr noundef %26) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %34, label %29 29: ; preds = %16 %30 = load ptr, ptr %0, align 8, !tbaa !6 %31 = call i32 @scsi_host_put(ptr noundef %30) #3 %32 = load i32, ptr @EIO, align 4, !tbaa !12 %33 = sub nsw i32 0, %32 br label %34 34: ; preds = %16, %1, %29, %11 %35 = phi i32 [ %33, %29 ], [ %15, %11 ], [ 0, %1 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %35 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ccw_device_get_id(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @scsi_host_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @scsi_add_host(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @scsi_host_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, !8, i64 0} !7 = !{!"zfcp_adapter", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !16, i64 32} !15 = !{!"TYPE_5__", !13, i64 0, !13, i64 4, !13, i64 8, !8, i64 16, !13, i64 24, !13, i64 28, !16, i64 32} !16 = !{!"long", !9, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"ccw_dev_id", !13, i64 0} !19 = !{!15, !13, i64 28} !20 = !{!15, !13, i64 8} !21 = !{!15, !13, i64 24} !22 = !{!15, !8, i64 16} !23 = !{!16, !16, i64 0}
linux_drivers_s390_scsi_extr_zfcp_scsi.c_zfcp_scsi_adapter_register
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlIO.c_xmlSetExternalEntityLoader.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlIO.c_xmlSetExternalEntityLoader.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @xmlCurrentExternalEntityLoader = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @xmlSetExternalEntityLoader(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @xmlCurrentExternalEntityLoader, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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/reactos/sdk/lib/3rdparty/libxml2/extr_xmlIO.c_xmlSetExternalEntityLoader.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlIO.c_xmlSetExternalEntityLoader.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @xmlCurrentExternalEntityLoader = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @xmlSetExternalEntityLoader(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @xmlCurrentExternalEntityLoader, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, 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"}
reactos_sdk_lib_3rdparty_libxml2_extr_xmlIO.c_xmlSetExternalEntityLoader
; ModuleID = 'AnghaBench/vlc/src/misc/extr_update_crypto.c_parse_public_key_packet.c' source_filename = "AnghaBench/vlc/src/misc/extr_update_crypto.c_parse_public_key_packet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, i64, %struct.TYPE_8__, i32 } %struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__ } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i32, i32, i32, i32 } @VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4 @GCRY_PK_DSA = dso_local local_unnamed_addr global i64 0, align 8 @GCRY_PK_RSA = dso_local local_unnamed_addr global i64 0, align 8 @VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_public_key_packet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @parse_public_key_packet(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = icmp ult i64 %2, 6 br i1 %4, label %44, label %5 5: ; preds = %3 %6 = load i32, ptr %1, align 4, !tbaa !5 store i32 %6, ptr %0, align 8, !tbaa !9 %7 = icmp eq i32 %6, 4 br i1 %7, label %8, label %44 8: ; preds = %5 %9 = getelementptr inbounds i32, ptr %1, i64 1 %10 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = tail call i32 @memcpy(i32 noundef %11, ptr noundef nonnull %9, i32 noundef 4) #2 %13 = getelementptr inbounds i32, ptr %1, i64 5 %14 = load i32, ptr %13, align 4, !tbaa !5 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 store i64 %15, ptr %16, align 8, !tbaa !16 %17 = load i64, ptr @GCRY_PK_DSA, align 8, !tbaa !17 %18 = icmp eq i64 %17, %15 br i1 %18, label %19, label %28 19: ; preds = %8 %20 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2, i32 1 %21 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2, i32 1, i32 3 %22 = load i32, ptr %21, align 4, !tbaa !18 %23 = tail call i32 @READ_MPI(i32 noundef %22, i32 noundef 3072) #2 %24 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2, i32 1, i32 2 %25 = load i32, ptr %24, align 8, !tbaa !19 %26 = tail call i32 @READ_MPI(i32 noundef %25, i32 noundef 256) #2 %27 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2, i32 1, i32 1 br label %34 28: ; preds = %8 %29 = load i64, ptr @GCRY_PK_RSA, align 8, !tbaa !17 %30 = icmp eq i64 %29, %15 br i1 %30, label %31, label %44 31: ; preds = %28 %32 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %33 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2, i32 0, i32 1 br label %34 34: ; preds = %31, %19 %35 = phi ptr [ %33, %31 ], [ %27, %19 ] %36 = phi i32 [ 4096, %31 ], [ 3072, %19 ] %37 = phi ptr [ %32, %31 ], [ %20, %19 ] %38 = load i32, ptr %35, align 4, !tbaa !5 %39 = tail call i32 @READ_MPI(i32 noundef %38, i32 noundef %36) #2 %40 = load i32, ptr %37, align 8, !tbaa !5 %41 = tail call i32 @READ_MPI(i32 noundef %40, i32 noundef %36) #2 %42 = icmp eq i64 %2, 6 %43 = select i1 %42, ptr @VLC_SUCCESS, ptr @VLC_EGENERIC br label %44 44: ; preds = %5, %28, %34, %3 %45 = phi ptr [ @VLC_EGENERIC, %3 ], [ @VLC_EGENERIC, %5 ], [ @VLC_EGENERIC, %28 ], [ %43, %34 ] %46 = load i32, ptr %45, align 4, !tbaa !5 ret i32 %46 } declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @READ_MPI(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 = !{!"TYPE_9__", !6, i64 0, !11, i64 8, !12, i64 16, !6, i64 40} !11 = !{!"long", !7, i64 0} !12 = !{!"TYPE_8__", !13, i64 0, !14, i64 8} !13 = !{!"TYPE_7__", !6, i64 0, !6, i64 4} !14 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !15 = !{!10, !6, i64 40} !16 = !{!10, !11, i64 8} !17 = !{!11, !11, i64 0} !18 = !{!10, !6, i64 36} !19 = !{!10, !6, i64 32}
; ModuleID = 'AnghaBench/vlc/src/misc/extr_update_crypto.c_parse_public_key_packet.c' source_filename = "AnghaBench/vlc/src/misc/extr_update_crypto.c_parse_public_key_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4 @GCRY_PK_DSA = common local_unnamed_addr global i64 0, align 8 @GCRY_PK_RSA = common local_unnamed_addr global i64 0, align 8 @VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @parse_public_key_packet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @parse_public_key_packet(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = icmp ult i64 %2, 6 br i1 %4, label %43, label %5 5: ; preds = %3 %6 = load i32, ptr %1, align 4, !tbaa !6 store i32 %6, ptr %0, align 8, !tbaa !10 %7 = icmp eq i32 %6, 4 br i1 %7, label %8, label %43 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = getelementptr inbounds i8, ptr %0, i64 40 %11 = load i32, ptr %10, align 8, !tbaa !16 %12 = tail call i32 @memcpy(i32 noundef %11, ptr noundef nonnull %9, i32 noundef 4) #2 %13 = getelementptr inbounds i8, ptr %1, i64 20 %14 = load i32, ptr %13, align 4, !tbaa !6 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %15, ptr %16, align 8, !tbaa !17 %17 = load i64, ptr @GCRY_PK_DSA, align 8, !tbaa !18 %18 = icmp eq i64 %17, %15 br i1 %18, label %19, label %27 19: ; preds = %8 %20 = getelementptr inbounds i8, ptr %0, i64 24 %21 = getelementptr inbounds i8, ptr %0, i64 36 %22 = load i32, ptr %21, align 4, !tbaa !19 %23 = tail call i32 @READ_MPI(i32 noundef %22, i32 noundef 3072) #2 %24 = getelementptr inbounds i8, ptr %0, i64 32 %25 = load i32, ptr %24, align 8, !tbaa !20 %26 = tail call i32 @READ_MPI(i32 noundef %25, i32 noundef 256) #2 br label %32 27: ; preds = %8 %28 = load i64, ptr @GCRY_PK_RSA, align 8, !tbaa !18 %29 = icmp eq i64 %28, %15 br i1 %29, label %30, label %43 30: ; preds = %27 %31 = getelementptr inbounds i8, ptr %0, i64 16 br label %32 32: ; preds = %30, %19 %33 = phi i64 [ 20, %30 ], [ 28, %19 ] %34 = phi i32 [ 4096, %30 ], [ 3072, %19 ] %35 = phi ptr [ %31, %30 ], [ %20, %19 ] %36 = getelementptr inbounds i8, ptr %0, i64 %33 %37 = load i32, ptr %36, align 4, !tbaa !6 %38 = tail call i32 @READ_MPI(i32 noundef %37, i32 noundef %34) #2 %39 = load i32, ptr %35, align 8, !tbaa !6 %40 = tail call i32 @READ_MPI(i32 noundef %39, i32 noundef %34) #2 %41 = icmp eq i64 %2, 6 %42 = select i1 %41, ptr @VLC_SUCCESS, ptr @VLC_EGENERIC br label %43 43: ; preds = %5, %27, %32, %3 %44 = phi ptr [ @VLC_EGENERIC, %3 ], [ @VLC_EGENERIC, %5 ], [ @VLC_EGENERIC, %27 ], [ %42, %32 ] %45 = load i32, ptr %44, align 4, !tbaa !6 ret i32 %45 } declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @READ_MPI(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 = !{!"TYPE_9__", !7, i64 0, !12, i64 8, !13, i64 16, !7, i64 40} !12 = !{!"long", !8, i64 0} !13 = !{!"TYPE_8__", !14, i64 0, !15, i64 8} !14 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !15 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !16 = !{!11, !7, i64 40} !17 = !{!11, !12, i64 8} !18 = !{!12, !12, i64 0} !19 = !{!11, !7, i64 36} !20 = !{!11, !7, i64 32}
vlc_src_misc_extr_update_crypto.c_parse_public_key_packet
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_glock.c_gflags2str.c' source_filename = "AnghaBench/linux/fs/gfs2/extr_glock.c_gflags2str.c" target datalayout = "e-m:e-p270:32:32-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.gfs2_glock = type { i64, i64 } @GLF_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @GLF_DEMOTE = dso_local local_unnamed_addr global i32 0, align 4 @GLF_PENDING_DEMOTE = dso_local local_unnamed_addr global i32 0, align 4 @GLF_DEMOTE_IN_PROGRESS = dso_local local_unnamed_addr global i32 0, align 4 @GLF_DIRTY = dso_local local_unnamed_addr global i32 0, align 4 @GLF_LFLUSH = dso_local local_unnamed_addr global i32 0, align 4 @GLF_INVALIDATE_IN_PROGRESS = dso_local local_unnamed_addr global i32 0, align 4 @GLF_REPLY_PENDING = dso_local local_unnamed_addr global i32 0, align 4 @GLF_INITIAL = dso_local local_unnamed_addr global i32 0, align 4 @GLF_FROZEN = dso_local local_unnamed_addr global i32 0, align 4 @GLF_QUEUED = dso_local local_unnamed_addr global i32 0, align 4 @GLF_LRU = dso_local local_unnamed_addr global i32 0, align 4 @GLF_BLOCKING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gflags2str], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @gflags2str(ptr noundef returned writeonly %0, ptr noundef %1) #0 { %3 = load i32, ptr @GLF_LOCK, align 4, !tbaa !5 %4 = tail call i64 @test_bit(i32 noundef %3, ptr noundef %1) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 1 store i8 108, ptr %0, align 1, !tbaa !9 br label %8 8: ; preds = %6, %2 %9 = phi ptr [ %7, %6 ], [ %0, %2 ] %10 = load i32, ptr @GLF_DEMOTE, align 4, !tbaa !5 %11 = tail call i64 @test_bit(i32 noundef %10, ptr noundef %1) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %9, i64 1 store i8 68, ptr %9, align 1, !tbaa !9 br label %15 15: ; preds = %13, %8 %16 = phi ptr [ %14, %13 ], [ %9, %8 ] %17 = load i32, ptr @GLF_PENDING_DEMOTE, align 4, !tbaa !5 %18 = tail call i64 @test_bit(i32 noundef %17, ptr noundef %1) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = getelementptr inbounds i8, ptr %16, i64 1 store i8 100, ptr %16, align 1, !tbaa !9 br label %22 22: ; preds = %20, %15 %23 = phi ptr [ %21, %20 ], [ %16, %15 ] %24 = load i32, ptr @GLF_DEMOTE_IN_PROGRESS, align 4, !tbaa !5 %25 = tail call i64 @test_bit(i32 noundef %24, ptr noundef %1) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %23, i64 1 store i8 112, ptr %23, align 1, !tbaa !9 br label %29 29: ; preds = %27, %22 %30 = phi ptr [ %28, %27 ], [ %23, %22 ] %31 = load i32, ptr @GLF_DIRTY, align 4, !tbaa !5 %32 = tail call i64 @test_bit(i32 noundef %31, ptr noundef %1) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %29 %35 = getelementptr inbounds i8, ptr %30, i64 1 store i8 121, ptr %30, align 1, !tbaa !9 br label %36 36: ; preds = %34, %29 %37 = phi ptr [ %35, %34 ], [ %30, %29 ] %38 = load i32, ptr @GLF_LFLUSH, align 4, !tbaa !5 %39 = tail call i64 @test_bit(i32 noundef %38, ptr noundef %1) #2 %40 = icmp eq i64 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %36 %42 = getelementptr inbounds i8, ptr %37, i64 1 store i8 102, ptr %37, align 1, !tbaa !9 br label %43 43: ; preds = %41, %36 %44 = phi ptr [ %42, %41 ], [ %37, %36 ] %45 = load i32, ptr @GLF_INVALIDATE_IN_PROGRESS, align 4, !tbaa !5 %46 = tail call i64 @test_bit(i32 noundef %45, ptr noundef %1) #2 %47 = icmp eq i64 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %43 %49 = getelementptr inbounds i8, ptr %44, i64 1 store i8 105, ptr %44, align 1, !tbaa !9 br label %50 50: ; preds = %48, %43 %51 = phi ptr [ %49, %48 ], [ %44, %43 ] %52 = load i32, ptr @GLF_REPLY_PENDING, align 4, !tbaa !5 %53 = tail call i64 @test_bit(i32 noundef %52, ptr noundef %1) #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %50 %56 = getelementptr inbounds i8, ptr %51, i64 1 store i8 114, ptr %51, align 1, !tbaa !9 br label %57 57: ; preds = %55, %50 %58 = phi ptr [ %56, %55 ], [ %51, %50 ] %59 = load i32, ptr @GLF_INITIAL, align 4, !tbaa !5 %60 = tail call i64 @test_bit(i32 noundef %59, ptr noundef %1) #2 %61 = icmp eq i64 %60, 0 br i1 %61, label %64, label %62 62: ; preds = %57 %63 = getelementptr inbounds i8, ptr %58, i64 1 store i8 73, ptr %58, align 1, !tbaa !9 br label %64 64: ; preds = %62, %57 %65 = phi ptr [ %63, %62 ], [ %58, %57 ] %66 = load i32, ptr @GLF_FROZEN, align 4, !tbaa !5 %67 = tail call i64 @test_bit(i32 noundef %66, ptr noundef %1) #2 %68 = icmp eq i64 %67, 0 br i1 %68, label %71, label %69 69: ; preds = %64 %70 = getelementptr inbounds i8, ptr %65, i64 1 store i8 70, ptr %65, align 1, !tbaa !9 br label %71 71: ; preds = %69, %64 %72 = phi ptr [ %70, %69 ], [ %65, %64 ] %73 = load i32, ptr @GLF_QUEUED, align 4, !tbaa !5 %74 = tail call i64 @test_bit(i32 noundef %73, ptr noundef %1) #2 %75 = icmp eq i64 %74, 0 br i1 %75, label %78, label %76 76: ; preds = %71 %77 = getelementptr inbounds i8, ptr %72, i64 1 store i8 113, ptr %72, align 1, !tbaa !9 br label %78 78: ; preds = %76, %71 %79 = phi ptr [ %77, %76 ], [ %72, %71 ] %80 = load i32, ptr @GLF_LRU, align 4, !tbaa !5 %81 = tail call i64 @test_bit(i32 noundef %80, ptr noundef %1) #2 %82 = icmp eq i64 %81, 0 br i1 %82, label %85, label %83 83: ; preds = %78 %84 = getelementptr inbounds i8, ptr %79, i64 1 store i8 76, ptr %79, align 1, !tbaa !9 br label %85 85: ; preds = %83, %78 %86 = phi ptr [ %84, %83 ], [ %79, %78 ] %87 = getelementptr inbounds %struct.gfs2_glock, ptr %1, i64 0, i32 1 %88 = load i64, ptr %87, align 8, !tbaa !10 %89 = icmp eq i64 %88, 0 br i1 %89, label %92, label %90 90: ; preds = %85 %91 = getelementptr inbounds i8, ptr %86, i64 1 store i8 111, ptr %86, align 1, !tbaa !9 br label %92 92: ; preds = %90, %85 %93 = phi ptr [ %91, %90 ], [ %86, %85 ] %94 = load i32, ptr @GLF_BLOCKING, align 4, !tbaa !5 %95 = tail call i64 @test_bit(i32 noundef %94, ptr noundef nonnull %1) #2 %96 = icmp eq i64 %95, 0 br i1 %96, label %99, label %97 97: ; preds = %92 %98 = getelementptr inbounds i8, ptr %93, i64 1 store i8 98, ptr %93, align 1, !tbaa !9 br label %99 99: ; preds = %97, %92 %100 = phi ptr [ %98, %97 ], [ %93, %92 ] store i8 0, ptr %100, align 1, !tbaa !9 ret ptr %0 } declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !12, i64 8} !11 = !{!"gfs2_glock", !12, i64 0, !12, i64 8} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_glock.c_gflags2str.c' source_filename = "AnghaBench/linux/fs/gfs2/extr_glock.c_gflags2str.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GLF_LOCK = common local_unnamed_addr global i32 0, align 4 @GLF_DEMOTE = common local_unnamed_addr global i32 0, align 4 @GLF_PENDING_DEMOTE = common local_unnamed_addr global i32 0, align 4 @GLF_DEMOTE_IN_PROGRESS = common local_unnamed_addr global i32 0, align 4 @GLF_DIRTY = common local_unnamed_addr global i32 0, align 4 @GLF_LFLUSH = common local_unnamed_addr global i32 0, align 4 @GLF_INVALIDATE_IN_PROGRESS = common local_unnamed_addr global i32 0, align 4 @GLF_REPLY_PENDING = common local_unnamed_addr global i32 0, align 4 @GLF_INITIAL = common local_unnamed_addr global i32 0, align 4 @GLF_FROZEN = common local_unnamed_addr global i32 0, align 4 @GLF_QUEUED = common local_unnamed_addr global i32 0, align 4 @GLF_LRU = common local_unnamed_addr global i32 0, align 4 @GLF_BLOCKING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gflags2str], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @gflags2str(ptr noundef returned writeonly %0, ptr noundef %1) #0 { %3 = load i32, ptr @GLF_LOCK, align 4, !tbaa !6 %4 = tail call i64 @test_bit(i32 noundef %3, ptr noundef %1) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 1 store i8 108, ptr %0, align 1, !tbaa !10 br label %8 8: ; preds = %6, %2 %9 = phi ptr [ %7, %6 ], [ %0, %2 ] %10 = load i32, ptr @GLF_DEMOTE, align 4, !tbaa !6 %11 = tail call i64 @test_bit(i32 noundef %10, ptr noundef %1) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %9, i64 1 store i8 68, ptr %9, align 1, !tbaa !10 br label %15 15: ; preds = %13, %8 %16 = phi ptr [ %14, %13 ], [ %9, %8 ] %17 = load i32, ptr @GLF_PENDING_DEMOTE, align 4, !tbaa !6 %18 = tail call i64 @test_bit(i32 noundef %17, ptr noundef %1) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = getelementptr inbounds i8, ptr %16, i64 1 store i8 100, ptr %16, align 1, !tbaa !10 br label %22 22: ; preds = %20, %15 %23 = phi ptr [ %21, %20 ], [ %16, %15 ] %24 = load i32, ptr @GLF_DEMOTE_IN_PROGRESS, align 4, !tbaa !6 %25 = tail call i64 @test_bit(i32 noundef %24, ptr noundef %1) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %23, i64 1 store i8 112, ptr %23, align 1, !tbaa !10 br label %29 29: ; preds = %27, %22 %30 = phi ptr [ %28, %27 ], [ %23, %22 ] %31 = load i32, ptr @GLF_DIRTY, align 4, !tbaa !6 %32 = tail call i64 @test_bit(i32 noundef %31, ptr noundef %1) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %29 %35 = getelementptr inbounds i8, ptr %30, i64 1 store i8 121, ptr %30, align 1, !tbaa !10 br label %36 36: ; preds = %34, %29 %37 = phi ptr [ %35, %34 ], [ %30, %29 ] %38 = load i32, ptr @GLF_LFLUSH, align 4, !tbaa !6 %39 = tail call i64 @test_bit(i32 noundef %38, ptr noundef %1) #2 %40 = icmp eq i64 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %36 %42 = getelementptr inbounds i8, ptr %37, i64 1 store i8 102, ptr %37, align 1, !tbaa !10 br label %43 43: ; preds = %41, %36 %44 = phi ptr [ %42, %41 ], [ %37, %36 ] %45 = load i32, ptr @GLF_INVALIDATE_IN_PROGRESS, align 4, !tbaa !6 %46 = tail call i64 @test_bit(i32 noundef %45, ptr noundef %1) #2 %47 = icmp eq i64 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %43 %49 = getelementptr inbounds i8, ptr %44, i64 1 store i8 105, ptr %44, align 1, !tbaa !10 br label %50 50: ; preds = %48, %43 %51 = phi ptr [ %49, %48 ], [ %44, %43 ] %52 = load i32, ptr @GLF_REPLY_PENDING, align 4, !tbaa !6 %53 = tail call i64 @test_bit(i32 noundef %52, ptr noundef %1) #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %50 %56 = getelementptr inbounds i8, ptr %51, i64 1 store i8 114, ptr %51, align 1, !tbaa !10 br label %57 57: ; preds = %55, %50 %58 = phi ptr [ %56, %55 ], [ %51, %50 ] %59 = load i32, ptr @GLF_INITIAL, align 4, !tbaa !6 %60 = tail call i64 @test_bit(i32 noundef %59, ptr noundef %1) #2 %61 = icmp eq i64 %60, 0 br i1 %61, label %64, label %62 62: ; preds = %57 %63 = getelementptr inbounds i8, ptr %58, i64 1 store i8 73, ptr %58, align 1, !tbaa !10 br label %64 64: ; preds = %62, %57 %65 = phi ptr [ %63, %62 ], [ %58, %57 ] %66 = load i32, ptr @GLF_FROZEN, align 4, !tbaa !6 %67 = tail call i64 @test_bit(i32 noundef %66, ptr noundef %1) #2 %68 = icmp eq i64 %67, 0 br i1 %68, label %71, label %69 69: ; preds = %64 %70 = getelementptr inbounds i8, ptr %65, i64 1 store i8 70, ptr %65, align 1, !tbaa !10 br label %71 71: ; preds = %69, %64 %72 = phi ptr [ %70, %69 ], [ %65, %64 ] %73 = load i32, ptr @GLF_QUEUED, align 4, !tbaa !6 %74 = tail call i64 @test_bit(i32 noundef %73, ptr noundef %1) #2 %75 = icmp eq i64 %74, 0 br i1 %75, label %78, label %76 76: ; preds = %71 %77 = getelementptr inbounds i8, ptr %72, i64 1 store i8 113, ptr %72, align 1, !tbaa !10 br label %78 78: ; preds = %76, %71 %79 = phi ptr [ %77, %76 ], [ %72, %71 ] %80 = load i32, ptr @GLF_LRU, align 4, !tbaa !6 %81 = tail call i64 @test_bit(i32 noundef %80, ptr noundef %1) #2 %82 = icmp eq i64 %81, 0 br i1 %82, label %85, label %83 83: ; preds = %78 %84 = getelementptr inbounds i8, ptr %79, i64 1 store i8 76, ptr %79, align 1, !tbaa !10 br label %85 85: ; preds = %83, %78 %86 = phi ptr [ %84, %83 ], [ %79, %78 ] %87 = getelementptr inbounds i8, ptr %1, i64 8 %88 = load i64, ptr %87, align 8, !tbaa !11 %89 = icmp eq i64 %88, 0 br i1 %89, label %92, label %90 90: ; preds = %85 %91 = getelementptr inbounds i8, ptr %86, i64 1 store i8 111, ptr %86, align 1, !tbaa !10 br label %92 92: ; preds = %90, %85 %93 = phi ptr [ %91, %90 ], [ %86, %85 ] %94 = load i32, ptr @GLF_BLOCKING, align 4, !tbaa !6 %95 = tail call i64 @test_bit(i32 noundef %94, ptr noundef nonnull %1) #2 %96 = icmp eq i64 %95, 0 br i1 %96, label %99, label %97 97: ; preds = %92 %98 = getelementptr inbounds i8, ptr %93, i64 1 store i8 98, ptr %93, align 1, !tbaa !10 br label %99 99: ; preds = %97, %92 %100 = phi ptr [ %98, %97 ], [ %93, %92 ] store i8 0, ptr %100, align 1, !tbaa !10 ret ptr %0 } declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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, !13, i64 8} !12 = !{!"gfs2_glock", !13, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0}
linux_fs_gfs2_extr_glock.c_gflags2str
; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufs_get_pm_lvl_to_dev_pwr_mode.c' source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufs_get_pm_lvl_to_dev_pwr_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @ufs_pm_lvl_states = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ufs_get_pm_lvl_to_dev_pwr_mode], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @ufs_get_pm_lvl_to_dev_pwr_mode(i32 noundef %0) #0 { %2 = load ptr, ptr @ufs_pm_lvl_states, align 8, !tbaa !5 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !9 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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}
; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufs_get_pm_lvl_to_dev_pwr_mode.c' source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufs_get_pm_lvl_to_dev_pwr_mode.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 } @ufs_pm_lvl_states = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @ufs_get_pm_lvl_to_dev_pwr_mode], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @ufs_get_pm_lvl_to_dev_pwr_mode(i32 noundef %0) #0 { %2 = load ptr, ptr @ufs_pm_lvl_states, align 8, !tbaa !6 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !10 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
linux_drivers_scsi_ufs_extr_ufshcd.c_ufs_get_pm_lvl_to_dev_pwr_mode
; ModuleID = 'AnghaBench/sqlcipher/src/extr_whereexpr.c_isLikeOrGlob.c' source_filename = "AnghaBench/sqlcipher/src/extr_whereexpr.c_isLikeOrGlob.c" target datalayout = "e-m:e-p270:32:32-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_30__ = type { ptr, ptr, ptr } %struct.TYPE_32__ = type { i32, i32, %struct.TYPE_28__, %struct.TYPE_27__, %struct.TYPE_25__ } %struct.TYPE_28__ = type { ptr } %struct.TYPE_27__ = type { i32 } %struct.TYPE_25__ = type { ptr } %struct.TYPE_26__ = type { ptr } @TK_VARIABLE = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_EnableQPSG = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_AFF_BLOB = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_TEXT = dso_local local_unnamed_addr global i64 0, align 8 @TK_REGISTER = dso_local local_unnamed_addr global i32 0, align 4 @TK_STRING = dso_local local_unnamed_addr global i32 0, align 4 @TK_COLUMN = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_AFF_TEXT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @isLikeOrGlob], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @isLikeOrGlob(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr noundef %4) #0 { %6 = alloca [4 x i64], align 16 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3 %7 = getelementptr inbounds %struct.TYPE_30__, ptr %0, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = call i32 @sqlite3IsLikeFunction(ptr noundef %8, ptr noundef %1, ptr noundef %4, ptr noundef nonnull %6) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %215, label %11 11: ; preds = %5 %12 = getelementptr inbounds %struct.TYPE_32__, ptr %1, i64 0, i32 4 %13 = load ptr, ptr %12, align 8, !tbaa !10 %14 = load ptr, ptr %13, align 8, !tbaa !16 %15 = getelementptr inbounds %struct.TYPE_26__, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8, !tbaa !18 %17 = load ptr, ptr %14, align 8, !tbaa !18 %18 = call ptr @sqlite3ExprSkipCollate(ptr noundef %17) #3 %19 = load i32, ptr %18, align 8, !tbaa !20 %20 = load i32, ptr @TK_VARIABLE, align 4, !tbaa !21 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %53 22: ; preds = %11 %23 = load i32, ptr %8, align 4, !tbaa !22 %24 = load i32, ptr @SQLITE_EnableQPSG, align 4, !tbaa !21 %25 = and i32 %24, %23 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %53 27: ; preds = %22 %28 = getelementptr inbounds %struct.TYPE_30__, ptr %0, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !24 %30 = getelementptr inbounds %struct.TYPE_32__, ptr %18, i64 0, i32 1 %31 = load i32, ptr %30, align 4, !tbaa !25 %32 = load i32, ptr @SQLITE_AFF_BLOB, align 4, !tbaa !21 %33 = call ptr @sqlite3VdbeGetBoundValue(ptr noundef %29, i32 noundef %31, i32 noundef %32) #3 %34 = icmp eq ptr %33, null br i1 %34, label %41, label %35 35: ; preds = %27 %36 = call i64 @sqlite3_value_type(ptr noundef nonnull %33) #3 %37 = load i64, ptr @SQLITE_TEXT, align 8, !tbaa !26 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call ptr @sqlite3_value_text(ptr noundef nonnull %33) #3 br label %41 41: ; preds = %39, %35, %27 %42 = phi ptr [ %40, %39 ], [ null, %35 ], [ null, %27 ] %43 = load ptr, ptr %0, align 8, !tbaa !28 %44 = call i32 @sqlite3VdbeSetVarmask(ptr noundef %43, i32 noundef %31) #3 %45 = load i32, ptr %18, align 8, !tbaa !20 %46 = load i32, ptr @TK_VARIABLE, align 4, !tbaa !21 %47 = icmp eq i32 %45, %46 %48 = load i32, ptr @TK_REGISTER, align 4 %49 = icmp eq i32 %45, %48 %50 = select i1 %47, i1 true, i1 %49 %51 = zext i1 %50 to i32 %52 = call i32 @assert(i32 noundef %51) #3 br label %59 53: ; preds = %22, %11 %54 = load i32, ptr @TK_STRING, align 4, !tbaa !21 %55 = icmp eq i32 %19, %54 br i1 %55, label %56, label %211 56: ; preds = %53 %57 = getelementptr inbounds %struct.TYPE_32__, ptr %18, i64 0, i32 2 %58 = load ptr, ptr %57, align 8, !tbaa !29 br label %59 59: ; preds = %56, %41 %60 = phi ptr [ %33, %41 ], [ null, %56 ] %61 = phi ptr [ %42, %41 ], [ %58, %56 ] %62 = icmp eq ptr %61, null br i1 %62, label %211, label %63 63: ; preds = %59 %64 = load i64, ptr %6, align 16 %65 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 1 %66 = load i64, ptr %65, align 8 %67 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 2 %68 = load i64, ptr %67, align 16 %69 = load i64, ptr %61, align 8, !tbaa !26 %70 = icmp eq i64 %69, 0 %71 = icmp eq i64 %69, %64 %72 = select i1 %70, i1 true, i1 %71 %73 = icmp eq i64 %69, %66 %74 = select i1 %72, i1 true, i1 %73 %75 = icmp eq i64 %69, %68 %76 = select i1 %74, i1 true, i1 %75 br i1 %76, label %211, label %77 77: ; preds = %63 %78 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 3 %79 = load i64, ptr %78, align 8, !tbaa !26 br label %80 80: ; preds = %77, %92 %81 = phi i64 [ %69, %77 ], [ %96, %92 ] %82 = phi i32 [ 0, %77 ], [ %93, %92 ] %83 = add nsw i32 %82, 1 %84 = icmp eq i64 %81, %79 br i1 %84, label %85, label %92 85: ; preds = %80 %86 = sext i32 %83 to i64 %87 = getelementptr inbounds i64, ptr %61, i64 %86 %88 = load i64, ptr %87, align 8, !tbaa !26 %89 = icmp eq i64 %88, 0 %90 = add nsw i32 %82, 2 %91 = select i1 %89, i32 %83, i32 %90 br label %92 92: ; preds = %85, %80 %93 = phi i32 [ %83, %80 ], [ %91, %85 ] %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i64, ptr %61, i64 %94 %96 = load i64, ptr %95, align 8, !tbaa !26 %97 = icmp eq i64 %96, 0 %98 = icmp eq i64 %96, %64 %99 = select i1 %97, i1 true, i1 %98 %100 = icmp eq i64 %96, %66 %101 = select i1 %99, i1 true, i1 %100 %102 = icmp eq i64 %96, %68 %103 = select i1 %101, i1 true, i1 %102 br i1 %103, label %104, label %80, !llvm.loop !30 104: ; preds = %92 %105 = icmp eq i32 %93, 0 br i1 %105, label %211, label %106 106: ; preds = %104 %107 = add nsw i32 %93, -1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i64, ptr %61, i64 %108 %110 = load i64, ptr %109, align 8, !tbaa !26 %111 = icmp eq i64 %110, 255 br i1 %111, label %211, label %112 112: ; preds = %106 %113 = icmp slt i32 %93, 2 %114 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 3 %115 = load i64, ptr %114, align 8 %116 = icmp eq i64 %69, %115 %117 = select i1 %113, i1 %116, i1 false br i1 %117, label %211, label %118 118: ; preds = %112 br i1 %98, label %119, label %126 119: ; preds = %118 %120 = add nsw i32 %93, 1 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i64, ptr %61, i64 %121 %123 = load i64, ptr %122, align 8, !tbaa !26 %124 = icmp eq i64 %123, 0 %125 = zext i1 %124 to i32 br label %126 126: ; preds = %119, %118 %127 = phi i32 [ 0, %118 ], [ %125, %119 ] store i32 %127, ptr %3, align 4, !tbaa !21 %128 = load i32, ptr @TK_STRING, align 4, !tbaa !21 %129 = call ptr @sqlite3Expr(ptr noundef %8, i32 noundef %128, ptr noundef nonnull %61) #3 %130 = icmp eq ptr %129, null br i1 %130, label %188, label %131 131: ; preds = %126 %132 = getelementptr inbounds %struct.TYPE_32__, ptr %129, i64 0, i32 2 %133 = load ptr, ptr %132, align 8, !tbaa !29 %134 = getelementptr inbounds i8, ptr %133, i64 %94 store i8 0, ptr %134, align 1, !tbaa !32 %135 = icmp sgt i32 %93, 0 br i1 %135, label %136, label %158 136: ; preds = %131 %137 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 3 br label %138 138: ; preds = %136, %138 %139 = phi i64 [ 0, %136 ], [ %152, %138 ] %140 = phi i32 [ 0, %136 ], [ %154, %138 ] %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i8, ptr %133, i64 %141 %143 = load i8, ptr %142, align 1, !tbaa !32 %144 = sext i8 %143 to i64 %145 = load i64, ptr %137, align 8, !tbaa !26 %146 = icmp eq i64 %145, %144 %147 = zext i1 %146 to i32 %148 = add nsw i32 %140, %147 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i8, ptr %133, i64 %149 %151 = load i8, ptr %150, align 1, !tbaa !32 %152 = add nuw i64 %139, 1 %153 = getelementptr inbounds i8, ptr %133, i64 %139 store i8 %151, ptr %153, align 1, !tbaa !32 %154 = add nsw i32 %148, 1 %155 = icmp slt i32 %154, %93 br i1 %155, label %138, label %156, !llvm.loop !33 156: ; preds = %138 %157 = trunc i64 %152 to i32 br label %158 158: ; preds = %156, %131 %159 = phi i32 [ 0, %131 ], [ %157, %156 ] %160 = zext nneg i32 %159 to i64 %161 = getelementptr inbounds i8, ptr %133, i64 %160 store i8 0, ptr %161, align 1, !tbaa !32 %162 = load i8, ptr %133, align 1, !tbaa !32 %163 = call i64 @sqlite3Isdigit(i8 noundef signext %162) #3 %164 = icmp eq i64 %163, 0 br i1 %164, label %165, label %172 165: ; preds = %158 %166 = load i8, ptr %133, align 1, !tbaa !32 %167 = icmp eq i8 %166, 45 br i1 %167, label %172, label %168 168: ; preds = %165 %169 = icmp eq i8 %166, 47 %170 = icmp eq i32 %159, 1 %171 = and i1 %169, %170 br i1 %171, label %172, label %188 172: ; preds = %168, %165, %158 %173 = load i32, ptr %16, align 8, !tbaa !20 %174 = sext i32 %173 to i64 %175 = load i64, ptr @TK_COLUMN, align 8, !tbaa !26 %176 = icmp eq i64 %175, %174 br i1 %176, label %177, label %186 177: ; preds = %172 %178 = call i64 @sqlite3ExprAffinity(ptr noundef nonnull %16) #3 %179 = load i64, ptr @SQLITE_AFF_TEXT, align 8, !tbaa !26 %180 = icmp eq i64 %178, %179 br i1 %180, label %181, label %186 181: ; preds = %177 %182 = getelementptr inbounds %struct.TYPE_32__, ptr %16, i64 0, i32 3 %183 = load i32, ptr %182, align 8, !tbaa !34 %184 = call i64 @IsVirtual(i32 noundef %183) #3 %185 = icmp eq i64 %184, 0 br i1 %185, label %188, label %186 186: ; preds = %181, %177, %172 %187 = call i32 @sqlite3ExprDelete(ptr noundef %8, ptr noundef nonnull %129) #3 br label %211 188: ; preds = %181, %168, %126 store ptr %129, ptr %2, align 8, !tbaa !35 %189 = load i32, ptr @TK_VARIABLE, align 4, !tbaa !21 %190 = icmp eq i32 %19, %189 br i1 %190, label %191, label %211 191: ; preds = %188 %192 = load ptr, ptr %0, align 8, !tbaa !28 %193 = getelementptr inbounds %struct.TYPE_32__, ptr %18, i64 0, i32 1 %194 = load i32, ptr %193, align 4, !tbaa !25 %195 = call i32 @sqlite3VdbeSetVarmask(ptr noundef %192, i32 noundef %194) #3 %196 = load i32, ptr %3, align 4, !tbaa !21 %197 = icmp eq i32 %196, 0 br i1 %197, label %211, label %198 198: ; preds = %191 %199 = getelementptr inbounds %struct.TYPE_32__, ptr %18, i64 0, i32 2 %200 = load ptr, ptr %199, align 8, !tbaa !29 %201 = getelementptr inbounds i8, ptr %200, i64 1 %202 = load i8, ptr %201, align 1, !tbaa !32 %203 = icmp eq i8 %202, 0 br i1 %203, label %211, label %204 204: ; preds = %198 %205 = call i32 @sqlite3GetTempReg(ptr noundef nonnull %0) #3 %206 = call i32 @sqlite3ExprCodeTarget(ptr noundef nonnull %0, ptr noundef nonnull %18, i32 noundef %205) #3 %207 = call i64 @sqlite3VdbeCurrentAddr(ptr noundef %192) #3 %208 = add nsw i64 %207, -1 %209 = call i32 @sqlite3VdbeChangeP3(ptr noundef %192, i64 noundef %208, i32 noundef 0) #3 %210 = call i32 @sqlite3ReleaseTempReg(ptr noundef nonnull %0, i32 noundef %205) #3 br label %211 211: ; preds = %59, %188, %204, %198, %191, %106, %104, %53, %63, %112, %186 %212 = phi ptr [ %60, %186 ], [ %60, %59 ], [ %60, %188 ], [ %60, %204 ], [ %60, %198 ], [ %60, %191 ], [ %60, %106 ], [ %60, %104 ], [ null, %53 ], [ %60, %63 ], [ %60, %112 ] %213 = phi i32 [ 0, %186 ], [ 0, %59 ], [ 1, %188 ], [ 1, %204 ], [ 1, %198 ], [ 1, %191 ], [ 0, %106 ], [ 0, %104 ], [ 0, %53 ], [ 0, %63 ], [ 0, %112 ] %214 = call i32 @sqlite3ValueFree(ptr noundef %212) #3 br label %215 215: ; preds = %211, %5 %216 = phi i32 [ 0, %5 ], [ %213, %211 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3 ret i32 %216 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3IsLikeFunction(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3ExprSkipCollate(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3VdbeGetBoundValue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3_value_type(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeSetVarmask(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(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 ptr @sqlite3Expr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3Isdigit(i8 noundef signext) local_unnamed_addr #2 declare i64 @sqlite3ExprAffinity(ptr noundef) local_unnamed_addr #2 declare i64 @IsVirtual(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprDelete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ValueFree(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3GetTempReg(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprCodeTarget(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeChangeP3(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3VdbeCurrentAddr(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ReleaseTempReg(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 16} !6 = !{!"TYPE_30__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"TYPE_32__", !12, i64 0, !12, i64 4, !13, i64 8, !14, i64 16, !15, i64 24} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_28__", !7, i64 0} !14 = !{!"TYPE_27__", !12, i64 0} !15 = !{!"TYPE_25__", !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_31__", !7, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_26__", !7, i64 0} !20 = !{!11, !12, i64 0} !21 = !{!12, !12, i64 0} !22 = !{!23, !12, i64 0} !23 = !{!"TYPE_29__", !12, i64 0} !24 = !{!6, !7, i64 8} !25 = !{!11, !12, i64 4} !26 = !{!27, !27, i64 0} !27 = !{!"long", !8, i64 0} !28 = !{!6, !7, i64 0} !29 = !{!11, !7, i64 8} !30 = distinct !{!30, !31} !31 = !{!"llvm.loop.mustprogress"} !32 = !{!8, !8, i64 0} !33 = distinct !{!33, !31} !34 = !{!11, !12, i64 16} !35 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_whereexpr.c_isLikeOrGlob.c' source_filename = "AnghaBench/sqlcipher/src/extr_whereexpr.c_isLikeOrGlob.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TK_VARIABLE = common local_unnamed_addr global i32 0, align 4 @SQLITE_EnableQPSG = common local_unnamed_addr global i32 0, align 4 @SQLITE_AFF_BLOB = common local_unnamed_addr global i32 0, align 4 @SQLITE_TEXT = common local_unnamed_addr global i64 0, align 8 @TK_REGISTER = common local_unnamed_addr global i32 0, align 4 @TK_STRING = common local_unnamed_addr global i32 0, align 4 @TK_COLUMN = common local_unnamed_addr global i64 0, align 8 @SQLITE_AFF_TEXT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @isLikeOrGlob], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @isLikeOrGlob(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr noundef %4) #0 { %6 = alloca [4 x i64], align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = call i32 @sqlite3IsLikeFunction(ptr noundef %8, ptr noundef %1, ptr noundef %4, ptr noundef nonnull %6) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %212, label %11 11: ; preds = %5 %12 = getelementptr inbounds i8, ptr %1, i64 24 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = load ptr, ptr %13, align 8, !tbaa !17 %15 = getelementptr inbounds i8, ptr %14, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !19 %17 = load ptr, ptr %14, align 8, !tbaa !19 %18 = call ptr @sqlite3ExprSkipCollate(ptr noundef %17) #3 %19 = load i32, ptr %18, align 8, !tbaa !21 %20 = load i32, ptr @TK_VARIABLE, align 4, !tbaa !22 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %53 22: ; preds = %11 %23 = load i32, ptr %8, align 4, !tbaa !23 %24 = load i32, ptr @SQLITE_EnableQPSG, align 4, !tbaa !22 %25 = and i32 %24, %23 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %53 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !25 %30 = getelementptr inbounds i8, ptr %18, i64 4 %31 = load i32, ptr %30, align 4, !tbaa !26 %32 = load i32, ptr @SQLITE_AFF_BLOB, align 4, !tbaa !22 %33 = call ptr @sqlite3VdbeGetBoundValue(ptr noundef %29, i32 noundef %31, i32 noundef %32) #3 %34 = icmp eq ptr %33, null br i1 %34, label %41, label %35 35: ; preds = %27 %36 = call i64 @sqlite3_value_type(ptr noundef nonnull %33) #3 %37 = load i64, ptr @SQLITE_TEXT, align 8, !tbaa !27 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call ptr @sqlite3_value_text(ptr noundef nonnull %33) #3 br label %41 41: ; preds = %39, %35, %27 %42 = phi ptr [ %40, %39 ], [ null, %35 ], [ null, %27 ] %43 = load ptr, ptr %0, align 8, !tbaa !29 %44 = call i32 @sqlite3VdbeSetVarmask(ptr noundef %43, i32 noundef %31) #3 %45 = load i32, ptr %18, align 8, !tbaa !21 %46 = load i32, ptr @TK_VARIABLE, align 4, !tbaa !22 %47 = icmp eq i32 %45, %46 %48 = load i32, ptr @TK_REGISTER, align 4 %49 = icmp eq i32 %45, %48 %50 = select i1 %47, i1 true, i1 %49 %51 = zext i1 %50 to i32 %52 = call i32 @assert(i32 noundef %51) #3 br label %59 53: ; preds = %22, %11 %54 = load i32, ptr @TK_STRING, align 4, !tbaa !22 %55 = icmp eq i32 %19, %54 br i1 %55, label %56, label %208 56: ; preds = %53 %57 = getelementptr inbounds i8, ptr %18, i64 8 %58 = load ptr, ptr %57, align 8, !tbaa !30 br label %59 59: ; preds = %56, %41 %60 = phi ptr [ %33, %41 ], [ null, %56 ] %61 = phi ptr [ %42, %41 ], [ %58, %56 ] %62 = icmp eq ptr %61, null br i1 %62, label %208, label %63 63: ; preds = %59 %64 = load i64, ptr %6, align 8 %65 = getelementptr inbounds i8, ptr %6, i64 8 %66 = load i64, ptr %65, align 8 %67 = getelementptr inbounds i8, ptr %6, i64 16 %68 = load i64, ptr %67, align 8 %69 = load i64, ptr %61, align 8, !tbaa !27 %70 = icmp eq i64 %69, 0 %71 = icmp eq i64 %69, %64 %72 = select i1 %70, i1 true, i1 %71 %73 = icmp eq i64 %69, %66 %74 = select i1 %72, i1 true, i1 %73 %75 = icmp eq i64 %69, %68 %76 = select i1 %74, i1 true, i1 %75 br i1 %76, label %208, label %77 77: ; preds = %63 %78 = getelementptr inbounds i8, ptr %6, i64 24 %79 = load i64, ptr %78, align 8, !tbaa !27 br label %80 80: ; preds = %77, %92 %81 = phi i64 [ %69, %77 ], [ %96, %92 ] %82 = phi i32 [ 0, %77 ], [ %93, %92 ] %83 = add nsw i32 %82, 1 %84 = icmp eq i64 %81, %79 br i1 %84, label %85, label %92 85: ; preds = %80 %86 = sext i32 %83 to i64 %87 = getelementptr inbounds i64, ptr %61, i64 %86 %88 = load i64, ptr %87, align 8, !tbaa !27 %89 = icmp eq i64 %88, 0 %90 = add nsw i32 %82, 2 %91 = select i1 %89, i32 %83, i32 %90 br label %92 92: ; preds = %85, %80 %93 = phi i32 [ %83, %80 ], [ %91, %85 ] %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i64, ptr %61, i64 %94 %96 = load i64, ptr %95, align 8, !tbaa !27 %97 = icmp eq i64 %96, 0 %98 = icmp eq i64 %96, %64 %99 = select i1 %97, i1 true, i1 %98 %100 = icmp eq i64 %96, %66 %101 = select i1 %99, i1 true, i1 %100 %102 = icmp eq i64 %96, %68 %103 = select i1 %101, i1 true, i1 %102 br i1 %103, label %104, label %80, !llvm.loop !31 104: ; preds = %92 %105 = icmp eq i32 %93, 0 br i1 %105, label %208, label %106 106: ; preds = %104 %107 = add nsw i32 %93, -1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i64, ptr %61, i64 %108 %110 = load i64, ptr %109, align 8, !tbaa !27 %111 = icmp eq i64 %110, 255 br i1 %111, label %208, label %112 112: ; preds = %106 %113 = icmp slt i32 %93, 2 %114 = load i64, ptr %78, align 8 %115 = icmp eq i64 %69, %114 %116 = select i1 %113, i1 %115, i1 false br i1 %116, label %208, label %117 117: ; preds = %112 br i1 %98, label %118, label %125 118: ; preds = %117 %119 = add nsw i32 %93, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i64, ptr %61, i64 %120 %122 = load i64, ptr %121, align 8, !tbaa !27 %123 = icmp eq i64 %122, 0 %124 = zext i1 %123 to i32 br label %125 125: ; preds = %118, %117 %126 = phi i32 [ 0, %117 ], [ %124, %118 ] store i32 %126, ptr %3, align 4, !tbaa !22 %127 = load i32, ptr @TK_STRING, align 4, !tbaa !22 %128 = call ptr @sqlite3Expr(ptr noundef %8, i32 noundef %127, ptr noundef nonnull %61) #3 %129 = icmp eq ptr %128, null br i1 %129, label %185, label %130 130: ; preds = %125 %131 = getelementptr inbounds i8, ptr %128, i64 8 %132 = load ptr, ptr %131, align 8, !tbaa !30 %133 = getelementptr inbounds i8, ptr %132, i64 %94 store i8 0, ptr %133, align 1, !tbaa !33 %134 = icmp sgt i32 %93, 0 br i1 %134, label %135, label %155 135: ; preds = %130, %135 %136 = phi i64 [ %149, %135 ], [ 0, %130 ] %137 = phi i32 [ %151, %135 ], [ 0, %130 ] %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %132, i64 %138 %140 = load i8, ptr %139, align 1, !tbaa !33 %141 = sext i8 %140 to i64 %142 = load i64, ptr %78, align 8, !tbaa !27 %143 = icmp eq i64 %142, %141 %144 = zext i1 %143 to i32 %145 = add nsw i32 %137, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i8, ptr %132, i64 %146 %148 = load i8, ptr %147, align 1, !tbaa !33 %149 = add nuw nsw i64 %136, 1 %150 = getelementptr inbounds i8, ptr %132, i64 %136 store i8 %148, ptr %150, align 1, !tbaa !33 %151 = add nsw i32 %145, 1 %152 = icmp slt i32 %151, %93 br i1 %152, label %135, label %153, !llvm.loop !34 153: ; preds = %135 %154 = trunc nuw i64 %149 to i32 br label %155 155: ; preds = %153, %130 %156 = phi i32 [ 0, %130 ], [ %154, %153 ] %157 = zext nneg i32 %156 to i64 %158 = getelementptr inbounds i8, ptr %132, i64 %157 store i8 0, ptr %158, align 1, !tbaa !33 %159 = load i8, ptr %132, align 1, !tbaa !33 %160 = call i64 @sqlite3Isdigit(i8 noundef signext %159) #3 %161 = icmp eq i64 %160, 0 br i1 %161, label %162, label %169 162: ; preds = %155 %163 = load i8, ptr %132, align 1, !tbaa !33 %164 = icmp eq i8 %163, 45 br i1 %164, label %169, label %165 165: ; preds = %162 %166 = icmp eq i8 %163, 47 %167 = icmp eq i32 %156, 1 %168 = and i1 %166, %167 br i1 %168, label %169, label %185 169: ; preds = %165, %162, %155 %170 = load i32, ptr %16, align 8, !tbaa !21 %171 = sext i32 %170 to i64 %172 = load i64, ptr @TK_COLUMN, align 8, !tbaa !27 %173 = icmp eq i64 %172, %171 br i1 %173, label %174, label %183 174: ; preds = %169 %175 = call i64 @sqlite3ExprAffinity(ptr noundef nonnull %16) #3 %176 = load i64, ptr @SQLITE_AFF_TEXT, align 8, !tbaa !27 %177 = icmp eq i64 %175, %176 br i1 %177, label %178, label %183 178: ; preds = %174 %179 = getelementptr inbounds i8, ptr %16, i64 16 %180 = load i32, ptr %179, align 8, !tbaa !35 %181 = call i64 @IsVirtual(i32 noundef %180) #3 %182 = icmp eq i64 %181, 0 br i1 %182, label %185, label %183 183: ; preds = %178, %174, %169 %184 = call i32 @sqlite3ExprDelete(ptr noundef %8, ptr noundef nonnull %128) #3 br label %208 185: ; preds = %178, %165, %125 store ptr %128, ptr %2, align 8, !tbaa !36 %186 = load i32, ptr @TK_VARIABLE, align 4, !tbaa !22 %187 = icmp eq i32 %19, %186 br i1 %187, label %188, label %208 188: ; preds = %185 %189 = load ptr, ptr %0, align 8, !tbaa !29 %190 = getelementptr inbounds i8, ptr %18, i64 4 %191 = load i32, ptr %190, align 4, !tbaa !26 %192 = call i32 @sqlite3VdbeSetVarmask(ptr noundef %189, i32 noundef %191) #3 %193 = load i32, ptr %3, align 4, !tbaa !22 %194 = icmp eq i32 %193, 0 br i1 %194, label %208, label %195 195: ; preds = %188 %196 = getelementptr inbounds i8, ptr %18, i64 8 %197 = load ptr, ptr %196, align 8, !tbaa !30 %198 = getelementptr inbounds i8, ptr %197, i64 1 %199 = load i8, ptr %198, align 1, !tbaa !33 %200 = icmp eq i8 %199, 0 br i1 %200, label %208, label %201 201: ; preds = %195 %202 = call i32 @sqlite3GetTempReg(ptr noundef nonnull %0) #3 %203 = call i32 @sqlite3ExprCodeTarget(ptr noundef nonnull %0, ptr noundef nonnull %18, i32 noundef %202) #3 %204 = call i64 @sqlite3VdbeCurrentAddr(ptr noundef %189) #3 %205 = add nsw i64 %204, -1 %206 = call i32 @sqlite3VdbeChangeP3(ptr noundef %189, i64 noundef %205, i32 noundef 0) #3 %207 = call i32 @sqlite3ReleaseTempReg(ptr noundef nonnull %0, i32 noundef %202) #3 br label %208 208: ; preds = %59, %185, %201, %195, %188, %106, %104, %53, %63, %112, %183 %209 = phi ptr [ %60, %183 ], [ %60, %59 ], [ %60, %185 ], [ %60, %201 ], [ %60, %195 ], [ %60, %188 ], [ %60, %106 ], [ %60, %104 ], [ null, %53 ], [ %60, %63 ], [ %60, %112 ] %210 = phi i32 [ 0, %183 ], [ 0, %59 ], [ 1, %185 ], [ 1, %201 ], [ 1, %195 ], [ 1, %188 ], [ 0, %106 ], [ 0, %104 ], [ 0, %53 ], [ 0, %63 ], [ 0, %112 ] %211 = call i32 @sqlite3ValueFree(ptr noundef %209) #3 br label %212 212: ; preds = %208, %5 %213 = phi i32 [ 0, %5 ], [ %210, %208 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3 ret i32 %213 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3IsLikeFunction(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3ExprSkipCollate(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3VdbeGetBoundValue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3_value_type(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeSetVarmask(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(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 ptr @sqlite3Expr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3Isdigit(i8 noundef signext) local_unnamed_addr #2 declare i64 @sqlite3ExprAffinity(ptr noundef) local_unnamed_addr #2 declare i64 @IsVirtual(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprDelete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ValueFree(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3GetTempReg(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprCodeTarget(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeChangeP3(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3VdbeCurrentAddr(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ReleaseTempReg(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 16} !7 = !{!"TYPE_30__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 24} !12 = !{!"TYPE_32__", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !16, i64 24} !13 = !{!"int", !9, i64 0} !14 = !{!"TYPE_28__", !8, i64 0} !15 = !{!"TYPE_27__", !13, i64 0} !16 = !{!"TYPE_25__", !8, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_31__", !8, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_26__", !8, i64 0} !21 = !{!12, !13, i64 0} !22 = !{!13, !13, i64 0} !23 = !{!24, !13, i64 0} !24 = !{!"TYPE_29__", !13, i64 0} !25 = !{!7, !8, i64 8} !26 = !{!12, !13, i64 4} !27 = !{!28, !28, i64 0} !28 = !{!"long", !9, i64 0} !29 = !{!7, !8, i64 0} !30 = !{!12, !8, i64 8} !31 = distinct !{!31, !32} !32 = !{!"llvm.loop.mustprogress"} !33 = !{!9, !9, i64 0} !34 = distinct !{!34, !32} !35 = !{!12, !13, i64 16} !36 = !{!8, !8, i64 0}
sqlcipher_src_extr_whereexpr.c_isLikeOrGlob
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_vlv_detach_power_sequencer.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_vlv_detach_power_sequencer.c" target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } %struct.intel_dp = type { i32, i64 } @INVALID_PIPE = dso_local local_unnamed_addr global i64 0, align 8 @PIPE_A = dso_local local_unnamed_addr global i32 0, align 4 @PIPE_B = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [48 x i8] c"detaching pipe %c power sequencer from port %c\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vlv_detach_power_sequencer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vlv_detach_power_sequencer(ptr noundef %0) #0 { %2 = tail call ptr @dp_to_dig_port(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call ptr @to_i915(i32 noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = tail call i32 @PP_ON_DELAYS(i32 noundef %6) #2 %8 = getelementptr inbounds %struct.intel_dp, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !15 %10 = load i64, ptr @INVALID_PIPE, align 8, !tbaa !16 %11 = icmp ne i64 %9, %10 %12 = zext i1 %11 to i32 %13 = tail call i64 @WARN_ON(i32 noundef %12) #2 %14 = load i32, ptr @PIPE_A, align 4, !tbaa !17 %15 = icmp ne i32 %6, %14 %16 = load i32, ptr @PIPE_B, align 4 %17 = icmp ne i32 %6, %16 %18 = select i1 %15, i1 %17, i1 false %19 = zext i1 %18 to i32 %20 = tail call i64 @WARN_ON(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %32 22: ; preds = %1 %23 = tail call i32 @edp_panel_vdd_off_sync(ptr noundef nonnull %0) #2 %24 = tail call i32 @pipe_name(i32 noundef %6) #2 %25 = load i32, ptr %2, align 4, !tbaa !18 %26 = tail call i32 @port_name(i32 noundef %25) #2 %27 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %26) #2 %28 = tail call i32 @I915_WRITE(i32 noundef %7, i32 noundef 0) #2 %29 = tail call i32 @POSTING_READ(i32 noundef %7) #2 %30 = load i64, ptr @INVALID_PIPE, align 8, !tbaa !16 %31 = trunc i64 %30 to i32 store i32 %31, ptr %0, align 8, !tbaa !12 br label %32 32: ; preds = %1, %22 ret void } declare ptr @dp_to_dig_port(ptr noundef) local_unnamed_addr #1 declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @PP_ON_DELAYS(i32 noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @edp_panel_vdd_off_sync(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pipe_name(i32 noundef) local_unnamed_addr #1 declare i32 @port_name(i32 noundef) local_unnamed_addr #1 declare i32 @I915_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @POSTING_READ(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 4} !6 = !{!"intel_digital_port", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"intel_dp", !8, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!13, !14, i64 8} !16 = !{!14, !14, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_vlv_detach_power_sequencer.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_vlv_detach_power_sequencer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INVALID_PIPE = common local_unnamed_addr global i64 0, align 8 @PIPE_A = common local_unnamed_addr global i32 0, align 4 @PIPE_B = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [48 x i8] c"detaching pipe %c power sequencer from port %c\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vlv_detach_power_sequencer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vlv_detach_power_sequencer(ptr noundef %0) #0 { %2 = tail call ptr @dp_to_dig_port(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call ptr @to_i915(i32 noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = tail call i32 @PP_ON_DELAYS(i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !16 %10 = load i64, ptr @INVALID_PIPE, align 8, !tbaa !17 %11 = icmp ne i64 %9, %10 %12 = zext i1 %11 to i32 %13 = tail call i64 @WARN_ON(i32 noundef %12) #2 %14 = load i32, ptr @PIPE_A, align 4, !tbaa !18 %15 = icmp ne i32 %6, %14 %16 = load i32, ptr @PIPE_B, align 4 %17 = icmp ne i32 %6, %16 %18 = select i1 %15, i1 %17, i1 false %19 = zext i1 %18 to i32 %20 = tail call i64 @WARN_ON(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %32 22: ; preds = %1 %23 = tail call i32 @edp_panel_vdd_off_sync(ptr noundef nonnull %0) #2 %24 = tail call i32 @pipe_name(i32 noundef %6) #2 %25 = load i32, ptr %2, align 4, !tbaa !19 %26 = tail call i32 @port_name(i32 noundef %25) #2 %27 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %26) #2 %28 = tail call i32 @I915_WRITE(i32 noundef %7, i32 noundef 0) #2 %29 = tail call i32 @POSTING_READ(i32 noundef %7) #2 %30 = load i64, ptr @INVALID_PIPE, align 8, !tbaa !17 %31 = trunc i64 %30 to i32 store i32 %31, ptr %0, align 8, !tbaa !13 br label %32 32: ; preds = %1, %22 ret void } declare ptr @dp_to_dig_port(ptr noundef) local_unnamed_addr #1 declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @PP_ON_DELAYS(i32 noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @edp_panel_vdd_off_sync(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pipe_name(i32 noundef) local_unnamed_addr #1 declare i32 @port_name(i32 noundef) local_unnamed_addr #1 declare i32 @I915_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @POSTING_READ(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 4} !7 = !{!"intel_digital_port", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0, !12, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_3__", !9, i64 0} !13 = !{!14, !9, i64 0} !14 = !{!"intel_dp", !9, i64 0, !15, i64 8} !15 = !{!"long", !10, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!15, !15, i64 0} !18 = !{!9, !9, i64 0} !19 = !{!7, !9, i64 0}
linux_drivers_gpu_drm_i915_display_extr_intel_dp.c_vlv_detach_power_sequencer
; ModuleID = 'AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_parse_security_elem.c' source_filename = "AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_parse_security_elem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TRUE = dso_local local_unnamed_addr global i64 0, align 8 @securityW = dso_local local_unnamed_addr global i32 0, align 4 @asmv2W = dso_local local_unnamed_addr global i32 0, align 4 @requestedPrivilegesW = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"unknown elem %wZ\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_security_elem], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @parse_security_elem(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i64, ptr @TRUE, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %32, label %8 8: ; preds = %3, %29 %9 = call i64 @next_xml_elem(ptr noundef %0, ptr noundef nonnull %4) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %32, label %11 11: ; preds = %8 %12 = load i32, ptr @securityW, align 4, !tbaa !9 %13 = load i32, ptr @asmv2W, align 4, !tbaa !9 %14 = call i64 @xml_elem_cmp_end(ptr noundef nonnull %4, i32 noundef %12, i32 noundef %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %11 %17 = call i64 @parse_end_element(ptr noundef %0) #3 br label %32 18: ; preds = %11 %19 = load i32, ptr @requestedPrivilegesW, align 4, !tbaa !9 %20 = load i32, ptr @asmv2W, align 4, !tbaa !9 %21 = call i64 @xml_elem_cmp(ptr noundef nonnull %4, i32 noundef %19, i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %18 %24 = call i64 @parse_requested_privileges_elem(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 br label %29 25: ; preds = %18 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %26 = call i32 @xmlstr2unicode(ptr noundef nonnull %4) #3 store i32 %26, ptr %5, align 4, !tbaa !9 %27 = call i32 @DPRINT1(ptr noundef nonnull @.str, ptr noundef nonnull %5) #3 %28 = call i64 @parse_unknown_elem(ptr noundef %0, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %29 29: ; preds = %23, %25 %30 = phi i64 [ %24, %23 ], [ %28, %25 ] %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %8, !llvm.loop !11 32: ; preds = %8, %29, %3, %16 %33 = phi i64 [ %17, %16 ], [ 0, %3 ], [ 0, %29 ], [ 0, %8 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @next_xml_elem(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @xml_elem_cmp_end(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @parse_end_element(ptr noundef) local_unnamed_addr #2 declare i64 @xml_elem_cmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @parse_requested_privileges_elem(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xmlstr2unicode(ptr noundef) local_unnamed_addr #2 declare i32 @DPRINT1(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @parse_unknown_elem(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_parse_security_elem.c' source_filename = "AnghaBench/reactos/sdk/lib/rtl/extr_actctx.c_parse_security_elem.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 i64 0, align 8 @securityW = common local_unnamed_addr global i32 0, align 4 @asmv2W = common local_unnamed_addr global i32 0, align 4 @requestedPrivilegesW = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"unknown elem %wZ\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @parse_security_elem], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @parse_security_elem(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i64, ptr @TRUE, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %32, label %8 8: ; preds = %3, %29 %9 = call i64 @next_xml_elem(ptr noundef %0, ptr noundef nonnull %4) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %32, label %11 11: ; preds = %8 %12 = load i32, ptr @securityW, align 4, !tbaa !10 %13 = load i32, ptr @asmv2W, align 4, !tbaa !10 %14 = call i64 @xml_elem_cmp_end(ptr noundef nonnull %4, i32 noundef %12, i32 noundef %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %11 %17 = call i64 @parse_end_element(ptr noundef %0) #3 br label %32 18: ; preds = %11 %19 = load i32, ptr @requestedPrivilegesW, align 4, !tbaa !10 %20 = load i32, ptr @asmv2W, align 4, !tbaa !10 %21 = call i64 @xml_elem_cmp(ptr noundef nonnull %4, i32 noundef %19, i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %18 %24 = call i64 @parse_requested_privileges_elem(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 br label %29 25: ; preds = %18 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %26 = call i32 @xmlstr2unicode(ptr noundef nonnull %4) #3 store i32 %26, ptr %5, align 4, !tbaa !10 %27 = call i32 @DPRINT1(ptr noundef nonnull @.str, ptr noundef nonnull %5) #3 %28 = call i64 @parse_unknown_elem(ptr noundef %0, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %29 29: ; preds = %23, %25 %30 = phi i64 [ %24, %23 ], [ %28, %25 ] %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %8, !llvm.loop !12 32: ; preds = %8, %29, %3, %16 %33 = phi i64 [ %17, %16 ], [ 0, %3 ], [ 0, %29 ], [ 0, %8 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @next_xml_elem(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @xml_elem_cmp_end(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @parse_end_element(ptr noundef) local_unnamed_addr #2 declare i64 @xml_elem_cmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @parse_requested_privileges_elem(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xmlstr2unicode(ptr noundef) local_unnamed_addr #2 declare i32 @DPRINT1(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @parse_unknown_elem(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
reactos_sdk_lib_rtl_extr_actctx.c_parse_security_elem
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_shader.c_handle_from_constant.c' source_filename = "AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_shader.c_handle_from_constant.c" target datalayout = "e-m:e-p270:32:32-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 @handle_from_constant], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @handle_from_constant(ptr noundef %0) #0 { %2 = ptrtoint ptr %0 to i64 %3 = trunc i64 %2 to i32 ret i32 %3 } 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/reactos/dll/directx/wine/d3dx9_36/extr_shader.c_handle_from_constant.c' source_filename = "AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_shader.c_handle_from_constant.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 @handle_from_constant], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @handle_from_constant(ptr noundef %0) #0 { %2 = ptrtoint ptr %0 to i64 %3 = trunc i64 %2 to i32 ret i32 %3 } 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)"}
reactos_dll_directx_wine_d3dx9_36_extr_shader.c_handle_from_constant
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_csg.c_CheckBSPBrush.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_csg.c_CheckBSPBrush.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, ptr, ptr, ptr } %struct.TYPE_7__ = type { i64, i32 } %struct.TYPE_8__ = type { i32, i32 } @mapplanes = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"non convex brush\00", align 1 @MAX_MAP_BOUNDS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"brush: bounds out of range\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"ob->mins[%d] = %f, ob->maxs[%d] = %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"brush: no visible sides on brush\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @CheckBSPBrush(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %52 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 br label %6 6: ; preds = %4, %47 %7 = phi i32 [ %2, %4 ], [ %48, %47 ] %8 = phi i64 [ 0, %4 ], [ %49, %47 ] %9 = icmp sgt i32 %7, 0 br i1 %9, label %10, label %47 10: ; preds = %6, %41 %11 = phi i32 [ %42, %41 ], [ %7, %6 ] %12 = phi i32 [ %43, %41 ], [ %7, %6 ] %13 = phi i64 [ %44, %41 ], [ 0, %6 ] %14 = icmp eq i64 %8, %13 br i1 %14, label %41, label %15 15: ; preds = %10 %16 = load ptr, ptr @mapplanes, align 8, !tbaa !11 %17 = load ptr, ptr %5, align 8, !tbaa !12 %18 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %8 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 %19 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %13 %22 = load i64, ptr %21, align 8, !tbaa !13 %23 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 %22 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %8, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !16 %26 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %13, i32 1 %27 = load i32, ptr %26, align 8, !tbaa !16 %28 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 %19, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 %22, i32 1 %31 = load i32, ptr %30, align 4, !tbaa !17 %32 = load i32, ptr %20, align 4, !tbaa !19 %33 = load i32, ptr %23, align 4, !tbaa !19 %34 = tail call i64 @WindingsNonConvex(i32 noundef %25, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %32, i32 noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %15 %37 = load i32, ptr %0, align 8, !tbaa !5 br label %41 38: ; preds = %15 %39 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str) #2 %40 = load i32, ptr %0, align 8, !tbaa !5 br label %47 41: ; preds = %36, %10 %42 = phi i32 [ %37, %36 ], [ %11, %10 ] %43 = phi i32 [ %37, %36 ], [ %12, %10 ] %44 = add nuw nsw i64 %13, 1 %45 = sext i32 %43 to i64 %46 = icmp slt i64 %44, %45 br i1 %46, label %10, label %47, !llvm.loop !20 47: ; preds = %41, %6, %38 %48 = phi i32 [ %7, %6 ], [ %40, %38 ], [ %42, %41 ] %49 = add nuw nsw i64 %8, 1 %50 = sext i32 %48 to i64 %51 = icmp slt i64 %49, %50 br i1 %51, label %6, label %52, !llvm.loop !22 52: ; preds = %47, %1 %53 = tail call i32 @BoundBrush(ptr noundef nonnull %0) #2 %54 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %55 = load ptr, ptr %54, align 8, !tbaa !23 %56 = load i32, ptr @MAX_MAP_BOUNDS, align 4, !tbaa !24 %57 = sub nsw i32 0, %56 %58 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %59 = load i32, ptr %55, align 4, !tbaa !24 %60 = icmp slt i32 %59, %57 br i1 %60, label %65, label %61 61: ; preds = %52 %62 = load ptr, ptr %58, align 8, !tbaa !25 %63 = load i32, ptr %62, align 4, !tbaa !24 %64 = icmp sgt i32 %63, %56 br i1 %64, label %65, label %76 65: ; preds = %107, %103, %95, %91, %61, %52 %66 = phi i32 [ 0, %61 ], [ 0, %52 ], [ 1, %91 ], [ 1, %95 ], [ 2, %103 ], [ 2, %107 ] %67 = phi i64 [ 0, %61 ], [ 0, %52 ], [ 1, %91 ], [ 1, %95 ], [ 2, %103 ], [ 2, %107 ] %68 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.1) #2 %69 = load ptr, ptr %54, align 8, !tbaa !23 %70 = getelementptr inbounds i32, ptr %69, i64 %67 %71 = load i32, ptr %70, align 4, !tbaa !24 %72 = load ptr, ptr %58, align 8, !tbaa !25 %73 = getelementptr inbounds i32, ptr %72, i64 %67 %74 = load i32, ptr %73, align 4, !tbaa !24 %75 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.2, i32 noundef %66, i32 noundef %71, i32 noundef %66, i32 noundef %74) #2 br label %115 76: ; preds = %61 %77 = icmp sgt i32 %59, %56 %78 = icmp slt i32 %63, %57 %79 = or i1 %77, %78 br i1 %79, label %80, label %91 80: ; preds = %111, %99, %76 %81 = phi i64 [ 0, %76 ], [ 1, %99 ], [ 2, %111 ] %82 = trunc i64 %81 to i32 %83 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.3) #2 %84 = load ptr, ptr %54, align 8, !tbaa !23 %85 = getelementptr inbounds i32, ptr %84, i64 %81 %86 = load i32, ptr %85, align 4, !tbaa !24 %87 = load ptr, ptr %58, align 8, !tbaa !25 %88 = getelementptr inbounds i32, ptr %87, i64 %81 %89 = load i32, ptr %88, align 4, !tbaa !24 %90 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.2, i32 noundef %82, i32 noundef %86, i32 noundef %82, i32 noundef %89) #2 br label %115 91: ; preds = %76 %92 = getelementptr inbounds i32, ptr %55, i64 1 %93 = load i32, ptr %92, align 4, !tbaa !24 %94 = icmp slt i32 %93, %57 br i1 %94, label %65, label %95 95: ; preds = %91 %96 = getelementptr inbounds i32, ptr %62, i64 1 %97 = load i32, ptr %96, align 4, !tbaa !24 %98 = icmp sgt i32 %97, %56 br i1 %98, label %65, label %99 99: ; preds = %95 %100 = icmp sgt i32 %93, %56 %101 = icmp slt i32 %97, %57 %102 = or i1 %100, %101 br i1 %102, label %80, label %103 103: ; preds = %99 %104 = getelementptr inbounds i32, ptr %55, i64 2 %105 = load i32, ptr %104, align 4, !tbaa !24 %106 = icmp slt i32 %105, %57 br i1 %106, label %65, label %107 107: ; preds = %103 %108 = getelementptr inbounds i32, ptr %62, i64 2 %109 = load i32, ptr %108, align 4, !tbaa !24 %110 = icmp sgt i32 %109, %56 br i1 %110, label %65, label %111 111: ; preds = %107 %112 = icmp sgt i32 %105, %56 %113 = icmp slt i32 %109, %57 %114 = or i1 %112, %113 br i1 %114, label %80, label %115 115: ; preds = %111, %80, %65 ret void } declare i64 @WindingsNonConvex(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Log_Print(ptr noundef, ...) local_unnamed_addr #1 declare i32 @BoundBrush(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_9__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 24} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_7__", !15, i64 0, !7, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!14, !7, i64 8} !17 = !{!18, !7, i64 4} !18 = !{!"TYPE_8__", !7, i64 0, !7, i64 4} !19 = !{!18, !7, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = distinct !{!22, !21} !23 = !{!6, !10, i64 16} !24 = !{!7, !7, i64 0} !25 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_csg.c_CheckBSPBrush.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_csg.c_CheckBSPBrush.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 { i64, i32 } %struct.TYPE_8__ = type { i32, i32 } @mapplanes = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"non convex brush\00", align 1 @MAX_MAP_BOUNDS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"brush: bounds out of range\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"ob->mins[%d] = %f, ob->maxs[%d] = %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"brush: no visible sides on brush\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @CheckBSPBrush(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %52 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 24 br label %6 6: ; preds = %4, %47 %7 = phi i32 [ %2, %4 ], [ %48, %47 ] %8 = phi i64 [ 0, %4 ], [ %49, %47 ] %9 = icmp sgt i32 %7, 0 br i1 %9, label %10, label %47 10: ; preds = %6, %41 %11 = phi i32 [ %42, %41 ], [ %7, %6 ] %12 = phi i32 [ %43, %41 ], [ %7, %6 ] %13 = phi i64 [ %44, %41 ], [ 0, %6 ] %14 = icmp eq i64 %8, %13 br i1 %14, label %41, label %15 15: ; preds = %10 %16 = load ptr, ptr @mapplanes, align 8, !tbaa !12 %17 = load ptr, ptr %5, align 8, !tbaa !13 %18 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %8 %19 = load i64, ptr %18, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 %19 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %13 %22 = load i64, ptr %21, align 8, !tbaa !14 %23 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 %22 %24 = getelementptr inbounds i8, ptr %18, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !17 %26 = getelementptr inbounds i8, ptr %21, i64 8 %27 = load i32, ptr %26, align 8, !tbaa !17 %28 = getelementptr inbounds i8, ptr %20, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !18 %30 = getelementptr inbounds i8, ptr %23, i64 4 %31 = load i32, ptr %30, align 4, !tbaa !18 %32 = load i32, ptr %20, align 4, !tbaa !20 %33 = load i32, ptr %23, align 4, !tbaa !20 %34 = tail call i64 @WindingsNonConvex(i32 noundef %25, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %32, i32 noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %15 %37 = load i32, ptr %0, align 8, !tbaa !6 br label %41 38: ; preds = %15 %39 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str) #2 %40 = load i32, ptr %0, align 8, !tbaa !6 br label %47 41: ; preds = %36, %10 %42 = phi i32 [ %37, %36 ], [ %11, %10 ] %43 = phi i32 [ %37, %36 ], [ %12, %10 ] %44 = add nuw nsw i64 %13, 1 %45 = sext i32 %43 to i64 %46 = icmp slt i64 %44, %45 br i1 %46, label %10, label %47, !llvm.loop !21 47: ; preds = %41, %6, %38 %48 = phi i32 [ %7, %6 ], [ %40, %38 ], [ %42, %41 ] %49 = add nuw nsw i64 %8, 1 %50 = sext i32 %48 to i64 %51 = icmp slt i64 %49, %50 br i1 %51, label %6, label %52, !llvm.loop !23 52: ; preds = %47, %1 %53 = tail call i32 @BoundBrush(ptr noundef nonnull %0) #2 %54 = getelementptr inbounds i8, ptr %0, i64 16 %55 = load ptr, ptr %54, align 8, !tbaa !24 %56 = load i32, ptr @MAX_MAP_BOUNDS, align 4, !tbaa !25 %57 = sub nsw i32 0, %56 %58 = getelementptr inbounds i8, ptr %0, i64 8 %59 = load i32, ptr %55, align 4, !tbaa !25 %60 = icmp slt i32 %59, %57 br i1 %60, label %65, label %61 61: ; preds = %52 %62 = load ptr, ptr %58, align 8, !tbaa !26 %63 = load i32, ptr %62, align 4, !tbaa !25 %64 = icmp sgt i32 %63, %56 br i1 %64, label %65, label %76 65: ; preds = %107, %103, %95, %91, %61, %52 %66 = phi i32 [ 0, %61 ], [ 0, %52 ], [ 1, %91 ], [ 1, %95 ], [ 2, %103 ], [ 2, %107 ] %67 = phi i64 [ 0, %61 ], [ 0, %52 ], [ 1, %91 ], [ 1, %95 ], [ 2, %103 ], [ 2, %107 ] %68 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.1) #2 %69 = load ptr, ptr %54, align 8, !tbaa !24 %70 = getelementptr inbounds i32, ptr %69, i64 %67 %71 = load i32, ptr %70, align 4, !tbaa !25 %72 = load ptr, ptr %58, align 8, !tbaa !26 %73 = getelementptr inbounds i32, ptr %72, i64 %67 %74 = load i32, ptr %73, align 4, !tbaa !25 %75 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.2, i32 noundef %66, i32 noundef %71, i32 noundef %66, i32 noundef %74) #2 br label %115 76: ; preds = %61 %77 = icmp sgt i32 %59, %56 %78 = icmp slt i32 %63, %57 %79 = or i1 %77, %78 br i1 %79, label %80, label %91 80: ; preds = %111, %99, %76 %81 = phi i64 [ 0, %76 ], [ 1, %99 ], [ 2, %111 ] %82 = trunc nuw nsw i64 %81 to i32 %83 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.3) #2 %84 = load ptr, ptr %54, align 8, !tbaa !24 %85 = getelementptr inbounds i32, ptr %84, i64 %81 %86 = load i32, ptr %85, align 4, !tbaa !25 %87 = load ptr, ptr %58, align 8, !tbaa !26 %88 = getelementptr inbounds i32, ptr %87, i64 %81 %89 = load i32, ptr %88, align 4, !tbaa !25 %90 = tail call i32 (ptr, ...) @Log_Print(ptr noundef nonnull @.str.2, i32 noundef %82, i32 noundef %86, i32 noundef %82, i32 noundef %89) #2 br label %115 91: ; preds = %76 %92 = getelementptr inbounds i8, ptr %55, i64 4 %93 = load i32, ptr %92, align 4, !tbaa !25 %94 = icmp slt i32 %93, %57 br i1 %94, label %65, label %95 95: ; preds = %91 %96 = getelementptr inbounds i8, ptr %62, i64 4 %97 = load i32, ptr %96, align 4, !tbaa !25 %98 = icmp sgt i32 %97, %56 br i1 %98, label %65, label %99 99: ; preds = %95 %100 = icmp sgt i32 %93, %56 %101 = icmp slt i32 %97, %57 %102 = or i1 %100, %101 br i1 %102, label %80, label %103 103: ; preds = %99 %104 = getelementptr inbounds i8, ptr %55, i64 8 %105 = load i32, ptr %104, align 4, !tbaa !25 %106 = icmp slt i32 %105, %57 br i1 %106, label %65, label %107 107: ; preds = %103 %108 = getelementptr inbounds i8, ptr %62, i64 8 %109 = load i32, ptr %108, align 4, !tbaa !25 %110 = icmp sgt i32 %109, %56 br i1 %110, label %65, label %111 111: ; preds = %107 %112 = icmp sgt i32 %105, %56 %113 = icmp slt i32 %109, %57 %114 = or i1 %112, %113 br i1 %114, label %80, label %115 115: ; preds = %111, %80, %65 ret void } declare i64 @WindingsNonConvex(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Log_Print(ptr noundef, ...) local_unnamed_addr #1 declare i32 @BoundBrush(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_9__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 24} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_7__", !16, i64 0, !8, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!15, !8, i64 8} !18 = !{!19, !8, i64 4} !19 = !{!"TYPE_8__", !8, i64 0, !8, i64 4} !20 = !{!19, !8, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = distinct !{!23, !22} !24 = !{!7, !11, i64 16} !25 = !{!8, !8, i64 0} !26 = !{!7, !11, i64 8}
lab_engine_code_bspc_extr_csg.c_CheckBSPBrush
; ModuleID = 'AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_routealt.c_AAS_ShutdownAlternativeRouting.c' source_filename = "AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_routealt.c_AAS_ShutdownAlternativeRouting.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @clusterareas = dso_local local_unnamed_addr global ptr null, align 8 @midrangeareas = dso_local local_unnamed_addr global ptr null, align 8 @numclusterareas = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @AAS_ShutdownAlternativeRouting() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_routealt.c_AAS_ShutdownAlternativeRouting.c' source_filename = "AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_routealt.c_AAS_ShutdownAlternativeRouting.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @clusterareas = common local_unnamed_addr global ptr null, align 8 @midrangeareas = common local_unnamed_addr global ptr null, align 8 @numclusterareas = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @AAS_ShutdownAlternativeRouting() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
Quake-III-Arena_code_botlib_extr_be_aas_routealt.c_AAS_ShutdownAlternativeRouting
; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_base32_encode.c' source_filename = "AnghaBench/hashcat/src/extr_convert.c_base32_encode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i64 @base32_encode(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = icmp eq i64 %2, 0 br i1 %5, label %6, label %21 6: ; preds = %52, %4 %7 = uitofp i64 %2 to double %8 = fadd double %7, 5.000000e-01 %9 = fmul double %8, 8.000000e+00 %10 = fdiv double %9, 5.000000e+00 %11 = fptosi double %10 to i32 %12 = and i32 %11, 7 %13 = icmp eq i32 %12, 0 br i1 %13, label %147, label %14 14: ; preds = %6 %15 = sext i32 %11 to i64 %16 = getelementptr inbounds i32, ptr %3, i64 %15 store i32 61, ptr %16, align 4, !tbaa !5 %17 = add nsw i64 %15, 1 %18 = trunc i64 %17 to i32 %19 = and i32 %18, 7 %20 = icmp eq i32 %19, 0 br i1 %20, label %147, label %108, !llvm.loop !9 21: ; preds = %4, %52 %22 = phi ptr [ %104, %52 ], [ %1, %4 ] %23 = phi ptr [ %105, %52 ], [ %3, %4 ] %24 = phi i64 [ %106, %52 ], [ 0, %4 ] %25 = load i32, ptr %22, align 4, !tbaa !5 %26 = add nuw i64 %24, 1 %27 = icmp ult i64 %26, %2 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = getelementptr inbounds i32, ptr %22, i64 1 %30 = load i32, ptr %29, align 4, !tbaa !5 br label %31 31: ; preds = %21, %28 %32 = phi i32 [ %30, %28 ], [ 0, %21 ] %33 = add i64 %24, 2 %34 = icmp ult i64 %33, %2 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = getelementptr inbounds i32, ptr %22, i64 2 %37 = load i32, ptr %36, align 4, !tbaa !5 br label %38 38: ; preds = %31, %35 %39 = phi i32 [ %37, %35 ], [ 0, %31 ] %40 = add i64 %24, 3 %41 = icmp ult i64 %40, %2 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = getelementptr inbounds i32, ptr %22, i64 3 %44 = load i32, ptr %43, align 4, !tbaa !5 br label %45 45: ; preds = %38, %42 %46 = phi i32 [ %44, %42 ], [ 0, %38 ] %47 = add i64 %24, 4 %48 = icmp ult i64 %47, %2 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = getelementptr inbounds i32, ptr %22, i64 4 %51 = load i32, ptr %50, align 4, !tbaa !5 br label %52 52: ; preds = %45, %49 %53 = phi i32 [ %51, %49 ], [ 0, %45 ] %54 = lshr i32 %25, 3 %55 = and i32 %54, 31 %56 = tail call i32 %0(i32 noundef %55) #1 %57 = shl i32 %25, 2 %58 = and i32 %57, 28 %59 = lshr i32 %32, 6 %60 = and i32 %59, 3 %61 = or disjoint i32 %60, %58 %62 = tail call i32 %0(i32 noundef %61) #1 %63 = lshr i32 %32, 1 %64 = and i32 %63, 31 %65 = tail call i32 %0(i32 noundef %64) #1 %66 = shl i32 %32, 4 %67 = and i32 %66, 16 %68 = lshr i32 %39, 4 %69 = and i32 %68, 15 %70 = or disjoint i32 %69, %67 %71 = tail call i32 %0(i32 noundef %70) #1 %72 = shl i32 %39, 1 %73 = and i32 %72, 30 %74 = lshr i32 %46, 7 %75 = and i32 %74, 1 %76 = or disjoint i32 %75, %73 %77 = tail call i32 %0(i32 noundef %76) #1 %78 = lshr i32 %46, 2 %79 = and i32 %78, 31 %80 = tail call i32 %0(i32 noundef %79) #1 %81 = shl i32 %46, 3 %82 = and i32 %81, 24 %83 = lshr i32 %53, 5 %84 = and i32 %83, 7 %85 = or disjoint i32 %84, %82 %86 = tail call i32 %0(i32 noundef %85) #1 %87 = and i32 %53, 31 %88 = tail call i32 %0(i32 noundef %87) #1 %89 = and i32 %56, 127 store i32 %89, ptr %23, align 4, !tbaa !5 %90 = and i32 %62, 127 %91 = getelementptr inbounds i32, ptr %23, i64 1 store i32 %90, ptr %91, align 4, !tbaa !5 %92 = and i32 %65, 127 %93 = getelementptr inbounds i32, ptr %23, i64 2 store i32 %92, ptr %93, align 4, !tbaa !5 %94 = and i32 %71, 127 %95 = getelementptr inbounds i32, ptr %23, i64 3 store i32 %94, ptr %95, align 4, !tbaa !5 %96 = and i32 %77, 127 %97 = getelementptr inbounds i32, ptr %23, i64 4 store i32 %96, ptr %97, align 4, !tbaa !5 %98 = and i32 %80, 127 %99 = getelementptr inbounds i32, ptr %23, i64 5 store i32 %98, ptr %99, align 4, !tbaa !5 %100 = and i32 %86, 127 %101 = getelementptr inbounds i32, ptr %23, i64 6 store i32 %100, ptr %101, align 4, !tbaa !5 %102 = and i32 %88, 127 %103 = getelementptr inbounds i32, ptr %23, i64 7 store i32 %102, ptr %103, align 4, !tbaa !5 %104 = getelementptr inbounds i32, ptr %22, i64 5 %105 = getelementptr inbounds i32, ptr %23, i64 8 %106 = add i64 %24, 5 %107 = icmp ult i64 %106, %2 br i1 %107, label %21, label %6, !llvm.loop !11 108: ; preds = %14 %109 = getelementptr inbounds i32, ptr %3, i64 %17 store i32 61, ptr %109, align 4, !tbaa !5 %110 = add nsw i64 %15, 2 %111 = trunc i64 %110 to i32 %112 = and i32 %111, 7 %113 = icmp eq i32 %112, 0 br i1 %113, label %147, label %114, !llvm.loop !9 114: ; preds = %108 %115 = getelementptr inbounds i32, ptr %3, i64 %110 store i32 61, ptr %115, align 4, !tbaa !5 %116 = add nsw i64 %15, 3 %117 = trunc i64 %116 to i32 %118 = and i32 %117, 7 %119 = icmp eq i32 %118, 0 br i1 %119, label %147, label %120, !llvm.loop !9 120: ; preds = %114 %121 = getelementptr inbounds i32, ptr %3, i64 %116 store i32 61, ptr %121, align 4, !tbaa !5 %122 = add nsw i64 %15, 4 %123 = trunc i64 %122 to i32 %124 = and i32 %123, 7 %125 = icmp eq i32 %124, 0 br i1 %125, label %147, label %126, !llvm.loop !9 126: ; preds = %120 %127 = getelementptr inbounds i32, ptr %3, i64 %122 store i32 61, ptr %127, align 4, !tbaa !5 %128 = add nsw i64 %15, 5 %129 = trunc i64 %128 to i32 %130 = and i32 %129, 7 %131 = icmp eq i32 %130, 0 br i1 %131, label %147, label %132, !llvm.loop !9 132: ; preds = %126 %133 = getelementptr inbounds i32, ptr %3, i64 %128 store i32 61, ptr %133, align 4, !tbaa !5 %134 = add nsw i64 %15, 6 %135 = trunc i64 %134 to i32 %136 = and i32 %135, 7 %137 = icmp eq i32 %136, 0 br i1 %137, label %147, label %138, !llvm.loop !9 138: ; preds = %132 %139 = getelementptr inbounds i32, ptr %3, i64 %134 store i32 61, ptr %139, align 4, !tbaa !5 %140 = add nsw i64 %15, 7 %141 = trunc i64 %140 to i32 %142 = and i32 %141, 7 %143 = icmp eq i32 %142, 0 br i1 %143, label %147, label %144, !llvm.loop !9 144: ; preds = %138 %145 = getelementptr inbounds i32, ptr %3, i64 %140 store i32 61, ptr %145, align 4, !tbaa !5 %146 = add i32 %11, 8 br label %147 147: ; preds = %14, %108, %114, %120, %126, %132, %138, %144, %6 %148 = phi i32 [ %11, %6 ], [ %18, %14 ], [ %111, %108 ], [ %117, %114 ], [ %123, %120 ], [ %129, %126 ], [ %135, %132 ], [ %141, %138 ], [ %146, %144 ] %149 = sext i32 %148 to i64 ret i64 %149 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_base32_encode.c' source_filename = "AnghaBench/hashcat/src/extr_convert.c_base32_encode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.memset_pattern = private unnamed_addr constant [4 x i32] [i32 61, i32 61, i32 61, i32 61], align 16 ; Function Attrs: nounwind ssp uwtable(sync) define range(i64 -2147483648, 2147483648) i64 @base32_encode(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = icmp eq i64 %2, 0 br i1 %5, label %6, label %24 6: ; preds = %55, %4 %7 = uitofp i64 %2 to double %8 = fadd double %7, 5.000000e-01 %9 = fmul double %8, 8.000000e+00 %10 = fdiv double %9, 5.000000e+00 %11 = fptosi double %10 to i32 %12 = and i32 %11, 7 %13 = icmp eq i32 %12, 0 br i1 %13, label %111, label %14 14: ; preds = %6 %15 = sext i32 %11 to i64 %16 = shl nsw i64 %15, 2 %17 = getelementptr i8, ptr %3, i64 %16 %18 = xor i32 %12, 7 %19 = shl nuw nsw i32 %18, 2 %20 = add nuw nsw i32 %19, 4 %21 = zext nneg i32 %20 to i64 tail call void @memset_pattern16(ptr %17, ptr nonnull @.memset_pattern, i64 %21), !tbaa !6 %22 = add i32 %18, %11 %23 = add i32 %22, 1 br label %111 24: ; preds = %4, %55 %25 = phi ptr [ %107, %55 ], [ %1, %4 ] %26 = phi ptr [ %108, %55 ], [ %3, %4 ] %27 = phi i64 [ %109, %55 ], [ 0, %4 ] %28 = load i32, ptr %25, align 4, !tbaa !6 %29 = add nuw i64 %27, 1 %30 = icmp ult i64 %29, %2 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = getelementptr inbounds i8, ptr %25, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !6 br label %34 34: ; preds = %24, %31 %35 = phi i32 [ %33, %31 ], [ 0, %24 ] %36 = add i64 %27, 2 %37 = icmp ult i64 %36, %2 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = getelementptr inbounds i8, ptr %25, i64 8 %40 = load i32, ptr %39, align 4, !tbaa !6 br label %41 41: ; preds = %34, %38 %42 = phi i32 [ %40, %38 ], [ 0, %34 ] %43 = add i64 %27, 3 %44 = icmp ult i64 %43, %2 br i1 %44, label %45, label %48 45: ; preds = %41 %46 = getelementptr inbounds i8, ptr %25, i64 12 %47 = load i32, ptr %46, align 4, !tbaa !6 br label %48 48: ; preds = %41, %45 %49 = phi i32 [ %47, %45 ], [ 0, %41 ] %50 = add i64 %27, 4 %51 = icmp ult i64 %50, %2 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = getelementptr inbounds i8, ptr %25, i64 16 %54 = load i32, ptr %53, align 4, !tbaa !6 br label %55 55: ; preds = %48, %52 %56 = phi i32 [ %54, %52 ], [ 0, %48 ] %57 = lshr i32 %28, 3 %58 = and i32 %57, 31 %59 = tail call i32 %0(i32 noundef %58) #2 %60 = shl i32 %28, 2 %61 = and i32 %60, 28 %62 = lshr i32 %35, 6 %63 = and i32 %62, 3 %64 = or disjoint i32 %63, %61 %65 = tail call i32 %0(i32 noundef %64) #2 %66 = lshr i32 %35, 1 %67 = and i32 %66, 31 %68 = tail call i32 %0(i32 noundef %67) #2 %69 = shl i32 %35, 4 %70 = and i32 %69, 16 %71 = lshr i32 %42, 4 %72 = and i32 %71, 15 %73 = or disjoint i32 %72, %70 %74 = tail call i32 %0(i32 noundef %73) #2 %75 = shl i32 %42, 1 %76 = and i32 %75, 30 %77 = lshr i32 %49, 7 %78 = and i32 %77, 1 %79 = or disjoint i32 %78, %76 %80 = tail call i32 %0(i32 noundef %79) #2 %81 = lshr i32 %49, 2 %82 = and i32 %81, 31 %83 = tail call i32 %0(i32 noundef %82) #2 %84 = shl i32 %49, 3 %85 = and i32 %84, 24 %86 = lshr i32 %56, 5 %87 = and i32 %86, 7 %88 = or disjoint i32 %87, %85 %89 = tail call i32 %0(i32 noundef %88) #2 %90 = and i32 %56, 31 %91 = tail call i32 %0(i32 noundef %90) #2 %92 = and i32 %59, 127 store i32 %92, ptr %26, align 4, !tbaa !6 %93 = and i32 %65, 127 %94 = getelementptr inbounds i8, ptr %26, i64 4 store i32 %93, ptr %94, align 4, !tbaa !6 %95 = and i32 %68, 127 %96 = getelementptr inbounds i8, ptr %26, i64 8 store i32 %95, ptr %96, align 4, !tbaa !6 %97 = and i32 %74, 127 %98 = getelementptr inbounds i8, ptr %26, i64 12 store i32 %97, ptr %98, align 4, !tbaa !6 %99 = and i32 %80, 127 %100 = getelementptr inbounds i8, ptr %26, i64 16 store i32 %99, ptr %100, align 4, !tbaa !6 %101 = and i32 %83, 127 %102 = getelementptr inbounds i8, ptr %26, i64 20 store i32 %101, ptr %102, align 4, !tbaa !6 %103 = and i32 %89, 127 %104 = getelementptr inbounds i8, ptr %26, i64 24 store i32 %103, ptr %104, align 4, !tbaa !6 %105 = and i32 %91, 127 %106 = getelementptr inbounds i8, ptr %26, i64 28 store i32 %105, ptr %106, align 4, !tbaa !6 %107 = getelementptr inbounds i8, ptr %25, i64 20 %108 = getelementptr inbounds i8, ptr %26, i64 32 %109 = add i64 %27, 5 %110 = icmp ult i64 %109, %2 br i1 %110, label %24, label %6, !llvm.loop !10 111: ; preds = %14, %6 %112 = phi i32 [ %11, %6 ], [ %23, %14 ] %113 = sext i32 %112 to i64 ret i64 %113 } ; Function Attrs: nofree nounwind willreturn memory(argmem: readwrite) declare void @memset_pattern16(ptr nocapture writeonly, ptr nocapture readonly, i64) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
hashcat_src_extr_convert.c_base32_encode
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_genl_dump_dest.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_genl_dump_dest.c" target datalayout = "e-m:e-p270:32:32-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.netlink_callback = type { ptr, i32 } @ip_vs_genl_family = dso_local global i32 0, align 4 @NLM_F_MULTI = dso_local local_unnamed_addr global i32 0, align 4 @IPVS_CMD_NEW_DEST = dso_local local_unnamed_addr global i32 0, align 4 @EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ip_vs_genl_dump_dest], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ip_vs_genl_dump_dest(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds %struct.netlink_callback, ptr %2, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @NETLINK_CB(i32 noundef %5) #2 %7 = load ptr, ptr %2, align 8, !tbaa !11 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr @NLM_F_MULTI, align 4, !tbaa !14 %10 = load i32, ptr @IPVS_CMD_NEW_DEST, align 4, !tbaa !14 %11 = tail call ptr @genlmsg_put(ptr noundef %0, i32 noundef %6, i32 noundef %8, ptr noundef nonnull @ip_vs_genl_family, i32 noundef %9, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr @EMSGSIZE, align 4, !tbaa !14 %15 = sub nsw i32 0, %14 br label %25 16: ; preds = %3 %17 = tail call i64 @ip_vs_genl_fill_dest(ptr noundef %0, ptr noundef %1) #2 %18 = icmp slt i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %16 %20 = tail call i32 @genlmsg_end(ptr noundef %0, ptr noundef nonnull %11) #2 br label %25 21: ; preds = %16 %22 = tail call i32 @genlmsg_cancel(ptr noundef %0, ptr noundef nonnull %11) #2 %23 = load i32, ptr @EMSGSIZE, align 4, !tbaa !14 %24 = sub nsw i32 0, %23 br label %25 25: ; preds = %21, %19, %13 %26 = phi i32 [ %24, %21 ], [ %20, %19 ], [ %15, %13 ] ret i32 %26 } declare ptr @genlmsg_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NETLINK_CB(i32 noundef) local_unnamed_addr #1 declare i64 @ip_vs_genl_fill_dest(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @genlmsg_cancel(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 = !{!"netlink_callback", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_3__", !10, i64 0} !14 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_genl_dump_dest.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_genl_dump_dest.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ip_vs_genl_family = common global i32 0, align 4 @NLM_F_MULTI = common local_unnamed_addr global i32 0, align 4 @IPVS_CMD_NEW_DEST = common local_unnamed_addr global i32 0, align 4 @EMSGSIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ip_vs_genl_dump_dest], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ip_vs_genl_dump_dest(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @NETLINK_CB(i32 noundef %5) #2 %7 = load ptr, ptr %2, align 8, !tbaa !12 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = load i32, ptr @NLM_F_MULTI, align 4, !tbaa !15 %10 = load i32, ptr @IPVS_CMD_NEW_DEST, align 4, !tbaa !15 %11 = tail call ptr @genlmsg_put(ptr noundef %0, i32 noundef %6, i32 noundef %8, ptr noundef nonnull @ip_vs_genl_family, i32 noundef %9, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr @EMSGSIZE, align 4, !tbaa !15 %15 = sub nsw i32 0, %14 br label %25 16: ; preds = %3 %17 = tail call i64 @ip_vs_genl_fill_dest(ptr noundef %0, ptr noundef %1) #2 %18 = icmp slt i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %16 %20 = tail call i32 @genlmsg_end(ptr noundef %0, ptr noundef nonnull %11) #2 br label %25 21: ; preds = %16 %22 = tail call i32 @genlmsg_cancel(ptr noundef %0, ptr noundef nonnull %11) #2 %23 = load i32, ptr @EMSGSIZE, align 4, !tbaa !15 %24 = sub nsw i32 0, %23 br label %25 25: ; preds = %21, %19, %13 %26 = phi i32 [ %24, %21 ], [ %20, %19 ], [ %15, %13 ] ret i32 %26 } declare ptr @genlmsg_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NETLINK_CB(i32 noundef) local_unnamed_addr #1 declare i64 @ip_vs_genl_fill_dest(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @genlmsg_cancel(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 = !{!"netlink_callback", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_3__", !11, i64 0} !15 = !{!11, !11, i64 0}
fastsocket_kernel_net_netfilter_ipvs_extr_ip_vs_ctl.c_ip_vs_genl_dump_dest
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_mipid.c_mipid_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_mipid.c_mipid_cmd.c" target datalayout = "e-m:e-p270:32:32-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 @mipid_cmd], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @mipid_cmd(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @mipid_transfer(ptr noundef %0, i32 noundef %1, ptr noundef null, i32 noundef 0, ptr noundef null, i32 noundef 0) #2 ret void } declare i32 @mipid_transfer(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_mipid.c_mipid_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_mipid.c_mipid_cmd.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 @mipid_cmd], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @mipid_cmd(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @mipid_transfer(ptr noundef %0, i32 noundef %1, ptr noundef null, i32 noundef 0, ptr noundef null, i32 noundef 0) #2 ret void } declare i32 @mipid_transfer(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_video_omap_extr_lcd_mipid.c_mipid_cmd
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_trim_pcie_dpm_states.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_trim_pcie_dpm_states.c" target datalayout = "e-m:e-p270:32:32-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.ci_single_dpm_table = type { i64, ptr } %struct.TYPE_4__ = type { i64, i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ci_trim_pcie_dpm_states], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ci_trim_pcie_dpm_states(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = tail call ptr @ci_get_pi(ptr noundef %0) #2 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %67, label %9 9: ; preds = %5 %10 = getelementptr inbounds %struct.ci_single_dpm_table, ptr %6, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !11 br label %15 12: ; preds = %30 %13 = getelementptr inbounds %struct.ci_single_dpm_table, ptr %6, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !11 br label %35 15: ; preds = %9, %30 %16 = phi i64 [ 0, %9 ], [ %33, %30 ] %17 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %16 %18 = load i64, ptr %17, align 8, !tbaa !12 %19 = icmp ult i64 %18, %1 br i1 %19, label %30, label %20 20: ; preds = %15 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %16, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !15 %23 = icmp ult i64 %22, %2 %24 = icmp ugt i64 %18, %3 %25 = or i1 %24, %23 %26 = icmp ugt i64 %22, %4 %27 = or i1 %26, %25 %28 = xor i1 %27, true %29 = zext i1 %28 to i32 br label %30 30: ; preds = %20, %15 %31 = phi i32 [ 0, %15 ], [ %29, %20 ] %32 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %16, i32 2 store i32 %31, ptr %32, align 8, !tbaa !16 %33 = add nuw i64 %16, 1 %34 = icmp eq i64 %33, %7 br i1 %34, label %12, label %15, !llvm.loop !17 35: ; preds = %12, %65 %36 = phi i64 [ 0, %12 ], [ %40, %65 ] %37 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %36, i32 2 %38 = load i32, ptr %37, align 8, !tbaa !16 %39 = icmp ne i32 %38, 0 %40 = add nuw i64 %36, 1 %41 = icmp ult i64 %40, %7 %42 = select i1 %39, i1 %41, i1 false br i1 %42, label %43, label %65 43: ; preds = %35 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %36 %45 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %36, i32 1 br label %46 46: ; preds = %43, %62 %47 = phi i64 [ %40, %43 ], [ %63, %62 ] %48 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %47, i32 2 %49 = load i32, ptr %48, align 8, !tbaa !16 %50 = icmp eq i32 %49, 0 br i1 %50, label %62, label %51 51: ; preds = %46 %52 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %47 %53 = load i64, ptr %44, align 8, !tbaa !12 %54 = load i64, ptr %52, align 8, !tbaa !12 %55 = icmp eq i64 %53, %54 br i1 %55, label %56, label %62 56: ; preds = %51 %57 = load i64, ptr %45, align 8, !tbaa !15 %58 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %47, i32 1 %59 = load i64, ptr %58, align 8, !tbaa !15 %60 = icmp eq i64 %57, %59 br i1 %60, label %61, label %62 61: ; preds = %56 store i32 0, ptr %48, align 8, !tbaa !16 br label %62 62: ; preds = %46, %61, %56, %51 %63 = add nuw i64 %47, 1 %64 = icmp ult i64 %63, %7 br i1 %64, label %46, label %65, !llvm.loop !19 65: ; preds = %62, %35 %66 = icmp eq i64 %40, %7 br i1 %66, label %67, label %35, !llvm.loop !20 67: ; preds = %65, %5 ret void } declare ptr @ci_get_pi(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 = !{!"ci_single_dpm_table", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !14, i64 16} !14 = !{!"int", !8, i64 0} !15 = !{!13, !7, i64 8} !16 = !{!13, !14, i64 16} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18} !20 = distinct !{!20, !18}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_trim_pcie_dpm_states.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_trim_pcie_dpm_states.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 { i64, i64, i32 } @llvm.used = appending global [1 x ptr] [ptr @ci_trim_pcie_dpm_states], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ci_trim_pcie_dpm_states(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = tail call ptr @ci_get_pi(ptr noundef %0) #2 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %66, label %9 9: ; preds = %5 %10 = getelementptr inbounds i8, ptr %6, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !12 br label %14 12: ; preds = %31 %13 = load ptr, ptr %10, align 8, !tbaa !12 br label %34 14: ; preds = %9, %31 %15 = phi i64 [ 0, %9 ], [ %32, %31 ] %16 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %15 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = icmp ult i64 %17, %1 br i1 %18, label %27, label %19 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %16, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = icmp ult i64 %21, %2 %23 = icmp ugt i64 %17, %3 %24 = or i1 %23, %22 %25 = icmp ugt i64 %21, %4 %26 = or i1 %25, %24 br i1 %26, label %27, label %29 27: ; preds = %19, %14 %28 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %15, i32 2 store i32 0, ptr %28, align 8, !tbaa !17 br label %31 29: ; preds = %19 %30 = getelementptr inbounds i8, ptr %16, i64 16 store i32 1, ptr %30, align 8, !tbaa !17 br label %31 31: ; preds = %27, %29 %32 = add nuw i64 %15, 1 %33 = icmp eq i64 %32, %7 br i1 %33, label %12, label %14, !llvm.loop !18 34: ; preds = %12, %64 %35 = phi i64 [ 0, %12 ], [ %39, %64 ] %36 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 %35, i32 2 %37 = load i32, ptr %36, align 8, !tbaa !17 %38 = icmp ne i32 %37, 0 %39 = add nuw i64 %35, 1 %40 = icmp ult i64 %39, %7 %41 = select i1 %38, i1 %40, i1 false br i1 %41, label %42, label %64 42: ; preds = %34 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 %35 %44 = getelementptr inbounds i8, ptr %43, i64 8 br label %45 45: ; preds = %42, %61 %46 = phi i64 [ %39, %42 ], [ %62, %61 ] %47 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 %46 %48 = getelementptr inbounds i8, ptr %47, i64 16 %49 = load i32, ptr %48, align 8, !tbaa !17 %50 = icmp eq i32 %49, 0 br i1 %50, label %61, label %51 51: ; preds = %45 %52 = load i64, ptr %43, align 8, !tbaa !13 %53 = load i64, ptr %47, align 8, !tbaa !13 %54 = icmp eq i64 %52, %53 br i1 %54, label %55, label %61 55: ; preds = %51 %56 = load i64, ptr %44, align 8, !tbaa !16 %57 = getelementptr inbounds i8, ptr %47, i64 8 %58 = load i64, ptr %57, align 8, !tbaa !16 %59 = icmp eq i64 %56, %58 br i1 %59, label %60, label %61 60: ; preds = %55 store i32 0, ptr %48, align 8, !tbaa !17 br label %61 61: ; preds = %45, %60, %55, %51 %62 = add nuw i64 %46, 1 %63 = icmp eq i64 %62, %7 br i1 %63, label %64, label %45, !llvm.loop !20 64: ; preds = %61, %34 %65 = icmp eq i64 %39, %7 br i1 %65, label %66, label %34, !llvm.loop !21 66: ; preds = %64, %5 ret void } declare ptr @ci_get_pi(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 = !{!"ci_single_dpm_table", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !15, i64 16} !15 = !{!"int", !9, i64 0} !16 = !{!14, !8, i64 8} !17 = !{!14, !15, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19} !21 = distinct !{!21, !19}
linux_drivers_gpu_drm_radeon_extr_ci_dpm.c_ci_trim_pcie_dpm_states
; ModuleID = 'AnghaBench/esp-idf/components/freertos/extr_queue.c_prvCopyDataFromQueue.c' source_filename = "AnghaBench/esp-idf/components/freertos/extr_queue.c_prvCopyDataFromQueue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i64, i64, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @prvCopyDataFromQueue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @prvCopyDataFromQueue(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %24, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = add nsw i64 %7, %3 store i64 %8, ptr %6, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp slt i64 %8, %10 br i1 %11, label %15, label %12 12: ; preds = %5 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %14 = load i64, ptr %13, align 8, !tbaa !13 store i64 %14, ptr %6, align 8, !tbaa !11 br label %19 15: ; preds = %5 %16 = tail call i32 (...) @mtCOVERAGE_TEST_MARKER() #2 %17 = load i64, ptr %6, align 8, !tbaa !11 %18 = load i64, ptr %0, align 8, !tbaa !5 br label %19 19: ; preds = %15, %12 %20 = phi i64 [ %18, %15 ], [ %3, %12 ] %21 = phi i64 [ %17, %15 ], [ %14, %12 ] %22 = inttoptr i64 %21 to ptr %23 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %22, i64 noundef %20) #2 br label %24 24: ; preds = %19, %2 ret void } declare i32 @mtCOVERAGE_TEST_MARKER(...) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !7, i64 0} !11 = !{!6, !7, i64 24} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/esp-idf/components/freertos/extr_queue.c_prvCopyDataFromQueue.c' source_filename = "AnghaBench/esp-idf/components/freertos/extr_queue.c_prvCopyDataFromQueue.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 @prvCopyDataFromQueue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @prvCopyDataFromQueue(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %24, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = add nsw i64 %7, %3 store i64 %8, ptr %6, align 8, !tbaa !12 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = icmp slt i64 %8, %10 br i1 %11, label %15, label %12 12: ; preds = %5 %13 = getelementptr inbounds i8, ptr %0, i64 16 %14 = load i64, ptr %13, align 8, !tbaa !14 store i64 %14, ptr %6, align 8, !tbaa !12 br label %19 15: ; preds = %5 %16 = tail call i32 @mtCOVERAGE_TEST_MARKER() #2 %17 = load i64, ptr %6, align 8, !tbaa !12 %18 = load i64, ptr %0, align 8, !tbaa !6 br label %19 19: ; preds = %15, %12 %20 = phi i64 [ %18, %15 ], [ %3, %12 ] %21 = phi i64 [ %17, %15 ], [ %14, %12 ] %22 = inttoptr i64 %21 to ptr %23 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %22, i64 noundef %20) #2 br label %24 24: ; preds = %19, %2 ret void } declare i32 @mtCOVERAGE_TEST_MARKER(...) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !8, i64 0} !12 = !{!7, !8, i64 24} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 16}
esp-idf_components_freertos_extr_queue.c_prvCopyDataFromQueue
; ModuleID = 'AnghaBench/vlc/modules/packetizer/extr_avparser.c_Packetize.c' source_filename = "AnghaBench/vlc/modules/packetizer/extr_avparser.c_Packetize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i32, i32, i32, i32, ptr } %struct.TYPE_11__ = type { i32, ptr, i32 } @BLOCK_FLAG_CORRUPTED = dso_local local_unnamed_addr global i32 0, align 4 @BLOCK_FLAG_TYPE_I = dso_local local_unnamed_addr global i32 0, align 4 @VLC_TICK_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @Packetize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @Packetize(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = icmp eq ptr %1, null br i1 %6, label %79, label %7 7: ; preds = %2 %8 = load ptr, ptr %1, align 8, !tbaa !10 %9 = icmp eq ptr %8, null br i1 %9, label %79, label %10 10: ; preds = %7 %11 = load i32, ptr %8, align 8, !tbaa !11 %12 = load i32, ptr @BLOCK_FLAG_CORRUPTED, align 4, !tbaa !14 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %10 %16 = tail call i32 @block_Release(ptr noundef nonnull %8) #3 br label %79 17: ; preds = %10 %18 = getelementptr inbounds %struct.TYPE_12__, ptr %8, i64 0, i32 4 %19 = load ptr, ptr %18, align 8, !tbaa !15 %20 = load i32, ptr %5, align 8, !tbaa !16 %21 = getelementptr inbounds %struct.TYPE_12__, ptr %8, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !18 %23 = sub nsw i32 %22, %20 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %24 = icmp eq i32 %20, %23 br i1 %24, label %74, label %25 25: ; preds = %17 %26 = sext i32 %20 to i64 %27 = getelementptr inbounds i32, ptr %19, i64 %26 %28 = getelementptr inbounds %struct.TYPE_11__, ptr %5, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !19 %30 = getelementptr inbounds %struct.TYPE_11__, ptr %5, i64 0, i32 2 %31 = load i32, ptr %30, align 8, !tbaa !20 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %8, i64 0, i32 3 %33 = load i32, ptr %32, align 4, !tbaa !21 %34 = tail call i32 @TO_AV_TS(i32 noundef %33) #3 %35 = getelementptr inbounds %struct.TYPE_12__, ptr %8, i64 0, i32 2 %36 = load i32, ptr %35, align 8, !tbaa !22 %37 = tail call i32 @TO_AV_TS(i32 noundef %36) #3 %38 = call i64 @av_parser_parse2(ptr noundef %29, i32 noundef %31, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %27, i32 noundef %23, i32 noundef %34, i32 noundef %37, i32 noundef -1) #3 %39 = load i32, ptr %5, align 8, !tbaa !16 %40 = trunc i64 %38 to i32 %41 = add i32 %39, %40 store i32 %41, ptr %5, align 8, !tbaa !16 %42 = load i32, ptr %4, align 4, !tbaa !14 %43 = icmp slt i32 %42, 1 %44 = load ptr, ptr %3, align 8 %45 = icmp eq ptr %44, null %46 = select i1 %43, i1 true, i1 %45 %47 = zext i1 %46 to i32 %48 = call i64 @unlikely(i32 noundef %47) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %74 50: ; preds = %25 %51 = load i32, ptr %4, align 4, !tbaa !14 %52 = call ptr @block_Alloc(i32 noundef %51) #3 %53 = icmp eq ptr %52, null %54 = zext i1 %53 to i32 %55 = call i64 @unlikely(i32 noundef %54) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %74 57: ; preds = %50 %58 = getelementptr inbounds %struct.TYPE_12__, ptr %52, i64 0, i32 4 %59 = load ptr, ptr %58, align 8, !tbaa !15 %60 = load ptr, ptr %3, align 8, !tbaa !10 %61 = load i32, ptr %4, align 4, !tbaa !14 %62 = call i32 @memcpy(ptr noundef %59, ptr noundef %60, i32 noundef %61) #3 %63 = getelementptr inbounds %struct.TYPE_12__, ptr %52, i64 0, i32 2 %64 = load <2 x i32>, ptr %35, align 8, !tbaa !14 store <2 x i32> %64, ptr %63, align 8, !tbaa !14 %65 = load ptr, ptr %28, align 8, !tbaa !19 %66 = load i32, ptr %65, align 4, !tbaa !23 %67 = icmp eq i32 %66, 1 br i1 %67, label %68, label %72 68: ; preds = %57 %69 = load i32, ptr @BLOCK_FLAG_TYPE_I, align 4, !tbaa !14 %70 = load i32, ptr %52, align 8, !tbaa !11 %71 = or i32 %70, %69 store i32 %71, ptr %52, align 8, !tbaa !11 br label %72 72: ; preds = %68, %57 %73 = load i32, ptr @VLC_TICK_INVALID, align 4, !tbaa !14 store i32 %73, ptr %35, align 8, !tbaa !22 store i32 %73, ptr %32, align 4, !tbaa !21 br label %77 74: ; preds = %50, %25, %17 store i32 0, ptr %5, align 8, !tbaa !16 %75 = load ptr, ptr %1, align 8, !tbaa !10 %76 = call i32 @block_Release(ptr noundef %75) #3 store ptr null, ptr %1, align 8, !tbaa !10 br label %77 77: ; preds = %74, %72 %78 = phi ptr [ null, %74 ], [ %52, %72 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 br label %79 79: ; preds = %2, %7, %77, %15 %80 = phi ptr [ null, %15 ], [ %78, %77 ], [ null, %7 ], [ null, %2 ] ret ptr %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @block_Release(ptr noundef) local_unnamed_addr #2 declare i64 @av_parser_parse2(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TO_AV_TS(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare ptr @block_Alloc(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_10__", !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, !13, i64 0} !12 = !{!"TYPE_12__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !7, i64 16} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !7, i64 16} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_11__", !13, i64 0, !7, i64 8, !13, i64 16} !18 = !{!12, !13, i64 4} !19 = !{!17, !7, i64 8} !20 = !{!17, !13, i64 16} !21 = !{!12, !13, i64 12} !22 = !{!12, !13, i64 8} !23 = !{!24, !13, i64 0} !24 = !{!"TYPE_13__", !13, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/packetizer/extr_avparser.c_Packetize.c' source_filename = "AnghaBench/vlc/modules/packetizer/extr_avparser.c_Packetize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BLOCK_FLAG_CORRUPTED = common local_unnamed_addr global i32 0, align 4 @BLOCK_FLAG_TYPE_I = common local_unnamed_addr global i32 0, align 4 @VLC_TICK_INVALID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @Packetize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @Packetize(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = icmp eq ptr %1, null br i1 %6, label %79, label %7 7: ; preds = %2 %8 = load ptr, ptr %1, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %79, label %10 10: ; preds = %7 %11 = load i32, ptr %8, align 8, !tbaa !12 %12 = load i32, ptr @BLOCK_FLAG_CORRUPTED, align 4, !tbaa !15 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %10 %16 = tail call i32 @block_Release(ptr noundef nonnull %8) #3 br label %79 17: ; preds = %10 %18 = getelementptr inbounds i8, ptr %8, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = load i32, ptr %5, align 8, !tbaa !17 %21 = getelementptr inbounds i8, ptr %8, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !19 %23 = sub nsw i32 %22, %20 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %24 = icmp eq i32 %20, %23 br i1 %24, label %74, label %25 25: ; preds = %17 %26 = sext i32 %20 to i64 %27 = getelementptr inbounds i32, ptr %19, i64 %26 %28 = getelementptr inbounds i8, ptr %5, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !20 %30 = getelementptr inbounds i8, ptr %5, i64 16 %31 = load i32, ptr %30, align 8, !tbaa !21 %32 = getelementptr inbounds i8, ptr %8, i64 12 %33 = load i32, ptr %32, align 4, !tbaa !22 %34 = tail call i32 @TO_AV_TS(i32 noundef %33) #3 %35 = getelementptr inbounds i8, ptr %8, i64 8 %36 = load i32, ptr %35, align 8, !tbaa !23 %37 = tail call i32 @TO_AV_TS(i32 noundef %36) #3 %38 = call i64 @av_parser_parse2(ptr noundef %29, i32 noundef %31, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %27, i32 noundef %23, i32 noundef %34, i32 noundef %37, i32 noundef -1) #3 %39 = load i32, ptr %5, align 8, !tbaa !17 %40 = trunc i64 %38 to i32 %41 = add i32 %39, %40 store i32 %41, ptr %5, align 8, !tbaa !17 %42 = load i32, ptr %4, align 4, !tbaa !15 %43 = icmp slt i32 %42, 1 %44 = load ptr, ptr %3, align 8 %45 = icmp eq ptr %44, null %46 = select i1 %43, i1 true, i1 %45 %47 = zext i1 %46 to i32 %48 = call i64 @unlikely(i32 noundef %47) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %74 50: ; preds = %25 %51 = load i32, ptr %4, align 4, !tbaa !15 %52 = call ptr @block_Alloc(i32 noundef %51) #3 %53 = icmp eq ptr %52, null %54 = zext i1 %53 to i32 %55 = call i64 @unlikely(i32 noundef %54) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %74 57: ; preds = %50 %58 = getelementptr inbounds i8, ptr %52, i64 16 %59 = load ptr, ptr %58, align 8, !tbaa !16 %60 = load ptr, ptr %3, align 8, !tbaa !11 %61 = load i32, ptr %4, align 4, !tbaa !15 %62 = call i32 @memcpy(ptr noundef %59, ptr noundef %60, i32 noundef %61) #3 %63 = getelementptr inbounds i8, ptr %52, i64 8 %64 = load <2 x i32>, ptr %35, align 8, !tbaa !15 store <2 x i32> %64, ptr %63, align 8, !tbaa !15 %65 = load ptr, ptr %28, align 8, !tbaa !20 %66 = load i32, ptr %65, align 4, !tbaa !24 %67 = icmp eq i32 %66, 1 br i1 %67, label %68, label %72 68: ; preds = %57 %69 = load i32, ptr @BLOCK_FLAG_TYPE_I, align 4, !tbaa !15 %70 = load i32, ptr %52, align 8, !tbaa !12 %71 = or i32 %70, %69 store i32 %71, ptr %52, align 8, !tbaa !12 br label %72 72: ; preds = %68, %57 %73 = load i32, ptr @VLC_TICK_INVALID, align 4, !tbaa !15 store i32 %73, ptr %35, align 8, !tbaa !23 store i32 %73, ptr %32, align 4, !tbaa !22 br label %77 74: ; preds = %50, %25, %17 store i32 0, ptr %5, align 8, !tbaa !17 %75 = load ptr, ptr %1, align 8, !tbaa !11 %76 = call i32 @block_Release(ptr noundef %75) #3 store ptr null, ptr %1, align 8, !tbaa !11 br label %77 77: ; preds = %74, %72 %78 = phi ptr [ null, %74 ], [ %52, %72 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 br label %79 79: ; preds = %2, %7, %77, %15 %80 = phi ptr [ null, %15 ], [ %78, %77 ], [ null, %7 ], [ null, %2 ] ret ptr %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @block_Release(ptr noundef) local_unnamed_addr #2 declare i64 @av_parser_parse2(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TO_AV_TS(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare ptr @block_Alloc(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_10__", !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, !14, i64 0} !13 = !{!"TYPE_12__", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !8, i64 16} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !8, i64 16} !17 = !{!18, !14, i64 0} !18 = !{!"TYPE_11__", !14, i64 0, !8, i64 8, !14, i64 16} !19 = !{!13, !14, i64 4} !20 = !{!18, !8, i64 8} !21 = !{!18, !14, i64 16} !22 = !{!13, !14, i64 12} !23 = !{!13, !14, i64 8} !24 = !{!25, !14, i64 0} !25 = !{!"TYPE_13__", !14, i64 0}
vlc_modules_packetizer_extr_avparser.c_Packetize
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3d8/extr_surface.c_unsafe_impl_from_IDirect3DSurface8.c' source_filename = "AnghaBench/reactos/dll/directx/wine/d3d8/extr_surface.c_unsafe_impl_from_IDirect3DSurface8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @d3d8_surface_vtbl = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @unsafe_impl_from_IDirect3DSurface8(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %4, @d3d8_surface_vtbl %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = tail call ptr @impl_from_IDirect3DSurface8(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %1, %3 %10 = phi ptr [ %8, %3 ], [ null, %1 ] ret ptr %10 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @impl_from_IDirect3DSurface8(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3d8/extr_surface.c_unsafe_impl_from_IDirect3DSurface8.c' source_filename = "AnghaBench/reactos/dll/directx/wine/d3d8/extr_surface.c_unsafe_impl_from_IDirect3DSurface8.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @d3d8_surface_vtbl = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @unsafe_impl_from_IDirect3DSurface8(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %4, @d3d8_surface_vtbl %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = tail call ptr @impl_from_IDirect3DSurface8(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %1, %3 %10 = phi ptr [ %8, %3 ], [ null, %1 ] ret ptr %10 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @impl_from_IDirect3DSurface8(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
reactos_dll_directx_wine_d3d8_extr_surface.c_unsafe_impl_from_IDirect3DSurface8
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_pcidio.c_ni_pcidio_insn_bits.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_pcidio.c_ni_pcidio_insn_bits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ni_pcidio_insn_bits], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ni_pcidio_insn_bits(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 { %5 = tail call i64 @comedi_dio_update_state(ptr noundef %1, ptr noundef %3) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4 %8 = load i32, ptr %1, align 4, !tbaa !5 %9 = load i64, ptr %0, align 8, !tbaa !10 %10 = tail call i64 @PORT_IO(i32 noundef 0) #2 %11 = add nsw i64 %10, %9 %12 = tail call i32 @writel(i32 noundef %8, i64 noundef %11) #2 br label %13 13: ; preds = %7, %4 %14 = load i64, ptr %0, align 8, !tbaa !10 %15 = tail call i64 @PORT_IO(i32 noundef 0) #2 %16 = add nsw i64 %15, %14 %17 = tail call i32 @readl(i64 noundef %16) #2 %18 = getelementptr inbounds i32, ptr %3, i64 1 store i32 %17, ptr %18, align 4, !tbaa !13 %19 = load i32, ptr %2, align 4, !tbaa !14 ret i32 %19 } declare i64 @comedi_dio_update_state(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @PORT_IO(i32 noundef) local_unnamed_addr #1 declare i32 @readl(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 = !{!"comedi_subdevice", !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 = !{!"comedi_device", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"comedi_insn", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_pcidio.c_ni_pcidio_insn_bits.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_pcidio.c_ni_pcidio_insn_bits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ni_pcidio_insn_bits], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ni_pcidio_insn_bits(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 { %5 = tail call i64 @comedi_dio_update_state(ptr noundef %1, ptr noundef %3) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4 %8 = load i32, ptr %1, align 4, !tbaa !6 %9 = load i64, ptr %0, align 8, !tbaa !11 %10 = tail call i64 @PORT_IO(i32 noundef 0) #2 %11 = add nsw i64 %10, %9 %12 = tail call i32 @writel(i32 noundef %8, i64 noundef %11) #2 br label %13 13: ; preds = %7, %4 %14 = load i64, ptr %0, align 8, !tbaa !11 %15 = tail call i64 @PORT_IO(i32 noundef 0) #2 %16 = add nsw i64 %15, %14 %17 = tail call i32 @readl(i64 noundef %16) #2 %18 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %17, ptr %18, align 4, !tbaa !14 %19 = load i32, ptr %2, align 4, !tbaa !15 ret i32 %19 } declare i64 @comedi_dio_update_state(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @PORT_IO(i32 noundef) local_unnamed_addr #1 declare i32 @readl(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 = !{!"comedi_subdevice", !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 = !{!"comedi_device", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"comedi_insn", !8, i64 0}
linux_drivers_staging_comedi_drivers_extr_ni_pcidio.c_ni_pcidio_insn_bits
; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_hcd_probe.c' source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_hcd_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.platform_device = type { i32, i32, i32 } @.str = private unnamed_addr constant [15 x i8] c"name %s id %d\0A\00", align 1 @vhci_hc_driver = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"create primary hcd failed\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"usb_add_hcd hs failed %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"create shared hcd failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"usb_add_hcd ss failed %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"bye\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vhci_hcd_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vhci_hcd_probe(ptr noundef %0) #0 { %2 = tail call i64 @dev_get_platdata(ptr noundef %0) #3 %3 = inttoptr i64 %2 to ptr %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.platform_device, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = getelementptr inbounds %struct.platform_device, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = tail call i32 (ptr, ...) @usbip_dbg_vhci_hc(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8) #3 %10 = tail call i32 @dev_name(ptr noundef %0) #3 %11 = tail call ptr @usb_create_hcd(ptr noundef nonnull @vhci_hc_driver, ptr noundef %0, i32 noundef %10) #3 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %1 %14 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1) #3 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %16 = sub nsw i32 0, %15 br label %44 17: ; preds = %1 store i32 1, ptr %11, align 4, !tbaa !14 %18 = tail call i32 @usb_add_hcd(ptr noundef nonnull %11, i32 noundef 0, i32 noundef 0) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %17 %21 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2, i32 noundef %18) #3 br label %41 22: ; preds = %17 %23 = tail call i32 @dev_name(ptr noundef nonnull %0) #3 %24 = tail call ptr @usb_create_shared_hcd(ptr noundef nonnull @vhci_hc_driver, ptr noundef nonnull %0, i32 noundef %23, ptr noundef nonnull %11) #3 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %28 = sub nsw i32 0, %27 %29 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.3) #3 br label %38 30: ; preds = %22 %31 = tail call i32 @usb_add_hcd(ptr noundef nonnull %24, i32 noundef 0, i32 noundef 0) #3 %32 = icmp eq i32 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.4, i32 noundef %31) #3 %35 = tail call i32 @usb_put_hcd(ptr noundef nonnull %24) #3 br label %38 36: ; preds = %30 %37 = tail call i32 (ptr, ...) @usbip_dbg_vhci_hc(ptr noundef nonnull @.str.5) #3 br label %44 38: ; preds = %33, %26 %39 = phi i32 [ %31, %33 ], [ %28, %26 ] %40 = tail call i32 @usb_remove_hcd(ptr noundef nonnull %11) #3 br label %41 41: ; preds = %38, %20 %42 = phi i32 [ %18, %20 ], [ %39, %38 ] %43 = tail call i32 @usb_put_hcd(ptr noundef nonnull %11) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) br label %44 44: ; preds = %41, %36, %13 %45 = phi i32 [ %42, %41 ], [ 0, %36 ], [ %16, %13 ] ret i32 %45 } declare i64 @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare i32 @usbip_dbg_vhci_hc(ptr noundef, ...) local_unnamed_addr #1 declare ptr @usb_create_hcd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1 declare i32 @usb_add_hcd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @usb_create_shared_hcd(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_put_hcd(ptr noundef) local_unnamed_addr #1 declare i32 @usb_remove_hcd(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"platform_device", !11, i64 0, !11, i64 4, !11, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 4} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"usb_hcd", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_hcd_probe.c' source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_hcd_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [15 x i8] c"name %s id %d\0A\00", align 1 @vhci_hc_driver = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"create primary hcd failed\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"usb_add_hcd hs failed %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"create shared hcd failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"usb_add_hcd ss failed %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"bye\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vhci_hcd_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vhci_hcd_probe(ptr noundef %0) #0 { %2 = tail call i64 @dev_get_platdata(ptr noundef %0) #3 %3 = inttoptr i64 %2 to ptr %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = tail call i32 (ptr, ...) @usbip_dbg_vhci_hc(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8) #3 %10 = tail call i32 @dev_name(ptr noundef %0) #3 %11 = tail call ptr @usb_create_hcd(ptr noundef nonnull @vhci_hc_driver, ptr noundef %0, i32 noundef %10) #3 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %1 %14 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1) #3 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %16 = sub nsw i32 0, %15 br label %44 17: ; preds = %1 store i32 1, ptr %11, align 4, !tbaa !15 %18 = tail call i32 @usb_add_hcd(ptr noundef nonnull %11, i32 noundef 0, i32 noundef 0) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %17 %21 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2, i32 noundef %18) #3 br label %41 22: ; preds = %17 %23 = tail call i32 @dev_name(ptr noundef nonnull %0) #3 %24 = tail call ptr @usb_create_shared_hcd(ptr noundef nonnull @vhci_hc_driver, ptr noundef nonnull %0, i32 noundef %23, ptr noundef nonnull %11) #3 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %28 = sub nsw i32 0, %27 %29 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.3) #3 br label %38 30: ; preds = %22 %31 = tail call i32 @usb_add_hcd(ptr noundef nonnull %24, i32 noundef 0, i32 noundef 0) #3 %32 = icmp eq i32 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.4, i32 noundef %31) #3 %35 = tail call i32 @usb_put_hcd(ptr noundef nonnull %24) #3 br label %38 36: ; preds = %30 %37 = tail call i32 (ptr, ...) @usbip_dbg_vhci_hc(ptr noundef nonnull @.str.5) #3 br label %44 38: ; preds = %33, %26 %39 = phi i32 [ %31, %33 ], [ %28, %26 ] %40 = tail call i32 @usb_remove_hcd(ptr noundef nonnull %11) #3 br label %41 41: ; preds = %38, %20 %42 = phi i32 [ %18, %20 ], [ %39, %38 ] %43 = tail call i32 @usb_put_hcd(ptr noundef nonnull %11) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) br label %44 44: ; preds = %41, %36, %13 %45 = phi i32 [ %42, %41 ], [ 0, %36 ], [ %16, %13 ] ret i32 %45 } declare i64 @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare i32 @usbip_dbg_vhci_hc(ptr noundef, ...) local_unnamed_addr #1 declare ptr @usb_create_hcd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1 declare i32 @usb_add_hcd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @usb_create_shared_hcd(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_put_hcd(ptr noundef) local_unnamed_addr #1 declare i32 @usb_remove_hcd(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"platform_device", !12, i64 0, !12, i64 4, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 4} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"usb_hcd", !12, i64 0}
linux_drivers_usb_usbip_extr_vhci_hcd.c_vhci_hcd_probe
; ModuleID = 'AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_main.c_s_output.c' source_filename = "AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_main.c_s_output.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c".h\00", align 1 @fout = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"#include \22%s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"#include <rpc/rpc.h>\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"#include <stdio.h>\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"#include <stdlib.h> /* getenv, exit */\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"#include <rpc/pmap_clnt.h> /* for pmap_unset */\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"#include <string.h> /* strcmp */\0A\00", align 1 @tirpcflag = dso_local local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [26 x i8] c"#include <rpc/rpc_com.h>\0A\00", align 1 @svcclosetime = dso_local local_unnamed_addr global ptr null, align 8 @.str.8 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 @indefinitewait = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @exitnow = dso_local local_unnamed_addr global i32 0, align 4 @inetdflag = dso_local local_unnamed_addr global i64 0, align 8 @pmflag = dso_local local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [21 x i8] c"#include <signal.h>\0A\00", align 1 @timerflag = dso_local local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [41 x i8] c"#include <sys/ttycom.h> /* TIOCNOTTY */\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"#ifdef __cplusplus\0A\00", align 1 @.str.13 = private unnamed_addr constant [51 x i8] c"#include <sys/sysent.h> /* getdtablesize, open */\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c"#endif /* __cplusplus */\0A\00", align 1 @.str.15 = private unnamed_addr constant [31 x i8] c"#include <fcntl.h> /* open */\0A\00", align 1 @.str.16 = private unnamed_addr constant [41 x i8] c"#include <unistd.h> /* fork / setsid */\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"#include <sys/types.h>\0A\00", align 1 @.str.18 = private unnamed_addr constant [21 x i8] c"#include <string.h>\0A\00", align 1 @.str.19 = private unnamed_addr constant [25 x i8] c"#include <sys/socket.h>\0A\00", align 1 @.str.20 = private unnamed_addr constant [25 x i8] c"#include <netinet/in.h>\0A\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c"#include <netconfig.h>\0A\00", align 1 @.str.22 = private unnamed_addr constant [40 x i8] c"#include <sys/resource.h> /* rlimit */\0A\00", align 1 @logflag = dso_local local_unnamed_addr global i64 0, align 8 @.str.23 = private unnamed_addr constant [21 x i8] c"#include <syslog.h>\0A\00", align 1 @.str.24 = private unnamed_addr constant [41 x i8] c"\0A#ifdef DEBUG\0A#define\09RPC_SVC_FG\0A#endif\0A\00", align 1 @.str.25 = private unnamed_addr constant [31 x i8] c"\0A#define\09_RPCSVC_CLOSEDOWN %s\0A\00", align 1 @DEF_PROGRAM = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @s_output], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @s_output(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = tail call i32 @open_input(ptr noundef %2, ptr noundef %3) #3 %10 = icmp eq i32 %4, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call ptr @extendfile(ptr noundef %2, ptr noundef %5) #3 br label %13 13: ; preds = %8, %11 %14 = phi ptr [ %12, %11 ], [ %5, %8 ] %15 = tail call i32 @open_output(ptr noundef %2, ptr noundef %14) #3 %16 = tail call i32 (...) @add_warning() #3 %17 = icmp eq ptr %2, null br i1 %17, label %25, label %18 18: ; preds = %13 %19 = tail call ptr @extendfile(ptr noundef nonnull %2, ptr noundef nonnull @.str) #3 %20 = icmp eq ptr %19, null br i1 %20, label %25, label %21 21: ; preds = %18 %22 = load i32, ptr @fout, align 4, !tbaa !5 %23 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %22, ptr noundef nonnull @.str.1, ptr noundef nonnull %19) #3 %24 = tail call i32 @free(ptr noundef nonnull %19) #3 br label %28 25: ; preds = %18, %13 %26 = load i32, ptr @fout, align 4, !tbaa !5 %27 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %26, ptr noundef nonnull @.str.2) #3 br label %28 28: ; preds = %25, %21 %29 = load i32, ptr @fout, align 4, !tbaa !5 %30 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %29, ptr noundef nonnull @.str.3) #3 %31 = load i32, ptr @fout, align 4, !tbaa !5 %32 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %31, ptr noundef nonnull @.str.4) #3 %33 = load i32, ptr @fout, align 4, !tbaa !5 %34 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %33, ptr noundef nonnull @.str.5) #3 %35 = load i32, ptr @fout, align 4, !tbaa !5 %36 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %35, ptr noundef nonnull @.str.6) #3 %37 = load i64, ptr @tirpcflag, align 8, !tbaa !9 %38 = icmp eq i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %28 %40 = load i32, ptr @fout, align 4, !tbaa !5 %41 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %40, ptr noundef nonnull @.str.7) #3 br label %42 42: ; preds = %39, %28 %43 = load ptr, ptr @svcclosetime, align 8, !tbaa !11 %44 = tail call i64 @strcmp(ptr noundef %43, ptr noundef nonnull @.str.8) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %59, label %46 46: ; preds = %42 %47 = load ptr, ptr @svcclosetime, align 8, !tbaa !11 %48 = tail call i64 @strcmp(ptr noundef %47, ptr noundef nonnull @.str.9) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %59, label %50 50: ; preds = %46 %51 = load i64, ptr @inetdflag, align 8, !tbaa !9 %52 = icmp ne i64 %51, 0 %53 = load i64, ptr @pmflag, align 8 %54 = icmp ne i64 %53, 0 %55 = select i1 %52, i1 true, i1 %54 br i1 %55, label %56, label %61 56: ; preds = %50 %57 = load i32, ptr @fout, align 4, !tbaa !5 %58 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %57, ptr noundef nonnull @.str.10) #3 br label %59 59: ; preds = %46, %42, %56 %60 = phi ptr [ @timerflag, %56 ], [ @indefinitewait, %42 ], [ @exitnow, %46 ] store i32 1, ptr %60, align 4, !tbaa !5 br label %61 61: ; preds = %59, %50 %62 = load i64, ptr @tirpcflag, align 8, !tbaa !9 %63 = icmp eq i64 %62, 0 %64 = load i64, ptr @inetdflag, align 8 %65 = icmp ne i64 %64, 0 %66 = select i1 %63, i1 %65, i1 false br i1 %66, label %67, label %71 67: ; preds = %61 %68 = load i32, ptr @fout, align 4, !tbaa !5 %69 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %68, ptr noundef nonnull @.str.11) #3 %70 = load i64, ptr @inetdflag, align 8, !tbaa !9 br label %71 71: ; preds = %67, %61 %72 = phi i64 [ %70, %67 ], [ %64, %61 ] %73 = icmp ne i64 %72, 0 %74 = load i64, ptr @pmflag, align 8 %75 = icmp ne i64 %74, 0 %76 = select i1 %73, i1 true, i1 %75 br i1 %76, label %77, label %84 77: ; preds = %71 %78 = load i32, ptr @fout, align 4, !tbaa !5 %79 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %78, ptr noundef nonnull @.str.12) #3 %80 = load i32, ptr @fout, align 4, !tbaa !5 %81 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %80, ptr noundef nonnull @.str.13) #3 %82 = load i32, ptr @fout, align 4, !tbaa !5 %83 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %82, ptr noundef nonnull @.str.14) #3 br label %84 84: ; preds = %71, %77 %85 = load i64, ptr @tirpcflag, align 8, !tbaa !9 %86 = icmp eq i64 %85, 0 br i1 %86, label %94, label %87 87: ; preds = %84 %88 = load i32, ptr @fout, align 4, !tbaa !5 %89 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %88, ptr noundef nonnull @.str.15) #3 %90 = load i32, ptr @fout, align 4, !tbaa !5 %91 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %90, ptr noundef nonnull @.str.16) #3 %92 = load i32, ptr @fout, align 4, !tbaa !5 %93 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %92, ptr noundef nonnull @.str.17) #3 br label %94 94: ; preds = %87, %84 %95 = load i32, ptr @fout, align 4, !tbaa !5 %96 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %95, ptr noundef nonnull @.str.18) #3 %97 = load i64, ptr @inetdflag, align 8, !tbaa !9 %98 = icmp eq i64 %97, 0 %99 = load i64, ptr @tirpcflag, align 8 %100 = icmp ne i64 %99, 0 %101 = select i1 %98, i1 %100, i1 false br i1 %101, label %108, label %102 102: ; preds = %94 %103 = load i32, ptr @fout, align 4, !tbaa !5 %104 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %103, ptr noundef nonnull @.str.19) #3 %105 = load i32, ptr @fout, align 4, !tbaa !5 %106 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %105, ptr noundef nonnull @.str.20) #3 %107 = load i64, ptr @tirpcflag, align 8 br label %108 108: ; preds = %94, %102 %109 = phi i64 [ %99, %94 ], [ %107, %102 ] %110 = icmp eq i32 %7, 0 %111 = load i64, ptr @pmflag, align 8 %112 = icmp eq i64 %111, 0 %113 = select i1 %110, i1 %112, i1 false %114 = icmp eq i64 %109, 0 %115 = select i1 %113, i1 true, i1 %114 %116 = icmp ne i32 %6, 0 %117 = or i1 %116, %115 br i1 %117, label %122, label %118 118: ; preds = %108 %119 = load i32, ptr @fout, align 4, !tbaa !5 %120 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %119, ptr noundef nonnull @.str.21) #3 %121 = load i64, ptr @tirpcflag, align 8 br label %122 122: ; preds = %108, %118 %123 = phi i64 [ %109, %108 ], [ %121, %118 ] %124 = icmp eq i64 %123, 0 br i1 %124, label %130, label %125 125: ; preds = %122 %126 = load i32, ptr @fout, align 4, !tbaa !5 %127 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %126, ptr noundef nonnull @.str.22) #3 %128 = load i64, ptr @tirpcflag, align 8 %129 = icmp ne i64 %128, 0 br label %130 130: ; preds = %125, %122 %131 = phi i1 [ %129, %125 ], [ false, %122 ] %132 = load i64, ptr @logflag, align 8, !tbaa !9 %133 = icmp ne i64 %132, 0 %134 = load i64, ptr @inetdflag, align 8 %135 = icmp ne i64 %134, 0 %136 = select i1 %133, i1 true, i1 %135 %137 = load i64, ptr @pmflag, align 8 %138 = icmp ne i64 %137, 0 %139 = select i1 %136, i1 true, i1 %138 %140 = select i1 %139, i1 true, i1 %131 br i1 %140, label %141, label %144 141: ; preds = %130 %142 = load i32, ptr @fout, align 4, !tbaa !5 %143 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %142, ptr noundef nonnull @.str.23) #3 br label %144 144: ; preds = %130, %141 %145 = load i32, ptr @fout, align 4, !tbaa !5 %146 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %145, ptr noundef nonnull @.str.24) #3 %147 = load i32, ptr @timerflag, align 4, !tbaa !5 %148 = icmp eq i32 %147, 0 br i1 %148, label %153, label %149 149: ; preds = %144 %150 = load i32, ptr @fout, align 4, !tbaa !5 %151 = load ptr, ptr @svcclosetime, align 8, !tbaa !11 %152 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %150, ptr noundef nonnull @.str.25, ptr noundef %151) #3 br label %153 153: ; preds = %149, %144 %154 = tail call ptr (...) @get_definition() #3 %155 = icmp eq ptr %154, null br i1 %155, label %168, label %156 156: ; preds = %153, %156 %157 = phi ptr [ %164, %156 ], [ %154, %153 ] %158 = phi i32 [ %163, %156 ], [ 0, %153 ] %159 = load i64, ptr %157, align 8, !tbaa !13 %160 = load i64, ptr @DEF_PROGRAM, align 8, !tbaa !9 %161 = icmp eq i64 %159, %160 %162 = zext i1 %161 to i32 %163 = or i32 %158, %162 %164 = tail call ptr (...) @get_definition() #3 %165 = icmp eq ptr %164, null br i1 %165, label %166, label %156, !llvm.loop !15 166: ; preds = %156 %167 = icmp ne i32 %163, 0 br label %168 168: ; preds = %166, %153 %169 = phi i1 [ false, %153 ], [ %167, %166 ] %170 = select i1 %10, i1 true, i1 %169 br i1 %170, label %173, label %171 171: ; preds = %168 %172 = tail call i32 @unlink(ptr noundef %14) br label %186 173: ; preds = %168 %174 = tail call i32 @write_most(ptr noundef %2, i32 noundef %7, i32 noundef %6) #3 br i1 %116, label %186, label %175 175: ; preds = %173 %176 = tail call i32 @do_registers(i32 noundef %0, ptr noundef %1) #3 %177 = icmp eq i32 %176, 0 br i1 %177, label %178, label %184 178: ; preds = %175 %179 = icmp eq ptr %14, null br i1 %179, label %182, label %180 180: ; preds = %178 %181 = tail call i32 @unlink(ptr noundef nonnull %14) br label %182 182: ; preds = %180, %178 %183 = tail call i32 (...) @usage() #3 br label %184 184: ; preds = %182, %175 %185 = tail call i32 (...) @write_rest() #3 br label %186 186: ; preds = %173, %184, %171 ret void } declare i32 @open_input(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @extendfile(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @open_output(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_warning(...) local_unnamed_addr #1 declare i32 @f_print(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_definition(...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @write_most(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @do_registers(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usage(...) local_unnamed_addr #1 declare i32 @write_rest(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_3__", !10, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_main.c_s_output.c' source_filename = "AnghaBench/freebsd/usr.bin/rpcgen/extr_rpc_main.c_s_output.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [3 x i8] c".h\00", align 1 @fout = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"#include \22%s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"#include <rpc/rpc.h>\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"#include <stdio.h>\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"#include <stdlib.h> /* getenv, exit */\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"#include <rpc/pmap_clnt.h> /* for pmap_unset */\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"#include <string.h> /* strcmp */\0A\00", align 1 @tirpcflag = common local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [26 x i8] c"#include <rpc/rpc_com.h>\0A\00", align 1 @svcclosetime = common local_unnamed_addr global ptr null, align 8 @.str.8 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 @indefinitewait = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @exitnow = common local_unnamed_addr global i32 0, align 4 @inetdflag = common local_unnamed_addr global i64 0, align 8 @pmflag = common local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [21 x i8] c"#include <signal.h>\0A\00", align 1 @timerflag = common local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [41 x i8] c"#include <sys/ttycom.h> /* TIOCNOTTY */\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"#ifdef __cplusplus\0A\00", align 1 @.str.13 = private unnamed_addr constant [51 x i8] c"#include <sys/sysent.h> /* getdtablesize, open */\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c"#endif /* __cplusplus */\0A\00", align 1 @.str.15 = private unnamed_addr constant [31 x i8] c"#include <fcntl.h> /* open */\0A\00", align 1 @.str.16 = private unnamed_addr constant [41 x i8] c"#include <unistd.h> /* fork / setsid */\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"#include <sys/types.h>\0A\00", align 1 @.str.18 = private unnamed_addr constant [21 x i8] c"#include <string.h>\0A\00", align 1 @.str.19 = private unnamed_addr constant [25 x i8] c"#include <sys/socket.h>\0A\00", align 1 @.str.20 = private unnamed_addr constant [25 x i8] c"#include <netinet/in.h>\0A\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c"#include <netconfig.h>\0A\00", align 1 @.str.22 = private unnamed_addr constant [40 x i8] c"#include <sys/resource.h> /* rlimit */\0A\00", align 1 @logflag = common local_unnamed_addr global i64 0, align 8 @.str.23 = private unnamed_addr constant [21 x i8] c"#include <syslog.h>\0A\00", align 1 @.str.24 = private unnamed_addr constant [41 x i8] c"\0A#ifdef DEBUG\0A#define\09RPC_SVC_FG\0A#endif\0A\00", align 1 @.str.25 = private unnamed_addr constant [31 x i8] c"\0A#define\09_RPCSVC_CLOSEDOWN %s\0A\00", align 1 @DEF_PROGRAM = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @s_output], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @s_output(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = tail call i32 @open_input(ptr noundef %2, ptr noundef %3) #3 %10 = icmp eq i32 %4, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call ptr @extendfile(ptr noundef %2, ptr noundef %5) #3 br label %13 13: ; preds = %8, %11 %14 = phi ptr [ %12, %11 ], [ %5, %8 ] %15 = tail call i32 @open_output(ptr noundef %2, ptr noundef %14) #3 %16 = tail call i32 @add_warning() #3 %17 = icmp eq ptr %2, null br i1 %17, label %25, label %18 18: ; preds = %13 %19 = tail call ptr @extendfile(ptr noundef nonnull %2, ptr noundef nonnull @.str) #3 %20 = icmp eq ptr %19, null br i1 %20, label %25, label %21 21: ; preds = %18 %22 = load i32, ptr @fout, align 4, !tbaa !6 %23 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %22, ptr noundef nonnull @.str.1, ptr noundef nonnull %19) #3 %24 = tail call i32 @free(ptr noundef nonnull %19) #3 br label %28 25: ; preds = %18, %13 %26 = load i32, ptr @fout, align 4, !tbaa !6 %27 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %26, ptr noundef nonnull @.str.2) #3 br label %28 28: ; preds = %25, %21 %29 = load i32, ptr @fout, align 4, !tbaa !6 %30 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %29, ptr noundef nonnull @.str.3) #3 %31 = load i32, ptr @fout, align 4, !tbaa !6 %32 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %31, ptr noundef nonnull @.str.4) #3 %33 = load i32, ptr @fout, align 4, !tbaa !6 %34 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %33, ptr noundef nonnull @.str.5) #3 %35 = load i32, ptr @fout, align 4, !tbaa !6 %36 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %35, ptr noundef nonnull @.str.6) #3 %37 = load i64, ptr @tirpcflag, align 8, !tbaa !10 %38 = icmp eq i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %28 %40 = load i32, ptr @fout, align 4, !tbaa !6 %41 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %40, ptr noundef nonnull @.str.7) #3 br label %42 42: ; preds = %39, %28 %43 = load ptr, ptr @svcclosetime, align 8, !tbaa !12 %44 = tail call i64 @strcmp(ptr noundef %43, ptr noundef nonnull @.str.8) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %59, label %46 46: ; preds = %42 %47 = load ptr, ptr @svcclosetime, align 8, !tbaa !12 %48 = tail call i64 @strcmp(ptr noundef %47, ptr noundef nonnull @.str.9) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %59, label %50 50: ; preds = %46 %51 = load i64, ptr @inetdflag, align 8, !tbaa !10 %52 = icmp ne i64 %51, 0 %53 = load i64, ptr @pmflag, align 8 %54 = icmp ne i64 %53, 0 %55 = select i1 %52, i1 true, i1 %54 br i1 %55, label %56, label %61 56: ; preds = %50 %57 = load i32, ptr @fout, align 4, !tbaa !6 %58 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %57, ptr noundef nonnull @.str.10) #3 br label %59 59: ; preds = %46, %42, %56 %60 = phi ptr [ @timerflag, %56 ], [ @indefinitewait, %42 ], [ @exitnow, %46 ] store i32 1, ptr %60, align 4, !tbaa !6 br label %61 61: ; preds = %59, %50 %62 = load i64, ptr @tirpcflag, align 8, !tbaa !10 %63 = icmp eq i64 %62, 0 %64 = load i64, ptr @inetdflag, align 8 %65 = icmp ne i64 %64, 0 %66 = select i1 %63, i1 %65, i1 false br i1 %66, label %67, label %71 67: ; preds = %61 %68 = load i32, ptr @fout, align 4, !tbaa !6 %69 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %68, ptr noundef nonnull @.str.11) #3 %70 = load i64, ptr @inetdflag, align 8, !tbaa !10 br label %71 71: ; preds = %67, %61 %72 = phi i64 [ %70, %67 ], [ %64, %61 ] %73 = icmp ne i64 %72, 0 %74 = load i64, ptr @pmflag, align 8 %75 = icmp ne i64 %74, 0 %76 = select i1 %73, i1 true, i1 %75 br i1 %76, label %77, label %84 77: ; preds = %71 %78 = load i32, ptr @fout, align 4, !tbaa !6 %79 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %78, ptr noundef nonnull @.str.12) #3 %80 = load i32, ptr @fout, align 4, !tbaa !6 %81 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %80, ptr noundef nonnull @.str.13) #3 %82 = load i32, ptr @fout, align 4, !tbaa !6 %83 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %82, ptr noundef nonnull @.str.14) #3 br label %84 84: ; preds = %71, %77 %85 = load i64, ptr @tirpcflag, align 8, !tbaa !10 %86 = icmp eq i64 %85, 0 br i1 %86, label %94, label %87 87: ; preds = %84 %88 = load i32, ptr @fout, align 4, !tbaa !6 %89 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %88, ptr noundef nonnull @.str.15) #3 %90 = load i32, ptr @fout, align 4, !tbaa !6 %91 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %90, ptr noundef nonnull @.str.16) #3 %92 = load i32, ptr @fout, align 4, !tbaa !6 %93 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %92, ptr noundef nonnull @.str.17) #3 br label %94 94: ; preds = %87, %84 %95 = load i32, ptr @fout, align 4, !tbaa !6 %96 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %95, ptr noundef nonnull @.str.18) #3 %97 = load i64, ptr @inetdflag, align 8, !tbaa !10 %98 = icmp eq i64 %97, 0 %99 = load i64, ptr @tirpcflag, align 8 %100 = icmp ne i64 %99, 0 %101 = select i1 %98, i1 %100, i1 false br i1 %101, label %108, label %102 102: ; preds = %94 %103 = load i32, ptr @fout, align 4, !tbaa !6 %104 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %103, ptr noundef nonnull @.str.19) #3 %105 = load i32, ptr @fout, align 4, !tbaa !6 %106 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %105, ptr noundef nonnull @.str.20) #3 %107 = load i64, ptr @tirpcflag, align 8 br label %108 108: ; preds = %94, %102 %109 = phi i64 [ %99, %94 ], [ %107, %102 ] %110 = icmp eq i32 %7, 0 %111 = load i64, ptr @pmflag, align 8 %112 = icmp eq i64 %111, 0 %113 = select i1 %110, i1 %112, i1 false %114 = icmp eq i64 %109, 0 %115 = select i1 %113, i1 true, i1 %114 %116 = icmp ne i32 %6, 0 %117 = or i1 %116, %115 br i1 %117, label %122, label %118 118: ; preds = %108 %119 = load i32, ptr @fout, align 4, !tbaa !6 %120 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %119, ptr noundef nonnull @.str.21) #3 %121 = load i64, ptr @tirpcflag, align 8 br label %122 122: ; preds = %108, %118 %123 = phi i64 [ %109, %108 ], [ %121, %118 ] %124 = icmp eq i64 %123, 0 br i1 %124, label %130, label %125 125: ; preds = %122 %126 = load i32, ptr @fout, align 4, !tbaa !6 %127 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %126, ptr noundef nonnull @.str.22) #3 %128 = load i64, ptr @tirpcflag, align 8 %129 = icmp ne i64 %128, 0 br label %130 130: ; preds = %125, %122 %131 = phi i1 [ %129, %125 ], [ false, %122 ] %132 = load i64, ptr @logflag, align 8, !tbaa !10 %133 = icmp ne i64 %132, 0 %134 = load i64, ptr @inetdflag, align 8 %135 = icmp ne i64 %134, 0 %136 = select i1 %133, i1 true, i1 %135 %137 = load i64, ptr @pmflag, align 8 %138 = icmp ne i64 %137, 0 %139 = select i1 %136, i1 true, i1 %138 %140 = select i1 %139, i1 true, i1 %131 br i1 %140, label %141, label %144 141: ; preds = %130 %142 = load i32, ptr @fout, align 4, !tbaa !6 %143 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %142, ptr noundef nonnull @.str.23) #3 br label %144 144: ; preds = %130, %141 %145 = load i32, ptr @fout, align 4, !tbaa !6 %146 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %145, ptr noundef nonnull @.str.24) #3 %147 = load i32, ptr @timerflag, align 4, !tbaa !6 %148 = icmp eq i32 %147, 0 br i1 %148, label %153, label %149 149: ; preds = %144 %150 = load i32, ptr @fout, align 4, !tbaa !6 %151 = load ptr, ptr @svcclosetime, align 8, !tbaa !12 %152 = tail call i32 (i32, ptr, ...) @f_print(i32 noundef %150, ptr noundef nonnull @.str.25, ptr noundef %151) #3 br label %153 153: ; preds = %149, %144 %154 = tail call ptr @get_definition() #3 %155 = icmp eq ptr %154, null br i1 %155, label %168, label %156 156: ; preds = %153, %156 %157 = phi ptr [ %164, %156 ], [ %154, %153 ] %158 = phi i32 [ %163, %156 ], [ 0, %153 ] %159 = load i64, ptr %157, align 8, !tbaa !14 %160 = load i64, ptr @DEF_PROGRAM, align 8, !tbaa !10 %161 = icmp eq i64 %159, %160 %162 = zext i1 %161 to i32 %163 = or i32 %158, %162 %164 = tail call ptr @get_definition() #3 %165 = icmp eq ptr %164, null br i1 %165, label %166, label %156, !llvm.loop !16 166: ; preds = %156 %167 = icmp ne i32 %163, 0 br label %168 168: ; preds = %166, %153 %169 = phi i1 [ false, %153 ], [ %167, %166 ] %170 = select i1 %10, i1 true, i1 %169 br i1 %170, label %173, label %171 171: ; preds = %168 %172 = tail call i32 @unlink(ptr noundef %14) br label %186 173: ; preds = %168 %174 = tail call i32 @write_most(ptr noundef %2, i32 noundef %7, i32 noundef %6) #3 br i1 %116, label %186, label %175 175: ; preds = %173 %176 = tail call i32 @do_registers(i32 noundef %0, ptr noundef %1) #3 %177 = icmp eq i32 %176, 0 br i1 %177, label %178, label %184 178: ; preds = %175 %179 = icmp eq ptr %14, null br i1 %179, label %182, label %180 180: ; preds = %178 %181 = tail call i32 @unlink(ptr noundef nonnull %14) br label %182 182: ; preds = %180, %178 %183 = tail call i32 @usage() #3 br label %184 184: ; preds = %182, %175 %185 = tail call i32 @write_rest() #3 br label %186 186: ; preds = %173, %184, %171 ret void } declare i32 @open_input(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @extendfile(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @open_output(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_warning(...) local_unnamed_addr #1 declare i32 @f_print(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_definition(...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @write_most(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @do_registers(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usage(...) local_unnamed_addr #1 declare i32 @write_rest(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_3__", !11, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
freebsd_usr.bin_rpcgen_extr_rpc_main.c_s_output
; ModuleID = 'AnghaBench/jerryscript/tests/unit-core/extr_test-api.c_foreach_subset.c' source_filename = "AnghaBench/jerryscript/tests/unit-core/extr_test-api.c_foreach_subset.c" target datalayout = "e-m:e-p270:32:32-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 @foreach_subset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @foreach_subset(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call i32 @JERRY_UNUSED(i32 noundef %0) #2 %5 = tail call i32 @JERRY_UNUSED(i32 noundef %1) #2 %6 = load i32, ptr %2, align 4, !tbaa !5 %7 = icmp eq i32 %6, 3 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = add nsw i32 %6, 1 store i32 %9, ptr %2, align 4, !tbaa !5 br label %10 10: ; preds = %3, %8 %11 = phi i32 [ 1, %8 ], [ 0, %3 ] ret i32 %11 } declare i32 @JERRY_UNUSED(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/jerryscript/tests/unit-core/extr_test-api.c_foreach_subset.c' source_filename = "AnghaBench/jerryscript/tests/unit-core/extr_test-api.c_foreach_subset.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 @foreach_subset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @foreach_subset(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call i32 @JERRY_UNUSED(i32 noundef %0) #2 %5 = tail call i32 @JERRY_UNUSED(i32 noundef %1) #2 %6 = load i32, ptr %2, align 4, !tbaa !6 %7 = icmp eq i32 %6, 3 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = add nsw i32 %6, 1 store i32 %9, ptr %2, align 4, !tbaa !6 br label %10 10: ; preds = %3, %8 %11 = phi i32 [ 1, %8 ], [ 0, %3 ] ret i32 %11 } declare i32 @JERRY_UNUSED(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"}
jerryscript_tests_unit-core_extr_test-api.c_foreach_subset
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lua.c_print_usage.c' source_filename = "AnghaBench/skynet/3rd/lua/extr_lua.c_print_usage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @progname = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"'%s' needs argument\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"unrecognized option '%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [365 x i8] c"usage: %s [options] [script [args]]\0AAvailable options are:\0A -e stat execute string 'stat'\0A -i enter interactive mode after executing 'script'\0A -l name require library 'name' into global 'name'\0A -v show version information\0A -E ignore environment variables\0A -- stop handling options\0A - stop handling options and execute stdin\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_usage], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_usage(ptr noundef %0) #0 { %2 = load ptr, ptr @progname, align 8, !tbaa !5 %3 = tail call i32 @lua_writestringerror(ptr noundef nonnull @.str, ptr noundef %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 1 %5 = load i8, ptr %4, align 1, !tbaa !9 %6 = icmp eq i8 %5, 101 %7 = icmp eq i8 %5, 108 %8 = or i1 %6, %7 %9 = select i1 %8, ptr @.str.1, ptr @.str.2 %10 = tail call i32 @lua_writestringerror(ptr noundef nonnull %9, ptr noundef nonnull %0) #2 %11 = load ptr, ptr @progname, align 8, !tbaa !5 %12 = tail call i32 @lua_writestringerror(ptr noundef nonnull @.str.3, ptr noundef %11) #2 ret void } declare i32 @lua_writestringerror(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lua.c_print_usage.c' source_filename = "AnghaBench/skynet/3rd/lua/extr_lua.c_print_usage.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"%s: \00", align 1 @progname = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"'%s' needs argument\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"unrecognized option '%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [365 x i8] c"usage: %s [options] [script [args]]\0AAvailable options are:\0A -e stat execute string 'stat'\0A -i enter interactive mode after executing 'script'\0A -l name require library 'name' into global 'name'\0A -v show version information\0A -E ignore environment variables\0A -- stop handling options\0A - stop handling options and execute stdin\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_usage], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_usage(ptr noundef %0) #0 { %2 = load ptr, ptr @progname, align 8, !tbaa !6 %3 = tail call i32 @lua_writestringerror(ptr noundef nonnull @.str, ptr noundef %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 1 %5 = load i8, ptr %4, align 1, !tbaa !10 %6 = icmp eq i8 %5, 101 %7 = icmp eq i8 %5, 108 %8 = or i1 %6, %7 %9 = select i1 %8, ptr @.str.1, ptr @.str.2 %10 = tail call i32 @lua_writestringerror(ptr noundef nonnull %9, ptr noundef nonnull %0) #2 %11 = load ptr, ptr @progname, align 8, !tbaa !6 %12 = tail call i32 @lua_writestringerror(ptr noundef nonnull @.str.3, ptr noundef %11) #2 ret void } declare i32 @lua_writestringerror(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
skynet_3rd_lua_extr_lua.c_print_usage
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_interrupt.c_beatic_pic_host_match.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_interrupt.c_beatic_pic_host_match.c" target datalayout = "e-m:e-p270:32:32-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 @beatic_pic_host_match], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @beatic_pic_host_match(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_interrupt.c_beatic_pic_host_match.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_interrupt.c_beatic_pic_host_match.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 @beatic_pic_host_match], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @beatic_pic_host_match(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_powerpc_platforms_cell_extr_beat_interrupt.c_beatic_pic_host_match
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/sgi-ip27/extr_ip27-irq.c_shutdown_bridge_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/sgi-ip27/extr_ip27-irq.c_shutdown_bridge_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"bridge_shutdown: irq 0x%x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @shutdown_bridge_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @shutdown_bridge_irq(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @IRQ_TO_BRIDGE(i32 noundef %0) #3 %4 = load ptr, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %0) #3 %6 = tail call i32 @SLOT_FROM_PCI_IRQ(i32 noundef %0) #3 %7 = call i32 @find_level(ptr noundef nonnull %2, i32 noundef %0) #3 %8 = load i32, ptr %2, align 4, !tbaa !10 %9 = call i32 @intr_disconnect_level(i32 noundef %8, i32 noundef %7) #3 %10 = shl nuw i32 1, %6 %11 = xor i32 %10, -1 %12 = load i32, ptr %4, align 4, !tbaa !12 %13 = and i32 %12, %11 store i32 %13, ptr %4, align 4, !tbaa !12 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @IRQ_TO_BRIDGE(i32 noundef) local_unnamed_addr #2 declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SLOT_FROM_PCI_IRQ(i32 noundef) local_unnamed_addr #2 declare i32 @find_level(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @intr_disconnect_level(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bridge_controller", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/sgi-ip27/extr_ip27-irq.c_shutdown_bridge_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/sgi-ip27/extr_ip27-irq.c_shutdown_bridge_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [27 x i8] c"bridge_shutdown: irq 0x%x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @shutdown_bridge_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @shutdown_bridge_irq(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @IRQ_TO_BRIDGE(i32 noundef %0) #3 %4 = load ptr, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %0) #3 %6 = tail call i32 @SLOT_FROM_PCI_IRQ(i32 noundef %0) #3 %7 = call i32 @find_level(ptr noundef nonnull %2, i32 noundef %0) #3 %8 = load i32, ptr %2, align 4, !tbaa !11 %9 = call i32 @intr_disconnect_level(i32 noundef %8, i32 noundef %7) #3 %10 = shl nuw i32 1, %6 %11 = xor i32 %10, -1 %12 = load i32, ptr %4, align 4, !tbaa !13 %13 = and i32 %12, %11 store i32 %13, ptr %4, align 4, !tbaa !13 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @IRQ_TO_BRIDGE(i32 noundef) local_unnamed_addr #2 declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SLOT_FROM_PCI_IRQ(i32 noundef) local_unnamed_addr #2 declare i32 @find_level(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @intr_disconnect_level(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bridge_controller", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0, !12, i64 4}
fastsocket_kernel_arch_mips_sgi-ip27_extr_ip27-irq.c_shutdown_bridge_irq
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/net/extr_udpgso.c_main.c' source_filename = "AnghaBench/linux/tools/testing/selftests/net/extr_udpgso.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" @cfg_do_ipv4 = dso_local local_unnamed_addr global i64 0, align 8 @cfg_do_ipv6 = dso_local local_unnamed_addr global i64 0, align 8 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = 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 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @parse_opts(i32 noundef %0, ptr noundef %1) #2 %4 = load i64, ptr @cfg_do_ipv4, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 (...) @run_test_v4() #2 br label %8 8: ; preds = %6, %2 %9 = load i64, ptr @cfg_do_ipv6, align 8, !tbaa !5 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 (...) @run_test_v6() #2 br label %13 13: ; preds = %11, %8 %14 = load i32, ptr @stderr, align 4, !tbaa !9 %15 = tail call i32 @fprintf(i32 noundef %14, ptr noundef nonnull @.str) #2 ret i32 0 } declare i32 @parse_opts(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @run_test_v4(...) local_unnamed_addr #1 declare i32 @run_test_v6(...) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/net/extr_udpgso.c_main.c' source_filename = "AnghaBench/linux/tools/testing/selftests/net/extr_udpgso.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cfg_do_ipv4 = common local_unnamed_addr global i64 0, align 8 @cfg_do_ipv6 = common local_unnamed_addr global i64 0, align 8 @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @parse_opts(i32 noundef %0, ptr noundef %1) #2 %4 = load i64, ptr @cfg_do_ipv4, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @run_test_v4() #2 br label %8 8: ; preds = %6, %2 %9 = load i64, ptr @cfg_do_ipv6, align 8, !tbaa !6 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 @run_test_v6() #2 br label %13 13: ; preds = %11, %8 %14 = load i32, ptr @stderr, align 4, !tbaa !10 %15 = tail call i32 @fprintf(i32 noundef %14, ptr noundef nonnull @.str) #2 ret i32 0 } declare i32 @parse_opts(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @run_test_v4(...) local_unnamed_addr #1 declare i32 @run_test_v6(...) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
linux_tools_testing_selftests_net_extr_udpgso.c_main
; ModuleID = 'AnghaBench/linux/drivers/cpuidle/extr_driver.c___cpuidle_register_driver.c' source_filename = "AnghaBench/linux/drivers/cpuidle/extr_driver.c___cpuidle_register_driver.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cpuidle_driver = type { i32, i64, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @cpuidle_setup_broadcast_timer = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__cpuidle_register_driver], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__cpuidle_register_driver(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %7, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.cpuidle_driver, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3, %1 %8 = load i32, ptr @EINVAL, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 br label %31 10: ; preds = %3 %11 = tail call i32 @cpuidle_coupled_state_verify(ptr noundef nonnull %0) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %31 13: ; preds = %10 %14 = tail call i64 (...) @cpuidle_disabled() #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr @ENODEV, align 4, !tbaa !11 %18 = sub nsw i32 0, %17 br label %31 19: ; preds = %13 %20 = tail call i32 @__cpuidle_driver_init(ptr noundef nonnull %0) #2 %21 = tail call i32 @__cpuidle_set_driver(ptr noundef nonnull %0) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %19 %24 = getelementptr inbounds %struct.cpuidle_driver, ptr %0, i64 0, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !12 %26 = icmp eq i64 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %23 %28 = load i32, ptr %0, align 8, !tbaa !13 %29 = load i32, ptr @cpuidle_setup_broadcast_timer, align 4, !tbaa !11 %30 = tail call i32 @on_each_cpu_mask(i32 noundef %28, i32 noundef %29, ptr noundef nonnull inttoptr (i64 1 to ptr), i32 noundef 1) #2 br label %31 31: ; preds = %23, %27, %19, %10, %16, %7 %32 = phi i32 [ %18, %16 ], [ %9, %7 ], [ %11, %10 ], [ %21, %19 ], [ 0, %27 ], [ 0, %23 ] ret i32 %32 } declare i32 @cpuidle_coupled_state_verify(ptr noundef) local_unnamed_addr #1 declare i64 @cpuidle_disabled(...) local_unnamed_addr #1 declare i32 @__cpuidle_driver_init(ptr noundef) local_unnamed_addr #1 declare i32 @__cpuidle_set_driver(ptr noundef) local_unnamed_addr #1 declare i32 @on_each_cpu_mask(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, !7, i64 16} !6 = !{!"cpuidle_driver", !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 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/cpuidle/extr_driver.c___cpuidle_register_driver.c' source_filename = "AnghaBench/linux/drivers/cpuidle/extr_driver.c___cpuidle_register_driver.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 @ENODEV = common local_unnamed_addr global i32 0, align 4 @cpuidle_setup_broadcast_timer = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__cpuidle_register_driver], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__cpuidle_register_driver(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %7, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3, %1 %8 = load i32, ptr @EINVAL, align 4, !tbaa !12 %9 = sub nsw i32 0, %8 br label %31 10: ; preds = %3 %11 = tail call i32 @cpuidle_coupled_state_verify(ptr noundef nonnull %0) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %31 13: ; preds = %10 %14 = tail call i64 @cpuidle_disabled() #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr @ENODEV, align 4, !tbaa !12 %18 = sub nsw i32 0, %17 br label %31 19: ; preds = %13 %20 = tail call i32 @__cpuidle_driver_init(ptr noundef nonnull %0) #2 %21 = tail call i32 @__cpuidle_set_driver(ptr noundef nonnull %0) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load i64, ptr %24, align 8, !tbaa !13 %26 = icmp eq i64 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %23 %28 = load i32, ptr %0, align 8, !tbaa !14 %29 = load i32, ptr @cpuidle_setup_broadcast_timer, align 4, !tbaa !12 %30 = tail call i32 @on_each_cpu_mask(i32 noundef %28, i32 noundef %29, ptr noundef nonnull inttoptr (i64 1 to ptr), i32 noundef 1) #2 br label %31 31: ; preds = %23, %27, %19, %10, %16, %7 %32 = phi i32 [ %18, %16 ], [ %9, %7 ], [ %11, %10 ], [ %21, %19 ], [ 0, %27 ], [ 0, %23 ] ret i32 %32 } declare i32 @cpuidle_coupled_state_verify(ptr noundef) local_unnamed_addr #1 declare i64 @cpuidle_disabled(...) local_unnamed_addr #1 declare i32 @__cpuidle_driver_init(ptr noundef) local_unnamed_addr #1 declare i32 @__cpuidle_set_driver(ptr noundef) local_unnamed_addr #1 declare i32 @on_each_cpu_mask(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, !8, i64 16} !7 = !{!"cpuidle_driver", !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 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 0}
linux_drivers_cpuidle_extr_driver.c___cpuidle_register_driver
; ModuleID = 'AnghaBench/netdata/tests/profile/extr_benchmark-value-pairs.c_arl_strtoull.c' source_filename = "AnghaBench/netdata/tests/profile/extr_benchmark-value-pairs.c_arl_strtoull.c" target datalayout = "e-m:e-p270:32:32-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 nounwind willreturn uwtable define dso_local void @arl_strtoull(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = tail call i64 @strtoull(ptr nocapture noundef %2, ptr noundef null, i32 noundef 10) store i64 %5, ptr %3, align 8, !tbaa !5 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtoull(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind willreturn uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/netdata/tests/profile/extr_benchmark-value-pairs.c_arl_strtoull.c' source_filename = "AnghaBench/netdata/tests/profile/extr_benchmark-value-pairs.c_arl_strtoull.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 nounwind ssp willreturn uwtable(sync) define void @arl_strtoull(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = tail call i64 @strtoull(ptr nocapture noundef %2, ptr noundef null, i32 noundef 10) store i64 %5, ptr %3, align 8, !tbaa !6 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtoull(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind ssp willreturn uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
netdata_tests_profile_extr_benchmark-value-pairs.c_arl_strtoull
; ModuleID = 'AnghaBench/freebsd/usr.sbin/pw/extr_psdate.c_parse_date.c' source_filename = "AnghaBench/freebsd/usr.sbin/pw/extr_psdate.c_parse_date.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tm = type { i32, i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"(+-\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i64 @parse_date(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 16 store i64 %0, ptr %3, align 8, !tbaa !5 store ptr %1, ptr %4, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %7 = icmp eq i64 %0, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = tail call i64 @time(ptr noundef null) #4 store i64 %9, ptr %3, align 8, !tbaa !5 br label %10 10: ; preds = %8, %2 %11 = load i8, ptr %1, align 1, !tbaa !11 %12 = icmp eq i8 %11, 0 br i1 %12, label %28, label %13 13: ; preds = %10 %14 = load ptr, ptr %4, align 8, !tbaa !9 %15 = tail call i64 @isspace(i8 noundef zeroext %11) #4 %16 = icmp eq i64 %15, 0 br i1 %16, label %25, label %20 17: ; preds = %20 %18 = tail call i64 @isspace(i8 noundef zeroext %23) #4 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20, !llvm.loop !12 20: ; preds = %13, %17 %21 = phi ptr [ %22, %17 ], [ %1, %13 ] %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i8, ptr %22, align 1, !tbaa !11 %24 = icmp eq i8 %23, 0 br i1 %24, label %25, label %17, !llvm.loop !12 25: ; preds = %17, %20, %13 %26 = phi ptr [ %14, %13 ], [ %22, %20 ], [ %22, %17 ] %27 = phi ptr [ %1, %13 ], [ %22, %20 ], [ %22, %17 ] store ptr %26, ptr %4, align 8, !tbaa !9 br label %28 28: ; preds = %25, %10 %29 = phi ptr [ %1, %10 ], [ %27, %25 ] %30 = tail call i64 @numerics(ptr noundef nonnull %29) #4 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %28 %33 = call i64 @strtol(ptr noundef nonnull %29, ptr noundef nonnull %5, i32 noundef 0) store i64 %33, ptr %3, align 8, !tbaa !5 br label %116 34: ; preds = %28 %35 = load i8, ptr %29, align 1, !tbaa !11 switch i8 %35, label %80 [ i8 43, label %36 i8 45, label %36 ] 36: ; preds = %34, %34 %37 = call i64 @strtol(ptr noundef nonnull %29, ptr noundef nonnull %5, i32 noundef 0) %38 = load ptr, ptr %5, align 8, !tbaa !9 %39 = load i8, ptr %38, align 1, !tbaa !11 switch i8 %39, label %116 [ i8 104, label %40 i8 72, label %40 i8 0, label %44 i8 109, label %44 i8 77, label %44 i8 115, label %48 i8 83, label %48 i8 100, label %51 i8 68, label %51 i8 119, label %55 i8 87, label %55 i8 111, label %59 i8 79, label %59 i8 121, label %61 i8 89, label %61 ] 40: ; preds = %36, %36 %41 = mul nsw i64 %37, 3600 %42 = load i64, ptr %3, align 8, !tbaa !5 %43 = add nsw i64 %42, %41 store i64 %43, ptr %3, align 8, !tbaa !5 br label %116 44: ; preds = %36, %36, %36 %45 = mul nsw i64 %37, 60 %46 = load i64, ptr %3, align 8, !tbaa !5 %47 = add nsw i64 %46, %45 store i64 %47, ptr %3, align 8, !tbaa !5 br label %116 48: ; preds = %36, %36 %49 = load i64, ptr %3, align 8, !tbaa !5 %50 = add nsw i64 %49, %37 store i64 %50, ptr %3, align 8, !tbaa !5 br label %116 51: ; preds = %36, %36 %52 = mul nsw i64 %37, 86400 %53 = load i64, ptr %3, align 8, !tbaa !5 %54 = add nsw i64 %53, %52 store i64 %54, ptr %3, align 8, !tbaa !5 br label %116 55: ; preds = %36, %36 %56 = mul nsw i64 %37, 604800 %57 = load i64, ptr %3, align 8, !tbaa !5 %58 = add nsw i64 %57, %56 store i64 %58, ptr %3, align 8, !tbaa !5 br label %116 59: ; preds = %36, %36 %60 = call ptr @localtime(ptr noundef nonnull %3) #4 br label %64 61: ; preds = %36, %36 %62 = call ptr @localtime(ptr noundef nonnull %3) #4 %63 = getelementptr inbounds %struct.tm, ptr %62, i64 0, i32 2 br label %64 64: ; preds = %61, %59 %65 = phi ptr [ %63, %61 ], [ %60, %59 ] %66 = phi ptr [ %62, %61 ], [ %60, %59 ] %67 = trunc i64 %37 to i32 %68 = load i32, ptr %65, align 4, !tbaa !14 %69 = add nsw i32 %68, %67 store i32 %69, ptr %65, align 4, !tbaa !14 %70 = getelementptr inbounds %struct.tm, ptr %66, i64 0, i32 1 %71 = load i32, ptr %70, align 4, !tbaa !16 %72 = call i64 @mktime(ptr noundef nonnull %66) store i64 %72, ptr %3, align 8, !tbaa !5 %73 = call ptr @localtime(ptr noundef nonnull %3) #4 %74 = getelementptr inbounds %struct.tm, ptr %73, i64 0, i32 1 %75 = load i32, ptr %74, align 4, !tbaa !16 %76 = icmp eq i32 %75, %71 br i1 %76, label %116, label %77 77: ; preds = %64 store i32 1, ptr %74, align 4, !tbaa !16 %78 = call i64 @mktime(ptr noundef nonnull %73) %79 = add nsw i64 %78, -86400 store i64 %79, ptr %3, align 8, !tbaa !5 br label %116 80: ; preds = %34 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4 %81 = call i32 @weekday(ptr noundef nonnull %4) #4 %82 = load ptr, ptr %4, align 8, !tbaa !9 %83 = call i32 @strlcpy(ptr noundef nonnull %6, ptr noundef %82, i32 noundef 64) #4 store ptr %6, ptr %4, align 8, !tbaa !9 %84 = call ptr @localtime(ptr noundef nonnull %3) #4 %85 = call ptr @strrchr(ptr noundef nonnull %6, i8 noundef signext 32) #4 %86 = icmp eq ptr %85, null br i1 %86, label %113, label %87 87: ; preds = %80, %110 %88 = phi ptr [ %111, %110 ], [ %85, %80 ] %89 = getelementptr inbounds i8, ptr %88, i64 1 %90 = load i8, ptr %89, align 1, !tbaa !11 %91 = call ptr @strchr(ptr noundef nonnull @.str, i8 noundef signext %90) #4 %92 = icmp eq ptr %91, null br i1 %92, label %93, label %110 93: ; preds = %87 %94 = load i8, ptr %89, align 1, !tbaa !11 %95 = icmp eq i8 %94, 0 br i1 %95, label %110, label %101 96: ; preds = %101 %97 = add nuw i64 %102, 1 %98 = getelementptr inbounds i8, ptr %88, i64 %97 %99 = load i8, ptr %98, align 1, !tbaa !11 %100 = icmp eq i8 %99, 0 br i1 %100, label %110, label %101, !llvm.loop !18 101: ; preds = %93, %96 %102 = phi i64 [ %97, %96 ], [ 1, %93 ] %103 = phi i8 [ %99, %96 ], [ %94, %93 ] %104 = call i64 @isupper(i8 noundef zeroext %103) #4 %105 = icmp eq i64 %104, 0 br i1 %105, label %106, label %96 106: ; preds = %101 %107 = getelementptr inbounds i8, ptr %88, i64 %102 %108 = load i8, ptr %107, align 1, !tbaa !11 %109 = icmp eq i8 %108, 0 br i1 %109, label %110, label %113 110: ; preds = %96, %93, %106, %87 store i8 0, ptr %88, align 1, !tbaa !11 %111 = call ptr @strrchr(ptr noundef nonnull %6, i8 noundef signext 32) #4 %112 = icmp eq ptr %111, null br i1 %112, label %113, label %87, !llvm.loop !19 113: ; preds = %110, %106, %80 %114 = call i32 @parse_datesub(ptr noundef nonnull %6, ptr noundef %84) #4 %115 = call i64 @mktime(ptr noundef %84) store i64 %115, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4 br label %116 116: ; preds = %113, %36, %77, %64, %55, %51, %48, %44, %40, %32 %117 = load i64, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i64 %117 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @time(ptr noundef) local_unnamed_addr #2 declare i64 @isspace(i8 noundef zeroext) local_unnamed_addr #2 declare i64 @numerics(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3 declare ptr @localtime(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare noundef i64 @mktime(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @weekday(ptr noundef) local_unnamed_addr #2 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i64 @isupper(i8 noundef zeroext) 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 @parse_datesub(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn "no-trapping-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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!7, !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"int", !7, i64 0} !16 = !{!17, !15, i64 4} !17 = !{!"tm", !15, i64 0, !15, i64 4, !15, i64 8} !18 = distinct !{!18, !13} !19 = distinct !{!19, !13}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/pw/extr_psdate.c_parse_date.c' source_filename = "AnghaBench/freebsd/usr.sbin/pw/extr_psdate.c_parse_date.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"(+-\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @parse_date(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [64 x i8], align 1 store i64 %0, ptr %3, align 8, !tbaa !6 store ptr %1, ptr %4, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %7 = icmp eq i64 %0, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = tail call i64 @time(ptr noundef null) #4 store i64 %9, ptr %3, align 8, !tbaa !6 br label %10 10: ; preds = %8, %2 %11 = load i8, ptr %1, align 1, !tbaa !12 %12 = icmp eq i8 %11, 0 br i1 %12, label %28, label %13 13: ; preds = %10 %14 = load ptr, ptr %4, align 8, !tbaa !10 %15 = tail call i64 @isspace(i8 noundef zeroext %11) #4 %16 = icmp eq i64 %15, 0 br i1 %16, label %25, label %20 17: ; preds = %20 %18 = tail call i64 @isspace(i8 noundef zeroext %23) #4 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20, !llvm.loop !13 20: ; preds = %13, %17 %21 = phi ptr [ %22, %17 ], [ %1, %13 ] %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i8, ptr %22, align 1, !tbaa !12 %24 = icmp eq i8 %23, 0 br i1 %24, label %25, label %17, !llvm.loop !13 25: ; preds = %17, %20, %13 %26 = phi ptr [ %14, %13 ], [ %22, %20 ], [ %22, %17 ] %27 = phi ptr [ %1, %13 ], [ %22, %20 ], [ %22, %17 ] store ptr %26, ptr %4, align 8, !tbaa !10 br label %28 28: ; preds = %25, %10 %29 = phi ptr [ %1, %10 ], [ %27, %25 ] %30 = tail call i64 @numerics(ptr noundef nonnull %29) #4 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %28 %33 = call i64 @strtol(ptr noundef nonnull %29, ptr noundef nonnull %5, i32 noundef 0) store i64 %33, ptr %3, align 8, !tbaa !6 br label %116 34: ; preds = %28 %35 = load i8, ptr %29, align 1, !tbaa !12 switch i8 %35, label %80 [ i8 43, label %36 i8 45, label %36 ] 36: ; preds = %34, %34 %37 = call i64 @strtol(ptr noundef nonnull %29, ptr noundef nonnull %5, i32 noundef 0) %38 = load ptr, ptr %5, align 8, !tbaa !10 %39 = load i8, ptr %38, align 1, !tbaa !12 switch i8 %39, label %116 [ i8 104, label %40 i8 72, label %40 i8 0, label %44 i8 109, label %44 i8 77, label %44 i8 115, label %48 i8 83, label %48 i8 100, label %51 i8 68, label %51 i8 119, label %55 i8 87, label %55 i8 111, label %59 i8 79, label %59 i8 121, label %61 i8 89, label %61 ] 40: ; preds = %36, %36 %41 = mul nsw i64 %37, 3600 %42 = load i64, ptr %3, align 8, !tbaa !6 %43 = add nsw i64 %42, %41 store i64 %43, ptr %3, align 8, !tbaa !6 br label %116 44: ; preds = %36, %36, %36 %45 = mul nsw i64 %37, 60 %46 = load i64, ptr %3, align 8, !tbaa !6 %47 = add nsw i64 %46, %45 store i64 %47, ptr %3, align 8, !tbaa !6 br label %116 48: ; preds = %36, %36 %49 = load i64, ptr %3, align 8, !tbaa !6 %50 = add nsw i64 %49, %37 store i64 %50, ptr %3, align 8, !tbaa !6 br label %116 51: ; preds = %36, %36 %52 = mul nsw i64 %37, 86400 %53 = load i64, ptr %3, align 8, !tbaa !6 %54 = add nsw i64 %53, %52 store i64 %54, ptr %3, align 8, !tbaa !6 br label %116 55: ; preds = %36, %36 %56 = mul nsw i64 %37, 604800 %57 = load i64, ptr %3, align 8, !tbaa !6 %58 = add nsw i64 %57, %56 store i64 %58, ptr %3, align 8, !tbaa !6 br label %116 59: ; preds = %36, %36 %60 = call ptr @localtime(ptr noundef nonnull %3) #4 br label %64 61: ; preds = %36, %36 %62 = call ptr @localtime(ptr noundef nonnull %3) #4 %63 = getelementptr inbounds i8, ptr %62, i64 8 br label %64 64: ; preds = %61, %59 %65 = phi ptr [ %63, %61 ], [ %60, %59 ] %66 = phi ptr [ %62, %61 ], [ %60, %59 ] %67 = trunc i64 %37 to i32 %68 = load i32, ptr %65, align 4, !tbaa !15 %69 = add nsw i32 %68, %67 store i32 %69, ptr %65, align 4, !tbaa !15 %70 = getelementptr inbounds i8, ptr %66, i64 4 %71 = load i32, ptr %70, align 4, !tbaa !17 %72 = call i64 @mktime(ptr noundef nonnull %66) store i64 %72, ptr %3, align 8, !tbaa !6 %73 = call ptr @localtime(ptr noundef nonnull %3) #4 %74 = getelementptr inbounds i8, ptr %73, i64 4 %75 = load i32, ptr %74, align 4, !tbaa !17 %76 = icmp eq i32 %75, %71 br i1 %76, label %116, label %77 77: ; preds = %64 store i32 1, ptr %74, align 4, !tbaa !17 %78 = call i64 @mktime(ptr noundef nonnull %73) %79 = add nsw i64 %78, -86400 store i64 %79, ptr %3, align 8, !tbaa !6 br label %116 80: ; preds = %34 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4 %81 = call i32 @weekday(ptr noundef nonnull %4) #4 %82 = load ptr, ptr %4, align 8, !tbaa !10 %83 = call i32 @strlcpy(ptr noundef nonnull %6, ptr noundef %82, i32 noundef 64) #4 store ptr %6, ptr %4, align 8, !tbaa !10 %84 = call ptr @localtime(ptr noundef nonnull %3) #4 %85 = call ptr @strrchr(ptr noundef nonnull %6, i8 noundef signext 32) #4 %86 = icmp eq ptr %85, null br i1 %86, label %113, label %87 87: ; preds = %80, %110 %88 = phi ptr [ %111, %110 ], [ %85, %80 ] %89 = getelementptr inbounds i8, ptr %88, i64 1 %90 = load i8, ptr %89, align 1, !tbaa !12 %91 = call ptr @strchr(ptr noundef nonnull @.str, i8 noundef signext %90) #4 %92 = icmp eq ptr %91, null br i1 %92, label %93, label %110 93: ; preds = %87 %94 = load i8, ptr %89, align 1, !tbaa !12 %95 = icmp eq i8 %94, 0 br i1 %95, label %110, label %101 96: ; preds = %101 %97 = add nuw nsw i64 %102, 1 %98 = getelementptr inbounds i8, ptr %88, i64 %97 %99 = load i8, ptr %98, align 1, !tbaa !12 %100 = icmp eq i8 %99, 0 br i1 %100, label %110, label %101, !llvm.loop !19 101: ; preds = %93, %96 %102 = phi i64 [ %97, %96 ], [ 1, %93 ] %103 = phi i8 [ %99, %96 ], [ %94, %93 ] %104 = call i64 @isupper(i8 noundef zeroext %103) #4 %105 = icmp eq i64 %104, 0 br i1 %105, label %106, label %96 106: ; preds = %101 %107 = getelementptr inbounds i8, ptr %88, i64 %102 %108 = load i8, ptr %107, align 1, !tbaa !12 %109 = icmp eq i8 %108, 0 br i1 %109, label %110, label %113 110: ; preds = %96, %93, %106, %87 store i8 0, ptr %88, align 1, !tbaa !12 %111 = call ptr @strrchr(ptr noundef nonnull %6, i8 noundef signext 32) #4 %112 = icmp eq ptr %111, null br i1 %112, label %113, label %87, !llvm.loop !20 113: ; preds = %110, %106, %80 %114 = call i32 @parse_datesub(ptr noundef nonnull %6, ptr noundef %84) #4 %115 = call i64 @mktime(ptr noundef %84) store i64 %115, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4 br label %116 116: ; preds = %113, %36, %77, %64, %55, %51, %48, %44, %40, %32 %117 = load i64, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i64 %117 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @time(ptr noundef) local_unnamed_addr #2 declare i64 @isspace(i8 noundef zeroext) local_unnamed_addr #2 declare i64 @numerics(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3 declare ptr @localtime(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare noundef i64 @mktime(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @weekday(ptr noundef) local_unnamed_addr #2 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i64 @isupper(i8 noundef zeroext) 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 @parse_datesub(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = !{!"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 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!18, !16, i64 4} !18 = !{!"tm", !16, i64 0, !16, i64 4, !16, i64 8} !19 = distinct !{!19, !14} !20 = distinct !{!20, !14}
freebsd_usr.sbin_pw_extr_psdate.c_parse_date
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_service_bnx2x.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_service_bnx2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CNIC_DRV_STATE_USING_MSIX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cnic_service_bnx2x], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cnic_service_bnx2x(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr @CNIC_DRV_STATE_USING_MSIX, align 4, !tbaa !15 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = tail call i32 @cnic_doirq(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %9, %2 %12 = tail call i32 @cnic_chk_pkt_rings(ptr noundef nonnull %3) #2 ret i32 0 } declare i32 @cnic_doirq(ptr noundef) local_unnamed_addr #1 declare i32 @cnic_chk_pkt_rings(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 = !{!"cnic_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"cnic_local", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_service_bnx2x.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_service_bnx2x.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CNIC_DRV_STATE_USING_MSIX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cnic_service_bnx2x], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @cnic_service_bnx2x(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = load i32, ptr @CNIC_DRV_STATE_USING_MSIX, align 4, !tbaa !16 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = tail call i32 @cnic_doirq(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %9, %2 %12 = tail call i32 @cnic_chk_pkt_rings(ptr noundef nonnull %3) #2 ret i32 0 } declare i32 @cnic_doirq(ptr noundef) local_unnamed_addr #1 declare i32 @cnic_chk_pkt_rings(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 = !{!"cnic_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"cnic_local", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0}
linux_drivers_net_ethernet_broadcom_extr_cnic.c_cnic_service_bnx2x
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_l2addrsize.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_l2addrsize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FLG_LAPD = dso_local local_unnamed_addr global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/isdn/hisax/extr_isdnl2.c_l2addrsize.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_l2addrsize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLG_LAPD = common local_unnamed_addr global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_isdn_hisax_extr_isdnl2.c_l2addrsize
; ModuleID = 'AnghaBench/kphp-kdb/net/extr_net-rpc-client.c_rpcc_start_crypto.c' source_filename = "AnghaBench/kphp-kdb/net/extr_net-rpc-client.c_rpcc_start_crypto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @rpcc_start_crypto(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 { ret i32 -1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/kphp-kdb/net/extr_net-rpc-client.c_rpcc_start_crypto.c' source_filename = "AnghaBench/kphp-kdb/net/extr_net-rpc-client.c_rpcc_start_crypto.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @rpcc_start_crypto(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 { ret i32 -1 } 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)"}
kphp-kdb_net_extr_net-rpc-client.c_rpcc_start_crypto
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_complete_req.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_complete_req.c" target datalayout = "e-m:e-p270:32:32-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.mspro_block_data = type { i64, i32, i32, i32, i32, i64, i32, ptr } %struct.memstick_dev = type { i32, i32, i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } %struct.TYPE_4__ = type { i32 } @.str = private unnamed_addr constant [17 x i8] c"complete %d, %d\0A\00", align 1 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @MSPRO_CMD_STOP = dso_local local_unnamed_addr global i64 0, align 8 @READ = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"transferred %x (%d)\0A\00", align 1 @h_mspro_block_default_bad = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mspro_block_complete_req], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mspro_block_complete_req(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @memstick_get_drvdata(ptr noundef %0) #3 %4 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 4 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #3 %6 = getelementptr inbounds %struct.memstick_dev, ptr %0, i64 0, i32 2 %7 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 5 %8 = load i64, ptr %7, align 8, !tbaa !5 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %1) #3 %12 = load i64, ptr %7, align 8, !tbaa !5 %13 = icmp eq i64 %12, 0 br i1 %13, label %102, label %14 14: ; preds = %2 %15 = load i32, ptr @EAGAIN, align 4, !tbaa !12 %16 = sub nsw i32 0, %15 %17 = icmp eq i32 %16, %1 %18 = select i1 %17, i32 0, i32 %1 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %14 %21 = getelementptr inbounds %struct.memstick_dev, ptr %0, i64 0, i32 3 %22 = load i64, ptr %21, align 8, !tbaa !13 %23 = load i64, ptr @MSPRO_CMD_STOP, align 8, !tbaa !16 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %80 25: ; preds = %20, %14 %26 = load i64, ptr %3, align 8, !tbaa !17 %27 = load i64, ptr @READ, align 8, !tbaa !16 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %85 29: ; preds = %25 %30 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 1 %31 = load i32, ptr %30, align 8, !tbaa !18 %32 = icmp sgt i32 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %29 %34 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 2 %35 = load i32, ptr %34, align 4, !tbaa !19 br label %72 36: ; preds = %29 %37 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 7 %38 = load ptr, ptr %37, align 8, !tbaa !20 %39 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 2 %40 = load i32, ptr %39, align 4, !tbaa !19 %41 = zext nneg i32 %31 to i64 %42 = and i64 %41, 1 %43 = icmp eq i32 %31, 1 br i1 %43, label %62, label %44 44: ; preds = %36 %45 = and i64 %41, 2147483646 br label %46 46: ; preds = %46, %44 %47 = phi i64 [ 0, %44 ], [ %59, %46 ] %48 = phi i32 [ 0, %44 ], [ %58, %46 ] %49 = phi i64 [ 0, %44 ], [ %60, %46 ] %50 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %47 %51 = load i32, ptr %50, align 4, !tbaa !21 %52 = udiv i32 %51, %40 %53 = add i32 %52, %48 %54 = or disjoint i64 %47, 1 %55 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %54 %56 = load i32, ptr %55, align 4, !tbaa !21 %57 = udiv i32 %56, %40 %58 = add i32 %57, %53 %59 = add nuw nsw i64 %47, 2 %60 = add i64 %49, 2 %61 = icmp eq i64 %60, %45 br i1 %61, label %62, label %46, !llvm.loop !23 62: ; preds = %46, %36 %63 = phi i32 [ undef, %36 ], [ %58, %46 ] %64 = phi i64 [ 0, %36 ], [ %59, %46 ] %65 = phi i32 [ 0, %36 ], [ %58, %46 ] %66 = icmp eq i64 %42, 0 br i1 %66, label %72, label %67 67: ; preds = %62 %68 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %64 %69 = load i32, ptr %68, align 4, !tbaa !21 %70 = udiv i32 %69, %40 %71 = add i32 %70, %65 br label %72 72: ; preds = %67, %62, %33 %73 = phi i32 [ %35, %33 ], [ %40, %62 ], [ %40, %67 ] %74 = phi i32 [ 0, %33 ], [ %63, %62 ], [ %71, %67 ] %75 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 3 %76 = load i32, ptr %75, align 8, !tbaa !25 %77 = tail call i32 @llvm.usub.sat.i32(i32 %76, i32 1) %78 = add i32 %77, %74 %79 = mul i32 %78, %73 br label %85 80: ; preds = %20 %81 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 6 %82 = load i32, ptr %81, align 8, !tbaa !26 %83 = tail call i32 @blk_rq_bytes(i32 noundef %82) #3 %84 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, i32 noundef %83, i32 noundef 0) #3 br label %94 85: ; preds = %25, %72 %86 = phi i32 [ %79, %72 ], [ 0, %25 ] %87 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, i32 noundef %86, i32 noundef %18) #3 %88 = icmp ne i32 %86, 0 %89 = or i1 %19, %88 br i1 %89, label %94, label %90 90: ; preds = %85 %91 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 6 %92 = load i32, ptr %91, align 8, !tbaa !26 %93 = tail call i32 @blk_rq_cur_bytes(i32 noundef %92) #3 br label %94 94: ; preds = %80, %90, %85 %95 = phi i32 [ %86, %85 ], [ %93, %90 ], [ %83, %80 ] %96 = getelementptr inbounds %struct.mspro_block_data, ptr %3, i64 0, i32 6 %97 = load i32, ptr %96, align 8, !tbaa !26 %98 = tail call i32 @__blk_end_request(i32 noundef %97, i32 noundef %18, i32 noundef %95) #3 %99 = tail call i32 @mspro_block_issue_req(ptr noundef %0, i32 noundef %98) #3 %100 = icmp eq i32 %99, 0 br i1 %100, label %112, label %101 101: ; preds = %94 store i64 0, ptr %7, align 8, !tbaa !5 br label %107 102: ; preds = %2 %103 = icmp eq i32 %1, 0 br i1 %103, label %104, label %107 104: ; preds = %102 %105 = load i32, ptr @EAGAIN, align 4, !tbaa !12 %106 = sub nsw i32 0, %105 br label %107 107: ; preds = %102, %104, %101 %108 = phi i32 [ %99, %101 ], [ %1, %102 ], [ %106, %104 ] %109 = load i32, ptr @h_mspro_block_default_bad, align 4, !tbaa !12 %110 = getelementptr inbounds %struct.memstick_dev, ptr %0, i64 0, i32 1 store i32 %109, ptr %110, align 4, !tbaa !27 %111 = tail call i32 @complete_all(ptr noundef %0) #3 br label %112 112: ; preds = %94, %107 %113 = phi i32 [ %108, %107 ], [ 0, %94 ] %114 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #3 ret i32 %113 } declare ptr @memstick_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @blk_rq_bytes(i32 noundef) local_unnamed_addr #1 declare i32 @blk_rq_cur_bytes(i32 noundef) local_unnamed_addr #1 declare i32 @__blk_end_request(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mspro_block_issue_req(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @complete_all(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.usub.sat.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"mspro_block_data", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !10, i64 32, !11, i64 40} !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 = !{!10, !10, i64 0} !13 = !{!14, !7, i64 16} !14 = !{!"memstick_dev", !10, i64 0, !10, i64 4, !10, i64 8, !15, i64 16} !15 = !{!"TYPE_3__", !7, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!6, !7, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!6, !10, i64 12} !20 = !{!6, !11, i64 40} !21 = !{!22, !10, i64 0} !22 = !{!"TYPE_4__", !10, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!6, !10, i64 16} !26 = !{!6, !10, i64 32} !27 = !{!14, !10, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_complete_req.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_complete_req.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 } @.str = private unnamed_addr constant [17 x i8] c"complete %d, %d\0A\00", align 1 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @MSPRO_CMD_STOP = common local_unnamed_addr global i64 0, align 8 @READ = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"transferred %x (%d)\0A\00", align 1 @h_mspro_block_default_bad = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mspro_block_complete_req], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mspro_block_complete_req(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @memstick_get_drvdata(ptr noundef %0) #3 %4 = getelementptr inbounds i8, ptr %3, i64 20 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #3 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = getelementptr inbounds i8, ptr %3, i64 24 %8 = load i64, ptr %7, align 8, !tbaa !6 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %1) #3 %12 = load i64, ptr %7, align 8, !tbaa !6 %13 = icmp eq i64 %12, 0 br i1 %13, label %119, label %14 14: ; preds = %2 %15 = load i32, ptr @EAGAIN, align 4, !tbaa !13 %16 = sub nsw i32 0, %15 %17 = icmp eq i32 %16, %1 %18 = select i1 %17, i32 0, i32 %1 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %14 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load i64, ptr %21, align 8, !tbaa !14 %23 = load i64, ptr @MSPRO_CMD_STOP, align 8, !tbaa !17 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %97 25: ; preds = %20, %14 %26 = load i64, ptr %3, align 8, !tbaa !18 %27 = load i64, ptr @READ, align 8, !tbaa !17 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %102 29: ; preds = %25 %30 = getelementptr inbounds i8, ptr %3, i64 8 %31 = load i32, ptr %30, align 8, !tbaa !19 %32 = icmp sgt i32 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %29 %34 = getelementptr inbounds i8, ptr %3, i64 12 %35 = load i32, ptr %34, align 4, !tbaa !20 br label %89 36: ; preds = %29 %37 = getelementptr inbounds i8, ptr %3, i64 40 %38 = load ptr, ptr %37, align 8, !tbaa !21 %39 = getelementptr inbounds i8, ptr %3, i64 12 %40 = load i32, ptr %39, align 4, !tbaa !20 %41 = zext nneg i32 %31 to i64 %42 = icmp ult i32 %31, 4 br i1 %42, label %77, label %43 43: ; preds = %36 %44 = and i64 %41, 2147483644 br label %45 45: ; preds = %45, %43 %46 = phi i64 [ 0, %43 ], [ %70, %45 ] %47 = phi i32 [ 0, %43 ], [ %66, %45 ] %48 = phi i32 [ 0, %43 ], [ %67, %45 ] %49 = phi i32 [ 0, %43 ], [ %68, %45 ] %50 = phi i32 [ 0, %43 ], [ %69, %45 ] %51 = or disjoint i64 %46, 1 %52 = or disjoint i64 %46, 2 %53 = or disjoint i64 %46, 3 %54 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %46 %55 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %51 %56 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %52 %57 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %53 %58 = load i32, ptr %54, align 4, !tbaa !22 %59 = load i32, ptr %55, align 4, !tbaa !22 %60 = load i32, ptr %56, align 4, !tbaa !22 %61 = load i32, ptr %57, align 4, !tbaa !22 %62 = udiv i32 %58, %40 %63 = udiv i32 %59, %40 %64 = udiv i32 %60, %40 %65 = udiv i32 %61, %40 %66 = add i32 %62, %47 %67 = add i32 %63, %48 %68 = add i32 %64, %49 %69 = add i32 %65, %50 %70 = add nuw i64 %46, 4 %71 = icmp eq i64 %70, %44 br i1 %71, label %72, label %45, !llvm.loop !24 72: ; preds = %45 %73 = add i32 %67, %66 %74 = add i32 %68, %73 %75 = add i32 %69, %74 %76 = icmp eq i64 %44, %41 br i1 %76, label %89, label %77 77: ; preds = %72, %36 %78 = phi i64 [ 0, %36 ], [ %44, %72 ] %79 = phi i32 [ 0, %36 ], [ %75, %72 ] br label %80 80: ; preds = %77, %80 %81 = phi i64 [ %87, %80 ], [ %78, %77 ] %82 = phi i32 [ %86, %80 ], [ %79, %77 ] %83 = getelementptr inbounds %struct.TYPE_4__, ptr %38, i64 %81 %84 = load i32, ptr %83, align 4, !tbaa !22 %85 = udiv i32 %84, %40 %86 = add i32 %85, %82 %87 = add nuw nsw i64 %81, 1 %88 = icmp eq i64 %87, %41 br i1 %88, label %89, label %80, !llvm.loop !28 89: ; preds = %80, %72, %33 %90 = phi i32 [ %35, %33 ], [ %40, %72 ], [ %40, %80 ] %91 = phi i32 [ 0, %33 ], [ %75, %72 ], [ %86, %80 ] %92 = getelementptr inbounds i8, ptr %3, i64 16 %93 = load i32, ptr %92, align 8, !tbaa !29 %94 = tail call i32 @llvm.usub.sat.i32(i32 %93, i32 1) %95 = add i32 %94, %91 %96 = mul i32 %95, %90 br label %102 97: ; preds = %20 %98 = getelementptr inbounds i8, ptr %3, i64 32 %99 = load i32, ptr %98, align 8, !tbaa !30 %100 = tail call i32 @blk_rq_bytes(i32 noundef %99) #3 %101 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, i32 noundef %100, i32 noundef 0) #3 br label %111 102: ; preds = %25, %89 %103 = phi i32 [ %96, %89 ], [ 0, %25 ] %104 = tail call i32 @dev_dbg(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, i32 noundef %103, i32 noundef %18) #3 %105 = icmp ne i32 %103, 0 %106 = or i1 %19, %105 br i1 %106, label %111, label %107 107: ; preds = %102 %108 = getelementptr inbounds i8, ptr %3, i64 32 %109 = load i32, ptr %108, align 8, !tbaa !30 %110 = tail call i32 @blk_rq_cur_bytes(i32 noundef %109) #3 br label %111 111: ; preds = %97, %107, %102 %112 = phi i32 [ %103, %102 ], [ %110, %107 ], [ %100, %97 ] %113 = getelementptr inbounds i8, ptr %3, i64 32 %114 = load i32, ptr %113, align 8, !tbaa !30 %115 = tail call i32 @__blk_end_request(i32 noundef %114, i32 noundef %18, i32 noundef %112) #3 %116 = tail call i32 @mspro_block_issue_req(ptr noundef %0, i32 noundef %115) #3 %117 = icmp eq i32 %116, 0 br i1 %117, label %129, label %118 118: ; preds = %111 store i64 0, ptr %7, align 8, !tbaa !6 br label %124 119: ; preds = %2 %120 = icmp eq i32 %1, 0 br i1 %120, label %121, label %124 121: ; preds = %119 %122 = load i32, ptr @EAGAIN, align 4, !tbaa !13 %123 = sub nsw i32 0, %122 br label %124 124: ; preds = %119, %121, %118 %125 = phi i32 [ %116, %118 ], [ %1, %119 ], [ %123, %121 ] %126 = load i32, ptr @h_mspro_block_default_bad, align 4, !tbaa !13 %127 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %126, ptr %127, align 4, !tbaa !31 %128 = tail call i32 @complete_all(ptr noundef %0) #3 br label %129 129: ; preds = %111, %124 %130 = phi i32 [ %125, %124 ], [ 0, %111 ] %131 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #3 ret i32 %130 } declare ptr @memstick_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @blk_rq_bytes(i32 noundef) local_unnamed_addr #1 declare i32 @blk_rq_cur_bytes(i32 noundef) local_unnamed_addr #1 declare i32 @__blk_end_request(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mspro_block_issue_req(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @complete_all(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.usub.sat.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"mspro_block_data", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !8, i64 24, !11, i64 32, !12, i64 40} !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 = !{!11, !11, i64 0} !14 = !{!15, !8, i64 16} !15 = !{!"memstick_dev", !11, i64 0, !11, i64 4, !11, i64 8, !16, i64 16} !16 = !{!"TYPE_3__", !8, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!7, !8, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!7, !11, i64 12} !21 = !{!7, !12, i64 40} !22 = !{!23, !11, i64 0} !23 = !{!"TYPE_4__", !11, i64 0} !24 = distinct !{!24, !25, !26, !27} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!"llvm.loop.isvectorized", i32 1} !27 = !{!"llvm.loop.unroll.runtime.disable"} !28 = distinct !{!28, !25, !26} !29 = !{!7, !11, i64 16} !30 = !{!7, !11, i64 32} !31 = !{!15, !11, i64 4}
fastsocket_kernel_drivers_memstick_core_extr_mspro_block.c_mspro_block_complete_req
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_matrix_print.c' source_filename = "AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_matrix_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 [15 x i8] c"\0Ar/c 01234567\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c": \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @matrix_print() local_unnamed_addr #0 { %1 = tail call i32 @print(ptr noundef nonnull @.str) #2 %2 = tail call i64 (...) @matrix_rows() #2 %3 = icmp sgt i64 %2, 0 br i1 %3, label %5, label %4 4: ; preds = %5, %0 ret void 5: ; preds = %0, %5 %6 = phi i64 [ %12, %5 ], [ 0, %0 ] %7 = tail call i32 @phex(i64 noundef %6) #2 %8 = tail call i32 @print(ptr noundef nonnull @.str.1) #2 %9 = tail call i32 @matrix_get_row(i64 noundef %6) #2 %10 = tail call i32 @pbin_reverse(i32 noundef %9) #2 %11 = tail call i32 @print(ptr noundef nonnull @.str.2) #2 %12 = add nuw nsw i64 %6, 1 %13 = tail call i64 (...) @matrix_rows() #2 %14 = icmp slt i64 %12, %13 br i1 %14, label %5, label %4, !llvm.loop !5 } declare i32 @print(ptr noundef) local_unnamed_addr #1 declare i64 @matrix_rows(...) local_unnamed_addr #1 declare i32 @phex(i64 noundef) local_unnamed_addr #1 declare i32 @pbin_reverse(i32 noundef) local_unnamed_addr #1 declare i32 @matrix_get_row(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_matrix_print.c' source_filename = "AnghaBench/qmk_firmware/keyboards/converter/palm_usb/extr_matrix.c_matrix_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 [15 x i8] c"\0Ar/c 01234567\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c": \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @matrix_print() local_unnamed_addr #0 { %1 = tail call i32 @print(ptr noundef nonnull @.str) #2 %2 = tail call i64 @matrix_rows() #2 %3 = icmp sgt i64 %2, 0 br i1 %3, label %5, label %4 4: ; preds = %5, %0 ret void 5: ; preds = %0, %5 %6 = phi i64 [ %12, %5 ], [ 0, %0 ] %7 = tail call i32 @phex(i64 noundef %6) #2 %8 = tail call i32 @print(ptr noundef nonnull @.str.1) #2 %9 = tail call i32 @matrix_get_row(i64 noundef %6) #2 %10 = tail call i32 @pbin_reverse(i32 noundef %9) #2 %11 = tail call i32 @print(ptr noundef nonnull @.str.2) #2 %12 = add nuw nsw i64 %6, 1 %13 = tail call i64 @matrix_rows() #2 %14 = icmp slt i64 %12, %13 br i1 %14, label %5, label %4, !llvm.loop !6 } declare i32 @print(ptr noundef) local_unnamed_addr #1 declare i64 @matrix_rows(...) local_unnamed_addr #1 declare i32 @phex(i64 noundef) local_unnamed_addr #1 declare i32 @pbin_reverse(i32 noundef) local_unnamed_addr #1 declare i32 @matrix_get_row(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
qmk_firmware_keyboards_converter_palm_usb_extr_matrix.c_matrix_print
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_xt_time.c_time_mt.c' source_filename = "AnghaBench/linux/net/netfilter/extr_xt_time.c_time_mt.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.xtm = type { i32, i32 } %struct.xt_time_info = type { i32, i64, i64, i32, i32, i32, i32 } @XT_TIME_LOCAL_TZ = dso_local local_unnamed_addr global i32 0, align 4 @sys_tz = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @XT_TIME_CONTIGUOUS = dso_local local_unnamed_addr global i32 0, align 4 @SECONDS_PER_DAY = dso_local local_unnamed_addr global i64 0, align 8 @XT_TIME_ALL_MONTHDAYS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @time_mt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @time_mt(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.xtm, align 4 %4 = load ptr, ptr %1, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %5 = tail call i64 (...) @get_seconds() #3 %6 = load i32, ptr %4, align 8, !tbaa !10 %7 = load i32, ptr @XT_TIME_LOCAL_TZ, align 4, !tbaa !14 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 %10 = load i32, ptr @sys_tz, align 4 %11 = mul nsw i32 %10, 60 %12 = select i1 %9, i32 0, i32 %11 %13 = sext i32 %12 to i64 %14 = sub nsw i64 %5, %13 %15 = getelementptr inbounds %struct.xt_time_info, ptr %4, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = icmp slt i64 %14, %16 br i1 %17, label %67, label %18 18: ; preds = %2 %19 = getelementptr inbounds %struct.xt_time_info, ptr %4, i64 0, i32 2 %20 = load i64, ptr %19, align 8, !tbaa !16 %21 = icmp sgt i64 %14, %20 br i1 %21, label %67, label %22 22: ; preds = %18 %23 = call i32 @localtime_1(ptr noundef nonnull %3, i64 noundef %14) #3 %24 = getelementptr inbounds %struct.xt_time_info, ptr %4, i64 0, i32 3 %25 = load i32, ptr %24, align 8, !tbaa !17 %26 = getelementptr inbounds %struct.xt_time_info, ptr %4, i64 0, i32 4 %27 = load i32, ptr %26, align 4, !tbaa !18 %28 = icmp ult i32 %25, %27 %29 = icmp ult i32 %23, %25 %30 = icmp ugt i32 %23, %27 br i1 %28, label %31, label %33 31: ; preds = %22 %32 = or i1 %29, %30 br i1 %32, label %67, label %44 33: ; preds = %22 %34 = and i1 %29, %30 br i1 %34, label %67, label %35 35: ; preds = %33 %36 = load i32, ptr %4, align 8, !tbaa !10 %37 = load i32, ptr @XT_TIME_CONTIGUOUS, align 4, !tbaa !14 %38 = and i32 %37, %36 %39 = icmp eq i32 %38, 0 %40 = or i1 %30, %39 br i1 %40, label %44, label %41 41: ; preds = %35 %42 = load i64, ptr @SECONDS_PER_DAY, align 8, !tbaa !19 %43 = sub nsw i64 %14, %42 br label %44 44: ; preds = %35, %31, %41 %45 = phi i64 [ %43, %41 ], [ %14, %35 ], [ %14, %31 ] %46 = call i32 @localtime_2(ptr noundef nonnull %3, i64 noundef %45) #3 %47 = getelementptr inbounds %struct.xt_time_info, ptr %4, i64 0, i32 5 %48 = load i32, ptr %47, align 8, !tbaa !20 %49 = load i32, ptr %3, align 4, !tbaa !21 %50 = shl nuw i32 1, %49 %51 = and i32 %50, %48 %52 = icmp eq i32 %51, 0 br i1 %52, label %67, label %53 53: ; preds = %44 %54 = getelementptr inbounds %struct.xt_time_info, ptr %4, i64 0, i32 6 %55 = load i32, ptr %54, align 4, !tbaa !23 %56 = load i32, ptr @XT_TIME_ALL_MONTHDAYS, align 4, !tbaa !14 %57 = icmp eq i32 %55, %56 br i1 %57, label %66, label %58 58: ; preds = %53 %59 = call i32 @localtime_3(ptr noundef nonnull %3, i64 noundef %45) #3 %60 = load i32, ptr %54, align 4, !tbaa !23 %61 = getelementptr inbounds %struct.xtm, ptr %3, i64 0, i32 1 %62 = load i32, ptr %61, align 4, !tbaa !24 %63 = shl nuw i32 1, %62 %64 = and i32 %63, %60 %65 = icmp eq i32 %64, 0 br i1 %65, label %67, label %66 66: ; preds = %58, %53 br label %67 67: ; preds = %58, %44, %33, %31, %2, %18, %66 %68 = phi i32 [ 1, %66 ], [ 0, %18 ], [ 0, %2 ], [ 0, %31 ], [ 0, %33 ], [ 0, %44 ], [ 0, %58 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %68 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @get_seconds(...) local_unnamed_addr #2 declare i32 @localtime_1(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @localtime_2(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @localtime_3(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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"xt_action_param", !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 = !{!"xt_time_info", !12, i64 0, !13, i64 8, !13, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !13, i64 8} !16 = !{!11, !13, i64 16} !17 = !{!11, !12, i64 24} !18 = !{!11, !12, i64 28} !19 = !{!13, !13, i64 0} !20 = !{!11, !12, i64 32} !21 = !{!22, !12, i64 0} !22 = !{!"xtm", !12, i64 0, !12, i64 4} !23 = !{!11, !12, i64 36} !24 = !{!22, !12, i64 4}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_xt_time.c_time_mt.c' source_filename = "AnghaBench/linux/net/netfilter/extr_xt_time.c_time_mt.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 } %struct.xtm = type { i32, i32 } @XT_TIME_LOCAL_TZ = common local_unnamed_addr global i32 0, align 4 @sys_tz = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @XT_TIME_CONTIGUOUS = common local_unnamed_addr global i32 0, align 4 @SECONDS_PER_DAY = common local_unnamed_addr global i64 0, align 8 @XT_TIME_ALL_MONTHDAYS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @time_mt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @time_mt(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.xtm, align 4 %4 = load ptr, ptr %1, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %5 = tail call i64 @get_seconds() #3 %6 = load i32, ptr %4, align 8, !tbaa !11 %7 = load i32, ptr @XT_TIME_LOCAL_TZ, align 4, !tbaa !15 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 %10 = load i32, ptr @sys_tz, align 4 %11 = mul nsw i32 %10, 60 %12 = select i1 %9, i32 0, i32 %11 %13 = sext i32 %12 to i64 %14 = sub nsw i64 %5, %13 %15 = getelementptr inbounds i8, ptr %4, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp slt i64 %14, %16 br i1 %17, label %67, label %18 18: ; preds = %2 %19 = getelementptr inbounds i8, ptr %4, i64 16 %20 = load i64, ptr %19, align 8, !tbaa !17 %21 = icmp sgt i64 %14, %20 br i1 %21, label %67, label %22 22: ; preds = %18 %23 = call i32 @localtime_1(ptr noundef nonnull %3, i64 noundef %14) #3 %24 = getelementptr inbounds i8, ptr %4, i64 24 %25 = load i32, ptr %24, align 8, !tbaa !18 %26 = getelementptr inbounds i8, ptr %4, i64 28 %27 = load i32, ptr %26, align 4, !tbaa !19 %28 = icmp ult i32 %25, %27 %29 = icmp ult i32 %23, %25 %30 = icmp ugt i32 %23, %27 br i1 %28, label %31, label %33 31: ; preds = %22 %32 = or i1 %29, %30 br i1 %32, label %67, label %44 33: ; preds = %22 %34 = and i1 %29, %30 br i1 %34, label %67, label %35 35: ; preds = %33 %36 = load i32, ptr %4, align 8, !tbaa !11 %37 = load i32, ptr @XT_TIME_CONTIGUOUS, align 4, !tbaa !15 %38 = and i32 %37, %36 %39 = icmp eq i32 %38, 0 %40 = or i1 %30, %39 br i1 %40, label %44, label %41 41: ; preds = %35 %42 = load i64, ptr @SECONDS_PER_DAY, align 8, !tbaa !20 %43 = sub nsw i64 %14, %42 br label %44 44: ; preds = %35, %31, %41 %45 = phi i64 [ %43, %41 ], [ %14, %35 ], [ %14, %31 ] %46 = call i32 @localtime_2(ptr noundef nonnull %3, i64 noundef %45) #3 %47 = getelementptr inbounds i8, ptr %4, i64 32 %48 = load i32, ptr %47, align 8, !tbaa !21 %49 = load i32, ptr %3, align 4, !tbaa !22 %50 = shl nuw i32 1, %49 %51 = and i32 %50, %48 %52 = icmp eq i32 %51, 0 br i1 %52, label %67, label %53 53: ; preds = %44 %54 = getelementptr inbounds i8, ptr %4, i64 36 %55 = load i32, ptr %54, align 4, !tbaa !24 %56 = load i32, ptr @XT_TIME_ALL_MONTHDAYS, align 4, !tbaa !15 %57 = icmp eq i32 %55, %56 br i1 %57, label %66, label %58 58: ; preds = %53 %59 = call i32 @localtime_3(ptr noundef nonnull %3, i64 noundef %45) #3 %60 = load i32, ptr %54, align 4, !tbaa !24 %61 = getelementptr inbounds i8, ptr %3, i64 4 %62 = load i32, ptr %61, align 4, !tbaa !25 %63 = shl nuw i32 1, %62 %64 = and i32 %63, %60 %65 = icmp eq i32 %64, 0 br i1 %65, label %67, label %66 66: ; preds = %58, %53 br label %67 67: ; preds = %58, %44, %33, %31, %2, %18, %66 %68 = phi i32 [ 1, %66 ], [ 0, %18 ], [ 0, %2 ], [ 0, %31 ], [ 0, %33 ], [ 0, %44 ], [ 0, %58 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %68 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @get_seconds(...) local_unnamed_addr #2 declare i32 @localtime_1(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @localtime_2(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @localtime_3(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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"xt_action_param", !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 = !{!"xt_time_info", !13, i64 0, !14, i64 8, !14, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!12, !14, i64 8} !17 = !{!12, !14, i64 16} !18 = !{!12, !13, i64 24} !19 = !{!12, !13, i64 28} !20 = !{!14, !14, i64 0} !21 = !{!12, !13, i64 32} !22 = !{!23, !13, i64 0} !23 = !{!"xtm", !13, i64 0, !13, i64 4} !24 = !{!12, !13, i64 36} !25 = !{!23, !13, i64 4}
linux_net_netfilter_extr_xt_time.c_time_mt
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_config.c_perf_etc_perfconfig.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_config.c_perf_etc_perfconfig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @perf_etc_perfconfig.system_wide = internal unnamed_addr global ptr null, align 8 @ETC_PERFCONFIG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @perf_etc_perfconfig], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @perf_etc_perfconfig() #0 { %1 = load ptr, ptr @perf_etc_perfconfig.system_wide, align 8, !tbaa !5 %2 = icmp eq ptr %1, null br i1 %2, label %3, label %6 3: ; preds = %0 %4 = load i32, ptr @ETC_PERFCONFIG, align 4, !tbaa !9 %5 = tail call ptr @system_path(i32 noundef %4) #2 store ptr %5, ptr @perf_etc_perfconfig.system_wide, align 8, !tbaa !5 br label %6 6: ; preds = %3, %0 %7 = phi ptr [ %5, %3 ], [ %1, %0 ] ret ptr %7 } declare ptr @system_path(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, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_config.c_perf_etc_perfconfig.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_config.c_perf_etc_perfconfig.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @perf_etc_perfconfig.system_wide = internal unnamed_addr global ptr null, align 8 @ETC_PERFCONFIG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @perf_etc_perfconfig], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @perf_etc_perfconfig() #0 { %1 = load ptr, ptr @perf_etc_perfconfig.system_wide, align 8, !tbaa !6 %2 = icmp eq ptr %1, null br i1 %2, label %3, label %6 3: ; preds = %0 %4 = load i32, ptr @ETC_PERFCONFIG, align 4, !tbaa !10 %5 = tail call ptr @system_path(i32 noundef %4) #2 store ptr %5, ptr @perf_etc_perfconfig.system_wide, align 8, !tbaa !6 br label %6 6: ; preds = %3, %0 %7 = phi ptr [ %5, %3 ], [ %1, %0 ] ret ptr %7 } declare ptr @system_path(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, !11, i64 0} !11 = !{!"int", !8, i64 0}
fastsocket_kernel_tools_perf_util_extr_config.c_perf_etc_perfconfig
; ModuleID = 'AnghaBench/libgit2/tests/repo/extr_init.c_test_repo_init__extended_1.c' source_filename = "AnghaBench/libgit2/tests/repo/extr_init.c_test_repo_init__extended_1.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, ptr, ptr, i32 } %struct.stat = type { i32 } @GIT_REPOSITORY_INIT_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @GIT_REPOSITORY_INIT_MKPATH = dso_local local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_INIT_NO_DOTGIT_DIR = dso_local local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_INIT_SHARED_GROUP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"../c_wd\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Awesomest test repository evah\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"development\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"https://github.com/libgit2/libgit2.git\00", align 1 @_repo = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"root/b/c.git\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"/c_wd/\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"/c.git/\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"root/b/c_wd/.git\00", align 1 @S_ISGID = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [5 x i8] c"HEAD\00", align 1 @GIT_REFERENCE_SYMBOLIC = dso_local local_unnamed_addr global i64 0, align 8 @.str.9 = private unnamed_addr constant [23 x i8] c"refs/heads/development\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"origin\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"root\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @test_repo_init__extended_1() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 %4 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #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 48, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(48) @GIT_REPOSITORY_INIT_OPTIONS_INIT, i64 48, i1 false), !tbaa.struct !5 %5 = load i32, ptr @GIT_REPOSITORY_INIT_MKPATH, align 4, !tbaa !6 %6 = load i32, ptr @GIT_REPOSITORY_INIT_NO_DOTGIT_DIR, align 4, !tbaa !6 %7 = or i32 %6, %5 store i32 %7, ptr %4, align 8, !tbaa !12 %8 = load i32, ptr @GIT_REPOSITORY_INIT_SHARED_GROUP, align 4, !tbaa !6 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 5 store i32 %8, ptr %9, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1 store ptr @.str, ptr %10, align 8, !tbaa !15 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 2 store ptr @.str.1, ptr %11, align 8, !tbaa !16 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 3 store ptr @.str.2, ptr %12, align 8, !tbaa !17 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 4 store ptr @.str.3, ptr %13, align 8, !tbaa !18 %14 = call i32 @git_repository_init_ext(ptr noundef nonnull @_repo, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #4 %15 = call i32 @cl_git_pass(i32 noundef %14) #4 %16 = load i32, ptr @_repo, align 4, !tbaa !6 %17 = call i32 @git_repository_workdir(i32 noundef %16) #4 %18 = call i32 @git__suffixcmp(i32 noundef %17, ptr noundef nonnull @.str.5) #4 %19 = icmp eq i32 %18, 0 %20 = zext i1 %19 to i32 %21 = call i32 @cl_assert(i32 noundef %20) #4 %22 = load i32, ptr @_repo, align 4, !tbaa !6 %23 = call i32 @git_repository_path(i32 noundef %22) #4 %24 = call i32 @git__suffixcmp(i32 noundef %23, ptr noundef nonnull @.str.6) #4 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i32 %27 = call i32 @cl_assert(i32 noundef %26) #4 %28 = call i32 @git_path_isfile(ptr noundef nonnull @.str.7) #4 %29 = call i32 @cl_assert(i32 noundef %28) #4 %30 = load i32, ptr @_repo, align 4, !tbaa !6 %31 = call i32 @git_repository_is_bare(i32 noundef %30) #4 %32 = icmp eq i32 %31, 0 %33 = zext i1 %32 to i32 %34 = call i32 @cl_assert(i32 noundef %33) #4 %35 = load i32, ptr @_repo, align 4, !tbaa !6 %36 = call i32 @git_repository_is_empty(i32 noundef %35) #4 %37 = icmp eq i32 %36, 0 %38 = zext i1 %37 to i32 %39 = call i32 @cl_assert(i32 noundef %38) #4 %40 = load i32, ptr @_repo, align 4, !tbaa !6 %41 = call i32 @git_repository_path(i32 noundef %40) #4 %42 = call i32 @git_path_lstat(i32 noundef %41, ptr noundef nonnull %3) #4 %43 = call i32 @cl_git_pass(i32 noundef %42) #4 %44 = load i32, ptr %3, align 4, !tbaa !19 %45 = call i32 @S_ISDIR(i32 noundef %44) #4 %46 = call i32 @cl_assert(i32 noundef %45) #4 %47 = call i64 (...) @cl_is_chmod_supported() #4 %48 = icmp eq i64 %47, 0 %49 = load i32, ptr @S_ISGID, align 4, !tbaa !6 %50 = load i32, ptr %3, align 4, !tbaa !19 %51 = and i32 %50, %49 %52 = select i1 %48, i32 0, i32 %49 %53 = icmp eq i32 %51, %52 %54 = zext i1 %53 to i32 %55 = call i32 @cl_assert(i32 noundef %54) #4 %56 = load i32, ptr @_repo, align 4, !tbaa !6 %57 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %56, ptr noundef nonnull @.str.8) #4 %58 = call i32 @cl_git_pass(i32 noundef %57) #4 %59 = load ptr, ptr %1, align 8, !tbaa !10 %60 = call i64 @git_reference_type(ptr noundef %59) #4 %61 = load i64, ptr @GIT_REFERENCE_SYMBOLIC, align 8, !tbaa !21 %62 = icmp eq i64 %60, %61 %63 = zext i1 %62 to i32 %64 = call i32 @cl_assert(i32 noundef %63) #4 %65 = load ptr, ptr %1, align 8, !tbaa !10 %66 = call i32 @git_reference_symbolic_target(ptr noundef %65) #4 %67 = call i32 @cl_assert_equal_s(ptr noundef nonnull @.str.9, i32 noundef %66) #4 %68 = load ptr, ptr %1, align 8, !tbaa !10 %69 = call i32 @git_reference_free(ptr noundef %68) #4 %70 = load i32, ptr @_repo, align 4, !tbaa !6 %71 = call i32 @git_remote_lookup(ptr noundef nonnull %2, i32 noundef %70, ptr noundef nonnull @.str.10) #4 %72 = call i32 @cl_git_pass(i32 noundef %71) #4 %73 = load ptr, ptr %2, align 8, !tbaa !10 %74 = call i32 @git_remote_name(ptr noundef %73) #4 %75 = call i32 @cl_assert_equal_s(ptr noundef nonnull @.str.10, i32 noundef %74) #4 %76 = load ptr, ptr %13, align 8, !tbaa !18 %77 = load ptr, ptr %2, align 8, !tbaa !10 %78 = call i32 @git_remote_url(ptr noundef %77) #4 %79 = call i32 @cl_assert_equal_s(ptr noundef %76, i32 noundef %78) #4 %80 = load ptr, ptr %2, align 8, !tbaa !10 %81 = call i32 @git_remote_free(ptr noundef %80) #4 %82 = load i32, ptr @_repo, align 4, !tbaa !6 %83 = call i32 @git_repository_free(i32 noundef %82) #4 %84 = call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str.11) #4 call void @llvm.lifetime.end.p0(i64 48, 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 call void @llvm.lifetime.end.p0(i64 8, 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: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_init_ext(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_assert(i32 noundef) local_unnamed_addr #3 declare i32 @git__suffixcmp(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_workdir(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_path(i32 noundef) local_unnamed_addr #3 declare i32 @git_path_isfile(ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_is_bare(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_is_empty(i32 noundef) local_unnamed_addr #3 declare i32 @git_path_lstat(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @S_ISDIR(i32 noundef) local_unnamed_addr #3 declare i64 @cl_is_chmod_supported(...) local_unnamed_addr #3 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @git_reference_type(ptr noundef) local_unnamed_addr #3 declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_reference_symbolic_target(ptr noundef) local_unnamed_addr #3 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_name(ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_url(ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_free(ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_free(i32 noundef) local_unnamed_addr #3 declare i32 @cl_fixture_cleanup(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: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{i64 0, i64 4, !6, i64 8, i64 8, !10, i64 16, i64 8, !10, i64 24, i64 8, !10, i64 32, i64 8, !10, i64 40, i64 4, !6} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !7, i64 40} !14 = !{!13, !7, i64 40} !15 = !{!13, !11, i64 8} !16 = !{!13, !11, i64 16} !17 = !{!13, !11, i64 24} !18 = !{!13, !11, i64 32} !19 = !{!20, !7, i64 0} !20 = !{!"stat", !7, i64 0} !21 = !{!22, !22, i64 0} !22 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/repo/extr_init.c_test_repo_init__extended_1.c' source_filename = "AnghaBench/libgit2/tests/repo/extr_init.c_test_repo_init__extended_1.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, ptr, ptr, ptr, ptr, i32 } %struct.stat = type { i32 } @GIT_REPOSITORY_INIT_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @GIT_REPOSITORY_INIT_MKPATH = common local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_INIT_NO_DOTGIT_DIR = common local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_INIT_SHARED_GROUP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"../c_wd\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Awesomest test repository evah\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"development\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"https://github.com/libgit2/libgit2.git\00", align 1 @_repo = common global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"root/b/c.git\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"/c_wd/\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"/c.git/\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"root/b/c_wd/.git\00", align 1 @S_ISGID = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [5 x i8] c"HEAD\00", align 1 @GIT_REFERENCE_SYMBOLIC = common local_unnamed_addr global i64 0, align 8 @.str.9 = private unnamed_addr constant [23 x i8] c"refs/heads/development\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"origin\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"root\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_repo_init__extended_1() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 %4 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #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 48, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(48) @GIT_REPOSITORY_INIT_OPTIONS_INIT, i64 48, i1 false), !tbaa.struct !6 %5 = load i32, ptr @GIT_REPOSITORY_INIT_MKPATH, align 4, !tbaa !7 %6 = load i32, ptr @GIT_REPOSITORY_INIT_NO_DOTGIT_DIR, align 4, !tbaa !7 %7 = or i32 %6, %5 store i32 %7, ptr %4, align 8, !tbaa !13 %8 = load i32, ptr @GIT_REPOSITORY_INIT_SHARED_GROUP, align 4, !tbaa !7 %9 = getelementptr inbounds i8, ptr %4, i64 40 store i32 %8, ptr %9, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %4, i64 8 store ptr @.str, ptr %10, align 8, !tbaa !16 %11 = getelementptr inbounds i8, ptr %4, i64 16 store ptr @.str.1, ptr %11, align 8, !tbaa !17 %12 = getelementptr inbounds i8, ptr %4, i64 24 store ptr @.str.2, ptr %12, align 8, !tbaa !18 %13 = getelementptr inbounds i8, ptr %4, i64 32 store ptr @.str.3, ptr %13, align 8, !tbaa !19 %14 = call i32 @git_repository_init_ext(ptr noundef nonnull @_repo, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #4 %15 = call i32 @cl_git_pass(i32 noundef %14) #4 %16 = load i32, ptr @_repo, align 4, !tbaa !7 %17 = call i32 @git_repository_workdir(i32 noundef %16) #4 %18 = call i32 @git__suffixcmp(i32 noundef %17, ptr noundef nonnull @.str.5) #4 %19 = icmp eq i32 %18, 0 %20 = zext i1 %19 to i32 %21 = call i32 @cl_assert(i32 noundef %20) #4 %22 = load i32, ptr @_repo, align 4, !tbaa !7 %23 = call i32 @git_repository_path(i32 noundef %22) #4 %24 = call i32 @git__suffixcmp(i32 noundef %23, ptr noundef nonnull @.str.6) #4 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i32 %27 = call i32 @cl_assert(i32 noundef %26) #4 %28 = call i32 @git_path_isfile(ptr noundef nonnull @.str.7) #4 %29 = call i32 @cl_assert(i32 noundef %28) #4 %30 = load i32, ptr @_repo, align 4, !tbaa !7 %31 = call i32 @git_repository_is_bare(i32 noundef %30) #4 %32 = icmp eq i32 %31, 0 %33 = zext i1 %32 to i32 %34 = call i32 @cl_assert(i32 noundef %33) #4 %35 = load i32, ptr @_repo, align 4, !tbaa !7 %36 = call i32 @git_repository_is_empty(i32 noundef %35) #4 %37 = icmp eq i32 %36, 0 %38 = zext i1 %37 to i32 %39 = call i32 @cl_assert(i32 noundef %38) #4 %40 = load i32, ptr @_repo, align 4, !tbaa !7 %41 = call i32 @git_repository_path(i32 noundef %40) #4 %42 = call i32 @git_path_lstat(i32 noundef %41, ptr noundef nonnull %3) #4 %43 = call i32 @cl_git_pass(i32 noundef %42) #4 %44 = load i32, ptr %3, align 4, !tbaa !20 %45 = call i32 @S_ISDIR(i32 noundef %44) #4 %46 = call i32 @cl_assert(i32 noundef %45) #4 %47 = call i64 @cl_is_chmod_supported() #4 %48 = icmp eq i64 %47, 0 %49 = load i32, ptr @S_ISGID, align 4, !tbaa !7 %50 = load i32, ptr %3, align 4, !tbaa !20 %51 = and i32 %50, %49 %52 = select i1 %48, i32 0, i32 %49 %53 = icmp eq i32 %51, %52 %54 = zext i1 %53 to i32 %55 = call i32 @cl_assert(i32 noundef %54) #4 %56 = load i32, ptr @_repo, align 4, !tbaa !7 %57 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %56, ptr noundef nonnull @.str.8) #4 %58 = call i32 @cl_git_pass(i32 noundef %57) #4 %59 = load ptr, ptr %1, align 8, !tbaa !11 %60 = call i64 @git_reference_type(ptr noundef %59) #4 %61 = load i64, ptr @GIT_REFERENCE_SYMBOLIC, align 8, !tbaa !22 %62 = icmp eq i64 %60, %61 %63 = zext i1 %62 to i32 %64 = call i32 @cl_assert(i32 noundef %63) #4 %65 = load ptr, ptr %1, align 8, !tbaa !11 %66 = call i32 @git_reference_symbolic_target(ptr noundef %65) #4 %67 = call i32 @cl_assert_equal_s(ptr noundef nonnull @.str.9, i32 noundef %66) #4 %68 = load ptr, ptr %1, align 8, !tbaa !11 %69 = call i32 @git_reference_free(ptr noundef %68) #4 %70 = load i32, ptr @_repo, align 4, !tbaa !7 %71 = call i32 @git_remote_lookup(ptr noundef nonnull %2, i32 noundef %70, ptr noundef nonnull @.str.10) #4 %72 = call i32 @cl_git_pass(i32 noundef %71) #4 %73 = load ptr, ptr %2, align 8, !tbaa !11 %74 = call i32 @git_remote_name(ptr noundef %73) #4 %75 = call i32 @cl_assert_equal_s(ptr noundef nonnull @.str.10, i32 noundef %74) #4 %76 = load ptr, ptr %13, align 8, !tbaa !19 %77 = load ptr, ptr %2, align 8, !tbaa !11 %78 = call i32 @git_remote_url(ptr noundef %77) #4 %79 = call i32 @cl_assert_equal_s(ptr noundef %76, i32 noundef %78) #4 %80 = load ptr, ptr %2, align 8, !tbaa !11 %81 = call i32 @git_remote_free(ptr noundef %80) #4 %82 = load i32, ptr @_repo, align 4, !tbaa !7 %83 = call i32 @git_repository_free(i32 noundef %82) #4 %84 = call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str.11) #4 call void @llvm.lifetime.end.p0(i64 48, 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 call void @llvm.lifetime.end.p0(i64 8, 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: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_init_ext(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_assert(i32 noundef) local_unnamed_addr #3 declare i32 @git__suffixcmp(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_workdir(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_path(i32 noundef) local_unnamed_addr #3 declare i32 @git_path_isfile(ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_is_bare(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_is_empty(i32 noundef) local_unnamed_addr #3 declare i32 @git_path_lstat(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @S_ISDIR(i32 noundef) local_unnamed_addr #3 declare i64 @cl_is_chmod_supported(...) local_unnamed_addr #3 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @git_reference_type(ptr noundef) local_unnamed_addr #3 declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_reference_symbolic_target(ptr noundef) local_unnamed_addr #3 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_name(ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_url(ptr noundef) local_unnamed_addr #3 declare i32 @git_remote_free(ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_free(i32 noundef) local_unnamed_addr #3 declare i32 @cl_fixture_cleanup(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: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{i64 0, i64 4, !7, i64 8, i64 8, !11, i64 16, i64 8, !11, i64 24, i64 8, !11, i64 32, i64 8, !11, i64 40, i64 4, !7} !7 = !{!8, !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, !8, i64 0} !14 = !{!"TYPE_4__", !8, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !8, i64 40} !15 = !{!14, !8, i64 40} !16 = !{!14, !12, i64 8} !17 = !{!14, !12, i64 16} !18 = !{!14, !12, i64 24} !19 = !{!14, !12, i64 32} !20 = !{!21, !8, i64 0} !21 = !{!"stat", !8, i64 0} !22 = !{!23, !23, i64 0} !23 = !{!"long", !9, i64 0}
libgit2_tests_repo_extr_init.c_test_repo_init__extended_1
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/lib/fs/extr_fs.c_FsGetFirstNameFromPath.c' source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/lib/fs/extr_fs.c_FsGetFirstNameFromPath.c" target datalayout = "e-m:e-p270:32:32-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 [51 x i8] c"FsGetFirstNameFromPath() Path = %s FirstName = %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @FsGetFirstNameFromPath(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) %4 = icmp eq i64 %3, 0 br i1 %4, label %13, label %5 5: ; preds = %2, %9 %6 = phi i64 [ %11, %9 ], [ 0, %2 ] %7 = getelementptr inbounds i8, ptr %1, i64 %6 %8 = load i8, ptr %7, align 1, !tbaa !5 switch i8 %8, label %9 [ i8 92, label %13 i8 47, label %13 ] 9: ; preds = %5 %10 = getelementptr inbounds i8, ptr %0, i64 %6 store i8 %8, ptr %10, align 1, !tbaa !5 %11 = add nuw i64 %6, 1 %12 = icmp eq i64 %11, %3 br i1 %12, label %13, label %5, !llvm.loop !8 13: ; preds = %9, %5, %5, %2 %14 = phi i64 [ 0, %2 ], [ %6, %5 ], [ %6, %5 ], [ %3, %9 ] %15 = getelementptr inbounds i8, ptr %0, i64 %14 store i8 0, ptr %15, align 1, !tbaa !5 %16 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %0) #3 ret i32 undef } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/lib/fs/extr_fs.c_FsGetFirstNameFromPath.c' source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/lib/fs/extr_fs.c_FsGetFirstNameFromPath.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 [51 x i8] c"FsGetFirstNameFromPath() Path = %s FirstName = %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @FsGetFirstNameFromPath(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) %4 = icmp eq i64 %3, 0 br i1 %4, label %13, label %5 5: ; preds = %2, %9 %6 = phi i64 [ %11, %9 ], [ 0, %2 ] %7 = getelementptr inbounds i8, ptr %1, i64 %6 %8 = load i8, ptr %7, align 1, !tbaa !6 switch i8 %8, label %9 [ i8 92, label %13 i8 47, label %13 ] 9: ; preds = %5 %10 = getelementptr inbounds i8, ptr %0, i64 %6 store i8 %8, ptr %10, align 1, !tbaa !6 %11 = add nuw i64 %6, 1 %12 = icmp eq i64 %11, %3 br i1 %12, label %13, label %5, !llvm.loop !9 13: ; preds = %9, %5, %5, %2 %14 = phi i64 [ 0, %2 ], [ %6, %5 ], [ %6, %5 ], [ %3, %9 ] %15 = getelementptr inbounds i8, ptr %0, i64 %14 store i8 0, ptr %15, align 1, !tbaa !6 %16 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %0) #3 ret i32 undef } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
reactos_boot_freeldr_freeldr_lib_fs_extr_fs.c_FsGetFirstNameFromPath
; ModuleID = 'AnghaBench/libgit2/src/extr_odb.c_git_odb__error_notfound.c' source_filename = "AnghaBench/libgit2/src/extr_odb.c_git_odb__error_notfound.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GIT_OID_HEXSZ = dso_local local_unnamed_addr global i32 0, align 4 @GIT_ERROR_ODB = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"object not found - %s (%.*s)\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"object not found - %s\00", align 1 @GIT_ENOTFOUND = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @git_odb__error_notfound(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null br i1 %4, label %16, label %5 5: ; preds = %3 %6 = load i32, ptr @GIT_OID_HEXSZ, align 4, !tbaa !5 %7 = add nsw i32 %6, 1 %8 = zext i32 %7 to i64 %9 = tail call ptr @llvm.stacksave.p0() %10 = alloca i8, i64 %8, align 16 %11 = add i64 %2, 1 %12 = call i32 @git_oid_tostr(ptr noundef nonnull %10, i64 noundef %11, ptr noundef nonnull %1) #3 %13 = load i32, ptr @GIT_ERROR_ODB, align 4, !tbaa !5 %14 = trunc i64 %2 to i32 %15 = call i32 (i32, ptr, ptr, ...) @git_error_set(i32 noundef %13, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %14, ptr noundef nonnull %10) #3 call void @llvm.stackrestore.p0(ptr %9) br label %19 16: ; preds = %3 %17 = load i32, ptr @GIT_ERROR_ODB, align 4, !tbaa !5 %18 = tail call i32 (i32, ptr, ptr, ...) @git_error_set(i32 noundef %17, ptr noundef nonnull @.str.1, ptr noundef %0) #3 br label %19 19: ; preds = %16, %5 %20 = load i32, ptr @GIT_ENOTFOUND, align 4, !tbaa !5 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #1 declare i32 @git_oid_tostr(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_error_set(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 } 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/libgit2/src/extr_odb.c_git_odb__error_notfound.c' source_filename = "AnghaBench/libgit2/src/extr_odb.c_git_odb__error_notfound.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GIT_OID_HEXSZ = common local_unnamed_addr global i32 0, align 4 @GIT_ERROR_ODB = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"object not found - %s (%.*s)\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"object not found - %s\00", align 1 @GIT_ENOTFOUND = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @git_odb__error_notfound(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null br i1 %4, label %16, label %5 5: ; preds = %3 %6 = load i32, ptr @GIT_OID_HEXSZ, align 4, !tbaa !6 %7 = add nsw i32 %6, 1 %8 = zext i32 %7 to i64 %9 = tail call ptr @llvm.stacksave.p0() %10 = alloca i8, i64 %8, align 1 %11 = add i64 %2, 1 %12 = call i32 @git_oid_tostr(ptr noundef nonnull %10, i64 noundef %11, ptr noundef nonnull %1) #3 %13 = load i32, ptr @GIT_ERROR_ODB, align 4, !tbaa !6 %14 = trunc i64 %2 to i32 %15 = call i32 (i32, ptr, ptr, ...) @git_error_set(i32 noundef %13, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %14, ptr noundef nonnull %10) #3 call void @llvm.stackrestore.p0(ptr %9) br label %19 16: ; preds = %3 %17 = load i32, ptr @GIT_ERROR_ODB, align 4, !tbaa !6 %18 = tail call i32 (i32, ptr, ptr, ...) @git_error_set(i32 noundef %17, ptr noundef nonnull @.str.1, ptr noundef %0) #3 br label %19 19: ; preds = %16, %5 %20 = load i32, ptr @GIT_ENOTFOUND, align 4, !tbaa !6 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #1 declare i32 @git_oid_tostr(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_error_set(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 } 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"}
libgit2_src_extr_odb.c_git_odb__error_notfound
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_dt2817.c_dt2817_dio_insn_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_dt2817.c_dt2817_dio_insn_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" %struct.comedi_insn = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @DT2817_CR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dt2817_dio_insn_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dt2817_dio_insn_config(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !5 %6 = icmp eq i32 %5, 1 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !10 %9 = sub nsw i32 0, %8 br label %51 10: ; preds = %4 %11 = getelementptr inbounds %struct.comedi_insn, ptr %2, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i32 @CR_CHAN(i32 noundef %12) #2 %14 = icmp slt i32 %13, 8 br i1 %14, label %20, label %15 15: ; preds = %10 %16 = icmp ult i32 %13, 16 br i1 %16, label %20, label %17 17: ; preds = %15 %18 = icmp ult i32 %13, 24 %19 = select i1 %18, i32 16711680, i32 -16777216 br label %20 20: ; preds = %17, %15, %10 %21 = phi i32 [ 255, %10 ], [ 65280, %15 ], [ %19, %17 ] %22 = load i32, ptr %3, align 4, !tbaa !10 %23 = icmp eq i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr %1, align 4, !tbaa !12 %26 = or i32 %25, %21 br label %31 27: ; preds = %20 %28 = xor i32 %21, -1 %29 = load i32, ptr %1, align 4, !tbaa !12 %30 = and i32 %29, %28 br label %31 31: ; preds = %27, %24 %32 = phi i32 [ %30, %27 ], [ %26, %24 ] store i32 %32, ptr %1, align 4, !tbaa !12 %33 = and i32 %32, 255 %34 = icmp ne i32 %33, 0 %35 = zext i1 %34 to i32 %36 = and i32 %32, 65280 %37 = icmp eq i32 %36, 0 %38 = or disjoint i32 %35, 2 %39 = select i1 %37, i32 %35, i32 %38 %40 = and i32 %32, 16711680 %41 = icmp eq i32 %40, 0 %42 = or disjoint i32 %39, 4 %43 = select i1 %41, i32 %39, i32 %42 %44 = icmp ult i32 %32, 16777216 %45 = or disjoint i32 %43, 8 %46 = select i1 %44, i32 %43, i32 %45 %47 = load i64, ptr %0, align 8, !tbaa !14 %48 = load i64, ptr @DT2817_CR, align 8, !tbaa !17 %49 = add nsw i64 %48, %47 %50 = tail call i32 @outb(i32 noundef %46, i64 noundef %49) #2 br label %51 51: ; preds = %31, %7 %52 = phi i32 [ %9, %7 ], [ 1, %31 ] ret i32 %52 } declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1 declare i32 @outb(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, !7, i64 0} !6 = !{!"comedi_insn", !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} !12 = !{!13, !7, i64 0} !13 = !{!"comedi_subdevice", !7, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"comedi_device", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_dt2817.c_dt2817_dio_insn_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_dt2817.c_dt2817_dio_insn_config.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 @DT2817_CR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @dt2817_dio_insn_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @dt2817_dio_insn_config(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !6 %6 = icmp eq i32 %5, 1 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 br label %51 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %2, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = tail call i32 @CR_CHAN(i32 noundef %12) #2 %14 = icmp slt i32 %13, 8 br i1 %14, label %20, label %15 15: ; preds = %10 %16 = icmp ult i32 %13, 16 br i1 %16, label %20, label %17 17: ; preds = %15 %18 = icmp ult i32 %13, 24 %19 = select i1 %18, i32 16711680, i32 -16777216 br label %20 20: ; preds = %17, %15, %10 %21 = phi i32 [ 255, %10 ], [ 65280, %15 ], [ %19, %17 ] %22 = load i32, ptr %3, align 4, !tbaa !11 %23 = icmp eq i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr %1, align 4, !tbaa !13 %26 = or i32 %25, %21 br label %31 27: ; preds = %20 %28 = xor i32 %21, -1 %29 = load i32, ptr %1, align 4, !tbaa !13 %30 = and i32 %29, %28 br label %31 31: ; preds = %27, %24 %32 = phi i32 [ %30, %27 ], [ %26, %24 ] store i32 %32, ptr %1, align 4, !tbaa !13 %33 = and i32 %32, 255 %34 = icmp ne i32 %33, 0 %35 = zext i1 %34 to i32 %36 = and i32 %32, 65280 %37 = icmp eq i32 %36, 0 %38 = or disjoint i32 %35, 2 %39 = select i1 %37, i32 %35, i32 %38 %40 = and i32 %32, 16711680 %41 = icmp eq i32 %40, 0 %42 = or disjoint i32 %39, 4 %43 = select i1 %41, i32 %39, i32 %42 %44 = icmp ult i32 %32, 16777216 %45 = or disjoint i32 %43, 8 %46 = select i1 %44, i32 %43, i32 %45 %47 = load i64, ptr %0, align 8, !tbaa !15 %48 = load i64, ptr @DT2817_CR, align 8, !tbaa !18 %49 = add nsw i64 %48, %47 %50 = tail call i32 @outb(i32 noundef %46, i64 noundef %49) #2 br label %51 51: ; preds = %31, %7 %52 = phi i32 [ %9, %7 ], [ 1, %31 ] ret i32 %52 } declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1 declare i32 @outb(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, !8, i64 0} !7 = !{!"comedi_insn", !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} !13 = !{!14, !8, i64 0} !14 = !{!"comedi_subdevice", !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"comedi_device", !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!17, !17, i64 0}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_dt2817.c_dt2817_dio_insn_config
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_menelaus.c_menelaus_set_vcore_sw.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_menelaus.c_menelaus_set_vcore_sw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i64, ptr } @the_menelaus = dso_local local_unnamed_addr global ptr null, align 8 @vcore_values = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Setting VCORE to %d mV (val 0x%02x)\0A\00", align 1 @MENELAUS_VCORE_CTRL1 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @menelaus_set_vcore_sw(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @the_menelaus, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !9 %5 = load i32, ptr @vcore_values, align 4, !tbaa !13 %6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2 %7 = tail call i32 @menelaus_get_vtg_value(i32 noundef %0, i32 noundef %5, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @EINVAL, align 4, !tbaa !13 %11 = sub nsw i32 0, %10 br label %25 12: ; preds = %1 %13 = tail call i32 @dev_dbg(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %7) #2 %14 = load ptr, ptr @the_menelaus, align 8, !tbaa !5 %15 = tail call i32 @mutex_lock(ptr noundef %14) #2 %16 = load i32, ptr @MENELAUS_VCORE_CTRL1, align 4, !tbaa !13 %17 = tail call i32 @menelaus_write_reg(i32 noundef %16, i32 noundef %7) #2 %18 = icmp eq i32 %17, 0 %19 = load ptr, ptr @the_menelaus, align 8, !tbaa !5 br i1 %18, label %20, label %22 20: ; preds = %12 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 0, i32 1 store i64 0, ptr %21, align 8, !tbaa !14 br label %22 22: ; preds = %20, %12 %23 = tail call i32 @mutex_unlock(ptr noundef %19) #2 %24 = tail call i32 @msleep(i32 noundef 1) #2 br label %25 25: ; preds = %22, %9 %26 = phi i32 [ %11, %9 ], [ %17, %22 ] ret i32 %26 } declare i32 @menelaus_get_vtg_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @menelaus_write_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @msleep(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, !6, i64 16} !10 = !{!"TYPE_2__", !11, i64 0, !12, i64 8, !6, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!10, !12, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_menelaus.c_menelaus_set_vcore_sw.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_menelaus.c_menelaus_set_vcore_sw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @the_menelaus = common local_unnamed_addr global ptr null, align 8 @vcore_values = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Setting VCORE to %d mV (val 0x%02x)\0A\00", align 1 @MENELAUS_VCORE_CTRL1 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @menelaus_set_vcore_sw(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @the_menelaus, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr @vcore_values, align 4, !tbaa !14 %6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2 %7 = tail call i32 @menelaus_get_vtg_value(i32 noundef %0, i32 noundef %5, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @EINVAL, align 4, !tbaa !14 %11 = sub nsw i32 0, %10 br label %25 12: ; preds = %1 %13 = tail call i32 @dev_dbg(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %7) #2 %14 = load ptr, ptr @the_menelaus, align 8, !tbaa !6 %15 = tail call i32 @mutex_lock(ptr noundef %14) #2 %16 = load i32, ptr @MENELAUS_VCORE_CTRL1, align 4, !tbaa !14 %17 = tail call i32 @menelaus_write_reg(i32 noundef %16, i32 noundef %7) #2 %18 = icmp eq i32 %17, 0 %19 = load ptr, ptr @the_menelaus, align 8, !tbaa !6 br i1 %18, label %20, label %22 20: ; preds = %12 %21 = getelementptr inbounds i8, ptr %19, i64 8 store i64 0, ptr %21, align 8, !tbaa !15 br label %22 22: ; preds = %20, %12 %23 = tail call i32 @mutex_unlock(ptr noundef %19) #2 %24 = tail call i32 @msleep(i32 noundef 1) #2 br label %25 25: ; preds = %22, %9 %26 = phi i32 [ %11, %9 ], [ %17, %22 ] ret i32 %26 } declare i32 @menelaus_get_vtg_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @menelaus_write_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @msleep(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, !7, i64 16} !11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8, !7, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !13, i64 8}
fastsocket_kernel_drivers_mfd_extr_menelaus.c_menelaus_set_vcore_sw
; ModuleID = 'AnghaBench/esp-idf/components/freemodbus/port/extr_portserial_m.c_xMBMasterPortSerialGetByte.c' source_filename = "AnghaBench/esp-idf/components/freemodbus/port/extr_portserial_m.c_xMBMasterPortSerialGetByte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @uiRxBufferPos = dso_local local_unnamed_addr global i64 0, align 8 @MB_SERIAL_BUF_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"mb stack serial get byte failure.\00", align 1 @ucBuffer = dso_local local_unnamed_addr global ptr null, align 8 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @xMBMasterPortSerialGetByte(ptr noundef writeonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @assert(i32 noundef %3) #2 %5 = load i64, ptr @uiRxBufferPos, align 8, !tbaa !5 %6 = load i64, ptr @MB_SERIAL_BUF_SIZE, align 8, !tbaa !5 %7 = icmp ult i64 %5, %6 %8 = zext i1 %7 to i32 %9 = load i32, ptr @FALSE, align 4, !tbaa !9 %10 = tail call i32 @MB_PORT_CHECK(i32 noundef %8, i32 noundef %9, ptr noundef nonnull @.str) #2 %11 = load ptr, ptr @ucBuffer, align 8, !tbaa !11 %12 = load i64, ptr @uiRxBufferPos, align 8, !tbaa !5 %13 = getelementptr inbounds i32, ptr %11, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !9 store i32 %14, ptr %0, align 4, !tbaa !9 %15 = add i64 %12, 1 store i64 %15, ptr @uiRxBufferPos, align 8, !tbaa !5 %16 = load i32, ptr @TRUE, align 4, !tbaa !9 ret i32 %16 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @MB_PORT_CHECK(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/freemodbus/port/extr_portserial_m.c_xMBMasterPortSerialGetByte.c' source_filename = "AnghaBench/esp-idf/components/freemodbus/port/extr_portserial_m.c_xMBMasterPortSerialGetByte.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @uiRxBufferPos = common local_unnamed_addr global i64 0, align 8 @MB_SERIAL_BUF_SIZE = common local_unnamed_addr global i64 0, align 8 @FALSE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"mb stack serial get byte failure.\00", align 1 @ucBuffer = common local_unnamed_addr global ptr null, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @xMBMasterPortSerialGetByte(ptr noundef writeonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @assert(i32 noundef %3) #2 %5 = load i64, ptr @uiRxBufferPos, align 8, !tbaa !6 %6 = load i64, ptr @MB_SERIAL_BUF_SIZE, align 8, !tbaa !6 %7 = icmp ult i64 %5, %6 %8 = zext i1 %7 to i32 %9 = load i32, ptr @FALSE, align 4, !tbaa !10 %10 = tail call i32 @MB_PORT_CHECK(i32 noundef %8, i32 noundef %9, ptr noundef nonnull @.str) #2 %11 = load ptr, ptr @ucBuffer, align 8, !tbaa !12 %12 = load i64, ptr @uiRxBufferPos, align 8, !tbaa !6 %13 = getelementptr inbounds i32, ptr %11, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !10 store i32 %14, ptr %0, align 4, !tbaa !10 %15 = add i64 %12, 1 store i64 %15, ptr @uiRxBufferPos, align 8, !tbaa !6 %16 = load i32, ptr @TRUE, align 4, !tbaa !10 ret i32 %16 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @MB_PORT_CHECK(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
esp-idf_components_freemodbus_port_extr_portserial_m.c_xMBMasterPortSerialGetByte
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_isync_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_isync_Slot_inst_encode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @Opcode_isync_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @Opcode_isync_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 8192, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_isync_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_isync_Slot_inst_encode.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 @Opcode_isync_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @Opcode_isync_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 8192, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_isync_Slot_inst_encode
; ModuleID = 'AnghaBench/linux/lib/fonts/extr_fonts.c_find_font.c' source_filename = "AnghaBench/linux/lib/fonts/extr_fonts.c_find_font.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @num_fonts = dso_local local_unnamed_addr global i32 0, align 4 @fonts = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @find_font(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @num_fonts, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUILD_BUG_ON(i32 noundef %4) #2 %6 = load i32, ptr @num_fonts, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %25, label %13 8: ; preds = %13 %9 = add nuw nsw i64 %14, 1 %10 = load i32, ptr @num_fonts, align 4, !tbaa !5 %11 = zext i32 %10 to i64 %12 = icmp ult i64 %9, %11 br i1 %12, label %13, label %25, !llvm.loop !9 13: ; preds = %1, %8 %14 = phi i64 [ %9, %8 ], [ 0, %1 ] %15 = load ptr, ptr @fonts, align 8, !tbaa !11 %16 = getelementptr inbounds ptr, ptr %15, i64 %14 %17 = load ptr, ptr %16, align 8, !tbaa !11 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = tail call i32 @strcmp(i32 noundef %18, ptr noundef %0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %8 21: ; preds = %13 %22 = load ptr, ptr @fonts, align 8, !tbaa !11 %23 = getelementptr inbounds ptr, ptr %22, i64 %14 %24 = load ptr, ptr %23, align 8, !tbaa !11 br label %25 25: ; preds = %8, %1, %21 %26 = phi ptr [ %24, %21 ], [ null, %1 ], [ null, %8 ] ret ptr %26 } declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"font_desc", !6, i64 0}
; ModuleID = 'AnghaBench/linux/lib/fonts/extr_fonts.c_find_font.c' source_filename = "AnghaBench/linux/lib/fonts/extr_fonts.c_find_font.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @num_fonts = common local_unnamed_addr global i32 0, align 4 @fonts = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @find_font(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @num_fonts, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUILD_BUG_ON(i32 noundef %4) #2 %6 = load i32, ptr @num_fonts, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %25, label %13 8: ; preds = %13 %9 = add nuw nsw i64 %14, 1 %10 = load i32, ptr @num_fonts, align 4, !tbaa !6 %11 = zext i32 %10 to i64 %12 = icmp ult i64 %9, %11 br i1 %12, label %13, label %25, !llvm.loop !10 13: ; preds = %1, %8 %14 = phi i64 [ %9, %8 ], [ 0, %1 ] %15 = load ptr, ptr @fonts, align 8, !tbaa !12 %16 = getelementptr inbounds ptr, ptr %15, i64 %14 %17 = load ptr, ptr %16, align 8, !tbaa !12 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = tail call i32 @strcmp(i32 noundef %18, ptr noundef %0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %8 21: ; preds = %13 %22 = load ptr, ptr @fonts, align 8, !tbaa !12 %23 = getelementptr inbounds ptr, ptr %22, i64 %14 %24 = load ptr, ptr %23, align 8, !tbaa !12 br label %25 25: ; preds = %8, %1, %21 %26 = phi ptr [ %24, %21 ], [ null, %1 ], [ null, %8 ] ret ptr %26 } declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"font_desc", !7, i64 0}
linux_lib_fonts_extr_fonts.c_find_font
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_destroy.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @nft_synproxy_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nft_synproxy_destroy(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @nft_synproxy_do_destroy(ptr noundef %0) #2 ret void } declare i32 @nft_synproxy_do_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_destroy.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nft_synproxy.c_nft_synproxy_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @nft_synproxy_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nft_synproxy_destroy(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @nft_synproxy_do_destroy(ptr noundef %0) #2 ret void } declare i32 @nft_synproxy_do_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_netfilter_extr_nft_synproxy.c_nft_synproxy_destroy
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_ieee80211.c_action_public_str.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_ieee80211.c_action_public_str.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ACT_PUBLIC_MAX = dso_local local_unnamed_addr global i64 0, align 8 @_action_public_str = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local ptr @action_public_str(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @ACT_PUBLIC_MAX, align 8 %3 = tail call i64 @llvm.umin.i64(i64 %2, i64 %0) %4 = load ptr, ptr @_action_public_str, align 8, !tbaa !5 %5 = getelementptr inbounds ptr, ptr %4, i64 %3 %6 = load ptr, ptr %5, align 8, !tbaa !5 ret ptr %6 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.i64(i64, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_ieee80211.c_action_public_str.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_ieee80211.c_action_public_str.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ACT_PUBLIC_MAX = common local_unnamed_addr global i64 0, align 8 @_action_public_str = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define ptr @action_public_str(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @ACT_PUBLIC_MAX, align 8 %3 = tail call i64 @llvm.umin.i64(i64 %2, i64 %0) %4 = load ptr, ptr @_action_public_str, align 8, !tbaa !6 %5 = getelementptr inbounds ptr, ptr %4, i64 %3 %6 = load ptr, ptr %5, align 8, !tbaa !6 ret ptr %6 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.i64(i64, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_rtl8723bs_core_extr_rtw_ieee80211.c_action_public_str
; ModuleID = 'AnghaBench/esp-idf/examples/system/console/components/cmd_system/extr_cmd_system.c_deep_sleep.c' source_filename = "AnghaBench/esp-idf/examples/system/console/components/cmd_system/extr_cmd_system.c_deep_sleep.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, i32 } %struct.TYPE_5__ = type { ptr, i64 } %struct.TYPE_6__ = type { ptr, i64 } %struct.TYPE_7__ = type { ptr, i64 } @deep_sleep_args = dso_local global %struct.TYPE_8__ zeroinitializer, align 8 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @TAG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"Enabling timer wakeup, timeout=%lluus\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"GPIO %d is not an RTC IO\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Invalid wakeup level: %d\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"Enabling wakeup on GPIO%d, wakeup on %s level\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"HIGH\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"LOW\00", align 1 @GPIO_NUM_12 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @deep_sleep], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @deep_sleep(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @arg_parse(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @deep_sleep_args) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load i32, ptr @stderr, align 4, !tbaa !5 %7 = load i32, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @deep_sleep_args, i64 0, i32 3), align 8, !tbaa !9 %8 = load ptr, ptr %1, align 8, !tbaa !12 %9 = tail call i32 @arg_print_errors(i32 noundef %6, i32 noundef %7, ptr noundef %8) #2 br label %66 10: ; preds = %2 %11 = load ptr, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @deep_sleep_args, i64 0, i32 2), align 8, !tbaa !13 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %10 %16 = load ptr, ptr %11, align 8, !tbaa !17 %17 = load i64, ptr %16, align 8, !tbaa !18 %18 = mul i64 %17, 1000 %19 = load i32, ptr @TAG, align 4, !tbaa !5 %20 = trunc i64 %18 to i32 %21 = tail call i32 (i32, ptr, i32, ...) @ESP_LOGI(i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = tail call i32 @esp_sleep_enable_timer_wakeup(i64 noundef %18) #2 %23 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %22) #2 br label %24 24: ; preds = %15, %10 %25 = load ptr, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @deep_sleep_args, i64 0, i32 1), align 8, !tbaa !20 %26 = getelementptr inbounds %struct.TYPE_6__, ptr %25, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !21 %28 = icmp eq i64 %27, 0 br i1 %28, label %62, label %29 29: ; preds = %24 %30 = load ptr, ptr %25, align 8, !tbaa !23 %31 = load i32, ptr %30, align 4, !tbaa !5 %32 = tail call i32 @rtc_gpio_is_valid_gpio(i32 noundef %31) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %29 %35 = load i32, ptr @TAG, align 4, !tbaa !5 %36 = tail call i32 @ESP_LOGE(i32 noundef %35, ptr noundef nonnull @.str.1, i32 noundef %31) #2 br label %66 37: ; preds = %29 %38 = load ptr, ptr @deep_sleep_args, align 8, !tbaa !24 %39 = getelementptr inbounds %struct.TYPE_7__, ptr %38, i64 0, i32 1 %40 = load i64, ptr %39, align 8, !tbaa !25 %41 = icmp eq i64 %40, 0 br i1 %41, label %53, label %42 42: ; preds = %37 %43 = load ptr, ptr %38, align 8, !tbaa !27 %44 = load i32, ptr %43, align 4, !tbaa !5 %45 = freeze i32 %44 %46 = icmp ugt i32 %45, 1 br i1 %46, label %47, label %50 47: ; preds = %42 %48 = load i32, ptr @TAG, align 4, !tbaa !5 %49 = tail call i32 @ESP_LOGE(i32 noundef %48, ptr noundef nonnull @.str.2, i32 noundef %45) #2 br label %66 50: ; preds = %42 %51 = icmp eq i32 %45, 0 %52 = select i1 %51, ptr @.str.5, ptr @.str.4 br label %53 53: ; preds = %37, %50 %54 = phi i32 [ %45, %50 ], [ 0, %37 ] %55 = phi ptr [ %52, %50 ], [ @.str.5, %37 ] %56 = load i32, ptr @TAG, align 4, !tbaa !5 %57 = tail call i32 (i32, ptr, i32, ...) @ESP_LOGI(i32 noundef %56, ptr noundef nonnull @.str.3, i32 noundef %31, ptr noundef nonnull %55) #2 %58 = zext nneg i32 %31 to i64 %59 = shl nuw i64 1, %58 %60 = tail call i32 @esp_sleep_enable_ext1_wakeup(i64 noundef %59, i32 noundef %54) #2 %61 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %60) #2 br label %62 62: ; preds = %53, %24 %63 = load i32, ptr @GPIO_NUM_12, align 4, !tbaa !5 %64 = tail call i32 @rtc_gpio_isolate(i32 noundef %63) #2 %65 = tail call i32 (...) @esp_deep_sleep_start() #2 br label %66 66: ; preds = %34, %47, %62, %5 ret i32 1 } declare i32 @arg_parse(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @arg_print_errors(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ESP_LOGI(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @ESP_ERROR_CHECK(i32 noundef) local_unnamed_addr #1 declare i32 @esp_sleep_enable_timer_wakeup(i64 noundef) local_unnamed_addr #1 declare i32 @rtc_gpio_is_valid_gpio(i32 noundef) local_unnamed_addr #1 declare i32 @ESP_LOGE(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @esp_sleep_enable_ext1_wakeup(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtc_gpio_isolate(i32 noundef) local_unnamed_addr #1 declare i32 @esp_deep_sleep_start(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 24} !10 = !{!"TYPE_8__", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !11, i64 16} !14 = !{!15, !16, i64 8} !15 = !{!"TYPE_5__", !11, i64 0, !16, i64 8} !16 = !{!"long", !7, i64 0} !17 = !{!15, !11, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long long", !7, i64 0} !20 = !{!10, !11, i64 8} !21 = !{!22, !16, i64 8} !22 = !{!"TYPE_6__", !11, i64 0, !16, i64 8} !23 = !{!22, !11, i64 0} !24 = !{!10, !11, i64 0} !25 = !{!26, !16, i64 8} !26 = !{!"TYPE_7__", !11, i64 0, !16, i64 8} !27 = !{!26, !11, i64 0}
; ModuleID = 'AnghaBench/esp-idf/examples/system/console/components/cmd_system/extr_cmd_system.c_deep_sleep.c' source_filename = "AnghaBench/esp-idf/examples/system/console/components/cmd_system/extr_cmd_system.c_deep_sleep.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, ptr, ptr, i32 } @deep_sleep_args = common global %struct.TYPE_8__ zeroinitializer, align 8 @stderr = common local_unnamed_addr global i32 0, align 4 @TAG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"Enabling timer wakeup, timeout=%lluus\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"GPIO %d is not an RTC IO\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Invalid wakeup level: %d\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"Enabling wakeup on GPIO%d, wakeup on %s level\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"HIGH\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"LOW\00", align 1 @GPIO_NUM_12 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @deep_sleep], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @deep_sleep(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @arg_parse(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @deep_sleep_args) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load i32, ptr @stderr, align 4, !tbaa !6 %7 = load i32, ptr getelementptr inbounds (i8, ptr @deep_sleep_args, i64 24), align 8, !tbaa !10 %8 = load ptr, ptr %1, align 8, !tbaa !13 %9 = tail call i32 @arg_print_errors(i32 noundef %6, i32 noundef %7, ptr noundef %8) #2 br label %69 10: ; preds = %2 %11 = load ptr, ptr getelementptr inbounds (i8, ptr @deep_sleep_args, i64 16), align 8, !tbaa !14 %12 = getelementptr inbounds i8, ptr %11, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %10 %16 = load ptr, ptr %11, align 8, !tbaa !18 %17 = load i64, ptr %16, align 8, !tbaa !19 %18 = mul i64 %17, 1000 %19 = load i32, ptr @TAG, align 4, !tbaa !6 %20 = trunc i64 %18 to i32 %21 = tail call i32 (i32, ptr, i32, ...) @ESP_LOGI(i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = tail call i32 @esp_sleep_enable_timer_wakeup(i64 noundef %18) #2 %23 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %22) #2 br label %24 24: ; preds = %15, %10 %25 = load ptr, ptr getelementptr inbounds (i8, ptr @deep_sleep_args, i64 8), align 8, !tbaa !21 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !22 %28 = icmp eq i64 %27, 0 br i1 %28, label %65, label %29 29: ; preds = %24 %30 = load ptr, ptr %25, align 8, !tbaa !24 %31 = load i32, ptr %30, align 4, !tbaa !6 %32 = tail call i32 @rtc_gpio_is_valid_gpio(i32 noundef %31) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %29 %35 = load i32, ptr @TAG, align 4, !tbaa !6 %36 = tail call i32 @ESP_LOGE(i32 noundef %35, ptr noundef nonnull @.str.1, i32 noundef %31) #2 br label %69 37: ; preds = %29 %38 = load ptr, ptr @deep_sleep_args, align 8, !tbaa !25 %39 = getelementptr inbounds i8, ptr %38, i64 8 %40 = load i64, ptr %39, align 8, !tbaa !26 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = load i32, ptr @TAG, align 4, !tbaa !6 br label %54 44: ; preds = %37 %45 = load ptr, ptr %38, align 8, !tbaa !28 %46 = load i32, ptr %45, align 4, !tbaa !6 %47 = freeze i32 %46 %48 = icmp ugt i32 %47, 1 %49 = load i32, ptr @TAG, align 4, !tbaa !6 br i1 %48, label %50, label %52 50: ; preds = %44 %51 = tail call i32 @ESP_LOGE(i32 noundef %49, ptr noundef nonnull @.str.2, i32 noundef %47) #2 br label %69 52: ; preds = %44 %53 = icmp eq i32 %47, 0 br i1 %53, label %54, label %56 54: ; preds = %42, %52 %55 = phi i32 [ %43, %42 ], [ %49, %52 ] br label %56 56: ; preds = %52, %54 %57 = phi i32 [ %55, %54 ], [ %49, %52 ] %58 = phi i32 [ 0, %54 ], [ 1, %52 ] %59 = phi ptr [ @.str.5, %54 ], [ @.str.4, %52 ] %60 = tail call i32 (i32, ptr, i32, ...) @ESP_LOGI(i32 noundef %57, ptr noundef nonnull @.str.3, i32 noundef %31, ptr noundef nonnull %59) #2 %61 = zext nneg i32 %31 to i64 %62 = shl nuw i64 1, %61 %63 = tail call i32 @esp_sleep_enable_ext1_wakeup(i64 noundef %62, i32 noundef %58) #2 %64 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %63) #2 br label %65 65: ; preds = %56, %24 %66 = load i32, ptr @GPIO_NUM_12, align 4, !tbaa !6 %67 = tail call i32 @rtc_gpio_isolate(i32 noundef %66) #2 %68 = tail call i32 @esp_deep_sleep_start() #2 br label %69 69: ; preds = %34, %50, %65, %5 ret i32 1 } declare i32 @arg_parse(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @arg_print_errors(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ESP_LOGI(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @ESP_ERROR_CHECK(i32 noundef) local_unnamed_addr #1 declare i32 @esp_sleep_enable_timer_wakeup(i64 noundef) local_unnamed_addr #1 declare i32 @rtc_gpio_is_valid_gpio(i32 noundef) local_unnamed_addr #1 declare i32 @ESP_LOGE(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @esp_sleep_enable_ext1_wakeup(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtc_gpio_isolate(i32 noundef) local_unnamed_addr #1 declare i32 @esp_deep_sleep_start(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 24} !11 = !{!"TYPE_8__", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 16} !15 = !{!16, !17, i64 8} !16 = !{!"TYPE_5__", !12, i64 0, !17, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!16, !12, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"long long", !8, i64 0} !21 = !{!11, !12, i64 8} !22 = !{!23, !17, i64 8} !23 = !{!"TYPE_6__", !12, i64 0, !17, i64 8} !24 = !{!23, !12, i64 0} !25 = !{!11, !12, i64 0} !26 = !{!27, !17, i64 8} !27 = !{!"TYPE_7__", !12, i64 0, !17, i64 8} !28 = !{!27, !12, i64 0}
esp-idf_examples_system_console_components_cmd_system_extr_cmd_system.c_deep_sleep
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_cmds.c_R_GetCommandBuffer.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_cmds.c_R_GetCommandBuffer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i8* @R_GetCommandBuffer(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @PAD(i32 noundef 4, i32 noundef 8) #2 %3 = tail call i8* @R_GetCommandBufferReserved(i32 noundef %0, i32 noundef %2) #2 ret i8* %3 } declare i8* @R_GetCommandBufferReserved(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PAD(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_cmds.c_R_GetCommandBuffer.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_cmds.c_R_GetCommandBuffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @R_GetCommandBuffer(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @PAD(i32 noundef 4, i32 noundef 8) #2 %3 = tail call ptr @R_GetCommandBufferReserved(i32 noundef %0, i32 noundef %2) #2 ret ptr %3 } declare ptr @R_GetCommandBufferReserved(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PAD(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)"}
lab_engine_code_renderergl2_extr_tr_cmds.c_R_GetCommandBuffer
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_..bridgebr_private.h_br_should_learn.c' source_filename = "AnghaBench/linux/net/ipv6/extr_..bridgebr_private.h_br_should_learn.c" target datalayout = "e-m:e-p270:32:32-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 @br_should_learn], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @br_should_learn(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { ret i32 1 } 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/net/ipv6/extr_..bridgebr_private.h_br_should_learn.c' source_filename = "AnghaBench/linux/net/ipv6/extr_..bridgebr_private.h_br_should_learn.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 @br_should_learn], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @br_should_learn(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { ret i32 1 } 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_net_ipv6_extr_..bridgebr_private.h_br_should_learn
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/samsung/sxgbe/extr_sxgbe_desc.c_sxgbe_get_rx_ld_status.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/samsung/sxgbe/extr_sxgbe_desc.c_sxgbe_get_rx_ld_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @sxgbe_get_rx_ld_status], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @sxgbe_get_rx_ld_status(ptr nocapture noundef readonly %0) #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, !9, i64 0} !6 = !{!"sxgbe_rx_norm_desc", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/samsung/sxgbe/extr_sxgbe_desc.c_sxgbe_get_rx_ld_status.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/samsung/sxgbe/extr_sxgbe_desc.c_sxgbe_get_rx_ld_status.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 @sxgbe_get_rx_ld_status], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @sxgbe_get_rx_ld_status(ptr nocapture noundef readonly %0) #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, !10, i64 0} !7 = !{!"sxgbe_rx_norm_desc", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_samsung_sxgbe_extr_sxgbe_desc.c_sxgbe_get_rx_ld_status
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/ofw/extr_ofw_syscons.c_ofwfb_diag.c' source_filename = "AnghaBench/freebsd/sys/powerpc/ofw/extr_ofw_syscons.c_ofwfb_diag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TODO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ofwfb_diag], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ofwfb_diag(ptr nocapture readnone %0, i32 %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/powerpc/ofw/extr_ofw_syscons.c_ofwfb_diag.c' source_filename = "AnghaBench/freebsd/sys/powerpc/ofw/extr_ofw_syscons.c_ofwfb_diag.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TODO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ofwfb_diag], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ofwfb_diag(ptr nocapture readnone %0, i32 %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_powerpc_ofw_extr_ofw_syscons.c_ofwfb_diag
; ModuleID = 'AnghaBench/git/xdiff/extr_xpatience.c_fall_back_to_classic_diff.c' source_filename = "AnghaBench/git/xdiff/extr_xpatience.c_fall_back_to_classic_diff.c" target datalayout = "e-m:e-p270:32:32-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.hashmap = type { i32, ptr } @XDF_DIFF_ALGORITHM_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fall_back_to_classic_diff], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fall_back_to_classic_diff(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.TYPE_5__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = getelementptr inbounds %struct.hashmap, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = load i32, ptr @XDF_DIFF_ALGORITHM_MASK, align 4, !tbaa !13 %11 = xor i32 %10, -1 %12 = and i32 %9, %11 store i32 %12, ptr %6, align 4, !tbaa !14 %13 = load i32, ptr %0, align 8, !tbaa !16 %14 = call i32 @xdl_fall_back_diff(i32 noundef %13, ptr noundef nonnull %6, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xdl_fall_back_diff(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"hashmap", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_5__", !7, i64 0} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/git/xdiff/extr_xpatience.c_fall_back_to_classic_diff.c' source_filename = "AnghaBench/git/xdiff/extr_xpatience.c_fall_back_to_classic_diff.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32 } @XDF_DIFF_ALGORITHM_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fall_back_to_classic_diff], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fall_back_to_classic_diff(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.TYPE_5__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = load i32, ptr @XDF_DIFF_ALGORITHM_MASK, align 4, !tbaa !14 %11 = xor i32 %10, -1 %12 = and i32 %9, %11 store i32 %12, ptr %6, align 4, !tbaa !15 %13 = load i32, ptr %0, align 8, !tbaa !17 %14 = call i32 @xdl_fall_back_diff(i32 noundef %13, ptr noundef nonnull %6, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xdl_fall_back_diff(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"hashmap", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_4__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_5__", !8, i64 0} !17 = !{!7, !8, i64 0}
git_xdiff_extr_xpatience.c_fall_back_to_classic_diff
; ModuleID = 'AnghaBench/mimikatz/modules/extr_kull_m_sr98.c_sr98_t5577_wipe.c' source_filename = "AnghaBench/mimikatz/modules/extr_kull_m_sr98.c_sr98_t5577_wipe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @SR98_RATE_RF_32 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @sr98_t5577_wipe(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @FALSE, align 4, !tbaa !5 %4 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 0, i32 noundef 1082132480, i32 noundef %3, i32 noundef 0) #2 %5 = load i32, ptr @FALSE, align 4, !tbaa !5 %6 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef %5, i32 noundef 0) #2 %7 = load i32, ptr @FALSE, align 4, !tbaa !5 %8 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 2, i32 noundef 0, i32 noundef %7, i32 noundef 0) #2 %9 = load i32, ptr @FALSE, align 4, !tbaa !5 %10 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef %9, i32 noundef 0) #2 %11 = load i32, ptr @FALSE, align 4, !tbaa !5 %12 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 4, i32 noundef 0, i32 noundef %11, i32 noundef 0) #2 %13 = load i32, ptr @FALSE, align 4, !tbaa !5 %14 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef %13, i32 noundef 0) #2 %15 = load i32, ptr @FALSE, align 4, !tbaa !5 %16 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 6, i32 noundef 0, i32 noundef %15, i32 noundef 0) #2 %17 = load i32, ptr @FALSE, align 4, !tbaa !5 %18 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef %17, i32 noundef 0) #2 %19 = icmp ne i64 %4, 0 %20 = icmp ne i64 %1, 0 %21 = and i1 %20, %19 br i1 %21, label %22, label %25 22: ; preds = %2 %23 = load i32, ptr @SR98_RATE_RF_32, align 4, !tbaa !5 %24 = tail call i32 @sr98_t5577_reset(i32 noundef %0, i32 noundef %23) #2 br label %25 25: ; preds = %22, %2 ret i64 %4 } declare i64 @sr98_t5577_write_block(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sr98_t5577_reset(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/mimikatz/modules/extr_kull_m_sr98.c_sr98_t5577_wipe.c' source_filename = "AnghaBench/mimikatz/modules/extr_kull_m_sr98.c_sr98_t5577_wipe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @SR98_RATE_RF_32 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @sr98_t5577_wipe(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @FALSE, align 4, !tbaa !6 %4 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 0, i32 noundef 1082132480, i32 noundef %3, i32 noundef 0) #2 %5 = load i32, ptr @FALSE, align 4, !tbaa !6 %6 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef %5, i32 noundef 0) #2 %7 = load i32, ptr @FALSE, align 4, !tbaa !6 %8 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 2, i32 noundef 0, i32 noundef %7, i32 noundef 0) #2 %9 = load i32, ptr @FALSE, align 4, !tbaa !6 %10 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef %9, i32 noundef 0) #2 %11 = load i32, ptr @FALSE, align 4, !tbaa !6 %12 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 4, i32 noundef 0, i32 noundef %11, i32 noundef 0) #2 %13 = load i32, ptr @FALSE, align 4, !tbaa !6 %14 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef %13, i32 noundef 0) #2 %15 = load i32, ptr @FALSE, align 4, !tbaa !6 %16 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 6, i32 noundef 0, i32 noundef %15, i32 noundef 0) #2 %17 = load i32, ptr @FALSE, align 4, !tbaa !6 %18 = tail call i64 @sr98_t5577_write_block(i32 noundef %0, i32 noundef 0, i32 noundef 7, i32 noundef 0, i32 noundef %17, i32 noundef 0) #2 %19 = icmp ne i64 %4, 0 %20 = icmp ne i64 %1, 0 %21 = and i1 %20, %19 br i1 %21, label %22, label %25 22: ; preds = %2 %23 = load i32, ptr @SR98_RATE_RF_32, align 4, !tbaa !6 %24 = tail call i32 @sr98_t5577_reset(i32 noundef %0, i32 noundef %23) #2 br label %25 25: ; preds = %22, %2 ret i64 %4 } declare i64 @sr98_t5577_write_block(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sr98_t5577_reset(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"}
mimikatz_modules_extr_kull_m_sr98.c_sr98_t5577_wipe
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_vector_transports.c_raw_form_header.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_vector_transports.c_raw_form_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @raw_form_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @raw_form_header(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 (...) @virtio_legacy_is_little_endian() #2 %5 = tail call i32 @virtio_net_hdr_from_skb(ptr noundef %1, ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef 0) #2 ret i32 0 } declare i32 @virtio_net_hdr_from_skb(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @virtio_legacy_is_little_endian(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/um/drivers/extr_vector_transports.c_raw_form_header.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_vector_transports.c_raw_form_header.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 @raw_form_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @raw_form_header(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 @virtio_legacy_is_little_endian() #2 %5 = tail call i32 @virtio_net_hdr_from_skb(ptr noundef %1, ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef 0) #2 ret i32 0 } declare i32 @virtio_net_hdr_from_skb(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @virtio_legacy_is_little_endian(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_um_drivers_extr_vector_transports.c_raw_form_header
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_show_stats.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_show_stats.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr } @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [338 x i8] c"3w-9xxx Driver version: %s\0ACurrent commands posted: %4d\0AMax commands posted: %4d\0ACurrent pending commands: %4d\0AMax pending commands: %4d\0ALast sgl length: %4d\0AMax sgl length: %4d\0ALast sector count: %4d\0AMax sector count: %4d\0ASCSI Host Resets: %4d\0AAEN's: %4d\0A\00", align 1 @TW_DRIVER_VERSION = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @twa_show_stats], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @twa_show_stats(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @class_to_shost(ptr noundef %0) #2 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = inttoptr i64 %5 to ptr %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 10 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = tail call i32 @spin_lock_irqsave(i32 noundef %9, i64 noundef 0) #2 %11 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !16 %12 = load ptr, ptr @TW_DRIVER_VERSION, align 8, !tbaa !17 %13 = load i32, ptr %6, align 8, !tbaa !18 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !19 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 2 %17 = load i32, ptr %16, align 8, !tbaa !20 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 3 %19 = load i32, ptr %18, align 4, !tbaa !21 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 4 %21 = load i32, ptr %20, align 8, !tbaa !22 %22 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 5 %23 = load i32, ptr %22, align 4, !tbaa !23 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 6 %25 = load i32, ptr %24, align 8, !tbaa !24 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 7 %27 = load i32, ptr %26, align 4, !tbaa !25 %28 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 8 %29 = load i32, ptr %28, align 8, !tbaa !26 %30 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 9 %31 = load i32, ptr %30, align 4, !tbaa !27 %32 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str, ptr noundef %12, i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %21, i32 noundef %23, i32 noundef %25, i32 noundef %27, i32 noundef %29, i32 noundef %31) #2 %33 = load ptr, ptr %7, align 8, !tbaa !10 %34 = load i32, ptr %33, align 4, !tbaa !14 %35 = tail call i32 @spin_unlock_irqrestore(i32 noundef %34, i64 noundef 0) #2 ret i32 %32 } declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(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, !7, i64 0} !6 = !{!"Scsi_Host", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 40} !11 = !{!"TYPE_4__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !13, i64 40} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_3__", !12, i64 0} !16 = !{!12, !12, i64 0} !17 = !{!13, !13, i64 0} !18 = !{!11, !12, i64 0} !19 = !{!11, !12, i64 4} !20 = !{!11, !12, i64 8} !21 = !{!11, !12, i64 12} !22 = !{!11, !12, i64 16} !23 = !{!11, !12, i64 20} !24 = !{!11, !12, i64 24} !25 = !{!11, !12, i64 28} !26 = !{!11, !12, i64 32} !27 = !{!11, !12, i64 36}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_show_stats.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_show_stats.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 @.str = private unnamed_addr constant [338 x i8] c"3w-9xxx Driver version: %s\0ACurrent commands posted: %4d\0AMax commands posted: %4d\0ACurrent pending commands: %4d\0AMax pending commands: %4d\0ALast sgl length: %4d\0AMax sgl length: %4d\0ALast sector count: %4d\0AMax sector count: %4d\0ASCSI Host Resets: %4d\0AAEN's: %4d\0A\00", align 1 @TW_DRIVER_VERSION = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @twa_show_stats], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @twa_show_stats(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @class_to_shost(ptr noundef %0) #2 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = inttoptr i64 %5 to ptr %7 = getelementptr inbounds i8, ptr %6, i64 40 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = load i32, ptr %8, align 4, !tbaa !15 %10 = tail call i32 @spin_lock_irqsave(i32 noundef %9, i64 noundef 0) #2 %11 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !17 %12 = load ptr, ptr @TW_DRIVER_VERSION, align 8, !tbaa !18 %13 = load i32, ptr %6, align 8, !tbaa !19 %14 = getelementptr inbounds i8, ptr %6, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !20 %16 = getelementptr inbounds i8, ptr %6, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !21 %18 = getelementptr inbounds i8, ptr %6, i64 12 %19 = load i32, ptr %18, align 4, !tbaa !22 %20 = getelementptr inbounds i8, ptr %6, i64 16 %21 = load i32, ptr %20, align 8, !tbaa !23 %22 = getelementptr inbounds i8, ptr %6, i64 20 %23 = load i32, ptr %22, align 4, !tbaa !24 %24 = getelementptr inbounds i8, ptr %6, i64 24 %25 = load i32, ptr %24, align 8, !tbaa !25 %26 = getelementptr inbounds i8, ptr %6, i64 28 %27 = load i32, ptr %26, align 4, !tbaa !26 %28 = getelementptr inbounds i8, ptr %6, i64 32 %29 = load i32, ptr %28, align 8, !tbaa !27 %30 = getelementptr inbounds i8, ptr %6, i64 36 %31 = load i32, ptr %30, align 4, !tbaa !28 %32 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str, ptr noundef %12, i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %21, i32 noundef %23, i32 noundef %25, i32 noundef %27, i32 noundef %29, i32 noundef %31) #2 %33 = load ptr, ptr %7, align 8, !tbaa !11 %34 = load i32, ptr %33, align 4, !tbaa !15 %35 = tail call i32 @spin_unlock_irqrestore(i32 noundef %34, i64 noundef 0) #2 ret i32 %32 } declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(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, !8, i64 0} !7 = !{!"Scsi_Host", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 40} !12 = !{!"TYPE_4__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !14, i64 40} !13 = !{!"int", !9, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_3__", !13, i64 0} !17 = !{!13, !13, i64 0} !18 = !{!14, !14, i64 0} !19 = !{!12, !13, i64 0} !20 = !{!12, !13, i64 4} !21 = !{!12, !13, i64 8} !22 = !{!12, !13, i64 12} !23 = !{!12, !13, i64 16} !24 = !{!12, !13, i64 20} !25 = !{!12, !13, i64 24} !26 = !{!12, !13, i64 28} !27 = !{!12, !13, i64 32} !28 = !{!12, !13, i64 36}
linux_drivers_scsi_extr_3w-9xxx.c_twa_show_stats
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ibmpex.c_ibmpex_bmc_delete.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_ibmpex.c_ibmpex_bmc_delete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { %struct.TYPE_10__ } %struct.TYPE_10__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { ptr } %struct.TYPE_9__ = type { %struct.TYPE_10__ } %struct.ibmpex_bmc_data = type { i32, ptr, i32, i32, i32, i32, ptr } %struct.TYPE_7__ = type { %struct.TYPE_10__ } @sensor_dev_attr_reset_high_low = dso_local global %struct.TYPE_8__ zeroinitializer, align 8 @sensor_dev_attr_name = dso_local global %struct.TYPE_9__ zeroinitializer, align 8 @PEX_NUM_SENSOR_FUNCS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ibmpex_bmc_delete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ibmpex_bmc_delete(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %0, i64 0, i32 4 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @device_remove_file(i32 noundef %3, ptr noundef nonnull @sensor_dev_attr_reset_high_low) #2 %5 = load i32, ptr %2, align 8, !tbaa !5 %6 = tail call i32 @device_remove_file(i32 noundef %5, ptr noundef nonnull @sensor_dev_attr_name) #2 %7 = load i32, ptr %0, align 8, !tbaa !11 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %51 9: ; preds = %1 %10 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %0, i64 0, i32 1 %11 = load i32, ptr @PEX_NUM_SENSOR_FUNCS, align 4, !tbaa !12 br label %12 12: ; preds = %9, %44 %13 = phi i32 [ %7, %9 ], [ %45, %44 ] %14 = phi i32 [ %11, %9 ], [ %46, %44 ] %15 = phi i32 [ %11, %9 ], [ %47, %44 ] %16 = phi i64 [ 0, %9 ], [ %48, %44 ] %17 = icmp sgt i32 %15, 0 br i1 %17, label %18, label %44 18: ; preds = %12, %37 %19 = phi i32 [ %38, %37 ], [ %14, %12 ] %20 = phi i64 [ %39, %37 ], [ 0, %12 ] %21 = load ptr, ptr %10, align 8, !tbaa !13 %22 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %21, i64 %16, i32 6 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %23, i64 %20 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = icmp eq ptr %25, null br i1 %26, label %37, label %27 27: ; preds = %18 %28 = load i32, ptr %2, align 8, !tbaa !5 %29 = tail call i32 @device_remove_file(i32 noundef %28, ptr noundef nonnull %24) #2 %30 = load ptr, ptr %10, align 8, !tbaa !13 %31 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %30, i64 %16, i32 6 %32 = load ptr, ptr %31, align 8, !tbaa !14 %33 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 %20 %34 = load ptr, ptr %33, align 8, !tbaa !15 %35 = tail call i32 @kfree(ptr noundef %34) #2 %36 = load i32, ptr @PEX_NUM_SENSOR_FUNCS, align 4, !tbaa !12 br label %37 37: ; preds = %18, %27 %38 = phi i32 [ %19, %18 ], [ %36, %27 ] %39 = add nuw nsw i64 %20, 1 %40 = sext i32 %38 to i64 %41 = icmp slt i64 %39, %40 br i1 %41, label %18, label %42, !llvm.loop !19 42: ; preds = %37 %43 = load i32, ptr %0, align 8, !tbaa !11 br label %44 44: ; preds = %42, %12 %45 = phi i32 [ %43, %42 ], [ %13, %12 ] %46 = phi i32 [ %38, %42 ], [ %14, %12 ] %47 = phi i32 [ %38, %42 ], [ %15, %12 ] %48 = add nuw nsw i64 %16, 1 %49 = sext i32 %45 to i64 %50 = icmp slt i64 %48, %49 br i1 %50, label %12, label %51, !llvm.loop !21 51: ; preds = %44, %1 %52 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %0, i64 0, i32 5 %53 = tail call i32 @list_del(ptr noundef nonnull %52) #2 %54 = load i32, ptr %2, align 8, !tbaa !5 %55 = tail call i32 @dev_set_drvdata(i32 noundef %54, ptr noundef null) #2 %56 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %0, i64 0, i32 3 %57 = load i32, ptr %56, align 4, !tbaa !22 %58 = tail call i32 @hwmon_device_unregister(i32 noundef %57) #2 %59 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %0, i64 0, i32 2 %60 = load i32, ptr %59, align 8, !tbaa !23 %61 = tail call i32 @ipmi_destroy_user(i32 noundef %60) #2 %62 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %0, i64 0, i32 1 %63 = load ptr, ptr %62, align 8, !tbaa !13 %64 = tail call i32 @kfree(ptr noundef %63) #2 %65 = tail call i32 @kfree(ptr noundef nonnull %0) #2 ret void } declare i32 @device_remove_file(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @dev_set_drvdata(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hwmon_device_unregister(i32 noundef) local_unnamed_addr #1 declare i32 @ipmi_destroy_user(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 24} !6 = !{!"ibmpex_bmc_data", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !10, i64 32} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_7__", !17, i64 0} !17 = !{!"TYPE_10__", !18, i64 0} !18 = !{!"TYPE_6__", !10, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20} !22 = !{!6, !7, i64 20} !23 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ibmpex.c_ibmpex_bmc_delete.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_ibmpex.c_ibmpex_bmc_delete.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 { %struct.TYPE_10__ } %struct.TYPE_10__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { ptr } %struct.TYPE_9__ = type { %struct.TYPE_10__ } %struct.ibmpex_bmc_data = type { i32, ptr, i32, i32, i32, i32, ptr } %struct.TYPE_7__ = type { %struct.TYPE_10__ } @sensor_dev_attr_reset_high_low = common global %struct.TYPE_8__ zeroinitializer, align 8 @sensor_dev_attr_name = common global %struct.TYPE_9__ zeroinitializer, align 8 @PEX_NUM_SENSOR_FUNCS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ibmpex_bmc_delete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ibmpex_bmc_delete(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @device_remove_file(i32 noundef %3, ptr noundef nonnull @sensor_dev_attr_reset_high_low) #2 %5 = load i32, ptr %2, align 8, !tbaa !6 %6 = tail call i32 @device_remove_file(i32 noundef %5, ptr noundef nonnull @sensor_dev_attr_name) #2 %7 = load i32, ptr %0, align 8, !tbaa !12 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %51 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i32, ptr @PEX_NUM_SENSOR_FUNCS, align 4, !tbaa !13 br label %12 12: ; preds = %9, %44 %13 = phi i32 [ %7, %9 ], [ %45, %44 ] %14 = phi i32 [ %11, %9 ], [ %46, %44 ] %15 = phi i32 [ %11, %9 ], [ %47, %44 ] %16 = phi i64 [ 0, %9 ], [ %48, %44 ] %17 = icmp sgt i32 %15, 0 br i1 %17, label %18, label %44 18: ; preds = %12, %37 %19 = phi i32 [ %38, %37 ], [ %14, %12 ] %20 = phi i64 [ %39, %37 ], [ 0, %12 ] %21 = load ptr, ptr %10, align 8, !tbaa !14 %22 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %21, i64 %16, i32 6 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %23, i64 %20 %25 = load ptr, ptr %24, align 8, !tbaa !16 %26 = icmp eq ptr %25, null br i1 %26, label %37, label %27 27: ; preds = %18 %28 = load i32, ptr %2, align 8, !tbaa !6 %29 = tail call i32 @device_remove_file(i32 noundef %28, ptr noundef nonnull %24) #2 %30 = load ptr, ptr %10, align 8, !tbaa !14 %31 = getelementptr inbounds %struct.ibmpex_bmc_data, ptr %30, i64 %16, i32 6 %32 = load ptr, ptr %31, align 8, !tbaa !15 %33 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 %20 %34 = load ptr, ptr %33, align 8, !tbaa !16 %35 = tail call i32 @kfree(ptr noundef %34) #2 %36 = load i32, ptr @PEX_NUM_SENSOR_FUNCS, align 4, !tbaa !13 br label %37 37: ; preds = %18, %27 %38 = phi i32 [ %19, %18 ], [ %36, %27 ] %39 = add nuw nsw i64 %20, 1 %40 = sext i32 %38 to i64 %41 = icmp slt i64 %39, %40 br i1 %41, label %18, label %42, !llvm.loop !20 42: ; preds = %37 %43 = load i32, ptr %0, align 8, !tbaa !12 br label %44 44: ; preds = %42, %12 %45 = phi i32 [ %43, %42 ], [ %13, %12 ] %46 = phi i32 [ %38, %42 ], [ %14, %12 ] %47 = phi i32 [ %38, %42 ], [ %15, %12 ] %48 = add nuw nsw i64 %16, 1 %49 = sext i32 %45 to i64 %50 = icmp slt i64 %48, %49 br i1 %50, label %12, label %51, !llvm.loop !22 51: ; preds = %44, %1 %52 = getelementptr inbounds i8, ptr %0, i64 28 %53 = tail call i32 @list_del(ptr noundef nonnull %52) #2 %54 = load i32, ptr %2, align 8, !tbaa !6 %55 = tail call i32 @dev_set_drvdata(i32 noundef %54, ptr noundef null) #2 %56 = getelementptr inbounds i8, ptr %0, i64 20 %57 = load i32, ptr %56, align 4, !tbaa !23 %58 = tail call i32 @hwmon_device_unregister(i32 noundef %57) #2 %59 = getelementptr inbounds i8, ptr %0, i64 16 %60 = load i32, ptr %59, align 8, !tbaa !24 %61 = tail call i32 @ipmi_destroy_user(i32 noundef %60) #2 %62 = getelementptr inbounds i8, ptr %0, i64 8 %63 = load ptr, ptr %62, align 8, !tbaa !14 %64 = tail call i32 @kfree(ptr noundef %63) #2 %65 = tail call i32 @kfree(ptr noundef nonnull %0) #2 ret void } declare i32 @device_remove_file(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @dev_set_drvdata(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hwmon_device_unregister(i32 noundef) local_unnamed_addr #1 declare i32 @ipmi_destroy_user(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 24} !7 = !{!"ibmpex_bmc_data", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !11, i64 32} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_7__", !18, i64 0} !18 = !{!"TYPE_10__", !19, i64 0} !19 = !{!"TYPE_6__", !11, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = distinct !{!22, !21} !23 = !{!7, !8, i64 20} !24 = !{!7, !8, i64 16}
linux_drivers_hwmon_extr_ibmpex.c_ibmpex_bmc_delete
; ModuleID = 'AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_socklist_recv_file.c' source_filename = "AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_socklist_recv_file.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXLINE = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i64 0, align 8 @EINTR = dso_local local_unnamed_addr global i64 0, align 8 @EAGAIN = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"klog\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @socklist_recv_file], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @socklist_recv_file(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @MAXLINE, align 4, !tbaa !5 %3 = add nsw i32 %2, 1 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = add i32 %2, -1 %8 = call i32 @read(i32 noundef %6, ptr noundef nonnull %5, i32 noundef %7) #2 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %1, %53 %11 = phi i32 [ %61, %53 ], [ %8, %1 ] %12 = phi i32 [ %54, %53 ], [ 0, %1 ] %13 = add nsw i32 %11, %12 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %5, i64 %14 store i8 0, ptr %15, align 1, !tbaa !11 %16 = call ptr @strchr(ptr noundef nonnull %5, i8 noundef signext 10) #2 %17 = icmp eq ptr %16, null br i1 %17, label %40, label %33 18: ; preds = %53, %1 %19 = phi i32 [ 0, %1 ], [ %54, %53 ] %20 = phi i32 [ %8, %1 ], [ %61, %53 ] %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %63 22: ; preds = %18 %23 = load i64, ptr @errno, align 8, !tbaa !12 %24 = load i64, ptr @EINTR, align 8, !tbaa !12 %25 = icmp eq i64 %23, %24 %26 = load i64, ptr @EAGAIN, align 8 %27 = icmp eq i64 %23, %26 %28 = select i1 %25, i1 true, i1 %27 br i1 %28, label %63, label %29 29: ; preds = %22 %30 = call i32 @logerror(ptr noundef nonnull @.str) #2 %31 = load i32, ptr %0, align 4, !tbaa !9 %32 = call i32 @close(i32 noundef %31) #2 store i32 -1, ptr %0, align 4, !tbaa !9 br label %63 33: ; preds = %10, %33 %34 = phi ptr [ %38, %33 ], [ %16, %10 ] %35 = phi ptr [ %37, %33 ], [ %5, %10 ] store i8 0, ptr %34, align 1, !tbaa !11 %36 = call i32 @printsys(ptr noundef nonnull %35) #2 %37 = getelementptr inbounds i8, ptr %34, i64 1 %38 = call ptr @strchr(ptr noundef nonnull %37, i8 noundef signext 10) #2 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %33, !llvm.loop !14 40: ; preds = %33, %10 %41 = phi ptr [ %5, %10 ], [ %37, %33 ] %42 = call i32 @strlen(ptr noundef nonnull %41) #2 %43 = load i32, ptr @MAXLINE, align 4, !tbaa !5 %44 = add nsw i32 %43, -1 %45 = icmp slt i32 %42, %44 br i1 %45, label %48, label %46 46: ; preds = %40 %47 = call i32 @printsys(ptr noundef nonnull %41) #2 br label %53 48: ; preds = %40 %49 = icmp sgt i32 %42, 0 br i1 %49, label %50, label %53 50: ; preds = %48 %51 = add nuw nsw i32 %42, 1 %52 = call i32 @memmove(ptr noundef nonnull %5, ptr noundef nonnull %41, i32 noundef %51) #2 br label %53 53: ; preds = %46, %50, %48 %54 = phi i32 [ 0, %46 ], [ %42, %50 ], [ %42, %48 ] %55 = load i32, ptr %0, align 4, !tbaa !9 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %5, i64 %56 %58 = load i32, ptr @MAXLINE, align 4, !tbaa !5 %59 = xor i32 %54, -1 %60 = add i32 %58, %59 %61 = call i32 @read(i32 noundef %55, ptr noundef nonnull %57, i32 noundef %60) #2 %62 = icmp sgt i32 %61, 0 br i1 %62, label %10, label %18 63: ; preds = %18, %22, %29 %64 = icmp sgt i32 %19, 0 br i1 %64, label %65, label %67 65: ; preds = %63 %66 = call i32 @printsys(ptr noundef nonnull %5) #2 br label %67 67: ; preds = %65, %63 ret i32 %19 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @logerror(ptr noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @printsys(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"socklist", !6, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_socklist_recv_file.c' source_filename = "AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_socklist_recv_file.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXLINE = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i64 0, align 8 @EINTR = common local_unnamed_addr global i64 0, align 8 @EAGAIN = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"klog\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @socklist_recv_file], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 2147483646) i32 @socklist_recv_file(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @MAXLINE, align 4, !tbaa !6 %3 = add nsw i32 %2, 1 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = add i32 %2, -1 %8 = call i32 @read(i32 noundef %6, ptr noundef nonnull %5, i32 noundef %7) #2 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %1, %53 %11 = phi i32 [ %61, %53 ], [ %8, %1 ] %12 = phi i32 [ %54, %53 ], [ 0, %1 ] %13 = add nsw i32 %11, %12 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %5, i64 %14 store i8 0, ptr %15, align 1, !tbaa !12 %16 = call ptr @strchr(ptr noundef nonnull %5, i8 noundef signext 10) #2 %17 = icmp eq ptr %16, null br i1 %17, label %40, label %33 18: ; preds = %53, %1 %19 = phi i32 [ 0, %1 ], [ %54, %53 ] %20 = phi i32 [ %8, %1 ], [ %61, %53 ] %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %63 22: ; preds = %18 %23 = load i64, ptr @errno, align 8, !tbaa !13 %24 = load i64, ptr @EINTR, align 8, !tbaa !13 %25 = icmp eq i64 %23, %24 %26 = load i64, ptr @EAGAIN, align 8 %27 = icmp eq i64 %23, %26 %28 = select i1 %25, i1 true, i1 %27 br i1 %28, label %63, label %29 29: ; preds = %22 %30 = call i32 @logerror(ptr noundef nonnull @.str) #2 %31 = load i32, ptr %0, align 4, !tbaa !10 %32 = call i32 @close(i32 noundef %31) #2 store i32 -1, ptr %0, align 4, !tbaa !10 br label %63 33: ; preds = %10, %33 %34 = phi ptr [ %38, %33 ], [ %16, %10 ] %35 = phi ptr [ %37, %33 ], [ %5, %10 ] store i8 0, ptr %34, align 1, !tbaa !12 %36 = call i32 @printsys(ptr noundef nonnull %35) #2 %37 = getelementptr inbounds i8, ptr %34, i64 1 %38 = call ptr @strchr(ptr noundef nonnull %37, i8 noundef signext 10) #2 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %33, !llvm.loop !15 40: ; preds = %33, %10 %41 = phi ptr [ %5, %10 ], [ %37, %33 ] %42 = call i32 @strlen(ptr noundef nonnull %41) #2 %43 = load i32, ptr @MAXLINE, align 4, !tbaa !6 %44 = add nsw i32 %43, -1 %45 = icmp slt i32 %42, %44 br i1 %45, label %48, label %46 46: ; preds = %40 %47 = call i32 @printsys(ptr noundef nonnull %41) #2 br label %53 48: ; preds = %40 %49 = icmp sgt i32 %42, 0 br i1 %49, label %50, label %53 50: ; preds = %48 %51 = add nuw nsw i32 %42, 1 %52 = call i32 @memmove(ptr noundef nonnull %5, ptr noundef nonnull %41, i32 noundef %51) #2 br label %53 53: ; preds = %46, %50, %48 %54 = phi i32 [ 0, %46 ], [ %42, %50 ], [ %42, %48 ] %55 = load i32, ptr %0, align 4, !tbaa !10 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %5, i64 %56 %58 = load i32, ptr @MAXLINE, align 4, !tbaa !6 %59 = xor i32 %54, -1 %60 = add i32 %58, %59 %61 = call i32 @read(i32 noundef %55, ptr noundef nonnull %57, i32 noundef %60) #2 %62 = icmp sgt i32 %61, 0 br i1 %62, label %10, label %18 63: ; preds = %18, %22, %29 %64 = icmp sgt i32 %19, 0 br i1 %64, label %65, label %67 65: ; preds = %63 %66 = call i32 @printsys(ptr noundef nonnull %5) #2 br label %67 67: ; preds = %65, %63 ret i32 %19 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @logerror(ptr noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @printsys(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"socklist", !7, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_usr.sbin_syslogd_extr_syslogd.c_socklist_recv_file
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_lsr_32_r.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_lsr_32_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" @DY = dso_local local_unnamed_addr global i32 0, align 4 @DX = dso_local local_unnamed_addr global i32 0, align 4 @CYC_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_X = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_C = dso_local local_unnamed_addr global i32 0, align 4 @NFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_N = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4 @VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_V = dso_local local_unnamed_addr global i32 0, align 4 @ZFLAG_SET = dso_local local_unnamed_addr global i32 0, align 4 @CFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @m68k_op_lsr_32_r() local_unnamed_addr #0 { %1 = load i32, ptr @DX, align 4, !tbaa !5 %2 = and i32 %1, 63 %3 = load i32, ptr @DY, align 4, !tbaa !5 %4 = ashr i32 %3, %2 %5 = icmp eq i32 %2, 0 br i1 %5, label %25, label %6 6: ; preds = %0 %7 = load i32, ptr @CYC_SHIFT, align 4, !tbaa !5 %8 = shl i32 %2, %7 %9 = tail call i32 @USE_CYCLES(i32 noundef %8) #2 %10 = icmp ult i32 %2, 32 br i1 %10, label %11, label %16 11: ; preds = %6 store i32 %4, ptr @DY, align 4, !tbaa !5 %12 = add nsw i32 %2, -1 %13 = ashr i32 %3, %12 %14 = shl i32 %13, 8 store i32 %14, ptr @FLAG_X, align 4, !tbaa !5 store i32 %14, ptr @FLAG_C, align 4, !tbaa !5 %15 = load i32, ptr @NFLAG_CLEAR, align 4, !tbaa !5 store i32 %15, ptr @FLAG_N, align 4, !tbaa !5 br label %28 16: ; preds = %6 store i32 0, ptr @DY, align 4, !tbaa !5 %17 = icmp eq i32 %2, 32 br i1 %17, label %18, label %21 18: ; preds = %16 %19 = tail call i32 @GET_MSB_32(i32 noundef %3) #2 %20 = ashr i32 %19, 23 br label %21 21: ; preds = %16, %18 %22 = phi i32 [ %20, %18 ], [ 0, %16 ] store i32 %22, ptr @FLAG_C, align 4, !tbaa !5 store i32 %22, ptr @FLAG_X, align 4, !tbaa !5 %23 = load i32, ptr @NFLAG_CLEAR, align 4, !tbaa !5 store i32 %23, ptr @FLAG_N, align 4, !tbaa !5 %24 = load i32, ptr @ZFLAG_SET, align 4, !tbaa !5 br label %28 25: ; preds = %0 %26 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !5 store i32 %26, ptr @FLAG_C, align 4, !tbaa !5 %27 = tail call i32 @NFLAG_32(i32 noundef %3) #2 store i32 %27, ptr @FLAG_N, align 4, !tbaa !5 br label %28 28: ; preds = %25, %21, %11 %29 = phi i32 [ %3, %25 ], [ %24, %21 ], [ %4, %11 ] store i32 %29, ptr @FLAG_Z, align 4, !tbaa !5 %30 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5 store i32 %30, ptr @FLAG_V, align 4, !tbaa !5 ret void } declare i32 @USE_CYCLES(i32 noundef) local_unnamed_addr #1 declare i32 @GET_MSB_32(i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_lsr_32_r.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_lsr_32_r.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DY = common local_unnamed_addr global i32 0, align 4 @DX = common local_unnamed_addr global i32 0, align 4 @CYC_SHIFT = common local_unnamed_addr global i32 0, align 4 @FLAG_X = common local_unnamed_addr global i32 0, align 4 @FLAG_C = common local_unnamed_addr global i32 0, align 4 @NFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4 @FLAG_N = common local_unnamed_addr global i32 0, align 4 @FLAG_Z = common local_unnamed_addr global i32 0, align 4 @VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4 @FLAG_V = common local_unnamed_addr global i32 0, align 4 @ZFLAG_SET = common local_unnamed_addr global i32 0, align 4 @CFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @m68k_op_lsr_32_r() local_unnamed_addr #0 { %1 = load i32, ptr @DX, align 4, !tbaa !6 %2 = and i32 %1, 63 %3 = load i32, ptr @DY, align 4, !tbaa !6 %4 = ashr i32 %3, %2 %5 = icmp eq i32 %2, 0 br i1 %5, label %25, label %6 6: ; preds = %0 %7 = load i32, ptr @CYC_SHIFT, align 4, !tbaa !6 %8 = shl i32 %2, %7 %9 = tail call i32 @USE_CYCLES(i32 noundef %8) #2 %10 = icmp ult i32 %2, 32 br i1 %10, label %11, label %16 11: ; preds = %6 store i32 %4, ptr @DY, align 4, !tbaa !6 %12 = add nsw i32 %2, -1 %13 = ashr i32 %3, %12 %14 = shl i32 %13, 8 store i32 %14, ptr @FLAG_X, align 4, !tbaa !6 store i32 %14, ptr @FLAG_C, align 4, !tbaa !6 %15 = load i32, ptr @NFLAG_CLEAR, align 4, !tbaa !6 store i32 %15, ptr @FLAG_N, align 4, !tbaa !6 br label %28 16: ; preds = %6 store i32 0, ptr @DY, align 4, !tbaa !6 %17 = icmp eq i32 %2, 32 br i1 %17, label %18, label %21 18: ; preds = %16 %19 = tail call i32 @GET_MSB_32(i32 noundef %3) #2 %20 = ashr i32 %19, 23 br label %21 21: ; preds = %16, %18 %22 = phi i32 [ %20, %18 ], [ 0, %16 ] store i32 %22, ptr @FLAG_C, align 4, !tbaa !6 store i32 %22, ptr @FLAG_X, align 4, !tbaa !6 %23 = load i32, ptr @NFLAG_CLEAR, align 4, !tbaa !6 store i32 %23, ptr @FLAG_N, align 4, !tbaa !6 %24 = load i32, ptr @ZFLAG_SET, align 4, !tbaa !6 br label %28 25: ; preds = %0 %26 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !6 store i32 %26, ptr @FLAG_C, align 4, !tbaa !6 %27 = tail call i32 @NFLAG_32(i32 noundef %3) #2 store i32 %27, ptr @FLAG_N, align 4, !tbaa !6 br label %28 28: ; preds = %25, %21, %11 %29 = phi i32 [ %3, %25 ], [ %24, %21 ], [ %4, %11 ] store i32 %29, ptr @FLAG_Z, align 4, !tbaa !6 %30 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6 store i32 %30, ptr @FLAG_V, align 4, !tbaa !6 ret void } declare i32 @USE_CYCLES(i32 noundef) local_unnamed_addr #1 declare i32 @GET_MSB_32(i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(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"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopdm.c_m68k_op_lsr_32_r
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb.c_dump_history_offsets.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb.c_dump_history_offsets.c" target datalayout = "e-m:e-p270:32:32-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, i64, i64, i64, i64 } @.str = private unnamed_addr constant [26 x i8] c"\09\09pool_create_len = %llu\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\09\09phys_max_off = %llu\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"\09\09bof = %llu\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"\09\09eof = %llu\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\09\09records_lost = %llu\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dump_history_offsets], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dump_history_offsets(ptr nocapture readnone %0, i32 %1, ptr noundef readonly %2, i64 %3) #0 { %5 = icmp eq ptr %2, null br i1 %5, label %26, label %6 6: ; preds = %4 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 4 %8 = load i64, ptr %7, align 8, !tbaa !5 %9 = trunc i64 %8 to i32 %10 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 3 %12 = load i64, ptr %11, align 8, !tbaa !10 %13 = trunc i64 %12 to i32 %14 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %13) #2 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 2 %16 = load i64, ptr %15, align 8, !tbaa !11 %17 = trunc i64 %16 to i32 %18 = tail call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %17) #2 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !12 %21 = trunc i64 %20 to i32 %22 = tail call i32 @printf(ptr noundef nonnull @.str.3, i32 noundef %21) #2 %23 = load i64, ptr %2, align 8, !tbaa !13 %24 = trunc i64 %23 to i32 %25 = tail call i32 @printf(ptr noundef nonnull @.str.4, i32 noundef %24) #2 br label %26 26: ; preds = %4, %6 ret void } declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 32} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 24} !11 = !{!6, !7, i64 16} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb.c_dump_history_offsets.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb.c_dump_history_offsets.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"\09\09pool_create_len = %llu\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\09\09phys_max_off = %llu\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"\09\09bof = %llu\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"\09\09eof = %llu\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\09\09records_lost = %llu\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dump_history_offsets], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dump_history_offsets(ptr nocapture readnone %0, i32 %1, ptr noundef readonly %2, i64 %3) #0 { %5 = icmp eq ptr %2, null br i1 %5, label %26, label %6 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %2, i64 32 %8 = load i64, ptr %7, align 8, !tbaa !6 %9 = trunc i64 %8 to i32 %10 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %2, i64 24 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = trunc i64 %12 to i32 %14 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %2, i64 16 %16 = load i64, ptr %15, align 8, !tbaa !12 %17 = trunc i64 %16 to i32 %18 = tail call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %2, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = trunc i64 %20 to i32 %22 = tail call i32 @printf(ptr noundef nonnull @.str.3, i32 noundef %21) #2 %23 = load i64, ptr %2, align 8, !tbaa !14 %24 = trunc i64 %23 to i32 %25 = tail call i32 @printf(ptr noundef nonnull @.str.4, i32 noundef %24) #2 br label %26 26: ; preds = %4, %6 ret void } declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 32} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 24} !12 = !{!7, !8, i64 16} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 0}
freebsd_cddl_contrib_opensolaris_cmd_zdb_extr_zdb.c_dump_history_offsets
; ModuleID = 'AnghaBench/linux/fs/overlayfs/extr_copy_up.c_ovl_revert_cu_creds.c' source_filename = "AnghaBench/linux/fs/overlayfs/extr_copy_up.c_ovl_revert_cu_creds.c" target datalayout = "e-m:e-p270:32:32-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.ovl_cu_creds = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ovl_revert_cu_creds], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ovl_revert_cu_creds(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.ovl_cu_creds, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = tail call i32 @revert_creds(i32 noundef %6) #2 %8 = load i64, ptr %0, align 8, !tbaa !5 %9 = tail call i32 @put_cred(i64 noundef %8) #2 br label %10 10: ; preds = %4, %1 ret void } declare i32 @revert_creds(i32 noundef) local_unnamed_addr #1 declare i32 @put_cred(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 = !{!"ovl_cu_creds", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/fs/overlayfs/extr_copy_up.c_ovl_revert_cu_creds.c' source_filename = "AnghaBench/linux/fs/overlayfs/extr_copy_up.c_ovl_revert_cu_creds.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 @ovl_revert_cu_creds], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ovl_revert_cu_creds(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = tail call i32 @revert_creds(i32 noundef %6) #2 %8 = load i64, ptr %0, align 8, !tbaa !6 %9 = tail call i32 @put_cred(i64 noundef %8) #2 br label %10 10: ; preds = %4, %1 ret void } declare i32 @revert_creds(i32 noundef) local_unnamed_addr #1 declare i32 @put_cred(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 = !{!"ovl_cu_creds", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8}
linux_fs_overlayfs_extr_copy_up.c_ovl_revert_cu_creds
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmmaster.c_dlm_deref_lockres_worker.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmmaster.c_dlm_deref_lockres_worker.c" target datalayout = "e-m:e-p270:32:32-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.dlm_work_item = type { %struct.TYPE_5__, ptr } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, ptr } %struct.dlm_lock_resource = type { i32, %struct.TYPE_6__, i32, i32 } %struct.TYPE_6__ = type { i32, i32 } @DLM_LOCK_RES_DROPPING_REF = dso_local local_unnamed_addr global i32 0, align 4 @DLM_LOCK_RES_SETREF_INPROG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"%s:%.*s node %u ref dropped in dispatch\0A\00", align 1 @ML_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [64 x i8] c"%s:%.*s: node %u trying to drop ref but it is already dropped!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dlm_deref_lockres_worker], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dlm_deref_lockres_worker(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds %struct.dlm_work_item, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load i32, ptr %0, align 8, !tbaa !14 %8 = getelementptr inbounds %struct.dlm_lock_resource, ptr %6, i64 0, i32 2 %9 = tail call i32 @spin_lock(ptr noundef nonnull %8) #2 %10 = load i32, ptr %6, align 4, !tbaa !15 %11 = load i32, ptr @DLM_LOCK_RES_DROPPING_REF, align 4, !tbaa !18 %12 = and i32 %11, %10 %13 = tail call i32 @BUG_ON(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.dlm_lock_resource, ptr %6, i64 0, i32 3 %15 = load i32, ptr %14, align 4, !tbaa !19 %16 = tail call i64 @test_bit(i32 noundef %7, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %30, label %18 18: ; preds = %2 %19 = load i32, ptr @DLM_LOCK_RES_SETREF_INPROG, align 4, !tbaa !18 %20 = tail call i32 @__dlm_wait_on_lockres_flags(ptr noundef nonnull %6, i32 noundef %19) #2 %21 = tail call i32 @dlm_lockres_clear_refmap_bit(i32 noundef %7, ptr noundef nonnull %6) #2 %22 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2 %23 = load i32, ptr %4, align 4, !tbaa !20 %24 = getelementptr inbounds %struct.dlm_lock_resource, ptr %6, i64 0, i32 1 %25 = getelementptr inbounds %struct.dlm_lock_resource, ptr %6, i64 0, i32 1, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !22 %27 = load i32, ptr %24, align 4, !tbaa !23 %28 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %23, i32 noundef %26, i32 noundef %27, i32 noundef %7) #2 %29 = tail call i32 @dlm_lockres_calc_usage(ptr noundef nonnull %4, ptr noundef nonnull %6) #2 br label %40 30: ; preds = %2 %31 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2 %32 = load i32, ptr @ML_ERROR, align 4, !tbaa !18 %33 = load i32, ptr %4, align 4, !tbaa !20 %34 = getelementptr inbounds %struct.dlm_lock_resource, ptr %6, i64 0, i32 1 %35 = getelementptr inbounds %struct.dlm_lock_resource, ptr %6, i64 0, i32 1, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !22 %37 = load i32, ptr %34, align 4, !tbaa !23 %38 = tail call i32 @mlog(i32 noundef %32, ptr noundef nonnull @.str.1, i32 noundef %33, i32 noundef %36, i32 noundef %37, i32 noundef %7) #2 %39 = tail call i32 @dlm_print_one_lock_resource(ptr noundef nonnull %6) #2 br label %40 40: ; preds = %30, %18 %41 = tail call i32 @dlm_lockres_put(ptr noundef nonnull %6) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__dlm_wait_on_lockres_flags(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_clear_refmap_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @mlog(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_calc_usage(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dlm_print_one_lock_resource(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_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, !12, i64 16} !6 = !{!"dlm_work_item", !7, i64 0, !12, i64 16} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!6, !12, i64 8} !14 = !{!6, !9, i64 0} !15 = !{!16, !9, i64 0} !16 = !{!"dlm_lock_resource", !9, i64 0, !17, i64 4, !9, i64 12, !9, i64 16} !17 = !{!"TYPE_6__", !9, i64 0, !9, i64 4} !18 = !{!9, !9, i64 0} !19 = !{!16, !9, i64 16} !20 = !{!21, !9, i64 0} !21 = !{!"dlm_ctxt", !9, i64 0} !22 = !{!16, !9, i64 8} !23 = !{!16, !9, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmmaster.c_dlm_deref_lockres_worker.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmmaster.c_dlm_deref_lockres_worker.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DLM_LOCK_RES_DROPPING_REF = common local_unnamed_addr global i32 0, align 4 @DLM_LOCK_RES_SETREF_INPROG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"%s:%.*s node %u ref dropped in dispatch\0A\00", align 1 @ML_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [64 x i8] c"%s:%.*s: node %u trying to drop ref but it is already dropped!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dlm_deref_lockres_worker], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dlm_deref_lockres_worker(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load i32, ptr %0, align 8, !tbaa !15 %8 = getelementptr inbounds i8, ptr %6, i64 12 %9 = tail call i32 @spin_lock(ptr noundef nonnull %8) #2 %10 = load i32, ptr %6, align 4, !tbaa !16 %11 = load i32, ptr @DLM_LOCK_RES_DROPPING_REF, align 4, !tbaa !19 %12 = and i32 %11, %10 %13 = tail call i32 @BUG_ON(i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %6, i64 16 %15 = load i32, ptr %14, align 4, !tbaa !20 %16 = tail call i64 @test_bit(i32 noundef %7, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %30, label %18 18: ; preds = %2 %19 = load i32, ptr @DLM_LOCK_RES_SETREF_INPROG, align 4, !tbaa !19 %20 = tail call i32 @__dlm_wait_on_lockres_flags(ptr noundef nonnull %6, i32 noundef %19) #2 %21 = tail call i32 @dlm_lockres_clear_refmap_bit(i32 noundef %7, ptr noundef nonnull %6) #2 %22 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2 %23 = load i32, ptr %4, align 4, !tbaa !21 %24 = getelementptr inbounds i8, ptr %6, i64 4 %25 = getelementptr inbounds i8, ptr %6, i64 8 %26 = load i32, ptr %25, align 4, !tbaa !23 %27 = load i32, ptr %24, align 4, !tbaa !24 %28 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %23, i32 noundef %26, i32 noundef %27, i32 noundef %7) #2 %29 = tail call i32 @dlm_lockres_calc_usage(ptr noundef nonnull %4, ptr noundef nonnull %6) #2 br label %40 30: ; preds = %2 %31 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2 %32 = load i32, ptr @ML_ERROR, align 4, !tbaa !19 %33 = load i32, ptr %4, align 4, !tbaa !21 %34 = getelementptr inbounds i8, ptr %6, i64 4 %35 = getelementptr inbounds i8, ptr %6, i64 8 %36 = load i32, ptr %35, align 4, !tbaa !23 %37 = load i32, ptr %34, align 4, !tbaa !24 %38 = tail call i32 @mlog(i32 noundef %32, ptr noundef nonnull @.str.1, i32 noundef %33, i32 noundef %36, i32 noundef %37, i32 noundef %7) #2 %39 = tail call i32 @dlm_print_one_lock_resource(ptr noundef nonnull %6) #2 br label %40 40: ; preds = %30, %18 %41 = tail call i32 @dlm_lockres_put(ptr noundef nonnull %6) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__dlm_wait_on_lockres_flags(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_clear_refmap_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @mlog(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_calc_usage(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dlm_print_one_lock_resource(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_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, !13, i64 16} !7 = !{!"dlm_work_item", !8, i64 0, !13, i64 16} !8 = !{!"TYPE_5__", !9, i64 0} !9 = !{!"TYPE_4__", !10, i64 0, !13, i64 8} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"any pointer", !11, i64 0} !14 = !{!7, !13, i64 8} !15 = !{!7, !10, i64 0} !16 = !{!17, !10, i64 0} !17 = !{!"dlm_lock_resource", !10, i64 0, !18, i64 4, !10, i64 12, !10, i64 16} !18 = !{!"TYPE_6__", !10, i64 0, !10, i64 4} !19 = !{!10, !10, i64 0} !20 = !{!17, !10, i64 16} !21 = !{!22, !10, i64 0} !22 = !{!"dlm_ctxt", !10, i64 0} !23 = !{!17, !10, i64 8} !24 = !{!17, !10, i64 4}
fastsocket_kernel_fs_ocfs2_dlm_extr_dlmmaster.c_dlm_deref_lockres_worker
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_max6642.c_temp_from_reg10.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_max6642.c_temp_from_reg10.c" target datalayout = "e-m:e-p270:32:32-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 @temp_from_reg10], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @temp_from_reg10(i32 noundef %0) #0 { %2 = mul nsw i32 %0, 250 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_max6642.c_temp_from_reg10.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_max6642.c_temp_from_reg10.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 @temp_from_reg10], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @temp_from_reg10(i32 noundef %0) #0 { %2 = mul nsw i32 %0, 250 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_hwmon_extr_max6642.c_temp_from_reg10
; ModuleID = 'AnghaBench/linux/drivers/dma/ipu/extr_ipu_idmac.c___idmac_write_icreg.c' source_filename = "AnghaBench/linux/drivers/dma/ipu/extr_ipu_idmac.c___idmac_write_icreg.c" target datalayout = "e-m:e-p270:32:32-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 @__idmac_write_icreg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__idmac_write_icreg(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = add i64 %4, %2 %6 = tail call i32 @__raw_writel(i32 noundef %1, i64 noundef %5) #2 ret void } declare i32 @__raw_writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ipu", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/dma/ipu/extr_ipu_idmac.c___idmac_write_icreg.c' source_filename = "AnghaBench/linux/drivers/dma/ipu/extr_ipu_idmac.c___idmac_write_icreg.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 @__idmac_write_icreg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__idmac_write_icreg(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = add i64 %4, %2 %6 = tail call i32 @__raw_writel(i32 noundef %1, i64 noundef %5) #2 ret void } declare i32 @__raw_writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ipu", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_dma_ipu_extr_ipu_idmac.c___idmac_write_icreg
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/compat/extr_ctime_r.c_ctime_r.c' source_filename = "AnghaBench/freebsd/contrib/ldns/compat/extr_ctime_r.c_ctime_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" ; Function Attrs: nounwind uwtable define dso_local ptr @ctime_r(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ctime(ptr noundef %0) #2 %4 = icmp ne ptr %1, null %5 = icmp ne ptr %3, null %6 = select i1 %4, i1 %5, i1 false br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @strcpy(ptr noundef nonnull %1, ptr noundef nonnull %3) #2 br label %9 9: ; preds = %7, %2 ret ptr %3 } declare ptr @ctime(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/compat/extr_ctime_r.c_ctime_r.c' source_filename = "AnghaBench/freebsd/contrib/ldns/compat/extr_ctime_r.c_ctime_r.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @ctime_r(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ctime(ptr noundef %0) #2 %4 = icmp ne ptr %1, null %5 = icmp ne ptr %3, null %6 = select i1 %4, i1 %5, i1 false br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @strcpy(ptr noundef nonnull %1, ptr noundef nonnull %3) #2 br label %9 9: ; preds = %7, %2 ret ptr %3 } declare ptr @ctime(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_ldns_compat_extr_ctime_r.c_ctime_r
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-pyra.c_pyra_init_pyra_device_struct.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-pyra.c_pyra_init_pyra_device_struct.c" target datalayout = "e-m:e-p270:32:32-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.pyra_settings = type { i32 } %struct.pyra_device = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @pyra_init_pyra_device_struct], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pyra_init_pyra_device_struct(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.pyra_settings, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.pyra_device, ptr %1, i64 0, i32 1 %5 = tail call i32 @mutex_init(ptr noundef nonnull %4) #3 %6 = call i32 @pyra_get_settings(ptr noundef %0, ptr noundef nonnull %3) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %35 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !5 %10 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef %9, i32 noundef 0) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %35 12: ; preds = %8 %13 = load ptr, ptr %1, align 8, !tbaa !5 %14 = getelementptr inbounds i32, ptr %13, i64 1 %15 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %14, i32 noundef 1) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %35 17: ; preds = %12 %18 = load ptr, ptr %1, align 8, !tbaa !5 %19 = getelementptr inbounds i32, ptr %18, i64 2 %20 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %19, i32 noundef 2) #3 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %35 22: ; preds = %17 %23 = load ptr, ptr %1, align 8, !tbaa !5 %24 = getelementptr inbounds i32, ptr %23, i64 3 %25 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %24, i32 noundef 3) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %35 27: ; preds = %22 %28 = load ptr, ptr %1, align 8, !tbaa !5 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %29, i32 noundef 4) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %27 %33 = load i32, ptr %3, align 4, !tbaa !11 %34 = call i32 @profile_activated(ptr noundef nonnull %1, i32 noundef %33) #3 br label %35 35: ; preds = %8, %12, %17, %22, %27, %2, %32 %36 = phi i32 [ 0, %32 ], [ %6, %2 ], [ %10, %8 ], [ %15, %12 ], [ %20, %17 ], [ %25, %22 ], [ %30, %27 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #2 declare i32 @pyra_get_settings(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pyra_get_profile_settings(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @profile_activated(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pyra_device", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"pyra_settings", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-pyra.c_pyra_init_pyra_device_struct.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-pyra.c_pyra_init_pyra_device_struct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.pyra_settings = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @pyra_init_pyra_device_struct], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pyra_init_pyra_device_struct(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.pyra_settings, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = tail call i32 @mutex_init(ptr noundef nonnull %4) #3 %6 = call i32 @pyra_get_settings(ptr noundef %0, ptr noundef nonnull %3) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %35 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !6 %10 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef %9, i32 noundef 0) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %35 12: ; preds = %8 %13 = load ptr, ptr %1, align 8, !tbaa !6 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %14, i32 noundef 1) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %35 17: ; preds = %12 %18 = load ptr, ptr %1, align 8, !tbaa !6 %19 = getelementptr inbounds i8, ptr %18, i64 8 %20 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %19, i32 noundef 2) #3 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %35 22: ; preds = %17 %23 = load ptr, ptr %1, align 8, !tbaa !6 %24 = getelementptr inbounds i8, ptr %23, i64 12 %25 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %24, i32 noundef 3) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %35 27: ; preds = %22 %28 = load ptr, ptr %1, align 8, !tbaa !6 %29 = getelementptr inbounds i8, ptr %28, i64 16 %30 = call i32 @pyra_get_profile_settings(ptr noundef %0, ptr noundef nonnull %29, i32 noundef 4) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %27 %33 = load i32, ptr %3, align 4, !tbaa !12 %34 = call i32 @profile_activated(ptr noundef nonnull %1, i32 noundef %33) #3 br label %35 35: ; preds = %8, %12, %17, %22, %27, %2, %32 %36 = phi i32 [ 0, %32 ], [ %6, %2 ], [ %10, %8 ], [ %15, %12 ], [ %20, %17 ], [ %25, %22 ], [ %30, %27 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #2 declare i32 @pyra_get_settings(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pyra_get_profile_settings(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @profile_activated(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pyra_device", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"pyra_settings", !11, i64 0}
linux_drivers_hid_extr_hid-roccat-pyra.c_pyra_init_pyra_device_struct
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_drv.h_REGISTER_WRITE.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_drv.h_REGISTER_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @REGISTER_WRITE], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @REGISTER_WRITE(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = add nsw i64 %5, %1 %7 = tail call i32 @iowrite32(i64 noundef %2, i64 noundef %6) #2 ret void } declare i32 @iowrite32(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"drm_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"drm_psb_private", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_drv.h_REGISTER_WRITE.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_drv.h_REGISTER_WRITE.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 @REGISTER_WRITE], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @REGISTER_WRITE(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = add nsw i64 %5, %1 %7 = tail call i32 @iowrite32(i64 noundef %2, i64 noundef %6) #2 ret void } declare i32 @iowrite32(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"drm_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"drm_psb_private", !13, i64 0} !13 = !{!"long", !9, i64 0}
linux_drivers_gpu_drm_gma500_extr_psb_drv.h_REGISTER_WRITE
; ModuleID = 'AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_find_periph.c' source_filename = "AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_find_periph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CAM_REQ_CMP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mly_find_periph], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @mly_find_periph(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @cam_sim_path(i32 noundef %8) #3 %10 = call i32 @xpt_create_path(ptr noundef nonnull %4, ptr noundef null, i32 noundef %9, i32 noundef %2, i32 noundef 0) #3 %11 = load i32, ptr @CAM_REQ_CMP, align 4, !tbaa !10 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load ptr, ptr %4, align 8, !tbaa !12 %15 = call ptr @cam_periph_find(ptr noundef %14, ptr noundef null) #3 %16 = load ptr, ptr %4, align 8, !tbaa !12 %17 = call i32 @xpt_free_path(ptr noundef %16) #3 br label %18 18: ; preds = %3, %13 %19 = phi ptr [ %15, %13 ], [ null, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xpt_create_path(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cam_sim_path(i32 noundef) local_unnamed_addr #2 declare ptr @cam_periph_find(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xpt_free_path(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 = !{!"mly_softc", !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_find_periph.c' source_filename = "AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_find_periph.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CAM_REQ_CMP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mly_find_periph], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @mly_find_periph(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @cam_sim_path(i32 noundef %8) #3 %10 = call i32 @xpt_create_path(ptr noundef nonnull %4, ptr noundef null, i32 noundef %9, i32 noundef %2, i32 noundef 0) #3 %11 = load i32, ptr @CAM_REQ_CMP, align 4, !tbaa !11 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load ptr, ptr %4, align 8, !tbaa !13 %15 = call ptr @cam_periph_find(ptr noundef %14, ptr noundef null) #3 %16 = load ptr, ptr %4, align 8, !tbaa !13 %17 = call i32 @xpt_free_path(ptr noundef %16) #3 br label %18 18: ; preds = %3, %13 %19 = phi ptr [ %15, %13 ], [ null, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xpt_create_path(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cam_sim_path(i32 noundef) local_unnamed_addr #2 declare ptr @cam_periph_find(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xpt_free_path(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 = !{!"mly_softc", !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 = !{!8, !8, i64 0}
freebsd_sys_dev_mly_extr_mly.c_mly_find_periph
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_pd6729.c_pd6729_check_irq.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_pd6729.c_pd6729_check_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pd6729_test = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_PROBE_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pd6729_check_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @pd6729_check_irq(i32 noundef %0) #0 { %2 = load i32, ptr @pd6729_test, align 4, !tbaa !5 %3 = load i32, ptr @IRQF_PROBE_SHARED, align 4, !tbaa !5 %4 = tail call i32 @request_irq(i32 noundef %0, i32 noundef %2, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %2) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @pd6729_test, align 4, !tbaa !5 %8 = tail call i32 @free_irq(i32 noundef %0, i32 noundef %7) #2 br label %9 9: ; preds = %1, %6 %10 = phi i32 [ 0, %6 ], [ -1, %1 ] ret i32 %10 } declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_pd6729.c_pd6729_check_irq.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_pd6729.c_pd6729_check_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pd6729_test = common local_unnamed_addr global i32 0, align 4 @IRQF_PROBE_SHARED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pd6729_check_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @pd6729_check_irq(i32 noundef %0) #0 { %2 = load i32, ptr @pd6729_test, align 4, !tbaa !6 %3 = load i32, ptr @IRQF_PROBE_SHARED, align 4, !tbaa !6 %4 = tail call i32 @request_irq(i32 noundef %0, i32 noundef %2, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %2) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @pd6729_test, align 4, !tbaa !6 %8 = tail call i32 @free_irq(i32 noundef %0, i32 noundef %7) #2 br label %9 9: ; preds = %1, %6 %10 = phi i32 [ 0, %6 ], [ -1, %1 ] ret i32 %10 } declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_pcmcia_extr_pd6729.c_pd6729_check_irq
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/extr_hns3_ethtool.c_hns3_get_stats_tqps.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/extr_hns3_ethtool.c_hns3_get_stats_tqps.c" target datalayout = "e-m:e-p270:32:32-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.hnae3_handle = type { %struct.hnae3_knic_private_info, i64 } %struct.hnae3_knic_private_info = type { i32 } %struct.TYPE_4__ = type { ptr } %struct.TYPE_5__ = type { i32 } %struct.TYPE_6__ = type { i32 } @HNS3_TXQ_STATS_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @hns3_txq_stats = dso_local local_unnamed_addr global ptr null, align 8 @HNS3_RXQ_STATS_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @hns3_rxq_stats = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @hns3_get_stats_tqps], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal ptr @hns3_get_stats_tqps(ptr nocapture noundef readonly %0, ptr noundef writeonly %1) #0 { %3 = getelementptr inbounds %struct.hnae3_handle, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %0, align 4, !tbaa !12 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %162 8: ; preds = %2 %9 = load i32, ptr @HNS3_TXQ_STATS_COUNT, align 4, !tbaa !13 %10 = icmp sgt i32 %9, 0 %11 = zext nneg i32 %6 to i64 %12 = zext i32 %9 to i64 %13 = and i64 %12, 3 %14 = icmp ult i32 %9, 4 %15 = and i64 %12, 2147483644 %16 = icmp eq i64 %13, 0 br label %27 17: ; preds = %90 br i1 %7, label %18, label %162 18: ; preds = %17 %19 = load i32, ptr @HNS3_RXQ_STATS_COUNT, align 4, !tbaa !13 %20 = icmp sgt i32 %19, 0 %21 = zext nneg i32 %6 to i64 %22 = zext i32 %19 to i64 %23 = and i64 %22, 3 %24 = icmp ult i32 %19, 4 %25 = and i64 %22, 2147483644 %26 = icmp eq i64 %23, 0 br label %94 27: ; preds = %8, %90 %28 = phi i64 [ 0, %8 ], [ %92, %90 ] %29 = phi ptr [ %1, %8 ], [ %91, %90 ] %30 = load ptr, ptr %5, align 8, !tbaa !14 %31 = getelementptr inbounds %struct.TYPE_4__, ptr %30, i64 %28 %32 = load ptr, ptr %31, align 8, !tbaa !17 br i1 %10, label %33, label %90 33: ; preds = %27 br i1 %14, label %72, label %34 34: ; preds = %33, %34 %35 = phi i64 [ %69, %34 ], [ 0, %33 ] %36 = phi ptr [ %68, %34 ], [ %29, %33 ] %37 = phi i64 [ %70, %34 ], [ 0, %33 ] %38 = load ptr, ptr @hns3_txq_stats, align 8, !tbaa !19 %39 = getelementptr inbounds %struct.TYPE_5__, ptr %38, i64 %35 %40 = load i32, ptr %39, align 4, !tbaa !20 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %32, i64 %41 %43 = load ptr, ptr %42, align 8, !tbaa !19 %44 = getelementptr inbounds ptr, ptr %36, i64 1 store ptr %43, ptr %36, align 8, !tbaa !19 %45 = or disjoint i64 %35, 1 %46 = load ptr, ptr @hns3_txq_stats, align 8, !tbaa !19 %47 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %45 %48 = load i32, ptr %47, align 4, !tbaa !20 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %32, i64 %49 %51 = load ptr, ptr %50, align 8, !tbaa !19 %52 = getelementptr inbounds ptr, ptr %36, i64 2 store ptr %51, ptr %44, align 8, !tbaa !19 %53 = or disjoint i64 %35, 2 %54 = load ptr, ptr @hns3_txq_stats, align 8, !tbaa !19 %55 = getelementptr inbounds %struct.TYPE_5__, ptr %54, i64 %53 %56 = load i32, ptr %55, align 4, !tbaa !20 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %32, i64 %57 %59 = load ptr, ptr %58, align 8, !tbaa !19 %60 = getelementptr inbounds ptr, ptr %36, i64 3 store ptr %59, ptr %52, align 8, !tbaa !19 %61 = or disjoint i64 %35, 3 %62 = load ptr, ptr @hns3_txq_stats, align 8, !tbaa !19 %63 = getelementptr inbounds %struct.TYPE_5__, ptr %62, i64 %61 %64 = load i32, ptr %63, align 4, !tbaa !20 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %32, i64 %65 %67 = load ptr, ptr %66, align 8, !tbaa !19 %68 = getelementptr inbounds ptr, ptr %36, i64 4 store ptr %67, ptr %60, align 8, !tbaa !19 %69 = add nuw nsw i64 %35, 4 %70 = add i64 %37, 4 %71 = icmp eq i64 %70, %15 br i1 %71, label %72, label %34, !llvm.loop !22 72: ; preds = %34, %33 %73 = phi ptr [ undef, %33 ], [ %68, %34 ] %74 = phi i64 [ 0, %33 ], [ %69, %34 ] %75 = phi ptr [ %29, %33 ], [ %68, %34 ] br i1 %16, label %90, label %76 76: ; preds = %72, %76 %77 = phi i64 [ %87, %76 ], [ %74, %72 ] %78 = phi ptr [ %86, %76 ], [ %75, %72 ] %79 = phi i64 [ %88, %76 ], [ 0, %72 ] %80 = load ptr, ptr @hns3_txq_stats, align 8, !tbaa !19 %81 = getelementptr inbounds %struct.TYPE_5__, ptr %80, i64 %77 %82 = load i32, ptr %81, align 4, !tbaa !20 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %32, i64 %83 %85 = load ptr, ptr %84, align 8, !tbaa !19 %86 = getelementptr inbounds ptr, ptr %78, i64 1 store ptr %85, ptr %78, align 8, !tbaa !19 %87 = add nuw nsw i64 %77, 1 %88 = add i64 %79, 1 %89 = icmp eq i64 %88, %13 br i1 %89, label %90, label %76, !llvm.loop !24 90: ; preds = %72, %76, %27 %91 = phi ptr [ %29, %27 ], [ %73, %72 ], [ %86, %76 ] %92 = add nuw nsw i64 %28, 1 %93 = icmp eq i64 %92, %11 br i1 %93, label %17, label %27, !llvm.loop !26 94: ; preds = %18, %158 %95 = phi i64 [ 0, %18 ], [ %160, %158 ] %96 = phi ptr [ %91, %18 ], [ %159, %158 ] %97 = load ptr, ptr %5, align 8, !tbaa !14 %98 = getelementptr %struct.TYPE_4__, ptr %97, i64 %95 %99 = getelementptr %struct.TYPE_4__, ptr %98, i64 %21 %100 = load ptr, ptr %99, align 8, !tbaa !17 br i1 %20, label %101, label %158 101: ; preds = %94 br i1 %24, label %140, label %102 102: ; preds = %101, %102 %103 = phi i64 [ %137, %102 ], [ 0, %101 ] %104 = phi ptr [ %136, %102 ], [ %96, %101 ] %105 = phi i64 [ %138, %102 ], [ 0, %101 ] %106 = load ptr, ptr @hns3_rxq_stats, align 8, !tbaa !19 %107 = getelementptr inbounds %struct.TYPE_6__, ptr %106, i64 %103 %108 = load i32, ptr %107, align 4, !tbaa !27 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %100, i64 %109 %111 = load ptr, ptr %110, align 8, !tbaa !19 %112 = getelementptr inbounds ptr, ptr %104, i64 1 store ptr %111, ptr %104, align 8, !tbaa !19 %113 = or disjoint i64 %103, 1 %114 = load ptr, ptr @hns3_rxq_stats, align 8, !tbaa !19 %115 = getelementptr inbounds %struct.TYPE_6__, ptr %114, i64 %113 %116 = load i32, ptr %115, align 4, !tbaa !27 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %100, i64 %117 %119 = load ptr, ptr %118, align 8, !tbaa !19 %120 = getelementptr inbounds ptr, ptr %104, i64 2 store ptr %119, ptr %112, align 8, !tbaa !19 %121 = or disjoint i64 %103, 2 %122 = load ptr, ptr @hns3_rxq_stats, align 8, !tbaa !19 %123 = getelementptr inbounds %struct.TYPE_6__, ptr %122, i64 %121 %124 = load i32, ptr %123, align 4, !tbaa !27 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %100, i64 %125 %127 = load ptr, ptr %126, align 8, !tbaa !19 %128 = getelementptr inbounds ptr, ptr %104, i64 3 store ptr %127, ptr %120, align 8, !tbaa !19 %129 = or disjoint i64 %103, 3 %130 = load ptr, ptr @hns3_rxq_stats, align 8, !tbaa !19 %131 = getelementptr inbounds %struct.TYPE_6__, ptr %130, i64 %129 %132 = load i32, ptr %131, align 4, !tbaa !27 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i32, ptr %100, i64 %133 %135 = load ptr, ptr %134, align 8, !tbaa !19 %136 = getelementptr inbounds ptr, ptr %104, i64 4 store ptr %135, ptr %128, align 8, !tbaa !19 %137 = add nuw nsw i64 %103, 4 %138 = add i64 %105, 4 %139 = icmp eq i64 %138, %25 br i1 %139, label %140, label %102, !llvm.loop !29 140: ; preds = %102, %101 %141 = phi ptr [ undef, %101 ], [ %136, %102 ] %142 = phi i64 [ 0, %101 ], [ %137, %102 ] %143 = phi ptr [ %96, %101 ], [ %136, %102 ] br i1 %26, label %158, label %144 144: ; preds = %140, %144 %145 = phi i64 [ %155, %144 ], [ %142, %140 ] %146 = phi ptr [ %154, %144 ], [ %143, %140 ] %147 = phi i64 [ %156, %144 ], [ 0, %140 ] %148 = load ptr, ptr @hns3_rxq_stats, align 8, !tbaa !19 %149 = getelementptr inbounds %struct.TYPE_6__, ptr %148, i64 %145 %150 = load i32, ptr %149, align 4, !tbaa !27 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i32, ptr %100, i64 %151 %153 = load ptr, ptr %152, align 8, !tbaa !19 %154 = getelementptr inbounds ptr, ptr %146, i64 1 store ptr %153, ptr %146, align 8, !tbaa !19 %155 = add nuw nsw i64 %145, 1 %156 = add i64 %147, 1 %157 = icmp eq i64 %156, %23 br i1 %157, label %158, label %144, !llvm.loop !30 158: ; preds = %140, %144, %94 %159 = phi ptr [ %96, %94 ], [ %141, %140 ], [ %154, %144 ] %160 = add nuw nsw i64 %95, 1 %161 = icmp eq i64 %160, %21 br i1 %161, label %162, label %94, !llvm.loop !31 162: ; preds = %158, %2, %17 %163 = phi ptr [ %91, %17 ], [ %1, %2 ], [ %159, %158 ] ret ptr %163 } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"hnae3_handle", !7, i64 0, !11, i64 8} !7 = !{!"hnae3_knic_private_info", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"hns3_nic_priv", !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"TYPE_4__", !16, i64 0} !19 = !{!16, !16, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_5__", !8, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.unroll.disable"} !26 = distinct !{!26, !23} !27 = !{!28, !8, i64 0} !28 = !{!"TYPE_6__", !8, i64 0} !29 = distinct !{!29, !23} !30 = distinct !{!30, !25} !31 = distinct !{!31, !23}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/extr_hns3_ethtool.c_hns3_get_stats_tqps.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/extr_hns3_ethtool.c_hns3_get_stats_tqps.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr } %struct.TYPE_5__ = type { i32 } %struct.TYPE_6__ = type { i32 } @HNS3_TXQ_STATS_COUNT = common local_unnamed_addr global i32 0, align 4 @hns3_txq_stats = common local_unnamed_addr global ptr null, align 8 @HNS3_RXQ_STATS_COUNT = common local_unnamed_addr global i32 0, align 4 @hns3_rxq_stats = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @hns3_get_stats_tqps], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal ptr @hns3_get_stats_tqps(ptr nocapture noundef readonly %0, ptr noundef writeonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %0, align 4, !tbaa !13 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %62 8: ; preds = %2 %9 = load i32, ptr @HNS3_TXQ_STATS_COUNT, align 4, !tbaa !14 %10 = icmp sgt i32 %9, 0 %11 = zext nneg i32 %6 to i64 %12 = zext nneg i32 %9 to i64 br label %17 13: ; preds = %35 %14 = load i32, ptr @HNS3_RXQ_STATS_COUNT, align 4, !tbaa !14 %15 = icmp sgt i32 %14, 0 %16 = zext nneg i32 %14 to i64 br label %39 17: ; preds = %8, %35 %18 = phi i64 [ 0, %8 ], [ %37, %35 ] %19 = phi ptr [ %1, %8 ], [ %36, %35 ] %20 = load ptr, ptr %5, align 8, !tbaa !15 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i64 %18 %22 = load ptr, ptr %21, align 8, !tbaa !18 br i1 %10, label %23, label %35 23: ; preds = %17, %23 %24 = phi i64 [ %33, %23 ], [ 0, %17 ] %25 = phi ptr [ %32, %23 ], [ %19, %17 ] %26 = load ptr, ptr @hns3_txq_stats, align 8, !tbaa !20 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i64 %24 %28 = load i32, ptr %27, align 4, !tbaa !21 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %22, i64 %29 %31 = load ptr, ptr %30, align 8, !tbaa !20 %32 = getelementptr inbounds i8, ptr %25, i64 8 store ptr %31, ptr %25, align 8, !tbaa !20 %33 = add nuw nsw i64 %24, 1 %34 = icmp eq i64 %33, %12 br i1 %34, label %35, label %23, !llvm.loop !23 35: ; preds = %23, %17 %36 = phi ptr [ %19, %17 ], [ %32, %23 ] %37 = add nuw nsw i64 %18, 1 %38 = icmp eq i64 %37, %11 br i1 %38, label %13, label %17, !llvm.loop !25 39: ; preds = %13, %58 %40 = phi i64 [ 0, %13 ], [ %60, %58 ] %41 = phi ptr [ %36, %13 ], [ %59, %58 ] %42 = load ptr, ptr %5, align 8, !tbaa !15 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %42, i64 %40 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %43, i64 %11 %45 = load ptr, ptr %44, align 8, !tbaa !18 br i1 %15, label %46, label %58 46: ; preds = %39, %46 %47 = phi i64 [ %56, %46 ], [ 0, %39 ] %48 = phi ptr [ %55, %46 ], [ %41, %39 ] %49 = load ptr, ptr @hns3_rxq_stats, align 8, !tbaa !20 %50 = getelementptr inbounds %struct.TYPE_6__, ptr %49, i64 %47 %51 = load i32, ptr %50, align 4, !tbaa !26 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %45, i64 %52 %54 = load ptr, ptr %53, align 8, !tbaa !20 %55 = getelementptr inbounds i8, ptr %48, i64 8 store ptr %54, ptr %48, align 8, !tbaa !20 %56 = add nuw nsw i64 %47, 1 %57 = icmp eq i64 %56, %16 br i1 %57, label %58, label %46, !llvm.loop !28 58: ; preds = %46, %39 %59 = phi ptr [ %41, %39 ], [ %55, %46 ] %60 = add nuw nsw i64 %40, 1 %61 = icmp eq i64 %60, %11 br i1 %61, label %62, label %39, !llvm.loop !29 62: ; preds = %58, %2 %63 = phi ptr [ %1, %2 ], [ %59, %58 ] ret ptr %63 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"hnae3_handle", !8, i64 0, !12, i64 8} !8 = !{!"hnae3_knic_private_info", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!8, !9, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"hns3_nic_priv", !17, i64 0} !17 = !{!"any pointer", !10, i64 0} !18 = !{!19, !17, i64 0} !19 = !{!"TYPE_4__", !17, i64 0} !20 = !{!17, !17, i64 0} !21 = !{!22, !9, i64 0} !22 = !{!"TYPE_5__", !9, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = distinct !{!25, !24} !26 = !{!27, !9, i64 0} !27 = !{!"TYPE_6__", !9, i64 0} !28 = distinct !{!28, !24} !29 = distinct !{!29, !24}
linux_drivers_net_ethernet_hisilicon_hns3_extr_hns3_ethtool.c_hns3_get_stats_tqps
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_mailbox.c_octeon_mbox_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_mailbox.c_octeon_mbox_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.octeon_mbox = type { i32, i32, i32, %struct.TYPE_14__, %struct.TYPE_11__, i32 } %struct.TYPE_14__ = type { ptr, i32, %struct.TYPE_13__, i32 } %struct.TYPE_13__ = type { i64, %struct.TYPE_12__ } %struct.TYPE_12__ = type { i32 } %struct.TYPE_11__ = type { ptr, i32, %struct.TYPE_10__, i32 } %struct.TYPE_10__ = type { i64, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32 } @OCTEON_PFVFACK = dso_local local_unnamed_addr global i64 0, align 8 @OCTEON_PFVFSIG = dso_local local_unnamed_addr global i64 0, align 8 @OCTEON_MBOX_STATE_REQUEST_RECEIVING = dso_local local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_RESPONSE_RECEIVING = dso_local local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_REQUEST = dso_local local_unnamed_addr global i64 0, align 8 @OCTEON_MBOX_STATE_RESPONSE_PENDING = dso_local local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_RESPONSE = dso_local local_unnamed_addr global i64 0, align 8 @OCTEON_PFVFERR = dso_local local_unnamed_addr global i64 0, align 8 @OCTEON_MBOX_STATE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_REQUEST_RECEIVED = dso_local local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_RESPONSE_RECEIVED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @octeon_mbox_read(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 1 %3 = tail call i32 @spin_lock(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = tail call i64 @readq(i32 noundef %5) #2 %7 = load i64, ptr @OCTEON_PFVFACK, align 8, !tbaa !18 %8 = icmp eq i64 %6, %7 %9 = load i64, ptr @OCTEON_PFVFSIG, align 8 %10 = icmp eq i64 %6, %9 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %118, label %12 12: ; preds = %1 %13 = load i32, ptr %0, align 8, !tbaa !19 %14 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVING, align 4, !tbaa !20 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %26, label %17 17: ; preds = %12 %18 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 4 %19 = load ptr, ptr %18, align 8, !tbaa !21 %20 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 4, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !22 %22 = sext i32 %21 to i64 %23 = getelementptr i64, ptr %19, i64 %22 %24 = getelementptr i64, ptr %23, i64 -1 store i64 %6, ptr %24, align 8, !tbaa !18 %25 = add nsw i32 %21, 1 store i32 %25, ptr %20, align 8, !tbaa !22 br label %80 26: ; preds = %12 %27 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVING, align 4, !tbaa !20 %28 = and i32 %27, %13 %29 = icmp eq i32 %28, 0 br i1 %29, label %39, label %30 30: ; preds = %26 %31 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 3 %32 = load ptr, ptr %31, align 8, !tbaa !23 %33 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 3, i32 1 %34 = load i32, ptr %33, align 8, !tbaa !24 %35 = sext i32 %34 to i64 %36 = getelementptr i64, ptr %32, i64 %35 %37 = getelementptr i64, ptr %36, i64 -1 store i64 %6, ptr %37, align 8, !tbaa !18 %38 = add nsw i32 %34, 1 store i32 %38, ptr %33, align 8, !tbaa !24 br label %80 39: ; preds = %26 %40 = load i32, ptr @OCTEON_MBOX_STATE_IDLE, align 4, !tbaa !20 %41 = and i32 %40, %13 %42 = icmp ne i32 %41, 0 %43 = load i64, ptr @OCTEON_MBOX_REQUEST, align 8 %44 = icmp eq i64 %6, %43 %45 = select i1 %42, i1 %44, i1 false br i1 %45, label %46, label %56 46: ; preds = %39 %47 = xor i32 %40, -1 %48 = and i32 %13, %47 store i32 %48, ptr %0, align 8, !tbaa !19 %49 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVING, align 4, !tbaa !20 %50 = or i32 %49, %48 store i32 %50, ptr %0, align 8, !tbaa !19 %51 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 4, i32 2 store i64 %6, ptr %51, align 8, !tbaa !25 %52 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 5 %53 = load i32, ptr %52, align 8, !tbaa !26 %54 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 4, i32 3 store i32 %53, ptr %54, align 8, !tbaa !27 %55 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 4, i32 1 store i32 1, ptr %55, align 8, !tbaa !22 br label %80 56: ; preds = %39 %57 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_PENDING, align 4, !tbaa !20 %58 = and i32 %57, %13 %59 = icmp ne i32 %58, 0 %60 = load i64, ptr @OCTEON_MBOX_RESPONSE, align 8 %61 = icmp eq i64 %6, %60 %62 = select i1 %59, i1 %61, i1 false br i1 %62, label %63, label %73 63: ; preds = %56 %64 = xor i32 %57, -1 %65 = and i32 %13, %64 store i32 %65, ptr %0, align 8, !tbaa !19 %66 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVING, align 4, !tbaa !20 %67 = or i32 %66, %65 store i32 %67, ptr %0, align 8, !tbaa !19 %68 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 3, i32 2 store i64 %6, ptr %68, align 8, !tbaa !28 %69 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 5 %70 = load i32, ptr %69, align 8, !tbaa !26 %71 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 3, i32 3 store i32 %70, ptr %71, align 8, !tbaa !29 %72 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 3, i32 1 store i32 1, ptr %72, align 8, !tbaa !24 br label %80 73: ; preds = %56 %74 = load i64, ptr @OCTEON_PFVFERR, align 8, !tbaa !18 %75 = load i32, ptr %4, align 8, !tbaa !5 %76 = tail call i32 @writeq(i64 noundef %74, i32 noundef %75) #2 %77 = load i32, ptr @OCTEON_MBOX_STATE_ERROR, align 4, !tbaa !20 %78 = load i32, ptr %0, align 8, !tbaa !19 %79 = or i32 %78, %77 store i32 %79, ptr %0, align 8, !tbaa !19 br label %118 80: ; preds = %30, %63, %46, %17 %81 = phi i32 [ %13, %30 ], [ %67, %63 ], [ %50, %46 ], [ %13, %17 ] %82 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVING, align 4, !tbaa !20 %83 = and i32 %82, %81 %84 = icmp eq i32 %83, 0 br i1 %84, label %96, label %85 85: ; preds = %80 %86 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 4, i32 1 %87 = load i32, ptr %86, align 8, !tbaa !22 %88 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 4, i32 2, i32 1 %89 = load i32, ptr %88, align 8, !tbaa !30 %90 = icmp slt i32 %87, %89 br i1 %90, label %113, label %91 91: ; preds = %85 %92 = xor i32 %82, -1 %93 = and i32 %81, %92 store i32 %93, ptr %0, align 8, !tbaa !19 %94 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVED, align 4, !tbaa !20 %95 = or i32 %94, %93 store i32 %95, ptr %0, align 8, !tbaa !19 br label %113 96: ; preds = %80 %97 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVING, align 4, !tbaa !20 %98 = and i32 %97, %81 %99 = icmp eq i32 %98, 0 br i1 %99, label %111, label %100 100: ; preds = %96 %101 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 3, i32 1 %102 = load i32, ptr %101, align 8, !tbaa !24 %103 = getelementptr inbounds %struct.octeon_mbox, ptr %0, i64 0, i32 3, i32 2, i32 1 %104 = load i32, ptr %103, align 8, !tbaa !31 %105 = icmp slt i32 %102, %104 br i1 %105, label %113, label %106 106: ; preds = %100 %107 = xor i32 %97, -1 %108 = and i32 %81, %107 store i32 %108, ptr %0, align 8, !tbaa !19 %109 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVED, align 4, !tbaa !20 %110 = or i32 %109, %108 store i32 %110, ptr %0, align 8, !tbaa !19 br label %113 111: ; preds = %96 %112 = tail call i32 @WARN_ON(i32 noundef 1) #2 br label %113 113: ; preds = %100, %85, %111, %106, %91 %114 = phi i32 [ 1, %91 ], [ 1, %106 ], [ 0, %111 ], [ 0, %85 ], [ 0, %100 ] %115 = load i64, ptr @OCTEON_PFVFACK, align 8, !tbaa !18 %116 = load i32, ptr %4, align 8, !tbaa !5 %117 = tail call i32 @writeq(i64 noundef %115, i32 noundef %116) #2 br label %118 118: ; preds = %1, %113, %73 %119 = phi i32 [ %114, %113 ], [ 1, %73 ], [ 0, %1 ] %120 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 ret i32 %119 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i64 @readq(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @writeq(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"octeon_mbox", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !15, i64 56, !7, i64 96} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_14__", !11, i64 0, !7, i64 8, !12, i64 16, !7, i64 32} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_13__", !13, i64 0, !14, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!"TYPE_12__", !7, i64 0} !15 = !{!"TYPE_11__", !11, i64 0, !7, i64 8, !16, i64 16, !7, i64 32} !16 = !{!"TYPE_10__", !13, i64 0, !17, i64 8} !17 = !{!"TYPE_9__", !7, i64 0} !18 = !{!13, !13, i64 0} !19 = !{!6, !7, i64 0} !20 = !{!7, !7, i64 0} !21 = !{!6, !11, i64 56} !22 = !{!6, !7, i64 64} !23 = !{!6, !11, i64 16} !24 = !{!6, !7, i64 24} !25 = !{!6, !13, i64 72} !26 = !{!6, !7, i64 96} !27 = !{!6, !7, i64 88} !28 = !{!6, !13, i64 32} !29 = !{!6, !7, i64 48} !30 = !{!6, !7, i64 80} !31 = !{!6, !7, i64 40}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_mailbox.c_octeon_mbox_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_mailbox.c_octeon_mbox_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OCTEON_PFVFACK = common local_unnamed_addr global i64 0, align 8 @OCTEON_PFVFSIG = common local_unnamed_addr global i64 0, align 8 @OCTEON_MBOX_STATE_REQUEST_RECEIVING = common local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_RESPONSE_RECEIVING = common local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_IDLE = common local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_REQUEST = common local_unnamed_addr global i64 0, align 8 @OCTEON_MBOX_STATE_RESPONSE_PENDING = common local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_RESPONSE = common local_unnamed_addr global i64 0, align 8 @OCTEON_PFVFERR = common local_unnamed_addr global i64 0, align 8 @OCTEON_MBOX_STATE_ERROR = common local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_REQUEST_RECEIVED = common local_unnamed_addr global i32 0, align 4 @OCTEON_MBOX_STATE_RESPONSE_RECEIVED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @octeon_mbox_read(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @spin_lock(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = tail call i64 @readq(i32 noundef %5) #2 %7 = load i64, ptr @OCTEON_PFVFACK, align 8, !tbaa !19 %8 = icmp eq i64 %6, %7 %9 = load i64, ptr @OCTEON_PFVFSIG, align 8 %10 = icmp eq i64 %6, %9 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %118, label %12 12: ; preds = %1 %13 = load i32, ptr %0, align 8, !tbaa !20 %14 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVING, align 4, !tbaa !21 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %26, label %17 17: ; preds = %12 %18 = getelementptr inbounds i8, ptr %0, i64 56 %19 = load ptr, ptr %18, align 8, !tbaa !22 %20 = getelementptr inbounds i8, ptr %0, i64 64 %21 = load i32, ptr %20, align 8, !tbaa !23 %22 = sext i32 %21 to i64 %23 = getelementptr i64, ptr %19, i64 %22 %24 = getelementptr i8, ptr %23, i64 -8 store i64 %6, ptr %24, align 8, !tbaa !19 %25 = add nsw i32 %21, 1 store i32 %25, ptr %20, align 8, !tbaa !23 br label %80 26: ; preds = %12 %27 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVING, align 4, !tbaa !21 %28 = and i32 %27, %13 %29 = icmp eq i32 %28, 0 br i1 %29, label %39, label %30 30: ; preds = %26 %31 = getelementptr inbounds i8, ptr %0, i64 16 %32 = load ptr, ptr %31, align 8, !tbaa !24 %33 = getelementptr inbounds i8, ptr %0, i64 24 %34 = load i32, ptr %33, align 8, !tbaa !25 %35 = sext i32 %34 to i64 %36 = getelementptr i64, ptr %32, i64 %35 %37 = getelementptr i8, ptr %36, i64 -8 store i64 %6, ptr %37, align 8, !tbaa !19 %38 = add nsw i32 %34, 1 store i32 %38, ptr %33, align 8, !tbaa !25 br label %80 39: ; preds = %26 %40 = load i32, ptr @OCTEON_MBOX_STATE_IDLE, align 4, !tbaa !21 %41 = and i32 %40, %13 %42 = icmp ne i32 %41, 0 %43 = load i64, ptr @OCTEON_MBOX_REQUEST, align 8 %44 = icmp eq i64 %6, %43 %45 = select i1 %42, i1 %44, i1 false br i1 %45, label %46, label %56 46: ; preds = %39 %47 = xor i32 %40, -1 %48 = and i32 %13, %47 store i32 %48, ptr %0, align 8, !tbaa !20 %49 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVING, align 4, !tbaa !21 %50 = or i32 %49, %48 store i32 %50, ptr %0, align 8, !tbaa !20 %51 = getelementptr inbounds i8, ptr %0, i64 72 store i64 %6, ptr %51, align 8, !tbaa !26 %52 = getelementptr inbounds i8, ptr %0, i64 96 %53 = load i32, ptr %52, align 8, !tbaa !27 %54 = getelementptr inbounds i8, ptr %0, i64 88 store i32 %53, ptr %54, align 8, !tbaa !28 %55 = getelementptr inbounds i8, ptr %0, i64 64 store i32 1, ptr %55, align 8, !tbaa !23 br label %80 56: ; preds = %39 %57 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_PENDING, align 4, !tbaa !21 %58 = and i32 %57, %13 %59 = icmp ne i32 %58, 0 %60 = load i64, ptr @OCTEON_MBOX_RESPONSE, align 8 %61 = icmp eq i64 %6, %60 %62 = select i1 %59, i1 %61, i1 false br i1 %62, label %63, label %73 63: ; preds = %56 %64 = xor i32 %57, -1 %65 = and i32 %13, %64 store i32 %65, ptr %0, align 8, !tbaa !20 %66 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVING, align 4, !tbaa !21 %67 = or i32 %66, %65 store i32 %67, ptr %0, align 8, !tbaa !20 %68 = getelementptr inbounds i8, ptr %0, i64 32 store i64 %6, ptr %68, align 8, !tbaa !29 %69 = getelementptr inbounds i8, ptr %0, i64 96 %70 = load i32, ptr %69, align 8, !tbaa !27 %71 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %70, ptr %71, align 8, !tbaa !30 %72 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1, ptr %72, align 8, !tbaa !25 br label %80 73: ; preds = %56 %74 = load i64, ptr @OCTEON_PFVFERR, align 8, !tbaa !19 %75 = load i32, ptr %4, align 8, !tbaa !6 %76 = tail call i32 @writeq(i64 noundef %74, i32 noundef %75) #2 %77 = load i32, ptr @OCTEON_MBOX_STATE_ERROR, align 4, !tbaa !21 %78 = load i32, ptr %0, align 8, !tbaa !20 %79 = or i32 %78, %77 store i32 %79, ptr %0, align 8, !tbaa !20 br label %118 80: ; preds = %30, %63, %46, %17 %81 = phi i32 [ %13, %30 ], [ %67, %63 ], [ %50, %46 ], [ %13, %17 ] %82 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVING, align 4, !tbaa !21 %83 = and i32 %82, %81 %84 = icmp eq i32 %83, 0 br i1 %84, label %96, label %85 85: ; preds = %80 %86 = getelementptr inbounds i8, ptr %0, i64 64 %87 = load i32, ptr %86, align 8, !tbaa !23 %88 = getelementptr inbounds i8, ptr %0, i64 80 %89 = load i32, ptr %88, align 8, !tbaa !31 %90 = icmp slt i32 %87, %89 br i1 %90, label %113, label %91 91: ; preds = %85 %92 = xor i32 %82, -1 %93 = and i32 %81, %92 store i32 %93, ptr %0, align 8, !tbaa !20 %94 = load i32, ptr @OCTEON_MBOX_STATE_REQUEST_RECEIVED, align 4, !tbaa !21 %95 = or i32 %94, %93 store i32 %95, ptr %0, align 8, !tbaa !20 br label %113 96: ; preds = %80 %97 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVING, align 4, !tbaa !21 %98 = and i32 %97, %81 %99 = icmp eq i32 %98, 0 br i1 %99, label %111, label %100 100: ; preds = %96 %101 = getelementptr inbounds i8, ptr %0, i64 24 %102 = load i32, ptr %101, align 8, !tbaa !25 %103 = getelementptr inbounds i8, ptr %0, i64 40 %104 = load i32, ptr %103, align 8, !tbaa !32 %105 = icmp slt i32 %102, %104 br i1 %105, label %113, label %106 106: ; preds = %100 %107 = xor i32 %97, -1 %108 = and i32 %81, %107 store i32 %108, ptr %0, align 8, !tbaa !20 %109 = load i32, ptr @OCTEON_MBOX_STATE_RESPONSE_RECEIVED, align 4, !tbaa !21 %110 = or i32 %109, %108 store i32 %110, ptr %0, align 8, !tbaa !20 br label %113 111: ; preds = %96 %112 = tail call i32 @WARN_ON(i32 noundef 1) #2 br label %113 113: ; preds = %100, %85, %111, %106, %91 %114 = phi i32 [ 1, %91 ], [ 1, %106 ], [ 0, %111 ], [ 0, %85 ], [ 0, %100 ] %115 = load i64, ptr @OCTEON_PFVFACK, align 8, !tbaa !19 %116 = load i32, ptr %4, align 8, !tbaa !6 %117 = tail call i32 @writeq(i64 noundef %115, i32 noundef %116) #2 br label %118 118: ; preds = %1, %113, %73 %119 = phi i32 [ %114, %113 ], [ 1, %73 ], [ 0, %1 ] %120 = tail call i32 @spin_unlock(ptr noundef nonnull %2) #2 ret i32 %119 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i64 @readq(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @writeq(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"octeon_mbox", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !16, i64 56, !8, i64 96} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_14__", !12, i64 0, !8, i64 8, !13, i64 16, !8, i64 32} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_13__", !14, i64 0, !15, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!"TYPE_12__", !8, i64 0} !16 = !{!"TYPE_11__", !12, i64 0, !8, i64 8, !17, i64 16, !8, i64 32} !17 = !{!"TYPE_10__", !14, i64 0, !18, i64 8} !18 = !{!"TYPE_9__", !8, i64 0} !19 = !{!14, !14, i64 0} !20 = !{!7, !8, i64 0} !21 = !{!8, !8, i64 0} !22 = !{!7, !12, i64 56} !23 = !{!7, !8, i64 64} !24 = !{!7, !12, i64 16} !25 = !{!7, !8, i64 24} !26 = !{!7, !14, i64 72} !27 = !{!7, !8, i64 96} !28 = !{!7, !8, i64 88} !29 = !{!7, !14, i64 32} !30 = !{!7, !8, i64 48} !31 = !{!7, !8, i64 80} !32 = !{!7, !8, i64 40}
linux_drivers_net_ethernet_cavium_liquidio_extr_octeon_mailbox.c_octeon_mbox_read
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_getLockingMode.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_getLockingMode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"exclusive\00", align 1 @PAGER_LOCKINGMODE_EXCLUSIVE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"normal\00", align 1 @PAGER_LOCKINGMODE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @PAGER_LOCKINGMODE_QUERY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @getLockingMode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @getLockingMode(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = tail call i64 @sqlite3StrICmp(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = tail call i64 @sqlite3StrICmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %6, %1 br label %10 10: ; preds = %6, %3, %9 %11 = phi ptr [ @PAGER_LOCKINGMODE_QUERY, %9 ], [ @PAGER_LOCKINGMODE_EXCLUSIVE, %3 ], [ @PAGER_LOCKINGMODE_NORMAL, %6 ] %12 = load i32, ptr %11, align 4, !tbaa !5 ret i32 %12 } declare i64 @sqlite3StrICmp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_getLockingMode.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_getLockingMode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [10 x i8] c"exclusive\00", align 1 @PAGER_LOCKINGMODE_EXCLUSIVE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"normal\00", align 1 @PAGER_LOCKINGMODE_NORMAL = common local_unnamed_addr global i32 0, align 4 @PAGER_LOCKINGMODE_QUERY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @getLockingMode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @getLockingMode(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = tail call i64 @sqlite3StrICmp(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = tail call i64 @sqlite3StrICmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %6, %1 br label %10 10: ; preds = %6, %3, %9 %11 = phi ptr [ @PAGER_LOCKINGMODE_QUERY, %9 ], [ @PAGER_LOCKINGMODE_EXCLUSIVE, %3 ], [ @PAGER_LOCKINGMODE_NORMAL, %6 ] %12 = load i32, ptr %11, align 4, !tbaa !6 ret i32 %12 } declare i64 @sqlite3StrICmp(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"}
mimikatz_modules_extr_sqlite3_omit.c_getLockingMode
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_doublefault.c_df_debug.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_doublefault.c_df_debug.c" target datalayout = "e-m:e-p270:32:32-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 [40 x i8] c"PANIC: double fault, error_code: 0x%lx\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Machine halted.\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @df_debug(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @pr_emerg(ptr noundef nonnull @.str, i64 noundef %1) #2 %4 = tail call i32 @show_regs(ptr noundef %0) #2 %5 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @pr_emerg(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @show_regs(ptr noundef) local_unnamed_addr #1 declare i32 @panic(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/arch/x86/kernel/extr_doublefault.c_df_debug.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_doublefault.c_df_debug.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 [40 x i8] c"PANIC: double fault, error_code: 0x%lx\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Machine halted.\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @df_debug(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @pr_emerg(ptr noundef nonnull @.str, i64 noundef %1) #2 %4 = tail call i32 @show_regs(ptr noundef %0) #2 %5 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @pr_emerg(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @show_regs(ptr noundef) local_unnamed_addr #1 declare i32 @panic(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_arch_x86_kernel_extr_doublefault.c_df_debug
; ModuleID = 'AnghaBench/linux/drivers/firewire/extr_core-cdev.c_fw_device_op_poll.c' source_filename = "AnghaBench/linux/drivers/firewire/extr_core-cdev.c_fw_device_op_poll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.client = type { i32, i32, i32 } @EPOLLHUP = dso_local local_unnamed_addr global i32 0, align 4 @EPOLLERR = dso_local local_unnamed_addr global i32 0, align 4 @EPOLLIN = dso_local local_unnamed_addr global i32 0, align 4 @EPOLLRDNORM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fw_device_op_poll], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fw_device_op_poll(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.client, ptr %3, i64 0, i32 2 %5 = tail call i32 @poll_wait(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %1) #2 %6 = getelementptr inbounds %struct.client, ptr %3, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call i64 @fw_device_is_shutdown(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @EPOLLHUP, align 4 %11 = load i32, ptr @EPOLLERR, align 4 %12 = or i32 %11, %10 %13 = select i1 %9, i32 0, i32 %12 %14 = tail call i32 @list_empty(ptr noundef %3) #2 %15 = icmp eq i32 %14, 0 %16 = load i32, ptr @EPOLLIN, align 4 %17 = load i32, ptr @EPOLLRDNORM, align 4 %18 = or i32 %17, %16 %19 = select i1 %15, i32 %18, i32 0 %20 = or i32 %19, %13 ret i32 %20 } declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @fw_device_is_shutdown(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"file", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"client", !12, i64 0, !12, i64 4, !12, i64 8} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/firewire/extr_core-cdev.c_fw_device_op_poll.c' source_filename = "AnghaBench/linux/drivers/firewire/extr_core-cdev.c_fw_device_op_poll.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EPOLLHUP = common local_unnamed_addr global i32 0, align 4 @EPOLLERR = common local_unnamed_addr global i32 0, align 4 @EPOLLIN = common local_unnamed_addr global i32 0, align 4 @EPOLLRDNORM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fw_device_op_poll], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fw_device_op_poll(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = tail call i32 @poll_wait(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %1) #2 %6 = getelementptr inbounds i8, ptr %3, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i64 @fw_device_is_shutdown(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @EPOLLHUP, align 4 %11 = load i32, ptr @EPOLLERR, align 4 %12 = or i32 %11, %10 %13 = select i1 %9, i32 0, i32 %12 %14 = tail call i32 @list_empty(ptr noundef %3) #2 %15 = icmp eq i32 %14, 0 %16 = load i32, ptr @EPOLLIN, align 4 %17 = load i32, ptr @EPOLLRDNORM, align 4 %18 = or i32 %17, %16 %19 = select i1 %15, i32 %18, i32 0 %20 = or i32 %19, %13 ret i32 %20 } declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @fw_device_is_shutdown(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"file", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"client", !13, i64 0, !13, i64 4, !13, i64 8} !13 = !{!"int", !9, i64 0}
linux_drivers_firewire_extr_core-cdev.c_fw_device_op_poll
; ModuleID = 'AnghaBench/radare2/shlr/grub/fs/extr_fshelp.c_iterate.c' source_filename = "AnghaBench/radare2/shlr/grub/fs/extr_fshelp.c_iterate.c" target datalayout = "e-m:e-p270:32:32-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.find_file_closure = type { ptr, ptr, ptr, i32 } @GRUB_FSHELP_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4 @GRUB_FSHELP_CASE_INSENSITIVE = dso_local local_unnamed_addr global i32 0, align 4 @GRUB_LONG_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @iterate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @iterate(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load i32, ptr @GRUB_FSHELP_UNKNOWN, align 4, !tbaa !5 %6 = icmp eq i32 %5, %1 br i1 %6, label %21, label %7 7: ; preds = %4 %8 = getelementptr inbounds %struct.find_file_closure, ptr %3, i64 0, i32 3 %9 = load i32, ptr %8, align 8, !tbaa !9 %10 = tail call i64 @grub_strcmp(i32 noundef %9, ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %23, label %12 12: ; preds = %7 %13 = load i32, ptr @GRUB_FSHELP_CASE_INSENSITIVE, align 4, !tbaa !5 %14 = and i32 %13, %1 %15 = icmp eq i32 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %12 %17 = load i32, ptr %8, align 8, !tbaa !9 %18 = load i32, ptr @GRUB_LONG_MAX, align 4, !tbaa !5 %19 = tail call i64 @grub_strncasecmp(i32 noundef %17, ptr noundef %0, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16, %12, %4 %22 = tail call i32 @grub_free(i32 noundef %2) #2 br label %33 23: ; preds = %16, %7 %24 = load i32, ptr @GRUB_FSHELP_CASE_INSENSITIVE, align 4, !tbaa !5 %25 = xor i32 %24, -1 %26 = and i32 %25, %1 %27 = load ptr, ptr %3, align 8, !tbaa !12 store i32 %26, ptr %27, align 4, !tbaa !5 %28 = getelementptr inbounds %struct.find_file_closure, ptr %3, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !13 %30 = load i32, ptr %29, align 4, !tbaa !5 %31 = getelementptr inbounds %struct.find_file_closure, ptr %3, i64 0, i32 2 %32 = load ptr, ptr %31, align 8, !tbaa !14 store i32 %30, ptr %32, align 4, !tbaa !5 store i32 %2, ptr %29, align 4, !tbaa !5 br label %33 33: ; preds = %23, %21 %34 = phi i32 [ 0, %21 ], [ 1, %23 ] ret i32 %34 } declare i64 @grub_strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @grub_strncasecmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @grub_free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"find_file_closure", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 16}
; ModuleID = 'AnghaBench/radare2/shlr/grub/fs/extr_fshelp.c_iterate.c' source_filename = "AnghaBench/radare2/shlr/grub/fs/extr_fshelp.c_iterate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GRUB_FSHELP_UNKNOWN = common local_unnamed_addr global i32 0, align 4 @GRUB_FSHELP_CASE_INSENSITIVE = common local_unnamed_addr global i32 0, align 4 @GRUB_LONG_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @iterate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @iterate(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load i32, ptr @GRUB_FSHELP_UNKNOWN, align 4, !tbaa !6 %6 = icmp eq i32 %5, %1 br i1 %6, label %21, label %7 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %3, i64 24 %9 = load i32, ptr %8, align 8, !tbaa !10 %10 = tail call i64 @grub_strcmp(i32 noundef %9, ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %23, label %12 12: ; preds = %7 %13 = load i32, ptr @GRUB_FSHELP_CASE_INSENSITIVE, align 4, !tbaa !6 %14 = and i32 %13, %1 %15 = icmp eq i32 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %12 %17 = load i32, ptr %8, align 8, !tbaa !10 %18 = load i32, ptr @GRUB_LONG_MAX, align 4, !tbaa !6 %19 = tail call i64 @grub_strncasecmp(i32 noundef %17, ptr noundef %0, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16, %12, %4 %22 = tail call i32 @grub_free(i32 noundef %2) #2 br label %33 23: ; preds = %16, %7 %24 = load i32, ptr @GRUB_FSHELP_CASE_INSENSITIVE, align 4, !tbaa !6 %25 = xor i32 %24, -1 %26 = and i32 %25, %1 %27 = load ptr, ptr %3, align 8, !tbaa !13 store i32 %26, ptr %27, align 4, !tbaa !6 %28 = getelementptr inbounds i8, ptr %3, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !14 %30 = load i32, ptr %29, align 4, !tbaa !6 %31 = getelementptr inbounds i8, ptr %3, i64 16 %32 = load ptr, ptr %31, align 8, !tbaa !15 store i32 %30, ptr %32, align 4, !tbaa !6 store i32 %2, ptr %29, align 4, !tbaa !6 br label %33 33: ; preds = %23, %21 %34 = phi i32 [ 0, %21 ], [ 1, %23 ] ret i32 %34 } declare i64 @grub_strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @grub_strncasecmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @grub_free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"find_file_closure", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 16}
radare2_shlr_grub_fs_extr_fshelp.c_iterate
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_tc6393xb.c_tc6393xb_fb_enable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_tc6393xb.c_tc6393xb_fb_enable.c" target datalayout = "e-m:e-p270:32:32-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.tc6393xb = type { i32, i64 } @SCR_CCR = dso_local local_unnamed_addr global i64 0, align 8 @SCR_CCR_MCLK_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SCR_CCR_MCLK_48 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tc6393xb_fb_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @tc6393xb_fb_enable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call ptr @dev_get_drvdata(i32 noundef %2) #2 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds %struct.tc6393xb, ptr %3, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = load i64, ptr @SCR_CCR, align 8, !tbaa !14 %8 = add nsw i64 %7, %6 %9 = tail call i32 @tmio_ioread16(i64 noundef %8) #2 %10 = load i32, ptr @SCR_CCR_MCLK_MASK, align 4, !tbaa !15 %11 = xor i32 %10, -1 %12 = and i32 %9, %11 %13 = load i32, ptr @SCR_CCR_MCLK_48, align 4, !tbaa !15 %14 = or i32 %12, %13 %15 = load i64, ptr %5, align 8, !tbaa !11 %16 = load i64, ptr @SCR_CCR, align 8, !tbaa !14 %17 = add nsw i64 %16, %15 %18 = tail call i32 @tmio_iowrite16(i32 noundef %14, i64 noundef %17) #2 %19 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret i32 0 } declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @tmio_ioread16(i64 noundef) local_unnamed_addr #1 declare i32 @tmio_iowrite16(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_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, !8, i64 0} !6 = !{!"platform_device", !7, 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 8} !12 = !{!"tc6393xb", !8, i64 0, !13, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mfd/extr_tc6393xb.c_tc6393xb_fb_enable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mfd/extr_tc6393xb.c_tc6393xb_fb_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCR_CCR = common local_unnamed_addr global i64 0, align 8 @SCR_CCR_MCLK_MASK = common local_unnamed_addr global i32 0, align 4 @SCR_CCR_MCLK_48 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tc6393xb_fb_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @tc6393xb_fb_enable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call ptr @dev_get_drvdata(i32 noundef %2) #2 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = load i64, ptr @SCR_CCR, align 8, !tbaa !15 %8 = add nsw i64 %7, %6 %9 = tail call i32 @tmio_ioread16(i64 noundef %8) #2 %10 = load i32, ptr @SCR_CCR_MCLK_MASK, align 4, !tbaa !16 %11 = xor i32 %10, -1 %12 = and i32 %9, %11 %13 = load i32, ptr @SCR_CCR_MCLK_48, align 4, !tbaa !16 %14 = or i32 %12, %13 %15 = load i64, ptr %5, align 8, !tbaa !12 %16 = load i64, ptr @SCR_CCR, align 8, !tbaa !15 %17 = add nsw i64 %16, %15 %18 = tail call i32 @tmio_iowrite16(i32 noundef %14, i64 noundef %17) #2 %19 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret i32 0 } declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @tmio_ioread16(i64 noundef) local_unnamed_addr #1 declare i32 @tmio_iowrite16(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_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, !9, i64 0} !7 = !{!"platform_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 8} !13 = !{!"tc6393xb", !9, i64 0, !14, i64 8} !14 = !{!"long", !10, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_mfd_extr_tc6393xb.c_tc6393xb_fb_enable
; ModuleID = 'AnghaBench/vlc/modules/demux/extr_wav.c_FrameInfo_PCM.c' source_filename = "AnghaBench/vlc/modules/demux/extr_wav.c_FrameInfo_PCM.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32 } @WAV_CHAN_MAX = dso_local local_unnamed_addr global i32 0, align 4 @VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4 @VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @FrameInfo_PCM], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @FrameInfo_PCM(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 352800 br i1 %5, label %35, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = icmp sgt i32 %8, 64 br i1 %9, label %35, label %10 10: ; preds = %6 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = load i32, ptr @WAV_CHAN_MAX, align 4, !tbaa !13 %14 = icmp sgt i32 %12, %13 br i1 %14, label %35, label %15 15: ; preds = %10 %16 = sdiv i32 %4, 20 %17 = tail call i32 @__MAX(i32 noundef %16, i32 noundef 1) #2 store i32 %17, ptr %1, align 4, !tbaa !13 %18 = load i32, ptr %11, align 4, !tbaa !12 %19 = mul nsw i32 %18, %17 %20 = load i32, ptr %7, align 4, !tbaa !11 %21 = add nsw i32 %20, 7 %22 = sdiv i32 %21, 8 %23 = mul nsw i32 %19, %22 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 3 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %15 %28 = srem i32 %23, %25 %29 = icmp sgt i32 %28, 0 %30 = sub nsw i32 %25, %28 %31 = select i1 %29, i32 %30, i32 0 %32 = add nsw i32 %31, %23 br label %33 33: ; preds = %27, %15 %34 = phi i32 [ %32, %27 ], [ %23, %15 ] store i32 %34, ptr %0, align 4, !tbaa !13 br label %35 35: ; preds = %3, %6, %10, %33 %36 = phi ptr [ @VLC_SUCCESS, %33 ], [ @VLC_EGENERIC, %10 ], [ @VLC_EGENERIC, %6 ], [ @VLC_EGENERIC, %3 ] %37 = load i32, ptr %36, align 4, !tbaa !13 ret i32 %37 } declare i32 @__MAX(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !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 = !{!6, !8, i64 4} !12 = !{!6, !8, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!6, !8, i64 12}
; ModuleID = 'AnghaBench/vlc/modules/demux/extr_wav.c_FrameInfo_PCM.c' source_filename = "AnghaBench/vlc/modules/demux/extr_wav.c_FrameInfo_PCM.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WAV_CHAN_MAX = common local_unnamed_addr global i32 0, align 4 @VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4 @VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @FrameInfo_PCM], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @FrameInfo_PCM(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 352800 br i1 %5, label %35, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %2, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = icmp sgt i32 %8, 64 br i1 %9, label %35, label %10 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %2, i64 8 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = load i32, ptr @WAV_CHAN_MAX, align 4, !tbaa !14 %14 = icmp sgt i32 %12, %13 br i1 %14, label %35, label %15 15: ; preds = %10 %16 = sdiv i32 %4, 20 %17 = tail call i32 @__MAX(i32 noundef %16, i32 noundef 1) #2 store i32 %17, ptr %1, align 4, !tbaa !14 %18 = load i32, ptr %11, align 4, !tbaa !13 %19 = mul nsw i32 %18, %17 %20 = load i32, ptr %7, align 4, !tbaa !12 %21 = add nsw i32 %20, 7 %22 = sdiv i32 %21, 8 %23 = mul nsw i32 %19, %22 %24 = getelementptr inbounds i8, ptr %2, i64 12 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %15 %28 = srem i32 %23, %25 %29 = icmp sgt i32 %28, 0 %30 = sub nsw i32 %25, %28 %31 = select i1 %29, i32 %30, i32 0 %32 = add nsw i32 %31, %23 br label %33 33: ; preds = %27, %15 %34 = phi i32 [ %32, %27 ], [ %23, %15 ] store i32 %34, ptr %0, align 4, !tbaa !14 br label %35 35: ; preds = %3, %6, %10, %33 %36 = phi ptr [ @VLC_SUCCESS, %33 ], [ @VLC_EGENERIC, %10 ], [ @VLC_EGENERIC, %6 ], [ @VLC_EGENERIC, %3 ] %37 = load i32, ptr %36, align 4, !tbaa !14 ret i32 %37 } declare i32 @__MAX(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 4} !13 = !{!7, !9, i64 8} !14 = !{!9, !9, i64 0} !15 = !{!7, !9, i64 12}
vlc_modules_demux_extr_wav.c_FrameInfo_PCM