llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpx0e50uur.c'
source_filename = "/tmp/tmpx0e50uur.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"%f\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 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 (...) @psdjf()
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @psdjf(...) #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/tmpx0e50uur.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"%f\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 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 (...) @psdjf()
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @psdjf(...) #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/tmpwg2iqaly.c'
source_filename = "/tmp/tmpwg2iqaly.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/tmpwg2iqaly.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/tmprui8ads3.c'
source_filename = "/tmp/tmprui8ads3.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"\\\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Info_RemoveKey(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [512 x i8], align 16
%7 = alloca [512 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strstr(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
br label %109
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = add nsw i32 %17, 1
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = call ptr @calloc(i32 noundef 1, i32 noundef %19)
store ptr %20, ptr %9, align 8
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %15
br label %109
24: ; preds = %15
br label %25
25: ; preds = %24, %108
%26 = load ptr, ptr %3, align 8
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 92
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %3, align 8
br label %34
34: ; preds = %31, %25
%35 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
store ptr %35, ptr %8, align 8
br label %36
36: ; preds = %48, %34
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 92
br i1 %40, label %41, label %54
41: ; preds = %36
%42 = load ptr, ptr %3, align 8
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %48, label %45
45: ; preds = %41
%46 = load ptr, ptr %9, align 8
%47 = call i32 @free(ptr noundef %46)
br label %109
48: ; preds = %41
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %3, align 8
%51 = load i8, ptr %49, align 1
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %8, align 8
store i8 %51, ptr %52, align 1
br label %36, !llvm.loop !6
54: ; preds = %36
%55 = load ptr, ptr %8, align 8
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %3, align 8
%58 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
store ptr %58, ptr %8, align 8
br label %59
59: ; preds = %78, %54
%60 = load ptr, ptr %3, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 92
br i1 %63, label %64, label %69
64: ; preds = %59
%65 = load ptr, ptr %3, align 8
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br label %69
69: ; preds = %64, %59
%70 = phi i1 [ false, %59 ], [ %68, %64 ]
br i1 %70, label %71, label %84
71: ; preds = %69
%72 = load ptr, ptr %3, align 8
%73 = load i8, ptr %72, align 1
%74 = icmp ne i8 %73, 0
br i1 %74, label %78, label %75
75: ; preds = %71
%76 = load ptr, ptr %9, align 8
%77 = call i32 @free(ptr noundef %76)
br label %109
78: ; preds = %71
%79 = load ptr, ptr %3, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %3, align 8
%81 = load i8, ptr %79, align 1
%82 = load ptr, ptr %8, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %8, align 8
store i8 %81, ptr %82, align 1
br label %59, !llvm.loop !8
84: ; preds = %69
%85 = load ptr, ptr %8, align 8
store i8 0, ptr %85, align 1
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%88 = call i32 @strcmp(ptr noundef %86, ptr noundef %87)
%89 = icmp ne i32 %88, 0
br i1 %89, label %101, label %90
90: ; preds = %84
%91 = load ptr, ptr %9, align 8
%92 = load ptr, ptr %3, align 8
%93 = load i32, ptr %10, align 4
%94 = call i32 @strlcpy(ptr noundef %91, ptr noundef %92, i32 noundef %93)
%95 = load ptr, ptr %5, align 8
%96 = load ptr, ptr %9, align 8
%97 = load i32, ptr %10, align 4
%98 = call i32 @strlcpy(ptr noundef %95, ptr noundef %96, i32 noundef %97)
%99 = load ptr, ptr %9, align 8
%100 = call i32 @free(ptr noundef %99)
br label %109
101: ; preds = %84
%102 = load ptr, ptr %3, align 8
%103 = load i8, ptr %102, align 1
%104 = icmp ne i8 %103, 0
br i1 %104, label %108, label %105
105: ; preds = %101
%106 = load ptr, ptr %9, align 8
%107 = call i32 @free(ptr noundef %106)
br label %109
108: ; preds = %101
br label %25
109: ; preds = %105, %90, %75, %45, %23, %14
ret void
}
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlcpy(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprui8ads3.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"\\\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Info_RemoveKey(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [512 x i8], align 16
%7 = alloca [512 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strstr(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
br label %111
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = add nsw i32 %17, 1
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = call ptr @calloc(i32 noundef 1, i32 noundef %19)
store ptr %20, ptr %9, align 8
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %15
br label %111
24: ; preds = %15
br label %25
25: ; preds = %104, %24
%26 = load ptr, ptr %3, align 8
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 92
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %3, align 8
br label %34
34: ; preds = %31, %25
%35 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
store ptr %35, ptr %8, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 92
br i1 %39, label %.lr.ph, label %57
.lr.ph: ; preds = %34
br label %40
40: ; preds = %.lr.ph, %47
%41 = load ptr, ptr %3, align 8
%42 = load i8, ptr %41, align 1
%43 = icmp ne i8 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %40
%45 = load ptr, ptr %9, align 8
%46 = call i32 @free(ptr noundef %45)
br label %111
47: ; preds = %40
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %3, align 8
%50 = load i8, ptr %48, align 1
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %8, align 8
store i8 %50, ptr %51, align 1
%53 = load ptr, ptr %3, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 92
br i1 %56, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %57
57: ; preds = %._crit_edge, %34
%58 = load ptr, ptr %8, align 8
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %3, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %3, align 8
%61 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
store ptr %61, ptr %8, align 8
br label %62
62: ; preds = %81, %57
%63 = load ptr, ptr %3, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 92
br i1 %66, label %67, label %72
67: ; preds = %62
%68 = load ptr, ptr %3, align 8
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 0
br label %72
72: ; preds = %67, %62
%73 = phi i1 [ false, %62 ], [ %71, %67 ]
br i1 %73, label %74, label %87
74: ; preds = %72
%75 = load ptr, ptr %3, align 8
%76 = load i8, ptr %75, align 1
%77 = icmp ne i8 %76, 0
br i1 %77, label %81, label %78
78: ; preds = %74
%79 = load ptr, ptr %9, align 8
%80 = call i32 @free(ptr noundef %79)
br label %111
81: ; preds = %74
%82 = load ptr, ptr %3, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %3, align 8
%84 = load i8, ptr %82, align 1
%85 = load ptr, ptr %8, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %8, align 8
store i8 %84, ptr %85, align 1
br label %62, !llvm.loop !8
87: ; preds = %72
%88 = load ptr, ptr %8, align 8
store i8 0, ptr %88, align 1
%89 = load ptr, ptr %4, align 8
%90 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%91 = call i32 @strcmp(ptr noundef %89, ptr noundef %90)
%92 = icmp ne i32 %91, 0
br i1 %92, label %104, label %93
93: ; preds = %87
%94 = load ptr, ptr %9, align 8
%95 = load ptr, ptr %3, align 8
%96 = load i32, ptr %10, align 4
%97 = call i32 @strlcpy(ptr noundef %94, ptr noundef %95, i32 noundef %96)
%98 = load ptr, ptr %5, align 8
%99 = load ptr, ptr %9, align 8
%100 = load i32, ptr %10, align 4
%101 = call i32 @strlcpy(ptr noundef %98, ptr noundef %99, i32 noundef %100)
%102 = load ptr, ptr %9, align 8
%103 = call i32 @free(ptr noundef %102)
br label %111
104: ; preds = %87
%105 = load ptr, ptr %3, align 8
%106 = load i8, ptr %105, align 1
%107 = icmp ne i8 %106, 0
br i1 %107, label %25, label %108
108: ; preds = %104
%109 = load ptr, ptr %9, align 8
%110 = call i32 @free(ptr noundef %109)
br label %111
111: ; preds = %108, %93, %78, %44, %23, %14
ret void
}
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlcpy(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2ojjc9sx.c'
source_filename = "/tmp/tmp2ojjc9sx.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 @memrealloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %7, align 8
%9 = load i32, ptr %4, align 4
%10 = call ptr @memrealloc_(ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
store ptr %10, ptr %11, align 8
ret void
}
declare ptr @memrealloc_(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/tmp2ojjc9sx.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 @memrealloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %7, align 8
%9 = load i32, ptr %4, align 4
%10 = call ptr @memrealloc_(ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
store ptr %10, ptr %11, align 8
ret void
}
declare ptr @memrealloc_(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/tmpnys44vg9.c'
source_filename = "/tmp/tmpnys44vg9.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 @ZN_GPUkeypressed(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 @GPUkeypressed(i32 noundef %3)
ret void
}
declare i32 @GPUkeypressed(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/tmpnys44vg9.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 @ZN_GPUkeypressed(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 @GPUkeypressed(i32 noundef %3)
ret void
}
declare i32 @GPUkeypressed(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/tmpp173v1v9.c'
source_filename = "/tmp/tmpp173v1v9.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 [51 x i8] c"Give me a letter of the alphabet, and I will give \00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"an animal name\0Abeginning with that letter. \0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"Please type in a letter: type # to end my act. \0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"argali, a wild sheep of Asia \0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"argali, b wild sheep of Asia \0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"argali, c wild sheep of Asia \0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"argali, d wild sheep of Asia \0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"argali, e wild sheep of Asia \0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"argali, f wild sheep of Asia \0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"That 's a stumper!\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"I recognize only lowercase letters.\0A\00", align 1
@.str.11 = private unnamed_addr constant [36 x i8] c"Please type another letter or a #.\0A\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"Bye\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %49, %18, %2
%11 = call signext i8 (...) @getchar()
store i8 %11, ptr %6, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 35
br i1 %13, label %14, label %51
14: ; preds = %10
%15 = load i8, ptr %6, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 10, %16
br i1 %17, label %18, label %19
18: ; preds = %14
br label %10, !llvm.loop !6
19: ; preds = %14
%20 = load i8, ptr %6, align 1
%21 = call i64 @islower(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %41
23: ; preds = %19
%24 = load i8, ptr %6, align 1
%25 = sext i8 %24 to i32
switch i32 %25, label %38 [
i32 97, label %26
i32 98, label %28
i32 99, label %30
i32 100, label %32
i32 101, label %34
i32 102, label %36
]
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.3)
br label %40
28: ; preds = %23
%29 = call i32 @printf(ptr noundef @.str.4)
br label %40
30: ; preds = %23
%31 = call i32 @printf(ptr noundef @.str.5)
br label %40
32: ; preds = %23
%33 = call i32 @printf(ptr noundef @.str.6)
br label %40
34: ; preds = %23
%35 = call i32 @printf(ptr noundef @.str.7)
br label %40
36: ; preds = %23
%37 = call i32 @printf(ptr noundef @.str.8)
br label %40
38: ; preds = %23
%39 = call i32 @printf(ptr noundef @.str.9)
br label %40
40: ; preds = %38, %36, %34, %32, %30, %28, %26
br label %43
41: ; preds = %19
%42 = call i32 @printf(ptr noundef @.str.10)
br label %43
43: ; preds = %41, %40
br label %44
44: ; preds = %48, %43
%45 = call signext i8 (...) @getchar()
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 10
br i1 %47, label %48, label %49
48: ; preds = %44
br label %44, !llvm.loop !8
49: ; preds = %44
%50 = call i32 @printf(ptr noundef @.str.11)
br label %10, !llvm.loop !6
51: ; preds = %10
%52 = call i32 @printf(ptr noundef @.str.12)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i64 @islower(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp173v1v9.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 [51 x i8] c"Give me a letter of the alphabet, and I will give \00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"an animal name\0Abeginning with that letter. \0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"Please type in a letter: type # to end my act. \0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"argali, a wild sheep of Asia \0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"argali, b wild sheep of Asia \0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"argali, c wild sheep of Asia \0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"argali, d wild sheep of Asia \0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"argali, e wild sheep of Asia \0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"argali, f wild sheep of Asia \0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"That 's a stumper!\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"I recognize only lowercase letters.\0A\00", align 1
@.str.11 = private unnamed_addr constant [36 x i8] c"Please type another letter or a #.\0A\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"Bye\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %6, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 35
br i1 %12, label %.lr.ph, label %52
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %.backedge
%14 = load i8, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 10, %15
br i1 %16, label %17, label %21
17: ; preds = %13
br label %.backedge
.backedge: ; preds = %17, %50
%18 = call signext i8 (...) @getchar()
store i8 %18, ptr %6, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 35
br i1 %20, label %13, label %._crit_edge, !llvm.loop !6
21: ; preds = %13
%22 = load i8, ptr %6, align 1
%23 = call i64 @islower(i8 noundef signext %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %43
25: ; preds = %21
%26 = load i8, ptr %6, align 1
%27 = sext i8 %26 to i32
switch i32 %27, label %40 [
i32 97, label %28
i32 98, label %30
i32 99, label %32
i32 100, label %34
i32 101, label %36
i32 102, label %38
]
28: ; preds = %25
%29 = call i32 @printf(ptr noundef @.str.3)
br label %42
30: ; preds = %25
%31 = call i32 @printf(ptr noundef @.str.4)
br label %42
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str.5)
br label %42
34: ; preds = %25
%35 = call i32 @printf(ptr noundef @.str.6)
br label %42
36: ; preds = %25
%37 = call i32 @printf(ptr noundef @.str.7)
br label %42
38: ; preds = %25
%39 = call i32 @printf(ptr noundef @.str.8)
br label %42
40: ; preds = %25
%41 = call i32 @printf(ptr noundef @.str.9)
br label %42
42: ; preds = %40, %38, %36, %34, %32, %30, %28
br label %45
43: ; preds = %21
%44 = call i32 @printf(ptr noundef @.str.10)
br label %45
45: ; preds = %43, %42
br label %46
46: ; preds = %46, %45
%47 = call signext i8 (...) @getchar()
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 10
br i1 %49, label %46, label %50, !llvm.loop !8
50: ; preds = %46
%51 = call i32 @printf(ptr noundef @.str.11)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %52
52: ; preds = %._crit_edge, %2
%53 = call i32 @printf(ptr noundef @.str.12)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i64 @islower(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}
|
; ModuleID = '/tmp/tmplgmgcgr0.c'
source_filename = "/tmp/tmplgmgcgr0.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"
@__const.main.A = private unnamed_addr constant [6 x i32] [i32 3, i32 6, i32 0, i32 10, i32 38, i32 4], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@__const.main.A2 = private unnamed_addr constant [6 x i32] [i32 3, i32 6, i32 0, i32 10, i32 38, i32 4], align 16
@__const.main.A3 = private unnamed_addr constant [6 x i32] [i32 3, i32 6, i32 0, i32 10, i32 38, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca [6 x i32], align 16
%4 = alloca [6 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.A, i64 24, i1 false)
%5 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @parttionSelect(ptr noundef %5, i32 noundef 0, i32 noundef 5, i32 noundef 4)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.A2, i64 24, i1 false)
%8 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 0
%9 = call i32 @parttionSelect(ptr noundef %8, i32 noundef 0, i32 noundef 5, i32 noundef 1)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.A3, i64 24, i1 false)
%11 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 0
%12 = call i32 @parttionSelect(ptr noundef %11, i32 noundef 0, i32 noundef 5, i32 noundef 6)
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @parttionSelect(ptr noundef, i32 noundef, i32 noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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/tmplgmgcgr0.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"
@__const.main.A = private unnamed_addr constant [6 x i32] [i32 3, i32 6, i32 0, i32 10, i32 38, i32 4], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@__const.main.A2 = private unnamed_addr constant [6 x i32] [i32 3, i32 6, i32 0, i32 10, i32 38, i32 4], align 16
@__const.main.A3 = private unnamed_addr constant [6 x i32] [i32 3, i32 6, i32 0, i32 10, i32 38, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca [6 x i32], align 16
%4 = alloca [6 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.A, i64 24, i1 false)
%5 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @parttionSelect(ptr noundef %5, i32 noundef 0, i32 noundef 5, i32 noundef 4)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.A2, i64 24, i1 false)
%8 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 0
%9 = call i32 @parttionSelect(ptr noundef %8, i32 noundef 0, i32 noundef 5, i32 noundef 1)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.A3, i64 24, i1 false)
%11 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 0
%12 = call i32 @parttionSelect(ptr noundef %11, i32 noundef 0, i32 noundef 5, i32 noundef 6)
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @parttionSelect(ptr noundef, i32 noundef, i32 noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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/tmp7f1na9ug.c'
source_filename = "/tmp/tmp7f1na9ug.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/tmp7f1na9ug.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/tmp6cwihxp8.c'
source_filename = "/tmp/tmp6cwihxp8.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/tmp6cwihxp8.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/tmpydi4fncs.c'
source_filename = "/tmp/tmpydi4fncs.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.sockaddr_in6 = type { i32 }
@AF_INET6 = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"No Interface\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 %struct.sockaddr_in6, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @AF_INET6, align 4
%6 = load i32, ptr @SOCK_STREAM, align 4
%7 = load i32, ptr @IPPROTO_TCP, align 4
%8 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %0
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
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/tmpydi4fncs.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.sockaddr_in6 = type { i32 }
@AF_INET6 = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"No Interface\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 %struct.sockaddr_in6, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @AF_INET6, align 4
%6 = load i32, ptr @SOCK_STREAM, align 4
%7 = load i32, ptr @IPPROTO_TCP, align 4
%8 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %0
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
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/tmpviy_98sd.c'
source_filename = "/tmp/tmpviy_98sd.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/tmpviy_98sd.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/tmp899tu5ur.c'
source_filename = "/tmp/tmp899tu5ur.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 @rdyyfree(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 i32 @free(ptr noundef %3)
ret void
}
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/tmp899tu5ur.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 @rdyyfree(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 i32 @free(ptr noundef %3)
ret void
}
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/tmppwbqal87.c'
source_filename = "/tmp/tmppwbqal87.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 [51 x i8] c"Booting selected item automatically in %d seconds\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"passed=%f\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 i64, align 8
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 @printf(ptr noundef @.str, float noundef 1.000000e+01)
%12 = call i64 (...) @clock()
store i64 %12, ptr %6, align 8
store i32 10, ptr %7, align 4
store float 1.000000e+01, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = sitofp i32 %13 to float
store float %14, ptr %9, align 4
br label %15
15: ; preds = %38, %2
%16 = load float, ptr %10, align 4
%17 = fcmp olt float %16, 1.000000e+01
br i1 %17, label %18, label %39
18: ; preds = %15
%19 = call i64 (...) @clock()
%20 = load i64, ptr %6, align 8
%21 = sub nsw i64 %19, %20
%22 = sitofp i64 %21 to float
%23 = load float, ptr @CLOCKS_PER_SEC, align 4
%24 = fdiv float %22, %23
%25 = call float @ceil(float noundef %24)
store float %25, ptr %10, align 4
%26 = load float, ptr %10, align 4
%27 = fsub float 1.000000e+01, %26
%28 = load float, ptr %9, align 4
%29 = fcmp olt float %27, %28
br i1 %29, label %30, label %38
30: ; preds = %18
%31 = load float, ptr %10, align 4
%32 = fsub float 1.000000e+01, %31
store float %32, ptr %9, align 4
%33 = load float, ptr %9, align 4
%34 = fptosi float %33 to i32
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = sitofp i32 %35 to float
%37 = call i32 @printf(ptr noundef @.str, float noundef %36)
br label %38
38: ; preds = %30, %18
br label %15, !llvm.loop !6
39: ; preds = %15
%40 = load float, ptr %10, align 4
%41 = call i32 @printf(ptr noundef @.str.1, float noundef %40)
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef, float noundef) #1
declare i64 @clock(...) #1
declare float @ceil(float 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/tmppwbqal87.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 [51 x i8] c"Booting selected item automatically in %d seconds\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"passed=%f\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 i64, align 8
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 @printf(ptr noundef @.str, float noundef 1.000000e+01)
%12 = call i64 (...) @clock()
store i64 %12, ptr %6, align 8
store i32 10, ptr %7, align 4
store float 1.000000e+01, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = sitofp i32 %13 to float
store float %14, ptr %9, align 4
%15 = load float, ptr %10, align 4
%16 = fcmp olt float %15, 1.000000e+01
br i1 %16, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %37
%18 = call i64 (...) @clock()
%19 = load i64, ptr %6, align 8
%20 = sub nsw i64 %18, %19
%21 = sitofp i64 %20 to float
%22 = load float, ptr @CLOCKS_PER_SEC, align 4
%23 = fdiv float %21, %22
%24 = call float @ceil(float noundef %23)
store float %24, ptr %10, align 4
%25 = load float, ptr %10, align 4
%26 = fsub float 1.000000e+01, %25
%27 = load float, ptr %9, align 4
%28 = fcmp olt float %26, %27
br i1 %28, label %29, label %37
29: ; preds = %17
%30 = load float, ptr %10, align 4
%31 = fsub float 1.000000e+01, %30
store float %31, ptr %9, align 4
%32 = load float, ptr %9, align 4
%33 = fptosi float %32 to i32
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = sitofp i32 %34 to float
%36 = call i32 @printf(ptr noundef @.str, float noundef %35)
br label %37
37: ; preds = %29, %17
%38 = load float, ptr %10, align 4
%39 = fcmp olt float %38, 1.000000e+01
br i1 %39, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %40
40: ; preds = %._crit_edge, %2
%41 = load float, ptr %10, align 4
%42 = call i32 @printf(ptr noundef @.str.1, float noundef %41)
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @printf(ptr noundef, float noundef) #1
declare i64 @clock(...) #1
declare float @ceil(float 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/tmp2kwqctbn.c'
source_filename = "/tmp/tmp2kwqctbn.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 @usb_lld_rxcpy(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i64 @st103_get_rx_addr(i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = add nsw i64 %11, %13
%15 = load i64, ptr %8, align 8
%16 = call i32 @usb_lld_from_pmabuf(ptr noundef %9, i64 noundef %14, i64 noundef %15)
ret void
}
declare i32 @usb_lld_from_pmabuf(ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @st103_get_rx_addr(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/tmp2kwqctbn.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 @usb_lld_rxcpy(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i64 @st103_get_rx_addr(i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = add nsw i64 %11, %13
%15 = load i64, ptr %8, align 8
%16 = call i32 @usb_lld_from_pmabuf(ptr noundef %9, i64 noundef %14, i64 noundef %15)
ret void
}
declare i32 @usb_lld_from_pmabuf(ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @st103_get_rx_addr(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/tmpsz89w3bf.c'
source_filename = "/tmp/tmpsz89w3bf.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 @mpl_get_valid_matrix_length(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %31, %1
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = call i64 @mpl_is_valid_matrix_symbol(i8 noundef signext %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load i64, ptr %3, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %3, align 8
br label %28
14: ; preds = %6
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 91
br i1 %18, label %19, label %27
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = call ptr @mpl_skip_closure(ptr noundef %20, i8 noundef signext 91, i8 noundef signext 93)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = icmp ult ptr %22, null
%24 = xor i1 %23, true
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
br label %27
27: ; preds = %19, %14
br label %28
28: ; preds = %27, %11
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
br label %31
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = load i8, ptr %32, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %6, label %35, !llvm.loop !6
35: ; preds = %31
%36 = load i64, ptr %3, align 8
ret i64 %36
}
declare i64 @mpl_is_valid_matrix_symbol(i8 noundef signext) #1
declare ptr @mpl_skip_closure(ptr noundef, i8 noundef signext, i8 noundef signext) #1
declare i32 @assert(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/tmpsz89w3bf.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 @mpl_get_valid_matrix_length(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %31, %1
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = call i64 @mpl_is_valid_matrix_symbol(i8 noundef signext %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load i64, ptr %3, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %3, align 8
br label %28
14: ; preds = %6
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 91
br i1 %18, label %19, label %27
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = call ptr @mpl_skip_closure(ptr noundef %20, i8 noundef signext 91, i8 noundef signext 93)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = icmp ult ptr %22, null
%24 = xor i1 %23, true
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
br label %27
27: ; preds = %19, %14
br label %28
28: ; preds = %27, %11
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
br label %31
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = load i8, ptr %32, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %6, label %35, !llvm.loop !6
35: ; preds = %31
%36 = load i64, ptr %3, align 8
ret i64 %36
}
declare i64 @mpl_is_valid_matrix_symbol(i8 noundef signext) #1
declare ptr @mpl_skip_closure(ptr noundef, i8 noundef signext, i8 noundef signext) #1
declare i32 @assert(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/tmpifpg2ish.c'
source_filename = "/tmp/tmpifpg2ish.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/tmpifpg2ish.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/tmpl18vaq7e.c'
source_filename = "/tmp/tmpl18vaq7e.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_WRONLY = dso_local global i32 0, align 4
@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/tmpl18vaq7e.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_WRONLY = dso_local global i32 0, align 4
@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/tmp3fknotvm.c'
source_filename = "/tmp/tmp3fknotvm.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_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0x92\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x92() #0 {
%1 = call i64 @ispunct(i32 noundef 146)
%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 735, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmp3fknotvm.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_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0x92\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x92() #0 {
%1 = call i64 @ispunct(i32 noundef 146)
%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 735, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmpxblfibc3.c'
source_filename = "/tmp/tmpxblfibc3.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 [31 x i8] c"### sample_labels[i = %i] < 0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @contingency_matrix(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %13, align 4
br label %18
18: ; preds = %91, %6
%19 = load i32, ptr %13, align 4
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp slt i32 %19, %21
br i1 %22, label %23, label %94
23: ; preds = %18
store i32 0, ptr %15, align 4
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %13, align 4
%28 = mul nsw i32 %26, %27
%29 = add nsw i32 0, %28
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %24, i64 %30
%32 = load double, ptr %31, align 8
store double %32, ptr %16, align 8
store i32 1, ptr %14, align 4
br label %33
33: ; preds = %64, %23
%34 = load i32, ptr %14, align 4
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %35, align 4
%37 = icmp slt i32 %34, %36
br i1 %37, label %38, label %67
38: ; preds = %33
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %14, align 4
%41 = load ptr, ptr %9, align 8
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %13, align 4
%44 = mul nsw i32 %42, %43
%45 = add nsw i32 %40, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %39, i64 %46
%48 = load double, ptr %47, align 8
%49 = load double, ptr %16, align 8
%50 = fcmp ogt double %48, %49
br i1 %50, label %51, label %63
51: ; preds = %38
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %14, align 4
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr %13, align 4
%57 = mul nsw i32 %55, %56
%58 = add nsw i32 %53, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %52, i64 %59
%61 = load double, ptr %60, align 8
store double %61, ptr %16, align 8
%62 = load i32, ptr %14, align 4
store i32 %62, ptr %15, align 4
br label %63
63: ; preds = %51, %38
br label %64
64: ; preds = %63
%65 = load i32, ptr %14, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %14, align 4
br label %33, !llvm.loop !6
67: ; preds = %33
%68 = load ptr, ptr %8, align 8
%69 = load i32, ptr %13, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = sub nsw i32 %72, 1
store i32 %73, ptr %17, align 4
%74 = load i32, ptr %17, align 4
%75 = icmp slt i32 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %67
%77 = load i32, ptr %13, align 4
%78 = call i32 @printf(ptr noundef @.str, i32 noundef %77)
br label %94
79: ; preds = %67
%80 = load ptr, ptr %12, align 8
%81 = load i32, ptr %17, align 4
%82 = load ptr, ptr %11, align 8
%83 = load i32, ptr %82, align 4
%84 = load i32, ptr %15, align 4
%85 = mul nsw i32 %83, %84
%86 = add nsw i32 %81, %85
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %80, i64 %87
%89 = load i32, ptr %88, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %88, align 4
br label %91
91: ; preds = %79
%92 = load i32, ptr %13, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %13, align 4
br label %18, !llvm.loop !8
94: ; preds = %76, %18
ret void
}
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxblfibc3.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 [31 x i8] c"### sample_labels[i = %i] < 0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @contingency_matrix(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %13, align 4
%18 = load i32, ptr %13, align 4
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %19, align 4
%21 = icmp slt i32 %18, %20
br i1 %21, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %6
br label %22
22: ; preds = %.lr.ph2, %93
store i32 0, ptr %15, align 4
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %13, align 4
%27 = mul nsw i32 %25, %26
%28 = add nsw i32 0, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %23, i64 %29
%31 = load double, ptr %30, align 8
store double %31, ptr %16, align 8
store i32 1, ptr %14, align 4
%32 = load i32, ptr %14, align 4
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %33, align 4
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph, label %69
.lr.ph: ; preds = %22
br label %36
36: ; preds = %.lr.ph, %62
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %14, align 4
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %13, align 4
%42 = mul nsw i32 %40, %41
%43 = add nsw i32 %38, %42
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %37, i64 %44
%46 = load double, ptr %45, align 8
%47 = load double, ptr %16, align 8
%48 = fcmp ogt double %46, %47
br i1 %48, label %49, label %61
49: ; preds = %36
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %14, align 4
%52 = load ptr, ptr %9, align 8
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %13, align 4
%55 = mul nsw i32 %53, %54
%56 = add nsw i32 %51, %55
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %50, i64 %57
%59 = load double, ptr %58, align 8
store double %59, ptr %16, align 8
%60 = load i32, ptr %14, align 4
store i32 %60, ptr %15, align 4
br label %61
61: ; preds = %49, %36
br label %62
62: ; preds = %61
%63 = load i32, ptr %14, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %14, align 4
%65 = load i32, ptr %14, align 4
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %66, align 4
%68 = icmp slt i32 %65, %67
br i1 %68, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %69
69: ; preds = %._crit_edge, %22
%70 = load ptr, ptr %8, align 8
%71 = load i32, ptr %13, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = sub nsw i32 %74, 1
store i32 %75, ptr %17, align 4
%76 = load i32, ptr %17, align 4
%77 = icmp slt i32 %76, 0
br i1 %77, label %78, label %81
78: ; preds = %69
%79 = load i32, ptr %13, align 4
%80 = call i32 @printf(ptr noundef @.str, i32 noundef %79)
br label %100
81: ; preds = %69
%82 = load ptr, ptr %12, align 8
%83 = load i32, ptr %17, align 4
%84 = load ptr, ptr %11, align 8
%85 = load i32, ptr %84, align 4
%86 = load i32, ptr %15, align 4
%87 = mul nsw i32 %85, %86
%88 = add nsw i32 %83, %87
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %82, i64 %89
%91 = load i32, ptr %90, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %90, align 4
br label %93
93: ; preds = %81
%94 = load i32, ptr %13, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = load ptr, ptr %10, align 8
%98 = load i32, ptr %97, align 4
%99 = icmp slt i32 %96, %98
br i1 %99, label %22, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %93
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %6
br label %100
100: ; preds = %.loopexit, %78
ret void
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpepvbqdlu.c'
source_filename = "/tmp/tmpepvbqdlu.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 [25 x i8] c"Usage: %s <cmd1> <cmd2>\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"pipe() failed\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"foek() failed\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"dup2() failed\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"execlp() failed\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 [2 x i32], align 4
%7 = alloca i32, align 4
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 3
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%20 = call i32 @pipe(ptr noundef %19)
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = call i32 @perror(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %18
%26 = call i32 (...) @fork()
store i32 %26, ptr %8, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = call i32 @exit(i32 noundef 2) #3
unreachable
31: ; preds = %25
%32 = load i32, ptr %8, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %58
34: ; preds = %31
%35 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%39 = load i32, ptr %38, align 4
%40 = call i32 @dup2(i32 noundef %39, i32 noundef 0)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %45
42: ; preds = %34
%43 = call i32 @perror(ptr noundef @.str.3)
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
45: ; preds = %34
%46 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%47 = load i32, ptr %46, align 4
%48 = call i32 @close(i32 noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 2
%51 = load ptr, ptr %50, align 8
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 2
%54 = load ptr, ptr %53, align 8
%55 = call i32 @execlp(ptr noundef %51, ptr noundef %54, ptr noundef null)
%56 = call i32 @perror(ptr noundef @.str.4)
%57 = call i32 @exit(i32 noundef 1) #3
unreachable
58: ; preds = %31
%59 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%60 = load i32, ptr %59, align 4
%61 = call i32 @close(i32 noundef %60)
%62 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%63 = load i32, ptr %62, align 4
%64 = call i32 @dup2(i32 noundef %63, i32 noundef 1)
%65 = icmp eq i32 %64, -1
br i1 %65, label %66, label %69
66: ; preds = %58
%67 = call i32 @perror(ptr noundef @.str.3)
%68 = call i32 @exit(i32 noundef 1) #3
unreachable
69: ; preds = %58
%70 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%71 = load i32, ptr %70, align 4
%72 = call i32 @close(i32 noundef %71)
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 1
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds ptr, ptr %76, i64 1
%78 = load ptr, ptr %77, align 8
%79 = call i32 @execlp(ptr noundef %75, ptr noundef %78, ptr noundef null)
%80 = call i32 @perror(ptr noundef @.str.4)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execlp(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" }
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/tmpepvbqdlu.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 [25 x i8] c"Usage: %s <cmd1> <cmd2>\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"pipe() failed\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"foek() failed\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"dup2() failed\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"execlp() failed\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 [2 x i32], align 4
%7 = alloca i32, align 4
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 3
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%20 = call i32 @pipe(ptr noundef %19)
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = call i32 @perror(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %18
%26 = call i32 (...) @fork()
store i32 %26, ptr %8, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = call i32 @exit(i32 noundef 2) #3
unreachable
31: ; preds = %25
%32 = load i32, ptr %8, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %58
34: ; preds = %31
%35 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%39 = load i32, ptr %38, align 4
%40 = call i32 @dup2(i32 noundef %39, i32 noundef 0)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %45
42: ; preds = %34
%43 = call i32 @perror(ptr noundef @.str.3)
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
45: ; preds = %34
%46 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%47 = load i32, ptr %46, align 4
%48 = call i32 @close(i32 noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 2
%51 = load ptr, ptr %50, align 8
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 2
%54 = load ptr, ptr %53, align 8
%55 = call i32 @execlp(ptr noundef %51, ptr noundef %54, ptr noundef null)
%56 = call i32 @perror(ptr noundef @.str.4)
%57 = call i32 @exit(i32 noundef 1) #3
unreachable
58: ; preds = %31
%59 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%60 = load i32, ptr %59, align 4
%61 = call i32 @close(i32 noundef %60)
%62 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%63 = load i32, ptr %62, align 4
%64 = call i32 @dup2(i32 noundef %63, i32 noundef 1)
%65 = icmp eq i32 %64, -1
br i1 %65, label %66, label %69
66: ; preds = %58
%67 = call i32 @perror(ptr noundef @.str.3)
%68 = call i32 @exit(i32 noundef 1) #3
unreachable
69: ; preds = %58
%70 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%71 = load i32, ptr %70, align 4
%72 = call i32 @close(i32 noundef %71)
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 1
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds ptr, ptr %76, i64 1
%78 = load ptr, ptr %77, align 8
%79 = call i32 @execlp(ptr noundef %75, ptr noundef %78, ptr noundef null)
%80 = call i32 @perror(ptr noundef @.str.4)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execlp(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" }
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/tmpu5vv307w.c'
source_filename = "/tmp/tmpu5vv307w.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"HELLO\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Case %d: ENGLISH\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"HOLA\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Case %d: SPANISH\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"HALLO\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Case %d: GERMAN\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"BONJOUR\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Case %d: FRENCH\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"CIAO\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"Case %d: ITALIAN\0A\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"ZDRAVSTVUJTE\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"Case %d: RUSSIAN\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"Case %d: UNKNOWN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %64, %0
%5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%6 = call i64 @gets(ptr noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %67
8: ; preds = %4
%9 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%10 = load i8, ptr %9, align 16
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 35
br i1 %12, label %13, label %14
13: ; preds = %8
br label %67
14: ; preds = %8
%15 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19)
br label %64
21: ; preds = %14
%22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.2)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %21
%26 = load i32, ptr %3, align 4
%27 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26)
br label %63
28: ; preds = %21
%29 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.4)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load i32, ptr %3, align 4
%34 = call i32 @printf(ptr noundef @.str.5, i32 noundef %33)
br label %62
35: ; preds = %28
%36 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.6)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load i32, ptr %3, align 4
%41 = call i32 @printf(ptr noundef @.str.7, i32 noundef %40)
br label %61
42: ; preds = %35
%43 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%44 = call i64 @strcmp(ptr noundef %43, ptr noundef @.str.8)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %42
%47 = load i32, ptr %3, align 4
%48 = call i32 @printf(ptr noundef @.str.9, i32 noundef %47)
br label %60
49: ; preds = %42
%50 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.10)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr %3, align 4
%55 = call i32 @printf(ptr noundef @.str.11, i32 noundef %54)
br label %59
56: ; preds = %49
%57 = load i32, ptr %3, align 4
%58 = call i32 @printf(ptr noundef @.str.12, i32 noundef %57)
br label %59
59: ; preds = %56, %53
br label %60
60: ; preds = %59, %46
br label %61
61: ; preds = %60, %39
br label %62
62: ; preds = %61, %32
br label %63
63: ; preds = %62, %25
br label %64
64: ; preds = %63, %18
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
br label %4, !llvm.loop !6
67: ; preds = %13, %4
ret i32 0
}
declare i64 @gets(ptr noundef) #1
declare i64 @strcmp(ptr noundef, 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/tmpu5vv307w.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"HELLO\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Case %d: ENGLISH\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"HOLA\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Case %d: SPANISH\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"HALLO\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Case %d: GERMAN\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"BONJOUR\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Case %d: FRENCH\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"CIAO\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"Case %d: ITALIAN\0A\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"ZDRAVSTVUJTE\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"Case %d: RUSSIAN\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"Case %d: UNKNOWN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%5 = call i64 @gets(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %63
%8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%9 = load i8, ptr %8, align 16
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 35
br i1 %11, label %12, label %13
12: ; preds = %7
br label %68
13: ; preds = %7
%14 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18)
br label %63
20: ; preds = %13
%21 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr %3, align 4
%26 = call i32 @printf(ptr noundef @.str.3, i32 noundef %25)
br label %62
27: ; preds = %20
%28 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.4)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = call i32 @printf(ptr noundef @.str.5, i32 noundef %32)
br label %61
34: ; preds = %27
%35 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.6)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = call i32 @printf(ptr noundef @.str.7, i32 noundef %39)
br label %60
41: ; preds = %34
%42 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.8)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = load i32, ptr %3, align 4
%47 = call i32 @printf(ptr noundef @.str.9, i32 noundef %46)
br label %59
48: ; preds = %41
%49 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.10)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = load i32, ptr %3, align 4
%54 = call i32 @printf(ptr noundef @.str.11, i32 noundef %53)
br label %58
55: ; preds = %48
%56 = load i32, ptr %3, align 4
%57 = call i32 @printf(ptr noundef @.str.12, i32 noundef %56)
br label %58
58: ; preds = %55, %52
br label %59
59: ; preds = %58, %45
br label %60
60: ; preds = %59, %38
br label %61
61: ; preds = %60, %31
br label %62
62: ; preds = %61, %24
br label %63
63: ; preds = %62, %17
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %3, align 4
%66 = call i64 @gets(ptr noundef %4)
%67 = icmp ne i64 %66, 0
br i1 %67, label %7, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %63
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %68
68: ; preds = %.loopexit, %12
ret i32 0
}
declare i64 @gets(ptr noundef) #1
declare i64 @strcmp(ptr noundef, 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/tmp1m9iejsg.c'
source_filename = "/tmp/tmp1m9iejsg.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/tmp1m9iejsg.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/tmpgfwj9uh1.c'
source_filename = "/tmp/tmpgfwj9uh1.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 float 0.000000e+00, 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/tmpgfwj9uh1.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 float 0.000000e+00, 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/tmp0nglbplu.c'
source_filename = "/tmp/tmp0nglbplu.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"No cards in the discard pile. Sucks to suck.\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Cannot have two of the same card!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Halicarnassus(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [150 x i32], align 16
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = call i32 (...) @data_numplayers()
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 0
%9 = call i32 @data_getdiscards(ptr noundef %8)
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %22, %1
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %6, align 4
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %20
17: ; preds = %10
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 50
br label %20
20: ; preds = %17, %10
%21 = phi i1 [ false, %10 ], [ %19, %17 ]
br i1 %21, label %22, label %23
22: ; preds = %20
br label %10, !llvm.loop !6
23: ; preds = %20
%24 = load i32, ptr %6, align 4
%25 = sdiv i32 %24, 2
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @postmessage(ptr noundef @.str)
br label %162
30: ; preds = %23
br label %31
31: ; preds = %30, %161
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %2, align 4
%35 = call i32 @view_refresh(i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef 1)
%36 = call i32 (...) @io_getkey()
switch i32 %36, label %101 [
i32 2, label %37
i32 3, label %40
i32 1, label %43
i32 0, label %46
i32 9, label %49
i32 104, label %55
i32 4, label %57
]
37: ; preds = %31
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %4, align 4
br label %102
40: ; preds = %31
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
br label %102
43: ; preds = %31
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %102
46: ; preds = %31
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %102
49: ; preds = %31
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 1
%52 = call i32 (...) @data_numplayers()
%53 = add nsw i32 %52, 1
%54 = srem i32 %51, %53
store i32 %54, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %102
55: ; preds = %31
%56 = call i32 (...) @posthelp()
br label %102
57: ; preds = %31
%58 = load i32, ptr %2, align 4
%59 = load i32, ptr %4, align 4
%60 = mul nsw i32 %59, 2
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr %4, align 4
%65 = mul nsw i32 %64, 2
%66 = add nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = call i32 @data_hasbuiltname(i32 noundef %58, i32 noundef %63, i32 noundef %69)
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %57
%73 = call i32 @postmessage(ptr noundef @.str.1)
br label %100
74: ; preds = %57
%75 = load i32, ptr %2, align 4
%76 = load i32, ptr %4, align 4
%77 = mul nsw i32 %76, 2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %78
%80 = load i32, ptr %79, align 4
%81 = load i32, ptr %4, align 4
%82 = mul nsw i32 %81, 2
%83 = add nsw i32 %82, 1
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = call i32 @data_freebuild(i32 noundef %75, i32 noundef %80, i32 noundef %86)
%88 = load i32, ptr %4, align 4
%89 = mul nsw i32 %88, 2
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %90
%92 = load i32, ptr %91, align 4
%93 = load i32, ptr %4, align 4
%94 = mul nsw i32 %93, 2
%95 = add nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %96
%98 = load i32, ptr %97, align 4
%99 = call i32 @data_deletediscard(i32 noundef %92, i32 noundef %98)
br label %162
100: ; preds = %72
br label %102
101: ; preds = %31
br label %102
102: ; preds = %101, %100, %55, %49, %46, %43, %40, %37
%103 = load i32, ptr %3, align 4
%104 = icmp slt i32 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %102
%106 = call i32 (...) @data_numplayers()
store i32 %106, ptr %3, align 4
br label %107
107: ; preds = %105, %102
%108 = load i32, ptr %3, align 4
%109 = call i32 (...) @data_numplayers()
%110 = add nsw i32 %109, 1
%111 = srem i32 %108, %110
store i32 %111, ptr %3, align 4
%112 = load i32, ptr %3, align 4
%113 = call i32 (...) @data_numplayers()
%114 = icmp eq i32 %112, %113
br i1 %114, label %115, label %127
115: ; preds = %107
%116 = load i32, ptr %4, align 4
%117 = icmp slt i32 %116, 0
br i1 %117, label %118, label %121
118: ; preds = %115
%119 = load i32, ptr %6, align 4
%120 = sub nsw i32 %119, 1
store i32 %120, ptr %4, align 4
br label %121
121: ; preds = %118, %115
%122 = load i32, ptr %4, align 4
%123 = load i32, ptr %6, align 4
%124 = icmp sge i32 %122, %123
br i1 %124, label %125, label %126
125: ; preds = %121
store i32 0, ptr %4, align 4
br label %126
126: ; preds = %125, %121
br label %161
127: ; preds = %107
%128 = load i32, ptr %4, align 4
%129 = icmp slt i32 %128, 0
br i1 %129, label %130, label %145
130: ; preds = %127
%131 = load i32, ptr %2, align 4
%132 = load i32, ptr %3, align 4
%133 = add nsw i32 %131, %132
%134 = call i32 (...) @data_numplayers()
%135 = srem i32 %133, %134
%136 = call i32 @wonder_numstages(i32 noundef %135)
%137 = load i32, ptr %2, align 4
%138 = load i32, ptr %3, align 4
%139 = call i32 (...) @data_numplayers()
%140 = srem i32 %138, %139
%141 = add nsw i32 %137, %140
%142 = call i32 @data_numbuilt(i32 noundef %141)
%143 = add nsw i32 %136, %142
%144 = sub nsw i32 %143, 1
store i32 %144, ptr %4, align 4
br label %145
145: ; preds = %130, %127
%146 = load i32, ptr %4, align 4
%147 = load i32, ptr %2, align 4
%148 = load i32, ptr %3, align 4
%149 = add nsw i32 %147, %148
%150 = call i32 (...) @data_numplayers()
%151 = srem i32 %149, %150
%152 = call i32 @wonder_numstages(i32 noundef %151)
%153 = load i32, ptr %2, align 4
%154 = load i32, ptr %3, align 4
%155 = call i32 (...) @data_numplayers()
%156 = srem i32 %154, %155
%157 = add nsw i32 %153, %156
%158 = call i32 @data_numbuilt(i32 noundef %157)
%159 = add nsw i32 %152, %158
%160 = srem i32 %146, %159
store i32 %160, ptr %4, align 4
br label %161
161: ; preds = %145, %126
br label %31
162: ; preds = %74, %28
ret void
}
declare i32 @data_numplayers(...) #1
declare i32 @data_getdiscards(ptr noundef) #1
declare i32 @postmessage(ptr noundef) #1
declare i32 @view_refresh(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @io_getkey(...) #1
declare i32 @posthelp(...) #1
declare i32 @data_hasbuiltname(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @data_freebuild(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @data_deletediscard(i32 noundef, i32 noundef) #1
declare i32 @wonder_numstages(i32 noundef) #1
declare i32 @data_numbuilt(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/tmp0nglbplu.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"No cards in the discard pile. Sucks to suck.\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Cannot have two of the same card!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Halicarnassus(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [150 x i32], align 16
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = call i32 (...) @data_numplayers()
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 0
%9 = call i32 @data_getdiscards(ptr noundef %8)
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %20, %1
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %6, align 4
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %20
17: ; preds = %10
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 50
br label %20
20: ; preds = %17, %10
%21 = phi i1 [ false, %10 ], [ %19, %17 ]
br i1 %21, label %10, label %22, !llvm.loop !6
22: ; preds = %20
%23 = load i32, ptr %6, align 4
%24 = sdiv i32 %23, 2
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @postmessage(ptr noundef @.str)
br label %161
29: ; preds = %22
br label %30
30: ; preds = %160, %29
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %2, align 4
%34 = call i32 @view_refresh(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 1)
%35 = call i32 (...) @io_getkey()
switch i32 %35, label %100 [
i32 2, label %36
i32 3, label %39
i32 1, label %42
i32 0, label %45
i32 9, label %48
i32 104, label %54
i32 4, label %56
]
36: ; preds = %30
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %4, align 4
br label %101
39: ; preds = %30
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
br label %101
42: ; preds = %30
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %101
45: ; preds = %30
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %101
48: ; preds = %30
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
%51 = call i32 (...) @data_numplayers()
%52 = add nsw i32 %51, 1
%53 = srem i32 %50, %52
store i32 %53, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %101
54: ; preds = %30
%55 = call i32 (...) @posthelp()
br label %101
56: ; preds = %30
%57 = load i32, ptr %2, align 4
%58 = load i32, ptr %4, align 4
%59 = mul nsw i32 %58, 2
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load i32, ptr %4, align 4
%64 = mul nsw i32 %63, 2
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = call i32 @data_hasbuiltname(i32 noundef %57, i32 noundef %62, i32 noundef %68)
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %56
%72 = call i32 @postmessage(ptr noundef @.str.1)
br label %99
73: ; preds = %56
%74 = load i32, ptr %2, align 4
%75 = load i32, ptr %4, align 4
%76 = mul nsw i32 %75, 2
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = load i32, ptr %4, align 4
%81 = mul nsw i32 %80, 2
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = call i32 @data_freebuild(i32 noundef %74, i32 noundef %79, i32 noundef %85)
%87 = load i32, ptr %4, align 4
%88 = mul nsw i32 %87, 2
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %89
%91 = load i32, ptr %90, align 4
%92 = load i32, ptr %4, align 4
%93 = mul nsw i32 %92, 2
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [150 x i32], ptr %5, i64 0, i64 %95
%97 = load i32, ptr %96, align 4
%98 = call i32 @data_deletediscard(i32 noundef %91, i32 noundef %97)
br label %161
99: ; preds = %71
br label %101
100: ; preds = %30
br label %101
101: ; preds = %100, %99, %54, %48, %45, %42, %39, %36
%102 = load i32, ptr %3, align 4
%103 = icmp slt i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %101
%105 = call i32 (...) @data_numplayers()
store i32 %105, ptr %3, align 4
br label %106
106: ; preds = %104, %101
%107 = load i32, ptr %3, align 4
%108 = call i32 (...) @data_numplayers()
%109 = add nsw i32 %108, 1
%110 = srem i32 %107, %109
store i32 %110, ptr %3, align 4
%111 = load i32, ptr %3, align 4
%112 = call i32 (...) @data_numplayers()
%113 = icmp eq i32 %111, %112
br i1 %113, label %114, label %126
114: ; preds = %106
%115 = load i32, ptr %4, align 4
%116 = icmp slt i32 %115, 0
br i1 %116, label %117, label %120
117: ; preds = %114
%118 = load i32, ptr %6, align 4
%119 = sub nsw i32 %118, 1
store i32 %119, ptr %4, align 4
br label %120
120: ; preds = %117, %114
%121 = load i32, ptr %4, align 4
%122 = load i32, ptr %6, align 4
%123 = icmp sge i32 %121, %122
br i1 %123, label %124, label %125
124: ; preds = %120
store i32 0, ptr %4, align 4
br label %125
125: ; preds = %124, %120
br label %160
126: ; preds = %106
%127 = load i32, ptr %4, align 4
%128 = icmp slt i32 %127, 0
br i1 %128, label %129, label %144
129: ; preds = %126
%130 = load i32, ptr %2, align 4
%131 = load i32, ptr %3, align 4
%132 = add nsw i32 %130, %131
%133 = call i32 (...) @data_numplayers()
%134 = srem i32 %132, %133
%135 = call i32 @wonder_numstages(i32 noundef %134)
%136 = load i32, ptr %2, align 4
%137 = load i32, ptr %3, align 4
%138 = call i32 (...) @data_numplayers()
%139 = srem i32 %137, %138
%140 = add nsw i32 %136, %139
%141 = call i32 @data_numbuilt(i32 noundef %140)
%142 = add nsw i32 %135, %141
%143 = sub nsw i32 %142, 1
store i32 %143, ptr %4, align 4
br label %144
144: ; preds = %129, %126
%145 = load i32, ptr %4, align 4
%146 = load i32, ptr %2, align 4
%147 = load i32, ptr %3, align 4
%148 = add nsw i32 %146, %147
%149 = call i32 (...) @data_numplayers()
%150 = srem i32 %148, %149
%151 = call i32 @wonder_numstages(i32 noundef %150)
%152 = load i32, ptr %2, align 4
%153 = load i32, ptr %3, align 4
%154 = call i32 (...) @data_numplayers()
%155 = srem i32 %153, %154
%156 = add nsw i32 %152, %155
%157 = call i32 @data_numbuilt(i32 noundef %156)
%158 = add nsw i32 %151, %157
%159 = srem i32 %145, %158
store i32 %159, ptr %4, align 4
br label %160
160: ; preds = %144, %125
br label %30
161: ; preds = %73, %27
ret void
}
declare i32 @data_numplayers(...) #1
declare i32 @data_getdiscards(ptr noundef) #1
declare i32 @postmessage(ptr noundef) #1
declare i32 @view_refresh(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @io_getkey(...) #1
declare i32 @posthelp(...) #1
declare i32 @data_hasbuiltname(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @data_freebuild(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @data_deletediscard(i32 noundef, i32 noundef) #1
declare i32 @wonder_numstages(i32 noundef) #1
declare i32 @data_numbuilt(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/tmpz5to1diy.c'
source_filename = "/tmp/tmpz5to1diy.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"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\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 ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %4, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %5, align 8
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %20, %0
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %10, i64 %17
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %11, !llvm.loop !6
23: ; preds = %11
%24 = load i32, ptr %2, align 4
%25 = call i32 @revstr(ptr noundef %10, i32 noundef %24)
%26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
store i32 0, ptr %1, align 4
%27 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %27)
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @revstr(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5to1diy.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"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\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 ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %4, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %5, align 8
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %19
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %10, i64 %16
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17)
br label %19
19: ; preds = %14
%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 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
%26 = load i32, ptr %2, align 4
%27 = call i32 @revstr(ptr noundef %10, i32 noundef %26)
%28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
store i32 0, ptr %1, align 4
%29 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %29)
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @revstr(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr 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"}
|
; ModuleID = '/tmp/tmpva_7sksh.c'
source_filename = "/tmp/tmpva_7sksh.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 @ndb_df_getReadHandle(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret ptr null
}
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/tmpva_7sksh.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 @ndb_df_getReadHandle(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret ptr null
}
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/tmpgaup5gnx.c'
source_filename = "/tmp/tmpgaup5gnx.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/tmpgaup5gnx.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/tmpkkrv33oj.c'
source_filename = "/tmp/tmpkkrv33oj.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_digit(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp sle i32 %8, 57
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
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/tmpkkrv33oj.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_digit(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp sle i32 %8, 57
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
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/tmpwrb3skfz.c'
source_filename = "/tmp/tmpwrb3skfz.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 [5 x i8] c"0x%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c". \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [5 x i8], align 1
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
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %42
14: ; preds = %2
store i32 1, ptr %7, align 4
br label %15
15: ; preds = %37, %14
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %40
19: ; preds = %15
%20 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, ptr noundef %25)
%27 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0
%28 = call i32 @strtol(ptr noundef %27, ptr noundef null, i32 noundef 16)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %29, 30
br i1 %30, label %31, label %33
31: ; preds = %19
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %36
33: ; preds = %19
%34 = load i32, ptr %9, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
br label %36
36: ; preds = %33, %31
br label %37
37: ; preds = %36
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %15, !llvm.loop !6
40: ; preds = %15
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %40, %13
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
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/tmpwrb3skfz.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 [5 x i8] c"0x%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c". \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [5 x i8], align 1
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
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %44
14: ; preds = %2
store i32 1, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %42
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %36
%19 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, ptr noundef %24)
%26 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0
%27 = call i32 @strtol(ptr noundef %26, ptr noundef null, i32 noundef 16)
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp slt i32 %28, 30
br i1 %29, label %30, label %32
30: ; preds = %18
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %35
32: ; preds = %18
%33 = load i32, ptr %9, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
br label %35
35: ; preds = %32, %30
br label %36
36: ; preds = %35
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %14
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %42, %13
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
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/tmpt5i15c5g.c'
source_filename = "/tmp/tmpt5i15c5g.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 [23 x i8] c"program runs normally\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
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/tmpt5i15c5g.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 [23 x i8] c"program runs normally\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
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/tmpbs0rzrag.c'
source_filename = "/tmp/tmpbs0rzrag.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/tmpbs0rzrag.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/tmpnvrmtxqj.c'
source_filename = "/tmp/tmpnvrmtxqj.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 [36 x i8] c"\09 This is a paragon of commenting \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
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/tmpnvrmtxqj.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 [36 x i8] c"\09 This is a paragon of commenting \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
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/tmpq4sufydo.c'
source_filename = "/tmp/tmpq4sufydo.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 [11 x i8] c"In main.c\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Calling CallLib() from main.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 (...) @CallLib()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @CallLib(...) #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/tmpq4sufydo.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 [11 x i8] c"In main.c\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Calling CallLib() from main.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 (...) @CallLib()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @CallLib(...) #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/tmpypo5237x.c'
source_filename = "/tmp/tmpypo5237x.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 @wcsncat(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @wcslen(ptr noundef %8)
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %7, i64 %10
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = call i32 @wcsncpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @wcsncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @wcslen(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/tmpypo5237x.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 @wcsncat(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @wcslen(ptr noundef %8)
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %7, i64 %10
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = call i32 @wcsncpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @wcsncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @wcslen(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/tmpn5ndqdpp.c'
source_filename = "/tmp/tmpn5ndqdpp.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 [65 x i8] c"I'm time_cb,here [EventLoop: %p],[id : %lld],[data: %s],pid=%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @timerCallback(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
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 (...) @getpid()
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i64 noundef %8, ptr noundef %9, i32 noundef %10)
ret i32 5000
}
declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #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/tmpn5ndqdpp.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 [65 x i8] c"I'm time_cb,here [EventLoop: %p],[id : %lld],[data: %s],pid=%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @timerCallback(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
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 (...) @getpid()
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i64 noundef %8, ptr noundef %9, i32 noundef %10)
ret i32 5000
}
declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #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/tmpo2seqr_u.c'
source_filename = "/tmp/tmpo2seqr_u.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 [125 x i8] c"Problem 6: The difference between the sum of the squares of the first %u natural numbers and the square of their sum is %u.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @problem6(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %7
7: ; preds = %17, %1
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp ule i32 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = mul nsw i32 %12, %13
%15 = load i32, ptr %3, align 4
%16 = add i32 %15, %14
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %11
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
store i32 1, ptr %6, align 4
br label %21
21: ; preds = %29, %20
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp ule i32 %22, %23
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %4, align 4
%28 = add i32 %27, %26
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %21, !llvm.loop !8
32: ; preds = %21
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = mul i32 %34, %33
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %2, align 4
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %3, align 4
%39 = sub i32 %37, %38
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %36, i32 noundef %39)
ret void
}
declare i32 @printf(ptr 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/tmpo2seqr_u.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 [125 x i8] c"Problem 6: The difference between the sum of the squares of the first %u natural numbers and the square of their sum is %u.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @problem6(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp ule i32 %7, %8
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %16
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = mul nsw i32 %11, %12
%14 = load i32, ptr %3, align 4
%15 = add i32 %14, %13
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %10
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp ule i32 %19, %20
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %1
store i32 1, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp ule i32 %23, %24
br i1 %25, label %.lr.ph2, label %36
.lr.ph2: ; preds = %22
br label %26
26: ; preds = %.lr.ph2, %30
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %4, align 4
%29 = add i32 %28, %27
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %26
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp ule i32 %33, %34
br i1 %35, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %36
36: ; preds = %._crit_edge3, %22
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = mul i32 %38, %37
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %3, align 4
%43 = sub i32 %41, %42
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %40, i32 noundef %43)
ret void
}
declare i32 @printf(ptr 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/tmprbdf2tgq.c'
source_filename = "/tmp/tmprbdf2tgq.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 @std_ushort_str(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load i16, ptr %11, align 2
%13 = load ptr, ptr %6, align 8
%14 = call i32 @ushort_put(i16 noundef zeroext %12, ptr noundef %13)
br label %15
15: ; preds = %10, %3
ret void
}
declare i32 @ushort_put(i16 noundef zeroext, 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/tmprbdf2tgq.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 @std_ushort_str(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load i16, ptr %11, align 2
%13 = load ptr, ptr %6, align 8
%14 = call i32 @ushort_put(i16 noundef zeroext %12, ptr noundef %13)
br label %15
15: ; preds = %10, %3
ret void
}
declare i32 @ushort_put(i16 noundef zeroext, 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/tmpef6d5_j5.c'
source_filename = "/tmp/tmpef6d5_j5.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/tmpef6d5_j5.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/tmp3gs1ang8.c'
source_filename = "/tmp/tmp3gs1ang8.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 [63 x i8] c"insert_head - Inserts an element at the beginning of the list\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"insert_tail - Inserts an element at the end of the list\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"remove_head - Removes the first element of the list\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"remove_first - Removes the first occurence in the list\0A\00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"insert_sort - Inserts an element in a sorted list of integers\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"destroy - Empties the list\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"help - Affiche l'aide\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"quit - Quitte le programme\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
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/tmp3gs1ang8.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 [63 x i8] c"insert_head - Inserts an element at the beginning of the list\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"insert_tail - Inserts an element at the end of the list\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"remove_head - Removes the first element of the list\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"remove_first - Removes the first occurence in the list\0A\00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"insert_sort - Inserts an element in a sorted list of integers\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"destroy - Empties the list\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"help - Affiche l'aide\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"quit - Quitte le programme\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
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/tmpiqeyltoz.c'
source_filename = "/tmp/tmpiqeyltoz.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 [5 x i8] c"fork\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"child, my pid is %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"waitpid returned %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"status was: %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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @fork()
store i32 %4, ptr %2, align 4
switch i32 %4, label %14 [
i32 -1, label %5
i32 0, label %8
]
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
%7 = call i32 @_exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = load i32, ptr @stdout, align 4
%10 = call i32 (...) @getpid()
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @sleep(i32 noundef 1)
%13 = call i32 @_exit(i32 noundef 23) #3
unreachable
14: ; preds = %0
%15 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef 0)
%16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = call i32 @WEXITSTATUS(i32 noundef %17)
%19 = call i32 @printf(ptr noundef @.str.3, i32 noundef %18)
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @WEXITSTATUS(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiqeyltoz.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 [5 x i8] c"fork\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"child, my pid is %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"waitpid returned %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"status was: %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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @fork()
store i32 %4, ptr %2, align 4
switch i32 %4, label %14 [
i32 -1, label %5
i32 0, label %8
]
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
%7 = call i32 @_exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = load i32, ptr @stdout, align 4
%10 = call i32 (...) @getpid()
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @sleep(i32 noundef 1)
%13 = call i32 @_exit(i32 noundef 23) #3
unreachable
14: ; preds = %0
%15 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef 0)
%16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = call i32 @WEXITSTATUS(i32 noundef %17)
%19 = call i32 @printf(ptr noundef @.str.3, i32 noundef %18)
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @WEXITSTATUS(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"}
|
; ModuleID = '/tmp/tmpwc1elw5w.c'
source_filename = "/tmp/tmpwc1elw5w.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 @ComparatorRefSet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1073987584
%7 = zext i1 %6 to i32
%8 = call i32 @ASSERT(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 16
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to ptr
store volatile i32 %9, ptr %13, align 4
ret void
}
declare i32 @ASSERT(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/tmpwc1elw5w.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 @ComparatorRefSet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1073987584
%7 = zext i1 %6 to i32
%8 = call i32 @ASSERT(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 16
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to ptr
store volatile i32 %9, ptr %13, align 4
ret void
}
declare i32 @ASSERT(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/tmptghoub9p.c'
source_filename = "/tmp/tmptghoub9p.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.utimbuf = type { i32, i32 }
@__const.setup.t = private unnamed_addr constant %struct.utimbuf { i32 1200000000, i32 1200000000 }, align 4
@.str = private unnamed_addr constant [7 x i8] c"folder\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"folder/file\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"file\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"folder/file-link\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setup() #0 {
%1 = alloca %struct.utimbuf, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.setup.t, i64 8, i1 false)
%2 = call i32 @mkdir(ptr noundef @.str, i32 noundef 511)
%3 = call i32 @create_file(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 511)
%4 = call i32 @symlink(ptr noundef @.str.3, ptr noundef @.str.4)
%5 = call i32 @utime(ptr noundef @.str.1, ptr noundef %1)
%6 = call i32 @utime(ptr noundef @.str, ptr noundef %1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #2
declare i32 @create_file(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @symlink(ptr noundef, ptr noundef) #2
declare i32 @utime(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: readwrite) }
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/tmptghoub9p.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.utimbuf = type { i32, i32 }
@__const.setup.t = private unnamed_addr constant %struct.utimbuf { i32 1200000000, i32 1200000000 }, align 4
@.str = private unnamed_addr constant [7 x i8] c"folder\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"folder/file\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"file\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"folder/file-link\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setup() #0 {
%1 = alloca %struct.utimbuf, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.setup.t, i64 8, i1 false)
%2 = call i32 @mkdir(ptr noundef @.str, i32 noundef 511)
%3 = call i32 @create_file(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 511)
%4 = call i32 @symlink(ptr noundef @.str.3, ptr noundef @.str.4)
%5 = call i32 @utime(ptr noundef @.str.1, ptr noundef %1)
%6 = call i32 @utime(ptr noundef @.str, ptr noundef %1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #2
declare i32 @create_file(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @symlink(ptr noundef, ptr noundef) #2
declare i32 @utime(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: readwrite) }
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/tmp_4epx4hp.c'
source_filename = "/tmp/tmp_4epx4hp.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
store i32 0, ptr %1, align 4
%2 = call i32 (...) @gmove_ata_2a1t_b2()
%3 = call i32 (...) @gmove_ata_2a1t_b()
%4 = call i32 (...) @gmove_ata_2a1t_b_c()
%5 = call i32 (...) @gmove_ata_2a1t_b_h()
%6 = call i32 (...) @gmove_ata_2a1t_c()
%7 = call i32 (...) @gmove_ata_3a1t_b2()
%8 = call i32 (...) @gmove_ata_3a1t_b()
%9 = call i32 (...) @gmove_ata_3a1t_b_c()
%10 = call i32 (...) @gmove_ata_3a1t_b_h()
%11 = call i32 (...) @gmove_ata_3a1t_c()
%12 = call i32 (...) @gmove_ata_4a1t_b()
%13 = call i32 (...) @gmove_ata_4a1t_b_c()
%14 = call i32 (...) @gmove_ata_5a1t_b()
%15 = call i32 (...) @gmove_ata_5a1t_b_c()
%16 = call i32 (...) @gmove_ata_6a1t_b()
%17 = call i32 (...) @gmove_ata_6a1t_b_c()
%18 = call i32 (...) @gmove_ata_7a1t_b()
%19 = call i32 (...) @gmove_ata_7a1t_b_c()
ret i32 0
}
declare i32 @gmove_ata_2a1t_b2(...) #1
declare i32 @gmove_ata_2a1t_b(...) #1
declare i32 @gmove_ata_2a1t_b_c(...) #1
declare i32 @gmove_ata_2a1t_b_h(...) #1
declare i32 @gmove_ata_2a1t_c(...) #1
declare i32 @gmove_ata_3a1t_b2(...) #1
declare i32 @gmove_ata_3a1t_b(...) #1
declare i32 @gmove_ata_3a1t_b_c(...) #1
declare i32 @gmove_ata_3a1t_b_h(...) #1
declare i32 @gmove_ata_3a1t_c(...) #1
declare i32 @gmove_ata_4a1t_b(...) #1
declare i32 @gmove_ata_4a1t_b_c(...) #1
declare i32 @gmove_ata_5a1t_b(...) #1
declare i32 @gmove_ata_5a1t_b_c(...) #1
declare i32 @gmove_ata_6a1t_b(...) #1
declare i32 @gmove_ata_6a1t_b_c(...) #1
declare i32 @gmove_ata_7a1t_b(...) #1
declare i32 @gmove_ata_7a1t_b_c(...) #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/tmp_4epx4hp.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
store i32 0, ptr %1, align 4
%2 = call i32 (...) @gmove_ata_2a1t_b2()
%3 = call i32 (...) @gmove_ata_2a1t_b()
%4 = call i32 (...) @gmove_ata_2a1t_b_c()
%5 = call i32 (...) @gmove_ata_2a1t_b_h()
%6 = call i32 (...) @gmove_ata_2a1t_c()
%7 = call i32 (...) @gmove_ata_3a1t_b2()
%8 = call i32 (...) @gmove_ata_3a1t_b()
%9 = call i32 (...) @gmove_ata_3a1t_b_c()
%10 = call i32 (...) @gmove_ata_3a1t_b_h()
%11 = call i32 (...) @gmove_ata_3a1t_c()
%12 = call i32 (...) @gmove_ata_4a1t_b()
%13 = call i32 (...) @gmove_ata_4a1t_b_c()
%14 = call i32 (...) @gmove_ata_5a1t_b()
%15 = call i32 (...) @gmove_ata_5a1t_b_c()
%16 = call i32 (...) @gmove_ata_6a1t_b()
%17 = call i32 (...) @gmove_ata_6a1t_b_c()
%18 = call i32 (...) @gmove_ata_7a1t_b()
%19 = call i32 (...) @gmove_ata_7a1t_b_c()
ret i32 0
}
declare i32 @gmove_ata_2a1t_b2(...) #1
declare i32 @gmove_ata_2a1t_b(...) #1
declare i32 @gmove_ata_2a1t_b_c(...) #1
declare i32 @gmove_ata_2a1t_b_h(...) #1
declare i32 @gmove_ata_2a1t_c(...) #1
declare i32 @gmove_ata_3a1t_b2(...) #1
declare i32 @gmove_ata_3a1t_b(...) #1
declare i32 @gmove_ata_3a1t_b_c(...) #1
declare i32 @gmove_ata_3a1t_b_h(...) #1
declare i32 @gmove_ata_3a1t_c(...) #1
declare i32 @gmove_ata_4a1t_b(...) #1
declare i32 @gmove_ata_4a1t_b_c(...) #1
declare i32 @gmove_ata_5a1t_b(...) #1
declare i32 @gmove_ata_5a1t_b_c(...) #1
declare i32 @gmove_ata_6a1t_b(...) #1
declare i32 @gmove_ata_6a1t_b_c(...) #1
declare i32 @gmove_ata_7a1t_b(...) #1
declare i32 @gmove_ata_7a1t_b_c(...) #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/tmpnm6paoxj.c'
source_filename = "/tmp/tmpnm6paoxj.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 @tgaFree(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 i32 @free(ptr noundef %3)
ret void
}
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/tmpnm6paoxj.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 @tgaFree(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 i32 @free(ptr noundef %3)
ret void
}
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/tmp7sbafl05.c'
source_filename = "/tmp/tmp7sbafl05.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 @_go32_my_ds() #0 {
%1 = alloca ptr, align 8
call void asm sideeffect "movw %ds,%ax", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6
%2 = load ptr, ptr %1, align 8
ret 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 = { nounwind }
!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 = !{i64 449}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7sbafl05.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 @_go32_my_ds() #0 {
%1 = alloca ptr, align 8
call void asm sideeffect "movw %ds,%ax", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6
%2 = load ptr, ptr %1, align 8
ret 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 = { nounwind }
!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 = !{i64 449}
|
; ModuleID = '/tmp/tmp9f19_p3l.c'
source_filename = "/tmp/tmp9f19_p3l.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 @fd_nrf8001_command_response_event(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 5
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 @fd_nrf8001_add_system_credits(i32 noundef 1)
br label %13
13: ; preds = %11, %4
%14 = load i32, ptr %5, align 4
switch i32 %14, label %140 [
i32 1, label %15
i32 3, label %20
i32 5, label %25
i32 6, label %30
i32 7, label %35
i32 8, label %40
i32 9, label %45
i32 10, label %50
i32 11, label %55
i32 12, label %60
i32 14, label %65
i32 15, label %70
i32 16, label %75
i32 17, label %80
i32 18, label %85
i32 19, label %90
i32 20, label %95
i32 25, label %100
i32 26, label %105
i32 27, label %110
i32 28, label %115
i32 29, label %120
i32 30, label %125
i32 31, label %130
i32 13, label %135
]
15: ; preds = %13
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %8, align 4
%19 = call i32 @fd_nrf8001_dispatch_test_response(i32 noundef %16, ptr noundef %17, i32 noundef %18)
br label %142
20: ; preds = %13
%21 = load i32, ptr %6, align 4
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %8, align 4
%24 = call i32 @fd_nrf8001_dispatch_dtm_command_response(i32 noundef %21, ptr noundef %22, i32 noundef %23)
br label %142
25: ; preds = %13
%26 = load i32, ptr %6, align 4
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = call i32 @fd_nrf8001_dispatch_wakeup_response(i32 noundef %26, ptr noundef %27, i32 noundef %28)
br label %142
30: ; preds = %13
%31 = load i32, ptr %6, align 4
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %8, align 4
%34 = call i32 @fd_nrf8001_dispatch_setup_response(i32 noundef %31, ptr noundef %32, i32 noundef %33)
br label %142
35: ; preds = %13
%36 = load i32, ptr %6, align 4
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %8, align 4
%39 = call i32 @fd_nrf8001_dispatch_read_dynamic_data_response(i32 noundef %36, ptr noundef %37, i32 noundef %38)
br label %142
40: ; preds = %13
%41 = load i32, ptr %6, align 4
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %8, align 4
%44 = call i32 @fd_nrf8001_dispatch_write_dynamic_data_response(i32 noundef %41, ptr noundef %42, i32 noundef %43)
br label %142
45: ; preds = %13
%46 = load i32, ptr %6, align 4
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %8, align 4
%49 = call i32 @fd_nrf8001_dispatch_get_device_version_response(i32 noundef %46, ptr noundef %47, i32 noundef %48)
br label %142
50: ; preds = %13
%51 = load i32, ptr %6, align 4
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %8, align 4
%54 = call i32 @fd_nrf8001_dispatch_get_device_address_response(i32 noundef %51, ptr noundef %52, i32 noundef %53)
br label %142
55: ; preds = %13
%56 = load i32, ptr %6, align 4
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %8, align 4
%59 = call i32 @fd_nrf8001_dispatch_get_battery_level_response(i32 noundef %56, ptr noundef %57, i32 noundef %58)
br label %142
60: ; preds = %13
%61 = load i32, ptr %6, align 4
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %8, align 4
%64 = call i32 @fd_nrf8001_dispatch_get_temperature_response(i32 noundef %61, ptr noundef %62, i32 noundef %63)
br label %142
65: ; preds = %13
%66 = load i32, ptr %6, align 4
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %8, align 4
%69 = call i32 @fd_nrf8001_dispatch_radio_reset_response(i32 noundef %66, ptr noundef %67, i32 noundef %68)
br label %142
70: ; preds = %13
%71 = load i32, ptr %6, align 4
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %8, align 4
%74 = call i32 @fd_nrf8001_dispatch_connect_response(i32 noundef %71, ptr noundef %72, i32 noundef %73)
br label %142
75: ; preds = %13
%76 = load i32, ptr %6, align 4
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %8, align 4
%79 = call i32 @fd_nrf8001_dispatch_bond_response(i32 noundef %76, ptr noundef %77, i32 noundef %78)
br label %142
80: ; preds = %13
%81 = load i32, ptr %6, align 4
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %8, align 4
%84 = call i32 @fd_nrf8001_dispatch_disconnect_response(i32 noundef %81, ptr noundef %82, i32 noundef %83)
br label %142
85: ; preds = %13
%86 = load i32, ptr %6, align 4
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %8, align 4
%89 = call i32 @fd_nrf8001_dispatch_set_tx_power_response(i32 noundef %86, ptr noundef %87, i32 noundef %88)
br label %142
90: ; preds = %13
%91 = load i32, ptr %6, align 4
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %8, align 4
%94 = call i32 @fd_nrf8001_dispatch_change_timing_request_response(i32 noundef %91, ptr noundef %92, i32 noundef %93)
br label %142
95: ; preds = %13
%96 = load i32, ptr %6, align 4
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %8, align 4
%99 = call i32 @fd_nrf8001_dispatch_open_remote_pipe_response(i32 noundef %96, ptr noundef %97, i32 noundef %98)
br label %142
100: ; preds = %13
%101 = load i32, ptr %6, align 4
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %8, align 4
%104 = call i32 @fd_nrf8001_dispatch_set_application_latency_response(i32 noundef %101, ptr noundef %102, i32 noundef %103)
br label %142
105: ; preds = %13
%106 = load i32, ptr %6, align 4
%107 = load ptr, ptr %7, align 8
%108 = load i32, ptr %8, align 4
%109 = call i32 @fd_nrf8001_dispatch_set_key_response(i32 noundef %106, ptr noundef %107, i32 noundef %108)
br label %142
110: ; preds = %13
%111 = load i32, ptr %6, align 4
%112 = load ptr, ptr %7, align 8
%113 = load i32, ptr %8, align 4
%114 = call i32 @fd_nrf8001_dispatch_open_advertising_pipe_response(i32 noundef %111, ptr noundef %112, i32 noundef %113)
br label %142
115: ; preds = %13
%116 = load i32, ptr %6, align 4
%117 = load ptr, ptr %7, align 8
%118 = load i32, ptr %8, align 4
%119 = call i32 @fd_nrf8001_dispatch_broadcast_response(i32 noundef %116, ptr noundef %117, i32 noundef %118)
br label %142
120: ; preds = %13
%121 = load i32, ptr %6, align 4
%122 = load ptr, ptr %7, align 8
%123 = load i32, ptr %8, align 4
%124 = call i32 @fd_nrf8001_dispatch_bond_security_request_response(i32 noundef %121, ptr noundef %122, i32 noundef %123)
br label %142
125: ; preds = %13
%126 = load i32, ptr %6, align 4
%127 = load ptr, ptr %7, align 8
%128 = load i32, ptr %8, align 4
%129 = call i32 @fd_nrf8001_dispatch_directed_connect_response(i32 noundef %126, ptr noundef %127, i32 noundef %128)
br label %142
130: ; preds = %13
%131 = load i32, ptr %6, align 4
%132 = load ptr, ptr %7, align 8
%133 = load i32, ptr %8, align 4
%134 = call i32 @fd_nrf8001_dispatch_close_remote_pipe_response(i32 noundef %131, ptr noundef %132, i32 noundef %133)
br label %142
135: ; preds = %13
%136 = load i32, ptr %6, align 4
%137 = load ptr, ptr %7, align 8
%138 = load i32, ptr %8, align 4
%139 = call i32 @fd_nrf8001_dispatch_set_local_data_response(i32 noundef %136, ptr noundef %137, i32 noundef %138)
br label %142
140: ; preds = %13
%141 = call i32 (...) @fd_nrf8001_error()
br label %142
142: ; preds = %140, %135, %130, %125, %120, %115, %110, %105, %100, %95, %90, %85, %80, %75, %70, %65, %60, %55, %50, %45, %40, %35, %30, %25, %20, %15
ret void
}
declare i32 @fd_nrf8001_add_system_credits(i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_test_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_dtm_command_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_wakeup_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_setup_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_read_dynamic_data_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_write_dynamic_data_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_device_version_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_device_address_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_battery_level_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_temperature_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_radio_reset_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_connect_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_bond_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_disconnect_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_tx_power_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_change_timing_request_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_open_remote_pipe_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_application_latency_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_key_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_open_advertising_pipe_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_broadcast_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_bond_security_request_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_directed_connect_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_close_remote_pipe_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_local_data_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_error(...) #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/tmp9f19_p3l.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 @fd_nrf8001_command_response_event(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 5
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = call i32 @fd_nrf8001_add_system_credits(i32 noundef 1)
br label %13
13: ; preds = %11, %4
%14 = load i32, ptr %5, align 4
switch i32 %14, label %140 [
i32 1, label %15
i32 3, label %20
i32 5, label %25
i32 6, label %30
i32 7, label %35
i32 8, label %40
i32 9, label %45
i32 10, label %50
i32 11, label %55
i32 12, label %60
i32 14, label %65
i32 15, label %70
i32 16, label %75
i32 17, label %80
i32 18, label %85
i32 19, label %90
i32 20, label %95
i32 25, label %100
i32 26, label %105
i32 27, label %110
i32 28, label %115
i32 29, label %120
i32 30, label %125
i32 31, label %130
i32 13, label %135
]
15: ; preds = %13
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %8, align 4
%19 = call i32 @fd_nrf8001_dispatch_test_response(i32 noundef %16, ptr noundef %17, i32 noundef %18)
br label %142
20: ; preds = %13
%21 = load i32, ptr %6, align 4
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %8, align 4
%24 = call i32 @fd_nrf8001_dispatch_dtm_command_response(i32 noundef %21, ptr noundef %22, i32 noundef %23)
br label %142
25: ; preds = %13
%26 = load i32, ptr %6, align 4
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = call i32 @fd_nrf8001_dispatch_wakeup_response(i32 noundef %26, ptr noundef %27, i32 noundef %28)
br label %142
30: ; preds = %13
%31 = load i32, ptr %6, align 4
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %8, align 4
%34 = call i32 @fd_nrf8001_dispatch_setup_response(i32 noundef %31, ptr noundef %32, i32 noundef %33)
br label %142
35: ; preds = %13
%36 = load i32, ptr %6, align 4
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %8, align 4
%39 = call i32 @fd_nrf8001_dispatch_read_dynamic_data_response(i32 noundef %36, ptr noundef %37, i32 noundef %38)
br label %142
40: ; preds = %13
%41 = load i32, ptr %6, align 4
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %8, align 4
%44 = call i32 @fd_nrf8001_dispatch_write_dynamic_data_response(i32 noundef %41, ptr noundef %42, i32 noundef %43)
br label %142
45: ; preds = %13
%46 = load i32, ptr %6, align 4
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %8, align 4
%49 = call i32 @fd_nrf8001_dispatch_get_device_version_response(i32 noundef %46, ptr noundef %47, i32 noundef %48)
br label %142
50: ; preds = %13
%51 = load i32, ptr %6, align 4
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %8, align 4
%54 = call i32 @fd_nrf8001_dispatch_get_device_address_response(i32 noundef %51, ptr noundef %52, i32 noundef %53)
br label %142
55: ; preds = %13
%56 = load i32, ptr %6, align 4
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %8, align 4
%59 = call i32 @fd_nrf8001_dispatch_get_battery_level_response(i32 noundef %56, ptr noundef %57, i32 noundef %58)
br label %142
60: ; preds = %13
%61 = load i32, ptr %6, align 4
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %8, align 4
%64 = call i32 @fd_nrf8001_dispatch_get_temperature_response(i32 noundef %61, ptr noundef %62, i32 noundef %63)
br label %142
65: ; preds = %13
%66 = load i32, ptr %6, align 4
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %8, align 4
%69 = call i32 @fd_nrf8001_dispatch_radio_reset_response(i32 noundef %66, ptr noundef %67, i32 noundef %68)
br label %142
70: ; preds = %13
%71 = load i32, ptr %6, align 4
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %8, align 4
%74 = call i32 @fd_nrf8001_dispatch_connect_response(i32 noundef %71, ptr noundef %72, i32 noundef %73)
br label %142
75: ; preds = %13
%76 = load i32, ptr %6, align 4
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %8, align 4
%79 = call i32 @fd_nrf8001_dispatch_bond_response(i32 noundef %76, ptr noundef %77, i32 noundef %78)
br label %142
80: ; preds = %13
%81 = load i32, ptr %6, align 4
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %8, align 4
%84 = call i32 @fd_nrf8001_dispatch_disconnect_response(i32 noundef %81, ptr noundef %82, i32 noundef %83)
br label %142
85: ; preds = %13
%86 = load i32, ptr %6, align 4
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %8, align 4
%89 = call i32 @fd_nrf8001_dispatch_set_tx_power_response(i32 noundef %86, ptr noundef %87, i32 noundef %88)
br label %142
90: ; preds = %13
%91 = load i32, ptr %6, align 4
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %8, align 4
%94 = call i32 @fd_nrf8001_dispatch_change_timing_request_response(i32 noundef %91, ptr noundef %92, i32 noundef %93)
br label %142
95: ; preds = %13
%96 = load i32, ptr %6, align 4
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %8, align 4
%99 = call i32 @fd_nrf8001_dispatch_open_remote_pipe_response(i32 noundef %96, ptr noundef %97, i32 noundef %98)
br label %142
100: ; preds = %13
%101 = load i32, ptr %6, align 4
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %8, align 4
%104 = call i32 @fd_nrf8001_dispatch_set_application_latency_response(i32 noundef %101, ptr noundef %102, i32 noundef %103)
br label %142
105: ; preds = %13
%106 = load i32, ptr %6, align 4
%107 = load ptr, ptr %7, align 8
%108 = load i32, ptr %8, align 4
%109 = call i32 @fd_nrf8001_dispatch_set_key_response(i32 noundef %106, ptr noundef %107, i32 noundef %108)
br label %142
110: ; preds = %13
%111 = load i32, ptr %6, align 4
%112 = load ptr, ptr %7, align 8
%113 = load i32, ptr %8, align 4
%114 = call i32 @fd_nrf8001_dispatch_open_advertising_pipe_response(i32 noundef %111, ptr noundef %112, i32 noundef %113)
br label %142
115: ; preds = %13
%116 = load i32, ptr %6, align 4
%117 = load ptr, ptr %7, align 8
%118 = load i32, ptr %8, align 4
%119 = call i32 @fd_nrf8001_dispatch_broadcast_response(i32 noundef %116, ptr noundef %117, i32 noundef %118)
br label %142
120: ; preds = %13
%121 = load i32, ptr %6, align 4
%122 = load ptr, ptr %7, align 8
%123 = load i32, ptr %8, align 4
%124 = call i32 @fd_nrf8001_dispatch_bond_security_request_response(i32 noundef %121, ptr noundef %122, i32 noundef %123)
br label %142
125: ; preds = %13
%126 = load i32, ptr %6, align 4
%127 = load ptr, ptr %7, align 8
%128 = load i32, ptr %8, align 4
%129 = call i32 @fd_nrf8001_dispatch_directed_connect_response(i32 noundef %126, ptr noundef %127, i32 noundef %128)
br label %142
130: ; preds = %13
%131 = load i32, ptr %6, align 4
%132 = load ptr, ptr %7, align 8
%133 = load i32, ptr %8, align 4
%134 = call i32 @fd_nrf8001_dispatch_close_remote_pipe_response(i32 noundef %131, ptr noundef %132, i32 noundef %133)
br label %142
135: ; preds = %13
%136 = load i32, ptr %6, align 4
%137 = load ptr, ptr %7, align 8
%138 = load i32, ptr %8, align 4
%139 = call i32 @fd_nrf8001_dispatch_set_local_data_response(i32 noundef %136, ptr noundef %137, i32 noundef %138)
br label %142
140: ; preds = %13
%141 = call i32 (...) @fd_nrf8001_error()
br label %142
142: ; preds = %140, %135, %130, %125, %120, %115, %110, %105, %100, %95, %90, %85, %80, %75, %70, %65, %60, %55, %50, %45, %40, %35, %30, %25, %20, %15
ret void
}
declare i32 @fd_nrf8001_add_system_credits(i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_test_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_dtm_command_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_wakeup_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_setup_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_read_dynamic_data_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_write_dynamic_data_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_device_version_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_device_address_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_battery_level_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_get_temperature_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_radio_reset_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_connect_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_bond_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_disconnect_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_tx_power_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_change_timing_request_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_open_remote_pipe_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_application_latency_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_key_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_open_advertising_pipe_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_broadcast_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_bond_security_request_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_directed_connect_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_close_remote_pipe_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_dispatch_set_local_data_response(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fd_nrf8001_error(...) #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/tmp0cvv8pnw.c'
source_filename = "/tmp/tmp0cvv8pnw.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"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @recurse(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 @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 1000
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
call void @recurse(i32 noundef %9)
br label %10
10: ; preds = %7, %1
ret void
}
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/tmp0cvv8pnw.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"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @recurse(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 @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 1000
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
call void @recurse(i32 noundef %9)
br label %10
10: ; preds = %7, %1
ret void
}
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/tmpyfuogcbf.c'
source_filename = "/tmp/tmpyfuogcbf.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"pfind: \00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage_error(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 i32, ptr @stderr, align 4
%6 = call i32 @fputs(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fprintf(i32 noundef %7, ptr noundef %8, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
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/tmpyfuogcbf.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"pfind: \00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage_error(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 i32, ptr @stderr, align 4
%6 = call i32 @fputs(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fprintf(i32 noundef %7, ptr noundef %8, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
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/tmpo1hkh2wm.c'
source_filename = "/tmp/tmpo1hkh2wm.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"
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @close_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr @SHUT_RDWR, align 4
%8 = call i32 @shutdown(i32 noundef %6, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @close(i32 noundef %9)
br label %11
11: ; preds = %5, %1
ret void
}
declare i32 @shutdown(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/tmpo1hkh2wm.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"
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @close_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr @SHUT_RDWR, align 4
%8 = call i32 @shutdown(i32 noundef %6, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @close(i32 noundef %9)
br label %11
11: ; preds = %5, %1
ret void
}
declare i32 @shutdown(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/tmpo3irxje1.c'
source_filename = "/tmp/tmpo3irxje1.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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
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 %19
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load i32, ptr %14, align 4
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
store i32 %16, ptr %17, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
%20 = load ptr, ptr %7, 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 = '<stdin>'
source_filename = "/tmp/tmpo3irxje1.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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
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 %21
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %12
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %5, align 8
%15 = load i32, ptr %13, align 4
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %4, align 8
store i32 %15, ptr %16, align 4
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, -1
store i64 %19, ptr %6, align 8
%20 = icmp ne i64 %18, 0
br i1 %20, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %21
21: ; preds = %._crit_edge, %3
%22 = load ptr, ptr %7, align 8
ret ptr %22
}
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/tmpg3ugt5zy.c'
source_filename = "/tmp/tmpg3ugt5zy.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 }
@.str = private unnamed_addr constant [38 x i8] c"Could not stat the executable %s : %s\00", align 1
@errno = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [52 x i8] c"The setuid binary should not be writable by others.\00", align 1
@S_ISUID = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"The setuid binary should be set setuid.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_binary_permissions() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = call ptr (...) @get_executable_name()
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 -1, ptr %1, align 4
br label %43
8: ; preds = %0
%9 = load ptr, ptr %2, align 8
%10 = call i64 @stat(ptr noundef %9, ptr noundef %3)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %19
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr @errno, align 4
%15 = call i32 @strerror(i32 noundef %14)
%16 = call i32 (ptr, ...) @log_error(ptr noundef @.str, ptr noundef %13, i32 noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @free(ptr noundef %17)
store i32 -1, ptr %1, align 4
br label %43
19: ; preds = %8
%20 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @S_IWOTH, align 4
%23 = and i32 %21, %22
%24 = load i32, ptr @S_IWOTH, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %30
26: ; preds = %19
%27 = call i32 (ptr, ...) @log_error(ptr noundef @.str.1)
%28 = load ptr, ptr %2, align 8
%29 = call i32 @free(ptr noundef %28)
store i32 -1, ptr %1, align 4
br label %43
30: ; preds = %19
%31 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr @S_ISUID, align 4
%34 = and i32 %32, %33
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %30
%37 = call i32 (ptr, ...) @log_error(ptr noundef @.str.2)
%38 = load ptr, ptr %2, align 8
%39 = call i32 @free(ptr noundef %38)
store i32 -1, ptr %1, align 4
br label %43
40: ; preds = %30
%41 = load ptr, ptr %2, align 8
%42 = call i32 @free(ptr noundef %41)
store i32 0, ptr %1, align 4
br label %43
43: ; preds = %40, %36, %26, %12, %7
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare ptr @get_executable_name(...) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @log_error(ptr noundef, ...) #1
declare i32 @strerror(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/tmpg3ugt5zy.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 }
@.str = private unnamed_addr constant [38 x i8] c"Could not stat the executable %s : %s\00", align 1
@errno = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [52 x i8] c"The setuid binary should not be writable by others.\00", align 1
@S_ISUID = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"The setuid binary should be set setuid.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_binary_permissions() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = call ptr (...) @get_executable_name()
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 -1, ptr %1, align 4
br label %43
8: ; preds = %0
%9 = load ptr, ptr %2, align 8
%10 = call i64 @stat(ptr noundef %9, ptr noundef %3)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %19
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr @errno, align 4
%15 = call i32 @strerror(i32 noundef %14)
%16 = call i32 (ptr, ...) @log_error(ptr noundef @.str, ptr noundef %13, i32 noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @free(ptr noundef %17)
store i32 -1, ptr %1, align 4
br label %43
19: ; preds = %8
%20 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @S_IWOTH, align 4
%23 = and i32 %21, %22
%24 = load i32, ptr @S_IWOTH, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %30
26: ; preds = %19
%27 = call i32 (ptr, ...) @log_error(ptr noundef @.str.1)
%28 = load ptr, ptr %2, align 8
%29 = call i32 @free(ptr noundef %28)
store i32 -1, ptr %1, align 4
br label %43
30: ; preds = %19
%31 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr @S_ISUID, align 4
%34 = and i32 %32, %33
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %30
%37 = call i32 (ptr, ...) @log_error(ptr noundef @.str.2)
%38 = load ptr, ptr %2, align 8
%39 = call i32 @free(ptr noundef %38)
store i32 -1, ptr %1, align 4
br label %43
40: ; preds = %30
%41 = load ptr, ptr %2, align 8
%42 = call i32 @free(ptr noundef %41)
store i32 0, ptr %1, align 4
br label %43
43: ; preds = %40, %36, %26, %12, %7
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare ptr @get_executable_name(...) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @log_error(ptr noundef, ...) #1
declare i32 @strerror(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/tmpx91r07j1.c'
source_filename = "/tmp/tmpx91r07j1.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 @NFC_RbIntClearStatus() #0 {
%1 = call i32 @NDFC_WRITE_REG_ST(i32 noundef 1)
ret void
}
declare i32 @NDFC_WRITE_REG_ST(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/tmpx91r07j1.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 @NFC_RbIntClearStatus() #0 {
%1 = call i32 @NDFC_WRITE_REG_ST(i32 noundef 1)
ret void
}
declare i32 @NDFC_WRITE_REG_ST(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/tmputwij7o0.c'
source_filename = "/tmp/tmputwij7o0.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 @strrev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %3, align 4
%9 = load i32, ptr %6, align 4
%10 = sub i32 %9, 1
store i32 %10, ptr %4, align 4
br label %11
11: ; preds = %35, %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %40
15: ; preds = %11
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
store i8 %20, ptr %5, align 1
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
%30 = load i8, ptr %5, align 1
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
br label %35
35: ; preds = %15
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %4, align 4
br label %11, !llvm.loop !6
40: ; preds = %11
ret void
}
declare i32 @strlen(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/tmputwij7o0.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 @strrev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %3, align 4
%9 = load i32, ptr %6, align 4
%10 = sub i32 %9, 1
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %42
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %34
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %5, align 1
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
%29 = load i8, ptr %5, align 1
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %14
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %42
42: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(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/tmpfl4pkw28.c'
source_filename = "/tmp/tmpfl4pkw28.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"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\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 i64, align 8
%8 = alloca i64, align 8
%9 = 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
store ptr null, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %10
10: ; preds = %36, %2
%11 = load i32, ptr @stdin, align 4
%12 = call i64 @getline(ptr noundef %6, ptr noundef %7, i32 noundef %11)
store i64 %12, ptr %8, align 8
%13 = icmp ne i64 %12, -1
br i1 %13, label %14, label %37
14: ; preds = %10
%15 = load i64, ptr %8, align 8
%16 = icmp ugt i64 %15, 0
br i1 %16, label %17, label %36
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %8, align 8
%20 = sub i64 %19, 1
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load i64, ptr %8, align 8
%23 = mul i64 1, %22
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %9, align 8
%29 = load i64, ptr %8, align 8
%30 = sub i64 %29, 1
%31 = call i32 @reverse(ptr noundef %27, ptr noundef %28, i64 noundef %30)
%32 = load ptr, ptr %9, align 8
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
%34 = load ptr, ptr %9, align 8
%35 = call i32 @free(ptr noundef %34)
br label %36
36: ; preds = %17, %14
br label %10, !llvm.loop !6
37: ; preds = %10
ret i32 0
}
declare i64 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @reverse(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @printf(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/tmpfl4pkw28.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"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\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 i64, align 8
%8 = alloca i64, align 8
%9 = 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
store ptr null, ptr %6, align 8
store i64 0, ptr %7, align 8
%10 = load i32, ptr @stdin, align 4
%11 = call i64 @getline(ptr noundef %6, ptr noundef %7, i32 noundef %10)
store i64 %11, ptr %8, align 8
%12 = icmp ne i64 %11, -1
br i1 %12, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %35
%14 = load i64, ptr %8, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %35
16: ; preds = %13
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %8, align 8
%19 = sub i64 %18, 1
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
%21 = load i64, ptr %8, align 8
%22 = mul i64 1, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %9, align 8
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %9, align 8
%28 = load i64, ptr %8, align 8
%29 = sub i64 %28, 1
%30 = call i32 @reverse(ptr noundef %26, ptr noundef %27, i64 noundef %29)
%31 = load ptr, ptr %9, align 8
%32 = call i32 @printf(ptr noundef @.str, ptr noundef %31)
%33 = load ptr, ptr %9, align 8
%34 = call i32 @free(ptr noundef %33)
br label %35
35: ; preds = %16, %13
%36 = load i32, ptr @stdin, align 4
%37 = call i64 @getline(ptr noundef %6, ptr noundef %7, i32 noundef %36)
store i64 %37, ptr %8, align 8
%38 = icmp ne i64 %37, -1
br i1 %38, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %39
39: ; preds = %._crit_edge, %2
ret i32 0
}
declare i64 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @reverse(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @printf(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/tmp4dzc09v7.c'
source_filename = "/tmp/tmp4dzc09v7.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 [21 x i8] c"Problema en reserva\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @reserva() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 4
%7 = trunc i64 %6 to i32
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %0
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %23, %13
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %1, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds float, ptr %19, i64 %21
store float 0.000000e+00, ptr %22, align 4
br label %23
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = load ptr, ptr %2, align 8
ret ptr %27
}
declare ptr @malloc(i32 noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4dzc09v7.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 [21 x i8] c"Problema en reserva\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @reserva() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 4
%7 = trunc i64 %6 to i32
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %0
store i32 0, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %22
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, ptr %18, i64 %20
store float 0.000000e+00, ptr %21, align 4
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %1, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %13
%29 = load ptr, ptr %2, align 8
ret ptr %29
}
declare ptr @malloc(i32 noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2ypy_dpq.c'
source_filename = "/tmp/tmp2ypy_dpq.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"
@ENOTSUP = 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 @_vfork() #0 {
%1 = load i32, ptr @ENOTSUP, align 4
store i32 %1, ptr @errno, align 4
ret i32 -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" }
!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/tmp2ypy_dpq.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"
@ENOTSUP = 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 @_vfork() #0 {
%1 = load i32, ptr @ENOTSUP, align 4
store i32 %1, ptr @errno, align 4
ret i32 -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" }
!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/tmpaguw4u8j.c'
source_filename = "/tmp/tmpaguw4u8j.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/tmpaguw4u8j.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/tmpeb1dldwq.c'
source_filename = "/tmp/tmpeb1dldwq.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/tmpeb1dldwq.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/tmpcso8epkh.c'
source_filename = "/tmp/tmpcso8epkh.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/tmpcso8epkh.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/tmpqrmgzxvt.c'
source_filename = "/tmp/tmpqrmgzxvt.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 @main(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @f(i32 noundef 2)
%4 = call i32 @h(i32 noundef 2)
%5 = call i32 @h2(i32 noundef 2)
%6 = call i32 @foo(i32 noundef 1)
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @h(i32 noundef) #1
declare i32 @h2(i32 noundef) #1
declare i32 @foo(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/tmpqrmgzxvt.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 @main(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @f(i32 noundef 2)
%4 = call i32 @h(i32 noundef 2)
%5 = call i32 @h2(i32 noundef 2)
%6 = call i32 @foo(i32 noundef 1)
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @h(i32 noundef) #1
declare i32 @h2(i32 noundef) #1
declare i32 @foo(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/tmp1rst5o3n.c'
source_filename = "/tmp/tmp1rst5o3n.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 [11 x i8] c"helloworld\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
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %0, %21
%5 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %18, %4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 30000
br i1 %8, label %9, label %21
9: ; preds = %6
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %14, %9
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 1000
br i1 %12, label %13, label %17
13: ; preds = %10
br label %14
14: ; preds = %13
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %10, !llvm.loop !6
17: ; preds = %10
br label %18
18: ; preds = %17
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %6, !llvm.loop !8
21: ; preds = %6
br label %4
}
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1rst5o3n.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 [11 x i8] c"helloworld\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
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %23, %0
%5 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 30000
br i1 %7, label %.lr.ph2, label %23
.lr.ph2: ; preds = %4
br label %8
8: ; preds = %.lr.ph2, %18
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 1000
br i1 %10, label %.lr.ph, label %17
.lr.ph: ; preds = %8
br label %11
11: ; preds = %.lr.ph, %12
br label %12
12: ; preds = %11
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 1000
br i1 %16, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %8
br label %18
18: ; preds = %17
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 30000
br i1 %22, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %18
br label %23
23: ; preds = %._crit_edge3, %4
br label %4
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0qa9svpk.c'
source_filename = "/tmp/tmp0qa9svpk.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 [11 x i8] c"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_concatenated_string_literal() #0 {
%1 = call i32 @__emit_string_literal_range(ptr noundef @.str, i32 noundef 4, i32 noundef 3, i32 noundef 6)
ret void
}
declare i32 @__emit_string_literal_range(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qa9svpk.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 [11 x i8] c"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_concatenated_string_literal() #0 {
%1 = call i32 @__emit_string_literal_range(ptr noundef @.str, i32 noundef 4, i32 noundef 3, i32 noundef 6)
ret void
}
declare i32 @__emit_string_literal_range(ptr 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"}
|
; ModuleID = '/tmp/tmpc8sfnbzu.c'
source_filename = "/tmp/tmpc8sfnbzu.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/tmpc8sfnbzu.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/tmpf9aw_7nl.c'
source_filename = "/tmp/tmpf9aw_7nl.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_5__ = type { i32, i64, i64, i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr }
@SIGINT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"SIGINT\0A\00", align 1
@SI_QUEUE = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigint_function(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @SIGINT, align 4
%9 = icmp eq i32 %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i32 @printf(ptr noundef @.str)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %20, i32 0, i32 0
%22 = load i32, ptr %21, align 8
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %22, %23
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i32 0, i32 2
%35 = load i64, ptr %34, align 8
%36 = call i64 (...) @getpid()
%37 = icmp eq i64 %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 noundef %38)
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.TYPE_5__, ptr %40, i32 0, i32 3
%42 = load i64, ptr %41, align 8
%43 = load i64, ptr @SI_QUEUE, align 8
%44 = icmp eq i64 %42, %43
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.TYPE_5__, ptr %47, i32 0, i32 4
%49 = getelementptr inbounds %struct.TYPE_4__, ptr %48, i32 0, i32 0
%50 = load ptr, ptr %49, align 8
%51 = icmp eq ptr %50, inttoptr (i64 2 to ptr)
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 noundef %52)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @getpid(...) #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/tmpf9aw_7nl.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_5__ = type { i32, i64, i64, i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr }
@SIGINT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"SIGINT\0A\00", align 1
@SI_QUEUE = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigint_function(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @SIGINT, align 4
%9 = icmp eq i32 %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i32 @printf(ptr noundef @.str)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %20, i32 0, i32 0
%22 = load i32, ptr %21, align 8
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %22, %23
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i32 0, i32 2
%35 = load i64, ptr %34, align 8
%36 = call i64 (...) @getpid()
%37 = icmp eq i64 %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 noundef %38)
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.TYPE_5__, ptr %40, i32 0, i32 3
%42 = load i64, ptr %41, align 8
%43 = load i64, ptr @SI_QUEUE, align 8
%44 = icmp eq i64 %42, %43
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.TYPE_5__, ptr %47, i32 0, i32 4
%49 = getelementptr inbounds %struct.TYPE_4__, ptr %48, i32 0, i32 0
%50 = load ptr, ptr %49, align 8
%51 = icmp eq ptr %50, inttoptr (i64 2 to ptr)
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 noundef %52)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @getpid(...) #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/tmpk7hwik7i.c'
source_filename = "/tmp/tmpk7hwik7i.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 @qsort_cmp(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 %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(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/tmpk7hwik7i.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 @qsort_cmp(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 %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(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/tmp84ps34ok.c'
source_filename = "/tmp/tmp84ps34ok.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_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = 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/tmp84ps34ok.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_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = 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/tmp30vp3lkn.c'
source_filename = "/tmp/tmp30vp3lkn.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/tmp30vp3lkn.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/tmpxg2sh3qu.c'
source_filename = "/tmp/tmpxg2sh3qu.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"w\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c" file %s cannot be opened to write\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%14.7g %18.7g\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"file %s cannot be closed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dwrite_ascfile_c_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %11, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %5
%19 = load ptr, ptr %6, align 8
%20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 1) #4
unreachable
22: ; preds = %5
store i32 0, ptr %12, align 4
%23 = load ptr, ptr %8, align 8
%24 = load double, ptr %23, align 8
store double %24, ptr %13, align 8
%25 = load ptr, ptr %7, align 8
%26 = load double, ptr %25, align 8
store double %26, ptr %14, align 8
store i32 0, ptr %12, align 4
br label %27
27: ; preds = %45, %22
%28 = load i32, ptr %12, align 4
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %29, align 4
%31 = icmp slt i32 %28, %30
br i1 %31, label %32, label %48
32: ; preds = %27
%33 = load ptr, ptr %11, align 8
%34 = load double, ptr %14, align 8
%35 = load i32, ptr %12, align 4
%36 = sitofp i32 %35 to double
%37 = load double, ptr %13, align 8
%38 = call double @llvm.fmuladd.f64(double %36, double %37, double %34)
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
%44 = call i32 @fprintf(ptr noundef %33, ptr noundef @.str.2, double noundef %38, double noundef %43)
br label %45
45: ; preds = %32
%46 = load i32, ptr %12, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %12, align 4
br label %27, !llvm.loop !6
48: ; preds = %27
%49 = load ptr, ptr %11, align 8
%50 = call i64 @fclose(ptr noundef %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %48
%53 = load ptr, ptr %6, align 8
%54 = call i32 @printf(ptr noundef @.str.3, ptr noundef %53)
%55 = call i32 @exit(i32 noundef 1) #4
unreachable
56: ; preds = %48
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i64 @fclose(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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxg2sh3qu.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"w\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c" file %s cannot be opened to write\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%14.7g %18.7g\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"file %s cannot be closed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dwrite_ascfile_c_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %11, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %5
%19 = load ptr, ptr %6, align 8
%20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 1) #4
unreachable
22: ; preds = %5
store i32 0, ptr %12, align 4
%23 = load ptr, ptr %8, align 8
%24 = load double, ptr %23, align 8
store double %24, ptr %13, align 8
%25 = load ptr, ptr %7, align 8
%26 = load double, ptr %25, align 8
store double %26, ptr %14, align 8
store i32 0, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %27, %29
br i1 %30, label %.lr.ph, label %51
.lr.ph: ; preds = %22
br label %31
31: ; preds = %.lr.ph, %44
%32 = load ptr, ptr %11, align 8
%33 = load double, ptr %14, align 8
%34 = load i32, ptr %12, align 4
%35 = sitofp i32 %34 to double
%36 = load double, ptr %13, align 8
%37 = call double @llvm.fmuladd.f64(double %35, double %36, double %33)
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %12, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = call i32 @fprintf(ptr noundef %32, ptr noundef @.str.2, double noundef %37, double noundef %42)
br label %44
44: ; preds = %31
%45 = load i32, ptr %12, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %12, align 4
%47 = load i32, ptr %12, align 4
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %48, align 4
%50 = icmp slt i32 %47, %49
br i1 %50, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %51
51: ; preds = %._crit_edge, %22
%52 = load ptr, ptr %11, align 8
%53 = call i64 @fclose(ptr noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load ptr, ptr %6, align 8
%57 = call i32 @printf(ptr noundef @.str.3, ptr noundef %56)
%58 = call i32 @exit(i32 noundef 1) #4
unreachable
59: ; preds = %51
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i64 @fclose(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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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"}
|
; ModuleID = '/tmp/tmpnsj3gk64.c'
source_filename = "/tmp/tmpnsj3gk64.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"%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 i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1000000, ptr %2, align 4
%8 = call i64 @malloc(i32 noundef 1000000)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %18, %0
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 1000000
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 1, ptr %17, align 1
br label %18
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
store i8 0, ptr %23, align 1
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
store i8 0, ptr %25, align 1
store i32 2, ptr %5, align 4
br label %26
26: ; preds = %56, %21
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = mul nsw i32 %27, %28
%30 = icmp slt i32 %29, 1000000
br i1 %30, label %31, label %59
31: ; preds = %26
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = icmp ne i8 %36, 0
br i1 %37, label %38, label %55
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = mul nsw i32 %39, %40
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %50, %38
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %43, 1000000
br i1 %44, label %45, label %54
45: ; preds = %42
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %45
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %6, align 4
br label %42, !llvm.loop !8
54: ; preds = %42
br label %55
55: ; preds = %54, %31
br label %56
56: ; preds = %55
%57 = load i32, ptr %5, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %5, align 4
br label %26, !llvm.loop !9
59: ; preds = %26
store i32 0, ptr %7, align 4
store i32 2, ptr %5, align 4
br label %60
60: ; preds = %119, %59
%61 = load i32, ptr %5, align 4
%62 = icmp slt i32 %61, 1000000
br i1 %62, label %63, label %122
63: ; preds = %60
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = icmp ne i8 %68, 0
br i1 %69, label %70, label %118
70: ; preds = %63
store i8 0, ptr %3, align 1
%71 = load i32, ptr %5, align 4
%72 = call i32 @rotate(i32 noundef %71)
store i32 %72, ptr %6, align 4
br label %73
73: ; preds = %101, %70
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %6, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %99
81: ; preds = %73
%82 = load i8, ptr %3, align 1
%83 = sext i8 %82 to i32
%84 = load i32, ptr %5, align 4
%85 = call i32 @log10(i32 noundef %84)
%86 = call signext i8 @floor(i32 noundef %85)
%87 = sext i8 %86 to i32
%88 = icmp slt i32 %83, %87
br i1 %88, label %89, label %99
89: ; preds = %81
%90 = load i32, ptr %6, align 4
%91 = call i32 @log10(i32 noundef %90)
%92 = call signext i8 @floor(i32 noundef %91)
%93 = sext i8 %92 to i32
%94 = load i32, ptr %5, align 4
%95 = call i32 @log10(i32 noundef %94)
%96 = call signext i8 @floor(i32 noundef %95)
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %93, %97
br label %99
99: ; preds = %89, %81, %73
%100 = phi i1 [ false, %81 ], [ false, %73 ], [ %98, %89 ]
br i1 %100, label %101, label %106
101: ; preds = %99
%102 = load i32, ptr %6, align 4
%103 = call i32 @rotate(i32 noundef %102)
store i32 %103, ptr %6, align 4
%104 = load i8, ptr %3, align 1
%105 = add i8 %104, 1
store i8 %105, ptr %3, align 1
br label %73, !llvm.loop !10
106: ; preds = %99
%107 = load i8, ptr %3, align 1
%108 = sext i8 %107 to i32
%109 = load i32, ptr %5, align 4
%110 = call i32 @log10(i32 noundef %109)
%111 = call signext i8 @floor(i32 noundef %110)
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %108, %112
br i1 %113, label %114, label %117
114: ; preds = %106
%115 = load i32, ptr %7, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %7, align 4
br label %117
117: ; preds = %114, %106
br label %118
118: ; preds = %117, %63
br label %119
119: ; preds = %118
%120 = load i32, ptr %5, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %5, align 4
br label %60, !llvm.loop !11
122: ; preds = %60
%123 = load i32, ptr %7, align 4
%124 = call i32 @printf(ptr noundef @.str, i32 noundef %123)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @rotate(i32 noundef) #1
declare signext i8 @floor(i32 noundef) #1
declare i32 @log10(i32 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnsj3gk64.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"%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 i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1000000, ptr %2, align 4
%8 = call i64 @malloc(i32 noundef 1000000)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %4, align 8
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 1000000
br i1 %11, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %17
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
store i8 1, ptr %16, align 1
br label %17
17: ; preds = %12
%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 = icmp slt i32 %20, 1000000
br i1 %21, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
store i8 0, ptr %24, align 1
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
store i8 0, ptr %26, align 1
store i32 2, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = mul nsw i32 %27, %28
%30 = icmp slt i32 %29, 1000000
br i1 %30, label %.lr.ph5, label %64
.lr.ph5: ; preds = %22
br label %31
31: ; preds = %.lr.ph5, %57
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = icmp ne i8 %36, 0
br i1 %37, label %38, label %56
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = mul nsw i32 %39, %40
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %42, 1000000
br i1 %43, label %.lr.ph2, label %55
.lr.ph2: ; preds = %38
br label %44
44: ; preds = %.lr.ph2, %49
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 0, ptr %48, align 1
br label %49
49: ; preds = %44
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %53, 1000000
br i1 %54, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %55
55: ; preds = %._crit_edge3, %38
br label %56
56: ; preds = %55, %31
br label %57
57: ; preds = %56
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = mul nsw i32 %60, %61
%63 = icmp slt i32 %62, 1000000
br i1 %63, label %31, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %64
64: ; preds = %._crit_edge6, %22
store i32 0, ptr %7, align 4
store i32 2, ptr %5, align 4
%65 = load i32, ptr %5, align 4
%66 = icmp slt i32 %65, 1000000
br i1 %66, label %.lr.ph8, label %128
.lr.ph8: ; preds = %64
br label %67
67: ; preds = %.lr.ph8, %123
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = icmp ne i8 %72, 0
br i1 %73, label %74, label %122
74: ; preds = %67
store i8 0, ptr %3, align 1
%75 = load i32, ptr %5, align 4
%76 = call i32 @rotate(i32 noundef %75)
store i32 %76, ptr %6, align 4
br label %77
77: ; preds = %105, %74
%78 = load ptr, ptr %4, align 8
%79 = load i32, ptr %6, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %103
85: ; preds = %77
%86 = load i8, ptr %3, align 1
%87 = sext i8 %86 to i32
%88 = load i32, ptr %5, align 4
%89 = call i32 @log10(i32 noundef %88)
%90 = call signext i8 @floor(i32 noundef %89)
%91 = sext i8 %90 to i32
%92 = icmp slt i32 %87, %91
br i1 %92, label %93, label %103
93: ; preds = %85
%94 = load i32, ptr %6, align 4
%95 = call i32 @log10(i32 noundef %94)
%96 = call signext i8 @floor(i32 noundef %95)
%97 = sext i8 %96 to i32
%98 = load i32, ptr %5, align 4
%99 = call i32 @log10(i32 noundef %98)
%100 = call signext i8 @floor(i32 noundef %99)
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %97, %101
br label %103
103: ; preds = %93, %85, %77
%104 = phi i1 [ false, %85 ], [ false, %77 ], [ %102, %93 ]
br i1 %104, label %105, label %110
105: ; preds = %103
%106 = load i32, ptr %6, align 4
%107 = call i32 @rotate(i32 noundef %106)
store i32 %107, ptr %6, align 4
%108 = load i8, ptr %3, align 1
%109 = add i8 %108, 1
store i8 %109, ptr %3, align 1
br label %77, !llvm.loop !10
110: ; preds = %103
%111 = load i8, ptr %3, align 1
%112 = sext i8 %111 to i32
%113 = load i32, ptr %5, align 4
%114 = call i32 @log10(i32 noundef %113)
%115 = call signext i8 @floor(i32 noundef %114)
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %112, %116
br i1 %117, label %118, label %121
118: ; preds = %110
%119 = load i32, ptr %7, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %7, align 4
br label %121
121: ; preds = %118, %110
br label %122
122: ; preds = %121, %67
br label %123
123: ; preds = %122
%124 = load i32, ptr %5, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %5, align 4
%126 = load i32, ptr %5, align 4
%127 = icmp slt i32 %126, 1000000
br i1 %127, label %67, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %123
br label %128
128: ; preds = %._crit_edge9, %64
%129 = load i32, ptr %7, align 4
%130 = call i32 @printf(ptr noundef @.str, i32 noundef %129)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @rotate(i32 noundef) #1
declare signext i8 @floor(i32 noundef) #1
declare i32 @log10(i32 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp3gapbmh8.c'
source_filename = "/tmp/tmp3gapbmh8.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 @quit() #0 {
%1 = call i32 (...) @refresh()
%2 = call i32 (...) @endwin()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @refresh(...) #1
declare i32 @endwin(...) #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/tmp3gapbmh8.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 @quit() #0 {
%1 = call i32 (...) @refresh()
%2 = call i32 (...) @endwin()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @refresh(...) #1
declare i32 @endwin(...) #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/tmpe180no43.c'
source_filename = "/tmp/tmpe180no43.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 @libev_system_deinit(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 i32 @free(ptr noundef %3)
ret void
}
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/tmpe180no43.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 @libev_system_deinit(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 i32 @free(ptr noundef %3)
ret void
}
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/tmp57fb_bit.c'
source_filename = "/tmp/tmp57fb_bit.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 @unlink_cb(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = 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
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @remove(ptr noundef %9)
ret i32 %10
}
declare i32 @remove(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/tmp57fb_bit.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 @unlink_cb(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = 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
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @remove(ptr noundef %9)
ret i32 %10
}
declare i32 @remove(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/tmp_wfsp_c1.c'
source_filename = "/tmp/tmp_wfsp_c1.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_wfsp_c1.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/tmph75yjoj7.c'
source_filename = "/tmp/tmph75yjoj7.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 [51 x i8] c"msgtool - A utility for tinkering with msg queues\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\0AUSAGE: msgtool (s)end <type> <messagetext>\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" (r)ecv <type>\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" (d)elete\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c" (m)ode <octal mode>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 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/tmph75yjoj7.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 [51 x i8] c"msgtool - A utility for tinkering with msg queues\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\0AUSAGE: msgtool (s)end <type> <messagetext>\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" (r)ecv <type>\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" (d)elete\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c" (m)ode <octal mode>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 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/tmprejvcd6u.c'
source_filename = "/tmp/tmprejvcd6u.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 @weird_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @free(ptr noundef %9)
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @strcmp(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprejvcd6u.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 @weird_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @free(ptr noundef %9)
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @strcmp(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"}
|
; ModuleID = '/tmp/tmp0p6bn682.c'
source_filename = "/tmp/tmp0p6bn682.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 @matrix_setbrightness(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [5 x i8], align 1
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
store i8 70, ptr %4, align 1
%5 = getelementptr inbounds i8, ptr %4, i64 1
store i8 87, ptr %5, align 1
%6 = getelementptr inbounds i8, ptr %5, i64 1
store i8 67, ptr %6, align 1
%7 = getelementptr inbounds i8, ptr %6, i64 1
store i8 65, ptr %7, align 1
%8 = getelementptr inbounds i8, ptr %7, i64 1
%9 = load i32, ptr %2, align 4
%10 = trunc i32 %9 to i8
store i8 %10, ptr %8, align 1
%11 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @matrix_write(ptr noundef %11, i32 noundef 5)
ret void
}
declare i32 @matrix_write(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/tmp0p6bn682.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 @matrix_setbrightness(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [5 x i8], align 1
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
store i8 70, ptr %4, align 1
%5 = getelementptr inbounds i8, ptr %4, i64 1
store i8 87, ptr %5, align 1
%6 = getelementptr inbounds i8, ptr %5, i64 1
store i8 67, ptr %6, align 1
%7 = getelementptr inbounds i8, ptr %6, i64 1
store i8 65, ptr %7, align 1
%8 = getelementptr inbounds i8, ptr %7, i64 1
%9 = load i32, ptr %2, align 4
%10 = trunc i32 %9 to i8
store i8 %10, ptr %8, align 1
%11 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @matrix_write(ptr noundef %11, i32 noundef 5)
ret void
}
declare i32 @matrix_write(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/tmpbmkrxvp_.c'
source_filename = "/tmp/tmpbmkrxvp_.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"
@SEEK_SET = dso_local global i32 0, align 4
@EOF = dso_local global i64 0, align 8
@INT32_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fsize(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @SEEK_SET, align 4
%9 = call i32 @fseeko(ptr noundef %7, i32 noundef 0, i32 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @fgetc(ptr noundef %12)
%14 = load i64, ptr @EOF, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %1
store i32 0, ptr %2, align 4
br label %83
17: ; preds = %11
store i32 1, ptr %4, align 4
br label %18
18: ; preds = %39, %17
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr @SEEK_SET, align 4
%22 = call i32 @fseeko(ptr noundef %19, i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %37
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = call i64 @fgetc(ptr noundef %25)
%27 = load i64, ptr @EOF, align 8
%28 = icmp eq i64 %26, %27
%29 = zext i1 %28 to i32
store i32 %29, ptr %6, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %24
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr @INT32_MAX, align 4
%34 = sdiv i32 %33, 4
%35 = add nsw i32 %34, 1
%36 = icmp sle i32 %32, %35
br label %37
37: ; preds = %31, %24, %18
%38 = phi i1 [ false, %24 ], [ false, %18 ], [ %36, %31 ]
br i1 %38, label %39, label %42
39: ; preds = %37
%40 = load i32, ptr %4, align 4
%41 = mul nsw i32 %40, 2
store i32 %41, ptr %4, align 4
br label %18, !llvm.loop !6
42: ; preds = %37
%43 = load i32, ptr %6, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = sdiv i32 %46, 2
store i32 %47, ptr %4, align 4
br label %48
48: ; preds = %45, %42
%49 = load i32, ptr %4, align 4
%50 = sdiv i32 %49, 2
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %72, %48
%52 = load i32, ptr %5, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %75
54: ; preds = %51
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %5, align 4
%58 = add nsw i32 %56, %57
%59 = load i32, ptr @SEEK_SET, align 4
%60 = call i32 @fseeko(ptr noundef %55, i32 noundef %58, i32 noundef %59)
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %71
62: ; preds = %54
%63 = load ptr, ptr %3, align 8
%64 = call i64 @fgetc(ptr noundef %63)
%65 = load i64, ptr @EOF, align 8
%66 = icmp ne i64 %64, %65
br i1 %66, label %67, label %71
67: ; preds = %62
%68 = load i32, ptr %5, align 4
%69 = load i32, ptr %4, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %4, align 4
br label %71
71: ; preds = %67, %62, %54
br label %72
72: ; preds = %71
%73 = load i32, ptr %5, align 4
%74 = sdiv i32 %73, 2
store i32 %74, ptr %5, align 4
br label %51, !llvm.loop !8
75: ; preds = %51
%76 = load i32, ptr %4, align 4
%77 = load i32, ptr @INT32_MAX, align 4
%78 = icmp eq i32 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %75
store i32 -1, ptr %2, align 4
br label %83
80: ; preds = %75
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %2, align 4
br label %83
83: ; preds = %80, %79, %16
%84 = load i32, ptr %2, align 4
ret i32 %84
}
declare i32 @fseeko(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @fgetc(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmkrxvp_.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"
@SEEK_SET = dso_local global i32 0, align 4
@EOF = dso_local global i64 0, align 8
@INT32_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fsize(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @SEEK_SET, align 4
%9 = call i32 @fseeko(ptr noundef %7, i32 noundef 0, i32 noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @fgetc(ptr noundef %12)
%14 = load i64, ptr @EOF, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %1
store i32 0, ptr %2, align 4
br label %84
17: ; preds = %11
store i32 1, ptr %4, align 4
br label %18
18: ; preds = %39, %17
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr @SEEK_SET, align 4
%22 = call i32 @fseeko(ptr noundef %19, i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %37
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = call i64 @fgetc(ptr noundef %25)
%27 = load i64, ptr @EOF, align 8
%28 = icmp eq i64 %26, %27
%29 = zext i1 %28 to i32
store i32 %29, ptr %6, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %24
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr @INT32_MAX, align 4
%34 = sdiv i32 %33, 4
%35 = add nsw i32 %34, 1
%36 = icmp sle i32 %32, %35
br label %37
37: ; preds = %31, %24, %18
%38 = phi i1 [ false, %24 ], [ false, %18 ], [ %36, %31 ]
br i1 %38, label %39, label %42
39: ; preds = %37
%40 = load i32, ptr %4, align 4
%41 = mul nsw i32 %40, 2
store i32 %41, ptr %4, align 4
br label %18, !llvm.loop !6
42: ; preds = %37
%43 = load i32, ptr %6, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = sdiv i32 %46, 2
store i32 %47, ptr %4, align 4
br label %48
48: ; preds = %45, %42
%49 = load i32, ptr %4, align 4
%50 = sdiv i32 %49, 2
store i32 %50, ptr %5, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %.lr.ph, label %76
.lr.ph: ; preds = %48
br label %53
53: ; preds = %.lr.ph, %71
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %55, %56
%58 = load i32, ptr @SEEK_SET, align 4
%59 = call i32 @fseeko(ptr noundef %54, i32 noundef %57, i32 noundef %58)
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %70
61: ; preds = %53
%62 = load ptr, ptr %3, align 8
%63 = call i64 @fgetc(ptr noundef %62)
%64 = load i64, ptr @EOF, align 8
%65 = icmp ne i64 %63, %64
br i1 %65, label %66, label %70
66: ; preds = %61
%67 = load i32, ptr %5, align 4
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, %67
store i32 %69, ptr %4, align 4
br label %70
70: ; preds = %66, %61, %53
br label %71
71: ; preds = %70
%72 = load i32, ptr %5, align 4
%73 = sdiv i32 %72, 2
store i32 %73, ptr %5, align 4
%74 = load i32, ptr %5, align 4
%75 = icmp ne i32 %74, 0
br i1 %75, label %53, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %71
br label %76
76: ; preds = %._crit_edge, %48
%77 = load i32, ptr %4, align 4
%78 = load i32, ptr @INT32_MAX, align 4
%79 = icmp eq i32 %77, %78
br i1 %79, label %80, label %81
80: ; preds = %76
store i32 -1, ptr %2, align 4
br label %84
81: ; preds = %76
%82 = load i32, ptr %4, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %2, align 4
br label %84
84: ; preds = %81, %80, %16
%85 = load i32, ptr %2, align 4
ret i32 %85
}
declare i32 @fseeko(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @fgetc(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}
|
; ModuleID = '/tmp/tmp9w4uy2ag.c'
source_filename = "/tmp/tmp9w4uy2ag.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"
@EOF = dso_local global i8 0, align 1
@.str = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"#CHROM\00", align 1
@.str.2 = private unnamed_addr constant [72 x i8] c"Error: It seems that the line with individual informations is missing.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nb_cols_vcf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @fopen_read(ptr noundef %10)
store ptr %11, ptr %4, align 8
store i32 1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = load ptr, ptr %4, align 8
%13 = call signext i8 @fgetc(ptr noundef %12)
store i8 %13, ptr %3, align 1
br label %14
14: ; preds = %55, %1
%15 = load ptr, ptr %4, align 8
%16 = call i32 @feof(ptr noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %3, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 35
br label %22
22: ; preds = %18, %14
%23 = phi i1 [ false, %14 ], [ %21, %18 ]
br i1 %23, label %24, label %56
24: ; preds = %22
store i32 1, ptr %6, align 4
br label %25
25: ; preds = %37, %24
%26 = load i8, ptr %3, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 10
br i1 %28, label %29, label %35
29: ; preds = %25
%30 = load i8, ptr %3, align 1
%31 = sext i8 %30 to i32
%32 = load i8, ptr @EOF, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %31, %33
br label %35
35: ; preds = %29, %25
%36 = phi i1 [ false, %25 ], [ %34, %29 ]
br i1 %36, label %37, label %42
37: ; preds = %35
%38 = load ptr, ptr %4, align 8
%39 = call signext i8 @fgetc(ptr noundef %38)
store i8 %39, ptr %3, align 1
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %25, !llvm.loop !6
42: ; preds = %35
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp sgt i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = load i32, ptr %6, align 4
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %46, %42
%49 = load ptr, ptr %4, align 8
%50 = call i32 @feof(ptr noundef %49)
%51 = icmp ne i32 %50, 0
br i1 %51, label %55, label %52
52: ; preds = %48
%53 = load ptr, ptr %4, align 8
%54 = call signext i8 @fgetc(ptr noundef %53)
store i8 %54, ptr %3, align 1
br label %55
55: ; preds = %52, %48
br label %14, !llvm.loop !8
56: ; preds = %22
%57 = load ptr, ptr %4, align 8
%58 = call i32 @fclose(ptr noundef %57)
%59 = load ptr, ptr %2, align 8
%60 = call ptr @fopen_read(ptr noundef %59)
store ptr %60, ptr %4, align 8
%61 = load i32, ptr %5, align 4
%62 = mul nsw i32 2, %61
%63 = call i64 @calloc(i32 noundef %62, i32 noundef 1)
%64 = inttoptr i64 %63 to ptr
store ptr %64, ptr %8, align 8
%65 = load ptr, ptr %8, align 8
%66 = load i32, ptr %5, align 4
%67 = mul nsw i32 2, %66
%68 = load ptr, ptr %4, align 8
%69 = call ptr @fgets(ptr noundef %65, i32 noundef %67, ptr noundef %68)
store ptr %69, ptr %9, align 8
br label %70
70: ; preds = %76, %56
%71 = load ptr, ptr %8, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 35
br i1 %75, label %76, label %82
76: ; preds = %70
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %5, align 4
%79 = mul nsw i32 2, %78
%80 = load ptr, ptr %4, align 8
%81 = call ptr @fgets(ptr noundef %77, i32 noundef %79, ptr noundef %80)
store ptr %81, ptr %9, align 8
br label %70, !llvm.loop !9
82: ; preds = %70
%83 = load ptr, ptr %8, align 8
%84 = call ptr @strtok(ptr noundef %83, ptr noundef @.str)
store ptr %84, ptr %9, align 8
%85 = load ptr, ptr %9, align 8
%86 = call i32 @strcmp(ptr noundef %85, ptr noundef @.str.1)
%87 = icmp ne i32 %86, 0
br i1 %87, label %97, label %88
88: ; preds = %82
br label %89
89: ; preds = %92, %88
%90 = load ptr, ptr %9, align 8
%91 = icmp ne ptr %90, null
br i1 %91, label %92, label %96
92: ; preds = %89
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
%95 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %95, ptr %9, align 8
br label %89, !llvm.loop !10
96: ; preds = %89
br label %100
97: ; preds = %82
%98 = call i32 @printf(ptr noundef @.str.2)
%99 = call i32 @exit(i32 noundef 1) #3
unreachable
100: ; preds = %96
%101 = load ptr, ptr %4, align 8
%102 = call i32 @fclose(ptr noundef %101)
%103 = load ptr, ptr %8, align 8
%104 = call i32 @free(ptr noundef %103)
%105 = load i32, ptr %7, align 4
%106 = sub nsw i32 %105, 9
ret i32 %106
}
declare ptr @fopen_read(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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 = { 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9w4uy2ag.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"
@EOF = dso_local global i8 0, align 1
@.str = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"#CHROM\00", align 1
@.str.2 = private unnamed_addr constant [72 x i8] c"Error: It seems that the line with individual informations is missing.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nb_cols_vcf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @fopen_read(ptr noundef %10)
store ptr %11, ptr %4, align 8
store i32 1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = load ptr, ptr %4, align 8
%13 = call signext i8 @fgetc(ptr noundef %12)
store i8 %13, ptr %3, align 1
br label %14
14: ; preds = %55, %1
%15 = load ptr, ptr %4, align 8
%16 = call i32 @feof(ptr noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %3, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 35
br label %22
22: ; preds = %18, %14
%23 = phi i1 [ false, %14 ], [ %21, %18 ]
br i1 %23, label %24, label %56
24: ; preds = %22
store i32 1, ptr %6, align 4
br label %25
25: ; preds = %37, %24
%26 = load i8, ptr %3, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 10
br i1 %28, label %29, label %35
29: ; preds = %25
%30 = load i8, ptr %3, align 1
%31 = sext i8 %30 to i32
%32 = load i8, ptr @EOF, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %31, %33
br label %35
35: ; preds = %29, %25
%36 = phi i1 [ false, %25 ], [ %34, %29 ]
br i1 %36, label %37, label %42
37: ; preds = %35
%38 = load ptr, ptr %4, align 8
%39 = call signext i8 @fgetc(ptr noundef %38)
store i8 %39, ptr %3, align 1
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %25, !llvm.loop !6
42: ; preds = %35
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp sgt i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = load i32, ptr %6, align 4
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %46, %42
%49 = load ptr, ptr %4, align 8
%50 = call i32 @feof(ptr noundef %49)
%51 = icmp ne i32 %50, 0
br i1 %51, label %55, label %52
52: ; preds = %48
%53 = load ptr, ptr %4, align 8
%54 = call signext i8 @fgetc(ptr noundef %53)
store i8 %54, ptr %3, align 1
br label %55
55: ; preds = %52, %48
br label %14, !llvm.loop !8
56: ; preds = %22
%57 = load ptr, ptr %4, align 8
%58 = call i32 @fclose(ptr noundef %57)
%59 = load ptr, ptr %2, align 8
%60 = call ptr @fopen_read(ptr noundef %59)
store ptr %60, ptr %4, align 8
%61 = load i32, ptr %5, align 4
%62 = mul nsw i32 2, %61
%63 = call i64 @calloc(i32 noundef %62, i32 noundef 1)
%64 = inttoptr i64 %63 to ptr
store ptr %64, ptr %8, align 8
%65 = load ptr, ptr %8, align 8
%66 = load i32, ptr %5, align 4
%67 = mul nsw i32 2, %66
%68 = load ptr, ptr %4, align 8
%69 = call ptr @fgets(ptr noundef %65, i32 noundef %67, ptr noundef %68)
store ptr %69, ptr %9, align 8
%70 = load ptr, ptr %8, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 1
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 35
br i1 %74, label %.lr.ph, label %86
.lr.ph: ; preds = %56
br label %75
75: ; preds = %.lr.ph, %75
%76 = load ptr, ptr %8, align 8
%77 = load i32, ptr %5, align 4
%78 = mul nsw i32 2, %77
%79 = load ptr, ptr %4, align 8
%80 = call ptr @fgets(ptr noundef %76, i32 noundef %78, ptr noundef %79)
store ptr %80, ptr %9, align 8
%81 = load ptr, ptr %8, align 8
%82 = getelementptr inbounds i8, ptr %81, i64 1
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 35
br i1 %85, label %75, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %75
br label %86
86: ; preds = %._crit_edge, %56
%87 = load ptr, ptr %8, align 8
%88 = call ptr @strtok(ptr noundef %87, ptr noundef @.str)
store ptr %88, ptr %9, align 8
%89 = load ptr, ptr %9, align 8
%90 = call i32 @strcmp(ptr noundef %89, ptr noundef @.str.1)
%91 = icmp ne i32 %90, 0
br i1 %91, label %102, label %92
92: ; preds = %86
%93 = load ptr, ptr %9, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %.lr.ph2, label %101
.lr.ph2: ; preds = %92
br label %95
95: ; preds = %.lr.ph2, %95
%96 = load i32, ptr %7, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %7, align 4
%98 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %98, ptr %9, align 8
%99 = load ptr, ptr %9, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %95, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %95
br label %101
101: ; preds = %._crit_edge3, %92
br label %105
102: ; preds = %86
%103 = call i32 @printf(ptr noundef @.str.2)
%104 = call i32 @exit(i32 noundef 1) #3
unreachable
105: ; preds = %101
%106 = load ptr, ptr %4, align 8
%107 = call i32 @fclose(ptr noundef %106)
%108 = load ptr, ptr %8, align 8
%109 = call i32 @free(ptr noundef %108)
%110 = load i32, ptr %7, align 4
%111 = sub nsw i32 %110, 9
ret i32 %111
}
declare ptr @fopen_read(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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 = { 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmplvtd_z9i.c'
source_filename = "/tmp/tmplvtd_z9i.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 weak dso_local ptr @__real_mmap(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i64, ptr %8, align 8
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = call ptr @mmap(ptr noundef %13, i64 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18)
ret ptr %19
}
declare ptr @mmap(ptr noundef, i64 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplvtd_z9i.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 weak dso_local ptr @__real_mmap(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i64, ptr %8, align 8
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = call ptr @mmap(ptr noundef %13, i64 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18)
ret ptr %19
}
declare ptr @mmap(ptr noundef, i64 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"}
|
; ModuleID = '/tmp/tmphuj4zyty.c'
source_filename = "/tmp/tmphuj4zyty.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 (...) @get_stuff()
ret i32 %6
}
declare i32 @get_stuff(...) #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/tmphuj4zyty.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 (...) @get_stuff()
ret i32 %6
}
declare i32 @get_stuff(...) #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/tmpwwj2y5x6.c'
source_filename = "/tmp/tmpwwj2y5x6.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/tmpwwj2y5x6.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/tmp9ov7t4vq.c'
source_filename = "/tmp/tmp9ov7t4vq.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"-l\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ls: error\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 [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @getcwd(ptr noundef %7, i32 noundef 256)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @listdir(ptr noundef %12, i32 noundef 0)
br label %60
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str)
%22 = icmp ne i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @listdir(ptr noundef %24, i32 noundef 1)
br label %59
26: ; preds = %17, %14
%27 = load i32, ptr %4, align 4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %40
29: ; preds = %26
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %29
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 @listdir(ptr noundef %38, i32 noundef 0)
br label %58
40: ; preds = %29, %26
%41 = load i32, ptr %4, align 4
%42 = icmp eq i32 %41, 3
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 1
%46 = load ptr, ptr %45, align 8
%47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str)
%48 = icmp ne i64 %47, 0
br i1 %48, label %54, label %49
49: ; preds = %43
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 2
%52 = load ptr, ptr %51, align 8
%53 = call i32 @listdir(ptr noundef %52, i32 noundef 1)
br label %57
54: ; preds = %43, %40
%55 = call i32 @printf(ptr noundef @.str.1)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %49
br label %58
58: ; preds = %57, %35
br label %59
59: ; preds = %58, %23
br label %60
60: ; preds = %59, %11
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @listdir(ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
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/tmp9ov7t4vq.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"-l\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ls: error\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 [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @getcwd(ptr noundef %7, i32 noundef 256)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @listdir(ptr noundef %12, i32 noundef 0)
br label %60
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str)
%22 = icmp ne i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @listdir(ptr noundef %24, i32 noundef 1)
br label %59
26: ; preds = %17, %14
%27 = load i32, ptr %4, align 4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %40
29: ; preds = %26
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %29
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i32 @listdir(ptr noundef %38, i32 noundef 0)
br label %58
40: ; preds = %29, %26
%41 = load i32, ptr %4, align 4
%42 = icmp eq i32 %41, 3
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 1
%46 = load ptr, ptr %45, align 8
%47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str)
%48 = icmp ne i64 %47, 0
br i1 %48, label %54, label %49
49: ; preds = %43
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 2
%52 = load ptr, ptr %51, align 8
%53 = call i32 @listdir(ptr noundef %52, i32 noundef 1)
br label %57
54: ; preds = %43, %40
%55 = call i32 @printf(ptr noundef @.str.1)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %49
br label %58
58: ; preds = %57, %35
br label %59
59: ; preds = %58, %23
br label %60
60: ; preds = %59, %11
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @listdir(ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
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/tmpmzwydhda.c'
source_filename = "/tmp/tmpmzwydhda.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/tmpmzwydhda.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/tmprbqbu7lb.c'
source_filename = "/tmp/tmprbqbu7lb.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"%d\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@PF_INET6 = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"AF_UNIX %d\0A\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"AF_LOCAL %d\0A\00", align 1
@AF_LOCAL = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"AF_IRDA %d\0A\00", align 1
@AF_IRDA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @AF_INET, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @PF_INET, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr @AF_INET6, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr @PF_INET6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr @AF_UNIX, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load i32, ptr @AF_LOCAL, align 4
%13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load i32, ptr @AF_IRDA, align 4
%15 = call i32 @printf(ptr noundef @.str.3, i32 noundef %14)
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/tmprbqbu7lb.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"%d\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@PF_INET6 = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"AF_UNIX %d\0A\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"AF_LOCAL %d\0A\00", align 1
@AF_LOCAL = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"AF_IRDA %d\0A\00", align 1
@AF_IRDA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @AF_INET, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @PF_INET, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr @AF_INET6, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr @PF_INET6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr @AF_UNIX, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load i32, ptr @AF_LOCAL, align 4
%13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load i32, ptr @AF_IRDA, align 4
%15 = call i32 @printf(ptr noundef @.str.3, i32 noundef %14)
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/tmpyyr7fq5m.c'
source_filename = "/tmp/tmpyyr7fq5m.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 [24 x i8] c"tau1 is %d, tau2 is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Number of threads is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @corr3_parallel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%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
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %14, align 4
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %15, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %91
27: ; preds = %8
%28 = call i32 (...) @omp_get_num_threads()
store i32 %28, ptr %19, align 4
%29 = load i32, ptr %19, align 4
%30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %29)
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp sge i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %27
%35 = load i32, ptr %11, align 4
%36 = sub nsw i32 %35, 1
br label %39
37: ; preds = %27
%38 = load i32, ptr %13, align 4
br label %39
39: ; preds = %37, %34
%40 = phi i32 [ %36, %34 ], [ %38, %37 ]
store i32 %40, ptr %20, align 4
%41 = load i32, ptr %14, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp sge i32 %41, %42
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = load i32, ptr %12, align 4
%46 = sub nsw i32 %45, 1
br label %49
47: ; preds = %39
%48 = load i32, ptr %14, align 4
br label %49
49: ; preds = %47, %44
%50 = phi i32 [ %46, %44 ], [ %48, %47 ]
store i32 %50, ptr %21, align 4
store i32 0, ptr %17, align 4
br label %51
51: ; preds = %87, %49
%52 = load i32, ptr %17, align 4
%53 = load i32, ptr %20, align 4
%54 = mul nsw i32 2, %53
%55 = icmp sle i32 %52, %54
br i1 %55, label %56, label %90
56: ; preds = %51
store i32 0, ptr %18, align 4
br label %57
57: ; preds = %83, %56
%58 = load i32, ptr %18, align 4
%59 = load i32, ptr %21, align 4
%60 = mul nsw i32 2, %59
%61 = icmp sle i32 %58, %60
br i1 %61, label %62, label %86
62: ; preds = %57
%63 = load ptr, ptr %9, align 8
%64 = load ptr, ptr %10, align 8
%65 = load i32, ptr %11, align 4
%66 = load i32, ptr %17, align 4
%67 = load i32, ptr %20, align 4
%68 = sub nsw i32 %66, %67
%69 = load i32, ptr %18, align 4
%70 = load i32, ptr %21, align 4
%71 = sub nsw i32 %69, %70
%72 = call double @xcorr_unbiased(ptr noundef %63, ptr noundef %64, i32 noundef %65, i32 noundef %68, i32 noundef %71)
%73 = load ptr, ptr %16, align 8
%74 = load i32, ptr %17, align 4
%75 = load i32, ptr %18, align 4
%76 = load i32, ptr %20, align 4
%77 = mul nsw i32 2, %76
%78 = add nsw i32 %77, 1
%79 = mul nsw i32 %75, %78
%80 = add nsw i32 %74, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %73, i64 %81
store double %72, ptr %82, align 8
br label %83
83: ; preds = %62
%84 = load i32, ptr %18, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %18, align 4
br label %57, !llvm.loop !6
86: ; preds = %57
br label %87
87: ; preds = %86
%88 = load i32, ptr %17, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %17, align 4
br label %51, !llvm.loop !8
90: ; preds = %51
br label %152
91: ; preds = %8
%92 = load i32, ptr %13, align 4
%93 = load i32, ptr %11, align 4
%94 = icmp sge i32 %92, %93
br i1 %94, label %95, label %98
95: ; preds = %91
%96 = load i32, ptr %11, align 4
%97 = sub nsw i32 %96, 1
br label %100
98: ; preds = %91
%99 = load i32, ptr %13, align 4
br label %100
100: ; preds = %98, %95
%101 = phi i32 [ %97, %95 ], [ %99, %98 ]
store i32 %101, ptr %20, align 4
%102 = load i32, ptr %14, align 4
%103 = load i32, ptr %12, align 4
%104 = icmp sge i32 %102, %103
br i1 %104, label %105, label %108
105: ; preds = %100
%106 = load i32, ptr %12, align 4
%107 = sub nsw i32 %106, 1
br label %110
108: ; preds = %100
%109 = load i32, ptr %14, align 4
br label %110
110: ; preds = %108, %105
%111 = phi i32 [ %107, %105 ], [ %109, %108 ]
store i32 %111, ptr %21, align 4
store i32 0, ptr %17, align 4
br label %112
112: ; preds = %148, %110
%113 = load i32, ptr %17, align 4
%114 = load i32, ptr %20, align 4
%115 = mul nsw i32 2, %114
%116 = icmp sle i32 %113, %115
br i1 %116, label %117, label %151
117: ; preds = %112
store i32 0, ptr %18, align 4
br label %118
118: ; preds = %144, %117
%119 = load i32, ptr %18, align 4
%120 = load i32, ptr %21, align 4
%121 = mul nsw i32 2, %120
%122 = icmp sle i32 %119, %121
br i1 %122, label %123, label %147
123: ; preds = %118
%124 = load ptr, ptr %9, align 8
%125 = load ptr, ptr %10, align 8
%126 = load i32, ptr %11, align 4
%127 = load i32, ptr %17, align 4
%128 = load i32, ptr %20, align 4
%129 = sub nsw i32 %127, %128
%130 = load i32, ptr %18, align 4
%131 = load i32, ptr %21, align 4
%132 = sub nsw i32 %130, %131
%133 = call double @xcorr_sum(ptr noundef %124, ptr noundef %125, i32 noundef %126, i32 noundef %129, i32 noundef %132)
%134 = load ptr, ptr %16, align 8
%135 = load i32, ptr %17, align 4
%136 = load i32, ptr %18, align 4
%137 = load i32, ptr %20, align 4
%138 = mul nsw i32 2, %137
%139 = add nsw i32 %138, 1
%140 = mul nsw i32 %136, %139
%141 = add nsw i32 %135, %140
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, ptr %134, i64 %142
store double %133, ptr %143, align 8
br label %144
144: ; preds = %123
%145 = load i32, ptr %18, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %18, align 4
br label %118, !llvm.loop !9
147: ; preds = %118
br label %148
148: ; preds = %147
%149 = load i32, ptr %17, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %17, align 4
br label %112, !llvm.loop !10
151: ; preds = %112
br label %152
152: ; preds = %151, %90
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @omp_get_num_threads(...) #1
declare double @xcorr_unbiased(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare double @xcorr_sum(ptr noundef, ptr 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyyr7fq5m.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 [24 x i8] c"tau1 is %d, tau2 is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Number of threads is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @corr3_parallel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%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
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %14, align 4
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %15, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %97
27: ; preds = %8
%28 = call i32 (...) @omp_get_num_threads()
store i32 %28, ptr %19, align 4
%29 = load i32, ptr %19, align 4
%30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %29)
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp sge i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %27
%35 = load i32, ptr %11, align 4
%36 = sub nsw i32 %35, 1
br label %39
37: ; preds = %27
%38 = load i32, ptr %13, align 4
br label %39
39: ; preds = %37, %34
%40 = phi i32 [ %36, %34 ], [ %38, %37 ]
store i32 %40, ptr %20, align 4
%41 = load i32, ptr %14, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp sge i32 %41, %42
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = load i32, ptr %12, align 4
%46 = sub nsw i32 %45, 1
br label %49
47: ; preds = %39
%48 = load i32, ptr %14, align 4
br label %49
49: ; preds = %47, %44
%50 = phi i32 [ %46, %44 ], [ %48, %47 ]
store i32 %50, ptr %21, align 4
store i32 0, ptr %17, align 4
%51 = load i32, ptr %17, align 4
%52 = load i32, ptr %20, align 4
%53 = mul nsw i32 2, %52
%54 = icmp sle i32 %51, %53
br i1 %54, label %.lr.ph8, label %96
.lr.ph8: ; preds = %49
br label %55
55: ; preds = %.lr.ph8, %89
store i32 0, ptr %18, align 4
%56 = load i32, ptr %18, align 4
%57 = load i32, ptr %21, align 4
%58 = mul nsw i32 2, %57
%59 = icmp sle i32 %56, %58
br i1 %59, label %.lr.ph5, label %88
.lr.ph5: ; preds = %55
br label %60
60: ; preds = %.lr.ph5, %81
%61 = load ptr, ptr %9, align 8
%62 = load ptr, ptr %10, align 8
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %17, align 4
%65 = load i32, ptr %20, align 4
%66 = sub nsw i32 %64, %65
%67 = load i32, ptr %18, align 4
%68 = load i32, ptr %21, align 4
%69 = sub nsw i32 %67, %68
%70 = call double @xcorr_unbiased(ptr noundef %61, ptr noundef %62, i32 noundef %63, i32 noundef %66, i32 noundef %69)
%71 = load ptr, ptr %16, align 8
%72 = load i32, ptr %17, align 4
%73 = load i32, ptr %18, align 4
%74 = load i32, ptr %20, align 4
%75 = mul nsw i32 2, %74
%76 = add nsw i32 %75, 1
%77 = mul nsw i32 %73, %76
%78 = add nsw i32 %72, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %71, i64 %79
store double %70, ptr %80, align 8
br label %81
81: ; preds = %60
%82 = load i32, ptr %18, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %18, align 4
%84 = load i32, ptr %18, align 4
%85 = load i32, ptr %21, align 4
%86 = mul nsw i32 2, %85
%87 = icmp sle i32 %84, %86
br i1 %87, label %60, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %81
br label %88
88: ; preds = %._crit_edge6, %55
br label %89
89: ; preds = %88
%90 = load i32, ptr %17, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %17, align 4
%92 = load i32, ptr %17, align 4
%93 = load i32, ptr %20, align 4
%94 = mul nsw i32 2, %93
%95 = icmp sle i32 %92, %94
br i1 %95, label %55, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %89
br label %96
96: ; preds = %._crit_edge9, %49
br label %164
97: ; preds = %8
%98 = load i32, ptr %13, align 4
%99 = load i32, ptr %11, align 4
%100 = icmp sge i32 %98, %99
br i1 %100, label %101, label %104
101: ; preds = %97
%102 = load i32, ptr %11, align 4
%103 = sub nsw i32 %102, 1
br label %106
104: ; preds = %97
%105 = load i32, ptr %13, align 4
br label %106
106: ; preds = %104, %101
%107 = phi i32 [ %103, %101 ], [ %105, %104 ]
store i32 %107, ptr %20, align 4
%108 = load i32, ptr %14, align 4
%109 = load i32, ptr %12, align 4
%110 = icmp sge i32 %108, %109
br i1 %110, label %111, label %114
111: ; preds = %106
%112 = load i32, ptr %12, align 4
%113 = sub nsw i32 %112, 1
br label %116
114: ; preds = %106
%115 = load i32, ptr %14, align 4
br label %116
116: ; preds = %114, %111
%117 = phi i32 [ %113, %111 ], [ %115, %114 ]
store i32 %117, ptr %21, align 4
store i32 0, ptr %17, align 4
%118 = load i32, ptr %17, align 4
%119 = load i32, ptr %20, align 4
%120 = mul nsw i32 2, %119
%121 = icmp sle i32 %118, %120
br i1 %121, label %.lr.ph2, label %163
.lr.ph2: ; preds = %116
br label %122
122: ; preds = %.lr.ph2, %156
store i32 0, ptr %18, align 4
%123 = load i32, ptr %18, align 4
%124 = load i32, ptr %21, align 4
%125 = mul nsw i32 2, %124
%126 = icmp sle i32 %123, %125
br i1 %126, label %.lr.ph, label %155
.lr.ph: ; preds = %122
br label %127
127: ; preds = %.lr.ph, %148
%128 = load ptr, ptr %9, align 8
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %11, align 4
%131 = load i32, ptr %17, align 4
%132 = load i32, ptr %20, align 4
%133 = sub nsw i32 %131, %132
%134 = load i32, ptr %18, align 4
%135 = load i32, ptr %21, align 4
%136 = sub nsw i32 %134, %135
%137 = call double @xcorr_sum(ptr noundef %128, ptr noundef %129, i32 noundef %130, i32 noundef %133, i32 noundef %136)
%138 = load ptr, ptr %16, align 8
%139 = load i32, ptr %17, align 4
%140 = load i32, ptr %18, align 4
%141 = load i32, ptr %20, align 4
%142 = mul nsw i32 2, %141
%143 = add nsw i32 %142, 1
%144 = mul nsw i32 %140, %143
%145 = add nsw i32 %139, %144
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, ptr %138, i64 %146
store double %137, ptr %147, align 8
br label %148
148: ; preds = %127
%149 = load i32, ptr %18, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %18, align 4
%151 = load i32, ptr %18, align 4
%152 = load i32, ptr %21, align 4
%153 = mul nsw i32 2, %152
%154 = icmp sle i32 %151, %153
br i1 %154, label %127, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %148
br label %155
155: ; preds = %._crit_edge, %122
br label %156
156: ; preds = %155
%157 = load i32, ptr %17, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %17, align 4
%159 = load i32, ptr %17, align 4
%160 = load i32, ptr %20, align 4
%161 = mul nsw i32 2, %160
%162 = icmp sle i32 %159, %161
br i1 %162, label %122, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %156
br label %163
163: ; preds = %._crit_edge3, %116
br label %164
164: ; preds = %163, %96
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @omp_get_num_threads(...) #1
declare double @xcorr_unbiased(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare double @xcorr_sum(ptr noundef, ptr 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpzv28lbm4.c'
source_filename = "/tmp/tmpzv28lbm4.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"%u\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"/tuner%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hdhomerun_device_set_tuner_from_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %5, align 8
%8 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %6)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @hdhomerun_device_set_tuner(ptr noundef %11, i32 noundef %12)
store i32 1, ptr %3, align 4
br label %23
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %6)
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @hdhomerun_device_set_tuner(ptr noundef %19, i32 noundef %20)
store i32 1, ptr %3, align 4
br label %23
22: ; preds = %14
store i32 -1, ptr %3, align 4
br label %23
23: ; preds = %22, %18, %10
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @hdhomerun_device_set_tuner(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/tmpzv28lbm4.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"%u\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"/tuner%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hdhomerun_device_set_tuner_from_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %5, align 8
%8 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %6)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @hdhomerun_device_set_tuner(ptr noundef %11, i32 noundef %12)
store i32 1, ptr %3, align 4
br label %23
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %6)
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @hdhomerun_device_set_tuner(ptr noundef %19, i32 noundef %20)
store i32 1, ptr %3, align 4
br label %23
22: ; preds = %14
store i32 -1, ptr %3, align 4
br label %23
23: ; preds = %22, %18, %10
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @hdhomerun_device_set_tuner(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/tmpewc6ako6.c'
source_filename = "/tmp/tmpewc6ako6.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 [18 x i8] c"free_struct_dll2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_struct_dll2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @printf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpewc6ako6.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 [18 x i8] c"free_struct_dll2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_struct_dll2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @printf(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"}
|
; ModuleID = '/tmp/tmp3_t7wf0c.c'
source_filename = "/tmp/tmp3_t7wf0c.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 @dns_buf_set_qr(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 = getelementptr inbounds i32, ptr %5, i64 2
%7 = load i32, ptr %6, align 4
%8 = and i32 %7, 127
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = shl i32 %9, 7
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 2
%13 = load i32, ptr %12, align 4
%14 = or i32 %13, %10
store i32 %14, ptr %12, 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/tmp3_t7wf0c.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 @dns_buf_set_qr(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 = getelementptr inbounds i32, ptr %5, i64 2
%7 = load i32, ptr %6, align 4
%8 = and i32 %7, 127
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = shl i32 %9, 7
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 2
%13 = load i32, ptr %12, align 4
%14 = or i32 %13, %10
store i32 %14, ptr %12, 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/tmpsq858qvk.c'
source_filename = "/tmp/tmpsq858qvk.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"
@putchar.y = internal global i32 0, align 4
@putchar.x = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
%4 = load i32, ptr @putchar.x, align 4
%5 = icmp sge i32 %4, 160
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %13
10: ; preds = %6, %1
store i32 0, ptr @putchar.x, align 4
%11 = load i32, ptr @putchar.y, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr @putchar.y, align 4
br label %13
13: ; preds = %10, %6
%14 = load i32, ptr @putchar.y, align 4
%15 = icmp sge i32 %14, 25
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 0, ptr @putchar.y, align 4
br label %17
17: ; preds = %16, %13
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 10
br i1 %20, label %21, label %28
21: ; preds = %17
%22 = load i32, ptr @putchar.y, align 4
%23 = mul nsw i32 %22, 160
%24 = add nsw i32 753664, %23
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = call i32 @memsetw(ptr noundef %26, i32 noundef 1824, i32 noundef 80)
br label %43
28: ; preds = %17
%29 = load i32, ptr @putchar.y, align 4
%30 = mul nsw i32 %29, 160
%31 = add nsw i32 753664, %30
%32 = load i32, ptr @putchar.x, align 4
%33 = add nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %3, align 8
%36 = load i8, ptr %2, align 1
%37 = sext i8 %36 to i32
%38 = or i32 1792, %37
%39 = trunc i32 %38 to i16
%40 = load ptr, ptr %3, align 8
store i16 %39, ptr %40, align 2
%41 = load i32, ptr @putchar.x, align 4
%42 = add nsw i32 %41, 2
store i32 %42, ptr @putchar.x, align 4
br label %43
43: ; preds = %28, %21
ret void
}
declare i32 @memsetw(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsq858qvk.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"
@putchar.y = internal global i32 0, align 4
@putchar.x = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
%4 = load i32, ptr @putchar.x, align 4
%5 = icmp sge i32 %4, 160
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %13
10: ; preds = %6, %1
store i32 0, ptr @putchar.x, align 4
%11 = load i32, ptr @putchar.y, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr @putchar.y, align 4
br label %13
13: ; preds = %10, %6
%14 = load i32, ptr @putchar.y, align 4
%15 = icmp sge i32 %14, 25
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 0, ptr @putchar.y, align 4
br label %17
17: ; preds = %16, %13
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 10
br i1 %20, label %21, label %28
21: ; preds = %17
%22 = load i32, ptr @putchar.y, align 4
%23 = mul nsw i32 %22, 160
%24 = add nsw i32 753664, %23
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = call i32 @memsetw(ptr noundef %26, i32 noundef 1824, i32 noundef 80)
br label %43
28: ; preds = %17
%29 = load i32, ptr @putchar.y, align 4
%30 = mul nsw i32 %29, 160
%31 = add nsw i32 753664, %30
%32 = load i32, ptr @putchar.x, align 4
%33 = add nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %3, align 8
%36 = load i8, ptr %2, align 1
%37 = sext i8 %36 to i32
%38 = or i32 1792, %37
%39 = trunc i32 %38 to i16
%40 = load ptr, ptr %3, align 8
store i16 %39, ptr %40, align 2
%41 = load i32, ptr @putchar.x, align 4
%42 = add nsw i32 %41, 2
store i32 %42, ptr @putchar.x, align 4
br label %43
43: ; preds = %28, %21
ret void
}
declare i32 @memsetw(ptr 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"}
|
; ModuleID = '/tmp/tmp6kcy27w2.c'
source_filename = "/tmp/tmp6kcy27w2.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"@@/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetClearCaseVersionExtendedPath(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 @strstr(ptr noundef %3, ptr noundef @.str)
ret ptr %4
}
declare ptr @strstr(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/tmp6kcy27w2.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"@@/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetClearCaseVersionExtendedPath(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 @strstr(ptr noundef %3, ptr noundef @.str)
ret ptr %4
}
declare ptr @strstr(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/tmpk1d2z93t.c'
source_filename = "/tmp/tmpk1d2z93t.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 [24 x i8] c"XrmParseCommand called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XrmParseCommand() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
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/tmpk1d2z93t.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 [24 x i8] c"XrmParseCommand called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XrmParseCommand() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
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/tmpmonq8gdw.c'
source_filename = "/tmp/tmpmonq8gdw.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"%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 i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 1901, ptr %6, align 4
br label %7
7: ; preds = %65, %0
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 2001
br i1 %9, label %10, label %68
10: ; preds = %7
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %61, %10
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 12
br i1 %13, label %14, label %64
14: ; preds = %11
store i32 31, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 3
br i1 %16, label %26, label %17
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %18, 5
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %21, 8
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %29
26: ; preds = %23, %20, %17, %14
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %5, align 4
br label %51
29: ; preds = %23
%30 = load i32, ptr %4, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %50
32: ; preds = %29
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %33, 2
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %6, align 4
%36 = srem i32 %35, 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %49
38: ; preds = %32
%39 = load i32, ptr %6, align 4
%40 = srem i32 %39, 100
%41 = icmp ne i32 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %38
%43 = load i32, ptr %6, align 4
%44 = srem i32 %43, 400
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %42, %38
%47 = load i32, ptr %5, align 4
%48 = sub nsw i32 %47, 1
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %46, %42, %32
br label %50
50: ; preds = %49, %29
br label %51
51: ; preds = %50, %26
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %52, %53
%55 = srem i32 %54, 7
store i32 %55, ptr %3, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %51
%58 = load i32, ptr %2, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %2, align 4
br label %60
60: ; preds = %57, %51
br label %61
61: ; preds = %60
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %4, align 4
br label %11, !llvm.loop !6
64: ; preds = %11
br label %65
65: ; preds = %64
%66 = load i32, ptr %6, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %6, align 4
br label %7, !llvm.loop !8
68: ; preds = %7
%69 = load i32, ptr %2, align 4
%70 = call i32 @printf(ptr noundef @.str, i32 noundef %69)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmonq8gdw.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"%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 i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 2, ptr %3, align 4
store i32 1901, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 2001
br i1 %8, label %.lr.ph2, label %70
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %65
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 12
br i1 %11, label %.lr.ph, label %64
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %59
store i32 31, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 3
br i1 %14, label %24, label %15
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %16, 5
br i1 %17, label %24, label %18
18: ; preds = %15
%19 = load i32, ptr %4, align 4
%20 = icmp eq i32 %19, 8
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 10
br i1 %23, label %24, label %27
24: ; preds = %21, %18, %15, %12
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %5, align 4
br label %49
27: ; preds = %21
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %48
30: ; preds = %27
%31 = load i32, ptr %5, align 4
%32 = sub nsw i32 %31, 2
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %6, align 4
%34 = srem i32 %33, 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %47
36: ; preds = %30
%37 = load i32, ptr %6, align 4
%38 = srem i32 %37, 100
%39 = icmp ne i32 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %36
%41 = load i32, ptr %6, align 4
%42 = srem i32 %41, 400
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %40, %36
%45 = load i32, ptr %5, align 4
%46 = sub nsw i32 %45, 1
store i32 %46, ptr %5, align 4
br label %47
47: ; preds = %44, %40, %30
br label %48
48: ; preds = %47, %27
br label %49
49: ; preds = %48, %24
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %50, %51
%53 = srem i32 %52, 7
store i32 %53, ptr %3, align 4
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = load i32, ptr %2, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %2, align 4
br label %58
58: ; preds = %55, %49
br label %59
59: ; preds = %58
%60 = load i32, ptr %4, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %4, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %62, 12
br i1 %63, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %64
64: ; preds = %._crit_edge, %9
br label %65
65: ; preds = %64
%66 = load i32, ptr %6, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %6, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp slt i32 %68, 2001
br i1 %69, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %70
70: ; preds = %._crit_edge3, %0
%71 = load i32, ptr %2, align 4
%72 = call i32 @printf(ptr noundef @.str, i32 noundef %71)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp36s6iyrp.c'
source_filename = "/tmp/tmp36s6iyrp.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"1\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"101\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"1e01\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"1100010\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"0000000000000000000110010010\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
%3 = call i32 @binary_to_uint(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @binary_to_uint(ptr noundef @.str.2)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = call i32 @binary_to_uint(ptr noundef @.str.3)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @binary_to_uint(ptr noundef @.str.4)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = call i32 @binary_to_uint(ptr noundef @.str.5)
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
ret i32 0
}
declare i32 @binary_to_uint(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/tmp36s6iyrp.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"1\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"101\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"1e01\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"1100010\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"0000000000000000000110010010\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
%3 = call i32 @binary_to_uint(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @binary_to_uint(ptr noundef @.str.2)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = call i32 @binary_to_uint(ptr noundef @.str.3)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @binary_to_uint(ptr noundef @.str.4)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = call i32 @binary_to_uint(ptr noundef @.str.5)
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
ret i32 0
}
declare i32 @binary_to_uint(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/tmpq2zzp3d6.c'
source_filename = "/tmp/tmpq2zzp3d6.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 (...) @shuffle_test2()
ret i32 0
}
declare i32 @shuffle_test2(...) #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/tmpq2zzp3d6.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 (...) @shuffle_test2()
ret i32 0
}
declare i32 @shuffle_test2(...) #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/tmpyd08_0t3.c'
source_filename = "/tmp/tmpyd08_0t3.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 [156 x i8] c"usage: %s [-f file] [-p port]\0A\0AWhere:\0A\09-f Flag file signaling server readiness\0A\09-p Listening port, otherwise random\0A\09-s Single-client mode\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #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/tmpyd08_0t3.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 [156 x i8] c"usage: %s [-f file] [-p port]\0A\0AWhere:\0A\09-f Flag file signaling server readiness\0A\09-p Listening port, otherwise random\0A\09-s Single-client mode\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #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/tmpl5fkz56n.c'
source_filename = "/tmp/tmpl5fkz56n.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.input_event = type { i64, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [18 x i8] c"/dev/input/event2\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@KEY_RIGHTCTRL = dso_local global i64 0, align 8
@KEY_A = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [20 x i8] c"%Y-%m-%d @ %H:%M:%S\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%s Ctrl A!\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
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.input_event, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [64 x i8], align 16
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %0
%15 = load ptr, ptr %2, align 8
%16 = call i32 @perror(ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %0
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %64, %18
%20 = load ptr, ptr %3, align 8
%21 = call i64 @fread(ptr noundef %5, i32 noundef 24, i32 noundef 1, ptr noundef %20)
%22 = icmp ne i64 %21, 0
%23 = zext i1 %22 to i32
%24 = sext i32 %23 to i64
store i64 %24, ptr %6, align 8
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %65
26: ; preds = %19
%27 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 0
%28 = load i64, ptr %27, align 8
%29 = load i64, ptr @KEY_RIGHTCTRL, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 1
%33 = load i32, ptr %32, align 8
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %31, %26
%35 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 2
%36 = load i32, ptr %35, align 4
%37 = icmp eq i32 %36, 1
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 2
%40 = load i32, ptr %39, align 4
%41 = icmp eq i32 %40, 2
br label %42
42: ; preds = %38, %34
%43 = phi i1 [ true, %34 ], [ %41, %38 ]
%44 = zext i1 %43 to i32
store i32 %44, ptr %7, align 4
%45 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 0
%46 = load i64, ptr %45, align 8
%47 = load i64, ptr @KEY_A, align 8
%48 = icmp eq i64 %46, %47
br i1 %48, label %49, label %64
49: ; preds = %42
%50 = load i32, ptr %7, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %64
52: ; preds = %49
%53 = load i32, ptr %4, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %64
55: ; preds = %52
%56 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 3
%57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i32 0, i32 0
%58 = call ptr @localtime(ptr noundef %57)
store ptr %58, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 64, i1 false)
%59 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%60 = load ptr, ptr %8, align 8
%61 = call i32 @strftime(ptr noundef %59, i32 noundef 64, ptr noundef @.str.2, ptr noundef %60)
%62 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%63 = call i32 @printf(ptr noundef @.str.3, ptr noundef %62)
br label %64
64: ; preds = %55, %52, %49, %42
br label %19, !llvm.loop !6
65: ; preds = %19
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(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" }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl5fkz56n.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.input_event = type { i64, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [18 x i8] c"/dev/input/event2\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@KEY_RIGHTCTRL = dso_local global i64 0, align 8
@KEY_A = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [20 x i8] c"%Y-%m-%d @ %H:%M:%S\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%s Ctrl A!\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
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.input_event, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [64 x i8], align 16
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %0
%15 = load ptr, ptr %2, align 8
%16 = call i32 @perror(ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %0
store i32 0, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
%20 = call i64 @fread(ptr noundef %5, i32 noundef 24, i32 noundef 1, ptr noundef %19)
%21 = icmp ne i64 %20, 0
%22 = zext i1 %21 to i32
%23 = sext i32 %22 to i64
store i64 %23, ptr %6, align 8
br i1 %21, label %.lr.ph, label %69
.lr.ph: ; preds = %18
br label %24
24: ; preds = %.lr.ph, %62
%25 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 0
%26 = load i64, ptr %25, align 8
%27 = load i64, ptr @KEY_RIGHTCTRL, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 1
%31 = load i32, ptr %30, align 8
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %29, %24
%33 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 2
%34 = load i32, ptr %33, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 2
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %38, 2
br label %40
40: ; preds = %36, %32
%41 = phi i1 [ true, %32 ], [ %39, %36 ]
%42 = zext i1 %41 to i32
store i32 %42, ptr %7, align 4
%43 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 0
%44 = load i64, ptr %43, align 8
%45 = load i64, ptr @KEY_A, align 8
%46 = icmp eq i64 %44, %45
br i1 %46, label %47, label %62
47: ; preds = %40
%48 = load i32, ptr %7, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %62
50: ; preds = %47
%51 = load i32, ptr %4, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %62
53: ; preds = %50
%54 = getelementptr inbounds %struct.input_event, ptr %5, i32 0, i32 3
%55 = getelementptr inbounds %struct.TYPE_2__, ptr %54, i32 0, i32 0
%56 = call ptr @localtime(ptr noundef %55)
store ptr %56, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 64, i1 false)
%57 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%58 = load ptr, ptr %8, align 8
%59 = call i32 @strftime(ptr noundef %57, i32 noundef 64, ptr noundef @.str.2, ptr noundef %58)
%60 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%61 = call i32 @printf(ptr noundef @.str.3, ptr noundef %60)
br label %62
62: ; preds = %53, %50, %47, %40
%63 = load ptr, ptr %3, align 8
%64 = call i64 @fread(ptr noundef %5, i32 noundef 24, i32 noundef 1, ptr noundef %63)
%65 = icmp ne i64 %64, 0
%66 = zext i1 %65 to i32
%67 = sext i32 %66 to i64
store i64 %67, ptr %6, align 8
%68 = icmp ne i64 %67, 0
br i1 %68, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %69
69: ; preds = %._crit_edge, %18
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(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" }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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"}
|
; ModuleID = '/tmp/tmp2j666gzc.c'
source_filename = "/tmp/tmp2j666gzc.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/tmp2j666gzc.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/tmp66mf7uet.c'
source_filename = "/tmp/tmp66mf7uet.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 @inotify_init() #0 {
%1 = call i32 @syscall(i32 noundef 316)
ret i32 %1
}
declare i32 @syscall(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/tmp66mf7uet.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 @inotify_init() #0 {
%1 = call i32 @syscall(i32 noundef 316)
ret i32 %1
}
declare i32 @syscall(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/tmpftvg4yhl.c'
source_filename = "/tmp/tmpftvg4yhl.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 [35 x i8] c"ERROR reading response from socket\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"ERROR storing complete response from socket\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Response: \0A%s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_response_message(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4096 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4096)
store i32 4095, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %34, %2
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %18, %19
%21 = call i32 @read(i32 noundef %13, ptr noundef %17, i32 noundef %20)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %11
%25 = call i32 @error_handling(ptr noundef @.str)
br label %26
26: ; preds = %24, %11
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %26
br label %38
30: ; preds = %26
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %11, label %38, !llvm.loop !6
38: ; preds = %34, %29
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @error_handling(ptr noundef @.str.1)
br label %44
44: ; preds = %42, %38
%45 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%46 = call i32 @printf(ptr noundef @.str.2, ptr noundef %45)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @error_handling(ptr noundef) #1
declare i32 @printf(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/tmpftvg4yhl.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 [35 x i8] c"ERROR reading response from socket\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"ERROR storing complete response from socket\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Response: \0A%s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_response_message(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4096 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4096)
store i32 4095, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %34, %2
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %18, %19
%21 = call i32 @read(i32 noundef %13, ptr noundef %17, i32 noundef %20)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %11
%25 = call i32 @error_handling(ptr noundef @.str)
br label %26
26: ; preds = %24, %11
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %26
br label %38
30: ; preds = %26
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %11, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %34
br label %38
38: ; preds = %.loopexit, %29
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @error_handling(ptr noundef @.str.1)
br label %44
44: ; preds = %42, %38
%45 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%46 = call i32 @printf(ptr noundef @.str.2, ptr noundef %45)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @error_handling(ptr noundef) #1
declare i32 @printf(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/tmpf1phmsw8.c'
source_filename = "/tmp/tmpf1phmsw8.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"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smm_cwd_pop(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %union.anon, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
%6 = load i32, ptr %4, align 8
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @smm_errno_update(i32 noundef 0)
store i32 %9, ptr %2, align 4
br label %22
10: ; preds = %1
%11 = load i32, ptr %4, align 8
%12 = call i64 @fchdir(i32 noundef %11)
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i32, ptr %4, align 8
%16 = call i32 @close(i32 noundef %15)
%17 = call i32 @smm_errno_update(i32 noundef -1073741820)
store i32 %17, ptr %2, align 4
br label %22
18: ; preds = %10
%19 = load i32, ptr %4, align 8
%20 = call i32 @close(i32 noundef %19)
%21 = call i32 @smm_errno_update(i32 noundef 0)
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %18, %14, %8
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i32 @smm_errno_update(i32 noundef) #1
declare i64 @fchdir(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/tmpf1phmsw8.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"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smm_cwd_pop(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %union.anon, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
%6 = load i32, ptr %4, align 8
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @smm_errno_update(i32 noundef 0)
store i32 %9, ptr %2, align 4
br label %22
10: ; preds = %1
%11 = load i32, ptr %4, align 8
%12 = call i64 @fchdir(i32 noundef %11)
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i32, ptr %4, align 8
%16 = call i32 @close(i32 noundef %15)
%17 = call i32 @smm_errno_update(i32 noundef -1073741820)
store i32 %17, ptr %2, align 4
br label %22
18: ; preds = %10
%19 = load i32, ptr %4, align 8
%20 = call i32 @close(i32 noundef %19)
%21 = call i32 @smm_errno_update(i32 noundef 0)
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %18, %14, %8
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i32 @smm_errno_update(i32 noundef) #1
declare i64 @fchdir(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.