llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmplxisg69a.c'
source_filename = "/tmp/tmplxisg69a.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"
@.str = private unnamed_addr constant [25 x i8] c"fasync_handler entering\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fasync_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplxisg69a.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"
@.str = private unnamed_addr constant [25 x i8] c"fasync_handler entering\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fasync_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu0pu6f1q.c'
source_filename = "/tmp/tmpu0pu6f1q.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu0pu6f1q.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp763sgh89.c'
source_filename = "/tmp/tmp763sgh89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.group = type { i32 }
@PATH_MAX = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @os_MakeDirPath2(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store i32 -1, ptr %9, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store ptr null, ptr %15, align 8
store ptr null, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %63
19: ; preds = %3
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr @PATH_MAX, align 4
%24 = icmp sge i32 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = load i32, ptr @EINVAL, align 4
%27 = sub nsw i32 0, %26
store i32 %27, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
28: ; preds = %19
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
%31 = call i64 @alloca(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %15, align 8
%33 = load ptr, ptr %15, align 8
%34 = load ptr, ptr %6, align 8
%35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34)
br label %36
36: ; preds = %50, %28
%37 = load i32, ptr %10, align 4
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load ptr, ptr %15, align 8
%41 = load i32, ptr %10, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = call i64 @isspace(i8 noundef zeroext %45)
%47 = icmp ne i64 %46, 0
br label %48
48: ; preds = %39, %36
%49 = phi i1 [ false, %36 ], [ %47, %39 ]
br i1 %49, label %50, label %53
50: ; preds = %48
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %10, align 4
br label %36, !llvm.loop !6
53: ; preds = %48
%54 = load ptr, ptr %15, align 8
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %15, align 8
store ptr %58, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %53
store ptr null, ptr %6, align 8
br label %62
62: ; preds = %61, %53
br label %63
63: ; preds = %62, %3
%64 = load ptr, ptr %6, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %88
66: ; preds = %63
store i32 0, ptr @errno, align 4
%67 = load ptr, ptr %6, align 8
%68 = call i32 @strtol(ptr noundef %67, ptr noundef %8, i32 noundef 8)
store i32 %68, ptr %9, align 4
%69 = load i32, ptr @errno, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %82, label %71
71: ; preds = %66
%72 = load ptr, ptr %8, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 0
br i1 %75, label %82, label %76
76: ; preds = %71
%77 = load i32, ptr %9, align 4
%78 = icmp sle i32 %77, 0
br i1 %78, label %82, label %79
79: ; preds = %76
%80 = load i32, ptr %9, align 4
%81 = icmp sgt i32 %80, 4095
br i1 %81, label %82, label %85
82: ; preds = %79, %76, %71, %66
%83 = load i32, ptr @EINVAL, align 4
%84 = sub nsw i32 0, %83
store i32 %84, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
85: ; preds = %79
%86 = load i32, ptr %9, align 4
%87 = or i32 %86, 448
store i32 %87, ptr %9, align 4
br label %88
88: ; preds = %85, %63
%89 = load ptr, ptr %7, align 8
%90 = icmp ne ptr %89, null
br i1 %90, label %91, label %135
91: ; preds = %88
%92 = load ptr, ptr %7, align 8
%93 = call i32 @strlen(ptr noundef %92)
store i32 %93, ptr %10, align 4
%94 = load i32, ptr %10, align 4
%95 = load i32, ptr @PATH_MAX, align 4
%96 = icmp sge i32 %94, %95
br i1 %96, label %97, label %100
97: ; preds = %91
%98 = load i32, ptr @EINVAL, align 4
%99 = sub nsw i32 0, %98
store i32 %99, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
100: ; preds = %91
%101 = load i32, ptr %10, align 4
%102 = add nsw i32 %101, 1
%103 = call i64 @alloca(i32 noundef %102)
%104 = inttoptr i64 %103 to ptr
store ptr %104, ptr %15, align 8
%105 = load ptr, ptr %15, align 8
%106 = load ptr, ptr %7, align 8
%107 = call i32 @strcpy(ptr noundef %105, ptr noundef %106)
br label %108
108: ; preds = %122, %100
%109 = load i32, ptr %10, align 4
%110 = icmp sgt i32 %109, 0
br i1 %110, label %111, label %120
111: ; preds = %108
%112 = load ptr, ptr %15, align 8
%113 = load i32, ptr %10, align 4
%114 = sub nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %112, i64 %115
%117 = load i8, ptr %116, align 1
%118 = call i64 @isspace(i8 noundef zeroext %117)
%119 = icmp ne i64 %118, 0
br label %120
120: ; preds = %111, %108
%121 = phi i1 [ false, %108 ], [ %119, %111 ]
br i1 %121, label %122, label %125
122: ; preds = %120
%123 = load i32, ptr %10, align 4
%124 = add nsw i32 %123, -1
store i32 %124, ptr %10, align 4
br label %108, !llvm.loop !8
125: ; preds = %120
%126 = load ptr, ptr %15, align 8
%127 = load i32, ptr %10, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, ptr %126, i64 %128
store i8 0, ptr %129, align 1
%130 = load ptr, ptr %15, align 8
store ptr %130, ptr %7, align 8
%131 = load i32, ptr %10, align 4
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %134
133: ; preds = %125
store ptr null, ptr %7, align 8
br label %134
134: ; preds = %133, %125
br label %135
135: ; preds = %134, %88
%136 = load ptr, ptr %7, align 8
%137 = icmp ne ptr %136, null
br i1 %137, label %138, label %153
138: ; preds = %135
store i32 0, ptr @errno, align 4
%139 = load ptr, ptr %7, align 8
%140 = call ptr @getgrnam(ptr noundef %139)
store ptr %140, ptr %16, align 8
%141 = load ptr, ptr %16, align 8
%142 = icmp eq ptr %141, null
br i1 %142, label %146, label %143
143: ; preds = %138
%144 = load i32, ptr @errno, align 4
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %148
146: ; preds = %143, %138
%147 = load i32, ptr @EINVAL, align 4
store i32 %147, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
148: ; preds = %143
%149 = load ptr, ptr %16, align 8
%150 = getelementptr inbounds %struct.group, ptr %149, i32 0, i32 0
%151 = load i32, ptr %150, align 4
store i32 %151, ptr %12, align 4
%152 = call i32 (...) @getuid()
store i32 %152, ptr %11, align 4
br label %153
153: ; preds = %148, %135
%154 = call i32 @umask(i32 noundef 0)
store i32 %154, ptr %13, align 4
%155 = load i32, ptr %9, align 4
%156 = icmp sle i32 %155, 0
br i1 %156, label %157, label %161
157: ; preds = %153
%158 = load i32, ptr %13, align 4
%159 = xor i32 %158, -1
%160 = and i32 511, %159
store i32 %160, ptr %9, align 4
br label %161
161: ; preds = %157, %153
store i32 0, ptr @errno, align 4
%162 = load ptr, ptr %5, align 8
%163 = load i32, ptr %9, align 4
%164 = load i32, ptr %9, align 4
%165 = load i32, ptr %11, align 4
%166 = load i32, ptr %12, align 4
%167 = call i32 @make_path(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef 1)
store i32 %167, ptr %14, align 4
%168 = load i32, ptr %13, align 4
%169 = call i32 @umask(i32 noundef %168)
%170 = load i32, ptr %14, align 4
store i32 %170, ptr %4, align 4
br label %171
171: ; preds = %161, %146, %97, %82, %25
%172 = load i32, ptr %4, align 4
ret i32 %172
}
declare i32 @strlen(ptr noundef) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getgrnam(ptr noundef) #1
declare i32 @getuid(...) #1
declare i32 @umask(i32 noundef) #1
declare i32 @make_path(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp763sgh89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.group = type { i32 }
@PATH_MAX = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @os_MakeDirPath2(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store i32 -1, ptr %9, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store ptr null, ptr %15, align 8
store ptr null, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %63
19: ; preds = %3
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr @PATH_MAX, align 4
%24 = icmp sge i32 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = load i32, ptr @EINVAL, align 4
%27 = sub nsw i32 0, %26
store i32 %27, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
28: ; preds = %19
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
%31 = call i64 @alloca(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %15, align 8
%33 = load ptr, ptr %15, align 8
%34 = load ptr, ptr %6, align 8
%35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34)
br label %36
36: ; preds = %50, %28
%37 = load i32, ptr %10, align 4
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load ptr, ptr %15, align 8
%41 = load i32, ptr %10, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = call i64 @isspace(i8 noundef zeroext %45)
%47 = icmp ne i64 %46, 0
br label %48
48: ; preds = %39, %36
%49 = phi i1 [ false, %36 ], [ %47, %39 ]
br i1 %49, label %50, label %53
50: ; preds = %48
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %10, align 4
br label %36, !llvm.loop !6
53: ; preds = %48
%54 = load ptr, ptr %15, align 8
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %15, align 8
store ptr %58, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %53
store ptr null, ptr %6, align 8
br label %62
62: ; preds = %61, %53
br label %63
63: ; preds = %62, %3
%64 = load ptr, ptr %6, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %88
66: ; preds = %63
store i32 0, ptr @errno, align 4
%67 = load ptr, ptr %6, align 8
%68 = call i32 @strtol(ptr noundef %67, ptr noundef %8, i32 noundef 8)
store i32 %68, ptr %9, align 4
%69 = load i32, ptr @errno, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %82, label %71
71: ; preds = %66
%72 = load ptr, ptr %8, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 0
br i1 %75, label %82, label %76
76: ; preds = %71
%77 = load i32, ptr %9, align 4
%78 = icmp sle i32 %77, 0
br i1 %78, label %82, label %79
79: ; preds = %76
%80 = load i32, ptr %9, align 4
%81 = icmp sgt i32 %80, 4095
br i1 %81, label %82, label %85
82: ; preds = %79, %76, %71, %66
%83 = load i32, ptr @EINVAL, align 4
%84 = sub nsw i32 0, %83
store i32 %84, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
85: ; preds = %79
%86 = load i32, ptr %9, align 4
%87 = or i32 %86, 448
store i32 %87, ptr %9, align 4
br label %88
88: ; preds = %85, %63
%89 = load ptr, ptr %7, align 8
%90 = icmp ne ptr %89, null
br i1 %90, label %91, label %135
91: ; preds = %88
%92 = load ptr, ptr %7, align 8
%93 = call i32 @strlen(ptr noundef %92)
store i32 %93, ptr %10, align 4
%94 = load i32, ptr %10, align 4
%95 = load i32, ptr @PATH_MAX, align 4
%96 = icmp sge i32 %94, %95
br i1 %96, label %97, label %100
97: ; preds = %91
%98 = load i32, ptr @EINVAL, align 4
%99 = sub nsw i32 0, %98
store i32 %99, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
100: ; preds = %91
%101 = load i32, ptr %10, align 4
%102 = add nsw i32 %101, 1
%103 = call i64 @alloca(i32 noundef %102)
%104 = inttoptr i64 %103 to ptr
store ptr %104, ptr %15, align 8
%105 = load ptr, ptr %15, align 8
%106 = load ptr, ptr %7, align 8
%107 = call i32 @strcpy(ptr noundef %105, ptr noundef %106)
br label %108
108: ; preds = %122, %100
%109 = load i32, ptr %10, align 4
%110 = icmp sgt i32 %109, 0
br i1 %110, label %111, label %120
111: ; preds = %108
%112 = load ptr, ptr %15, align 8
%113 = load i32, ptr %10, align 4
%114 = sub nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %112, i64 %115
%117 = load i8, ptr %116, align 1
%118 = call i64 @isspace(i8 noundef zeroext %117)
%119 = icmp ne i64 %118, 0
br label %120
120: ; preds = %111, %108
%121 = phi i1 [ false, %108 ], [ %119, %111 ]
br i1 %121, label %122, label %125
122: ; preds = %120
%123 = load i32, ptr %10, align 4
%124 = add nsw i32 %123, -1
store i32 %124, ptr %10, align 4
br label %108, !llvm.loop !8
125: ; preds = %120
%126 = load ptr, ptr %15, align 8
%127 = load i32, ptr %10, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, ptr %126, i64 %128
store i8 0, ptr %129, align 1
%130 = load ptr, ptr %15, align 8
store ptr %130, ptr %7, align 8
%131 = load i32, ptr %10, align 4
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %134
133: ; preds = %125
store ptr null, ptr %7, align 8
br label %134
134: ; preds = %133, %125
br label %135
135: ; preds = %134, %88
%136 = load ptr, ptr %7, align 8
%137 = icmp ne ptr %136, null
br i1 %137, label %138, label %153
138: ; preds = %135
store i32 0, ptr @errno, align 4
%139 = load ptr, ptr %7, align 8
%140 = call ptr @getgrnam(ptr noundef %139)
store ptr %140, ptr %16, align 8
%141 = load ptr, ptr %16, align 8
%142 = icmp eq ptr %141, null
br i1 %142, label %146, label %143
143: ; preds = %138
%144 = load i32, ptr @errno, align 4
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %148
146: ; preds = %143, %138
%147 = load i32, ptr @EINVAL, align 4
store i32 %147, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %171
148: ; preds = %143
%149 = load ptr, ptr %16, align 8
%150 = getelementptr inbounds %struct.group, ptr %149, i32 0, i32 0
%151 = load i32, ptr %150, align 4
store i32 %151, ptr %12, align 4
%152 = call i32 (...) @getuid()
store i32 %152, ptr %11, align 4
br label %153
153: ; preds = %148, %135
%154 = call i32 @umask(i32 noundef 0)
store i32 %154, ptr %13, align 4
%155 = load i32, ptr %9, align 4
%156 = icmp sle i32 %155, 0
br i1 %156, label %157, label %161
157: ; preds = %153
%158 = load i32, ptr %13, align 4
%159 = xor i32 %158, -1
%160 = and i32 511, %159
store i32 %160, ptr %9, align 4
br label %161
161: ; preds = %157, %153
store i32 0, ptr @errno, align 4
%162 = load ptr, ptr %5, align 8
%163 = load i32, ptr %9, align 4
%164 = load i32, ptr %9, align 4
%165 = load i32, ptr %11, align 4
%166 = load i32, ptr %12, align 4
%167 = call i32 @make_path(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef 1)
store i32 %167, ptr %14, align 4
%168 = load i32, ptr %13, align 4
%169 = call i32 @umask(i32 noundef %168)
%170 = load i32, ptr %14, align 4
store i32 %170, ptr %4, align 4
br label %171
171: ; preds = %161, %146, %97, %82, %25
%172 = load i32, ptr %4, align 4
ret i32 %172
}
declare i32 @strlen(ptr noundef) #1
declare i64 @alloca(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getgrnam(ptr noundef) #1
declare i32 @getuid(...) #1
declare i32 @umask(i32 noundef) #1
declare i32 @make_path(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpaj7rtn73.c'
source_filename = "/tmp/tmpaj7rtn73.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaj7rtn73.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmo__e58m.c'
source_filename = "/tmp/tmpmo__e58m.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"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RecordWavFile(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%20 = load ptr, ptr %11, align 8
%21 = load i32, ptr @O_RDONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %18, align 4
%23 = load i32, ptr %18, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %8
store i32 -1, ptr %9, align 4
br label %39
26: ; preds = %8
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %18, align 4
%29 = load i32, ptr %12, align 4
%30 = load ptr, ptr %13, align 8
%31 = load ptr, ptr %14, align 8
%32 = load i32, ptr %15, align 4
%33 = load i32, ptr %16, align 4
%34 = load i32, ptr %17, align 4
%35 = call i32 @RecordWavDesc(ptr noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
store i32 %35, ptr %19, align 4
%36 = load i32, ptr %18, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = load i32, ptr %19, align 4
store i32 %38, ptr %9, align 4
br label %39
39: ; preds = %26, %25
%40 = load i32, ptr %9, align 4
ret i32 %40
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @RecordWavDesc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmo__e58m.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"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RecordWavFile(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%20 = load ptr, ptr %11, align 8
%21 = load i32, ptr @O_RDONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %18, align 4
%23 = load i32, ptr %18, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %8
store i32 -1, ptr %9, align 4
br label %39
26: ; preds = %8
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %18, align 4
%29 = load i32, ptr %12, align 4
%30 = load ptr, ptr %13, align 8
%31 = load ptr, ptr %14, align 8
%32 = load i32, ptr %15, align 4
%33 = load i32, ptr %16, align 4
%34 = load i32, ptr %17, align 4
%35 = call i32 @RecordWavDesc(ptr noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
store i32 %35, ptr %19, align 4
%36 = load i32, ptr %18, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = load i32, ptr %19, align 4
store i32 %38, ptr %9, align 4
br label %39
39: ; preds = %26, %25
%40 = load i32, ptr %9, align 4
ret i32 %40
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @RecordWavDesc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx28k932h.c'
source_filename = "/tmp/tmpx28k932h.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: noinline nounwind sspstrong uwtable
define dso_local i32 @fc8180_spib_init(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
store i16 %2, ptr %6, align 2
%7 = call i32 (...) @OAL_CREATE_SEMAPHORE()
ret i32 0
}
declare i32 @OAL_CREATE_SEMAPHORE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx28k932h.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: noinline nounwind sspstrong uwtable
define dso_local i32 @fc8180_spib_init(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
store i16 %2, ptr %6, align 2
%7 = call i32 (...) @OAL_CREATE_SEMAPHORE()
ret i32 0
}
declare i32 @OAL_CREATE_SEMAPHORE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpys35ah9k.c'
source_filename = "/tmp/tmpys35ah9k.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpys35ah9k.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0lga5hvo.c'
source_filename = "/tmp/tmp0lga5hvo.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"
@SHA384.m = internal global [48 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SHA384(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %3
store ptr @SHA384.m, ptr %6, align 8
br label %11
11: ; preds = %10, %3
%12 = call i32 @SHA384_Init(ptr noundef %7)
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call i32 @SHA512_Update(ptr noundef %7, ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call i32 @SHA512_Final(ptr noundef %16, ptr noundef %7)
%18 = load ptr, ptr %6, align 8
ret ptr %18
}
declare i32 @SHA384_Init(ptr noundef) #1
declare i32 @SHA512_Update(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @SHA512_Final(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0lga5hvo.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"
@SHA384.m = internal global [48 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SHA384(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %3
store ptr @SHA384.m, ptr %6, align 8
br label %11
11: ; preds = %10, %3
%12 = call i32 @SHA384_Init(ptr noundef %7)
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call i32 @SHA512_Update(ptr noundef %7, ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call i32 @SHA512_Final(ptr noundef %16, ptr noundef %7)
%18 = load ptr, ptr %6, align 8
ret ptr %18
}
declare i32 @SHA384_Init(ptr noundef) #1
declare i32 @SHA512_Update(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @SHA512_Final(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiwa2fob4.c'
source_filename = "/tmp/tmpiwa2fob4.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"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %7, align 8
br label %13
13: ; preds = %29, %0
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %30
17: ; preds = %13
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%19 = load i32, ptr %3, align 4
%20 = srem i32 %19, 2
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %29
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %12, i64 %25
store i32 %23, ptr %26, align 4
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %22, %17
br label %13, !llvm.loop !6
30: ; preds = %13
br label %31
31: ; preds = %60, %30
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = sdiv i32 %33, 2
%35 = icmp slt i32 %32, %34
br i1 %35, label %36, label %63
36: ; preds = %31
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %12, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %2, align 4
%42 = load i32, ptr %5, align 4
%43 = sub nsw i32 %41, %42
%44 = sub nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %12, i64 %45
%47 = load i32, ptr %46, align 4
%48 = sub nsw i32 %40, %47
%49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48)
%50 = load i32, ptr %2, align 4
%51 = srem i32 %50, 2
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %36
%54 = load i32, ptr %2, align 4
%55 = sdiv i32 %54, 2
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %12, i64 %56
%58 = load i32, ptr %57, align 4
%59 = call i32 @printf(ptr noundef @.str, i32 noundef %58)
br label %60
60: ; preds = %53, %36
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
br label %31, !llvm.loop !8
63: ; preds = %31
%64 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %64)
%65 = load i32, ptr %1, align 4
ret i32 %65
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwa2fob4.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"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %7, align 8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %28
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%18 = load i32, ptr %3, align 4
%19 = srem i32 %18, 2
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %12, i64 %24
store i32 %22, ptr %25, align 4
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %28
28: ; preds = %21, %16
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %32
32: ; preds = %._crit_edge, %0
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %2, align 4
%35 = sdiv i32 %34, 2
%36 = icmp slt i32 %33, %35
br i1 %36, label %.lr.ph2, label %68
.lr.ph2: ; preds = %32
br label %37
37: ; preds = %.lr.ph2, %61
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %12, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %5, align 4
%44 = sub nsw i32 %42, %43
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %12, i64 %46
%48 = load i32, ptr %47, align 4
%49 = sub nsw i32 %41, %48
%50 = call i32 @printf(ptr noundef @.str.1, i32 noundef %49)
%51 = load i32, ptr %2, align 4
%52 = srem i32 %51, 2
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %37
%55 = load i32, ptr %2, align 4
%56 = sdiv i32 %55, 2
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %12, i64 %57
%59 = load i32, ptr %58, align 4
%60 = call i32 @printf(ptr noundef @.str, i32 noundef %59)
br label %61
61: ; preds = %54, %37
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %2, align 4
%66 = sdiv i32 %65, 2
%67 = icmp slt i32 %64, %66
br i1 %67, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %68
68: ; preds = %._crit_edge3, %32
%69 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %69)
%70 = load i32, ptr %1, align 4
ret i32 %70
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpc13aq9pn.c'
source_filename = "/tmp/tmpc13aq9pn.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc13aq9pn.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbk5dlzk4.c'
source_filename = "/tmp/tmpbk5dlzk4.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"
@.str = private unnamed_addr constant [22 x i8] c"\09Conta j\C3\A1 existente\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @verifica_conta(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %20, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1000
br i1 %6, label %7, label %23
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp eq i32 %10, %15
br i1 %16, label %17, label %19
17: ; preds = %7
%18 = call i32 @printf(ptr noundef @.str)
br label %19
19: ; preds = %17, %7
br label %20
20: ; preds = %19
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %4, !llvm.loop !6
23: ; preds = %4
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbk5dlzk4.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"
@.str = private unnamed_addr constant [22 x i8] c"\09Conta j\C3\A1 existente\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @verifica_conta(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 1000
br i1 %5, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %19
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %9, %14
br i1 %15, label %16, label %18
16: ; preds = %6
%17 = call i32 @printf(ptr noundef @.str)
br label %18
18: ; preds = %16, %6
br label %19
19: ; preds = %18
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 1000
br i1 %23, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp07yaamej.c'
source_filename = "/tmp/tmp07yaamej.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"
@.str = private unnamed_addr constant [7 x i8] c",;.)}]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sqzdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %9, 1
%11 = call ptr @malloc(i64 noundef %10)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %5, align 8
br label %14
14: ; preds = %19, %1
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %14, !llvm.loop !6
22: ; preds = %14
br label %23
23: ; preds = %81, %22
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %27, label %84
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = load i8, ptr %28, align 1
%30 = call i64 @isspace(i8 noundef signext %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %76
32: ; preds = %27
%33 = load i32, ptr %6, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %75, label %35
35: ; preds = %32
store i32 1, ptr %6, align 4
%36 = load ptr, ptr %4, align 8
%37 = load ptr, ptr %2, align 8
%38 = icmp ugt ptr %36, %37
br i1 %38, label %39, label %74
39: ; preds = %35
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 -1
%42 = load i8, ptr %41, align 1
%43 = call i64 @isalnum(i8 noundef signext %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %51, label %45
45: ; preds = %39
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 -1
%48 = load i8, ptr %47, align 1
%49 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %45, %39
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %5, align 8
store i8 32, ptr %52, align 1
br label %73
54: ; preds = %45
%55 = load ptr, ptr %4, align 8
store ptr %55, ptr %7, align 8
br label %56
56: ; preds = %61, %54
%57 = load ptr, ptr %7, align 8
%58 = load i8, ptr %57, align 1
%59 = call i64 @isspace(i8 noundef signext %58)
%60 = icmp ne i64 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = load ptr, ptr %7, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %7, align 8
br label %56, !llvm.loop !8
64: ; preds = %56
%65 = load ptr, ptr %7, align 8
%66 = load i8, ptr %65, align 1
%67 = call i64 @isalnum(i8 noundef signext %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %64
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %5, align 8
store i8 32, ptr %70, align 1
br label %72
72: ; preds = %69, %64
br label %73
73: ; preds = %72, %51
br label %74
74: ; preds = %73, %35
br label %75
75: ; preds = %74, %32
br label %81
76: ; preds = %27
store i32 0, ptr %6, align 4
%77 = load ptr, ptr %4, align 8
%78 = load i8, ptr %77, align 1
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %5, align 8
store i8 %78, ptr %79, align 1
br label %81
81: ; preds = %76, %75
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %4, align 8
br label %23, !llvm.loop !9
84: ; preds = %23
%85 = load ptr, ptr %5, align 8
store i8 0, ptr %85, align 1
%86 = load ptr, ptr %5, align 8
%87 = load ptr, ptr %3, align 8
%88 = icmp ugt ptr %86, %87
br i1 %88, label %89, label %99
89: ; preds = %84
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 -1
%92 = load i8, ptr %91, align 1
%93 = call i64 @isspace(i8 noundef signext %92)
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %98
95: ; preds = %89
%96 = load ptr, ptr %5, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 -1
store i8 0, ptr %97, align 1
br label %98
98: ; preds = %95, %89
br label %99
99: ; preds = %98, %84
%100 = load ptr, ptr %3, align 8
ret ptr %100
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp07yaamej.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"
@.str = private unnamed_addr constant [7 x i8] c",;.)}]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sqzdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %9, 1
%11 = call ptr @malloc(i64 noundef %10)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = call i64 @isspace(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = call i64 @isspace(i8 noundef signext %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %25
25: ; preds = %._crit_edge, %1
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %.lr.ph5, label %92
.lr.ph5: ; preds = %25
br label %29
29: ; preds = %.lr.ph5, %86
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = call i64 @isspace(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %81
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %80, label %37
37: ; preds = %34
store i32 1, ptr %6, align 4
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %2, align 8
%40 = icmp ugt ptr %38, %39
br i1 %40, label %41, label %79
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 -1
%44 = load i8, ptr %43, align 1
%45 = call i64 @isalnum(i8 noundef signext %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %41
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 -1
%50 = load i8, ptr %49, align 1
%51 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %47, %41
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %5, align 8
store i8 32, ptr %54, align 1
br label %78
56: ; preds = %47
%57 = load ptr, ptr %4, align 8
store ptr %57, ptr %7, align 8
%58 = load ptr, ptr %7, align 8
%59 = load i8, ptr %58, align 1
%60 = call i64 @isspace(i8 noundef signext %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %.lr.ph2, label %69
.lr.ph2: ; preds = %56
br label %62
62: ; preds = %.lr.ph2, %62
%63 = load ptr, ptr %7, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %7, align 8
%65 = load ptr, ptr %7, align 8
%66 = load i8, ptr %65, align 1
%67 = call i64 @isspace(i8 noundef signext %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %69
69: ; preds = %._crit_edge3, %56
%70 = load ptr, ptr %7, align 8
%71 = load i8, ptr %70, align 1
%72 = call i64 @isalnum(i8 noundef signext %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %69
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %5, align 8
store i8 32, ptr %75, align 1
br label %77
77: ; preds = %74, %69
br label %78
78: ; preds = %77, %53
br label %79
79: ; preds = %78, %37
br label %80
80: ; preds = %79, %34
br label %86
81: ; preds = %29
store i32 0, ptr %6, align 4
%82 = load ptr, ptr %4, align 8
%83 = load i8, ptr %82, align 1
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %5, align 8
store i8 %83, ptr %84, align 1
br label %86
86: ; preds = %81, %80
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %4, align 8
%89 = load ptr, ptr %4, align 8
%90 = load i8, ptr %89, align 1
%91 = icmp ne i8 %90, 0
br i1 %91, label %29, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %86
br label %92
92: ; preds = %._crit_edge6, %25
%93 = load ptr, ptr %5, align 8
store i8 0, ptr %93, align 1
%94 = load ptr, ptr %5, align 8
%95 = load ptr, ptr %3, align 8
%96 = icmp ugt ptr %94, %95
br i1 %96, label %97, label %107
97: ; preds = %92
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 -1
%100 = load i8, ptr %99, align 1
%101 = call i64 @isspace(i8 noundef signext %100)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %106
103: ; preds = %97
%104 = load ptr, ptr %5, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 -1
store i8 0, ptr %105, align 1
br label %106
106: ; preds = %103, %97
br label %107
107: ; preds = %106, %92
%108 = load ptr, ptr %3, align 8
ret ptr %108
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpdcwmhmy5.c'
source_filename = "/tmp/tmpdcwmhmy5.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: noinline nounwind sspstrong uwtable
define dso_local ptr @rand_text() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = call i32 @time(ptr noundef null)
%6 = call i32 @srand(i32 noundef %5)
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 50
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = zext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %0
store ptr null, ptr %1, align 8
br label %43
19: ; preds = %0
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %33, %19
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp ult i32 %21, %22
br i1 %23, label %24, label %36
24: ; preds = %20
%25 = call i32 (...) @rand()
%26 = srem i32 %25, 26
%27 = add nsw i32 %26, 97
%28 = trunc i32 %27 to i8
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %24
%34 = load i32, ptr %4, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %4, align 4
br label %20, !llvm.loop !6
36: ; preds = %20
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %4, align 4
%39 = add i32 %38, 1
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %3, align 8
store ptr %42, ptr %1, align 8
br label %43
43: ; preds = %36, %18
%44 = load ptr, ptr %1, align 8
ret ptr %44
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdcwmhmy5.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: noinline nounwind sspstrong uwtable
define dso_local ptr @rand_text() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = call i32 @time(ptr noundef null)
%6 = call i32 @srand(i32 noundef %5)
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 50
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = zext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %0
store ptr null, ptr %1, align 8
br label %45
19: ; preds = %0
store i32 0, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp ult i32 %20, %21
br i1 %22, label %.lr.ph, label %38
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %32
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 26
%26 = add nsw i32 %25, 97
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 %27, ptr %31, align 1
br label %32
32: ; preds = %23
%33 = load i32, ptr %4, align 4
%34 = add i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp ult i32 %35, %36
br i1 %37, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %19
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %4, align 4
%41 = add i32 %40, 1
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
store i8 0, ptr %43, align 1
%44 = load ptr, ptr %3, align 8
store ptr %44, ptr %1, align 8
br label %45
45: ; preds = %38, %18
%46 = load ptr, ptr %1, align 8
ret ptr %46
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprbhyy75p.c'
source_filename = "/tmp/tmprbhyy75p.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"
@.str = private unnamed_addr constant [28 x i8] c"The sum of 50 and 25 is %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 75, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprbhyy75p.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"
@.str = private unnamed_addr constant [28 x i8] c"The sum of 50 and 25 is %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 75, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpde8rd1qc.c'
source_filename = "/tmp/tmpde8rd1qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"/dev\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/dev/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serial_find(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load i32, ptr @PATH_MAX, align 4
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %8, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %9, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %10, align 4
%20 = call ptr @opendir(ptr noundef @.str)
store ptr %20, ptr %12, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %3
store i32 -1, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %53
23: ; preds = %3
br label %24
24: ; preds = %49, %23
%25 = load ptr, ptr %12, align 8
%26 = call ptr @readdir(ptr noundef %25)
store ptr %26, ptr %11, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %50
28: ; preds = %24
%29 = load ptr, ptr %11, align 8
%30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %10, align 4
%34 = call i64 @strncmp(ptr noundef %31, ptr noundef %32, i32 noundef %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %49
36: ; preds = %28
%37 = load ptr, ptr %11, align 8
%38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 0
%39 = load ptr, ptr %38, align 8
%40 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %7, align 8
%43 = call i32 %41(ptr noundef %17, ptr noundef %42)
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %36
%46 = load ptr, ptr %12, align 8
%47 = call i32 @closedir(ptr noundef %46)
store i32 0, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %53
48: ; preds = %36
br label %49
49: ; preds = %48, %28
br label %24, !llvm.loop !6
50: ; preds = %24
%51 = load ptr, ptr %12, align 8
%52 = call i32 @closedir(ptr noundef %51)
store i32 -1, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %53
53: ; preds = %50, %45, %22
%54 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %54)
%55 = load i32, ptr %4, align 4
ret i32 %55
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strlen(ptr noundef) #2
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpde8rd1qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"/dev\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/dev/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serial_find(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load i32, ptr @PATH_MAX, align 4
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %8, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %9, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %10, align 4
%20 = call ptr @opendir(ptr noundef @.str)
store ptr %20, ptr %12, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %3
store i32 -1, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %55
23: ; preds = %3
%24 = load ptr, ptr %12, align 8
%25 = call ptr @readdir(ptr noundef %24)
store ptr %25, ptr %11, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %.lr.ph, label %52
.lr.ph: ; preds = %23
br label %27
27: ; preds = %.lr.ph, %48
%28 = load ptr, ptr %11, align 8
%29 = getelementptr inbounds %struct.dirent, ptr %28, i32 0, i32 0
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %10, align 4
%33 = call i64 @strncmp(ptr noundef %30, ptr noundef %31, i32 noundef %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %48
35: ; preds = %27
%36 = load ptr, ptr %11, align 8
%37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %38)
%40 = load ptr, ptr %6, align 8
%41 = load ptr, ptr %7, align 8
%42 = call i32 %40(ptr noundef %17, ptr noundef %41)
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %35
%45 = load ptr, ptr %12, align 8
%46 = call i32 @closedir(ptr noundef %45)
store i32 0, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %55
47: ; preds = %35
br label %48
48: ; preds = %47, %27
%49 = load ptr, ptr %12, align 8
%50 = call ptr @readdir(ptr noundef %49)
store ptr %50, ptr %11, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %52
52: ; preds = %._crit_edge, %23
%53 = load ptr, ptr %12, align 8
%54 = call i32 @closedir(ptr noundef %53)
store i32 -1, ptr %4, align 4
store i32 1, ptr %13, align 4
br label %55
55: ; preds = %52, %44, %22
%56 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %56)
%57 = load i32, ptr %4, align 4
ret i32 %57
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strlen(ptr noundef) #2
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2p5hfpyx.c'
source_filename = "/tmp/tmp2p5hfpyx.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: noinline nounwind sspstrong uwtable
define dso_local ptr @sh_split_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i8 0, ptr %6, align 1
%12 = load ptr, ptr %2, align 8
%13 = call ptr @strdup(ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i64 @_array_size(ptr noundef %14)
store i64 %15, ptr %3, align 8
%16 = load i64, ptr %3, align 8
%17 = add i64 %16, 1
%18 = mul i64 %17, 8
%19 = call ptr @malloc(i64 noundef %18)
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = load i64, ptr %3, align 8
%22 = getelementptr inbounds ptr, ptr %20, i64 %21
store ptr null, ptr %22, align 8
store i32 0, ptr %5, align 4
%23 = load i64, ptr %3, align 8
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i32
store i32 %25, ptr %11, align 4
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
store ptr %28, ptr %9, align 8
br label %29
29: ; preds = %112, %1
%30 = load i32, ptr %11, align 4
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
br i1 %32, label %33, label %115
33: ; preds = %29
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
switch i32 %36, label %111 [
i32 39, label %37
i32 34, label %37
i32 32, label %60
i32 9, label %60
i32 10, label %60
i32 41, label %92
i32 0, label %110
]
37: ; preds = %33, %33
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 -1
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 92
br i1 %42, label %43, label %59
43: ; preds = %37
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = load ptr, ptr %8, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = load i8, ptr %6, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %49, %51
br label %53
53: ; preds = %46, %43
%54 = phi i1 [ false, %43 ], [ %52, %46 ]
%55 = xor i1 %54, true
%56 = zext i1 %55 to i32
store i32 %56, ptr %4, align 4
%57 = load ptr, ptr %8, align 8
%58 = load i8, ptr %57, align 1
store i8 %58, ptr %6, align 1
br label %59
59: ; preds = %53, %37
br label %112
60: ; preds = %33, %33, %33
%61 = load i32, ptr %4, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %91, label %63
63: ; preds = %60
%64 = load ptr, ptr %8, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 -1
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 92
br i1 %68, label %69, label %91
69: ; preds = %63
%70 = load ptr, ptr %8, align 8
store i8 0, ptr %70, align 1
%71 = load ptr, ptr %9, align 8
%72 = call i32 @strlen(ptr noundef %71)
%73 = icmp ne i32 %72, 1
br i1 %73, label %74, label %88
74: ; preds = %69
%75 = load ptr, ptr %9, align 8
%76 = load i8, ptr %75, align 1
%77 = call i32 @isspace(i8 noundef signext %76)
%78 = icmp ne i32 %77, 0
br i1 %78, label %88, label %79
79: ; preds = %74
%80 = load ptr, ptr %9, align 8
%81 = call ptr @strdup(ptr noundef %80)
%82 = load ptr, ptr %10, align 8
%83 = load i32, ptr %5, align 4
%84 = zext i32 %83 to i64
%85 = getelementptr inbounds ptr, ptr %82, i64 %84
store ptr %81, ptr %85, align 8
%86 = load i32, ptr %5, align 4
%87 = add i32 %86, 1
store i32 %87, ptr %5, align 4
br label %88
88: ; preds = %79, %74, %69
%89 = load ptr, ptr %8, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 1
store ptr %90, ptr %9, align 8
br label %91
91: ; preds = %88, %63, %60
br label %112
92: ; preds = %33
%93 = load i32, ptr %4, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %109, label %95
95: ; preds = %92
%96 = load ptr, ptr %8, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 -1
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp ne i32 %99, 92
br i1 %100, label %101, label %109
101: ; preds = %95
%102 = load ptr, ptr %8, align 8
store i8 0, ptr %102, align 1
%103 = load ptr, ptr %9, align 8
%104 = call ptr @strdup(ptr noundef %103)
%105 = load ptr, ptr %10, align 8
%106 = load i32, ptr %5, align 4
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds ptr, ptr %105, i64 %107
store ptr %104, ptr %108, align 8
store i32 1, ptr %11, align 4
br label %109
109: ; preds = %101, %95, %92
br label %112
110: ; preds = %33
store i32 1, ptr %11, align 4
br label %112
111: ; preds = %33
br label %112
112: ; preds = %111, %110, %109, %91, %59
%113 = load ptr, ptr %8, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %8, align 8
br label %29, !llvm.loop !6
115: ; preds = %29
%116 = load ptr, ptr %7, align 8
%117 = call i32 @free(ptr noundef %116)
%118 = load ptr, ptr %10, align 8
ret ptr %118
}
declare ptr @strdup(ptr noundef) #1
declare i64 @_array_size(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2p5hfpyx.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: noinline nounwind sspstrong uwtable
define dso_local ptr @sh_split_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i8 0, ptr %6, align 1
%12 = load ptr, ptr %2, align 8
%13 = call ptr @strdup(ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i64 @_array_size(ptr noundef %14)
store i64 %15, ptr %3, align 8
%16 = load i64, ptr %3, align 8
%17 = add i64 %16, 1
%18 = mul i64 %17, 8
%19 = call ptr @malloc(i64 noundef %18)
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = load i64, ptr %3, align 8
%22 = getelementptr inbounds ptr, ptr %20, i64 %21
store ptr null, ptr %22, align 8
store i32 0, ptr %5, align 4
%23 = load i64, ptr %3, align 8
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i32
store i32 %25, ptr %11, align 4
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
store ptr %28, ptr %9, align 8
%29 = load i32, ptr %11, align 4
%30 = icmp ne i32 %29, 0
%31 = xor i1 %30, true
br i1 %31, label %.lr.ph, label %117
.lr.ph: ; preds = %1
br label %32
32: ; preds = %.lr.ph, %111
%33 = load ptr, ptr %8, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
switch i32 %35, label %110 [
i32 39, label %36
i32 34, label %36
i32 32, label %59
i32 9, label %59
i32 10, label %59
i32 41, label %91
i32 0, label %109
]
36: ; preds = %32, %32
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 -1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 92
br i1 %41, label %42, label %58
42: ; preds = %36
%43 = load i32, ptr %4, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %52
45: ; preds = %42
%46 = load ptr, ptr %8, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = load i8, ptr %6, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %48, %50
br label %52
52: ; preds = %45, %42
%53 = phi i1 [ false, %42 ], [ %51, %45 ]
%54 = xor i1 %53, true
%55 = zext i1 %54 to i32
store i32 %55, ptr %4, align 4
%56 = load ptr, ptr %8, align 8
%57 = load i8, ptr %56, align 1
store i8 %57, ptr %6, align 1
br label %58
58: ; preds = %52, %36
br label %111
59: ; preds = %32, %32, %32
%60 = load i32, ptr %4, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %90, label %62
62: ; preds = %59
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 -1
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 92
br i1 %67, label %68, label %90
68: ; preds = %62
%69 = load ptr, ptr %8, align 8
store i8 0, ptr %69, align 1
%70 = load ptr, ptr %9, align 8
%71 = call i32 @strlen(ptr noundef %70)
%72 = icmp ne i32 %71, 1
br i1 %72, label %73, label %87
73: ; preds = %68
%74 = load ptr, ptr %9, align 8
%75 = load i8, ptr %74, align 1
%76 = call i32 @isspace(i8 noundef signext %75)
%77 = icmp ne i32 %76, 0
br i1 %77, label %87, label %78
78: ; preds = %73
%79 = load ptr, ptr %9, align 8
%80 = call ptr @strdup(ptr noundef %79)
%81 = load ptr, ptr %10, align 8
%82 = load i32, ptr %5, align 4
%83 = zext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
store ptr %80, ptr %84, align 8
%85 = load i32, ptr %5, align 4
%86 = add i32 %85, 1
store i32 %86, ptr %5, align 4
br label %87
87: ; preds = %78, %73, %68
%88 = load ptr, ptr %8, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 1
store ptr %89, ptr %9, align 8
br label %90
90: ; preds = %87, %62, %59
br label %111
91: ; preds = %32
%92 = load i32, ptr %4, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %108, label %94
94: ; preds = %91
%95 = load ptr, ptr %8, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 -1
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp ne i32 %98, 92
br i1 %99, label %100, label %108
100: ; preds = %94
%101 = load ptr, ptr %8, align 8
store i8 0, ptr %101, align 1
%102 = load ptr, ptr %9, align 8
%103 = call ptr @strdup(ptr noundef %102)
%104 = load ptr, ptr %10, align 8
%105 = load i32, ptr %5, align 4
%106 = zext i32 %105 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
store ptr %103, ptr %107, align 8
store i32 1, ptr %11, align 4
br label %108
108: ; preds = %100, %94, %91
br label %111
109: ; preds = %32
store i32 1, ptr %11, align 4
br label %111
110: ; preds = %32
br label %111
111: ; preds = %110, %109, %108, %90, %58
%112 = load ptr, ptr %8, align 8
%113 = getelementptr inbounds i8, ptr %112, i32 1
store ptr %113, ptr %8, align 8
%114 = load i32, ptr %11, align 4
%115 = icmp ne i32 %114, 0
%116 = xor i1 %115, true
br i1 %116, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %111
br label %117
117: ; preds = %._crit_edge, %1
%118 = load ptr, ptr %7, align 8
%119 = call i32 @free(ptr noundef %118)
%120 = load ptr, ptr %10, align 8
ret ptr %120
}
declare ptr @strdup(ptr noundef) #1
declare i64 @_array_size(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnd66l5lv.c'
source_filename = "/tmp/tmpnd66l5lv.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"
@.str = private unnamed_addr constant [3 x i8] c"A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"B\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%3 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
%4 = load ptr, ptr %2, align 8
store i8 32, ptr %4, align 1
%5 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 2)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnd66l5lv.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"
@.str = private unnamed_addr constant [3 x i8] c"A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"B\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%3 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
%4 = load ptr, ptr %2, align 8
store i8 32, ptr %4, align 1
%5 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 2)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsw5n0ujw.c'
source_filename = "/tmp/tmpsw5n0ujw.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: noinline nounwind sspstrong uwtable
define dso_local i32 @is_in_check(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @find_king_square(ptr noundef %7, i32 noundef %8)
%10 = call i32 @is_in_check_from(ptr noundef %5, i32 noundef %6, i32 noundef %9)
ret i32 %10
}
declare i32 @is_in_check_from(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @find_king_square(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsw5n0ujw.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: noinline nounwind sspstrong uwtable
define dso_local i32 @is_in_check(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @find_king_square(ptr noundef %7, i32 noundef %8)
%10 = call i32 @is_in_check_from(ptr noundef %5, i32 noundef %6, i32 noundef %9)
ret i32 %10
}
declare i32 @is_in_check_from(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @find_king_square(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpauxxfet9.c'
source_filename = "/tmp/tmpauxxfet9.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: noinline nounwind sspstrong uwtable
define dso_local void @intptr_example(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpauxxfet9.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: noinline nounwind sspstrong uwtable
define dso_local void @intptr_example(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3005zzfa.c'
source_filename = "/tmp/tmp3005zzfa.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3005zzfa.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpju6ddv2f.c'
source_filename = "/tmp/tmpju6ddv2f.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"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [5 x i8] c"n:o:\00", align 1
@EOF = dso_local global i8 0, align 1
@optarg = external global ptr, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Unrecognized option: -%c\0A\00", align 1
@optopt = external global i32, align 4
@optind = external global i32, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr @errno, align 8
br label %11
11: ; preds = %32, %2
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call signext i8 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str)
store i8 %14, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr @EOF, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %15, %17
br i1 %18, label %19, label %33
19: ; preds = %11
%20 = load i8, ptr %6, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %28 [
i32 110, label %22
i32 111, label %25
]
22: ; preds = %19
%23 = load ptr, ptr @optarg, align 8
%24 = call i64 @atoll(ptr noundef %23)
store i64 %24, ptr %8, align 8
br label %32
25: ; preds = %19
%26 = load ptr, ptr @optarg, align 8
%27 = call i64 @atoll(ptr noundef %26)
store i64 %27, ptr %7, align 8
br label %32
28: ; preds = %19
%29 = load i32, ptr @stderr, align 4
%30 = load i32, ptr @optopt, align 4
%31 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.1, i32 noundef %30)
store i32 -1, ptr %3, align 4
br label %65
32: ; preds = %25, %22
br label %11, !llvm.loop !6
33: ; preds = %11
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr @optind, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = load i64, ptr %7, align 8
%39 = load i64, ptr %8, align 8
%40 = call i32 @list_directory(ptr noundef @.str.2, i64 noundef %38, i64 noundef %39)
store i32 %40, ptr %10, align 4
br label %63
41: ; preds = %33
%42 = load i32, ptr @optind, align 4
store i32 %42, ptr %9, align 4
br label %43
43: ; preds = %59, %41
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %62
47: ; preds = %43
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = load i64, ptr %7, align 8
%54 = load i64, ptr %8, align 8
%55 = call i32 @list_directory(ptr noundef %52, i64 noundef %53, i64 noundef %54)
store i32 %55, ptr %10, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %47
br label %62
58: ; preds = %47
br label %59
59: ; preds = %58
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
br label %43, !llvm.loop !8
62: ; preds = %57, %43
br label %63
63: ; preds = %62, %37
%64 = load i32, ptr %10, align 4
store i32 %64, ptr %3, align 4
br label %65
65: ; preds = %63, %28
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @atoll(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @list_directory(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpju6ddv2f.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"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [5 x i8] c"n:o:\00", align 1
@EOF = dso_local global i8 0, align 1
@optarg = external global ptr, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Unrecognized option: -%c\0A\00", align 1
@optopt = external global i32, align 4
@optind = external global i32, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr @errno, align 8
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call signext i8 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str)
store i8 %13, ptr %6, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr @EOF, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %14, %16
br i1 %17, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %31
%19 = load i8, ptr %6, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %27 [
i32 110, label %21
i32 111, label %24
]
21: ; preds = %18
%22 = load ptr, ptr @optarg, align 8
%23 = call i64 @atoll(ptr noundef %22)
store i64 %23, ptr %8, align 8
br label %31
24: ; preds = %18
%25 = load ptr, ptr @optarg, align 8
%26 = call i64 @atoll(ptr noundef %25)
store i64 %26, ptr %7, align 8
br label %31
27: ; preds = %18
%28 = load i32, ptr @stderr, align 4
%29 = load i32, ptr @optopt, align 4
%30 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.1, i32 noundef %29)
store i32 -1, ptr %3, align 4
br label %73
31: ; preds = %24, %21
%32 = load i32, ptr %4, align 4
%33 = load ptr, ptr %5, align 8
%34 = call signext i8 @getopt(i32 noundef %32, ptr noundef %33, ptr noundef @.str)
store i8 %34, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = load i8, ptr @EOF, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %35, %37
br i1 %38, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %39
39: ; preds = %._crit_edge, %2
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr @optind, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i64, ptr %7, align 8
%45 = load i64, ptr %8, align 8
%46 = call i32 @list_directory(ptr noundef @.str.2, i64 noundef %44, i64 noundef %45)
store i32 %46, ptr %10, align 4
br label %71
47: ; preds = %39
%48 = load i32, ptr @optind, align 4
store i32 %48, ptr %9, align 4
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %47
br label %52
52: ; preds = %.lr.ph2, %64
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i64, ptr %7, align 8
%59 = load i64, ptr %8, align 8
%60 = call i32 @list_directory(ptr noundef %57, i64 noundef %58, i64 noundef %59)
store i32 %60, ptr %10, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %52
br label %70
63: ; preds = %52
br label %64
64: ; preds = %63
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %9, align 4
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %52, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %64
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %47
br label %70
70: ; preds = %.loopexit, %62
br label %71
71: ; preds = %70, %43
%72 = load i32, ptr %10, align 4
store i32 %72, ptr %3, align 4
br label %73
73: ; preds = %71, %27
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @atoll(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @list_directory(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3tpxl2qo.c'
source_filename = "/tmp/tmp3tpxl2qo.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: noinline nounwind sspstrong uwtable
define dso_local void @random_buffer(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @create_havege_random(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @create_havege_random(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3tpxl2qo.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: noinline nounwind sspstrong uwtable
define dso_local void @random_buffer(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @create_havege_random(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @create_havege_random(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ixsoykx.c'
source_filename = "/tmp/tmp3ixsoykx.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"
@INFINITY = dso_local global double 0.000000e+00, align 8
@NAN = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ixsoykx.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"
@INFINITY = dso_local global double 0.000000e+00, align 8
@NAN = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkz2sqz24.c'
source_filename = "/tmp/tmpkz2sqz24.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: noinline nounwind sspstrong uwtable
define dso_local void @write0(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @printf(ptr noundef %8)
br label %10
10: ; preds = %7, %2
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkz2sqz24.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: noinline nounwind sspstrong uwtable
define dso_local void @write0(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @printf(ptr noundef %8)
br label %10
10: ; preds = %7, %2
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcjqprt22.c'
source_filename = "/tmp/tmpcjqprt22.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"
@.str = private unnamed_addr constant [3 x i8] c"#d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isRadix10(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %20
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i64 @strncmp(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = load i32, ptr %5, align 4
store i32 %18, ptr %2, align 4
br label %20
19: ; preds = %11
store i32 0, ptr %2, align 4
br label %20
20: ; preds = %19, %17, %10
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcjqprt22.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"
@.str = private unnamed_addr constant [3 x i8] c"#d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isRadix10(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %20
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i64 @strncmp(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = load i32, ptr %5, align 4
store i32 %18, ptr %2, align 4
br label %20
19: ; preds = %11
store i32 0, ptr %2, align 4
br label %20
20: ; preds = %19, %17, %10
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4wyo0ojt.c'
source_filename = "/tmp/tmp4wyo0ojt.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"
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %24, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %27
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 1
%20 = icmp slt i32 %17, %19
br i1 %20, label %21, label %23
21: ; preds = %10
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
23: ; preds = %21, %10
br label %24
24: ; preds = %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %6, !llvm.loop !6
27: ; preds = %6
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4wyo0ojt.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"
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %23
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = icmp slt i32 %16, %18
br i1 %19, label %20, label %22
20: ; preds = %9
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %9
br label %23
23: ; preds = %22
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd6ezt8jv.c'
source_filename = "/tmp/tmpd6ezt8jv.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"
@.str = private unnamed_addr constant [45 x i8] c"dcsc_matvecs not working in m_sparsetools.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dcsc_matvecs(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%20 = call i32 @printf(ptr noundef @.str)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd6ezt8jv.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"
@.str = private unnamed_addr constant [45 x i8] c"dcsc_matvecs not working in m_sparsetools.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dcsc_matvecs(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%20 = call i32 @printf(ptr noundef @.str)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeafu8mwa.c'
source_filename = "/tmp/tmpeafu8mwa.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"
@.str = private unnamed_addr constant [12 x i8] c"%s_%04d.g22\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"max litho %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @maxLitho(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [250 x i8], align 16
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
store i32 0, ptr %11, align 4
store i32 1, ptr %7, align 4
br label %12
12: ; preds = %36, %3
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
%16 = icmp slt i32 %13, %15
br i1 %16, label %17, label %39
17: ; preds = %12
%18 = getelementptr inbounds [250 x i8], ptr %9, i64 0, i64 0
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %19, i32 noundef %20)
%22 = getelementptr inbounds [250 x i8], ptr %9, i64 0, i64 0
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %10, align 8
%24 = load ptr, ptr %10, align 8
%25 = call i32 @fscanf(ptr noundef %24, ptr noundef @.str.2, ptr noundef %8)
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %27, align 4
%29 = icmp sgt i32 %26, %28
br i1 %29, label %30, label %33
30: ; preds = %17
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
store i32 %31, ptr %32, align 4
br label %33
33: ; preds = %30, %17
%34 = load ptr, ptr %10, align 8
%35 = call i32 @fclose(ptr noundef %34)
br label %36
36: ; preds = %33
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %12, !llvm.loop !6
39: ; preds = %12
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %40, align 4
%42 = call i32 @printf(ptr noundef @.str.3, i32 noundef %41)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeafu8mwa.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"
@.str = private unnamed_addr constant [12 x i8] c"%s_%04d.g22\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"max litho %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @maxLitho(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [250 x i8], align 16
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
store i32 0, ptr %11, align 4
store i32 1, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %35
%17 = getelementptr inbounds [250 x i8], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18, i32 noundef %19)
%21 = getelementptr inbounds [250 x i8], ptr %9, i64 0, i64 0
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %10, align 8
%24 = call i32 @fscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %8)
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %26, align 4
%28 = icmp sgt i32 %25, %27
br i1 %28, label %29, label %32
29: ; preds = %16
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %5, align 8
store i32 %30, ptr %31, align 4
br label %32
32: ; preds = %29, %16
%33 = load ptr, ptr %10, align 8
%34 = call i32 @fclose(ptr noundef %33)
br label %35
35: ; preds = %32
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
%41 = icmp slt i32 %38, %40
br i1 %41, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %42
42: ; preds = %._crit_edge, %3
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %43, align 4
%45 = call i32 @printf(ptr noundef @.str.3, i32 noundef %44)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzmks4suw.c'
source_filename = "/tmp/tmpzmks4suw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kbhit() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 8 %1, i8 0, i64 16, i1 false)
%3 = call i32 @FD_ZERO(ptr noundef %2)
%4 = call i32 @FD_SET(i32 noundef 0, ptr noundef %2)
%5 = call i32 @select(i32 noundef 1, ptr noundef %2, ptr noundef null, ptr noundef null, ptr noundef %1)
ret i32 %5
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @FD_ZERO(ptr noundef) #2
declare i32 @FD_SET(i32 noundef, ptr noundef) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzmks4suw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kbhit() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 8 %1, i8 0, i64 16, i1 false)
%3 = call i32 @FD_ZERO(ptr noundef %2)
%4 = call i32 @FD_SET(i32 noundef 0, ptr noundef %2)
%5 = call i32 @select(i32 noundef 1, ptr noundef %2, ptr noundef null, ptr noundef null, ptr noundef %1)
ret i32 %5
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @FD_ZERO(ptr noundef) #2
declare i32 @FD_SET(i32 noundef, ptr noundef) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgf9mke0a.c'
source_filename = "/tmp/tmpgf9mke0a.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"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"usage: %s\00", align 1
@.str.1 = private unnamed_addr constant [1414 x i8] c"fsx [-dnqLOW] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] fname\0A\09-b opnum: beginning operation number (default 1)\0A\09-c P: 1 in P chance of file close+open at each op (default infinity)\0A\09-d: debug output for all operations\0A\09-l flen: the upper bound on file size (default 262144)\0A\09-m startop:endop: monitor (print debug output) specified byte range (default 0:infinity)\0A\09-n: no verifications of file size\0A\09-o oplen: the upper bound on operation size (default 65536)\0A\09-p progressinterval: debug output at specified operation interval\0A\09-q: quieter operation\0A\09-r readbdy: 4096 would make reads page aligned (default 1)\0A\09-s style: 1 gives smaller truncates (default 0)\0A\09-t truncbdy: 4096 would make truncates page aligned (default 1)\0A\09-w writebdy: 4096 would make writes page aligned (default 1)\0A\09-D startingop: debug output starting at specified operation\0A\09-L: fsxLite - no file creations & no file size changes\0A\09-N numops: total # operations to do (default infinity)\0A\09-O: use oplen (see -o flag) for every op (default random)\0A\09-P dirpath: save .fsxlog and .fsxgood files in dirpath (default ./)\0A\09-S seed: for random # generator (default 1) 0 gets timestamp\0A\09-W: mapped write operations DISabled\0A\09-R: mapped read operations DISabled)\0A\09fname: this filename is REQUIRED (no default)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 90) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgf9mke0a.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"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"usage: %s\00", align 1
@.str.1 = private unnamed_addr constant [1414 x i8] c"fsx [-dnqLOW] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] fname\0A\09-b opnum: beginning operation number (default 1)\0A\09-c P: 1 in P chance of file close+open at each op (default infinity)\0A\09-d: debug output for all operations\0A\09-l flen: the upper bound on file size (default 262144)\0A\09-m startop:endop: monitor (print debug output) specified byte range (default 0:infinity)\0A\09-n: no verifications of file size\0A\09-o oplen: the upper bound on operation size (default 65536)\0A\09-p progressinterval: debug output at specified operation interval\0A\09-q: quieter operation\0A\09-r readbdy: 4096 would make reads page aligned (default 1)\0A\09-s style: 1 gives smaller truncates (default 0)\0A\09-t truncbdy: 4096 would make truncates page aligned (default 1)\0A\09-w writebdy: 4096 would make writes page aligned (default 1)\0A\09-D startingop: debug output starting at specified operation\0A\09-L: fsxLite - no file creations & no file size changes\0A\09-N numops: total # operations to do (default infinity)\0A\09-O: use oplen (see -o flag) for every op (default random)\0A\09-P dirpath: save .fsxlog and .fsxgood files in dirpath (default ./)\0A\09-S seed: for random # generator (default 1) 0 gets timestamp\0A\09-W: mapped write operations DISabled\0A\09-R: mapped read operations DISabled)\0A\09fname: this filename is REQUIRED (no default)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 90) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0wnowaag.c'
source_filename = "/tmp/tmp0wnowaag.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"
@.str = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"swirParser\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @swirParser(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @tokenParser(ptr noundef %3, ptr noundef @.str, i32 noundef 1, ptr noundef @.str.1)
ret ptr %4
}
declare ptr @tokenParser(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0wnowaag.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"
@.str = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"swirParser\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @swirParser(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @tokenParser(ptr noundef %3, ptr noundef @.str, i32 noundef 1, ptr noundef @.str.1)
ret ptr %4
}
declare ptr @tokenParser(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7vp56kmw.c'
source_filename = "/tmp/tmp7vp56kmw.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"
@.str = private unnamed_addr constant [15 x i8] c"HOST_NOT_FOUND\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"NO_ADDRESS\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"NO_RECOVERY\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"TRY_AGAIN\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"unknown error code\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sock_herrstr(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %9 [
i32 131, label %5
i32 130, label %6
i32 129, label %7
i32 128, label %8
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %10
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %10
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %10
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %10
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %10
10: ; preds = %9, %8, %7, %6, %5
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7vp56kmw.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"
@.str = private unnamed_addr constant [15 x i8] c"HOST_NOT_FOUND\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"NO_ADDRESS\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"NO_RECOVERY\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"TRY_AGAIN\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"unknown error code\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sock_herrstr(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %9 [
i32 131, label %5
i32 130, label %6
i32 129, label %7
i32 128, label %8
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %10
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %10
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %10
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %10
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %10
10: ; preds = %9, %8, %7, %6, %5
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx4k1pzk4.c'
source_filename = "/tmp/tmpx4k1pzk4.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: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ft_strlen(ptr noundef %7)
store i64 %8, ptr %4, align 8
%9 = load i64, ptr %4, align 8
%10 = mul i64 1, %9
%11 = add i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %1
store ptr null, ptr %2, align 8
br label %45
18: ; preds = %1
br label %19
19: ; preds = %27, %18
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %39
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %19, !llvm.loop !6
39: ; preds = %19
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
%44 = load ptr, ptr %6, align 8
store ptr %44, ptr %2, align 8
br label %45
45: ; preds = %39, %17
%46 = load ptr, ptr %2, align 8
ret ptr %46
}
declare i64 @ft_strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx4k1pzk4.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: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ft_strlen(ptr noundef %7)
store i64 %8, ptr %4, align 8
%9 = load i64, ptr %4, align 8
%10 = mul i64 1, %9
%11 = add i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %1
store ptr null, ptr %2, align 8
br label %51
18: ; preds = %1
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %.lr.ph, label %45
.lr.ph: ; preds = %18
br label %26
26: ; preds = %.lr.ph, %26
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %45
45: ; preds = %._crit_edge, %18
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 0, ptr %49, align 1
%50 = load ptr, ptr %6, align 8
store ptr %50, ptr %2, align 8
br label %51
51: ; preds = %45, %17
%52 = load ptr, ptr %2, align 8
ret ptr %52
}
declare i64 @ft_strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvov8yij_.c'
source_filename = "/tmp/tmpvov8yij_.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvov8yij_.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7hrahms6.c'
source_filename = "/tmp/tmp7hrahms6.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7hrahms6.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpueomjjls.c'
source_filename = "/tmp/tmpueomjjls.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpueomjjls.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps9t5ikvz.c'
source_filename = "/tmp/tmps9t5ikvz.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"
@.str = private unnamed_addr constant [8 x i8] c"error!\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"the first child pid = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"a\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"the parent pid = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"c\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %20
8: ; preds = %0
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = call i32 (...) @getpid()
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %19
15: ; preds = %8
%16 = call i32 (...) @getpid()
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %15, %11
br label %20
20: ; preds = %19, %6
%21 = call i64 (...) @fork()
store i64 %21, ptr %3, align 8
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %33
25: ; preds = %20
%26 = load i64, ptr %3, align 8
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %32
30: ; preds = %25
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %32
32: ; preds = %30, %28
br label %33
33: ; preds = %32, %23
%34 = call i32 @wait(ptr noundef %2)
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps9t5ikvz.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"
@.str = private unnamed_addr constant [8 x i8] c"error!\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"the first child pid = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"a\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"the parent pid = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"c\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %20
8: ; preds = %0
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = call i32 (...) @getpid()
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %19
15: ; preds = %8
%16 = call i32 (...) @getpid()
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %15, %11
br label %20
20: ; preds = %19, %6
%21 = call i64 (...) @fork()
store i64 %21, ptr %3, align 8
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %33
25: ; preds = %20
%26 = load i64, ptr %3, align 8
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %32
30: ; preds = %25
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %32
32: ; preds = %30, %28
br label %33
33: ; preds = %32, %23
%34 = call i32 @wait(ptr noundef %2)
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9oewzdsb.c'
source_filename = "/tmp/tmp9oewzdsb.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"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for H\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x48() #0 {
%1 = call i32 @isupper(i32 noundef 72) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 365, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9oewzdsb.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"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for H\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x48() #0 {
%1 = call i32 @isupper(i32 noundef 72) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 365, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphvapu4xq.c'
source_filename = "/tmp/tmphvapu4xq.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"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Error! Expected %d param\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"test_arg\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Error! Expected %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"OK!\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef 1)
store i32 1, ptr %3, align 4
br label %23
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef @.str.1)
store i32 2, ptr %3, align 4
br label %23
20: ; preds = %11
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %20, %17, %8
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphvapu4xq.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"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Error! Expected %d param\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"test_arg\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Error! Expected %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"OK!\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef 1)
store i32 1, ptr %3, align 4
br label %23
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef @.str.1)
store i32 2, ptr %3, align 4
br label %23
20: ; preds = %11
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %20, %17, %8
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4m9w55tk.c'
source_filename = "/tmp/tmp4m9w55tk.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: noinline nounwind sspstrong uwtable
define dso_local i32 @addr_split_port(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @nepim_str_split_comma(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @nepim_str_split_comma(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4m9w55tk.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: noinline nounwind sspstrong uwtable
define dso_local i32 @addr_split_port(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @nepim_str_split_comma(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @nepim_str_split_comma(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2p5j6tu7.c'
source_filename = "/tmp/tmp2p5j6tu7.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2p5j6tu7.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5a3mwd85.c'
source_filename = "/tmp/tmp5a3mwd85.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5a3mwd85.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9v0tcufk.c'
source_filename = "/tmp/tmp9v0tcufk.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"
@.str = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@errno = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"hc_\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"ok\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @traite_connection(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4096 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = ptrtoint ptr %7 to i32
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @fdopen(i32 noundef %9, ptr noundef @.str)
store ptr %10, ptr %4, align 8
store i32 1, ptr %6, align 4
store i64 0, ptr @errno, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @setlinebuf(ptr noundef %11)
br label %13
13: ; preds = %35, %1
%14 = load i32, ptr %6, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %36
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @lit_get(ptr noundef %17, ptr noundef %18, i32 noundef 4096)
%20 = load ptr, ptr %4, align 8
%21 = call i32 @lit_en_tetes(ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%23 = call i64 @strncmp(ptr noundef @.str.1, ptr noundef %22, i32 noundef 3)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %16
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%28 = load i32, ptr %6, align 4
%29 = call i32 @envoie_live_data(ptr noundef %26, ptr noundef %27, i32 noundef %28)
br label %35
30: ; preds = %16
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%33 = load i32, ptr %6, align 4
%34 = call i32 @envoie_fichier(ptr noundef %31, ptr noundef %32, i32 noundef %33)
br label %35
35: ; preds = %30, %25
br label %13, !llvm.loop !6
36: ; preds = %13
%37 = load ptr, ptr %4, align 8
%38 = call i32 @fin_connection(ptr noundef %37, ptr noundef @.str.2)
ret ptr null
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @setlinebuf(ptr noundef) #1
declare i32 @lit_get(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @lit_en_tetes(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @envoie_live_data(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @envoie_fichier(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fin_connection(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9v0tcufk.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"
@.str = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@errno = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"hc_\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"ok\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @traite_connection(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4096 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = ptrtoint ptr %7 to i32
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @fdopen(i32 noundef %9, ptr noundef @.str)
store ptr %10, ptr %4, align 8
store i32 1, ptr %6, align 4
store i64 0, ptr @errno, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @setlinebuf(ptr noundef %11)
%13 = load i32, ptr %6, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %34
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @lit_get(ptr noundef %16, ptr noundef %17, i32 noundef 4096)
%19 = load ptr, ptr %4, align 8
%20 = call i32 @lit_en_tetes(ptr noundef %19)
store i32 %20, ptr %6, align 4
%21 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%22 = call i64 @strncmp(ptr noundef @.str.1, ptr noundef %21, i32 noundef 3)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %15
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%27 = load i32, ptr %6, align 4
%28 = call i32 @envoie_live_data(ptr noundef %25, ptr noundef %26, i32 noundef %27)
br label %34
29: ; preds = %15
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%32 = load i32, ptr %6, align 4
%33 = call i32 @envoie_fichier(ptr noundef %30, ptr noundef %31, i32 noundef %32)
br label %34
34: ; preds = %29, %24
%35 = load i32, ptr %6, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %37
37: ; preds = %._crit_edge, %1
%38 = load ptr, ptr %4, align 8
%39 = call i32 @fin_connection(ptr noundef %38, ptr noundef @.str.2)
ret ptr null
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @setlinebuf(ptr noundef) #1
declare i32 @lit_get(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @lit_en_tetes(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @envoie_live_data(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @envoie_fichier(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fin_connection(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkn4kqe5i.c'
source_filename = "/tmp/tmpkn4kqe5i.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: noinline nounwind sspstrong uwtable
define dso_local ptr @generic_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %13, %3
%10 = load i64, ptr %6, align 8
%11 = add i64 %10, -1
store i64 %11, ptr %6, align 8
%12 = icmp ne i64 %10, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 1
store ptr %16, ptr %7, align 8
store i32 %14, ptr %15, align 4
br label %9, !llvm.loop !6
17: ; preds = %9
%18 = load ptr, ptr %4, align 8
ret ptr %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkn4kqe5i.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: noinline nounwind sspstrong uwtable
define dso_local ptr @generic_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = add i64 %9, -1
store i64 %10, ptr %6, align 8
%11 = icmp ne i64 %9, 0
br i1 %11, label %.lr.ph, label %19
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds i32, ptr %14, i32 1
store ptr %15, ptr %7, align 8
store i32 %13, ptr %14, align 4
%16 = load i64, ptr %6, align 8
%17 = add i64 %16, -1
store i64 %17, ptr %6, align 8
%18 = icmp ne i64 %16, 0
br i1 %18, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %19
19: ; preds = %._crit_edge, %3
%20 = load ptr, ptr %4, align 8
ret ptr %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpr443e1ma.c'
source_filename = "/tmp/tmpr443e1ma.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: noinline nounwind sspstrong uwtable
define dso_local i64 @GetLongLong() #0 {
%1 = call i64 @get_long_long(ptr noundef null)
ret i64 %1
}
declare i64 @get_long_long(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr443e1ma.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: noinline nounwind sspstrong uwtable
define dso_local i64 @GetLongLong() #0 {
%1 = call i64 @get_long_long(ptr noundef null)
ret i64 %1
}
declare i64 @get_long_long(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcmyi7yp2.c'
source_filename = "/tmp/tmpcmyi7yp2.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcmyi7yp2.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3bit8ojh.c'
source_filename = "/tmp/tmp3bit8ojh.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: noinline nounwind sspstrong uwtable
define dso_local void @print_memory_pool_statistics() #0 {
%1 = call i32 (...) @soar_ecPrintMemoryPoolStatistics()
ret void
}
declare i32 @soar_ecPrintMemoryPoolStatistics(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3bit8ojh.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: noinline nounwind sspstrong uwtable
define dso_local void @print_memory_pool_statistics() #0 {
%1 = call i32 (...) @soar_ecPrintMemoryPoolStatistics()
ret void
}
declare i32 @soar_ecPrintMemoryPoolStatistics(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoy6bynrx.c'
source_filename = "/tmp/tmpoy6bynrx.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoy6bynrx.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiipz6y_s.c'
source_filename = "/tmp/tmpiipz6y_s.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: noinline nounwind sspstrong uwtable
define dso_local ptr @read_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [512 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %11
11: ; preds = %61, %2
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%14 = call ptr @get_line(ptr noundef %12, ptr noundef %13, i32 noundef 512)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %63
16: ; preds = %11
%17 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%18 = call i64 @strlen(ptr noundef %17)
store i64 %18, ptr %8, align 8
%19 = load i64, ptr %8, align 8
%20 = icmp ugt i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load i64, ptr %8, align 8
%23 = sub i64 %22, 1
%24 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br label %28
28: ; preds = %21, %16
%29 = phi i1 [ false, %16 ], [ %27, %21 ]
%30 = zext i1 %29 to i32
store i32 %30, ptr %9, align 4
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %8, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = sub i64 %32, %34
%36 = add i64 %31, %35
store i64 %36, ptr %10, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i64, ptr %10, align 8
%39 = add i64 %38, 1
%40 = call ptr @realloc(ptr noundef %37, i64 noundef %39)
store ptr %40, ptr %6, align 8
%41 = load ptr, ptr %6, align 8
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %44
43: ; preds = %28
br label %63
44: ; preds = %28
%45 = load i32, ptr %9, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load i64, ptr %8, align 8
%49 = add i64 %48, -1
store i64 %49, ptr %8, align 8
%50 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %49
store i8 0, ptr %50, align 1
br label %51
51: ; preds = %47, %44
%52 = load ptr, ptr %6, align 8
store ptr %52, ptr %4, align 8
%53 = load ptr, ptr %4, align 8
%54 = load i64, ptr %7, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
%56 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56)
%58 = load i32, ptr %9, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %51
br label %63
61: ; preds = %51
%62 = load i64, ptr %10, align 8
store i64 %62, ptr %7, align 8
br label %11, !llvm.loop !6
63: ; preds = %60, %43, %11
%64 = load ptr, ptr %6, align 8
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %69
66: ; preds = %63
%67 = load ptr, ptr %4, align 8
%68 = call i32 @free(ptr noundef %67)
store ptr null, ptr %4, align 8
br label %69
69: ; preds = %66, %63
%70 = load ptr, ptr %4, align 8
ret ptr %70
}
declare ptr @get_line(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiipz6y_s.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: noinline nounwind sspstrong uwtable
define dso_local ptr @read_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [512 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %6, align 8
store i64 0, ptr %7, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%13 = call ptr @get_line(ptr noundef %11, ptr noundef %12, i32 noundef 512)
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %60
%16 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %8, align 8
%18 = load i64, ptr %8, align 8
%19 = icmp ugt i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %15
%21 = load i64, ptr %8, align 8
%22 = sub i64 %21, 1
%23 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 10
br label %27
27: ; preds = %20, %15
%28 = phi i1 [ false, %15 ], [ %26, %20 ]
%29 = zext i1 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i64, ptr %7, align 8
%31 = load i64, ptr %8, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = sub i64 %31, %33
%35 = add i64 %30, %34
store i64 %35, ptr %10, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i64, ptr %10, align 8
%38 = add i64 %37, 1
%39 = call ptr @realloc(ptr noundef %36, i64 noundef %38)
store ptr %39, ptr %6, align 8
%40 = load ptr, ptr %6, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %43
42: ; preds = %27
br label %65
43: ; preds = %27
%44 = load i32, ptr %9, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %43
%47 = load i64, ptr %8, align 8
%48 = add i64 %47, -1
store i64 %48, ptr %8, align 8
%49 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %48
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %46, %43
%51 = load ptr, ptr %6, align 8
store ptr %51, ptr %4, align 8
%52 = load ptr, ptr %4, align 8
%53 = load i64, ptr %7, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
%55 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55)
%57 = load i32, ptr %9, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %50
br label %65
60: ; preds = %50
%61 = load i64, ptr %10, align 8
store i64 %61, ptr %7, align 8
%62 = load ptr, ptr %3, align 8
%63 = call ptr @get_line(ptr noundef %62, ptr noundef %12, i32 noundef 512)
%64 = icmp ne ptr %63, null
br i1 %64, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %60
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %65
65: ; preds = %.loopexit, %59, %42
%66 = load ptr, ptr %6, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = load ptr, ptr %4, align 8
%70 = call i32 @free(ptr noundef %69)
store ptr null, ptr %4, align 8
br label %71
71: ; preds = %68, %65
%72 = load ptr, ptr %4, align 8
ret ptr %72
}
declare ptr @get_line(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp31zqtpkg.c'
source_filename = "/tmp/tmp31zqtpkg.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"
@.str = private unnamed_addr constant [14 x i8] c"Hello tests!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_C_module_binding() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp31zqtpkg.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"
@.str = private unnamed_addr constant [14 x i8] c"Hello tests!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_C_module_binding() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxk5eb49q.c'
source_filename = "/tmp/tmpxk5eb49q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XClientMessageEvent_format(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxk5eb49q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XClientMessageEvent_format(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgs7nw9va.c'
source_filename = "/tmp/tmpgs7nw9va.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"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d, \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %18, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgs7nw9va.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"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d, \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5o0f08r2.c'
source_filename = "/tmp/tmp5o0f08r2.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"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5o0f08r2.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"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphmpgbn7l.c'
source_filename = "/tmp/tmphmpgbn7l.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: noinline nounwind sspstrong uwtable
define dso_local void @handlebars_string_stripslashes(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %2
br label %72
10: ; preds = %2
br label %11
11: ; preds = %62, %10
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %65
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %49 [
i32 39, label %22
i32 34, label %22
]
22: ; preds = %15, %15
%23 = load i32, ptr %5, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %48
25: ; preds = %22
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 92
br i1 %33, label %34, label %48
34: ; preds = %25
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %6, align 4
%45 = sub nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %42, i64 %46
store i8 %41, ptr %47, align 1
br label %61
48: ; preds = %25, %22
br label %49
49: ; preds = %15, %48
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = sub nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %55, i64 %59
store i8 %54, ptr %60, align 1
br label %61
61: ; preds = %49, %34
br label %62
62: ; preds = %61
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %5, align 4
br label %11, !llvm.loop !6
65: ; preds = %11
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr %6, align 4
%69 = sub nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %66, i64 %70
store i8 0, ptr %71, align 1
br label %72
72: ; preds = %65, %9
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmpgbn7l.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: noinline nounwind sspstrong uwtable
define dso_local void @handlebars_string_stripslashes(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %2
br label %74
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %67
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %61
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %48 [
i32 39, label %21
i32 34, label %21
]
21: ; preds = %14, %14
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %47
24: ; preds = %21
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 92
br i1 %32, label %33, label %47
33: ; preds = %24
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = sub nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %41, i64 %45
store i8 %40, ptr %46, align 1
br label %60
47: ; preds = %24, %21
br label %48
48: ; preds = %47, %14
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = sub nsw i32 %55, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %54, i64 %58
store i8 %53, ptr %59, align 1
br label %60
60: ; preds = %48, %33
br label %61
61: ; preds = %60
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %67
67: ; preds = %._crit_edge, %10
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %4, align 4
%70 = load i32, ptr %6, align 4
%71 = sub nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %68, i64 %72
store i8 0, ptr %73, align 1
br label %74
74: ; preds = %67, %9
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps4md44lt.c'
source_filename = "/tmp/tmps4md44lt.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"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c" %s <input-file> <output-file> <variable-name>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage_info(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4md44lt.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"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c" %s <input-file> <output-file> <variable-name>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage_info(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqa7nidyr.c'
source_filename = "/tmp/tmpqa7nidyr.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"
@.str = private unnamed_addr constant [33 x i8] c"* ppid = %d, pid = %d, i = %d * \00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"# ppid = %d, pid = %d, i = %d # \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %25, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %28
10: ; preds = %7
%11 = call i32 (...) @fork()
%12 = icmp ne i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %10
%14 = call i32 (...) @getppid()
%15 = call i32 (...) @getpid()
%16 = load i32, ptr %6, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, i32 noundef %16)
br label %24
18: ; preds = %10
%19 = call i32 (...) @getppid()
%20 = call i32 (...) @getpid()
%21 = load i32, ptr %6, align 4
%22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = call i32 @sleep(i32 noundef 5)
br label %24
24: ; preds = %18, %13
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %7, !llvm.loop !6
28: ; preds = %7
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getppid(...) #1
declare i32 @getpid(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqa7nidyr.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"
@.str = private unnamed_addr constant [33 x i8] c"* ppid = %d, pid = %d, i = %d * \00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"# ppid = %d, pid = %d, i = %d # \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %24
%10 = call i32 (...) @fork()
%11 = icmp ne i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %9
%13 = call i32 (...) @getppid()
%14 = call i32 (...) @getpid()
%15 = load i32, ptr %6, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %15)
br label %23
17: ; preds = %9
%18 = call i32 (...) @getppid()
%19 = call i32 (...) @getpid()
%20 = load i32, ptr %6, align 4
%21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19, i32 noundef %20)
%22 = call i32 @sleep(i32 noundef 5)
br label %23
23: ; preds = %17, %12
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 2
br i1 %28, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getppid(...) #1
declare i32 @getpid(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2zxrbpji.c'
source_filename = "/tmp/tmp2zxrbpji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FDCheckForBytes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.timeval, align 8
store i32 %0, ptr %3, align 4
%5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1
store i64 0, ptr %5, align 8
%6 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
store i64 0, ptr %6, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @FDSelect(i32 noundef %7, i32 noundef 1, ptr noundef %4)
%9 = and i32 %8, 1
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @FDSelect(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2zxrbpji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FDCheckForBytes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.timeval, align 8
store i32 %0, ptr %3, align 4
%5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1
store i64 0, ptr %5, align 8
%6 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
store i64 0, ptr %6, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @FDSelect(i32 noundef %7, i32 noundef 1, ptr noundef %4)
%9 = and i32 %8, 1
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 1, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @FDSelect(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp408ikknn.c'
source_filename = "/tmp/tmp408ikknn.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: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atol(ptr noundef %10)
%12 = mul nsw i32 %11, 1024
%13 = mul nsw i32 %12, 1024
%14 = sext i32 %13 to i64
store i64 %14, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = call i64 @malloc(i64 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %6, align 8
%20 = call i32 @memset(ptr noundef %18, i32 noundef 0, i64 noundef %19)
%21 = call i32 @sleep(i32 noundef 999999999)
ret i32 0
}
declare i32 @atol(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp408ikknn.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: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atol(ptr noundef %10)
%12 = mul nsw i32 %11, 1024
%13 = mul nsw i32 %12, 1024
%14 = sext i32 %13 to i64
store i64 %14, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = call i64 @malloc(i64 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %6, align 8
%20 = call i32 @memset(ptr noundef %18, i32 noundef 0, i64 noundef %19)
%21 = call i32 @sleep(i32 noundef 999999999)
ret i32 0
}
declare i32 @atol(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmputpouxs2.c'
source_filename = "/tmp/tmputpouxs2.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmputpouxs2.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzvk04at6.c'
source_filename = "/tmp/tmpzvk04at6.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: noinline nounwind sspstrong uwtable
define dso_local i32 @get_u16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %12, %3
store i32 -1, ptr %4, align 4
br label %40
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = call i64 @strtoul(ptr noundef %18, ptr noundef %9, i32 noundef %19)
store i64 %20, ptr %8, align 8
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %35
23: ; preds = %17
%24 = load ptr, ptr %9, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp eq ptr %24, %25
br i1 %26, label %35, label %27
27: ; preds = %23
%28 = load ptr, ptr %9, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %27
%33 = load i64, ptr %8, align 8
%34 = icmp ugt i64 %33, 65535
br i1 %34, label %35, label %36
35: ; preds = %32, %27, %23, %17
store i32 -1, ptr %4, align 4
br label %40
36: ; preds = %32
%37 = load i64, ptr %8, align 8
%38 = trunc i64 %37 to i16
%39 = load ptr, ptr %5, align 8
store i16 %38, ptr %39, align 2
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %36, %35, %16
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzvk04at6.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: noinline nounwind sspstrong uwtable
define dso_local i32 @get_u16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %12, %3
store i32 -1, ptr %4, align 4
br label %40
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = call i64 @strtoul(ptr noundef %18, ptr noundef %9, i32 noundef %19)
store i64 %20, ptr %8, align 8
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %35
23: ; preds = %17
%24 = load ptr, ptr %9, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp eq ptr %24, %25
br i1 %26, label %35, label %27
27: ; preds = %23
%28 = load ptr, ptr %9, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %27
%33 = load i64, ptr %8, align 8
%34 = icmp ugt i64 %33, 65535
br i1 %34, label %35, label %36
35: ; preds = %32, %27, %23, %17
store i32 -1, ptr %4, align 4
br label %40
36: ; preds = %32
%37 = load i64, ptr %8, align 8
%38 = trunc i64 %37 to i16
%39 = load ptr, ptr %5, align 8
store i16 %38, ptr %39, align 2
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %36, %35, %16
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa0gn119_.c'
source_filename = "/tmp/tmpa0gn119_.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: noinline nounwind sspstrong uwtable
define dso_local i32 @ncurses_is_subwin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa0gn119_.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: noinline nounwind sspstrong uwtable
define dso_local i32 @ncurses_is_subwin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1k3oo0iz.c'
source_filename = "/tmp/tmp1k3oo0iz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@S_IFCHR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_fstat(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @S_IFCHR, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1k3oo0iz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@S_IFCHR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_fstat(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @S_IFCHR, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppc_r_0ox.c'
source_filename = "/tmp/tmppc_r_0ox.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"
@.str = private unnamed_addr constant [3 x i8] c"E1\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"E0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CMDecho(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @ATcommand(ptr noundef @.str)
br label %10
8: ; preds = %1
%9 = call i32 @ATcommand(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @ATcommand(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppc_r_0ox.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"
@.str = private unnamed_addr constant [3 x i8] c"E1\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"E0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CMDecho(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @ATcommand(ptr noundef @.str)
br label %10
8: ; preds = %1
%9 = call i32 @ATcommand(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @ATcommand(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp255qssth.c'
source_filename = "/tmp/tmp255qssth.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: noinline nounwind sspstrong uwtable
define dso_local void @gaudry_pm_recip(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [5 x double], align 16
%7 = alloca [5 x double], align 16
%8 = alloca [5 x double], align 16
%9 = alloca [5 x double], align 16
%10 = alloca [5 x double], align 16
%11 = alloca [5 x double], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%12 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%13 = load ptr, ptr %4, align 8
%14 = call i32 @gaudry_pm_square(ptr noundef %12, ptr noundef %13)
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %26, %2
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 3
br i1 %17, label %18, label %29
18: ; preds = %15
%19 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%20 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%21 = load ptr, ptr %4, align 8
%22 = call i32 @gaudry_pm_mult(ptr noundef %19, ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%24 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%25 = call i32 @gaudry_pm_square(ptr noundef %23, ptr noundef %24)
br label %26
26: ; preds = %18
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %15, !llvm.loop !6
29: ; preds = %15
%30 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%31 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%32 = load ptr, ptr %4, align 8
%33 = call i32 @gaudry_pm_mult(ptr noundef %30, ptr noundef %31, ptr noundef %32)
%34 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%35 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%36 = call i32 @gaudry_pm_square(ptr noundef %34, ptr noundef %35)
%37 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%39 = call i32 @gaudry_pm_square(ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%41 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%42 = call i32 @gaudry_pm_square(ptr noundef %40, ptr noundef %41)
%43 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%44 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%45 = call i32 @gaudry_pm_square(ptr noundef %43, ptr noundef %44)
%46 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%47 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%48 = call i32 @gaudry_pm_square(ptr noundef %46, ptr noundef %47)
%49 = getelementptr inbounds [5 x double], ptr %9, i64 0, i64 0
%50 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%51 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%52 = call i32 @gaudry_pm_mult(ptr noundef %49, ptr noundef %50, ptr noundef %51)
%53 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%54 = getelementptr inbounds [5 x double], ptr %9, i64 0, i64 0
%55 = call i32 @gaudry_pm_square(ptr noundef %53, ptr noundef %54)
store i32 0, ptr %5, align 4
br label %56
56: ; preds = %66, %29
%57 = load i32, ptr %5, align 4
%58 = icmp slt i32 %57, 4
br i1 %58, label %59, label %69
59: ; preds = %56
%60 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%61 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%62 = call i32 @gaudry_pm_square(ptr noundef %60, ptr noundef %61)
%63 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%64 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%65 = call i32 @gaudry_pm_square(ptr noundef %63, ptr noundef %64)
br label %66
66: ; preds = %59
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %5, align 4
br label %56, !llvm.loop !8
69: ; preds = %56
%70 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%71 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%72 = call i32 @gaudry_pm_square(ptr noundef %70, ptr noundef %71)
%73 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%74 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%75 = getelementptr inbounds [5 x double], ptr %9, i64 0, i64 0
%76 = call i32 @gaudry_pm_mult(ptr noundef %73, ptr noundef %74, ptr noundef %75)
%77 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%78 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%79 = call i32 @gaudry_pm_square(ptr noundef %77, ptr noundef %78)
%80 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%81 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%82 = call i32 @gaudry_pm_square(ptr noundef %80, ptr noundef %81)
%83 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%84 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%85 = call i32 @gaudry_pm_square(ptr noundef %83, ptr noundef %84)
%86 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%87 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%88 = call i32 @gaudry_pm_square(ptr noundef %86, ptr noundef %87)
%89 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%90 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%91 = call i32 @gaudry_pm_square(ptr noundef %89, ptr noundef %90)
%92 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%93 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%94 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%95 = call i32 @gaudry_pm_mult(ptr noundef %92, ptr noundef %93, ptr noundef %94)
%96 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%97 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%98 = call i32 @gaudry_pm_square(ptr noundef %96, ptr noundef %97)
store i32 0, ptr %5, align 4
br label %99
99: ; preds = %109, %69
%100 = load i32, ptr %5, align 4
%101 = icmp slt i32 %100, 12
br i1 %101, label %102, label %112
102: ; preds = %99
%103 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%104 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%105 = call i32 @gaudry_pm_square(ptr noundef %103, ptr noundef %104)
%106 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%107 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%108 = call i32 @gaudry_pm_square(ptr noundef %106, ptr noundef %107)
br label %109
109: ; preds = %102
%110 = load i32, ptr %5, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %5, align 4
br label %99, !llvm.loop !9
112: ; preds = %99
%113 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
%114 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%115 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%116 = call i32 @gaudry_pm_mult(ptr noundef %113, ptr noundef %114, ptr noundef %115)
%117 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%118 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
%119 = call i32 @gaudry_pm_square(ptr noundef %117, ptr noundef %118)
store i32 0, ptr %5, align 4
br label %120
120: ; preds = %130, %112
%121 = load i32, ptr %5, align 4
%122 = icmp slt i32 %121, 24
br i1 %122, label %123, label %133
123: ; preds = %120
%124 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%125 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%126 = call i32 @gaudry_pm_square(ptr noundef %124, ptr noundef %125)
%127 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%128 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%129 = call i32 @gaudry_pm_square(ptr noundef %127, ptr noundef %128)
br label %130
130: ; preds = %123
%131 = load i32, ptr %5, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %5, align 4
br label %120, !llvm.loop !10
133: ; preds = %120
%134 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%135 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%136 = call i32 @gaudry_pm_square(ptr noundef %134, ptr noundef %135)
%137 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%138 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%139 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
%140 = call i32 @gaudry_pm_mult(ptr noundef %137, ptr noundef %138, ptr noundef %139)
store i32 0, ptr %5, align 4
br label %141
141: ; preds = %151, %133
%142 = load i32, ptr %5, align 4
%143 = icmp slt i32 %142, 12
br i1 %143, label %144, label %154
144: ; preds = %141
%145 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%146 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%147 = call i32 @gaudry_pm_square(ptr noundef %145, ptr noundef %146)
%148 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%149 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%150 = call i32 @gaudry_pm_square(ptr noundef %148, ptr noundef %149)
br label %151
151: ; preds = %144
%152 = load i32, ptr %5, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %5, align 4
br label %141, !llvm.loop !11
154: ; preds = %141
%155 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%156 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%157 = call i32 @gaudry_pm_square(ptr noundef %155, ptr noundef %156)
%158 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%159 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%160 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%161 = call i32 @gaudry_pm_mult(ptr noundef %158, ptr noundef %159, ptr noundef %160)
%162 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%163 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%164 = call i32 @gaudry_pm_square(ptr noundef %162, ptr noundef %163)
%165 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%166 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%167 = call i32 @gaudry_pm_square(ptr noundef %165, ptr noundef %166)
%168 = load ptr, ptr %3, align 8
%169 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%170 = load ptr, ptr %4, align 8
%171 = call i32 @gaudry_pm_mult(ptr noundef %168, ptr noundef %169, ptr noundef %170)
ret void
}
declare i32 @gaudry_pm_square(ptr noundef, ptr noundef) #1
declare i32 @gaudry_pm_mult(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp255qssth.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: noinline nounwind sspstrong uwtable
define dso_local void @gaudry_pm_recip(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [5 x double], align 16
%7 = alloca [5 x double], align 16
%8 = alloca [5 x double], align 16
%9 = alloca [5 x double], align 16
%10 = alloca [5 x double], align 16
%11 = alloca [5 x double], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%12 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%13 = load ptr, ptr %4, align 8
%14 = call i32 @gaudry_pm_square(ptr noundef %12, ptr noundef %13)
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 3
br i1 %16, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %25
%18 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%19 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%20 = load ptr, ptr %4, align 8
%21 = call i32 @gaudry_pm_mult(ptr noundef %18, ptr noundef %19, ptr noundef %20)
%22 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%23 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%24 = call i32 @gaudry_pm_square(ptr noundef %22, ptr noundef %23)
br label %25
25: ; preds = %17
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %28, 3
br i1 %29, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %2
%31 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%32 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%33 = load ptr, ptr %4, align 8
%34 = call i32 @gaudry_pm_mult(ptr noundef %31, ptr noundef %32, ptr noundef %33)
%35 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%36 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%37 = call i32 @gaudry_pm_square(ptr noundef %35, ptr noundef %36)
%38 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%40 = call i32 @gaudry_pm_square(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%42 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%43 = call i32 @gaudry_pm_square(ptr noundef %41, ptr noundef %42)
%44 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%45 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%46 = call i32 @gaudry_pm_square(ptr noundef %44, ptr noundef %45)
%47 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%48 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%49 = call i32 @gaudry_pm_square(ptr noundef %47, ptr noundef %48)
%50 = getelementptr inbounds [5 x double], ptr %9, i64 0, i64 0
%51 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%52 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%53 = call i32 @gaudry_pm_mult(ptr noundef %50, ptr noundef %51, ptr noundef %52)
%54 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%55 = getelementptr inbounds [5 x double], ptr %9, i64 0, i64 0
%56 = call i32 @gaudry_pm_square(ptr noundef %54, ptr noundef %55)
store i32 0, ptr %5, align 4
%57 = load i32, ptr %5, align 4
%58 = icmp slt i32 %57, 4
br i1 %58, label %.lr.ph2, label %71
.lr.ph2: ; preds = %30
br label %59
59: ; preds = %.lr.ph2, %66
%60 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%61 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%62 = call i32 @gaudry_pm_square(ptr noundef %60, ptr noundef %61)
%63 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%64 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%65 = call i32 @gaudry_pm_square(ptr noundef %63, ptr noundef %64)
br label %66
66: ; preds = %59
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %5, align 4
%69 = load i32, ptr %5, align 4
%70 = icmp slt i32 %69, 4
br i1 %70, label %59, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %71
71: ; preds = %._crit_edge3, %30
%72 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%73 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%74 = call i32 @gaudry_pm_square(ptr noundef %72, ptr noundef %73)
%75 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%76 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%77 = getelementptr inbounds [5 x double], ptr %9, i64 0, i64 0
%78 = call i32 @gaudry_pm_mult(ptr noundef %75, ptr noundef %76, ptr noundef %77)
%79 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%80 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%81 = call i32 @gaudry_pm_square(ptr noundef %79, ptr noundef %80)
%82 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%83 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%84 = call i32 @gaudry_pm_square(ptr noundef %82, ptr noundef %83)
%85 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%86 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%87 = call i32 @gaudry_pm_square(ptr noundef %85, ptr noundef %86)
%88 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%89 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%90 = call i32 @gaudry_pm_square(ptr noundef %88, ptr noundef %89)
%91 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%92 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%93 = call i32 @gaudry_pm_square(ptr noundef %91, ptr noundef %92)
%94 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%95 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%96 = getelementptr inbounds [5 x double], ptr %8, i64 0, i64 0
%97 = call i32 @gaudry_pm_mult(ptr noundef %94, ptr noundef %95, ptr noundef %96)
%98 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%99 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%100 = call i32 @gaudry_pm_square(ptr noundef %98, ptr noundef %99)
store i32 0, ptr %5, align 4
%101 = load i32, ptr %5, align 4
%102 = icmp slt i32 %101, 12
br i1 %102, label %.lr.ph5, label %115
.lr.ph5: ; preds = %71
br label %103
103: ; preds = %.lr.ph5, %110
%104 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%105 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%106 = call i32 @gaudry_pm_square(ptr noundef %104, ptr noundef %105)
%107 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%108 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%109 = call i32 @gaudry_pm_square(ptr noundef %107, ptr noundef %108)
br label %110
110: ; preds = %103
%111 = load i32, ptr %5, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %5, align 4
%113 = load i32, ptr %5, align 4
%114 = icmp slt i32 %113, 12
br i1 %114, label %103, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %110
br label %115
115: ; preds = %._crit_edge6, %71
%116 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
%117 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%118 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%119 = call i32 @gaudry_pm_mult(ptr noundef %116, ptr noundef %117, ptr noundef %118)
%120 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%121 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
%122 = call i32 @gaudry_pm_square(ptr noundef %120, ptr noundef %121)
store i32 0, ptr %5, align 4
%123 = load i32, ptr %5, align 4
%124 = icmp slt i32 %123, 24
br i1 %124, label %.lr.ph8, label %137
.lr.ph8: ; preds = %115
br label %125
125: ; preds = %.lr.ph8, %132
%126 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%127 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%128 = call i32 @gaudry_pm_square(ptr noundef %126, ptr noundef %127)
%129 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%130 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%131 = call i32 @gaudry_pm_square(ptr noundef %129, ptr noundef %130)
br label %132
132: ; preds = %125
%133 = load i32, ptr %5, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %5, align 4
%135 = load i32, ptr %5, align 4
%136 = icmp slt i32 %135, 24
br i1 %136, label %125, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %132
br label %137
137: ; preds = %._crit_edge9, %115
%138 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%139 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%140 = call i32 @gaudry_pm_square(ptr noundef %138, ptr noundef %139)
%141 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%142 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%143 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
%144 = call i32 @gaudry_pm_mult(ptr noundef %141, ptr noundef %142, ptr noundef %143)
store i32 0, ptr %5, align 4
%145 = load i32, ptr %5, align 4
%146 = icmp slt i32 %145, 12
br i1 %146, label %.lr.ph11, label %159
.lr.ph11: ; preds = %137
br label %147
147: ; preds = %.lr.ph11, %154
%148 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%149 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%150 = call i32 @gaudry_pm_square(ptr noundef %148, ptr noundef %149)
%151 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%152 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%153 = call i32 @gaudry_pm_square(ptr noundef %151, ptr noundef %152)
br label %154
154: ; preds = %147
%155 = load i32, ptr %5, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %5, align 4
%157 = load i32, ptr %5, align 4
%158 = icmp slt i32 %157, 12
br i1 %158, label %147, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %154
br label %159
159: ; preds = %._crit_edge12, %137
%160 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%161 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%162 = call i32 @gaudry_pm_square(ptr noundef %160, ptr noundef %161)
%163 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%164 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%165 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 0
%166 = call i32 @gaudry_pm_mult(ptr noundef %163, ptr noundef %164, ptr noundef %165)
%167 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%168 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%169 = call i32 @gaudry_pm_square(ptr noundef %167, ptr noundef %168)
%170 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%171 = getelementptr inbounds [5 x double], ptr %6, i64 0, i64 0
%172 = call i32 @gaudry_pm_square(ptr noundef %170, ptr noundef %171)
%173 = load ptr, ptr %3, align 8
%174 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 0
%175 = load ptr, ptr %4, align 8
%176 = call i32 @gaudry_pm_mult(ptr noundef %173, ptr noundef %174, ptr noundef %175)
ret void
}
declare i32 @gaudry_pm_square(ptr noundef, ptr noundef) #1
declare i32 @gaudry_pm_mult(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpbzsnsrv6.c'
source_filename = "/tmp/tmpbzsnsrv6.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: noinline nounwind sspstrong uwtable
define dso_local ptr @parsedargs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %37
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %37
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = call ptr @strdup(ptr noundef %15)
store ptr %16, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = call i32 @setargs(ptr noundef %19, ptr noundef null)
store i32 %20, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 8
%27 = trunc i64 %26 to i32
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %5, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %37
30: ; preds = %22
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i32 1
store ptr %33, ptr %5, align 8
store ptr %31, ptr %32, align 8
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %5, align 8
%36 = call i32 @setargs(ptr noundef %34, ptr noundef %35)
store i32 %36, ptr %6, align 4
br label %37
37: ; preds = %30, %22, %18, %14, %9, %2
%38 = load ptr, ptr %3, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = load ptr, ptr %5, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load ptr, ptr %3, align 8
%45 = call i32 @free(ptr noundef %44)
br label %46
46: ; preds = %43, %40, %37
%47 = load i32, ptr %6, align 4
%48 = load ptr, ptr %4, align 8
store i32 %47, ptr %48, align 4
%49 = load ptr, ptr %5, align 8
ret ptr %49
}
declare ptr @strdup(ptr noundef) #1
declare i32 @setargs(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzsnsrv6.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: noinline nounwind sspstrong uwtable
define dso_local ptr @parsedargs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %37
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %37
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = call ptr @strdup(ptr noundef %15)
store ptr %16, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = call i32 @setargs(ptr noundef %19, ptr noundef null)
store i32 %20, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 8
%27 = trunc i64 %26 to i32
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %5, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %37
30: ; preds = %22
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i32 1
store ptr %33, ptr %5, align 8
store ptr %31, ptr %32, align 8
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %5, align 8
%36 = call i32 @setargs(ptr noundef %34, ptr noundef %35)
store i32 %36, ptr %6, align 4
br label %37
37: ; preds = %30, %22, %18, %14, %9, %2
%38 = load ptr, ptr %3, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = load ptr, ptr %5, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load ptr, ptr %3, align 8
%45 = call i32 @free(ptr noundef %44)
br label %46
46: ; preds = %43, %40, %37
%47 = load i32, ptr %6, align 4
%48 = load ptr, ptr %4, align 8
store i32 %47, ptr %48, align 4
%49 = load ptr, ptr %5, align 8
ret ptr %49
}
declare ptr @strdup(ptr noundef) #1
declare i32 @setargs(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf6gazz1f.c'
source_filename = "/tmp/tmpf6gazz1f.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf6gazz1f.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy6ijrm_9.c'
source_filename = "/tmp/tmpy6ijrm_9.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"
@.str = private unnamed_addr constant [6 x i8] c"KEY: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printKey() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy6ijrm_9.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"
@.str = private unnamed_addr constant [6 x i8] c"KEY: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printKey() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmub01vfe.c'
source_filename = "/tmp/tmpmub01vfe.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmub01vfe.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphus72zds.c'
source_filename = "/tmp/tmphus72zds.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"
@strsignal.signame = internal global [40 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [8 x i8] c"SIG #%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strsignal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sprintf(ptr noundef @strsignal.signame, ptr noundef @.str, i32 noundef %3)
ret ptr @strsignal.signame
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphus72zds.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"
@strsignal.signame = internal global [40 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [8 x i8] c"SIG #%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strsignal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sprintf(ptr noundef @strsignal.signame, ptr noundef @.str, i32 noundef %3)
ret ptr @strsignal.signame
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxr7jo88d.c'
source_filename = "/tmp/tmpxr7jo88d.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: noinline nounwind sspstrong uwtable
define dso_local void @load(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i64 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i64 %6, ptr %14, align 8
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %7
%18 = load ptr, ptr %9, align 8
%19 = load ptr, ptr %10, align 8
%20 = load i64, ptr %11, align 8
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i64 noundef %20)
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %13, align 8
%24 = load i64, ptr %14, align 8
%25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i64 noundef %24)
br label %26
26: ; preds = %17, %7
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxr7jo88d.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: noinline nounwind sspstrong uwtable
define dso_local void @load(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i64 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i64 %6, ptr %14, align 8
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %7
%18 = load ptr, ptr %9, align 8
%19 = load ptr, ptr %10, align 8
%20 = load i64, ptr %11, align 8
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i64 noundef %20)
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %13, align 8
%24 = load i64, ptr %14, align 8
%25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i64 noundef %24)
br label %26
26: ; preds = %17, %7
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjy0k4kcy.c'
source_filename = "/tmp/tmpjy0k4kcy.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: noinline nounwind sspstrong uwtable
define dso_local void @fgmvwrite_flag_data_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @gmvwrite_flag_data(i32 noundef %6, ptr noundef %7)
ret void
}
declare i32 @gmvwrite_flag_data(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjy0k4kcy.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: noinline nounwind sspstrong uwtable
define dso_local void @fgmvwrite_flag_data_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @gmvwrite_flag_data(i32 noundef %6, ptr noundef %7)
ret void
}
declare i32 @gmvwrite_flag_data(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr5ryj4vp.c'
source_filename = "/tmp/tmpr5ryj4vp.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"
@STDERR_FILENO = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5ryj4vp.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"
@STDERR_FILENO = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1oyp63d6.c'
source_filename = "/tmp/tmp1oyp63d6.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"
@F_RDLCK = dso_local global ptr null, align 8
@F_SETLK = dso_local global i32 0, align 4
@F_UNLCK = dso_local global ptr null, align 8
@SEEK_SET = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1oyp63d6.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"
@F_RDLCK = dso_local global ptr null, align 8
@F_SETLK = dso_local global i32 0, align 4
@F_UNLCK = dso_local global ptr null, align 8
@SEEK_SET = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_bp9r2lb.c'
source_filename = "/tmp/tmp_bp9r2lb.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"
@EINVAL = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @readblock(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %8, align 8
%13 = load i64, ptr %7, align 8
store i64 %13, ptr %10, align 8
store i64 0, ptr %11, align 8
br label %14
14: ; preds = %49, %3
%15 = load i64, ptr %10, align 8
%16 = icmp ugt i64 %15, 0
br i1 %16, label %17, label %56
17: ; preds = %14
%18 = load i32, ptr %5, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i64, ptr %10, align 8
%21 = call i64 @read(i32 noundef %18, ptr noundef %19, i64 noundef %20)
store i64 %21, ptr %9, align 8
%22 = load i64, ptr %9, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %17
%25 = load i64, ptr %11, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %24
store i64 0, ptr %4, align 8
br label %58
28: ; preds = %24, %17
%29 = load i64, ptr %9, align 8
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = load i64, ptr @EINVAL, align 8
store i64 %32, ptr @errno, align 8
store i64 -1, ptr %4, align 8
br label %58
33: ; preds = %28
%34 = load i64, ptr %9, align 8
%35 = icmp eq i64 %34, -1
br i1 %35, label %36, label %41
36: ; preds = %33
%37 = load i64, ptr @errno, align 8
%38 = load i64, ptr @EINTR, align 8
%39 = icmp ne i64 %37, %38
br i1 %39, label %40, label %41
40: ; preds = %36
store i64 -1, ptr %4, align 8
br label %58
41: ; preds = %36, %33
%42 = load i64, ptr %9, align 8
%43 = icmp eq i64 %42, -1
br i1 %43, label %44, label %45
44: ; preds = %41
store i64 0, ptr %9, align 8
br label %45
45: ; preds = %44, %41
%46 = load i64, ptr %9, align 8
%47 = load i64, ptr %11, align 8
%48 = add i64 %47, %46
store i64 %48, ptr %11, align 8
br label %49
49: ; preds = %45
%50 = load i64, ptr %9, align 8
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 %50
store ptr %52, ptr %8, align 8
%53 = load i64, ptr %9, align 8
%54 = load i64, ptr %10, align 8
%55 = sub i64 %54, %53
store i64 %55, ptr %10, align 8
br label %14, !llvm.loop !6
56: ; preds = %14
%57 = load i64, ptr %11, align 8
store i64 %57, ptr %4, align 8
br label %58
58: ; preds = %56, %40, %31, %27
%59 = load i64, ptr %4, align 8
ret i64 %59
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bp9r2lb.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"
@EINVAL = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @readblock(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %8, align 8
%13 = load i64, ptr %7, align 8
store i64 %13, ptr %10, align 8
store i64 0, ptr %11, align 8
%14 = load i64, ptr %10, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %.lr.ph, label %57
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %48
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %8, align 8
%19 = load i64, ptr %10, align 8
%20 = call i64 @read(i32 noundef %17, ptr noundef %18, i64 noundef %19)
store i64 %20, ptr %9, align 8
%21 = load i64, ptr %9, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %16
%24 = load i64, ptr %11, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %23
store i64 0, ptr %4, align 8
br label %59
27: ; preds = %23, %16
%28 = load i64, ptr %9, align 8
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load i64, ptr @EINVAL, align 8
store i64 %31, ptr @errno, align 8
store i64 -1, ptr %4, align 8
br label %59
32: ; preds = %27
%33 = load i64, ptr %9, align 8
%34 = icmp eq i64 %33, -1
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load i64, ptr @errno, align 8
%37 = load i64, ptr @EINTR, align 8
%38 = icmp ne i64 %36, %37
br i1 %38, label %39, label %40
39: ; preds = %35
store i64 -1, ptr %4, align 8
br label %59
40: ; preds = %35, %32
%41 = load i64, ptr %9, align 8
%42 = icmp eq i64 %41, -1
br i1 %42, label %43, label %44
43: ; preds = %40
store i64 0, ptr %9, align 8
br label %44
44: ; preds = %43, %40
%45 = load i64, ptr %9, align 8
%46 = load i64, ptr %11, align 8
%47 = add i64 %46, %45
store i64 %47, ptr %11, align 8
br label %48
48: ; preds = %44
%49 = load i64, ptr %9, align 8
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 %49
store ptr %51, ptr %8, align 8
%52 = load i64, ptr %9, align 8
%53 = load i64, ptr %10, align 8
%54 = sub i64 %53, %52
store i64 %54, ptr %10, align 8
%55 = load i64, ptr %10, align 8
%56 = icmp ugt i64 %55, 0
br i1 %56, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %57
57: ; preds = %._crit_edge, %3
%58 = load i64, ptr %11, align 8
store i64 %58, ptr %4, align 8
br label %59
59: ; preds = %57, %39, %30, %26
%60 = load i64, ptr %4, align 8
ret i64 %60
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyqhvcpfm.c'
source_filename = "/tmp/tmpyqhvcpfm.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"
@.str = private unnamed_addr constant [26 x i8] c"__asinhl not implemented\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @__asinhl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret x86_fp80 0xK00000000000000000000
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyqhvcpfm.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"
@.str = private unnamed_addr constant [26 x i8] c"__asinhl not implemented\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @__asinhl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret x86_fp80 0xK00000000000000000000
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmperj4obmy.c'
source_filename = "/tmp/tmperj4obmy.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmperj4obmy.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpanc_9211.c'
source_filename = "/tmp/tmpanc_9211.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"
@.str = private unnamed_addr constant [10 x i8] c"%d %d MT\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%d %d LT\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ST\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @polylines(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i32 1
store ptr %8, ptr %4, align 8
%9 = load i32, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i32 1
store ptr %11, ptr %5, align 8
%12 = load i32, ptr %10, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %12)
br label %14
14: ; preds = %18, %3
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %6, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i32, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load i32, ptr %19, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i32, ptr %22, i32 1
store ptr %23, ptr %5, align 8
%24 = load i32, ptr %22, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %24)
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpanc_9211.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"
@.str = private unnamed_addr constant [10 x i8] c"%d %d MT\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%d %d LT\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ST\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @polylines(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i32 1
store ptr %8, ptr %4, align 8
%9 = load i32, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i32 1
store ptr %11, ptr %5, align 8
%12 = load i32, ptr %10, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %12)
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %6, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %17
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i32, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load i32, ptr %18, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i32, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load i32, ptr %21, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %23)
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %6, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %28
28: ; preds = %._crit_edge, %3
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpboq8twte.c'
source_filename = "/tmp/tmpboq8twte.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"
@.str = private unnamed_addr constant [44 x i8] c"vct_flash - Micronas VCT I2C Flash Utility\0A\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"Copyright (c) 2015 Ondrej Zary - http://www.rainbow-software.org\0A\0A\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Unable to open I2C device\00", align 1
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Error setting I2C slave address\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Bootloader version: 0x%02x\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [67 x i8] c"Invalid file size: must be multiple of %d B and smaller than %d B\0A\00", align 1
@.str.9 = private unnamed_addr constant [45 x i8] c"Memory allocation error, %d bytes required.\0A\00", align 1
@.str.10 = private unnamed_addr constant [20 x i8] c"Error reading file\0A\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"Erasing flash: \00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1
@.str.13 = private unnamed_addr constant [16 x i8] c"Writing flash: \00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c".\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.15 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c"Size not specified\0A\00", align 1
@.str.17 = private unnamed_addr constant [68 x i8] c"Invalid size specified: must be multiple of %d and smaller than %d\0A\00", align 1
@.str.18 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.19 = private unnamed_addr constant [16 x i8] c"Reading flash: \00", align 1
@.str.20 = private unnamed_addr constant [20 x i8] c"Error writing file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = call i32 (...) @usage()
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @O_RDWR, align 4
%25 = call i32 @open(ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = call i32 @exit(i32 noundef 2) #3
unreachable
31: ; preds = %20
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr @I2C_SLAVE, align 4
%34 = call i64 @ioctl(i32 noundef %32, i32 noundef %33, i32 noundef 104)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %31
%37 = call i32 @perror(ptr noundef @.str.3)
%38 = call i32 @exit(i32 noundef 2) #3
unreachable
39: ; preds = %31
%40 = load i32, ptr %11, align 4
%41 = call i32 @vct_get_version(i32 noundef %40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = call i32 @strcmp(ptr noundef %45, ptr noundef @.str.5)
%47 = icmp ne i32 %46, 0
br i1 %47, label %147, label %48
48: ; preds = %39
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 3
%51 = load ptr, ptr %50, align 8
%52 = call ptr @fopen(ptr noundef %51, ptr noundef @.str.6)
store ptr %52, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %58, label %55
55: ; preds = %48
%56 = call i32 @perror(ptr noundef @.str.7)
%57 = call i32 @exit(i32 noundef 5) #3
unreachable
58: ; preds = %48
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr @SEEK_END, align 4
%61 = call i32 @fseek(ptr noundef %59, i32 noundef 0, i32 noundef %60)
%62 = load ptr, ptr %6, align 8
%63 = call i64 @ftell(ptr noundef %62)
store i64 %63, ptr %9, align 8
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr @SEEK_SET, align 4
%66 = call i32 @fseek(ptr noundef %64, i32 noundef 0, i32 noundef %65)
%67 = load i64, ptr %9, align 8
%68 = urem i64 %67, 16
%69 = icmp ne i64 %68, 0
br i1 %69, label %73, label %70
70: ; preds = %58
%71 = load i64, ptr %9, align 8
%72 = icmp ugt i64 %71, 8388608
br i1 %72, label %73, label %77
73: ; preds = %70, %58
%74 = load i32, ptr @stderr, align 4
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.8, i32 noundef 16, i32 noundef 8388608)
%76 = call i32 @exit(i32 noundef 1) #3
unreachable
77: ; preds = %70
%78 = load i64, ptr %9, align 8
%79 = call ptr @malloc(i64 noundef %78)
store ptr %79, ptr %8, align 8
%80 = load ptr, ptr %8, align 8
%81 = icmp ne ptr %80, null
br i1 %81, label %87, label %82
82: ; preds = %77
%83 = load i32, ptr @stderr, align 4
%84 = load i64, ptr %9, align 8
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.9, i64 noundef %84)
%86 = call i32 @exit(i32 noundef 1) #3
unreachable
87: ; preds = %77
%88 = load ptr, ptr %8, align 8
%89 = load i64, ptr %9, align 8
%90 = load ptr, ptr %6, align 8
%91 = call i32 @fread(ptr noundef %88, i32 noundef 1, i64 noundef %89, ptr noundef %90)
store i32 %91, ptr %12, align 4
%92 = load i32, ptr %12, align 4
%93 = zext i32 %92 to i64
%94 = load i64, ptr %9, align 8
%95 = icmp ult i64 %93, %94
br i1 %95, label %96, label %100
96: ; preds = %87
%97 = load i32, ptr @stderr, align 4
%98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.10)
%99 = call i32 @exit(i32 noundef 5) #3
unreachable
100: ; preds = %87
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%102 = load i32, ptr %11, align 4
%103 = call i64 @vct_erase(i32 noundef %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %100
%106 = call i32 @exit(i32 noundef 6) #3
unreachable
107: ; preds = %100
%108 = load i32, ptr %11, align 4
%109 = call i32 @vct_get_version(i32 noundef %108)
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %7, align 4
br label %112
112: ; preds = %136, %107
%113 = load i32, ptr %7, align 4
%114 = zext i32 %113 to i64
%115 = load i64, ptr %9, align 8
%116 = icmp ult i64 %114, %115
br i1 %116, label %117, label %139
117: ; preds = %112
%118 = load i32, ptr %11, align 4
%119 = load i32, ptr %7, align 4
%120 = load ptr, ptr %8, align 8
%121 = load i32, ptr %7, align 4
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
%124 = call i64 @vct_transfer(i32 noundef %118, i32 noundef %119, i32 noundef 16, ptr noundef %123, i32 noundef 34)
%125 = icmp ne i64 %124, 0
br i1 %125, label %126, label %127
126: ; preds = %117
store i32 10, ptr %10, align 4
br label %139
127: ; preds = %117
%128 = load i32, ptr %7, align 4
%129 = urem i32 %128, 1024
%130 = icmp eq i32 %129, 0
br i1 %130, label %131, label %135
131: ; preds = %127
%132 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%133 = load i32, ptr @stdout, align 4
%134 = call i32 @fflush(i32 noundef %133)
br label %135
135: ; preds = %131, %127
br label %136
136: ; preds = %135
%137 = load i32, ptr %7, align 4
%138 = add i32 %137, 16
store i32 %138, ptr %7, align 4
br label %112, !llvm.loop !6
139: ; preds = %126, %112
%140 = load i32, ptr %7, align 4
%141 = zext i32 %140 to i64
%142 = load i64, ptr %9, align 8
%143 = icmp eq i64 %141, %142
br i1 %143, label %144, label %146
144: ; preds = %139
%145 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %146
146: ; preds = %144, %139
br label %247
147: ; preds = %39
%148 = load ptr, ptr %5, align 8
%149 = getelementptr inbounds ptr, ptr %148, i64 2
%150 = load ptr, ptr %149, align 8
%151 = call i32 @strcmp(ptr noundef %150, ptr noundef @.str.15)
%152 = icmp ne i32 %151, 0
br i1 %152, label %243, label %153
153: ; preds = %147
%154 = load i32, ptr %4, align 4
%155 = icmp slt i32 %154, 5
br i1 %155, label %156, label %160
156: ; preds = %153
%157 = load i32, ptr @stderr, align 4
%158 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %157, ptr noundef @.str.16)
%159 = call i32 @exit(i32 noundef 1) #3
unreachable
160: ; preds = %153
%161 = load ptr, ptr %5, align 8
%162 = getelementptr inbounds ptr, ptr %161, i64 4
%163 = load ptr, ptr %162, align 8
%164 = call i64 @atoi(ptr noundef %163)
store i64 %164, ptr %9, align 8
%165 = load i64, ptr %9, align 8
%166 = urem i64 %165, 16
%167 = icmp ne i64 %166, 0
br i1 %167, label %171, label %168
168: ; preds = %160
%169 = load i64, ptr %9, align 8
%170 = icmp ugt i64 %169, 8388608
br i1 %170, label %171, label %175
171: ; preds = %168, %160
%172 = load i32, ptr @stderr, align 4
%173 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %172, ptr noundef @.str.17, i32 noundef 16, i32 noundef 8388608)
%174 = call i32 @exit(i32 noundef 1) #3
unreachable
175: ; preds = %168
%176 = load i64, ptr %9, align 8
%177 = call ptr @malloc(i64 noundef %176)
store ptr %177, ptr %8, align 8
%178 = load ptr, ptr %8, align 8
%179 = icmp ne ptr %178, null
br i1 %179, label %185, label %180
180: ; preds = %175
%181 = load i32, ptr @stderr, align 4
%182 = load i64, ptr %9, align 8
%183 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %181, ptr noundef @.str.9, i64 noundef %182)
%184 = call i32 @exit(i32 noundef 1) #3
unreachable
185: ; preds = %175
%186 = load ptr, ptr %5, align 8
%187 = getelementptr inbounds ptr, ptr %186, i64 3
%188 = load ptr, ptr %187, align 8
%189 = call ptr @fopen(ptr noundef %188, ptr noundef @.str.18)
store ptr %189, ptr %6, align 8
%190 = load ptr, ptr %6, align 8
%191 = icmp ne ptr %190, null
br i1 %191, label %195, label %192
192: ; preds = %185
%193 = call i32 @perror(ptr noundef @.str.7)
%194 = call i32 @exit(i32 noundef 5) #3
unreachable
195: ; preds = %185
%196 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
store i32 0, ptr %7, align 4
br label %197
197: ; preds = %221, %195
%198 = load i32, ptr %7, align 4
%199 = zext i32 %198 to i64
%200 = load i64, ptr %9, align 8
%201 = icmp ult i64 %199, %200
br i1 %201, label %202, label %224
202: ; preds = %197
%203 = load i32, ptr %11, align 4
%204 = load i32, ptr %7, align 4
%205 = load ptr, ptr %8, align 8
%206 = load i32, ptr %7, align 4
%207 = zext i32 %206 to i64
%208 = getelementptr inbounds i8, ptr %205, i64 %207
%209 = call i64 @vct_transfer(i32 noundef %203, i32 noundef %204, i32 noundef 16, ptr noundef %208, i32 noundef 35)
%210 = icmp ne i64 %209, 0
br i1 %210, label %211, label %212
211: ; preds = %202
store i32 10, ptr %10, align 4
br label %224
212: ; preds = %202
%213 = load i32, ptr %7, align 4
%214 = urem i32 %213, 1024
%215 = icmp eq i32 %214, 0
br i1 %215, label %216, label %220
216: ; preds = %212
%217 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%218 = load i32, ptr @stdout, align 4
%219 = call i32 @fflush(i32 noundef %218)
br label %220
220: ; preds = %216, %212
br label %221
221: ; preds = %220
%222 = load i32, ptr %7, align 4
%223 = add i32 %222, 16
store i32 %223, ptr %7, align 4
br label %197, !llvm.loop !8
224: ; preds = %211, %197
%225 = load i32, ptr %7, align 4
%226 = zext i32 %225 to i64
%227 = load i64, ptr %9, align 8
%228 = icmp eq i64 %226, %227
br i1 %228, label %229, label %231
229: ; preds = %224
%230 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %231
231: ; preds = %229, %224
%232 = load ptr, ptr %8, align 8
%233 = load i32, ptr %7, align 4
%234 = load ptr, ptr %6, align 8
%235 = call i32 @fwrite(ptr noundef %232, i32 noundef 1, i32 noundef %233, ptr noundef %234)
%236 = load i32, ptr %7, align 4
%237 = icmp ne i32 %235, %236
br i1 %237, label %238, label %242
238: ; preds = %231
%239 = load i32, ptr @stderr, align 4
%240 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %239, ptr noundef @.str.20)
%241 = call i32 @exit(i32 noundef 5) #3
unreachable
242: ; preds = %231
br label %246
243: ; preds = %147
%244 = call i32 (...) @usage()
%245 = call i32 @exit(i32 noundef 1) #3
unreachable
246: ; preds = %242
br label %247
247: ; preds = %246, %146
%248 = load ptr, ptr %6, align 8
%249 = call i32 @fclose(ptr noundef %248)
%250 = load ptr, ptr %8, align 8
%251 = call i32 @free(ptr noundef %250)
%252 = load i32, ptr %11, align 4
%253 = call i32 @close(i32 noundef %252)
%254 = load i32, ptr %10, align 4
ret i32 %254
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @usage(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @vct_get_version(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i64 @vct_erase(i32 noundef) #1
declare i64 @vct_transfer(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpboq8twte.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"
@.str = private unnamed_addr constant [44 x i8] c"vct_flash - Micronas VCT I2C Flash Utility\0A\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"Copyright (c) 2015 Ondrej Zary - http://www.rainbow-software.org\0A\0A\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Unable to open I2C device\00", align 1
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Error setting I2C slave address\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Bootloader version: 0x%02x\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [67 x i8] c"Invalid file size: must be multiple of %d B and smaller than %d B\0A\00", align 1
@.str.9 = private unnamed_addr constant [45 x i8] c"Memory allocation error, %d bytes required.\0A\00", align 1
@.str.10 = private unnamed_addr constant [20 x i8] c"Error reading file\0A\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"Erasing flash: \00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1
@.str.13 = private unnamed_addr constant [16 x i8] c"Writing flash: \00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c".\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.15 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c"Size not specified\0A\00", align 1
@.str.17 = private unnamed_addr constant [68 x i8] c"Invalid size specified: must be multiple of %d and smaller than %d\0A\00", align 1
@.str.18 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.19 = private unnamed_addr constant [16 x i8] c"Reading flash: \00", align 1
@.str.20 = private unnamed_addr constant [20 x i8] c"Error writing file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = call i32 (...) @usage()
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @O_RDWR, align 4
%25 = call i32 @open(ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = call i32 @exit(i32 noundef 2) #3
unreachable
31: ; preds = %20
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr @I2C_SLAVE, align 4
%34 = call i64 @ioctl(i32 noundef %32, i32 noundef %33, i32 noundef 104)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %31
%37 = call i32 @perror(ptr noundef @.str.3)
%38 = call i32 @exit(i32 noundef 2) #3
unreachable
39: ; preds = %31
%40 = load i32, ptr %11, align 4
%41 = call i32 @vct_get_version(i32 noundef %40)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = call i32 @strcmp(ptr noundef %45, ptr noundef @.str.5)
%47 = icmp ne i32 %46, 0
br i1 %47, label %150, label %48
48: ; preds = %39
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 3
%51 = load ptr, ptr %50, align 8
%52 = call ptr @fopen(ptr noundef %51, ptr noundef @.str.6)
store ptr %52, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %58, label %55
55: ; preds = %48
%56 = call i32 @perror(ptr noundef @.str.7)
%57 = call i32 @exit(i32 noundef 5) #3
unreachable
58: ; preds = %48
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr @SEEK_END, align 4
%61 = call i32 @fseek(ptr noundef %59, i32 noundef 0, i32 noundef %60)
%62 = load ptr, ptr %6, align 8
%63 = call i64 @ftell(ptr noundef %62)
store i64 %63, ptr %9, align 8
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr @SEEK_SET, align 4
%66 = call i32 @fseek(ptr noundef %64, i32 noundef 0, i32 noundef %65)
%67 = load i64, ptr %9, align 8
%68 = urem i64 %67, 16
%69 = icmp ne i64 %68, 0
br i1 %69, label %73, label %70
70: ; preds = %58
%71 = load i64, ptr %9, align 8
%72 = icmp ugt i64 %71, 8388608
br i1 %72, label %73, label %77
73: ; preds = %70, %58
%74 = load i32, ptr @stderr, align 4
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.8, i32 noundef 16, i32 noundef 8388608)
%76 = call i32 @exit(i32 noundef 1) #3
unreachable
77: ; preds = %70
%78 = load i64, ptr %9, align 8
%79 = call ptr @malloc(i64 noundef %78)
store ptr %79, ptr %8, align 8
%80 = load ptr, ptr %8, align 8
%81 = icmp ne ptr %80, null
br i1 %81, label %87, label %82
82: ; preds = %77
%83 = load i32, ptr @stderr, align 4
%84 = load i64, ptr %9, align 8
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.9, i64 noundef %84)
%86 = call i32 @exit(i32 noundef 1) #3
unreachable
87: ; preds = %77
%88 = load ptr, ptr %8, align 8
%89 = load i64, ptr %9, align 8
%90 = load ptr, ptr %6, align 8
%91 = call i32 @fread(ptr noundef %88, i32 noundef 1, i64 noundef %89, ptr noundef %90)
store i32 %91, ptr %12, align 4
%92 = load i32, ptr %12, align 4
%93 = zext i32 %92 to i64
%94 = load i64, ptr %9, align 8
%95 = icmp ult i64 %93, %94
br i1 %95, label %96, label %100
96: ; preds = %87
%97 = load i32, ptr @stderr, align 4
%98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.10)
%99 = call i32 @exit(i32 noundef 5) #3
unreachable
100: ; preds = %87
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%102 = load i32, ptr %11, align 4
%103 = call i64 @vct_erase(i32 noundef %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %100
%106 = call i32 @exit(i32 noundef 6) #3
unreachable
107: ; preds = %100
%108 = load i32, ptr %11, align 4
%109 = call i32 @vct_get_version(i32 noundef %108)
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %7, align 4
%112 = load i32, ptr %7, align 4
%113 = zext i32 %112 to i64
%114 = load i64, ptr %9, align 8
%115 = icmp ult i64 %113, %114
br i1 %115, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %107
br label %116
116: ; preds = %.lr.ph, %135
%117 = load i32, ptr %11, align 4
%118 = load i32, ptr %7, align 4
%119 = load ptr, ptr %8, align 8
%120 = load i32, ptr %7, align 4
%121 = zext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %119, i64 %121
%123 = call i64 @vct_transfer(i32 noundef %117, i32 noundef %118, i32 noundef 16, ptr noundef %122, i32 noundef 34)
%124 = icmp ne i64 %123, 0
br i1 %124, label %125, label %126
125: ; preds = %116
store i32 10, ptr %10, align 4
br label %142
126: ; preds = %116
%127 = load i32, ptr %7, align 4
%128 = urem i32 %127, 1024
%129 = icmp eq i32 %128, 0
br i1 %129, label %130, label %134
130: ; preds = %126
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%132 = load i32, ptr @stdout, align 4
%133 = call i32 @fflush(i32 noundef %132)
br label %134
134: ; preds = %130, %126
br label %135
135: ; preds = %134
%136 = load i32, ptr %7, align 4
%137 = add i32 %136, 16
store i32 %137, ptr %7, align 4
%138 = load i32, ptr %7, align 4
%139 = zext i32 %138 to i64
%140 = load i64, ptr %9, align 8
%141 = icmp ult i64 %139, %140
br i1 %141, label %116, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %135
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %107
br label %142
142: ; preds = %.loopexit1, %125
%143 = load i32, ptr %7, align 4
%144 = zext i32 %143 to i64
%145 = load i64, ptr %9, align 8
%146 = icmp eq i64 %144, %145
br i1 %146, label %147, label %149
147: ; preds = %142
%148 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %149
149: ; preds = %147, %142
br label %253
150: ; preds = %39
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds ptr, ptr %151, i64 2
%153 = load ptr, ptr %152, align 8
%154 = call i32 @strcmp(ptr noundef %153, ptr noundef @.str.15)
%155 = icmp ne i32 %154, 0
br i1 %155, label %249, label %156
156: ; preds = %150
%157 = load i32, ptr %4, align 4
%158 = icmp slt i32 %157, 5
br i1 %158, label %159, label %163
159: ; preds = %156
%160 = load i32, ptr @stderr, align 4
%161 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %160, ptr noundef @.str.16)
%162 = call i32 @exit(i32 noundef 1) #3
unreachable
163: ; preds = %156
%164 = load ptr, ptr %5, align 8
%165 = getelementptr inbounds ptr, ptr %164, i64 4
%166 = load ptr, ptr %165, align 8
%167 = call i64 @atoi(ptr noundef %166)
store i64 %167, ptr %9, align 8
%168 = load i64, ptr %9, align 8
%169 = urem i64 %168, 16
%170 = icmp ne i64 %169, 0
br i1 %170, label %174, label %171
171: ; preds = %163
%172 = load i64, ptr %9, align 8
%173 = icmp ugt i64 %172, 8388608
br i1 %173, label %174, label %178
174: ; preds = %171, %163
%175 = load i32, ptr @stderr, align 4
%176 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %175, ptr noundef @.str.17, i32 noundef 16, i32 noundef 8388608)
%177 = call i32 @exit(i32 noundef 1) #3
unreachable
178: ; preds = %171
%179 = load i64, ptr %9, align 8
%180 = call ptr @malloc(i64 noundef %179)
store ptr %180, ptr %8, align 8
%181 = load ptr, ptr %8, align 8
%182 = icmp ne ptr %181, null
br i1 %182, label %188, label %183
183: ; preds = %178
%184 = load i32, ptr @stderr, align 4
%185 = load i64, ptr %9, align 8
%186 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %184, ptr noundef @.str.9, i64 noundef %185)
%187 = call i32 @exit(i32 noundef 1) #3
unreachable
188: ; preds = %178
%189 = load ptr, ptr %5, align 8
%190 = getelementptr inbounds ptr, ptr %189, i64 3
%191 = load ptr, ptr %190, align 8
%192 = call ptr @fopen(ptr noundef %191, ptr noundef @.str.18)
store ptr %192, ptr %6, align 8
%193 = load ptr, ptr %6, align 8
%194 = icmp ne ptr %193, null
br i1 %194, label %198, label %195
195: ; preds = %188
%196 = call i32 @perror(ptr noundef @.str.7)
%197 = call i32 @exit(i32 noundef 5) #3
unreachable
198: ; preds = %188
%199 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
store i32 0, ptr %7, align 4
%200 = load i32, ptr %7, align 4
%201 = zext i32 %200 to i64
%202 = load i64, ptr %9, align 8
%203 = icmp ult i64 %201, %202
br i1 %203, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %198
br label %204
204: ; preds = %.lr.ph2, %223
%205 = load i32, ptr %11, align 4
%206 = load i32, ptr %7, align 4
%207 = load ptr, ptr %8, align 8
%208 = load i32, ptr %7, align 4
%209 = zext i32 %208 to i64
%210 = getelementptr inbounds i8, ptr %207, i64 %209
%211 = call i64 @vct_transfer(i32 noundef %205, i32 noundef %206, i32 noundef 16, ptr noundef %210, i32 noundef 35)
%212 = icmp ne i64 %211, 0
br i1 %212, label %213, label %214
213: ; preds = %204
store i32 10, ptr %10, align 4
br label %230
214: ; preds = %204
%215 = load i32, ptr %7, align 4
%216 = urem i32 %215, 1024
%217 = icmp eq i32 %216, 0
br i1 %217, label %218, label %222
218: ; preds = %214
%219 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%220 = load i32, ptr @stdout, align 4
%221 = call i32 @fflush(i32 noundef %220)
br label %222
222: ; preds = %218, %214
br label %223
223: ; preds = %222
%224 = load i32, ptr %7, align 4
%225 = add i32 %224, 16
store i32 %225, ptr %7, align 4
%226 = load i32, ptr %7, align 4
%227 = zext i32 %226 to i64
%228 = load i64, ptr %9, align 8
%229 = icmp ult i64 %227, %228
br i1 %229, label %204, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %223
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %198
br label %230
230: ; preds = %.loopexit, %213
%231 = load i32, ptr %7, align 4
%232 = zext i32 %231 to i64
%233 = load i64, ptr %9, align 8
%234 = icmp eq i64 %232, %233
br i1 %234, label %235, label %237
235: ; preds = %230
%236 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %237
237: ; preds = %235, %230
%238 = load ptr, ptr %8, align 8
%239 = load i32, ptr %7, align 4
%240 = load ptr, ptr %6, align 8
%241 = call i32 @fwrite(ptr noundef %238, i32 noundef 1, i32 noundef %239, ptr noundef %240)
%242 = load i32, ptr %7, align 4
%243 = icmp ne i32 %241, %242
br i1 %243, label %244, label %248
244: ; preds = %237
%245 = load i32, ptr @stderr, align 4
%246 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %245, ptr noundef @.str.20)
%247 = call i32 @exit(i32 noundef 5) #3
unreachable
248: ; preds = %237
br label %252
249: ; preds = %150
%250 = call i32 (...) @usage()
%251 = call i32 @exit(i32 noundef 1) #3
unreachable
252: ; preds = %248
br label %253
253: ; preds = %252, %149
%254 = load ptr, ptr %6, align 8
%255 = call i32 @fclose(ptr noundef %254)
%256 = load ptr, ptr %8, align 8
%257 = call i32 @free(ptr noundef %256)
%258 = load i32, ptr %11, align 4
%259 = call i32 @close(i32 noundef %258)
%260 = load i32, ptr %10, align 4
ret i32 %260
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @usage(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @vct_get_version(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i64 @vct_erase(i32 noundef) #1
declare i64 @vct_transfer(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp51uczsrc.c'
source_filename = "/tmp/tmp51uczsrc.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"
@NS_INT16SZ = dso_local global i32 0, align 4
@ns_s_qd = dso_local global i64 0, align 8
@NS_INT32SZ = dso_local global i32 0, align 4
@EMSGSIZE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ns_skiprr(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %10, align 8
br label %13
13: ; preds = %82, %4
%14 = load i32, ptr %9, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %9, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %17, label %83
17: ; preds = %13
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %7, align 8
%20 = call i32 @dn_skipname(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %11, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %17
br label %90
24: ; preds = %17
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr @NS_INT16SZ, align 4
%27 = mul nsw i32 2, %26
%28 = add nsw i32 %25, %27
%29 = sext i32 %28 to i64
%30 = load ptr, ptr %7, align 8
%31 = load ptr, ptr %10, align 8
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = icmp sgt i64 %29, %34
br i1 %35, label %36, label %37
36: ; preds = %24
br label %90
37: ; preds = %24
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr @NS_INT16SZ, align 4
%40 = mul nsw i32 2, %39
%41 = add nsw i32 %38, %40
%42 = load ptr, ptr %10, align 8
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %42, i64 %43
store ptr %44, ptr %10, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr @ns_s_qd, align 8
%47 = icmp ne i64 %45, %46
br i1 %47, label %48, label %82
48: ; preds = %37
%49 = load i32, ptr @NS_INT32SZ, align 4
%50 = load i32, ptr @NS_INT16SZ, align 4
%51 = add nsw i32 %49, %50
%52 = sext i32 %51 to i64
%53 = load ptr, ptr %7, align 8
%54 = load ptr, ptr %10, align 8
%55 = ptrtoint ptr %53 to i64
%56 = ptrtoint ptr %54 to i64
%57 = sub i64 %55, %56
%58 = icmp sgt i64 %52, %57
br i1 %58, label %59, label %60
59: ; preds = %48
br label %90
60: ; preds = %48
%61 = load i32, ptr @NS_INT32SZ, align 4
%62 = load ptr, ptr %10, align 8
%63 = sext i32 %61 to i64
%64 = getelementptr inbounds i8, ptr %62, i64 %63
store ptr %64, ptr %10, align 8
%65 = load i32, ptr %11, align 4
%66 = load ptr, ptr %10, align 8
%67 = call i32 @NS_GET16(i32 noundef %65, ptr noundef %66)
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = load ptr, ptr %7, align 8
%71 = load ptr, ptr %10, align 8
%72 = ptrtoint ptr %70 to i64
%73 = ptrtoint ptr %71 to i64
%74 = sub i64 %72, %73
%75 = icmp sgt i64 %69, %74
br i1 %75, label %76, label %77
76: ; preds = %60
br label %90
77: ; preds = %60
%78 = load i32, ptr %11, align 4
%79 = load ptr, ptr %10, align 8
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i8, ptr %79, i64 %80
store ptr %81, ptr %10, align 8
br label %82
82: ; preds = %77, %37
br label %13, !llvm.loop !6
83: ; preds = %13
%84 = load ptr, ptr %10, align 8
%85 = load ptr, ptr %6, align 8
%86 = ptrtoint ptr %84 to i64
%87 = ptrtoint ptr %85 to i64
%88 = sub i64 %86, %87
%89 = trunc i64 %88 to i32
store i32 %89, ptr %5, align 4
br label %92
90: ; preds = %76, %59, %36, %23
%91 = load i32, ptr @EMSGSIZE, align 4
store i32 %91, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %92
92: ; preds = %90, %83
%93 = load i32, ptr %5, align 4
ret i32 %93
}
declare i32 @dn_skipname(ptr noundef, ptr noundef) #1
declare i32 @NS_GET16(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51uczsrc.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"
@NS_INT16SZ = dso_local global i32 0, align 4
@ns_s_qd = dso_local global i64 0, align 8
@NS_INT32SZ = dso_local global i32 0, align 4
@EMSGSIZE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ns_skiprr(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %10, align 8
%13 = load i32, ptr %9, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %9, align 4
%15 = icmp ne i32 %13, 0
br i1 %15, label %.lr.ph, label %85
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %81
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i32 @dn_skipname(ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %16
br label %92
23: ; preds = %16
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr @NS_INT16SZ, align 4
%26 = mul nsw i32 2, %25
%27 = add nsw i32 %24, %26
%28 = sext i32 %27 to i64
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %10, align 8
%31 = ptrtoint ptr %29 to i64
%32 = ptrtoint ptr %30 to i64
%33 = sub i64 %31, %32
%34 = icmp sgt i64 %28, %33
br i1 %34, label %35, label %36
35: ; preds = %23
br label %92
36: ; preds = %23
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr @NS_INT16SZ, align 4
%39 = mul nsw i32 2, %38
%40 = add nsw i32 %37, %39
%41 = load ptr, ptr %10, align 8
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds i8, ptr %41, i64 %42
store ptr %43, ptr %10, align 8
%44 = load i64, ptr %8, align 8
%45 = load i64, ptr @ns_s_qd, align 8
%46 = icmp ne i64 %44, %45
br i1 %46, label %47, label %81
47: ; preds = %36
%48 = load i32, ptr @NS_INT32SZ, align 4
%49 = load i32, ptr @NS_INT16SZ, align 4
%50 = add nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = load ptr, ptr %7, align 8
%53 = load ptr, ptr %10, align 8
%54 = ptrtoint ptr %52 to i64
%55 = ptrtoint ptr %53 to i64
%56 = sub i64 %54, %55
%57 = icmp sgt i64 %51, %56
br i1 %57, label %58, label %59
58: ; preds = %47
br label %92
59: ; preds = %47
%60 = load i32, ptr @NS_INT32SZ, align 4
%61 = load ptr, ptr %10, align 8
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds i8, ptr %61, i64 %62
store ptr %63, ptr %10, align 8
%64 = load i32, ptr %11, align 4
%65 = load ptr, ptr %10, align 8
%66 = call i32 @NS_GET16(i32 noundef %64, ptr noundef %65)
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = load ptr, ptr %7, align 8
%70 = load ptr, ptr %10, align 8
%71 = ptrtoint ptr %69 to i64
%72 = ptrtoint ptr %70 to i64
%73 = sub i64 %71, %72
%74 = icmp sgt i64 %68, %73
br i1 %74, label %75, label %76
75: ; preds = %59
br label %92
76: ; preds = %59
%77 = load i32, ptr %11, align 4
%78 = load ptr, ptr %10, align 8
%79 = sext i32 %77 to i64
%80 = getelementptr inbounds i8, ptr %78, i64 %79
store ptr %80, ptr %10, align 8
br label %81
81: ; preds = %76, %36
%82 = load i32, ptr %9, align 4
%83 = add nsw i32 %82, -1
store i32 %83, ptr %9, align 4
%84 = icmp ne i32 %82, 0
br i1 %84, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %81
br label %85
85: ; preds = %._crit_edge, %4
%86 = load ptr, ptr %10, align 8
%87 = load ptr, ptr %6, align 8
%88 = ptrtoint ptr %86 to i64
%89 = ptrtoint ptr %87 to i64
%90 = sub i64 %88, %89
%91 = trunc i64 %90 to i32
store i32 %91, ptr %5, align 4
br label %94
92: ; preds = %75, %58, %35, %22
%93 = load i32, ptr @EMSGSIZE, align 4
store i32 %93, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %94
94: ; preds = %92, %85
%95 = load i32, ptr %5, align 4
ret i32 %95
}
declare i32 @dn_skipname(ptr noundef, ptr noundef) #1
declare i32 @NS_GET16(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw44mvr9v.c'
source_filename = "/tmp/tmpw44mvr9v.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw44mvr9v.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxiekdo_.c'
source_filename = "/tmp/tmpaxiekdo_.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: noinline nounwind sspstrong uwtable
define dso_local ptr @our_strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %8, align 8
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load i64, ptr %5, align 8
store i64 %15, ptr %8, align 8
br label %16
16: ; preds = %14, %2
%17 = load i64, ptr %8, align 8
%18 = add i64 %17, 1
%19 = call i64 @malloc(i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %6, align 8
%21 = icmp eq ptr null, %20
br i1 %21, label %22, label %23
22: ; preds = %16
store ptr null, ptr %3, align 8
br label %33
23: ; preds = %16
%24 = load ptr, ptr %6, align 8
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %8, align 8
%30 = call i64 @memcpy(ptr noundef %27, ptr noundef %28, i64 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
store ptr %32, ptr %3, align 8
br label %33
33: ; preds = %23, %22
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
declare i64 @strlen(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxiekdo_.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: noinline nounwind sspstrong uwtable
define dso_local ptr @our_strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %8, align 8
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load i64, ptr %5, align 8
store i64 %15, ptr %8, align 8
br label %16
16: ; preds = %14, %2
%17 = load i64, ptr %8, align 8
%18 = add i64 %17, 1
%19 = call i64 @malloc(i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %6, align 8
%21 = icmp eq ptr null, %20
br i1 %21, label %22, label %23
22: ; preds = %16
store ptr null, ptr %3, align 8
br label %33
23: ; preds = %16
%24 = load ptr, ptr %6, align 8
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %8, align 8
%30 = call i64 @memcpy(ptr noundef %27, ptr noundef %28, i64 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
store ptr %32, ptr %3, align 8
br label %33
33: ; preds = %23, %22
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
declare i64 @strlen(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp63tyjn_5.c'
source_filename = "/tmp/tmp63tyjn_5.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"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x96\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x96() #0 {
%1 = call i64 @isupper(i32 noundef 150)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 755, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp63tyjn_5.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"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x96\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x96() #0 {
%1 = call i64 @isupper(i32 noundef 150)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 755, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy00wz6pr.c'
source_filename = "/tmp/tmpy00wz6pr.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy00wz6pr.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps89pu9pk.c'
source_filename = "/tmp/tmps89pu9pk.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps89pu9pk.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4cgs8oiz.c'
source_filename = "/tmp/tmp4cgs8oiz.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: noinline nounwind sspstrong uwtable
define dso_local void @insert_decimal_point(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = add nsw i32 %13, 1
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 0, %15
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %3
br label %54
21: ; preds = %3
%22 = load i32, ptr %9, align 4
%23 = icmp sle i32 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %21
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp sge i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24, %21
br label %54
29: ; preds = %24
br label %30
30: ; preds = %29
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %31, i64 %35
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %9, align 4
%40 = sub nsw i32 %38, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %37, i64 %41
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 1
%46 = trunc i64 %45 to i32
%47 = call i32 @memmove(ptr noundef %36, ptr noundef %42, i32 noundef %46)
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %9, align 4
%51 = sub nsw i32 %49, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %48, i64 %52
store i8 46, ptr %53, align 1
br label %54
54: ; preds = %30, %28, %20
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4cgs8oiz.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: noinline nounwind sspstrong uwtable
define dso_local void @insert_decimal_point(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = add nsw i32 %13, 1
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 0, %15
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %21
20: ; preds = %3
br label %54
21: ; preds = %3
%22 = load i32, ptr %9, align 4
%23 = icmp sle i32 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %21
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp sge i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24, %21
br label %54
29: ; preds = %24
br label %30
30: ; preds = %29
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %31, i64 %35
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %9, align 4
%40 = sub nsw i32 %38, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %37, i64 %41
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 1
%46 = trunc i64 %45 to i32
%47 = call i32 @memmove(ptr noundef %36, ptr noundef %42, i32 noundef %46)
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %9, align 4
%51 = sub nsw i32 %49, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %48, i64 %52
store i8 46, ptr %53, align 1
br label %54
54: ; preds = %30, %28, %20
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqjfzsz6d.c'
source_filename = "/tmp/tmpqjfzsz6d.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjfzsz6d.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdvt7gx41.c'
source_filename = "/tmp/tmpdvt7gx41.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"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %6, align 4
%7 = call i32 @add_one(ptr noundef %6)
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @add_one(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdvt7gx41.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"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %6, align 4
%7 = call i32 @add_one(ptr noundef %6)
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @add_one(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp24hiy7hi.c'
source_filename = "/tmp/tmp24hiy7hi.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: noinline nounwind sspstrong uwtable
define dso_local i32 @convex_hull(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %7, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %8, align 8
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %28, %2
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %31
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %13, i64 %26
store i32 %24, ptr %27, align 4
br label %28
28: ; preds = %18
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = load ptr, ptr %9, align 8
%33 = call i32 @_ada_use_c2phc4c(i32 noundef 581, ptr noundef %3, ptr noundef %13, ptr noundef %32, i32 noundef 0)
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %35)
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp24hiy7hi.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: noinline nounwind sspstrong uwtable
define dso_local i32 @convex_hull(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %7, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %8, align 8
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %13, i64 %25
store i32 %23, ptr %26, align 4
br label %27
27: ; preds = %17
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = load ptr, ptr %9, align 8
%35 = call i32 @_ada_use_c2phc4c(i32 noundef 581, ptr noundef %3, ptr noundef %13, ptr noundef %34, i32 noundef 0)
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %37)
ret i32 %36
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_w_3y2zq.c'
source_filename = "/tmp/tmp_w_3y2zq.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_w_3y2zq.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6bbon261.c'
source_filename = "/tmp/tmp6bbon261.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: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundmpx_rename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @rename(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @rename(ptr noundef, ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6bbon261.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: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundmpx_rename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @rename(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @rename(ptr noundef, ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ofxyob_.c'
source_filename = "/tmp/tmp_ofxyob_.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: noinline nounwind sspstrong uwtable
define dso_local void @DESLengthSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add i64 %6, 36
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ofxyob_.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: noinline nounwind sspstrong uwtable
define dso_local void @DESLengthSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add i64 %6, 36
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpas5_kgtq.c'
source_filename = "/tmp/tmpas5_kgtq.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: noinline nounwind sspstrong uwtable
define dso_local void @r8mat_mm(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %9, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %13, align 8
store i32 0, ptr %14, align 4
br label %25
25: ; preds = %92, %6
%26 = load i32, ptr %14, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %95
29: ; preds = %25
store i32 0, ptr %15, align 4
br label %30
30: ; preds = %88, %29
%31 = load i32, ptr %15, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %91
34: ; preds = %30
%35 = load ptr, ptr %13, align 8
%36 = load i32, ptr %14, align 4
%37 = load i32, ptr %15, align 4
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %37, %38
%40 = add nsw i32 %36, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %35, i64 %41
store double 0.000000e+00, ptr %42, align 8
store i32 0, ptr %16, align 4
br label %43
43: ; preds = %84, %34
%44 = load i32, ptr %16, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %87
47: ; preds = %43
%48 = load ptr, ptr %13, align 8
%49 = load i32, ptr %14, align 4
%50 = load i32, ptr %15, align 4
%51 = load i32, ptr %7, align 4
%52 = mul nsw i32 %50, %51
%53 = add nsw i32 %49, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %48, i64 %54
%56 = load double, ptr %55, align 8
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %14, align 4
%59 = load i32, ptr %16, align 4
%60 = load i32, ptr %7, align 4
%61 = mul nsw i32 %59, %60
%62 = add nsw i32 %58, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %57, i64 %63
%65 = load double, ptr %64, align 8
%66 = load ptr, ptr %11, align 8
%67 = load i32, ptr %16, align 4
%68 = load i32, ptr %15, align 4
%69 = load i32, ptr %8, align 4
%70 = mul nsw i32 %68, %69
%71 = add nsw i32 %67, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %66, i64 %72
%74 = load double, ptr %73, align 8
%75 = call double @llvm.fmuladd.f64(double %65, double %74, double %56)
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %14, align 4
%78 = load i32, ptr %15, align 4
%79 = load i32, ptr %7, align 4
%80 = mul nsw i32 %78, %79
%81 = add nsw i32 %77, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %76, i64 %82
store double %75, ptr %83, align 8
br label %84
84: ; preds = %47
%85 = load i32, ptr %16, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %16, align 4
br label %43, !llvm.loop !6
87: ; preds = %43
br label %88
88: ; preds = %87
%89 = load i32, ptr %15, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %15, align 4
br label %30, !llvm.loop !8
91: ; preds = %30
br label %92
92: ; preds = %91
%93 = load i32, ptr %14, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %14, align 4
br label %25, !llvm.loop !9
95: ; preds = %25
%96 = load i32, ptr %7, align 4
%97 = load i32, ptr %9, align 4
%98 = load ptr, ptr %13, align 8
%99 = load ptr, ptr %12, align 8
%100 = call i32 @r8mat_copy(i32 noundef %96, i32 noundef %97, ptr noundef %98, ptr noundef %99)
%101 = load ptr, ptr %13, align 8
%102 = call i32 @free(ptr noundef %101)
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @r8mat_copy(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpas5_kgtq.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: noinline nounwind sspstrong uwtable
define dso_local void @r8mat_mm(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %9, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %13, align 8
store i32 0, ptr %14, align 4
%25 = load i32, ptr %14, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph5, label %101
.lr.ph5: ; preds = %6
br label %28
28: ; preds = %.lr.ph5, %95
store i32 0, ptr %15, align 4
%29 = load i32, ptr %15, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph2, label %94
.lr.ph2: ; preds = %28
br label %32
32: ; preds = %.lr.ph2, %88
%33 = load ptr, ptr %13, align 8
%34 = load i32, ptr %14, align 4
%35 = load i32, ptr %15, align 4
%36 = load i32, ptr %7, align 4
%37 = mul nsw i32 %35, %36
%38 = add nsw i32 %34, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %33, i64 %39
store double 0.000000e+00, ptr %40, align 8
store i32 0, ptr %16, align 4
%41 = load i32, ptr %16, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph, label %87
.lr.ph: ; preds = %32
br label %44
44: ; preds = %.lr.ph, %81
%45 = load ptr, ptr %13, align 8
%46 = load i32, ptr %14, align 4
%47 = load i32, ptr %15, align 4
%48 = load i32, ptr %7, align 4
%49 = mul nsw i32 %47, %48
%50 = add nsw i32 %46, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %45, i64 %51
%53 = load double, ptr %52, align 8
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %14, align 4
%56 = load i32, ptr %16, align 4
%57 = load i32, ptr %7, align 4
%58 = mul nsw i32 %56, %57
%59 = add nsw i32 %55, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %54, i64 %60
%62 = load double, ptr %61, align 8
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %16, align 4
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %8, align 4
%67 = mul nsw i32 %65, %66
%68 = add nsw i32 %64, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %63, i64 %69
%71 = load double, ptr %70, align 8
%72 = call double @llvm.fmuladd.f64(double %62, double %71, double %53)
%73 = load ptr, ptr %13, align 8
%74 = load i32, ptr %14, align 4
%75 = load i32, ptr %15, align 4
%76 = load i32, ptr %7, align 4
%77 = mul nsw i32 %75, %76
%78 = add nsw i32 %74, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %73, i64 %79
store double %72, ptr %80, align 8
br label %81
81: ; preds = %44
%82 = load i32, ptr %16, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %16, align 4
%84 = load i32, ptr %16, align 4
%85 = load i32, ptr %8, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %81
br label %87
87: ; preds = %._crit_edge, %32
br label %88
88: ; preds = %87
%89 = load i32, ptr %15, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %15, align 4
%91 = load i32, ptr %15, align 4
%92 = load i32, ptr %9, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %88
br label %94
94: ; preds = %._crit_edge3, %28
br label %95
95: ; preds = %94
%96 = load i32, ptr %14, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %14, align 4
%98 = load i32, ptr %14, align 4
%99 = load i32, ptr %7, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %28, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %95
br label %101
101: ; preds = %._crit_edge6, %6
%102 = load i32, ptr %7, align 4
%103 = load i32, ptr %9, align 4
%104 = load ptr, ptr %13, align 8
%105 = load ptr, ptr %12, align 8
%106 = call i32 @r8mat_copy(i32 noundef %102, i32 noundef %103, ptr noundef %104, ptr noundef %105)
%107 = load ptr, ptr %13, align 8
%108 = call i32 @free(ptr noundef %107)
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @r8mat_copy(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpm8gg9b7t.c'
source_filename = "/tmp/tmpm8gg9b7t.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm8gg9b7t.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp96qo9ll.c'
source_filename = "/tmp/tmpp96qo9ll.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp96qo9ll.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpetztr81v.c'
source_filename = "/tmp/tmpetztr81v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showperms(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp ne i32 %5, -1
br i1 %6, label %7, label %141
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fputs(ptr noundef %8, i32 noundef %9)
%11 = call i32 @putchar(i8 noundef signext 32)
%12 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 2
%13 = load i32, ptr %12, align 4
%14 = call i32 @putusrname(i32 noundef %13)
%15 = call i32 @putchar(i8 noundef signext 32)
%16 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 1
%17 = load i32, ptr %16, align 4
%18 = call i32 @putgrpname(i32 noundef %17)
%19 = call i32 @putchar(i8 noundef signext 32)
%20 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = and i32 %21, 256
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %7
%25 = call i32 @putchar(i8 noundef signext 49)
br label %28
26: ; preds = %7
%27 = call i32 @putchar(i8 noundef signext 48)
br label %28
28: ; preds = %26, %24
%29 = call i32 @putchar(i8 noundef signext 32)
%30 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 128
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 @putchar(i8 noundef signext 49)
br label %38
36: ; preds = %28
%37 = call i32 @putchar(i8 noundef signext 48)
br label %38
38: ; preds = %36, %34
%39 = call i32 @putchar(i8 noundef signext 32)
%40 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = and i32 %41, 64
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %38
%45 = call i32 @putchar(i8 noundef signext 49)
br label %48
46: ; preds = %38
%47 = call i32 @putchar(i8 noundef signext 48)
br label %48
48: ; preds = %46, %44
%49 = call i32 @putchar(i8 noundef signext 32)
%50 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%51 = load i32, ptr %50, align 4
%52 = and i32 %51, 32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @putchar(i8 noundef signext 49)
br label %58
56: ; preds = %48
%57 = call i32 @putchar(i8 noundef signext 48)
br label %58
58: ; preds = %56, %54
%59 = call i32 @putchar(i8 noundef signext 32)
%60 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%61 = load i32, ptr %60, align 4
%62 = and i32 %61, 16
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %58
%65 = call i32 @putchar(i8 noundef signext 49)
br label %68
66: ; preds = %58
%67 = call i32 @putchar(i8 noundef signext 48)
br label %68
68: ; preds = %66, %64
%69 = call i32 @putchar(i8 noundef signext 32)
%70 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%71 = load i32, ptr %70, align 4
%72 = and i32 %71, 8
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %68
%75 = call i32 @putchar(i8 noundef signext 49)
br label %78
76: ; preds = %68
%77 = call i32 @putchar(i8 noundef signext 48)
br label %78
78: ; preds = %76, %74
%79 = call i32 @putchar(i8 noundef signext 32)
%80 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%81 = load i32, ptr %80, align 4
%82 = and i32 %81, 4
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %78
%85 = call i32 @putchar(i8 noundef signext 49)
br label %88
86: ; preds = %78
%87 = call i32 @putchar(i8 noundef signext 48)
br label %88
88: ; preds = %86, %84
%89 = call i32 @putchar(i8 noundef signext 32)
%90 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%91 = load i32, ptr %90, align 4
%92 = and i32 %91, 2
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %96
94: ; preds = %88
%95 = call i32 @putchar(i8 noundef signext 49)
br label %98
96: ; preds = %88
%97 = call i32 @putchar(i8 noundef signext 48)
br label %98
98: ; preds = %96, %94
%99 = call i32 @putchar(i8 noundef signext 32)
%100 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%101 = load i32, ptr %100, align 4
%102 = and i32 %101, 1
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %98
%105 = call i32 @putchar(i8 noundef signext 49)
br label %108
106: ; preds = %98
%107 = call i32 @putchar(i8 noundef signext 48)
br label %108
108: ; preds = %106, %104
%109 = call i32 @putchar(i8 noundef signext 32)
%110 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%111 = load i32, ptr %110, align 4
%112 = and i32 %111, 2048
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %116
114: ; preds = %108
%115 = call i32 @putchar(i8 noundef signext 49)
br label %118
116: ; preds = %108
%117 = call i32 @putchar(i8 noundef signext 48)
br label %118
118: ; preds = %116, %114
%119 = call i32 @putchar(i8 noundef signext 32)
%120 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%121 = load i32, ptr %120, align 4
%122 = and i32 %121, 1024
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %126
124: ; preds = %118
%125 = call i32 @putchar(i8 noundef signext 49)
br label %128
126: ; preds = %118
%127 = call i32 @putchar(i8 noundef signext 48)
br label %128
128: ; preds = %126, %124
%129 = call i32 @putchar(i8 noundef signext 32)
%130 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%131 = load i32, ptr %130, align 4
%132 = and i32 %131, 512
%133 = icmp ne i32 %132, 0
br i1 %133, label %134, label %136
134: ; preds = %128
%135 = call i32 @putchar(i8 noundef signext 49)
br label %138
136: ; preds = %128
%137 = call i32 @putchar(i8 noundef signext 48)
br label %138
138: ; preds = %136, %134
%139 = call i32 @putchar(i8 noundef signext 32)
%140 = call i32 @putchar(i8 noundef signext 10)
br label %144
141: ; preds = %1
%142 = load ptr, ptr %2, align 8
%143 = call i32 @perror(ptr noundef %142)
br label %144
144: ; preds = %141, %138
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @putusrname(i32 noundef) #1
declare i32 @putgrpname(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpetztr81v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showperms(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp ne i32 %5, -1
br i1 %6, label %7, label %141
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fputs(ptr noundef %8, i32 noundef %9)
%11 = call i32 @putchar(i8 noundef signext 32)
%12 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 2
%13 = load i32, ptr %12, align 4
%14 = call i32 @putusrname(i32 noundef %13)
%15 = call i32 @putchar(i8 noundef signext 32)
%16 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 1
%17 = load i32, ptr %16, align 4
%18 = call i32 @putgrpname(i32 noundef %17)
%19 = call i32 @putchar(i8 noundef signext 32)
%20 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = and i32 %21, 256
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %7
%25 = call i32 @putchar(i8 noundef signext 49)
br label %28
26: ; preds = %7
%27 = call i32 @putchar(i8 noundef signext 48)
br label %28
28: ; preds = %26, %24
%29 = call i32 @putchar(i8 noundef signext 32)
%30 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 128
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 @putchar(i8 noundef signext 49)
br label %38
36: ; preds = %28
%37 = call i32 @putchar(i8 noundef signext 48)
br label %38
38: ; preds = %36, %34
%39 = call i32 @putchar(i8 noundef signext 32)
%40 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = and i32 %41, 64
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %38
%45 = call i32 @putchar(i8 noundef signext 49)
br label %48
46: ; preds = %38
%47 = call i32 @putchar(i8 noundef signext 48)
br label %48
48: ; preds = %46, %44
%49 = call i32 @putchar(i8 noundef signext 32)
%50 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%51 = load i32, ptr %50, align 4
%52 = and i32 %51, 32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @putchar(i8 noundef signext 49)
br label %58
56: ; preds = %48
%57 = call i32 @putchar(i8 noundef signext 48)
br label %58
58: ; preds = %56, %54
%59 = call i32 @putchar(i8 noundef signext 32)
%60 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%61 = load i32, ptr %60, align 4
%62 = and i32 %61, 16
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %58
%65 = call i32 @putchar(i8 noundef signext 49)
br label %68
66: ; preds = %58
%67 = call i32 @putchar(i8 noundef signext 48)
br label %68
68: ; preds = %66, %64
%69 = call i32 @putchar(i8 noundef signext 32)
%70 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%71 = load i32, ptr %70, align 4
%72 = and i32 %71, 8
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %68
%75 = call i32 @putchar(i8 noundef signext 49)
br label %78
76: ; preds = %68
%77 = call i32 @putchar(i8 noundef signext 48)
br label %78
78: ; preds = %76, %74
%79 = call i32 @putchar(i8 noundef signext 32)
%80 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%81 = load i32, ptr %80, align 4
%82 = and i32 %81, 4
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %78
%85 = call i32 @putchar(i8 noundef signext 49)
br label %88
86: ; preds = %78
%87 = call i32 @putchar(i8 noundef signext 48)
br label %88
88: ; preds = %86, %84
%89 = call i32 @putchar(i8 noundef signext 32)
%90 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%91 = load i32, ptr %90, align 4
%92 = and i32 %91, 2
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %96
94: ; preds = %88
%95 = call i32 @putchar(i8 noundef signext 49)
br label %98
96: ; preds = %88
%97 = call i32 @putchar(i8 noundef signext 48)
br label %98
98: ; preds = %96, %94
%99 = call i32 @putchar(i8 noundef signext 32)
%100 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%101 = load i32, ptr %100, align 4
%102 = and i32 %101, 1
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %98
%105 = call i32 @putchar(i8 noundef signext 49)
br label %108
106: ; preds = %98
%107 = call i32 @putchar(i8 noundef signext 48)
br label %108
108: ; preds = %106, %104
%109 = call i32 @putchar(i8 noundef signext 32)
%110 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%111 = load i32, ptr %110, align 4
%112 = and i32 %111, 2048
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %116
114: ; preds = %108
%115 = call i32 @putchar(i8 noundef signext 49)
br label %118
116: ; preds = %108
%117 = call i32 @putchar(i8 noundef signext 48)
br label %118
118: ; preds = %116, %114
%119 = call i32 @putchar(i8 noundef signext 32)
%120 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%121 = load i32, ptr %120, align 4
%122 = and i32 %121, 1024
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %126
124: ; preds = %118
%125 = call i32 @putchar(i8 noundef signext 49)
br label %128
126: ; preds = %118
%127 = call i32 @putchar(i8 noundef signext 48)
br label %128
128: ; preds = %126, %124
%129 = call i32 @putchar(i8 noundef signext 32)
%130 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%131 = load i32, ptr %130, align 4
%132 = and i32 %131, 512
%133 = icmp ne i32 %132, 0
br i1 %133, label %134, label %136
134: ; preds = %128
%135 = call i32 @putchar(i8 noundef signext 49)
br label %138
136: ; preds = %128
%137 = call i32 @putchar(i8 noundef signext 48)
br label %138
138: ; preds = %136, %134
%139 = call i32 @putchar(i8 noundef signext 32)
%140 = call i32 @putchar(i8 noundef signext 10)
br label %144
141: ; preds = %1
%142 = load ptr, ptr %2, align 8
%143 = call i32 @perror(ptr noundef %142)
br label %144
144: ; preds = %141, %138
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @putusrname(i32 noundef) #1
declare i32 @putgrpname(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf8o0bcrr.c'
source_filename = "/tmp/tmpf8o0bcrr.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf8o0bcrr.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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3l8pu8z_.c'
source_filename = "/tmp/tmp3l8pu8z_.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: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @f()
store i32 0, ptr %2, align 4
ret i32 0
}
declare i32 @f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3l8pu8z_.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: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @f()
store i32 0, ptr %2, align 4
ret i32 0
}
declare i32 @f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0bg8or_3.c'
source_filename = "/tmp/tmp0bg8or_3.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: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @write_Z80_makefile()
%7 = call i32 (...) @write_Z80_call_table()
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write_Z80_makefile(...) #1
declare i32 @write_Z80_call_table(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0bg8or_3.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: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @write_Z80_makefile()
%7 = call i32 (...) @write_Z80_call_table()
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write_Z80_makefile(...) #1
declare i32 @write_Z80_call_table(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2oduzzwo.c'
source_filename = "/tmp/tmp2oduzzwo.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: noinline nounwind sspstrong uwtable
define dso_local void @EndRuntime() #0 {
%1 = call i32 (...) @EndAccessors()
ret void
}
declare i32 @EndAccessors(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2oduzzwo.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: noinline nounwind sspstrong uwtable
define dso_local void @EndRuntime() #0 {
%1 = call i32 (...) @EndAccessors()
ret void
}
declare i32 @EndAccessors(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpij89n1lf.c'
source_filename = "/tmp/tmpij89n1lf.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: noinline nounwind sspstrong uwtable
define dso_local void @IV2qsortUp(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp sle i32 %16, 10
br i1 %17, label %18, label %23
18: ; preds = %3
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @IV2isortUp(i32 noundef %19, ptr noundef %20, ptr noundef %21)
br label %379
23: ; preds = %3
%24 = load i32, ptr %4, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @Icentervalue(i32 noundef %24, ptr noundef %25)
store i32 %26, ptr %15, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %10, align 4
store i32 %28, ptr %9, align 4
br label %29
29: ; preds = %168, %23
br label %30
30: ; preds = %93, %29
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %34, label %42
34: ; preds = %30
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %15, align 4
%41 = icmp sle i32 %39, %40
br label %42
42: ; preds = %34, %30
%43 = phi i1 [ false, %30 ], [ %41, %34 ]
br i1 %43, label %44, label %96
44: ; preds = %42
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %15, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %93
52: ; preds = %44
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %11, align 4
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 %62, ptr %66, align 4
%67 = load i32, ptr %11, align 4
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
store i32 %67, ptr %71, align 4
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
store i32 %76, ptr %11, align 4
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %7, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
store i32 %81, ptr %85, align 4
%86 = load i32, ptr %11, align 4
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %8, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
store i32 %86, ptr %90, align 4
%91 = load i32, ptr %7, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %7, align 4
br label %93
93: ; preds = %52, %44
%94 = load i32, ptr %8, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %8, align 4
br label %30, !llvm.loop !6
96: ; preds = %42
br label %97
97: ; preds = %160, %96
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp sge i32 %98, %99
br i1 %100, label %101, label %109
101: ; preds = %97
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
%106 = load i32, ptr %105, align 4
%107 = load i32, ptr %15, align 4
%108 = icmp sge i32 %106, %107
br label %109
109: ; preds = %101, %97
%110 = phi i1 [ false, %97 ], [ %108, %101 ]
br i1 %110, label %111, label %163
111: ; preds = %109
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %9, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
%116 = load i32, ptr %115, align 4
%117 = load i32, ptr %15, align 4
%118 = icmp eq i32 %116, %117
br i1 %118, label %119, label %160
119: ; preds = %111
%120 = load ptr, ptr %5, align 8
%121 = load i32, ptr %9, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
%124 = load i32, ptr %123, align 4
store i32 %124, ptr %11, align 4
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %10, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i32, ptr %125, i64 %127
%129 = load i32, ptr %128, align 4
%130 = load ptr, ptr %5, align 8
%131 = load i32, ptr %9, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
store i32 %129, ptr %133, align 4
%134 = load i32, ptr %11, align 4
%135 = load ptr, ptr %5, align 8
%136 = load i32, ptr %10, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %135, i64 %137
store i32 %134, ptr %138, align 4
%139 = load ptr, ptr %6, align 8
%140 = load i32, ptr %9, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %139, i64 %141
%143 = load i32, ptr %142, align 4
store i32 %143, ptr %11, align 4
%144 = load ptr, ptr %6, align 8
%145 = load i32, ptr %10, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %144, i64 %146
%148 = load i32, ptr %147, align 4
%149 = load ptr, ptr %6, align 8
%150 = load i32, ptr %9, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
store i32 %148, ptr %152, align 4
%153 = load i32, ptr %11, align 4
%154 = load ptr, ptr %6, align 8
%155 = load i32, ptr %10, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, ptr %154, i64 %156
store i32 %153, ptr %157, align 4
%158 = load i32, ptr %10, align 4
%159 = add nsw i32 %158, -1
store i32 %159, ptr %10, align 4
br label %160
160: ; preds = %119, %111
%161 = load i32, ptr %9, align 4
%162 = add nsw i32 %161, -1
store i32 %162, ptr %9, align 4
br label %97, !llvm.loop !8
163: ; preds = %109
%164 = load i32, ptr %8, align 4
%165 = load i32, ptr %9, align 4
%166 = icmp sgt i32 %164, %165
br i1 %166, label %167, label %168
167: ; preds = %163
br label %211
168: ; preds = %163
%169 = load ptr, ptr %5, align 8
%170 = load i32, ptr %8, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %169, i64 %171
%173 = load i32, ptr %172, align 4
store i32 %173, ptr %11, align 4
%174 = load ptr, ptr %5, align 8
%175 = load i32, ptr %9, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
%178 = load i32, ptr %177, align 4
%179 = load ptr, ptr %5, align 8
%180 = load i32, ptr %8, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i32, ptr %179, i64 %181
store i32 %178, ptr %182, align 4
%183 = load i32, ptr %11, align 4
%184 = load ptr, ptr %5, align 8
%185 = load i32, ptr %9, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i32, ptr %184, i64 %186
store i32 %183, ptr %187, align 4
%188 = load ptr, ptr %6, align 8
%189 = load i32, ptr %8, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i32, ptr %188, i64 %190
%192 = load i32, ptr %191, align 4
store i32 %192, ptr %11, align 4
%193 = load ptr, ptr %6, align 8
%194 = load i32, ptr %9, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i32, ptr %193, i64 %195
%197 = load i32, ptr %196, align 4
%198 = load ptr, ptr %6, align 8
%199 = load i32, ptr %8, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i32, ptr %198, i64 %200
store i32 %197, ptr %201, align 4
%202 = load i32, ptr %11, align 4
%203 = load ptr, ptr %6, align 8
%204 = load i32, ptr %9, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i32, ptr %203, i64 %205
store i32 %202, ptr %206, align 4
%207 = load i32, ptr %8, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %8, align 4
%209 = load i32, ptr %9, align 4
%210 = add nsw i32 %209, -1
store i32 %210, ptr %9, align 4
br label %29
211: ; preds = %167
%212 = load i32, ptr %7, align 4
%213 = load i32, ptr %8, align 4
%214 = load i32, ptr %7, align 4
%215 = sub nsw i32 %213, %214
%216 = icmp sle i32 %212, %215
br i1 %216, label %217, label %219
217: ; preds = %211
%218 = load i32, ptr %7, align 4
br label %223
219: ; preds = %211
%220 = load i32, ptr %8, align 4
%221 = load i32, ptr %7, align 4
%222 = sub nsw i32 %220, %221
br label %223
223: ; preds = %219, %217
%224 = phi i32 [ %218, %217 ], [ %222, %219 ]
store i32 %224, ptr %14, align 4
store i32 0, ptr %12, align 4
%225 = load i32, ptr %8, align 4
%226 = load i32, ptr %14, align 4
%227 = sub nsw i32 %225, %226
store i32 %227, ptr %13, align 4
br label %228
228: ; preds = %274, %223
%229 = load i32, ptr %14, align 4
%230 = icmp ne i32 %229, 0
br i1 %230, label %231, label %277
231: ; preds = %228
%232 = load ptr, ptr %5, align 8
%233 = load i32, ptr %12, align 4
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i32, ptr %232, i64 %234
%236 = load i32, ptr %235, align 4
store i32 %236, ptr %11, align 4
%237 = load ptr, ptr %5, align 8
%238 = load i32, ptr %13, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds i32, ptr %237, i64 %239
%241 = load i32, ptr %240, align 4
%242 = load ptr, ptr %5, align 8
%243 = load i32, ptr %12, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i32, ptr %242, i64 %244
store i32 %241, ptr %245, align 4
%246 = load i32, ptr %11, align 4
%247 = load ptr, ptr %5, align 8
%248 = load i32, ptr %13, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i32, ptr %247, i64 %249
store i32 %246, ptr %250, align 4
%251 = load ptr, ptr %6, align 8
%252 = load i32, ptr %12, align 4
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds i32, ptr %251, i64 %253
%255 = load i32, ptr %254, align 4
store i32 %255, ptr %11, align 4
%256 = load ptr, ptr %6, align 8
%257 = load i32, ptr %13, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds i32, ptr %256, i64 %258
%260 = load i32, ptr %259, align 4
%261 = load ptr, ptr %6, align 8
%262 = load i32, ptr %12, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i32, ptr %261, i64 %263
store i32 %260, ptr %264, align 4
%265 = load i32, ptr %11, align 4
%266 = load ptr, ptr %6, align 8
%267 = load i32, ptr %13, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds i32, ptr %266, i64 %268
store i32 %265, ptr %269, align 4
%270 = load i32, ptr %12, align 4
%271 = add nsw i32 %270, 1
store i32 %271, ptr %12, align 4
%272 = load i32, ptr %13, align 4
%273 = add nsw i32 %272, 1
store i32 %273, ptr %13, align 4
br label %274
274: ; preds = %231
%275 = load i32, ptr %14, align 4
%276 = add nsw i32 %275, -1
store i32 %276, ptr %14, align 4
br label %228, !llvm.loop !9
277: ; preds = %228
%278 = load i32, ptr %10, align 4
%279 = load i32, ptr %9, align 4
%280 = sub nsw i32 %278, %279
%281 = load i32, ptr %4, align 4
%282 = sub nsw i32 %281, 1
%283 = load i32, ptr %10, align 4
%284 = sub nsw i32 %282, %283
%285 = icmp sle i32 %280, %284
br i1 %285, label %286, label %290
286: ; preds = %277
%287 = load i32, ptr %10, align 4
%288 = load i32, ptr %9, align 4
%289 = sub nsw i32 %287, %288
br label %295
290: ; preds = %277
%291 = load i32, ptr %4, align 4
%292 = sub nsw i32 %291, 1
%293 = load i32, ptr %10, align 4
%294 = sub nsw i32 %292, %293
br label %295
295: ; preds = %290, %286
%296 = phi i32 [ %289, %286 ], [ %294, %290 ]
store i32 %296, ptr %14, align 4
%297 = load i32, ptr %8, align 4
store i32 %297, ptr %12, align 4
%298 = load i32, ptr %4, align 4
%299 = load i32, ptr %14, align 4
%300 = sub nsw i32 %298, %299
store i32 %300, ptr %13, align 4
br label %301
301: ; preds = %347, %295
%302 = load i32, ptr %14, align 4
%303 = icmp ne i32 %302, 0
br i1 %303, label %304, label %350
304: ; preds = %301
%305 = load ptr, ptr %5, align 8
%306 = load i32, ptr %12, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds i32, ptr %305, i64 %307
%309 = load i32, ptr %308, align 4
store i32 %309, ptr %11, align 4
%310 = load ptr, ptr %5, align 8
%311 = load i32, ptr %13, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds i32, ptr %310, i64 %312
%314 = load i32, ptr %313, align 4
%315 = load ptr, ptr %5, align 8
%316 = load i32, ptr %12, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds i32, ptr %315, i64 %317
store i32 %314, ptr %318, align 4
%319 = load i32, ptr %11, align 4
%320 = load ptr, ptr %5, align 8
%321 = load i32, ptr %13, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds i32, ptr %320, i64 %322
store i32 %319, ptr %323, align 4
%324 = load ptr, ptr %6, align 8
%325 = load i32, ptr %12, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds i32, ptr %324, i64 %326
%328 = load i32, ptr %327, align 4
store i32 %328, ptr %11, align 4
%329 = load ptr, ptr %6, align 8
%330 = load i32, ptr %13, align 4
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds i32, ptr %329, i64 %331
%333 = load i32, ptr %332, align 4
%334 = load ptr, ptr %6, align 8
%335 = load i32, ptr %12, align 4
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds i32, ptr %334, i64 %336
store i32 %333, ptr %337, align 4
%338 = load i32, ptr %11, align 4
%339 = load ptr, ptr %6, align 8
%340 = load i32, ptr %13, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds i32, ptr %339, i64 %341
store i32 %338, ptr %342, align 4
%343 = load i32, ptr %12, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %12, align 4
%345 = load i32, ptr %13, align 4
%346 = add nsw i32 %345, 1
store i32 %346, ptr %13, align 4
br label %347
347: ; preds = %304
%348 = load i32, ptr %14, align 4
%349 = add nsw i32 %348, -1
store i32 %349, ptr %14, align 4
br label %301, !llvm.loop !10
350: ; preds = %301
%351 = load i32, ptr %8, align 4
%352 = load i32, ptr %7, align 4
%353 = sub nsw i32 %351, %352
%354 = load ptr, ptr %5, align 8
%355 = load ptr, ptr %6, align 8
call void @IV2qsortUp(i32 noundef %353, ptr noundef %354, ptr noundef %355)
%356 = load i32, ptr %10, align 4
%357 = load i32, ptr %9, align 4
%358 = sub nsw i32 %356, %357
%359 = load ptr, ptr %5, align 8
%360 = load i32, ptr %4, align 4
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds i32, ptr %359, i64 %361
%363 = load i32, ptr %10, align 4
%364 = load i32, ptr %9, align 4
%365 = sub nsw i32 %363, %364
%366 = sext i32 %365 to i64
%367 = sub i64 0, %366
%368 = getelementptr inbounds i32, ptr %362, i64 %367
%369 = load ptr, ptr %6, align 8
%370 = load i32, ptr %4, align 4
%371 = sext i32 %370 to i64
%372 = getelementptr inbounds i32, ptr %369, i64 %371
%373 = load i32, ptr %10, align 4
%374 = load i32, ptr %9, align 4
%375 = sub nsw i32 %373, %374
%376 = sext i32 %375 to i64
%377 = sub i64 0, %376
%378 = getelementptr inbounds i32, ptr %372, i64 %377
call void @IV2qsortUp(i32 noundef %358, ptr noundef %368, ptr noundef %378)
br label %379
379: ; preds = %350, %18
ret void
}
declare i32 @IV2isortUp(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @Icentervalue(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpij89n1lf.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: noinline nounwind sspstrong uwtable
define dso_local void @IV2qsortUp(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp sle i32 %16, 10
br i1 %17, label %18, label %23
18: ; preds = %3
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @IV2isortUp(i32 noundef %19, ptr noundef %20, ptr noundef %21)
br label %381
23: ; preds = %3
%24 = load i32, ptr %4, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @Icentervalue(i32 noundef %24, ptr noundef %25)
store i32 %26, ptr %15, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %10, align 4
store i32 %28, ptr %9, align 4
br label %29
29: ; preds = %168, %23
br label %30
30: ; preds = %93, %29
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %34, label %42
34: ; preds = %30
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %15, align 4
%41 = icmp sle i32 %39, %40
br label %42
42: ; preds = %34, %30
%43 = phi i1 [ false, %30 ], [ %41, %34 ]
br i1 %43, label %44, label %96
44: ; preds = %42
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %15, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %93
52: ; preds = %44
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %11, align 4
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 %62, ptr %66, align 4
%67 = load i32, ptr %11, align 4
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
store i32 %67, ptr %71, align 4
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
store i32 %76, ptr %11, align 4
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %7, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
store i32 %81, ptr %85, align 4
%86 = load i32, ptr %11, align 4
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %8, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
store i32 %86, ptr %90, align 4
%91 = load i32, ptr %7, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %7, align 4
br label %93
93: ; preds = %52, %44
%94 = load i32, ptr %8, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %8, align 4
br label %30, !llvm.loop !6
96: ; preds = %42
br label %97
97: ; preds = %160, %96
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp sge i32 %98, %99
br i1 %100, label %101, label %109
101: ; preds = %97
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
%106 = load i32, ptr %105, align 4
%107 = load i32, ptr %15, align 4
%108 = icmp sge i32 %106, %107
br label %109
109: ; preds = %101, %97
%110 = phi i1 [ false, %97 ], [ %108, %101 ]
br i1 %110, label %111, label %163
111: ; preds = %109
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %9, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
%116 = load i32, ptr %115, align 4
%117 = load i32, ptr %15, align 4
%118 = icmp eq i32 %116, %117
br i1 %118, label %119, label %160
119: ; preds = %111
%120 = load ptr, ptr %5, align 8
%121 = load i32, ptr %9, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
%124 = load i32, ptr %123, align 4
store i32 %124, ptr %11, align 4
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %10, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i32, ptr %125, i64 %127
%129 = load i32, ptr %128, align 4
%130 = load ptr, ptr %5, align 8
%131 = load i32, ptr %9, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
store i32 %129, ptr %133, align 4
%134 = load i32, ptr %11, align 4
%135 = load ptr, ptr %5, align 8
%136 = load i32, ptr %10, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %135, i64 %137
store i32 %134, ptr %138, align 4
%139 = load ptr, ptr %6, align 8
%140 = load i32, ptr %9, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %139, i64 %141
%143 = load i32, ptr %142, align 4
store i32 %143, ptr %11, align 4
%144 = load ptr, ptr %6, align 8
%145 = load i32, ptr %10, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %144, i64 %146
%148 = load i32, ptr %147, align 4
%149 = load ptr, ptr %6, align 8
%150 = load i32, ptr %9, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
store i32 %148, ptr %152, align 4
%153 = load i32, ptr %11, align 4
%154 = load ptr, ptr %6, align 8
%155 = load i32, ptr %10, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, ptr %154, i64 %156
store i32 %153, ptr %157, align 4
%158 = load i32, ptr %10, align 4
%159 = add nsw i32 %158, -1
store i32 %159, ptr %10, align 4
br label %160
160: ; preds = %119, %111
%161 = load i32, ptr %9, align 4
%162 = add nsw i32 %161, -1
store i32 %162, ptr %9, align 4
br label %97, !llvm.loop !8
163: ; preds = %109
%164 = load i32, ptr %8, align 4
%165 = load i32, ptr %9, align 4
%166 = icmp sgt i32 %164, %165
br i1 %166, label %167, label %168
167: ; preds = %163
br label %211
168: ; preds = %163
%169 = load ptr, ptr %5, align 8
%170 = load i32, ptr %8, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %169, i64 %171
%173 = load i32, ptr %172, align 4
store i32 %173, ptr %11, align 4
%174 = load ptr, ptr %5, align 8
%175 = load i32, ptr %9, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
%178 = load i32, ptr %177, align 4
%179 = load ptr, ptr %5, align 8
%180 = load i32, ptr %8, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i32, ptr %179, i64 %181
store i32 %178, ptr %182, align 4
%183 = load i32, ptr %11, align 4
%184 = load ptr, ptr %5, align 8
%185 = load i32, ptr %9, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i32, ptr %184, i64 %186
store i32 %183, ptr %187, align 4
%188 = load ptr, ptr %6, align 8
%189 = load i32, ptr %8, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i32, ptr %188, i64 %190
%192 = load i32, ptr %191, align 4
store i32 %192, ptr %11, align 4
%193 = load ptr, ptr %6, align 8
%194 = load i32, ptr %9, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i32, ptr %193, i64 %195
%197 = load i32, ptr %196, align 4
%198 = load ptr, ptr %6, align 8
%199 = load i32, ptr %8, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i32, ptr %198, i64 %200
store i32 %197, ptr %201, align 4
%202 = load i32, ptr %11, align 4
%203 = load ptr, ptr %6, align 8
%204 = load i32, ptr %9, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i32, ptr %203, i64 %205
store i32 %202, ptr %206, align 4
%207 = load i32, ptr %8, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %8, align 4
%209 = load i32, ptr %9, align 4
%210 = add nsw i32 %209, -1
store i32 %210, ptr %9, align 4
br label %29
211: ; preds = %167
%212 = load i32, ptr %7, align 4
%213 = load i32, ptr %8, align 4
%214 = load i32, ptr %7, align 4
%215 = sub nsw i32 %213, %214
%216 = icmp sle i32 %212, %215
br i1 %216, label %217, label %219
217: ; preds = %211
%218 = load i32, ptr %7, align 4
br label %223
219: ; preds = %211
%220 = load i32, ptr %8, align 4
%221 = load i32, ptr %7, align 4
%222 = sub nsw i32 %220, %221
br label %223
223: ; preds = %219, %217
%224 = phi i32 [ %218, %217 ], [ %222, %219 ]
store i32 %224, ptr %14, align 4
store i32 0, ptr %12, align 4
%225 = load i32, ptr %8, align 4
%226 = load i32, ptr %14, align 4
%227 = sub nsw i32 %225, %226
store i32 %227, ptr %13, align 4
%228 = load i32, ptr %14, align 4
%229 = icmp ne i32 %228, 0
br i1 %229, label %.lr.ph, label %278
.lr.ph: ; preds = %223
br label %230
230: ; preds = %.lr.ph, %273
%231 = load ptr, ptr %5, align 8
%232 = load i32, ptr %12, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i32, ptr %231, i64 %233
%235 = load i32, ptr %234, align 4
store i32 %235, ptr %11, align 4
%236 = load ptr, ptr %5, align 8
%237 = load i32, ptr %13, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds i32, ptr %236, i64 %238
%240 = load i32, ptr %239, align 4
%241 = load ptr, ptr %5, align 8
%242 = load i32, ptr %12, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds i32, ptr %241, i64 %243
store i32 %240, ptr %244, align 4
%245 = load i32, ptr %11, align 4
%246 = load ptr, ptr %5, align 8
%247 = load i32, ptr %13, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds i32, ptr %246, i64 %248
store i32 %245, ptr %249, align 4
%250 = load ptr, ptr %6, align 8
%251 = load i32, ptr %12, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds i32, ptr %250, i64 %252
%254 = load i32, ptr %253, align 4
store i32 %254, ptr %11, align 4
%255 = load ptr, ptr %6, align 8
%256 = load i32, ptr %13, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds i32, ptr %255, i64 %257
%259 = load i32, ptr %258, align 4
%260 = load ptr, ptr %6, align 8
%261 = load i32, ptr %12, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds i32, ptr %260, i64 %262
store i32 %259, ptr %263, align 4
%264 = load i32, ptr %11, align 4
%265 = load ptr, ptr %6, align 8
%266 = load i32, ptr %13, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i32, ptr %265, i64 %267
store i32 %264, ptr %268, align 4
%269 = load i32, ptr %12, align 4
%270 = add nsw i32 %269, 1
store i32 %270, ptr %12, align 4
%271 = load i32, ptr %13, align 4
%272 = add nsw i32 %271, 1
store i32 %272, ptr %13, align 4
br label %273
273: ; preds = %230
%274 = load i32, ptr %14, align 4
%275 = add nsw i32 %274, -1
store i32 %275, ptr %14, align 4
%276 = load i32, ptr %14, align 4
%277 = icmp ne i32 %276, 0
br i1 %277, label %230, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %273
br label %278
278: ; preds = %._crit_edge, %223
%279 = load i32, ptr %10, align 4
%280 = load i32, ptr %9, align 4
%281 = sub nsw i32 %279, %280
%282 = load i32, ptr %4, align 4
%283 = sub nsw i32 %282, 1
%284 = load i32, ptr %10, align 4
%285 = sub nsw i32 %283, %284
%286 = icmp sle i32 %281, %285
br i1 %286, label %287, label %291
287: ; preds = %278
%288 = load i32, ptr %10, align 4
%289 = load i32, ptr %9, align 4
%290 = sub nsw i32 %288, %289
br label %296
291: ; preds = %278
%292 = load i32, ptr %4, align 4
%293 = sub nsw i32 %292, 1
%294 = load i32, ptr %10, align 4
%295 = sub nsw i32 %293, %294
br label %296
296: ; preds = %291, %287
%297 = phi i32 [ %290, %287 ], [ %295, %291 ]
store i32 %297, ptr %14, align 4
%298 = load i32, ptr %8, align 4
store i32 %298, ptr %12, align 4
%299 = load i32, ptr %4, align 4
%300 = load i32, ptr %14, align 4
%301 = sub nsw i32 %299, %300
store i32 %301, ptr %13, align 4
%302 = load i32, ptr %14, align 4
%303 = icmp ne i32 %302, 0
br i1 %303, label %.lr.ph2, label %352
.lr.ph2: ; preds = %296
br label %304
304: ; preds = %.lr.ph2, %347
%305 = load ptr, ptr %5, align 8
%306 = load i32, ptr %12, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds i32, ptr %305, i64 %307
%309 = load i32, ptr %308, align 4
store i32 %309, ptr %11, align 4
%310 = load ptr, ptr %5, align 8
%311 = load i32, ptr %13, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds i32, ptr %310, i64 %312
%314 = load i32, ptr %313, align 4
%315 = load ptr, ptr %5, align 8
%316 = load i32, ptr %12, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds i32, ptr %315, i64 %317
store i32 %314, ptr %318, align 4
%319 = load i32, ptr %11, align 4
%320 = load ptr, ptr %5, align 8
%321 = load i32, ptr %13, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds i32, ptr %320, i64 %322
store i32 %319, ptr %323, align 4
%324 = load ptr, ptr %6, align 8
%325 = load i32, ptr %12, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds i32, ptr %324, i64 %326
%328 = load i32, ptr %327, align 4
store i32 %328, ptr %11, align 4
%329 = load ptr, ptr %6, align 8
%330 = load i32, ptr %13, align 4
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds i32, ptr %329, i64 %331
%333 = load i32, ptr %332, align 4
%334 = load ptr, ptr %6, align 8
%335 = load i32, ptr %12, align 4
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds i32, ptr %334, i64 %336
store i32 %333, ptr %337, align 4
%338 = load i32, ptr %11, align 4
%339 = load ptr, ptr %6, align 8
%340 = load i32, ptr %13, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds i32, ptr %339, i64 %341
store i32 %338, ptr %342, align 4
%343 = load i32, ptr %12, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %12, align 4
%345 = load i32, ptr %13, align 4
%346 = add nsw i32 %345, 1
store i32 %346, ptr %13, align 4
br label %347
347: ; preds = %304
%348 = load i32, ptr %14, align 4
%349 = add nsw i32 %348, -1
store i32 %349, ptr %14, align 4
%350 = load i32, ptr %14, align 4
%351 = icmp ne i32 %350, 0
br i1 %351, label %304, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %347
br label %352
352: ; preds = %._crit_edge3, %296
%353 = load i32, ptr %8, align 4
%354 = load i32, ptr %7, align 4
%355 = sub nsw i32 %353, %354
%356 = load ptr, ptr %5, align 8
%357 = load ptr, ptr %6, align 8
call void @IV2qsortUp(i32 noundef %355, ptr noundef %356, ptr noundef %357)
%358 = load i32, ptr %10, align 4
%359 = load i32, ptr %9, align 4
%360 = sub nsw i32 %358, %359
%361 = load ptr, ptr %5, align 8
%362 = load i32, ptr %4, align 4
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds i32, ptr %361, i64 %363
%365 = load i32, ptr %10, align 4
%366 = load i32, ptr %9, align 4
%367 = sub nsw i32 %365, %366
%368 = sext i32 %367 to i64
%369 = sub i64 0, %368
%370 = getelementptr inbounds i32, ptr %364, i64 %369
%371 = load ptr, ptr %6, align 8
%372 = load i32, ptr %4, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds i32, ptr %371, i64 %373
%375 = load i32, ptr %10, align 4
%376 = load i32, ptr %9, align 4
%377 = sub nsw i32 %375, %376
%378 = sext i32 %377 to i64
%379 = sub i64 0, %378
%380 = getelementptr inbounds i32, ptr %374, i64 %379
call void @IV2qsortUp(i32 noundef %360, ptr noundef %370, ptr noundef %380)
br label %381
381: ; preds = %352, %18
ret void
}
declare i32 @IV2isortUp(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @Icentervalue(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.