llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpn34et60x.c'
source_filename = "/tmp/tmpn34et60x.c"
target datalayout = "e-m:e-p270: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 @wfile_date(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @unix_date(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @unix_date(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/tmpn34et60x.c"
target datalayout = "e-m:e-p270: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 @wfile_date(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @unix_date(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @unix_date(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/tmpyhw8y2h6.c'
source_filename = "/tmp/tmpyhw8y2h6.c"
target datalayout = "e-m:e-p270: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 @parse(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
switch i32 %6, label %100 [
i32 88, label %7
i32 45, label %42
i32 40, label %52
i32 69, label %74
i32 65, label %87
]
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 91
br i1 %12, label %13, label %41
13: ; preds = %7
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 2
%16 = load i8, ptr %15, align 1
%17 = call i32 @isVar(i8 noundef signext %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %41
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 3
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 93
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 1, ptr %2, align 4
br label %102
26: ; preds = %19
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 3
%29 = load i8, ptr %28, align 1
%30 = call i32 @isVar(i8 noundef signext %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %26
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 4
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 93
br i1 %37, label %38, label %39
38: ; preds = %32
store i32 1, ptr %2, align 4
br label %102
39: ; preds = %32, %26
br label %40
40: ; preds = %39
br label %41
41: ; preds = %40, %13, %7
br label %101
42: ; preds = %1
%43 = load ptr, ptr %3, align 8
%44 = call i32 @strlen(ptr noundef %43)
%45 = sub nsw i32 %44, 1
%46 = load ptr, ptr %3, align 8
%47 = call ptr @subString(i32 noundef 1, i32 noundef %45, ptr noundef %46)
%48 = call i32 @parse(ptr noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %42
store i32 2, ptr %2, align 4
br label %102
51: ; preds = %42
br label %101
52: ; preds = %1
%53 = load ptr, ptr %3, align 8
%54 = call ptr @partone(ptr noundef %53)
%55 = call i32 @parse(ptr noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %73
57: ; preds = %52
%58 = load ptr, ptr %3, align 8
%59 = call ptr @parttwo(ptr noundef %58)
%60 = call i32 @parse(ptr noundef %59)
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %73
62: ; preds = %57
%63 = load ptr, ptr %3, align 8
%64 = load ptr, ptr %3, align 8
%65 = call i32 @strlen(ptr noundef %64)
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
%68 = getelementptr inbounds i8, ptr %67, i64 -1
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 41
br i1 %71, label %72, label %73
72: ; preds = %62
store i32 3, ptr %2, align 4
br label %102
73: ; preds = %62, %57, %52
br label %101
74: ; preds = %1
%75 = load ptr, ptr %3, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 1
%77 = load i8, ptr %76, align 1
%78 = call i32 @isVar(i8 noundef signext %77)
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %86
80: ; preds = %74
%81 = load ptr, ptr %3, align 8
%82 = getelementptr inbounds i8, ptr %81, i64 2
%83 = call i32 @parse(ptr noundef %82)
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %80
store i32 4, ptr %2, align 4
br label %102
86: ; preds = %80, %74
br label %101
87: ; preds = %1
%88 = load ptr, ptr %3, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 1
%90 = load i8, ptr %89, align 1
%91 = call i32 @isVar(i8 noundef signext %90)
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %99
93: ; preds = %87
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 2
%96 = call i32 @parse(ptr noundef %95)
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %99
98: ; preds = %93
store i32 5, ptr %2, align 4
br label %102
99: ; preds = %93, %87
br label %101
100: ; preds = %1
store i32 0, ptr %2, align 4
br label %102
101: ; preds = %99, %86, %73, %51, %41
store i32 0, ptr %2, align 4
br label %102
102: ; preds = %101, %100, %98, %85, %72, %50, %38, %25
%103 = load i32, ptr %2, align 4
ret i32 %103
}
declare i32 @isVar(i8 noundef signext) #1
declare ptr @subString(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @partone(ptr noundef) #1
declare ptr @parttwo(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/tmpyhw8y2h6.c"
target datalayout = "e-m:e-p270: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 @parse(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
switch i32 %6, label %100 [
i32 88, label %7
i32 45, label %42
i32 40, label %52
i32 69, label %74
i32 65, label %87
]
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 91
br i1 %12, label %13, label %41
13: ; preds = %7
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 2
%16 = load i8, ptr %15, align 1
%17 = call i32 @isVar(i8 noundef signext %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %41
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 3
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 93
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 1, ptr %2, align 4
br label %102
26: ; preds = %19
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 3
%29 = load i8, ptr %28, align 1
%30 = call i32 @isVar(i8 noundef signext %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %26
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 4
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 93
br i1 %37, label %38, label %39
38: ; preds = %32
store i32 1, ptr %2, align 4
br label %102
39: ; preds = %32, %26
br label %40
40: ; preds = %39
br label %41
41: ; preds = %40, %13, %7
br label %101
42: ; preds = %1
%43 = load ptr, ptr %3, align 8
%44 = call i32 @strlen(ptr noundef %43)
%45 = sub nsw i32 %44, 1
%46 = load ptr, ptr %3, align 8
%47 = call ptr @subString(i32 noundef 1, i32 noundef %45, ptr noundef %46)
%48 = call i32 @parse(ptr noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %42
store i32 2, ptr %2, align 4
br label %102
51: ; preds = %42
br label %101
52: ; preds = %1
%53 = load ptr, ptr %3, align 8
%54 = call ptr @partone(ptr noundef %53)
%55 = call i32 @parse(ptr noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %73
57: ; preds = %52
%58 = load ptr, ptr %3, align 8
%59 = call ptr @parttwo(ptr noundef %58)
%60 = call i32 @parse(ptr noundef %59)
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %73
62: ; preds = %57
%63 = load ptr, ptr %3, align 8
%64 = load ptr, ptr %3, align 8
%65 = call i32 @strlen(ptr noundef %64)
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
%68 = getelementptr inbounds i8, ptr %67, i64 -1
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 41
br i1 %71, label %72, label %73
72: ; preds = %62
store i32 3, ptr %2, align 4
br label %102
73: ; preds = %62, %57, %52
br label %101
74: ; preds = %1
%75 = load ptr, ptr %3, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 1
%77 = load i8, ptr %76, align 1
%78 = call i32 @isVar(i8 noundef signext %77)
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %86
80: ; preds = %74
%81 = load ptr, ptr %3, align 8
%82 = getelementptr inbounds i8, ptr %81, i64 2
%83 = call i32 @parse(ptr noundef %82)
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %80
store i32 4, ptr %2, align 4
br label %102
86: ; preds = %80, %74
br label %101
87: ; preds = %1
%88 = load ptr, ptr %3, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 1
%90 = load i8, ptr %89, align 1
%91 = call i32 @isVar(i8 noundef signext %90)
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %99
93: ; preds = %87
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 2
%96 = call i32 @parse(ptr noundef %95)
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %99
98: ; preds = %93
store i32 5, ptr %2, align 4
br label %102
99: ; preds = %93, %87
br label %101
100: ; preds = %1
store i32 0, ptr %2, align 4
br label %102
101: ; preds = %99, %86, %73, %51, %41
store i32 0, ptr %2, align 4
br label %102
102: ; preds = %101, %100, %98, %85, %72, %50, %38, %25
%103 = load i32, ptr %2, align 4
ret i32 %103
}
declare i32 @isVar(i8 noundef signext) #1
declare ptr @subString(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @partone(ptr noundef) #1
declare ptr @parttwo(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/tmpiinqgfro.c'
source_filename = "/tmp/tmpiinqgfro.c"
target datalayout = "e-m:e-p270: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/tmpiinqgfro.c"
target datalayout = "e-m:e-p270: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/tmppvqmzinb.c'
source_filename = "/tmp/tmppvqmzinb.c"
target datalayout = "e-m:e-p270: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/tmppvqmzinb.c"
target datalayout = "e-m:e-p270: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/tmp68qdq02j.c'
source_filename = "/tmp/tmp68qdq02j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [100100 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 400400, i1 false)
store i32 1, ptr %4, align 4
br label %8
8: ; preds = %35, %0
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %9, 100000
br i1 %10, label %11, label %38
11: ; preds = %8
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %6, align 4
store i32 %12, ptr %5, align 4
br label %13
13: ; preds = %16, %11
%14 = load i32, ptr %5, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %13
%17 = load i32, ptr %5, align 4
%18 = srem i32 %17, 10
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %5, align 4
%22 = sdiv i32 %21, 10
store i32 %22, ptr %5, align 4
br label %13, !llvm.loop !6
23: ; preds = %13
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [100100 x i32], ptr %7, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %34, label %29
29: ; preds = %23
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [100100 x i32], ptr %7, i64 0, i64 %32
store i32 %30, ptr %33, align 4
br label %34
34: ; preds = %29, %23
br label %35
35: ; preds = %34
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %8, !llvm.loop !8
38: ; preds = %8
%39 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %40
40: ; preds = %44, %38
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %2, align 4
%43 = icmp ne i32 %41, 0
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%46 = load i32, ptr %3, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [100100 x i32], ptr %7, i64 0, i64 %47
%49 = load i32, ptr %48, align 4
%50 = call i32 @printf(ptr noundef @.str.1, i32 noundef %49)
br label %40, !llvm.loop !9
51: ; preds = %40
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68qdq02j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [100100 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 400400, i1 false)
store i32 1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sle i32 %8, 100000
br i1 %9, label %.lr.ph2, label %40
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %35
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %6, align 4
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %5, align 4
%16 = srem i32 %15, 10
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, %16
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = sdiv i32 %19, 10
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %23
23: ; preds = %._crit_edge, %10
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [100100 x i32], ptr %7, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %34, label %29
29: ; preds = %23
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [100100 x i32], ptr %7, i64 0, i64 %32
store i32 %30, ptr %33, align 4
br label %34
34: ; preds = %29, %23
br label %35
35: ; preds = %34
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp sle i32 %38, 100000
br i1 %39, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %40
40: ; preds = %._crit_edge3, %0
%41 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %2, align 4
%44 = icmp ne i32 %42, 0
br i1 %44, label %.lr.ph5, label %55
.lr.ph5: ; preds = %40
br label %45
45: ; preds = %.lr.ph5, %45
%46 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [100100 x i32], ptr %7, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50)
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %2, align 4
%54 = icmp ne i32 %52, 0
br i1 %54, label %45, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %45
br label %55
55: ; preds = %._crit_edge6, %40
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpagows_m8.c'
source_filename = "/tmp/tmpagows_m8.c"
target datalayout = "e-m:e-p270: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 [13 x i8] c"waipid error\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Handler reaped child %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef 0)
store i64 %4, ptr %3, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6, %1
%10 = load i64, ptr %3, align 8
%11 = trunc i64 %10 to i32
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 @sleep(i32 noundef 2)
ret void
}
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpagows_m8.c"
target datalayout = "e-m:e-p270: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 [13 x i8] c"waipid error\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Handler reaped child %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef 0)
store i64 %4, ptr %3, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6, %1
%10 = load i64, ptr %3, align 8
%11 = trunc i64 %10 to i32
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 @sleep(i32 noundef 2)
ret void
}
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp70l_keig.c'
source_filename = "/tmp/tmp70l_keig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLL_CTL_DEL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @remove_fd(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 = load i32, ptr @EPOLL_CTL_DEL, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @epoll_ctl(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef 0)
%9 = load i32, ptr %4, align 4
%10 = call i32 @close(i32 noundef %9)
ret void
}
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp70l_keig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLL_CTL_DEL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @remove_fd(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 = load i32, ptr @EPOLL_CTL_DEL, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @epoll_ctl(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef 0)
%9 = load i32, ptr %4, align 4
%10 = call i32 @close(i32 noundef %9)
ret void
}
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzgztk3f1.c'
source_filename = "/tmp/tmpzgztk3f1.c"
target datalayout = "e-m:e-p270: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 double @mean_elongation_moon_sun(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @third_order_polynomial(double noundef 0x3ED622F61749A783, double noundef -1.914200e-03, double noundef 0x411B2D4C7227D029, double noundef 0x40729D9B13165D3A, double noundef %3)
ret double %4
}
declare double @third_order_polynomial(double noundef, double noundef, double noundef, double noundef, double 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/tmpzgztk3f1.c"
target datalayout = "e-m:e-p270: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 double @mean_elongation_moon_sun(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @third_order_polynomial(double noundef 0x3ED622F61749A783, double noundef -1.914200e-03, double noundef 0x411B2D4C7227D029, double noundef 0x40729D9B13165D3A, double noundef %3)
ret double %4
}
declare double @third_order_polynomial(double noundef, double noundef, double noundef, double noundef, double 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/tmp3lzpdk4u.c'
source_filename = "/tmp/tmp3lzpdk4u.c"
target datalayout = "e-m:e-p270: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 @parseCommandLine(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @parseOptions(i32 noundef %6, ptr noundef %7, ptr noundef %5)
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @parseParameters(i32 noundef %9, ptr noundef %10, ptr noundef %5)
ret void
}
declare i32 @parseOptions(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @parseParameters(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3lzpdk4u.c"
target datalayout = "e-m:e-p270: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 @parseCommandLine(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @parseOptions(i32 noundef %6, ptr noundef %7, ptr noundef %5)
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @parseParameters(i32 noundef %9, ptr noundef %10, ptr noundef %5)
ret void
}
declare i32 @parseOptions(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @parseParameters(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpadof6g62.c'
source_filename = "/tmp/tmpadof6g62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i32 }
%struct.passwd = type { ptr }
%struct.group = type { ptr }
%struct.stat = type { i64, i64, i64 }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"opening directory failed\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"readdir_r error\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"(Directory)\00", align 1
@errno = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [9 x i8] c"getpwuid\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"%llu\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"getgrgid\00", align 1
@.str.10 = private unnamed_addr constant [46 x i8] c"user: %s, group: %s, mode: %llo, name: %s %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 ptr, align 8
%8 = alloca %struct.dirent, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.passwd, align 8
%11 = alloca %struct.group, align 8
%12 = alloca [32 x i8], align 16
%13 = alloca [32 x i8], align 16
%14 = alloca i32, align 4
%15 = alloca %struct.stat, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = 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 @.str, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = call ptr @opendir(ptr noundef %19)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = call i32 @perror(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 2) #4
unreachable
26: ; preds = %2
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 32, i1 false)
%27 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
%28 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
store ptr %27, ptr %28, align 8
%29 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%30 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0
store ptr %29, ptr %30, align 8
br label %31
31: ; preds = %118, %26
%32 = load ptr, ptr %7, align 8
%33 = call i32 @readdir_r(ptr noundef %32, ptr noundef %8, ptr noundef %9)
store i32 %33, ptr %14, align 4
%34 = load i32, ptr %14, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %31
%37 = call i32 @perror(ptr noundef @.str.2)
%38 = call i32 @exit(i32 noundef 3) #4
unreachable
39: ; preds = %31
%40 = load ptr, ptr %9, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %43, label %42
42: ; preds = %39
br label %119
43: ; preds = %39
%44 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = call i64 @strcmp(i32 noundef %45, ptr noundef @.str)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %118
48: ; preds = %43
%49 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%50 = load i32, ptr %49, align 4
%51 = call i64 @strcmp(i32 noundef %50, ptr noundef @.str.3)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %118
53: ; preds = %48
%54 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = call i32 @stat(i32 noundef %55, ptr noundef %15)
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = call i32 @perror(ptr noundef @.str.4)
%60 = call i32 @exit(i32 noundef 4) #4
unreachable
61: ; preds = %53
store ptr @.str.5, ptr %16, align 8
%62 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0
%63 = load i64, ptr %62, align 8
%64 = call i64 @S_ISDIR(i64 noundef %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %61
store ptr @.str.6, ptr %16, align 8
br label %67
67: ; preds = %66, %61
store i64 0, ptr @errno, align 8
%68 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 2
%69 = load i64, ptr %68, align 8
%70 = call ptr @getpwuid(i64 noundef %69)
store ptr %70, ptr %17, align 8
%71 = load ptr, ptr %17, align 8
%72 = icmp eq ptr %71, null
br i1 %72, label %73, label %86
73: ; preds = %67
%74 = load i64, ptr @errno, align 8
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = call i32 @perror(ptr noundef @.str.7)
%78 = call i32 @exit(i32 noundef 5) #4
unreachable
79: ; preds = %73
%80 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
%81 = load ptr, ptr %80, align 8
%82 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 2
%83 = load i64, ptr %82, align 8
%84 = call i32 @snprintf(ptr noundef %81, i32 noundef 32, ptr noundef @.str.8, i64 noundef %83)
store ptr %10, ptr %17, align 8
br label %85
85: ; preds = %79
br label %86
86: ; preds = %85, %67
store i64 0, ptr @errno, align 8
%87 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 1
%88 = load i64, ptr %87, align 8
%89 = call ptr @getgrgid(i64 noundef %88)
store ptr %89, ptr %18, align 8
%90 = load ptr, ptr %18, align 8
%91 = icmp eq ptr %90, null
br i1 %91, label %92, label %105
92: ; preds = %86
%93 = load i64, ptr @errno, align 8
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %98
95: ; preds = %92
%96 = call i32 @perror(ptr noundef @.str.9)
%97 = call i32 @exit(i32 noundef 5) #4
unreachable
98: ; preds = %92
%99 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0
%100 = load ptr, ptr %99, align 8
%101 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 1
%102 = load i64, ptr %101, align 8
%103 = call i32 @snprintf(ptr noundef %100, i32 noundef 32, ptr noundef @.str.8, i64 noundef %102)
store ptr %11, ptr %18, align 8
br label %104
104: ; preds = %98
br label %105
105: ; preds = %104, %86
%106 = load ptr, ptr %17, align 8
%107 = getelementptr inbounds %struct.passwd, ptr %106, i32 0, i32 0
%108 = load ptr, ptr %107, align 8
%109 = load ptr, ptr %18, align 8
%110 = getelementptr inbounds %struct.group, ptr %109, i32 0, i32 0
%111 = load ptr, ptr %110, align 8
%112 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0
%113 = load i64, ptr %112, align 8
%114 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%115 = load i32, ptr %114, align 4
%116 = load ptr, ptr %16, align 8
%117 = call i32 @printf(ptr noundef @.str.10, ptr noundef %108, ptr noundef %111, i64 noundef %113, i32 noundef %115, ptr noundef %116)
br label %118
118: ; preds = %105, %48, %43
br label %31
119: ; preds = %42
ret i32 0
}
declare ptr @opendir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; 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 @readdir_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @stat(i32 noundef, ptr noundef) #1
declare i64 @S_ISDIR(i64 noundef) #1
declare ptr @getpwuid(i64 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare ptr @getgrgid(i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadof6g62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i32 }
%struct.passwd = type { ptr }
%struct.group = type { ptr }
%struct.stat = type { i64, i64, i64 }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"opening directory failed\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"readdir_r error\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"(Directory)\00", align 1
@errno = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [9 x i8] c"getpwuid\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"%llu\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"getgrgid\00", align 1
@.str.10 = private unnamed_addr constant [46 x i8] c"user: %s, group: %s, mode: %llo, name: %s %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 ptr, align 8
%8 = alloca %struct.dirent, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.passwd, align 8
%11 = alloca %struct.group, align 8
%12 = alloca [32 x i8], align 16
%13 = alloca [32 x i8], align 16
%14 = alloca i32, align 4
%15 = alloca %struct.stat, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = 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 @.str, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = call ptr @opendir(ptr noundef %19)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = call i32 @perror(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 2) #4
unreachable
26: ; preds = %2
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 32, i1 false)
%27 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
%28 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
store ptr %27, ptr %28, align 8
%29 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%30 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0
store ptr %29, ptr %30, align 8
%31 = load ptr, ptr %7, align 8
%32 = call i32 @readdir_r(ptr noundef %31, ptr noundef %8, ptr noundef %9)
store i32 %32, ptr %14, align 4
%33 = load i32, ptr %14, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %.lr.ph
.lr.ph: ; preds = %26
br label %38
._crit_edge: ; preds = %117
br label %35
35: ; preds = %._crit_edge, %26
%36 = call i32 @perror(ptr noundef @.str.2)
%37 = call i32 @exit(i32 noundef 3) #4
unreachable
38: ; preds = %.lr.ph, %117
%39 = load ptr, ptr %9, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %42, label %41
41: ; preds = %38
br label %122
42: ; preds = %38
%43 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%44 = load i32, ptr %43, align 4
%45 = call i64 @strcmp(i32 noundef %44, ptr noundef @.str)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %117
47: ; preds = %42
%48 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%49 = load i32, ptr %48, align 4
%50 = call i64 @strcmp(i32 noundef %49, ptr noundef @.str.3)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %117
52: ; preds = %47
%53 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%54 = load i32, ptr %53, align 4
%55 = call i32 @stat(i32 noundef %54, ptr noundef %15)
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %60
57: ; preds = %52
%58 = call i32 @perror(ptr noundef @.str.4)
%59 = call i32 @exit(i32 noundef 4) #4
unreachable
60: ; preds = %52
store ptr @.str.5, ptr %16, align 8
%61 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0
%62 = load i64, ptr %61, align 8
%63 = call i64 @S_ISDIR(i64 noundef %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %60
store ptr @.str.6, ptr %16, align 8
br label %66
66: ; preds = %65, %60
store i64 0, ptr @errno, align 8
%67 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 2
%68 = load i64, ptr %67, align 8
%69 = call ptr @getpwuid(i64 noundef %68)
store ptr %69, ptr %17, align 8
%70 = load ptr, ptr %17, align 8
%71 = icmp eq ptr %70, null
br i1 %71, label %72, label %85
72: ; preds = %66
%73 = load i64, ptr @errno, align 8
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %72
%76 = call i32 @perror(ptr noundef @.str.7)
%77 = call i32 @exit(i32 noundef 5) #4
unreachable
78: ; preds = %72
%79 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 2
%82 = load i64, ptr %81, align 8
%83 = call i32 @snprintf(ptr noundef %80, i32 noundef 32, ptr noundef @.str.8, i64 noundef %82)
store ptr %10, ptr %17, align 8
br label %84
84: ; preds = %78
br label %85
85: ; preds = %84, %66
store i64 0, ptr @errno, align 8
%86 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 1
%87 = load i64, ptr %86, align 8
%88 = call ptr @getgrgid(i64 noundef %87)
store ptr %88, ptr %18, align 8
%89 = load ptr, ptr %18, align 8
%90 = icmp eq ptr %89, null
br i1 %90, label %91, label %104
91: ; preds = %85
%92 = load i64, ptr @errno, align 8
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = call i32 @perror(ptr noundef @.str.9)
%96 = call i32 @exit(i32 noundef 5) #4
unreachable
97: ; preds = %91
%98 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0
%99 = load ptr, ptr %98, align 8
%100 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 1
%101 = load i64, ptr %100, align 8
%102 = call i32 @snprintf(ptr noundef %99, i32 noundef 32, ptr noundef @.str.8, i64 noundef %101)
store ptr %11, ptr %18, align 8
br label %103
103: ; preds = %97
br label %104
104: ; preds = %103, %85
%105 = load ptr, ptr %17, align 8
%106 = getelementptr inbounds %struct.passwd, ptr %105, i32 0, i32 0
%107 = load ptr, ptr %106, align 8
%108 = load ptr, ptr %18, align 8
%109 = getelementptr inbounds %struct.group, ptr %108, i32 0, i32 0
%110 = load ptr, ptr %109, align 8
%111 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0
%112 = load i64, ptr %111, align 8
%113 = getelementptr inbounds %struct.dirent, ptr %8, i32 0, i32 0
%114 = load i32, ptr %113, align 4
%115 = load ptr, ptr %16, align 8
%116 = call i32 @printf(ptr noundef @.str.10, ptr noundef %107, ptr noundef %110, i64 noundef %112, i32 noundef %114, ptr noundef %115)
br label %117
117: ; preds = %104, %47, %42
%118 = load ptr, ptr %7, align 8
%119 = call i32 @readdir_r(ptr noundef %118, ptr noundef %8, ptr noundef %9)
store i32 %119, ptr %14, align 4
%120 = load i32, ptr %14, align 4
%121 = icmp ne i32 %120, 0
br i1 %121, label %._crit_edge, label %38
122: ; preds = %41
ret i32 0
}
declare ptr @opendir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; 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 @readdir_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @stat(i32 noundef, ptr noundef) #1
declare i64 @S_ISDIR(i64 noundef) #1
declare ptr @getpwuid(i64 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare ptr @getgrgid(i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
|
; ModuleID = '/tmp/tmp3ftjqys1.c'
source_filename = "/tmp/tmp3ftjqys1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AUFS_SUPER_MAGIC = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ftjqys1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AUFS_SUPER_MAGIC = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5m234fcx.c'
source_filename = "/tmp/tmp5m234fcx.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"%s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(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 = load i32, ptr @errno, align 4
%6 = call ptr @strerror(i32 noundef %5)
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 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/tmp5m234fcx.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"%s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(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 = load i32, ptr @errno, align 4
%6 = call ptr @strerror(i32 noundef %5)
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 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/tmp_3srvmmk.c'
source_filename = "/tmp/tmp_3srvmmk.c"
target datalayout = "e-m:e-p270: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 (...) @native_init()
%3 = call i32 (...) @freewpc_init()
ret i32 0
}
declare i32 @native_init(...) #1
declare i32 @freewpc_init(...) #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_3srvmmk.c"
target datalayout = "e-m:e-p270: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 (...) @native_init()
%3 = call i32 (...) @freewpc_init()
ret i32 0
}
declare i32 @native_init(...) #1
declare i32 @freewpc_init(...) #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/tmppbrex4hq.c'
source_filename = "/tmp/tmppbrex4hq.c"
target datalayout = "e-m:e-p270: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 @free_lvector(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
%11 = getelementptr inbounds i32, ptr %10, i64 -1
%12 = call i32 @free(ptr noundef %11)
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/tmppbrex4hq.c"
target datalayout = "e-m:e-p270: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 @free_lvector(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
%11 = getelementptr inbounds i32, ptr %10, i64 -1
%12 = call i32 @free(ptr noundef %11)
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/tmpul_gbrck.c'
source_filename = "/tmp/tmpul_gbrck.c"
target datalayout = "e-m:e-p270: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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\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() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 -2, ptr %3, align 8
store i32 0, ptr %5, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
14: ; preds = %0
br label %15
15: ; preds = %41, %14
%16 = load i64, ptr %2, align 8
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %15
%19 = load i64, ptr %2, align 8
%20 = srem i64 %19, -2
%21 = trunc i64 %20 to i32
store i32 %21, ptr %7, align 4
%22 = load i64, ptr %3, align 8
%23 = load i64, ptr %2, align 8
%24 = sdiv i64 %23, %22
store i64 %24, ptr %2, align 8
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %34
27: ; preds = %18
%28 = load i64, ptr %2, align 8
%29 = add nsw i64 %28, 1
store i64 %29, ptr %2, align 8
store i32 1, ptr %7, align 4
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = sext i32 %30 to i64
%33 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %32
store i8 1, ptr %33, align 1
br label %41
34: ; preds = %18
%35 = load i32, ptr %7, align 4
%36 = trunc i32 %35 to i8
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = sext i32 %37 to i64
%40 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %39
store i8 %36, ptr %40, align 1
br label %41
41: ; preds = %34, %27
br label %15, !llvm.loop !6
42: ; preds = %15
%43 = load i32, ptr %5, align 4
%44 = sub nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %45
45: ; preds = %52, %42
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %45
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %5, align 4
br label %45, !llvm.loop !8
55: ; preds = %45
br label %56
56: ; preds = %66, %55
%57 = load i32, ptr %5, align 4
%58 = icmp sge i32 %57, 0
br i1 %58, label %59, label %69
59: ; preds = %56
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
br label %66
66: ; preds = %59
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, -1
store i32 %68, ptr %5, align 4
br label %56, !llvm.loop !9
69: ; preds = %56
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpul_gbrck.c"
target datalayout = "e-m:e-p270: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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\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() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 -2, ptr %3, align 8
store i32 0, ptr %5, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
14: ; preds = %0
%15 = load i64, ptr %2, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %.lr.ph, label %43
.lr.ph: ; preds = %14
br label %17
17: ; preds = %.lr.ph, %40
%18 = load i64, ptr %2, align 8
%19 = srem i64 %18, -2
%20 = trunc i64 %19 to i32
store i32 %20, ptr %7, align 4
%21 = load i64, ptr %3, align 8
%22 = load i64, ptr %2, align 8
%23 = sdiv i64 %22, %21
store i64 %23, ptr %2, align 8
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %33
26: ; preds = %17
%27 = load i64, ptr %2, align 8
%28 = add nsw i64 %27, 1
store i64 %28, ptr %2, align 8
store i32 1, ptr %7, align 4
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %31
store i8 1, ptr %32, align 1
br label %40
33: ; preds = %17
%34 = load i32, ptr %7, align 4
%35 = trunc i32 %34 to i8
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %38
store i8 %35, ptr %39, align 1
br label %40
40: ; preds = %33, %26
%41 = load i64, ptr %2, align 8
%42 = icmp ne i64 %41, 0
br i1 %42, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %43
43: ; preds = %._crit_edge, %14
%44 = load i32, ptr %5, align 4
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label %.lr.ph2, label %61
.lr.ph2: ; preds = %43
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 0
br i1 %60, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %61
61: ; preds = %._crit_edge3, %43
%62 = load i32, ptr %5, align 4
%63 = icmp sge i32 %62, 0
br i1 %63, label %.lr.ph5, label %76
.lr.ph5: ; preds = %61
br label %64
64: ; preds = %.lr.ph5, %71
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %69)
br label %71
71: ; preds = %64
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, -1
store i32 %73, ptr %5, align 4
%74 = load i32, ptr %5, align 4
%75 = icmp sge i32 %74, 0
br i1 %75, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %71
br label %76
76: ; preds = %._crit_edge6, %61
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp27o3ueri.c'
source_filename = "/tmp/tmp27o3ueri.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i8 noundef signext 65)
%3 = call i32 @printf(ptr noundef @.str, i8 noundef signext 97)
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext 38)
%5 = call i32 @printf(ptr noundef @.str, i8 noundef signext 36)
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext 32)
%7 = call i32 @printf(ptr noundef @.str, i8 noundef signext 43)
%8 = call i32 @printf(ptr noundef @.str, i8 noundef signext 47)
%9 = call i32 @printf(ptr noundef @.str, i8 noundef signext 126)
%10 = call i32 @printf(ptr noundef @.str, i8 noundef signext 124)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp27o3ueri.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i8 noundef signext 65)
%3 = call i32 @printf(ptr noundef @.str, i8 noundef signext 97)
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext 38)
%5 = call i32 @printf(ptr noundef @.str, i8 noundef signext 36)
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext 32)
%7 = call i32 @printf(ptr noundef @.str, i8 noundef signext 43)
%8 = call i32 @printf(ptr noundef @.str, i8 noundef signext 47)
%9 = call i32 @printf(ptr noundef @.str, i8 noundef signext 126)
%10 = call i32 @printf(ptr noundef @.str, i8 noundef signext 124)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcz7s81o2.c'
source_filename = "/tmp/tmpcz7s81o2.c"
target datalayout = "e-m:e-p270: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 @reverse_without_complement(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call ptr @malloc(i32 noundef 20000)
store ptr %8, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
br label %11
11: ; preds = %28, %2
%12 = load i32, ptr %6, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %31
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 %21, ptr %25, align 1
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %28
28: ; preds = %14
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %6, align 4
br label %11, !llvm.loop !6
31: ; preds = %11
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 0, ptr %35, align 1
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %50, %31
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %53
40: ; preds = %36
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = load ptr, ptr %3, 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 %45, ptr %49, align 1
br label %50
50: ; preds = %40
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
br label %36, !llvm.loop !8
53: ; preds = %36
%54 = load ptr, ptr %5, align 8
%55 = call i32 @free(ptr noundef %54)
%56 = load ptr, ptr %3, align 8
ret ptr %56
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcz7s81o2.c"
target datalayout = "e-m:e-p270: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 @reverse_without_complement(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call ptr @malloc(i32 noundef 20000)
store ptr %8, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %27
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = trunc i32 %19 to i8
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 %20, ptr %24, align 1
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %27
27: ; preds = %13
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %2
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 0, ptr %36, align 1
store i32 0, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph2, label %56
.lr.ph2: ; preds = %32
br label %40
40: ; preds = %.lr.ph2, %50
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = load ptr, ptr %3, 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 %45, ptr %49, align 1
br label %50
50: ; preds = %40
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %32
%57 = load ptr, ptr %5, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = load ptr, ptr %3, align 8
ret ptr %59
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzfkqpfvz.c'
source_filename = "/tmp/tmpzfkqpfvz.c"
target datalayout = "e-m:e-p270: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.is_vowel.vowels = private unnamed_addr constant [13 x i8] c"aeiouyAEIOUY\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_vowel(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca [13 x i8], align 1
%5 = alloca i32, align 4
store i8 %0, ptr %3, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.is_vowel.vowels, i64 13, i1 false)
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %22, %1
%7 = load i32, ptr %5, align 4
%8 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %25
11: ; preds = %6
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %13, %18
br i1 %19, label %20, label %21
20: ; preds = %11
store i32 1, ptr %2, align 4
br label %26
21: ; preds = %11
br label %22
22: ; preds = %21
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %6, !llvm.loop !6
25: ; preds = %6
store i32 0, ptr %2, align 4
br label %26
26: ; preds = %25, %20
%27 = load i32, ptr %2, align 4
ret i32 %27
}
; 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 @strlen(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzfkqpfvz.c"
target datalayout = "e-m:e-p270: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.is_vowel.vowels = private unnamed_addr constant [13 x i8] c"aeiouyAEIOUY\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_vowel(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca [13 x i8], align 1
%5 = alloca i32, align 4
store i8 %0, ptr %3, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.is_vowel.vowels, i64 13, i1 false)
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %21
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %12, %17
br i1 %18, label %19, label %20
19: ; preds = %10
store i32 1, ptr %2, align 4
br label %28
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = call i32 @strlen(ptr noundef %7)
%26 = icmp slt i32 %24, %25
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %19
%29 = load i32, ptr %2, align 4
ret i32 %29
}
; 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 @strlen(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx3dgsrdk.c'
source_filename = "/tmp/tmpx3dgsrdk.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"Error on closing\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @close(i32 noundef %4)
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i64 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3dgsrdk.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"Error on closing\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @close(i32 noundef %4)
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i64 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptp3c9cnb.c'
source_filename = "/tmp/tmptp3c9cnb.c"
target datalayout = "e-m:e-p270: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 double @str2dx(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %5, align 8
br label %12
12: ; preds = %18, %2
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %21
17: ; preds = %12
br label %18
18: ; preds = %17
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
br label %12, !llvm.loop !6
21: ; preds = %12
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %31, label %26
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %36
31: ; preds = %26, %21
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load i8, ptr %32, align 1
%35 = sext i8 %34 to i32
br label %37
36: ; preds = %26
br label %37
37: ; preds = %36, %31
%38 = phi i32 [ %35, %31 ], [ 43, %36 ]
%39 = trunc i32 %38 to i8
store i8 %39, ptr %7, align 1
br label %40
40: ; preds = %46, %37
%41 = load ptr, ptr %5, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 48
br i1 %44, label %45, label %49
45: ; preds = %40
br label %46
46: ; preds = %45
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %5, align 8
br label %40, !llvm.loop !8
49: ; preds = %40
store i64 0, ptr %9, align 8
br label %50
50: ; preds = %112, %49
%51 = load ptr, ptr %5, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp sge i32 %53, 48
br i1 %54, label %55, label %60
55: ; preds = %50
%56 = load ptr, ptr %5, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp sle i32 %58, 57
br i1 %59, label %102, label %60
60: ; preds = %55, %50
%61 = load ptr, ptr %5, align 8
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp sge i32 %63, 97
br i1 %64, label %65, label %70
65: ; preds = %60
%66 = load ptr, ptr %5, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp sle i32 %68, 102
br i1 %69, label %102, label %70
70: ; preds = %65, %60
%71 = load ptr, ptr %5, align 8
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp sge i32 %73, 65
br i1 %74, label %75, label %80
75: ; preds = %70
%76 = load ptr, ptr %5, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp sle i32 %78, 70
br i1 %79, label %102, label %80
80: ; preds = %75, %70
%81 = load ptr, ptr %5, align 8
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp sge i32 %83, 97
br i1 %84, label %85, label %90
85: ; preds = %80
%86 = load ptr, ptr %5, align 8
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp sle i32 %88, 102
br i1 %89, label %102, label %90
90: ; preds = %85, %80
%91 = load ptr, ptr %5, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp sge i32 %93, 65
br i1 %94, label %95, label %100
95: ; preds = %90
%96 = load ptr, ptr %5, align 8
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp sle i32 %98, 70
br label %100
100: ; preds = %95, %90
%101 = phi i1 [ false, %90 ], [ %99, %95 ]
br label %102
102: ; preds = %100, %85, %75, %65, %55
%103 = phi i1 [ true, %85 ], [ true, %75 ], [ true, %65 ], [ true, %55 ], [ %101, %100 ]
br i1 %103, label %104, label %115
104: ; preds = %102
%105 = load ptr, ptr %5, align 8
%106 = load i8, ptr %105, align 1
%107 = call i64 @char2int(i8 noundef signext %106)
store i64 %107, ptr %8, align 8
%108 = load i64, ptr %9, align 8
%109 = mul nsw i64 %108, 10
%110 = load i64, ptr %8, align 8
%111 = add nsw i64 %109, %110
store i64 %111, ptr %9, align 8
br label %112
112: ; preds = %104
%113 = load ptr, ptr %5, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %5, align 8
br label %50, !llvm.loop !9
115: ; preds = %102
%116 = load ptr, ptr %5, align 8
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 46
br i1 %119, label %120, label %187
120: ; preds = %115
store double 0.000000e+00, ptr %10, align 8
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 1
store ptr %122, ptr %6, align 8
br label %123
123: ; preds = %158, %120
%124 = load ptr, ptr %6, align 8
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = icmp sge i32 %126, 48
br i1 %127, label %128, label %133
128: ; preds = %123
%129 = load ptr, ptr %6, align 8
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp sle i32 %131, 57
br i1 %132, label %155, label %133
133: ; preds = %128, %123
%134 = load ptr, ptr %6, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp sge i32 %136, 97
br i1 %137, label %138, label %143
138: ; preds = %133
%139 = load ptr, ptr %6, align 8
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = icmp sle i32 %141, 102
br i1 %142, label %155, label %143
143: ; preds = %138, %133
%144 = load ptr, ptr %6, align 8
%145 = load i8, ptr %144, align 1
%146 = sext i8 %145 to i32
%147 = icmp sge i32 %146, 65
br i1 %147, label %148, label %153
148: ; preds = %143
%149 = load ptr, ptr %6, align 8
%150 = load i8, ptr %149, align 1
%151 = sext i8 %150 to i32
%152 = icmp sle i32 %151, 70
br label %153
153: ; preds = %148, %143
%154 = phi i1 [ false, %143 ], [ %152, %148 ]
br label %155
155: ; preds = %153, %138, %128
%156 = phi i1 [ true, %138 ], [ true, %128 ], [ %154, %153 ]
br i1 %156, label %157, label %161
157: ; preds = %155
br label %158
158: ; preds = %157
%159 = load ptr, ptr %6, align 8
%160 = getelementptr inbounds i8, ptr %159, i32 1
store ptr %160, ptr %6, align 8
br label %123, !llvm.loop !10
161: ; preds = %155
%162 = load ptr, ptr %6, align 8
%163 = load ptr, ptr %4, align 8
store ptr %162, ptr %163, align 8
%164 = load ptr, ptr %6, align 8
%165 = getelementptr inbounds i8, ptr %164, i32 -1
store ptr %165, ptr %6, align 8
br label %166
166: ; preds = %179, %161
%167 = load ptr, ptr %6, align 8
%168 = load ptr, ptr %5, align 8
%169 = icmp ne ptr %167, %168
br i1 %169, label %170, label %182
170: ; preds = %166
%171 = load ptr, ptr %6, align 8
%172 = load i8, ptr %171, align 1
%173 = call i64 @char2int(i8 noundef signext %172)
store i64 %173, ptr %8, align 8
%174 = load i64, ptr %8, align 8
%175 = sitofp i64 %174 to double
%176 = load double, ptr %10, align 8
%177 = fadd double %175, %176
%178 = fmul double %177, 1.000000e-01
store double %178, ptr %10, align 8
br label %179
179: ; preds = %170
%180 = load ptr, ptr %6, align 8
%181 = getelementptr inbounds i8, ptr %180, i32 -1
store ptr %181, ptr %6, align 8
br label %166, !llvm.loop !11
182: ; preds = %166
%183 = load i64, ptr %9, align 8
%184 = sitofp i64 %183 to double
%185 = load double, ptr %10, align 8
%186 = fadd double %185, %184
store double %186, ptr %10, align 8
br label %192
187: ; preds = %115
%188 = load ptr, ptr %5, align 8
%189 = load ptr, ptr %4, align 8
store ptr %188, ptr %189, align 8
%190 = load i64, ptr %9, align 8
%191 = sitofp i64 %190 to double
store double %191, ptr %10, align 8
br label %192
192: ; preds = %187, %182
%193 = load i8, ptr %7, align 1
%194 = sext i8 %193 to i32
%195 = icmp eq i32 %194, 45
%196 = zext i1 %195 to i64
%197 = select i1 %195, i32 -1, i32 1
%198 = sitofp i32 %197 to double
%199 = load double, ptr %10, align 8
%200 = fmul double %199, %198
store double %200, ptr %10, align 8
%201 = load double, ptr %10, align 8
ret double %201
}
declare i64 @char2int(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptp3c9cnb.c"
target datalayout = "e-m:e-p270: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 double @str2dx(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %17
br label %17
17: ; preds = %16
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %24
24: ; preds = %._crit_edge, %2
%25 = load ptr, ptr %5, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 45
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 43
br i1 %33, label %34, label %39
34: ; preds = %29, %24
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load i8, ptr %35, align 1
%38 = sext i8 %37 to i32
br label %40
39: ; preds = %29
br label %40
40: ; preds = %39, %34
%41 = phi i32 [ %38, %34 ], [ 43, %39 ]
%42 = trunc i32 %41 to i8
store i8 %42, ptr %7, align 1
%43 = load ptr, ptr %5, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 48
br i1 %46, label %.lr.ph2, label %55
.lr.ph2: ; preds = %40
br label %47
47: ; preds = %.lr.ph2, %48
br label %48
48: ; preds = %47
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %5, align 8
%51 = load ptr, ptr %5, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 48
br i1 %54, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %55
55: ; preds = %._crit_edge3, %40
store i64 0, ptr %9, align 8
br label %56
56: ; preds = %118, %55
%57 = load ptr, ptr %5, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp sge i32 %59, 48
br i1 %60, label %61, label %66
61: ; preds = %56
%62 = load ptr, ptr %5, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp sle i32 %64, 57
br i1 %65, label %108, label %66
66: ; preds = %61, %56
%67 = load ptr, ptr %5, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp sge i32 %69, 97
br i1 %70, label %71, label %76
71: ; preds = %66
%72 = load ptr, ptr %5, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp sle i32 %74, 102
br i1 %75, label %108, label %76
76: ; preds = %71, %66
%77 = load ptr, ptr %5, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp sge i32 %79, 65
br i1 %80, label %81, label %86
81: ; preds = %76
%82 = load ptr, ptr %5, align 8
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp sle i32 %84, 70
br i1 %85, label %108, label %86
86: ; preds = %81, %76
%87 = load ptr, ptr %5, align 8
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp sge i32 %89, 97
br i1 %90, label %91, label %96
91: ; preds = %86
%92 = load ptr, ptr %5, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp sle i32 %94, 102
br i1 %95, label %108, label %96
96: ; preds = %91, %86
%97 = load ptr, ptr %5, align 8
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp sge i32 %99, 65
br i1 %100, label %101, label %106
101: ; preds = %96
%102 = load ptr, ptr %5, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp sle i32 %104, 70
br label %106
106: ; preds = %101, %96
%107 = phi i1 [ false, %96 ], [ %105, %101 ]
br label %108
108: ; preds = %106, %91, %81, %71, %61
%109 = phi i1 [ true, %91 ], [ true, %81 ], [ true, %71 ], [ true, %61 ], [ %107, %106 ]
br i1 %109, label %110, label %121
110: ; preds = %108
%111 = load ptr, ptr %5, align 8
%112 = load i8, ptr %111, align 1
%113 = call i64 @char2int(i8 noundef signext %112)
store i64 %113, ptr %8, align 8
%114 = load i64, ptr %9, align 8
%115 = mul nsw i64 %114, 10
%116 = load i64, ptr %8, align 8
%117 = add nsw i64 %115, %116
store i64 %117, ptr %9, align 8
br label %118
118: ; preds = %110
%119 = load ptr, ptr %5, align 8
%120 = getelementptr inbounds i8, ptr %119, i32 1
store ptr %120, ptr %5, align 8
br label %56, !llvm.loop !9
121: ; preds = %108
%122 = load ptr, ptr %5, align 8
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 46
br i1 %125, label %126, label %195
126: ; preds = %121
store double 0.000000e+00, ptr %10, align 8
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds i8, ptr %127, i64 1
store ptr %128, ptr %6, align 8
br label %129
129: ; preds = %164, %126
%130 = load ptr, ptr %6, align 8
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp sge i32 %132, 48
br i1 %133, label %134, label %139
134: ; preds = %129
%135 = load ptr, ptr %6, align 8
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = icmp sle i32 %137, 57
br i1 %138, label %161, label %139
139: ; preds = %134, %129
%140 = load ptr, ptr %6, align 8
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = icmp sge i32 %142, 97
br i1 %143, label %144, label %149
144: ; preds = %139
%145 = load ptr, ptr %6, align 8
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i32
%148 = icmp sle i32 %147, 102
br i1 %148, label %161, label %149
149: ; preds = %144, %139
%150 = load ptr, ptr %6, align 8
%151 = load i8, ptr %150, align 1
%152 = sext i8 %151 to i32
%153 = icmp sge i32 %152, 65
br i1 %153, label %154, label %159
154: ; preds = %149
%155 = load ptr, ptr %6, align 8
%156 = load i8, ptr %155, align 1
%157 = sext i8 %156 to i32
%158 = icmp sle i32 %157, 70
br label %159
159: ; preds = %154, %149
%160 = phi i1 [ false, %149 ], [ %158, %154 ]
br label %161
161: ; preds = %159, %144, %134
%162 = phi i1 [ true, %144 ], [ true, %134 ], [ %160, %159 ]
br i1 %162, label %163, label %167
163: ; preds = %161
br label %164
164: ; preds = %163
%165 = load ptr, ptr %6, align 8
%166 = getelementptr inbounds i8, ptr %165, i32 1
store ptr %166, ptr %6, align 8
br label %129, !llvm.loop !10
167: ; preds = %161
%168 = load ptr, ptr %6, align 8
%169 = load ptr, ptr %4, align 8
store ptr %168, ptr %169, align 8
%170 = load ptr, ptr %6, align 8
%171 = getelementptr inbounds i8, ptr %170, i32 -1
store ptr %171, ptr %6, align 8
%172 = load ptr, ptr %6, align 8
%173 = load ptr, ptr %5, align 8
%174 = icmp ne ptr %172, %173
br i1 %174, label %.lr.ph5, label %190
.lr.ph5: ; preds = %167
br label %175
175: ; preds = %.lr.ph5, %184
%176 = load ptr, ptr %6, align 8
%177 = load i8, ptr %176, align 1
%178 = call i64 @char2int(i8 noundef signext %177)
store i64 %178, ptr %8, align 8
%179 = load i64, ptr %8, align 8
%180 = sitofp i64 %179 to double
%181 = load double, ptr %10, align 8
%182 = fadd double %180, %181
%183 = fmul double %182, 1.000000e-01
store double %183, ptr %10, align 8
br label %184
184: ; preds = %175
%185 = load ptr, ptr %6, align 8
%186 = getelementptr inbounds i8, ptr %185, i32 -1
store ptr %186, ptr %6, align 8
%187 = load ptr, ptr %6, align 8
%188 = load ptr, ptr %5, align 8
%189 = icmp ne ptr %187, %188
br i1 %189, label %175, label %._crit_edge6, !llvm.loop !11
._crit_edge6: ; preds = %184
br label %190
190: ; preds = %._crit_edge6, %167
%191 = load i64, ptr %9, align 8
%192 = sitofp i64 %191 to double
%193 = load double, ptr %10, align 8
%194 = fadd double %193, %192
store double %194, ptr %10, align 8
br label %200
195: ; preds = %121
%196 = load ptr, ptr %5, align 8
%197 = load ptr, ptr %4, align 8
store ptr %196, ptr %197, align 8
%198 = load i64, ptr %9, align 8
%199 = sitofp i64 %198 to double
store double %199, ptr %10, align 8
br label %200
200: ; preds = %195, %190
%201 = load i8, ptr %7, align 1
%202 = sext i8 %201 to i32
%203 = icmp eq i32 %202, 45
%204 = zext i1 %203 to i64
%205 = select i1 %203, i32 -1, i32 1
%206 = sitofp i32 %205 to double
%207 = load double, ptr %10, align 8
%208 = fmul double %207, %206
store double %208, ptr %10, align 8
%209 = load double, ptr %10, align 8
ret double %209
}
declare i64 @char2int(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpfk37njy9.c'
source_filename = "/tmp/tmpfk37njy9.c"
target datalayout = "e-m:e-p270: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/tmpfk37njy9.c"
target datalayout = "e-m:e-p270: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/tmptb0gqftj.c'
source_filename = "/tmp/tmptb0gqftj.c"
target datalayout = "e-m:e-p270: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/tmptb0gqftj.c"
target datalayout = "e-m:e-p270: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/tmp_lbxoeh3.c'
source_filename = "/tmp/tmp_lbxoeh3.c"
target datalayout = "e-m:e-p270: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 @add_to_2D_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 8
%9 = trunc i64 %8 to i32
%10 = call i64 @realloc(ptr noundef %5, i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
ret void
}
declare i64 @realloc(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/tmp_lbxoeh3.c"
target datalayout = "e-m:e-p270: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 @add_to_2D_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 8
%9 = trunc i64 %8 to i32
%10 = call i64 @realloc(ptr noundef %5, i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
ret void
}
declare i64 @realloc(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/tmpg60jcqsk.c'
source_filename = "/tmp/tmpg60jcqsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpg60jcqsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpbe8jx5ko.c'
source_filename = "/tmp/tmpbe8jx5ko.c"
target datalayout = "e-m:e-p270: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 @uninitvar_wcspbrk() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = load ptr, ptr %1, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @wcspbrk(ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @wcspbrk(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/tmpbe8jx5ko.c"
target datalayout = "e-m:e-p270: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 @uninitvar_wcspbrk() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = load ptr, ptr %1, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @wcspbrk(ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @wcspbrk(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/tmpi1pheoob.c'
source_filename = "/tmp/tmpi1pheoob.c"
target datalayout = "e-m:e-p270: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/tmpi1pheoob.c"
target datalayout = "e-m:e-p270: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/tmph0bbfwh_.c'
source_filename = "/tmp/tmph0bbfwh_.c"
target datalayout = "e-m:e-p270: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/tmph0bbfwh_.c"
target datalayout = "e-m:e-p270: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/tmpq718gtij.c'
source_filename = "/tmp/tmpq718gtij.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"sxrev\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copy_cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @copy_cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @copy_cmdline_parser_dump(ptr noundef, ptr noundef) #1
declare i32 @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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpq718gtij.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"sxrev\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copy_cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @copy_cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @copy_cmdline_parser_dump(ptr noundef, ptr noundef) #1
declare i32 @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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp4jggn_3r.c'
source_filename = "/tmp/tmp4jggn_3r.c"
target datalayout = "e-m:e-p270: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 @worker() #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 = call i32 (...) @gang()
call void @worker()
%7 = call i32 (...) @vector()
%8 = call i32 (...) @seq()
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %15, %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %18
12: ; preds = %9
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
br label %15
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %9, !llvm.loop !6
18: ; preds = %9
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %25, %18
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = load i32, ptr %1, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %1, align 4
br label %25
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %19, !llvm.loop !8
28: ; preds = %19
store i32 0, ptr %4, align 4
br label %29
29: ; preds = %35, %28
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %30, 10
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load i32, ptr %1, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %1, align 4
br label %35
35: ; preds = %32
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %29, !llvm.loop !9
38: ; preds = %29
store i32 0, ptr %5, align 4
br label %39
39: ; preds = %45, %38
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %40, 10
br i1 %41, label %42, label %48
42: ; preds = %39
%43 = load i32, ptr %1, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %1, align 4
br label %45
45: ; preds = %42
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
br label %39, !llvm.loop !10
48: ; preds = %39
ret void
}
declare i32 @gang(...) #1
declare i32 @vector(...) #1
declare i32 @seq(...) #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/tmp4jggn_3r.c"
target datalayout = "e-m:e-p270: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 @worker() #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 = call i32 (...) @gang()
call void @worker()
%7 = call i32 (...) @vector()
%8 = call i32 (...) @seq()
store i32 0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %14
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
br label %14
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %.lr.ph2, label %30
.lr.ph2: ; preds = %19
br label %22
22: ; preds = %.lr.ph2, %25
%23 = load i32, ptr %1, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %1, align 4
br label %25
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %19
store i32 0, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 10
br i1 %32, label %.lr.ph5, label %41
.lr.ph5: ; preds = %30
br label %33
33: ; preds = %.lr.ph5, %36
%34 = load i32, ptr %1, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %1, align 4
br label %36
36: ; preds = %33
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %39, 10
br i1 %40, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %36
br label %41
41: ; preds = %._crit_edge6, %30
store i32 0, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %42, 10
br i1 %43, label %.lr.ph8, label %52
.lr.ph8: ; preds = %41
br label %44
44: ; preds = %.lr.ph8, %47
%45 = load i32, ptr %1, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %1, align 4
br label %47
47: ; preds = %44
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %50, 10
br i1 %51, label %44, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %47
br label %52
52: ; preds = %._crit_edge9, %41
ret void
}
declare i32 @gang(...) #1
declare i32 @vector(...) #1
declare i32 @seq(...) #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/tmpilz1v8ur.c'
source_filename = "/tmp/tmpilz1v8ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"dc: Can`t redirect stdin\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"dc: Can`t redirect stdout\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"dc\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Can`t run dc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @be_dc(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 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
%8 = call i32 @dup2(i32 noundef %7, i32 noundef 0)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 3) #3
unreachable
13: ; preds = %2
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = call i32 @close(i32 noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %19, align 4
%21 = call i32 @close(i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @dup2(i32 noundef %24, i32 noundef 1)
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %13
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = call i32 @exit(i32 noundef 4) #3
unreachable
30: ; preds = %13
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 1
%33 = load i32, ptr %32, align 4
%34 = call i32 @close(i32 noundef %33)
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 0
%37 = load i32, ptr %36, align 4
%38 = call i32 @close(i32 noundef %37)
%39 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
%40 = call i32 @perror(ptr noundef @.str.4)
%41 = call i32 @exit(i32 noundef 5) #3
unreachable
}
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @close(i32 noundef) #1
declare i32 @execlp(ptr noundef, 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/tmpilz1v8ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"dc: Can`t redirect stdin\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"dc: Can`t redirect stdout\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"dc\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Can`t run dc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @be_dc(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 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
%8 = call i32 @dup2(i32 noundef %7, i32 noundef 0)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 3) #3
unreachable
13: ; preds = %2
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = call i32 @close(i32 noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %19, align 4
%21 = call i32 @close(i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @dup2(i32 noundef %24, i32 noundef 1)
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %13
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = call i32 @exit(i32 noundef 4) #3
unreachable
30: ; preds = %13
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 1
%33 = load i32, ptr %32, align 4
%34 = call i32 @close(i32 noundef %33)
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 0
%37 = load i32, ptr %36, align 4
%38 = call i32 @close(i32 noundef %37)
%39 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
%40 = call i32 @perror(ptr noundef @.str.4)
%41 = call i32 @exit(i32 noundef 5) #3
unreachable
}
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @close(i32 noundef) #1
declare i32 @execlp(ptr noundef, 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/tmp8s4m8pyh.c'
source_filename = "/tmp/tmp8s4m8pyh.c"
target datalayout = "e-m:e-p270: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/tmp8s4m8pyh.c"
target datalayout = "e-m:e-p270: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/tmp4gpteae3.c'
source_filename = "/tmp/tmp4gpteae3.c"
target datalayout = "e-m:e-p270: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/tmp4gpteae3.c"
target datalayout = "e-m:e-p270: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/tmpwmp0ka94.c'
source_filename = "/tmp/tmpwmp0ka94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@PRIO_PROCESS = dso_local global i32 0, align 4
@PRIO_MIN = dso_local global i32 0, align 4
@PRIO_MAX = dso_local global i32 0, align 4
@EACCES = dso_local global i32 0, align 4
@EPERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nice(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 %3, align 4
%7 = load i32, ptr @errno, align 4
store i32 %7, ptr %4, align 4
%8 = call i32 @__set_errno(i32 noundef 0)
%9 = load i32, ptr @PRIO_PROCESS, align 4
%10 = call i32 @getpriority(i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %21
13: ; preds = %1
%14 = load i32, ptr @errno, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 -1, ptr %2, align 4
br label %54
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = call i32 @__set_errno(i32 noundef %18)
br label %20
20: ; preds = %17
br label %21
21: ; preds = %20, %1
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr @PRIO_MIN, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = load i32, ptr @PRIO_MIN, align 4
store i32 %29, ptr %5, align 4
br label %38
30: ; preds = %21
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr @PRIO_MAX, align 4
%33 = icmp sge i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr @PRIO_MAX, align 4
%36 = sub nsw i32 %35, 1
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %34, %30
br label %38
38: ; preds = %37, %28
%39 = load i32, ptr @PRIO_PROCESS, align 4
%40 = load i32, ptr %5, align 4
%41 = call i32 @setpriority(i32 noundef %39, i32 noundef 0, i32 noundef %40)
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %51
44: ; preds = %38
%45 = load i32, ptr @errno, align 4
%46 = load i32, ptr @EACCES, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = load i32, ptr @EPERM, align 4
store i32 %49, ptr @errno, align 4
br label %50
50: ; preds = %48, %44
store i32 -1, ptr %2, align 4
br label %54
51: ; preds = %38
%52 = load i32, ptr @PRIO_PROCESS, align 4
%53 = call i32 @getpriority(i32 noundef %52, i32 noundef 0)
store i32 %53, ptr %2, align 4
br label %54
54: ; preds = %51, %50, %16
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i32 @__set_errno(i32 noundef) #1
declare i32 @getpriority(i32 noundef, i32 noundef) #1
declare i32 @setpriority(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/tmpwmp0ka94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@PRIO_PROCESS = dso_local global i32 0, align 4
@PRIO_MIN = dso_local global i32 0, align 4
@PRIO_MAX = dso_local global i32 0, align 4
@EACCES = dso_local global i32 0, align 4
@EPERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nice(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 %3, align 4
%7 = load i32, ptr @errno, align 4
store i32 %7, ptr %4, align 4
%8 = call i32 @__set_errno(i32 noundef 0)
%9 = load i32, ptr @PRIO_PROCESS, align 4
%10 = call i32 @getpriority(i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %21
13: ; preds = %1
%14 = load i32, ptr @errno, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 -1, ptr %2, align 4
br label %54
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = call i32 @__set_errno(i32 noundef %18)
br label %20
20: ; preds = %17
br label %21
21: ; preds = %20, %1
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr @PRIO_MIN, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = load i32, ptr @PRIO_MIN, align 4
store i32 %29, ptr %5, align 4
br label %38
30: ; preds = %21
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr @PRIO_MAX, align 4
%33 = icmp sge i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr @PRIO_MAX, align 4
%36 = sub nsw i32 %35, 1
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %34, %30
br label %38
38: ; preds = %37, %28
%39 = load i32, ptr @PRIO_PROCESS, align 4
%40 = load i32, ptr %5, align 4
%41 = call i32 @setpriority(i32 noundef %39, i32 noundef 0, i32 noundef %40)
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %51
44: ; preds = %38
%45 = load i32, ptr @errno, align 4
%46 = load i32, ptr @EACCES, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = load i32, ptr @EPERM, align 4
store i32 %49, ptr @errno, align 4
br label %50
50: ; preds = %48, %44
store i32 -1, ptr %2, align 4
br label %54
51: ; preds = %38
%52 = load i32, ptr @PRIO_PROCESS, align 4
%53 = call i32 @getpriority(i32 noundef %52, i32 noundef 0)
store i32 %53, ptr %2, align 4
br label %54
54: ; preds = %51, %50, %16
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i32 @__set_errno(i32 noundef) #1
declare i32 @getpriority(i32 noundef, i32 noundef) #1
declare i32 @setpriority(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/tmp6n82vucz.c'
source_filename = "/tmp/tmp6n82vucz.c"
target datalayout = "e-m:e-p270: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
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vector_col6_printf_decimated(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%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
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
store i32 1, ptr %17, align 4
store i32 2000, ptr %19, align 4
%20 = load i32, ptr %15, align 4
%21 = icmp sgt i32 %20, 2000
br i1 %21, label %22, label %25
22: ; preds = %8
%23 = load i32, ptr %15, align 4
%24 = sdiv i32 %23, 2000
store i32 %24, ptr %17, align 4
br label %25
25: ; preds = %22, %8
store i32 0, ptr %18, align 4
br label %26
26: ; preds = %79, %25
%27 = load i32, ptr %18, align 4
%28 = load i32, ptr %15, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %83
30: ; preds = %26
%31 = load ptr, ptr %16, align 8
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %18, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
%36 = load double, ptr %35, align 8
%37 = call i32 (ptr, ...) @printf(ptr noundef %31, double noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%39 = load ptr, ptr %16, align 8
%40 = load ptr, ptr %10, align 8
%41 = load i32, ptr %18, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = call i32 (ptr, ...) @printf(ptr noundef %39, double noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%47 = load ptr, ptr %16, align 8
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
%52 = load double, ptr %51, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef %47, double noundef %52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%55 = load ptr, ptr %16, align 8
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr %18, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
%61 = call i32 (ptr, ...) @printf(ptr noundef %55, double noundef %60)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%63 = load ptr, ptr %16, align 8
%64 = load ptr, ptr %13, align 8
%65 = load i32, ptr %18, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
%68 = load double, ptr %67, align 8
%69 = call i32 (ptr, ...) @printf(ptr noundef %63, double noundef %68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%71 = load ptr, ptr %16, align 8
%72 = load ptr, ptr %14, align 8
%73 = load i32, ptr %18, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %72, i64 %74
%76 = load double, ptr %75, align 8
%77 = call i32 (ptr, ...) @printf(ptr noundef %71, double noundef %76)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %79
79: ; preds = %30
%80 = load i32, ptr %17, align 4
%81 = load i32, ptr %18, align 4
%82 = add nsw i32 %81, %80
store i32 %82, ptr %18, align 4
br label %26, !llvm.loop !6
83: ; preds = %26
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6n82vucz.c"
target datalayout = "e-m:e-p270: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
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vector_col6_printf_decimated(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%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
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
store i32 1, ptr %17, align 4
store i32 2000, ptr %19, align 4
%20 = load i32, ptr %15, align 4
%21 = icmp sgt i32 %20, 2000
br i1 %21, label %22, label %25
22: ; preds = %8
%23 = load i32, ptr %15, align 4
%24 = sdiv i32 %23, 2000
store i32 %24, ptr %17, align 4
br label %25
25: ; preds = %22, %8
store i32 0, ptr %18, align 4
%26 = load i32, ptr %18, align 4
%27 = load i32, ptr %15, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %85
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %78
%30 = load ptr, ptr %16, align 8
%31 = load ptr, ptr %9, align 8
%32 = load i32, ptr %18, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %31, i64 %33
%35 = load double, ptr %34, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef %30, double noundef %35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%38 = load ptr, ptr %16, align 8
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %18, 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 (ptr, ...) @printf(ptr noundef %38, double noundef %43)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%46 = load ptr, ptr %16, align 8
%47 = load ptr, ptr %11, align 8
%48 = load i32, ptr %18, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef %46, double noundef %51)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%54 = load ptr, ptr %16, align 8
%55 = load ptr, ptr %12, align 8
%56 = load i32, ptr %18, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load double, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef %54, double noundef %59)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%62 = load ptr, ptr %16, align 8
%63 = load ptr, ptr %13, align 8
%64 = load i32, ptr %18, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
%67 = load double, ptr %66, align 8
%68 = call i32 (ptr, ...) @printf(ptr noundef %62, double noundef %67)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%70 = load ptr, ptr %16, align 8
%71 = load ptr, ptr %14, align 8
%72 = load i32, ptr %18, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = call i32 (ptr, ...) @printf(ptr noundef %70, double noundef %75)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %78
78: ; preds = %29
%79 = load i32, ptr %17, align 4
%80 = load i32, ptr %18, align 4
%81 = add nsw i32 %80, %79
store i32 %81, ptr %18, align 4
%82 = load i32, ptr %18, align 4
%83 = load i32, ptr %15, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %78
br label %85
85: ; preds = %._crit_edge, %25
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0uhbsudg.c'
source_filename = "/tmp/tmp0uhbsudg.c"
target datalayout = "e-m:e-p270: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/tmp0uhbsudg.c"
target datalayout = "e-m:e-p270: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/tmp_ajw5n5b.c'
source_filename = "/tmp/tmp_ajw5n5b.c"
target datalayout = "e-m:e-p270: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_ajw5n5b.c"
target datalayout = "e-m:e-p270: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/tmpoh5wn94p.c'
source_filename = "/tmp/tmpoh5wn94p.c"
target datalayout = "e-m:e-p270: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(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 i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 2, ptr %9, align 4
br label %15
15: ; preds = %27, %2
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %19, label %33
19: ; preds = %15
%20 = load i32, ptr %9, align 4
%21 = srem i32 %20, 2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %7, align 4
br label %27
27: ; preds = %23, %19
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %28, %29
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %9, align 4
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %10, align 4
store i32 %32, ptr %9, align 4
br label %15, !llvm.loop !6
33: ; preds = %15
%34 = load i32, ptr %7, align 4
%35 = call i32 @printf(ptr noundef @.str, i32 noundef %34)
ret i32 0
}
declare i32 @atoi(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/tmpoh5wn94p.c"
target datalayout = "e-m:e-p270: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(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 i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 2, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %26
%19 = load i32, ptr %9, align 4
%20 = srem i32 %19, 2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %7, align 4
br label %26
26: ; preds = %22, %18
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %27, %28
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %9, align 4
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %10, align 4
store i32 %31, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %35
35: ; preds = %._crit_edge, %2
%36 = load i32, ptr %7, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
ret i32 0
}
declare i32 @atoi(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/tmp78c9valn.c'
source_filename = "/tmp/tmp78c9valn.c"
target datalayout = "e-m:e-p270: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"{\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"\09\22%d\22: [\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"\09\09[%.13f, %.13f, %.13f, %.13f, %.13f, %.13f, %.13f],\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\09],\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"}\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 double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca [6 x double], align 16
store i32 0, ptr %1, align 4
store double -2.000000e+04, ptr %4, align 8
store double 2.000000e+04, ptr %5, align 8
store double 2.250000e+02, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %46, %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 4
br i1 %11, label %12, label %49
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = load double, ptr %4, align 8
store double %15, ptr %3, align 8
br label %16
16: ; preds = %40, %12
%17 = load double, ptr %3, align 8
%18 = load double, ptr %5, align 8
%19 = fcmp olt double %17, %18
br i1 %19, label %20, label %44
20: ; preds = %16
%21 = load double, ptr %3, align 8
%22 = fadd double %21, 1.826250e+04
%23 = load i32, ptr %2, align 4
%24 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0
%25 = call i32 @CalcL1Elem(double noundef %22, i32 noundef %23, ptr noundef %24)
%26 = load double, ptr %3, align 8
%27 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0
%28 = load double, ptr %27, align 16
%29 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 1
%30 = load double, ptr %29, align 8
%31 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 2
%32 = load double, ptr %31, align 16
%33 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 3
%34 = load double, ptr %33, align 8
%35 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 4
%36 = load double, ptr %35, align 16
%37 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 5
%38 = load double, ptr %37, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %26, double noundef %28, double noundef %30, double noundef %32, double noundef %34, double noundef %36, double noundef %38)
br label %40
40: ; preds = %20
%41 = load double, ptr %6, align 8
%42 = load double, ptr %3, align 8
%43 = fadd double %42, %41
store double %43, ptr %3, align 8
br label %16, !llvm.loop !6
44: ; preds = %16
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %46
46: ; preds = %44
%47 = load i32, ptr %2, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %2, align 4
br label %9, !llvm.loop !8
49: ; preds = %9
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @CalcL1Elem(double noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp78c9valn.c"
target datalayout = "e-m:e-p270: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"{\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"\09\22%d\22: [\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"\09\09[%.13f, %.13f, %.13f, %.13f, %.13f, %.13f, %.13f],\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\09],\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"}\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 double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca [6 x double], align 16
store i32 0, ptr %1, align 4
store double -2.000000e+04, ptr %4, align 8
store double 2.000000e+04, ptr %5, align 8
store double 2.250000e+02, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 4
br i1 %10, label %.lr.ph2, label %52
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %47
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load double, ptr %4, align 8
store double %14, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %5, align 8
%17 = fcmp olt double %15, %16
br i1 %17, label %.lr.ph, label %45
.lr.ph: ; preds = %11
br label %18
18: ; preds = %.lr.ph, %38
%19 = load double, ptr %3, align 8
%20 = fadd double %19, 1.826250e+04
%21 = load i32, ptr %2, align 4
%22 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0
%23 = call i32 @CalcL1Elem(double noundef %20, i32 noundef %21, ptr noundef %22)
%24 = load double, ptr %3, align 8
%25 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 0
%26 = load double, ptr %25, align 16
%27 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 1
%28 = load double, ptr %27, align 8
%29 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 2
%30 = load double, ptr %29, align 16
%31 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 3
%32 = load double, ptr %31, align 8
%33 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 4
%34 = load double, ptr %33, align 16
%35 = getelementptr inbounds [6 x double], ptr %7, i64 0, i64 5
%36 = load double, ptr %35, align 8
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %24, double noundef %26, double noundef %28, double noundef %30, double noundef %32, double noundef %34, double noundef %36)
br label %38
38: ; preds = %18
%39 = load double, ptr %6, align 8
%40 = load double, ptr %3, align 8
%41 = fadd double %40, %39
store double %41, ptr %3, align 8
%42 = load double, ptr %3, align 8
%43 = load double, ptr %5, align 8
%44 = fcmp olt double %42, %43
br i1 %44, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %45
45: ; preds = %._crit_edge, %11
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %47
47: ; preds = %45
%48 = load i32, ptr %2, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %2, align 4
%50 = load i32, ptr %2, align 4
%51 = icmp slt i32 %50, 4
br i1 %51, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %52
52: ; preds = %._crit_edge3, %0
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @CalcL1Elem(double noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpl4fj0rtj.c'
source_filename = "/tmp/tmpl4fj0rtj.c"
target datalayout = "e-m:e-p270: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 @ls_strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %22
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 -1, ptr %3, align 4
br label %22
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %14
store i32 1, ptr %3, align 4
br label %22
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcasecmp(ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %18, %17, %13, %9
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @strcasecmp(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/tmpl4fj0rtj.c"
target datalayout = "e-m:e-p270: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 @ls_strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %22
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 -1, ptr %3, align 4
br label %22
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %14
store i32 1, ptr %3, align 4
br label %22
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcasecmp(ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %18, %17, %13, %9
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @strcasecmp(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/tmp7h2e9xli.c'
source_filename = "/tmp/tmp7h2e9xli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"ntpdate -b %s > /dev/null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %2, align 8
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @system(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
ret i32 %11
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @system(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/tmp7h2e9xli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"ntpdate -b %s > /dev/null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %2, align 8
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @system(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
ret i32 %11
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @system(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/tmpmu0knx_h.c'
source_filename = "/tmp/tmpmu0knx_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR_R_BIO_LIB = dso_local global i32 0, align 4
@PKCS7_F_PKCS7_BIO_ADD_DIGEST = dso_local global i32 0, align 4
@PKCS7_R_UNKNOWN_DIGEST_TYPE = 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/tmpmu0knx_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR_R_BIO_LIB = dso_local global i32 0, align 4
@PKCS7_F_PKCS7_BIO_ADD_DIGEST = dso_local global i32 0, align 4
@PKCS7_R_UNKNOWN_DIGEST_TYPE = 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/tmp18wyq7qn.c'
source_filename = "/tmp/tmp18wyq7qn.c"
target datalayout = "e-m:e-p270: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 @strip_html(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %55, %1
%15 = load ptr, ptr %6, 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
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %58
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 60
br i1 %28, label %29, label %30
29: ; preds = %21
store i32 0, ptr %5, align 4
br label %55
30: ; preds = %21
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 62
br i1 %37, label %38, label %39
38: ; preds = %30
store i32 1, ptr %5, align 4
br label %55
39: ; preds = %30
br label %40
40: ; preds = %39
%41 = load i32, ptr %5, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %4, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %4, align 4
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %49, i64 %52
store i8 %48, ptr %53, align 1
br label %54
54: ; preds = %43, %40
br label %55
55: ; preds = %54, %38, %29
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %3, align 4
br label %14, !llvm.loop !6
58: ; preds = %14
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
store i8 0, ptr %62, align 1
%63 = load ptr, ptr %6, align 8
ret ptr %63
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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/tmp18wyq7qn.c"
target datalayout = "e-m:e-p270: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 @strip_html(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %63
.lr.ph: ; preds = %1
br label %20
20: ; preds = %.lr.ph, %54
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 60
br i1 %27, label %28, label %29
28: ; preds = %20
store i32 0, ptr %5, align 4
br label %54
29: ; preds = %20
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 62
br i1 %36, label %37, label %38
37: ; preds = %29
store i32 1, ptr %5, align 4
br label %54
38: ; preds = %29
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %53
42: ; preds = %39
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
%51 = sext i32 %49 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store i8 %47, ptr %52, align 1
br label %53
53: ; preds = %42, %39
br label %54
54: ; preds = %53, %37, %28
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %3, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = icmp ne i8 %61, 0
br i1 %62, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %63
63: ; preds = %._crit_edge, %1
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %4, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store i8 0, ptr %67, align 1
%68 = load ptr, ptr %6, align 8
ret ptr %68
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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/tmprt5b9x5w.c'
source_filename = "/tmp/tmprt5b9x5w.c"
target datalayout = "e-m:e-p270: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 @thread_get_tid() #0 {
%1 = call i64 (...) @pthread_self()
%2 = trunc i64 %1 to i32
ret i32 %2
}
declare i64 @pthread_self(...) #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/tmprt5b9x5w.c"
target datalayout = "e-m:e-p270: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 @thread_get_tid() #0 {
%1 = call i64 (...) @pthread_self()
%2 = trunc i64 %1 to i32
ret i32 %2
}
declare i64 @pthread_self(...) #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/tmpskavcimj.c'
source_filename = "/tmp/tmpskavcimj.c"
target datalayout = "e-m:e-p270: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 @f296(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 @f295(ptr noundef %3)
ret i32 %4
}
declare i32 @f295(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/tmpskavcimj.c"
target datalayout = "e-m:e-p270: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 @f296(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 @f295(ptr noundef %3)
ret i32 %4
}
declare i32 @f295(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/tmp202i_ep3.c'
source_filename = "/tmp/tmp202i_ep3.c"
target datalayout = "e-m:e-p270: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 @put_nbr_in_matrix(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %7, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %27, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %4, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %32, i64 %35
%37 = load i32, ptr %36, align 4
%38 = call i32 @min_three(i32 noundef %16, i32 noundef %26, i32 noundef %37)
%39 = add nsw i32 %38, 1
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %39, ptr %47, align 4
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 1
%59 = load ptr, ptr %58, align 8
%60 = getelementptr inbounds i32, ptr %59, i64 0
%61 = load i32, ptr %60, align 4
%62 = icmp sgt i32 %56, %61
br i1 %62, label %63, label %87
63: ; preds = %3
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = load ptr, ptr %6, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 1
%75 = load ptr, ptr %74, align 8
%76 = getelementptr inbounds i32, ptr %75, i64 0
store i32 %72, ptr %76, align 4
%77 = load i32, ptr %4, align 4
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 0
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds i32, ptr %80, i64 0
store i32 %77, ptr %81, align 4
%82 = load i32, ptr %5, align 4
%83 = load ptr, ptr %6, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 0
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 1
store i32 %82, ptr %86, align 4
br label %87
87: ; preds = %63, %3
ret void
}
declare i32 @min_three(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/tmp202i_ep3.c"
target datalayout = "e-m:e-p270: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 @put_nbr_in_matrix(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %7, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %27, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %4, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %32, i64 %35
%37 = load i32, ptr %36, align 4
%38 = call i32 @min_three(i32 noundef %16, i32 noundef %26, i32 noundef %37)
%39 = add nsw i32 %38, 1
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %39, ptr %47, align 4
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 1
%59 = load ptr, ptr %58, align 8
%60 = getelementptr inbounds i32, ptr %59, i64 0
%61 = load i32, ptr %60, align 4
%62 = icmp sgt i32 %56, %61
br i1 %62, label %63, label %87
63: ; preds = %3
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = load ptr, ptr %6, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 1
%75 = load ptr, ptr %74, align 8
%76 = getelementptr inbounds i32, ptr %75, i64 0
store i32 %72, ptr %76, align 4
%77 = load i32, ptr %4, align 4
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 0
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds i32, ptr %80, i64 0
store i32 %77, ptr %81, align 4
%82 = load i32, ptr %5, align 4
%83 = load ptr, ptr %6, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 0
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 1
store i32 %82, ptr %86, align 4
br label %87
87: ; preds = %63, %3
ret void
}
declare i32 @min_three(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/tmpaf_87lpe.c'
source_filename = "/tmp/tmpaf_87lpe.c"
target datalayout = "e-m:e-p270: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 @__android_log_error_write(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaf_87lpe.c"
target datalayout = "e-m:e-p270: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 @__android_log_error_write(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkm_5q81g.c'
source_filename = "/tmp/tmpkm_5q81g.c"
target datalayout = "e-m:e-p270: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/tmpkm_5q81g.c"
target datalayout = "e-m:e-p270: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/tmpsnwq_iu_.c'
source_filename = "/tmp/tmpsnwq_iu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prandom_int_range(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = call i32 (...) @prandom_int()
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %9, %10
%12 = load i32, ptr @RAND_MAX, align 4
%13 = sub nsw i32 %12, 0
%14 = sdiv i32 %11, %13
%15 = sitofp i32 %14 to double
store double %15, ptr %6, align 8
%16 = load double, ptr %6, align 8
%17 = load i32, ptr %5, align 4
%18 = sitofp i32 %17 to double
%19 = call double @llvm.fmuladd.f64(double %16, double %18, double 5.000000e-01)
%20 = call i32 @floor(double noundef %19)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
ret i32 %24
}
declare i32 @prandom_int(...) #1
declare i32 @floor(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsnwq_iu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prandom_int_range(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = call i32 (...) @prandom_int()
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %9, %10
%12 = load i32, ptr @RAND_MAX, align 4
%13 = sub nsw i32 %12, 0
%14 = sdiv i32 %11, %13
%15 = sitofp i32 %14 to double
store double %15, ptr %6, align 8
%16 = load double, ptr %6, align 8
%17 = load i32, ptr %5, align 4
%18 = sitofp i32 %17 to double
%19 = call double @llvm.fmuladd.f64(double %16, double %18, double 5.000000e-01)
%20 = call i32 @floor(double noundef %19)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
ret i32 %24
}
declare i32 @prandom_int(...) #1
declare i32 @floor(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9wf0kfpp.c'
source_filename = "/tmp/tmp9wf0kfpp.c"
target datalayout = "e-m:e-p270: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/tmp9wf0kfpp.c"
target datalayout = "e-m:e-p270: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/tmp1mnuz1ex.c'
source_filename = "/tmp/tmp1mnuz1ex.c"
target datalayout = "e-m:e-p270: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"Enter the name of the file to be processed: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"reverse can't open %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 @puts(ptr noundef @.str)
%8 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @gets(ptr noundef %8)
%10 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1)
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %0
%14 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %0
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr @SEEK_END, align 4
%20 = call i32 @fseek(ptr noundef %18, i64 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i64 @ftell(ptr noundef %21)
store i64 %22, ptr %6, align 8
store i64 1, ptr %5, align 8
br label %23
23: ; preds = %46, %17
%24 = load i64, ptr %5, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp sle i64 %24, %25
br i1 %26, label %27, label %49
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = load i64, ptr %5, align 8
%30 = sub nsw i64 0, %29
%31 = load i32, ptr @SEEK_END, align 4
%32 = call i32 @fseek(ptr noundef %28, i64 noundef %30, i32 noundef %31)
%33 = load ptr, ptr %4, align 8
%34 = call signext i8 @getc(ptr noundef %33)
store i8 %34, ptr %3, align 1
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 26
br i1 %37, label %38, label %45
38: ; preds = %27
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 13
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load i8, ptr %3, align 1
%44 = call i32 @putchar(i8 noundef signext %43)
br label %45
45: ; preds = %42, %38, %27
br label %46
46: ; preds = %45
%47 = load i64, ptr %5, align 8
%48 = add nsw i64 %47, 1
store i64 %48, ptr %5, align 8
br label %23, !llvm.loop !6
49: ; preds = %23
%50 = call i32 @putchar(i8 noundef signext 10)
%51 = load ptr, ptr %4, align 8
%52 = call i32 @fclose(ptr noundef %51)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
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 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @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 = { 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/tmp1mnuz1ex.c"
target datalayout = "e-m:e-p270: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"Enter the name of the file to be processed: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"reverse can't open %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 @puts(ptr noundef @.str)
%8 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @gets(ptr noundef %8)
%10 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1)
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %0
%14 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %0
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr @SEEK_END, align 4
%20 = call i32 @fseek(ptr noundef %18, i64 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i64 @ftell(ptr noundef %21)
store i64 %22, ptr %6, align 8
store i64 1, ptr %5, align 8
%23 = load i64, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = icmp sle i64 %23, %24
br i1 %25, label %.lr.ph, label %51
.lr.ph: ; preds = %17
br label %26
26: ; preds = %.lr.ph, %45
%27 = load ptr, ptr %4, align 8
%28 = load i64, ptr %5, align 8
%29 = sub nsw i64 0, %28
%30 = load i32, ptr @SEEK_END, align 4
%31 = call i32 @fseek(ptr noundef %27, i64 noundef %29, i32 noundef %30)
%32 = load ptr, ptr %4, align 8
%33 = call signext i8 @getc(ptr noundef %32)
store i8 %33, ptr %3, align 1
%34 = load i8, ptr %3, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 26
br i1 %36, label %37, label %44
37: ; preds = %26
%38 = load i8, ptr %3, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 13
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = load i8, ptr %3, align 1
%43 = call i32 @putchar(i8 noundef signext %42)
br label %44
44: ; preds = %41, %37, %26
br label %45
45: ; preds = %44
%46 = load i64, ptr %5, align 8
%47 = add nsw i64 %46, 1
store i64 %47, ptr %5, align 8
%48 = load i64, ptr %5, align 8
%49 = load i64, ptr %6, align 8
%50 = icmp sle i64 %48, %49
br i1 %50, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %17
%52 = call i32 @putchar(i8 noundef signext 10)
%53 = load ptr, ptr %4, align 8
%54 = call i32 @fclose(ptr noundef %53)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
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 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @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 = { 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/tmpxqhgf6ke.c'
source_filename = "/tmp/tmpxqhgf6ke.c"
target datalayout = "e-m:e-p270: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/tmpxqhgf6ke.c"
target datalayout = "e-m:e-p270: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/tmpdt70so6s.c'
source_filename = "/tmp/tmpdt70so6s.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i8 0, ptr %3, align 1
br label %4
4: ; preds = %11, %1
%5 = load ptr, ptr %2, align 8
%6 = call signext i8 @fgetc(ptr noundef %5)
store i8 %6, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = load i8, ptr @EOF, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %7, %9
br i1 %10, label %11, label %15
11: ; preds = %4
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @rewind(ptr noundef %17)
ret void
}
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rewind(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/tmpdt70so6s.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i8 0, ptr %3, align 1
%4 = load ptr, ptr %2, align 8
%5 = call signext i8 @fgetc(ptr noundef %4)
store i8 %5, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = load i8, ptr @EOF, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %6, %8
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call signext i8 @fgetc(ptr noundef %14)
store i8 %15, ptr %3, align 1
%16 = sext i8 %15 to i32
%17 = load i8, ptr @EOF, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %16, %18
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %20
20: ; preds = %._crit_edge, %1
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%22 = load ptr, ptr %2, align 8
%23 = call i32 @rewind(ptr noundef %22)
ret void
}
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rewind(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/tmpt0gae8e1.c'
source_filename = "/tmp/tmpt0gae8e1.c"
target datalayout = "e-m:e-p270: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/tmpt0gae8e1.c"
target datalayout = "e-m:e-p270: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/tmpj99_0m98.c'
source_filename = "/tmp/tmpj99_0m98.c"
target datalayout = "e-m:e-p270: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/tmpj99_0m98.c"
target datalayout = "e-m:e-p270: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/tmp9r2htqaj.c'
source_filename = "/tmp/tmp9r2htqaj.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %1, align 4
%2 = call i32 @divide(i32 noundef 2147483647, i32 noundef 20000)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @divide(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/tmp9r2htqaj.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %1, align 4
%2 = call i32 @divide(i32 noundef 2147483647, i32 noundef 20000)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @divide(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/tmpd6_9631f.c'
source_filename = "/tmp/tmpd6_9631f.c"
target datalayout = "e-m:e-p270: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"/sub\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/pub\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dpx_remove(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 @concat(ptr noundef %3, ptr noundef @.str)
%5 = call i32 @fifo_remove(i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @concat(ptr noundef %6, ptr noundef @.str.1)
%8 = call i32 @fifo_remove(i32 noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @srmdir(ptr noundef %9)
ret void
}
declare i32 @fifo_remove(i32 noundef) #1
declare i32 @concat(ptr noundef, ptr noundef) #1
declare i32 @srmdir(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/tmpd6_9631f.c"
target datalayout = "e-m:e-p270: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"/sub\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/pub\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dpx_remove(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 @concat(ptr noundef %3, ptr noundef @.str)
%5 = call i32 @fifo_remove(i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @concat(ptr noundef %6, ptr noundef @.str.1)
%8 = call i32 @fifo_remove(i32 noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @srmdir(ptr noundef %9)
ret void
}
declare i32 @fifo_remove(i32 noundef) #1
declare i32 @concat(ptr noundef, ptr noundef) #1
declare i32 @srmdir(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/tmpl4a_jqss.c'
source_filename = "/tmp/tmpl4a_jqss.c"
target datalayout = "e-m:e-p270: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 @cpu_jp_nn() #0 {
%1 = call i32 (...) @jp()
ret void
}
declare i32 @jp(...) #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/tmpl4a_jqss.c"
target datalayout = "e-m:e-p270: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 @cpu_jp_nn() #0 {
%1 = call i32 (...) @jp()
ret void
}
declare i32 @jp(...) #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/tmpuynu_cdm.c'
source_filename = "/tmp/tmpuynu_cdm.c"
target datalayout = "e-m:e-p270: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/tmpuynu_cdm.c"
target datalayout = "e-m:e-p270: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/tmpn9gyff38.c'
source_filename = "/tmp/tmpn9gyff38.c"
target datalayout = "e-m:e-p270: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 @meat_time_find_middle_of_month(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i64, ptr %3, align 8
%7 = call i64 @meat_time_find_begin_of_month(i64 noundef %6)
store i64 %7, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = call i64 @meat_time_offset_days(i32 noundef 14)
%10 = add nsw i64 %8, %9
%11 = load i32, ptr %4, align 4
%12 = call i64 @meat_time_offset_months(i32 noundef %11)
%13 = add nsw i64 %10, %12
ret i64 %13
}
declare i64 @meat_time_find_begin_of_month(i64 noundef) #1
declare i64 @meat_time_offset_days(i32 noundef) #1
declare i64 @meat_time_offset_months(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/tmpn9gyff38.c"
target datalayout = "e-m:e-p270: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 @meat_time_find_middle_of_month(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i64, ptr %3, align 8
%7 = call i64 @meat_time_find_begin_of_month(i64 noundef %6)
store i64 %7, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = call i64 @meat_time_offset_days(i32 noundef 14)
%10 = add nsw i64 %8, %9
%11 = load i32, ptr %4, align 4
%12 = call i64 @meat_time_offset_months(i32 noundef %11)
%13 = add nsw i64 %10, %12
ret i64 %13
}
declare i64 @meat_time_find_begin_of_month(i64 noundef) #1
declare i64 @meat_time_offset_days(i32 noundef) #1
declare i64 @meat_time_offset_months(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/tmp0_ojeoj9.c'
source_filename = "/tmp/tmp0_ojeoj9.c"
target datalayout = "e-m:e-p270: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 @qsplitC(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %17, align 4
store i32 0, ptr %14, align 4
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %16, align 4
%22 = load i32, ptr %17, align 4
%23 = load i32, ptr %14, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %29, label %25
25: ; preds = %4
%26 = load i32, ptr %17, align 4
%27 = load i32, ptr %16, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %25, %4
store i32 0, ptr %5, align 4
br label %158
30: ; preds = %25
br label %31
31: ; preds = %153, %30
%32 = load i32, ptr %14, align 4
store i32 %32, ptr %15, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %15, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = call double @llvm.fabs.f64(double %37)
store double %38, ptr %11, align 8
%39 = load i32, ptr %14, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %12, align 4
br label %41
41: ; preds = %96, %31
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %16, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %45, label %99
45: ; preds = %41
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = call double @llvm.fabs.f64(double %50)
%52 = load double, ptr %11, align 8
%53 = fcmp ogt double %51, %52
br i1 %53, label %54, label %95
54: ; preds = %45
%55 = load i32, ptr %15, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %15, align 4
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %15, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
%61 = load double, ptr %60, align 8
store double %61, ptr %10, align 8
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %15, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %13, align 4
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %12, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %67, i64 %69
%71 = load double, ptr %70, align 8
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %15, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %72, i64 %74
store double %71, ptr %75, align 8
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %12, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
%81 = load ptr, ptr %7, align 8
%82 = load i32, ptr %15, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
store i32 %80, ptr %84, align 4
%85 = load double, ptr %10, align 8
%86 = load ptr, ptr %6, align 8
%87 = load i32, ptr %12, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %86, i64 %88
store double %85, ptr %89, align 8
%90 = load i32, ptr %13, align 4
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr %12, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
store i32 %90, ptr %94, align 4
br label %95
95: ; preds = %54, %45
br label %96
96: ; preds = %95
%97 = load i32, ptr %12, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %12, align 4
br label %41, !llvm.loop !6
99: ; preds = %41
%100 = load ptr, ptr %6, align 8
%101 = load i32, ptr %15, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %100, i64 %102
%104 = load double, ptr %103, align 8
store double %104, ptr %10, align 8
%105 = load ptr, ptr %6, align 8
%106 = load i32, ptr %14, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %105, i64 %107
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %6, align 8
%111 = load i32, ptr %15, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
store double %109, ptr %113, align 8
%114 = load double, ptr %10, align 8
%115 = load ptr, ptr %6, align 8
%116 = load i32, ptr %14, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
store double %114, ptr %118, align 8
%119 = load ptr, ptr %7, align 8
%120 = load i32, ptr %15, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
store i32 %123, ptr %13, align 4
%124 = load ptr, ptr %7, align 8
%125 = load i32, ptr %14, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %124, i64 %126
%128 = load i32, ptr %127, align 4
%129 = load ptr, ptr %7, align 8
%130 = load i32, ptr %15, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
store i32 %128, ptr %132, align 4
%133 = load i32, ptr %13, align 4
%134 = load ptr, ptr %7, align 8
%135 = load i32, ptr %14, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
store i32 %133, ptr %137, align 4
%138 = load i32, ptr %15, align 4
%139 = load i32, ptr %17, align 4
%140 = icmp eq i32 %138, %139
br i1 %140, label %141, label %142
141: ; preds = %99
br label %157
142: ; preds = %99
%143 = load i32, ptr %15, align 4
%144 = load i32, ptr %17, align 4
%145 = icmp sgt i32 %143, %144
br i1 %145, label %146, label %149
146: ; preds = %142
%147 = load i32, ptr %15, align 4
%148 = sub nsw i32 %147, 1
store i32 %148, ptr %16, align 4
br label %152
149: ; preds = %142
%150 = load i32, ptr %15, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %14, align 4
br label %152
152: ; preds = %149, %146
br label %153
153: ; preds = %152
%154 = load i32, ptr %15, align 4
%155 = load i32, ptr %17, align 4
%156 = icmp ne i32 %154, %155
br i1 %156, label %31, label %157, !llvm.loop !8
157: ; preds = %153, %141
store i32 0, ptr %5, align 4
br label %158
158: ; preds = %157, %29
%159 = load i32, ptr %5, align 4
ret i32 %159
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0_ojeoj9.c"
target datalayout = "e-m:e-p270: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 @qsplitC(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %17, align 4
store i32 0, ptr %14, align 4
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %16, align 4
%22 = load i32, ptr %17, align 4
%23 = load i32, ptr %14, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %29, label %25
25: ; preds = %4
%26 = load i32, ptr %17, align 4
%27 = load i32, ptr %16, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %25, %4
store i32 0, ptr %5, align 4
br label %160
30: ; preds = %25
br label %31
31: ; preds = %155, %30
%32 = load i32, ptr %14, align 4
store i32 %32, ptr %15, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %15, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = call double @llvm.fabs.f64(double %37)
store double %38, ptr %11, align 8
%39 = load i32, ptr %14, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %12, align 4
%41 = load i32, ptr %12, align 4
%42 = load i32, ptr %16, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %.lr.ph, label %101
.lr.ph: ; preds = %31
br label %44
44: ; preds = %.lr.ph, %95
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %12, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = call double @llvm.fabs.f64(double %49)
%51 = load double, ptr %11, align 8
%52 = fcmp ogt double %50, %51
br i1 %52, label %53, label %94
53: ; preds = %44
%54 = load i32, ptr %15, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %15, align 4
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %15, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
store double %60, ptr %10, align 8
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %15, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
store i32 %65, ptr %13, align 4
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %12, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %66, i64 %68
%70 = load double, ptr %69, align 8
%71 = load ptr, ptr %6, align 8
%72 = load i32, ptr %15, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
store double %70, ptr %74, align 8
%75 = load ptr, ptr %7, align 8
%76 = load i32, ptr %12, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %75, i64 %77
%79 = load i32, ptr %78, align 4
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %15, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
store i32 %79, ptr %83, align 4
%84 = load double, ptr %10, align 8
%85 = load ptr, ptr %6, align 8
%86 = load i32, ptr %12, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
store double %84, ptr %88, align 8
%89 = load i32, ptr %13, align 4
%90 = load ptr, ptr %7, align 8
%91 = load i32, ptr %12, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %90, i64 %92
store i32 %89, ptr %93, align 4
br label %94
94: ; preds = %53, %44
br label %95
95: ; preds = %94
%96 = load i32, ptr %12, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %12, align 4
%98 = load i32, ptr %12, align 4
%99 = load i32, ptr %16, align 4
%100 = icmp sle i32 %98, %99
br i1 %100, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %95
br label %101
101: ; preds = %._crit_edge, %31
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %15, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %102, i64 %104
%106 = load double, ptr %105, align 8
store double %106, ptr %10, align 8
%107 = load ptr, ptr %6, align 8
%108 = load i32, ptr %14, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %107, i64 %109
%111 = load double, ptr %110, align 8
%112 = load ptr, ptr %6, align 8
%113 = load i32, ptr %15, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
store double %111, ptr %115, align 8
%116 = load double, ptr %10, align 8
%117 = load ptr, ptr %6, align 8
%118 = load i32, ptr %14, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %117, i64 %119
store double %116, ptr %120, align 8
%121 = load ptr, ptr %7, align 8
%122 = load i32, ptr %15, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i32, ptr %121, i64 %123
%125 = load i32, ptr %124, align 4
store i32 %125, ptr %13, align 4
%126 = load ptr, ptr %7, align 8
%127 = load i32, ptr %14, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, ptr %126, i64 %128
%130 = load i32, ptr %129, align 4
%131 = load ptr, ptr %7, align 8
%132 = load i32, ptr %15, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, ptr %131, i64 %133
store i32 %130, ptr %134, align 4
%135 = load i32, ptr %13, align 4
%136 = load ptr, ptr %7, align 8
%137 = load i32, ptr %14, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i32, ptr %136, i64 %138
store i32 %135, ptr %139, align 4
%140 = load i32, ptr %15, align 4
%141 = load i32, ptr %17, align 4
%142 = icmp eq i32 %140, %141
br i1 %142, label %143, label %144
143: ; preds = %101
br label %159
144: ; preds = %101
%145 = load i32, ptr %15, align 4
%146 = load i32, ptr %17, align 4
%147 = icmp sgt i32 %145, %146
br i1 %147, label %148, label %151
148: ; preds = %144
%149 = load i32, ptr %15, align 4
%150 = sub nsw i32 %149, 1
store i32 %150, ptr %16, align 4
br label %154
151: ; preds = %144
%152 = load i32, ptr %15, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %14, align 4
br label %154
154: ; preds = %151, %148
br label %155
155: ; preds = %154
%156 = load i32, ptr %15, align 4
%157 = load i32, ptr %17, align 4
%158 = icmp ne i32 %156, %157
br i1 %158, label %31, label %.loopexit, !llvm.loop !8
.loopexit: ; preds = %155
br label %159
159: ; preds = %.loopexit, %143
store i32 0, ptr %5, align 4
br label %160
160: ; preds = %159, %29
%161 = load i32, ptr %5, align 4
ret i32 %161
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp67joykht.c'
source_filename = "/tmp/tmp67joykht.c"
target datalayout = "e-m:e-p270: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/tmp67joykht.c"
target datalayout = "e-m:e-p270: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/tmp7knr21rp.c'
source_filename = "/tmp/tmp7knr21rp.c"
target datalayout = "e-m:e-p270: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 @test_ipoint_1(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 @RVS_Ipoint(i32 noundef %3)
ret void
}
declare i32 @RVS_Ipoint(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/tmp7knr21rp.c"
target datalayout = "e-m:e-p270: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 @test_ipoint_1(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 @RVS_Ipoint(i32 noundef %3)
ret void
}
declare i32 @RVS_Ipoint(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/tmp1slgmzcn.c'
source_filename = "/tmp/tmp1slgmzcn.c"
target datalayout = "e-m:e-p270: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 @backtrace_handle_signal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @display_backtrace()
ret void
}
declare i32 @display_backtrace(...) #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/tmp1slgmzcn.c"
target datalayout = "e-m:e-p270: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 @backtrace_handle_signal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @display_backtrace()
ret void
}
declare i32 @display_backtrace(...) #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/tmp2vaygeh7.c'
source_filename = "/tmp/tmp2vaygeh7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @alloca(i32 noundef 4)
store ptr %5, ptr %2, align 8
%6 = call ptr @alloca(i32 noundef 4)
store ptr %6, ptr %3, align 8
%7 = call ptr @alloca(i32 noundef 4)
store ptr %7, ptr %4, align 8
%8 = call i32 (...) @__VERIFIER_nondet_int()
%9 = load ptr, ptr %2, align 8
store i32 %8, ptr %9, align 4
%10 = call i32 (...) @__VERIFIER_nondet_int()
%11 = load ptr, ptr %3, align 8
store i32 %10, ptr %11, align 4
br label %12
12: ; preds = %73, %0
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp sgt i32 %18, 0
br label %20
20: ; preds = %16, %12
%21 = phi i1 [ false, %12 ], [ %19, %16 ]
br i1 %21, label %22, label %74
22: ; preds = %20
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %25, align 4
%27 = icmp sgt i32 %24, %26
br i1 %27, label %28, label %32
28: ; preds = %22
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %4, align 8
store i32 %30, ptr %31, align 4
br label %36
32: ; preds = %22
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %4, align 8
store i32 %34, ptr %35, align 4
br label %36
36: ; preds = %32, %28
%37 = call i32 (...) @__VERIFIER_nondet_int()
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %56
39: ; preds = %36
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %41, %43
%45 = load ptr, ptr %3, align 8
store i32 %44, ptr %45, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %46, align 4
%48 = sub nsw i32 %47, 1
%49 = load ptr, ptr %2, align 8
store i32 %48, ptr %49, align 4
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %50, align 4
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %52, align 4
%54 = add nsw i32 %51, %53
%55 = load ptr, ptr %4, align 8
store i32 %54, ptr %55, align 4
br label %73
56: ; preds = %36
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %57, align 4
%59 = load ptr, ptr %2, align 8
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %58, %60
%62 = load ptr, ptr %2, align 8
store i32 %61, ptr %62, align 4
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %63, align 4
%65 = sub nsw i32 %64, 1
%66 = load ptr, ptr %3, align 8
store i32 %65, ptr %66, align 4
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %69, align 4
%71 = add nsw i32 %68, %70
%72 = load ptr, ptr %4, align 8
store i32 %71, ptr %72, align 4
br label %73
73: ; preds = %56, %39
br label %12, !llvm.loop !6
74: ; preds = %20
%75 = load i32, ptr %1, align 4
ret i32 %75
}
declare ptr @alloca(i32 noundef) #1
declare i32 @__VERIFIER_nondet_int(...) #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/tmp2vaygeh7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @alloca(i32 noundef 4)
store ptr %5, ptr %2, align 8
%6 = call ptr @alloca(i32 noundef 4)
store ptr %6, ptr %3, align 8
%7 = call ptr @alloca(i32 noundef 4)
store ptr %7, ptr %4, align 8
%8 = call i32 (...) @__VERIFIER_nondet_int()
%9 = load ptr, ptr %2, align 8
store i32 %8, ptr %9, align 4
%10 = call i32 (...) @__VERIFIER_nondet_int()
%11 = load ptr, ptr %3, align 8
store i32 %10, ptr %11, align 4
br label %12
12: ; preds = %73, %0
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp sgt i32 %18, 0
br label %20
20: ; preds = %16, %12
%21 = phi i1 [ false, %12 ], [ %19, %16 ]
br i1 %21, label %22, label %74
22: ; preds = %20
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %25, align 4
%27 = icmp sgt i32 %24, %26
br i1 %27, label %28, label %32
28: ; preds = %22
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %4, align 8
store i32 %30, ptr %31, align 4
br label %36
32: ; preds = %22
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %4, align 8
store i32 %34, ptr %35, align 4
br label %36
36: ; preds = %32, %28
%37 = call i32 (...) @__VERIFIER_nondet_int()
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %56
39: ; preds = %36
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %41, %43
%45 = load ptr, ptr %3, align 8
store i32 %44, ptr %45, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %46, align 4
%48 = sub nsw i32 %47, 1
%49 = load ptr, ptr %2, align 8
store i32 %48, ptr %49, align 4
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %50, align 4
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %52, align 4
%54 = add nsw i32 %51, %53
%55 = load ptr, ptr %4, align 8
store i32 %54, ptr %55, align 4
br label %73
56: ; preds = %36
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %57, align 4
%59 = load ptr, ptr %2, align 8
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %58, %60
%62 = load ptr, ptr %2, align 8
store i32 %61, ptr %62, align 4
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %63, align 4
%65 = sub nsw i32 %64, 1
%66 = load ptr, ptr %3, align 8
store i32 %65, ptr %66, align 4
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %69, align 4
%71 = add nsw i32 %68, %70
%72 = load ptr, ptr %4, align 8
store i32 %71, ptr %72, align 4
br label %73
73: ; preds = %56, %39
br label %12, !llvm.loop !6
74: ; preds = %20
%75 = load i32, ptr %1, align 4
ret i32 %75
}
declare ptr @alloca(i32 noundef) #1
declare i32 @__VERIFIER_nondet_int(...) #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/tmp4le0zj4t.c'
source_filename = "/tmp/tmp4le0zj4t.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"pi=%1.10f\09ch=%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call i32 @atan(i32 noundef 1)
%5 = mul nsw i32 4, %4
%6 = sitofp i32 %5 to double
store double %6, ptr %2, align 8
%7 = load i8, ptr %2, align 8
store i8 %7, ptr %3, align 1
%8 = load double, ptr %2, align 8
%9 = load i8, ptr %3, align 1
%10 = call i32 @printf(ptr noundef @.str, double noundef %8, i8 noundef signext %9)
ret i32 0
}
declare i32 @atan(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4le0zj4t.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"pi=%1.10f\09ch=%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call i32 @atan(i32 noundef 1)
%5 = mul nsw i32 4, %4
%6 = sitofp i32 %5 to double
store double %6, ptr %2, align 8
%7 = load i8, ptr %2, align 8
store i8 %7, ptr %3, align 1
%8 = load double, ptr %2, align 8
%9 = load i8, ptr %3, align 1
%10 = call i32 @printf(ptr noundef @.str, double noundef %8, i8 noundef signext %9)
ret i32 0
}
declare i32 @atan(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpww__7b8o.c'
source_filename = "/tmp/tmpww__7b8o.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"P2\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%d %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %5, align 8
store i32 128, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.2, i32 noundef %14, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, i32 noundef 255)
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %45, %2
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %48
23: ; preds = %19
store i32 0, ptr %8, align 4
br label %24
24: ; preds = %41, %23
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %44
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = mul nsw i32 %31, %32
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %30, i64 %36
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i32
%40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.3, i32 noundef %39)
br label %41
41: ; preds = %28
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
br label %24, !llvm.loop !6
44: ; preds = %24
br label %45
45: ; preds = %44
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %19, !llvm.loop !8
48: ; preds = %19
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpww__7b8o.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"P2\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%d %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %5, align 8
store i32 128, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.2, i32 noundef %14, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, i32 noundef 255)
store i32 0, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph2, label %52
.lr.ph2: ; preds = %2
br label %22
22: ; preds = %.lr.ph2, %46
store i32 0, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %45
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %39
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %6, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %28, i64 %34
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
%38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.3, i32 noundef %37)
br label %39
39: ; preds = %26
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %22
br label %46
46: ; preds = %45
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %2
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcyyyd5ww.c'
source_filename = "/tmp/tmpcyyyd5ww.c"
target datalayout = "e-m:e-p270: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 [13 x i8] c"vc[%d]= %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 [5 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %14, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
ret i32 0
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcyyyd5ww.c"
target datalayout = "e-m:e-p270: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 [13 x i8] c"vc[%d]= %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 [5 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %13
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %11)
br label %13
13: ; preds = %6
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 5
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
ret i32 0
}
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"}
|
; ModuleID = '/tmp/tmp3q3gspe0.c'
source_filename = "/tmp/tmp3q3gspe0.c"
target datalayout = "e-m:e-p270: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 @tinysh_char_out(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = call i32 @putchar(i32 noundef %4)
ret void
}
declare i32 @putchar(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/tmp3q3gspe0.c"
target datalayout = "e-m:e-p270: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 @tinysh_char_out(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = call i32 @putchar(i32 noundef %4)
ret void
}
declare i32 @putchar(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/tmprgbvcp4_.c'
source_filename = "/tmp/tmprgbvcp4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@_PC_PATH_MAX = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"pathconf:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @apathmax(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
store i64 0, ptr @errno, align 8
%5 = load i32, ptr @_PC_PATH_MAX, align 4
%6 = call i64 @pathconf(ptr noundef @.str, i32 noundef %5)
%7 = load ptr, ptr %4, align 8
store i64 %6, ptr %7, align 8
%8 = icmp eq i64 %6, -1
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load i64, ptr @errno, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i64, ptr @BUFSIZ, align 8
%14 = load ptr, ptr %4, align 8
store i64 %13, ptr %14, align 8
br label %17
15: ; preds = %9
%16 = call i32 @eprintf(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %12
br label %18
18: ; preds = %17, %2
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %19, align 8
%21 = call ptr @emalloc(i64 noundef %20)
%22 = load ptr, ptr %3, align 8
store ptr %21, ptr %22, align 8
ret void
}
declare i64 @pathconf(ptr noundef, i32 noundef) #1
declare i32 @eprintf(ptr noundef) #1
declare ptr @emalloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprgbvcp4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@_PC_PATH_MAX = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"pathconf:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @apathmax(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
store i64 0, ptr @errno, align 8
%5 = load i32, ptr @_PC_PATH_MAX, align 4
%6 = call i64 @pathconf(ptr noundef @.str, i32 noundef %5)
%7 = load ptr, ptr %4, align 8
store i64 %6, ptr %7, align 8
%8 = icmp eq i64 %6, -1
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load i64, ptr @errno, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i64, ptr @BUFSIZ, align 8
%14 = load ptr, ptr %4, align 8
store i64 %13, ptr %14, align 8
br label %17
15: ; preds = %9
%16 = call i32 @eprintf(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %12
br label %18
18: ; preds = %17, %2
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %19, align 8
%21 = call ptr @emalloc(i64 noundef %20)
%22 = load ptr, ptr %3, align 8
store ptr %21, ptr %22, align 8
ret void
}
declare i64 @pathconf(ptr noundef, i32 noundef) #1
declare i32 @eprintf(ptr noundef) #1
declare ptr @emalloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoat78pu9.c'
source_filename = "/tmp/tmpoat78pu9.c"
target datalayout = "e-m:e-p270: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/tmpoat78pu9.c"
target datalayout = "e-m:e-p270: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/tmp5m8wf3ss.c'
source_filename = "/tmp/tmp5m8wf3ss.c"
target datalayout = "e-m:e-p270: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 @die(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 @perror(ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(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/tmp5m8wf3ss.c"
target datalayout = "e-m:e-p270: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 @die(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 @perror(ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(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/tmp9ehmd5wy.c'
source_filename = "/tmp/tmp9ehmd5wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"xcbm5x0.exe -sounddev dummy\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 @system(ptr noundef @.str)
ret i32 %2
}
declare i32 @system(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/tmp9ehmd5wy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"xcbm5x0.exe -sounddev dummy\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 @system(ptr noundef @.str)
ret i32 %2
}
declare i32 @system(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/tmpnua9o2wv.c'
source_filename = "/tmp/tmpnua9o2wv.c"
target datalayout = "e-m:e-p270: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/tmpnua9o2wv.c"
target datalayout = "e-m:e-p270: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/tmpkzz3bliq.c'
source_filename = "/tmp/tmpkzz3bliq.c"
target datalayout = "e-m:e-p270: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 @CL_UserInputFrame() #0 {
%1 = call i32 (...) @IN_Frame()
%2 = call i32 (...) @Sys_SendKeyEvents()
%3 = call i32 (...) @IN_Commands()
%4 = call i32 (...) @Cbuf_Execute()
ret void
}
declare i32 @IN_Frame(...) #1
declare i32 @Sys_SendKeyEvents(...) #1
declare i32 @IN_Commands(...) #1
declare i32 @Cbuf_Execute(...) #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/tmpkzz3bliq.c"
target datalayout = "e-m:e-p270: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 @CL_UserInputFrame() #0 {
%1 = call i32 (...) @IN_Frame()
%2 = call i32 (...) @Sys_SendKeyEvents()
%3 = call i32 (...) @IN_Commands()
%4 = call i32 (...) @Cbuf_Execute()
ret void
}
declare i32 @IN_Frame(...) #1
declare i32 @Sys_SendKeyEvents(...) #1
declare i32 @IN_Commands(...) #1
declare i32 @Cbuf_Execute(...) #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/tmpcr_oau2_.c'
source_filename = "/tmp/tmpcr_oau2_.c"
target datalayout = "e-m:e-p270: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 @CalcRealLength(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %5, align 8
br label %8
8: ; preds = %21, %1
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %25
13: ; preds = %8
%14 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @ReadChar(ptr noundef %5, ptr noundef %14)
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %16, 2
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %18, %13
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %3, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @ReadChar(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/tmpcr_oau2_.c"
target datalayout = "e-m:e-p270: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 @CalcRealLength(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %20
%13 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @ReadChar(ptr noundef %5, ptr noundef %13)
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %17, %12
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %3, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %28
28: ; preds = %._crit_edge, %1
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @ReadChar(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/tmpgjqem44j.c'
source_filename = "/tmp/tmpgjqem44j.c"
target datalayout = "e-m:e-p270: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 i32 @foo() #0 {
%1 = call i32 (...) @myfunc()
ret i32 %1
}
declare i32 @myfunc(...) #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/tmpgjqem44j.c"
target datalayout = "e-m:e-p270: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 i32 @foo() #0 {
%1 = call i32 (...) @myfunc()
ret i32 %1
}
declare i32 @myfunc(...) #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/tmpzlm7gq8a.c'
source_filename = "/tmp/tmpzlm7gq8a.c"
target datalayout = "e-m:e-p270: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 @test_m_prefetch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
call void @_m_prefetch(ptr noundef %3)
ret void
}
declare void @_m_prefetch(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/tmpzlm7gq8a.c"
target datalayout = "e-m:e-p270: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 @test_m_prefetch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
call void @_m_prefetch(ptr noundef %3)
ret void
}
declare void @_m_prefetch(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/tmpwao0v2yi.c'
source_filename = "/tmp/tmpwao0v2yi.c"
target datalayout = "e-m:e-p270: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"scale: %10.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t4_write(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @t4_list(ptr noundef %9, ptr noundef %10)
%12 = load float, ptr %6, align 4
%13 = fcmp une float %12, 0.000000e+00
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load float, ptr %6, align 4
%17 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str, float noundef %16)
br label %18
18: ; preds = %14, %3
ret void
}
declare i32 @t4_list(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwao0v2yi.c"
target datalayout = "e-m:e-p270: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"scale: %10.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t4_write(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @t4_list(ptr noundef %9, ptr noundef %10)
%12 = load float, ptr %6, align 4
%13 = fcmp une float %12, 0.000000e+00
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load float, ptr %6, align 4
%17 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str, float noundef %16)
br label %18
18: ; preds = %14, %3
ret void
}
declare i32 @t4_list(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, 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"}
|
; ModuleID = '/tmp/tmp7pnxkq10.c'
source_filename = "/tmp/tmp7pnxkq10.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"\0AInitialized sampler and monodromy permutations ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"... initializing the grid in standard double precision ...\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Trace grid diagnostics : \0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c" largest error of the samples : %.3e\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c" smallest distance between samples : %.3e\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"... starting loop #%d in standard double precision ...\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"the permutation at step %d:\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"number of irreducible factors : %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c" %d :\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c" : %.3e\0A\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c"Found factorization using %d loops.\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c"Failed to factor using %d loops.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @standard_monodromy_breakup(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @initialize_sampler(i32 noundef %23)
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %7, align 4
%28 = call i32 @initialize_monodromy(i32 noundef %25, i32 noundef %26, i32 noundef %27)
store i32 %28, ptr %9, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%30 = call i32 (...) @store_solutions()
store i32 %30, ptr %9, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %10, align 4
br label %32
32: ; preds = %44, %4
%33 = load i32, ptr %10, align 4
%34 = icmp sle i32 %33, 2
br i1 %34, label %35, label %47
35: ; preds = %32
%36 = load i32, ptr %10, align 4
%37 = call i32 @set_standard_trace_slice(i32 noundef %36)
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %6, align 4
%39 = call i32 @store_standard_gammas(i32 noundef %38)
store i32 %39, ptr %9, align 4
%40 = call i32 (...) @track_paths()
store i32 %40, ptr %9, align 4
%41 = call i32 (...) @store_solutions()
store i32 %41, ptr %9, align 4
%42 = call i32 (...) @restore_solutions()
store i32 %42, ptr %9, align 4
%43 = call i32 (...) @swap_slices()
store i32 %43, ptr %9, align 4
br label %44
44: ; preds = %35
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
br label %32, !llvm.loop !6
47: ; preds = %32
%48 = call i32 @trace_grid_diagnostics(ptr noundef %13, ptr noundef %14)
store i32 %48, ptr %9, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%50 = load double, ptr %13, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %50)
%52 = load double, ptr %14, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %52)
store i32 0, ptr %12, align 4
store i32 1, ptr %10, align 4
br label %54
54: ; preds = %143, %47
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp sle i32 %55, %56
br i1 %57, label %58, label %61
58: ; preds = %54
%59 = load i32, ptr %12, align 4
%60 = icmp eq i32 %59, 0
br label %61
61: ; preds = %58, %54
%62 = phi i1 [ false, %54 ], [ %60, %58 ]
br i1 %62, label %63, label %146
63: ; preds = %61
%64 = load i32, ptr %10, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %64)
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %6, align 4
%68 = call i32 @new_slices(i32 noundef %66, i32 noundef %67)
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %6, align 4
%70 = call i32 @store_standard_gammas(i32 noundef %69)
store i32 %70, ptr %9, align 4
%71 = call i32 (...) @track_paths()
store i32 %71, ptr %9, align 4
%72 = call i32 (...) @solcon_clear_standard_solutions()
store i32 %72, ptr %9, align 4
%73 = load i32, ptr %6, align 4
%74 = call i32 @store_standard_gammas(i32 noundef %73)
store i32 %74, ptr %9, align 4
%75 = call i32 (...) @track_paths()
store i32 %75, ptr %9, align 4
%76 = call i32 (...) @store_solutions()
store i32 %76, ptr %9, align 4
%77 = load i32, ptr %8, align 4
%78 = zext i32 %77 to i64
%79 = call ptr @llvm.stacksave()
store ptr %79, ptr %15, align 8
%80 = alloca i32, i64 %78, align 16
store i64 %78, ptr %16, align 8
%81 = load i32, ptr %8, align 4
%82 = call i32 @permutation_after_loop(i32 noundef %81, ptr noundef %80)
store i32 %82, ptr %9, align 4
%83 = load i32, ptr %10, align 4
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %83)
store i32 0, ptr %11, align 4
br label %85
85: ; preds = %95, %63
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %98
89: ; preds = %85
%90 = load i32, ptr %11, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %80, i64 %91
%93 = load i32, ptr %92, align 4
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %93)
br label %95
95: ; preds = %89
%96 = load i32, ptr %11, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %11, align 4
br label %85, !llvm.loop !8
98: ; preds = %85
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%100 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %100)
%101 = load i32, ptr %8, align 4
%102 = call i32 @monodromy_permutation(i32 noundef %101, ptr noundef %12)
store i32 %102, ptr %9, align 4
%103 = load i32, ptr %8, align 4
%104 = zext i32 %103 to i64
%105 = call ptr @llvm.stacksave()
store ptr %105, ptr %20, align 8
%106 = alloca i32, i64 %104, align 16
store i64 %104, ptr %21, align 8
%107 = call i32 @number_of_irreducible_factors(ptr noundef %17)
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %17, align 4
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %108)
store i32 1, ptr %11, align 4
br label %110
110: ; preds = %137, %98
%111 = load i32, ptr %11, align 4
%112 = load i32, ptr %17, align 4
%113 = icmp sle i32 %111, %112
br i1 %113, label %114, label %140
114: ; preds = %110
%115 = load i32, ptr %11, align 4
%116 = call i32 @witness_points_of_irreducible_factor(i32 noundef %115, ptr noundef %18, ptr noundef %106)
store i32 %116, ptr %9, align 4
%117 = load i32, ptr %11, align 4
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %117)
store i32 0, ptr %19, align 4
br label %119
119: ; preds = %129, %114
%120 = load i32, ptr %19, align 4
%121 = load i32, ptr %18, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %123, label %132
123: ; preds = %119
%124 = load i32, ptr %19, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %106, i64 %125
%127 = load i32, ptr %126, align 4
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %127)
br label %129
129: ; preds = %123
%130 = load i32, ptr %19, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %19, align 4
br label %119, !llvm.loop !9
132: ; preds = %119
%133 = load i32, ptr %18, align 4
%134 = call i32 @trace_sum_difference(i32 noundef %133, ptr noundef %106, ptr noundef %22)
store i32 %134, ptr %9, align 4
%135 = load double, ptr %22, align 8
%136 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %135)
br label %137
137: ; preds = %132
%138 = load i32, ptr %11, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %11, align 4
br label %110, !llvm.loop !10
140: ; preds = %110
%141 = load ptr, ptr %20, align 8
call void @llvm.stackrestore(ptr %141)
%142 = call i32 (...) @restore_solutions()
store i32 %142, ptr %9, align 4
br label %143
143: ; preds = %140
%144 = load i32, ptr %10, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %10, align 4
br label %54, !llvm.loop !11
146: ; preds = %61
%147 = load i32, ptr %12, align 4
%148 = icmp eq i32 %147, 1
br i1 %148, label %149, label %153
149: ; preds = %146
%150 = load i32, ptr %10, align 4
%151 = sub nsw i32 %150, 1
%152 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %151)
br label %157
153: ; preds = %146
%154 = load i32, ptr %10, align 4
%155 = sub nsw i32 %154, 1
%156 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %155)
br label %157
157: ; preds = %153, %149
%158 = load i32, ptr %9, align 4
ret i32 %158
}
declare i32 @initialize_sampler(i32 noundef) #1
declare i32 @initialize_monodromy(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @store_solutions(...) #1
declare i32 @set_standard_trace_slice(i32 noundef) #1
declare i32 @store_standard_gammas(i32 noundef) #1
declare i32 @track_paths(...) #1
declare i32 @restore_solutions(...) #1
declare i32 @swap_slices(...) #1
declare i32 @trace_grid_diagnostics(ptr noundef, ptr noundef) #1
declare i32 @new_slices(i32 noundef, i32 noundef) #1
declare i32 @solcon_clear_standard_solutions(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @permutation_after_loop(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @monodromy_permutation(i32 noundef, ptr noundef) #1
declare i32 @number_of_irreducible_factors(ptr noundef) #1
declare i32 @witness_points_of_irreducible_factor(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @trace_sum_difference(i32 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 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7pnxkq10.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"\0AInitialized sampler and monodromy permutations ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"... initializing the grid in standard double precision ...\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Trace grid diagnostics : \0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c" largest error of the samples : %.3e\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c" smallest distance between samples : %.3e\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"... starting loop #%d in standard double precision ...\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"the permutation at step %d:\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"number of irreducible factors : %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c" %d :\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c" : %.3e\0A\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c"Found factorization using %d loops.\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c"Failed to factor using %d loops.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @standard_monodromy_breakup(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @initialize_sampler(i32 noundef %23)
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %7, align 4
%28 = call i32 @initialize_monodromy(i32 noundef %25, i32 noundef %26, i32 noundef %27)
store i32 %28, ptr %9, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%30 = call i32 (...) @store_solutions()
store i32 %30, ptr %9, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp sle i32 %32, 2
br i1 %33, label %.lr.ph, label %48
.lr.ph: ; preds = %4
br label %34
34: ; preds = %.lr.ph, %43
%35 = load i32, ptr %10, align 4
%36 = call i32 @set_standard_trace_slice(i32 noundef %35)
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %6, align 4
%38 = call i32 @store_standard_gammas(i32 noundef %37)
store i32 %38, ptr %9, align 4
%39 = call i32 (...) @track_paths()
store i32 %39, ptr %9, align 4
%40 = call i32 (...) @store_solutions()
store i32 %40, ptr %9, align 4
%41 = call i32 (...) @restore_solutions()
store i32 %41, ptr %9, align 4
%42 = call i32 (...) @swap_slices()
store i32 %42, ptr %9, align 4
br label %43
43: ; preds = %34
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp sle i32 %46, 2
br i1 %47, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %48
48: ; preds = %._crit_edge, %4
%49 = call i32 @trace_grid_diagnostics(ptr noundef %13, ptr noundef %14)
store i32 %49, ptr %9, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%51 = load double, ptr %13, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %51)
%53 = load double, ptr %14, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %53)
store i32 0, ptr %12, align 4
store i32 1, ptr %10, align 4
br label %55
55: ; preds = %150, %48
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %5, align 4
%58 = icmp sle i32 %56, %57
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = load i32, ptr %12, align 4
%61 = icmp eq i32 %60, 0
br label %62
62: ; preds = %59, %55
%63 = phi i1 [ false, %55 ], [ %61, %59 ]
br i1 %63, label %64, label %153
64: ; preds = %62
%65 = load i32, ptr %10, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %65)
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %6, align 4
%69 = call i32 @new_slices(i32 noundef %67, i32 noundef %68)
store i32 %69, ptr %9, align 4
%70 = load i32, ptr %6, align 4
%71 = call i32 @store_standard_gammas(i32 noundef %70)
store i32 %71, ptr %9, align 4
%72 = call i32 (...) @track_paths()
store i32 %72, ptr %9, align 4
%73 = call i32 (...) @solcon_clear_standard_solutions()
store i32 %73, ptr %9, align 4
%74 = load i32, ptr %6, align 4
%75 = call i32 @store_standard_gammas(i32 noundef %74)
store i32 %75, ptr %9, align 4
%76 = call i32 (...) @track_paths()
store i32 %76, ptr %9, align 4
%77 = call i32 (...) @store_solutions()
store i32 %77, ptr %9, align 4
%78 = load i32, ptr %8, align 4
%79 = zext i32 %78 to i64
%80 = call ptr @llvm.stacksave()
store ptr %80, ptr %15, align 8
%81 = alloca i32, i64 %79, align 16
store i64 %79, ptr %16, align 8
%82 = load i32, ptr %8, align 4
%83 = call i32 @permutation_after_loop(i32 noundef %82, ptr noundef %81)
store i32 %83, ptr %9, align 4
%84 = load i32, ptr %10, align 4
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %84)
store i32 0, ptr %11, align 4
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %.lr.ph2, label %101
.lr.ph2: ; preds = %64
br label %89
89: ; preds = %.lr.ph2, %95
%90 = load i32, ptr %11, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %81, i64 %91
%93 = load i32, ptr %92, align 4
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %93)
br label %95
95: ; preds = %89
%96 = load i32, ptr %11, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %11, align 4
%98 = load i32, ptr %11, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %89, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %101
101: ; preds = %._crit_edge3, %64
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%103 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %103)
%104 = load i32, ptr %8, align 4
%105 = call i32 @monodromy_permutation(i32 noundef %104, ptr noundef %12)
store i32 %105, ptr %9, align 4
%106 = load i32, ptr %8, align 4
%107 = zext i32 %106 to i64
%108 = call ptr @llvm.stacksave()
store ptr %108, ptr %20, align 8
%109 = alloca i32, i64 %107, align 16
store i64 %107, ptr %21, align 8
%110 = call i32 @number_of_irreducible_factors(ptr noundef %17)
store i32 %110, ptr %9, align 4
%111 = load i32, ptr %17, align 4
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %111)
store i32 1, ptr %11, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %17, align 4
%115 = icmp sle i32 %113, %114
br i1 %115, label %.lr.ph8, label %147
.lr.ph8: ; preds = %101
br label %116
116: ; preds = %.lr.ph8, %141
%117 = load i32, ptr %11, align 4
%118 = call i32 @witness_points_of_irreducible_factor(i32 noundef %117, ptr noundef %18, ptr noundef %109)
store i32 %118, ptr %9, align 4
%119 = load i32, ptr %11, align 4
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %119)
store i32 0, ptr %19, align 4
%121 = load i32, ptr %19, align 4
%122 = load i32, ptr %18, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %.lr.ph5, label %136
.lr.ph5: ; preds = %116
br label %124
124: ; preds = %.lr.ph5, %130
%125 = load i32, ptr %19, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %109, i64 %126
%128 = load i32, ptr %127, align 4
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %128)
br label %130
130: ; preds = %124
%131 = load i32, ptr %19, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %19, align 4
%133 = load i32, ptr %19, align 4
%134 = load i32, ptr %18, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %124, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %130
br label %136
136: ; preds = %._crit_edge6, %116
%137 = load i32, ptr %18, align 4
%138 = call i32 @trace_sum_difference(i32 noundef %137, ptr noundef %109, ptr noundef %22)
store i32 %138, ptr %9, align 4
%139 = load double, ptr %22, align 8
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %139)
br label %141
141: ; preds = %136
%142 = load i32, ptr %11, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %11, align 4
%144 = load i32, ptr %11, align 4
%145 = load i32, ptr %17, align 4
%146 = icmp sle i32 %144, %145
br i1 %146, label %116, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %141
br label %147
147: ; preds = %._crit_edge9, %101
%148 = load ptr, ptr %20, align 8
call void @llvm.stackrestore(ptr %148)
%149 = call i32 (...) @restore_solutions()
store i32 %149, ptr %9, align 4
br label %150
150: ; preds = %147
%151 = load i32, ptr %10, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %10, align 4
br label %55, !llvm.loop !11
153: ; preds = %62
%154 = load i32, ptr %12, align 4
%155 = icmp eq i32 %154, 1
br i1 %155, label %156, label %160
156: ; preds = %153
%157 = load i32, ptr %10, align 4
%158 = sub nsw i32 %157, 1
%159 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %158)
br label %164
160: ; preds = %153
%161 = load i32, ptr %10, align 4
%162 = sub nsw i32 %161, 1
%163 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %162)
br label %164
164: ; preds = %160, %156
%165 = load i32, ptr %9, align 4
ret i32 %165
}
declare i32 @initialize_sampler(i32 noundef) #1
declare i32 @initialize_monodromy(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @store_solutions(...) #1
declare i32 @set_standard_trace_slice(i32 noundef) #1
declare i32 @store_standard_gammas(i32 noundef) #1
declare i32 @track_paths(...) #1
declare i32 @restore_solutions(...) #1
declare i32 @swap_slices(...) #1
declare i32 @trace_grid_diagnostics(ptr noundef, ptr noundef) #1
declare i32 @new_slices(i32 noundef, i32 noundef) #1
declare i32 @solcon_clear_standard_solutions(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @permutation_after_loop(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @monodromy_permutation(i32 noundef, ptr noundef) #1
declare i32 @number_of_irreducible_factors(ptr noundef) #1
declare i32 @witness_points_of_irreducible_factor(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @trace_sum_difference(i32 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 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmptgd7iyyl.c'
source_filename = "/tmp/tmptgd7iyyl.c"
target datalayout = "e-m:e-p270: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/tmptgd7iyyl.c"
target datalayout = "e-m:e-p270: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/tmpl77tfn5h.c'
source_filename = "/tmp/tmpl77tfn5h.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"Only user's bookmarks can be loaded, but got: %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setup_user_bookmark(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i8 %0, ptr %5, align 1
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i8, ptr %5, align 1
%10 = call i64 @is_user_bookmark(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %4
%13 = load i8, ptr %5, align 1
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @set_mark(i8 noundef signext %13, ptr noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 1)
br label %21
18: ; preds = %4
%19 = load i8, ptr %5, align 1
%20 = call i32 @status_bar_errorf(ptr noundef @.str, i8 noundef signext %19)
br label %21
21: ; preds = %18, %12
ret void
}
declare i64 @is_user_bookmark(i8 noundef signext) #1
declare i32 @set_mark(i8 noundef signext, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @status_bar_errorf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl77tfn5h.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"Only user's bookmarks can be loaded, but got: %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setup_user_bookmark(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i8 %0, ptr %5, align 1
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i8, ptr %5, align 1
%10 = call i64 @is_user_bookmark(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %4
%13 = load i8, ptr %5, align 1
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @set_mark(i8 noundef signext %13, ptr noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 1)
br label %21
18: ; preds = %4
%19 = load i8, ptr %5, align 1
%20 = call i32 @status_bar_errorf(ptr noundef @.str, i8 noundef signext %19)
br label %21
21: ; preds = %18, %12
ret void
}
declare i64 @is_user_bookmark(i8 noundef signext) #1
declare i32 @set_mark(i8 noundef signext, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @status_bar_errorf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvfgjwv9k.c'
source_filename = "/tmp/tmpvfgjwv9k.c"
target datalayout = "e-m:e-p270: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 @permute_map(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14) #0 {
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca i64, align 8
%32 = alloca i64, align 8
store i32 %0, ptr %16, align 4
store i32 %1, ptr %17, align 4
store i32 %2, ptr %18, align 4
store i32 %3, ptr %19, align 4
store ptr %4, ptr %20, align 8
store ptr %5, ptr %21, align 8
store ptr %6, ptr %22, align 8
store i32 %7, ptr %23, align 4
store i32 %8, ptr %24, align 4
store i32 %9, ptr %25, align 4
store ptr %10, ptr %26, align 8
store ptr %11, ptr %27, align 8
store ptr %12, ptr %28, align 8
store ptr %13, ptr %29, align 8
store ptr %14, ptr %30, align 8
%33 = load i32, ptr %17, align 4
%34 = load i32, ptr %18, align 4
%35 = mul i32 %33, %34
%36 = load i32, ptr %19, align 4
%37 = mul i32 %35, %36
%38 = zext i32 %37 to i64
store i64 %38, ptr %31, align 8
%39 = load ptr, ptr %30, align 8
%40 = load i64, ptr %31, align 8
%41 = call i32 @do_vect(ptr noundef %39, i64 noundef %40)
store i64 0, ptr %32, align 8
br label %42
42: ; preds = %61, %15
%43 = load i64, ptr %32, align 8
%44 = load i64, ptr %31, align 8
%45 = icmp ult i64 %43, %44
br i1 %45, label %46, label %64
46: ; preds = %42
%47 = load ptr, ptr %29, align 8
%48 = load i64, ptr %32, align 8
%49 = getelementptr inbounds double, ptr %47, i64 %48
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %30, align 8
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %16, align 4
%54 = load i64, ptr %32, align 8
%55 = load i32, ptr %17, align 4
%56 = load i32, ptr %18, align 4
%57 = load i32, ptr %19, align 4
%58 = call i32 @permuted_index(i32 noundef %53, i64 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57)
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %52, i64 %59
store double %50, ptr %60, align 8
br label %61
61: ; preds = %46
%62 = load i64, ptr %32, align 8
%63 = add i64 %62, 1
store i64 %63, ptr %32, align 8
br label %42, !llvm.loop !6
64: ; preds = %42
%65 = load ptr, ptr %29, align 8
%66 = call i32 @free(ptr noundef %65)
%67 = load i32, ptr %16, align 4
%68 = load i32, ptr %17, align 4
%69 = load i32, ptr %18, align 4
%70 = load i32, ptr %19, align 4
%71 = load ptr, ptr %20, align 8
%72 = load ptr, ptr %21, align 8
%73 = load ptr, ptr %22, align 8
%74 = load i32, ptr %23, align 4
%75 = load i32, ptr %24, align 4
%76 = load i32, ptr %25, align 4
%77 = load ptr, ptr %26, align 8
%78 = load ptr, ptr %27, align 8
%79 = load ptr, ptr %28, align 8
%80 = call i32 @permute_dimensions(i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79)
ret void
}
declare i32 @do_vect(ptr noundef, i64 noundef) #1
declare i32 @permuted_index(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @permute_dimensions(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvfgjwv9k.c"
target datalayout = "e-m:e-p270: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 @permute_map(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14) #0 {
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca i64, align 8
%32 = alloca i64, align 8
store i32 %0, ptr %16, align 4
store i32 %1, ptr %17, align 4
store i32 %2, ptr %18, align 4
store i32 %3, ptr %19, align 4
store ptr %4, ptr %20, align 8
store ptr %5, ptr %21, align 8
store ptr %6, ptr %22, align 8
store i32 %7, ptr %23, align 4
store i32 %8, ptr %24, align 4
store i32 %9, ptr %25, align 4
store ptr %10, ptr %26, align 8
store ptr %11, ptr %27, align 8
store ptr %12, ptr %28, align 8
store ptr %13, ptr %29, align 8
store ptr %14, ptr %30, align 8
%33 = load i32, ptr %17, align 4
%34 = load i32, ptr %18, align 4
%35 = mul i32 %33, %34
%36 = load i32, ptr %19, align 4
%37 = mul i32 %35, %36
%38 = zext i32 %37 to i64
store i64 %38, ptr %31, align 8
%39 = load ptr, ptr %30, align 8
%40 = load i64, ptr %31, align 8
%41 = call i32 @do_vect(ptr noundef %39, i64 noundef %40)
store i64 0, ptr %32, align 8
%42 = load i64, ptr %32, align 8
%43 = load i64, ptr %31, align 8
%44 = icmp ult i64 %42, %43
br i1 %44, label %.lr.ph, label %66
.lr.ph: ; preds = %15
br label %45
45: ; preds = %.lr.ph, %60
%46 = load ptr, ptr %29, align 8
%47 = load i64, ptr %32, align 8
%48 = getelementptr inbounds double, ptr %46, i64 %47
%49 = load double, ptr %48, align 8
%50 = load ptr, ptr %30, align 8
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %16, align 4
%53 = load i64, ptr %32, align 8
%54 = load i32, ptr %17, align 4
%55 = load i32, ptr %18, align 4
%56 = load i32, ptr %19, align 4
%57 = call i32 @permuted_index(i32 noundef %52, i64 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56)
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %51, i64 %58
store double %49, ptr %59, align 8
br label %60
60: ; preds = %45
%61 = load i64, ptr %32, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %32, align 8
%63 = load i64, ptr %32, align 8
%64 = load i64, ptr %31, align 8
%65 = icmp ult i64 %63, %64
br i1 %65, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %15
%67 = load ptr, ptr %29, align 8
%68 = call i32 @free(ptr noundef %67)
%69 = load i32, ptr %16, align 4
%70 = load i32, ptr %17, align 4
%71 = load i32, ptr %18, align 4
%72 = load i32, ptr %19, align 4
%73 = load ptr, ptr %20, align 8
%74 = load ptr, ptr %21, align 8
%75 = load ptr, ptr %22, align 8
%76 = load i32, ptr %23, align 4
%77 = load i32, ptr %24, align 4
%78 = load i32, ptr %25, align 4
%79 = load ptr, ptr %26, align 8
%80 = load ptr, ptr %27, align 8
%81 = load ptr, ptr %28, align 8
%82 = call i32 @permute_dimensions(i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81)
ret void
}
declare i32 @do_vect(ptr noundef, i64 noundef) #1
declare i32 @permuted_index(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @permute_dimensions(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ev28t06.c'
source_filename = "/tmp/tmp5ev28t06.c"
target datalayout = "e-m:e-p270: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 [109 x i8] c"Warning: De-interleaving not done because the input vector cannot be evenly divided in blocks as specified!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deinterleaver(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %11, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = udiv i32 %13, %14
store i32 %15, ptr %12, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = urem i32 %16, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %4
%21 = call i32 @print_error(ptr noundef @.str)
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %7, align 4
%26 = zext i32 %25 to i64
%27 = mul i64 %26, 1
%28 = trunc i64 %27 to i32
%29 = call i32 @memcpy(ptr noundef %22, ptr noundef %24, i32 noundef %28)
br label %65
30: ; preds = %4
store i32 0, ptr %9, align 4
br label %31
31: ; preds = %61, %30
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %12, align 4
%34 = icmp ult i32 %32, %33
br i1 %34, label %35, label %64
35: ; preds = %31
store i32 0, ptr %10, align 4
br label %36
36: ; preds = %57, %35
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp ult i32 %37, %38
br i1 %39, label %40, label %60
40: ; preds = %36
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %12, align 4
%44 = mul i32 %42, %43
%45 = load i32, ptr %9, align 4
%46 = add i32 %44, %45
%47 = zext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %41, i64 %47
%49 = load i8, ptr %48, align 1
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 %49, ptr %54, align 1
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
br label %57
57: ; preds = %40
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %10, align 4
br label %36, !llvm.loop !6
60: ; preds = %36
br label %61
61: ; preds = %60
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
br label %31, !llvm.loop !8
64: ; preds = %31
br label %65
65: ; preds = %64, %20
ret void
}
declare i32 @print_error(ptr noundef) #1
declare i32 @memcpy(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/tmp5ev28t06.c"
target datalayout = "e-m:e-p270: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 [109 x i8] c"Warning: De-interleaving not done because the input vector cannot be evenly divided in blocks as specified!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deinterleaver(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %11, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = udiv i32 %13, %14
store i32 %15, ptr %12, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = urem i32 %16, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %4
%21 = call i32 @print_error(ptr noundef @.str)
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %7, align 4
%26 = zext i32 %25 to i64
%27 = mul i64 %26, 1
%28 = trunc i64 %27 to i32
%29 = call i32 @memcpy(ptr noundef %22, ptr noundef %24, i32 noundef %28)
br label %69
30: ; preds = %4
store i32 0, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %12, align 4
%33 = icmp ult i32 %31, %32
br i1 %33, label %.lr.ph2, label %68
.lr.ph2: ; preds = %30
br label %34
34: ; preds = %.lr.ph2, %62
store i32 0, ptr %10, align 4
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp ult i32 %35, %36
br i1 %37, label %.lr.ph, label %61
.lr.ph: ; preds = %34
br label %38
38: ; preds = %.lr.ph, %55
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %10, align 4
%41 = load i32, ptr %12, align 4
%42 = mul i32 %40, %41
%43 = load i32, ptr %9, align 4
%44 = add i32 %42, %43
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %39, i64 %45
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %6, align 8
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %11, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 %47, ptr %52, align 1
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %11, align 4
br label %55
55: ; preds = %38
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp ult i32 %58, %59
br i1 %60, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %34
br label %62
62: ; preds = %61
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %12, align 4
%67 = icmp ult i32 %65, %66
br i1 %67, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %30
br label %69
69: ; preds = %68, %20
ret void
}
declare i32 @print_error(ptr noundef) #1
declare i32 @memcpy(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/tmp1x742g36.c'
source_filename = "/tmp/tmp1x742g36.c"
target datalayout = "e-m:e-p270: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"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stringToUpper(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %41, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %44
12: ; preds = %4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp sge i32 %24, 97
br i1 %25, label %26, label %34
26: ; preds = %12
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp sle i32 %32, 122
br label %34
34: ; preds = %26, %12
%35 = phi i1 [ false, %12 ], [ %33, %26 ]
%36 = zext i1 %35 to i64
%37 = select i1 %35, i32 32, i32 0
%38 = sub nsw i32 %18, %37
%39 = trunc i32 %38 to i8
%40 = call i32 @printf(ptr noundef @.str, i8 noundef signext %39)
br label %41
41: ; preds = %34
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
br label %4, !llvm.loop !6
44: ; preds = %4
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1x742g36.c"
target datalayout = "e-m:e-p270: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"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stringToUpper(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %50
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %40
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sge i32 %23, 97
br i1 %24, label %25, label %33
25: ; preds = %11
%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
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp sle i32 %31, 122
br label %33
33: ; preds = %25, %11
%34 = phi i1 [ false, %11 ], [ %32, %25 ]
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 32, i32 0
%37 = sub nsw i32 %17, %36
%38 = trunc i32 %37 to i8
%39 = call i32 @printf(ptr noundef @.str, i8 noundef signext %38)
br label %40
40: ; preds = %33
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %50
50: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp058ma58w.c'
source_filename = "/tmp/tmp058ma58w.c"
target datalayout = "e-m:e-p270: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/tmp058ma58w.c"
target datalayout = "e-m:e-p270: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/tmpvk_qdydz.c'
source_filename = "/tmp/tmpvk_qdydz.c"
target datalayout = "e-m:e-p270: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/tmpvk_qdydz.c"
target datalayout = "e-m:e-p270: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/tmp5b5x3k9g.c'
source_filename = "/tmp/tmp5b5x3k9g.c"
target datalayout = "e-m:e-p270: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/tmp5b5x3k9g.c"
target datalayout = "e-m:e-p270: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/tmpuqxbt96p.c'
source_filename = "/tmp/tmpuqxbt96p.c"
target datalayout = "e-m:e-p270: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 double @ECHF(i32 noundef %0, double noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
store i32 %0, ptr %3, align 4
store double %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = sitofp i32 %5 to double
%7 = load double, ptr %4, align 8
%8 = fsub double %6, %7
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to double
%11 = load double, ptr %4, align 8
%12 = fsub double %10, %11
%13 = call double (...) @E0F()
%14 = fneg double %13
%15 = call double @llvm.fmuladd.f64(double %8, double %12, double %14)
ret double %15
}
declare double @E0F(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuqxbt96p.c"
target datalayout = "e-m:e-p270: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 double @ECHF(i32 noundef %0, double noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
store i32 %0, ptr %3, align 4
store double %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = sitofp i32 %5 to double
%7 = load double, ptr %4, align 8
%8 = fsub double %6, %7
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to double
%11 = load double, ptr %4, align 8
%12 = fsub double %10, %11
%13 = call double (...) @E0F()
%14 = fneg double %13
%15 = call double @llvm.fmuladd.f64(double %8, double %12, double %14)
ret double %15
}
declare double @E0F(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpby1km4iq.c'
source_filename = "/tmp/tmpby1km4iq.c"
target datalayout = "e-m:e-p270: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/tmpby1km4iq.c"
target datalayout = "e-m:e-p270: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/tmp36wz0kxw.c'
source_filename = "/tmp/tmp36wz0kxw.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"Dados do aluno %d: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"N\C3\BAmero\09Nota 1\09Nota 2\09M\C3\A9dia\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"%05d\09%d\09%d\09%.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x [3 x i32]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %27, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %8, label %30
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %13
%15 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %17
%19 = getelementptr inbounds [3 x i32], ptr %18, i64 0, i64 0
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %22
%24 = getelementptr inbounds [3 x i32], ptr %23, i64 0, i64 0
%25 = getelementptr inbounds i32, ptr %24, i64 2
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15, ptr noundef %20, ptr noundef %25)
br label %27
27: ; preds = %8
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %5, !llvm.loop !6
30: ; preds = %5
%31 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %32
32: ; preds = %66, %30
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %35, label %69
35: ; preds = %32
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %37
%39 = getelementptr inbounds [3 x i32], ptr %38, i64 0, i64 0
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %42
%44 = getelementptr inbounds [3 x i32], ptr %43, i64 0, i64 1
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %47
%49 = getelementptr inbounds [3 x i32], ptr %48, i64 0, i64 2
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %52
%54 = getelementptr inbounds [3 x i32], ptr %53, i64 0, i64 1
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %57
%59 = getelementptr inbounds [3 x i32], ptr %58, i64 0, i64 2
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %55, %60
%62 = sitofp i32 %61 to float
%63 = fdiv float %62, 2.000000e+00
%64 = fpext float %63 to double
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %40, i32 noundef %45, i32 noundef %50, double noundef %64)
br label %66
66: ; preds = %35
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %4, align 4
br label %32, !llvm.loop !8
69: ; preds = %32
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(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/tmp36wz0kxw.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"Dados do aluno %d: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"N\C3\BAmero\09Nota 1\09Nota 2\09M\C3\A9dia\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"%05d\09%d\09%d\09%.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x [3 x i32]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %26
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %12
%14 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %16
%18 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 0
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %21
%23 = getelementptr inbounds [3 x i32], ptr %22, i64 0, i64 0
%24 = getelementptr inbounds i32, ptr %23, i64 2
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14, ptr noundef %19, ptr noundef %24)
br label %26
26: ; preds = %7
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 4
br i1 %30, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %0
%32 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %.lr.ph2, label %71
.lr.ph2: ; preds = %31
br label %35
35: ; preds = %.lr.ph2, %66
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %37
%39 = getelementptr inbounds [3 x i32], ptr %38, i64 0, i64 0
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %42
%44 = getelementptr inbounds [3 x i32], ptr %43, i64 0, i64 1
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %47
%49 = getelementptr inbounds [3 x i32], ptr %48, i64 0, i64 2
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %52
%54 = getelementptr inbounds [3 x i32], ptr %53, i64 0, i64 1
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [4 x [3 x i32]], ptr %2, i64 0, i64 %57
%59 = getelementptr inbounds [3 x i32], ptr %58, i64 0, i64 2
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %55, %60
%62 = sitofp i32 %61 to float
%63 = fdiv float %62, 2.000000e+00
%64 = fpext float %63 to double
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %40, i32 noundef %45, i32 noundef %50, double noundef %64)
br label %66
66: ; preds = %35
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %4, align 4
%69 = load i32, ptr %4, align 4
%70 = icmp slt i32 %69, 4
br i1 %70, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %71
71: ; preds = %._crit_edge3, %31
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(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/tmptxp_6reg.c'
source_filename = "/tmp/tmptxp_6reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @get_tail_length(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %7, align 8
%18 = alloca [1000 x i8], i64 %16, align 16
store i64 %16, ptr %8, align 8
%19 = load i32, ptr %6, align 4
store i32 %19, ptr %9, align 4
br label %20
20: ; preds = %24, %2
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %9, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [1000 x i8], ptr %18, i64 %26
%28 = getelementptr inbounds [1000 x i8], ptr %27, i64 0, i64 0
store i8 0, ptr %28, align 8
br label %20, !llvm.loop !6
29: ; preds = %20
%30 = load i32, ptr %6, align 4
%31 = zext i32 %30 to i64
%32 = alloca ptr, i64 %31, align 16
store i64 %31, ptr %10, align 8
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %11, align 4
br label %34
34: ; preds = %38, %29
%35 = load i32, ptr %11, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %11, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %34
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [1000 x i8], ptr %18, i64 %40
%42 = getelementptr inbounds [1000 x i8], ptr %41, i64 0, i64 0
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %32, i64 %44
store ptr %42, ptr %45, align 8
br label %34, !llvm.loop !8
46: ; preds = %34
%47 = load i32, ptr %6, align 4
%48 = call i32 @get_tail(ptr noundef %32, i32 noundef %47)
%49 = load i32, ptr %6, align 4
%50 = call i32 @print_tail(ptr noundef %32, i32 noundef %49)
store i32 0, ptr %3, align 4
%51 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %51)
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @get_tail_length(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @get_tail(ptr noundef, i32 noundef) #1
declare i32 @print_tail(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxp_6reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @get_tail_length(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %7, align 8
%18 = alloca [1000 x i8], i64 %16, align 16
store i64 %16, ptr %8, align 8
%19 = load i32, ptr %6, align 4
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %9, align 4
%22 = icmp sge i32 %21, 0
br i1 %22, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %23
23: ; preds = %.lr.ph, %23
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [1000 x i8], ptr %18, i64 %25
%27 = getelementptr inbounds [1000 x i8], ptr %26, i64 0, i64 0
store i8 0, ptr %27, align 8
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %9, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %31
31: ; preds = %._crit_edge, %2
%32 = load i32, ptr %6, align 4
%33 = zext i32 %32 to i64
%34 = alloca ptr, i64 %33, align 16
store i64 %33, ptr %10, align 8
%35 = load i32, ptr %6, align 4
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %11, align 4
%38 = icmp sge i32 %37, 0
br i1 %38, label %.lr.ph2, label %50
.lr.ph2: ; preds = %31
br label %39
39: ; preds = %.lr.ph2, %39
%40 = load i32, ptr %11, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [1000 x i8], ptr %18, i64 %41
%43 = getelementptr inbounds [1000 x i8], ptr %42, i64 0, i64 0
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %34, i64 %45
store ptr %43, ptr %46, align 8
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %11, align 4
%49 = icmp sge i32 %48, 0
br i1 %49, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %50
50: ; preds = %._crit_edge3, %31
%51 = load i32, ptr %6, align 4
%52 = call i32 @get_tail(ptr noundef %34, i32 noundef %51)
%53 = load i32, ptr %6, align 4
%54 = call i32 @print_tail(ptr noundef %34, i32 noundef %53)
store i32 0, ptr %3, align 4
%55 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %55)
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @get_tail_length(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @get_tail(ptr noundef, i32 noundef) #1
declare i32 @print_tail(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpobwk49x0.c'
source_filename = "/tmp/tmpobwk49x0.c"
target datalayout = "e-m:e-p270: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/tmpobwk49x0.c"
target datalayout = "e-m:e-p270: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/tmp1ysgl69n.c'
source_filename = "/tmp/tmp1ysgl69n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [67 x i8] c"n wait_states %d, wait_time = %d, clock = %f, clocks_per_sec = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"\0Await_=%d, time %u\0A start= %f, end = %f, wait_time = %d\0A \00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c"Error: Exceeded wait time \0ASending null character '~'\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Error: Esceeded wait states.. Exit\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [26 x i8] c"response = %x, cont = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @read_data_c(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [5 x i8], align 1
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%15 = call i64 (...) @clock()
%16 = sitofp i64 %15 to double
store double %16, ptr %10, align 8
%17 = call i64 (...) @clock()
%18 = sitofp i64 %17 to double
%19 = load i32, ptr @CLOCKS_PER_SEC, align 4
%20 = sdiv i32 1000, %19
%21 = sitofp i32 %20 to double
%22 = fmul double %18, %21
store double %22, ptr %7, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
call void @llvm.memset.p0.i64(ptr align 1 %14, i8 0, i64 5, i1 false)
%23 = load i32, ptr %6, align 4
%24 = load i64, ptr %5, align 8
%25 = load double, ptr %10, align 8
%26 = load i32, ptr @CLOCKS_PER_SEC, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23, i64 noundef %24, double noundef %25, i32 noundef %26)
br label %28
28: ; preds = %76, %3
%29 = load i32, ptr %12, align 4
%30 = icmp slt i32 %29, 1
br i1 %30, label %31, label %77
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
%34 = call i32 @read(i32 noundef %32, ptr noundef %33, i32 noundef 1)
store i32 %34, ptr %12, align 4
%35 = call i64 (...) @clock()
%36 = sitofp i64 %35 to double
%37 = load i32, ptr @CLOCKS_PER_SEC, align 4
%38 = sdiv i32 1000, %37
%39 = sitofp i32 %38 to double
%40 = fmul double %36, %39
store double %40, ptr %8, align 8
%41 = load double, ptr %8, align 8
%42 = load double, ptr %7, align 8
%43 = fsub double %41, %42
store double %43, ptr %9, align 8
%44 = load i32, ptr %11, align 4
%45 = load double, ptr %9, align 8
%46 = load double, ptr %7, align 8
%47 = load double, ptr %8, align 8
%48 = load i64, ptr %5, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44, double noundef %45, double noundef %46, double noundef %47, i64 noundef %48)
%50 = load i32, ptr %13, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %13, align 4
%52 = load double, ptr %9, align 8
%53 = load i64, ptr %5, align 8
%54 = uitofp i64 %53 to double
%55 = fcmp ogt double %52, %54
br i1 %55, label %56, label %76
56: ; preds = %31
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%58 = load i32, ptr %4, align 4
%59 = call i32 @write_data(i32 noundef %58, i32 noundef 126)
%60 = load i32, ptr %11, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %11, align 4
store double 0.000000e+00, ptr %9, align 8
%62 = call i64 (...) @clock()
%63 = sitofp i64 %62 to double
%64 = load i32, ptr @CLOCKS_PER_SEC, align 4
%65 = sdiv i32 1000, %64
%66 = sitofp i32 %65 to double
%67 = fmul double %63, %66
store double %67, ptr %7, align 8
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp eq i32 %68, %69
br i1 %70, label %71, label %75
71: ; preds = %56
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%73 = load i32, ptr @EXIT_SUCCESS, align 4
%74 = call i32 @exit(i32 noundef %73) #4
unreachable
75: ; preds = %56
br label %76
76: ; preds = %75, %31
br label %28, !llvm.loop !6
77: ; preds = %28
%78 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = load i32, ptr %13, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %80, i32 noundef %81)
%83 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
%84 = load i8, ptr %83, align 1
ret i8 %84
}
declare i64 @clock(...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write_data(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #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/tmp1ysgl69n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [67 x i8] c"n wait_states %d, wait_time = %d, clock = %f, clocks_per_sec = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"\0Await_=%d, time %u\0A start= %f, end = %f, wait_time = %d\0A \00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c"Error: Exceeded wait time \0ASending null character '~'\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Error: Esceeded wait states.. Exit\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [26 x i8] c"response = %x, cont = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @read_data_c(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [5 x i8], align 1
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%15 = call i64 (...) @clock()
%16 = sitofp i64 %15 to double
store double %16, ptr %10, align 8
%17 = call i64 (...) @clock()
%18 = sitofp i64 %17 to double
%19 = load i32, ptr @CLOCKS_PER_SEC, align 4
%20 = sdiv i32 1000, %19
%21 = sitofp i32 %20 to double
%22 = fmul double %18, %21
store double %22, ptr %7, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
call void @llvm.memset.p0.i64(ptr align 1 %14, i8 0, i64 5, i1 false)
%23 = load i32, ptr %6, align 4
%24 = load i64, ptr %5, align 8
%25 = load double, ptr %10, align 8
%26 = load i32, ptr @CLOCKS_PER_SEC, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23, i64 noundef %24, double noundef %25, i32 noundef %26)
%28 = load i32, ptr %12, align 4
%29 = icmp slt i32 %28, 1
br i1 %29, label %.lr.ph, label %78
.lr.ph: ; preds = %3
br label %30
30: ; preds = %.lr.ph, %75
%31 = load i32, ptr %4, align 4
%32 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
%33 = call i32 @read(i32 noundef %31, ptr noundef %32, i32 noundef 1)
store i32 %33, ptr %12, align 4
%34 = call i64 (...) @clock()
%35 = sitofp i64 %34 to double
%36 = load i32, ptr @CLOCKS_PER_SEC, align 4
%37 = sdiv i32 1000, %36
%38 = sitofp i32 %37 to double
%39 = fmul double %35, %38
store double %39, ptr %8, align 8
%40 = load double, ptr %8, align 8
%41 = load double, ptr %7, align 8
%42 = fsub double %40, %41
store double %42, ptr %9, align 8
%43 = load i32, ptr %11, align 4
%44 = load double, ptr %9, align 8
%45 = load double, ptr %7, align 8
%46 = load double, ptr %8, align 8
%47 = load i64, ptr %5, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43, double noundef %44, double noundef %45, double noundef %46, i64 noundef %47)
%49 = load i32, ptr %13, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %13, align 4
%51 = load double, ptr %9, align 8
%52 = load i64, ptr %5, align 8
%53 = uitofp i64 %52 to double
%54 = fcmp ogt double %51, %53
br i1 %54, label %55, label %75
55: ; preds = %30
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%57 = load i32, ptr %4, align 4
%58 = call i32 @write_data(i32 noundef %57, i32 noundef 126)
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %11, align 4
store double 0.000000e+00, ptr %9, align 8
%61 = call i64 (...) @clock()
%62 = sitofp i64 %61 to double
%63 = load i32, ptr @CLOCKS_PER_SEC, align 4
%64 = sdiv i32 1000, %63
%65 = sitofp i32 %64 to double
%66 = fmul double %62, %65
store double %66, ptr %7, align 8
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %67, %68
br i1 %69, label %70, label %74
70: ; preds = %55
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%72 = load i32, ptr @EXIT_SUCCESS, align 4
%73 = call i32 @exit(i32 noundef %72) #4
unreachable
74: ; preds = %55
br label %75
75: ; preds = %74, %30
%76 = load i32, ptr %12, align 4
%77 = icmp slt i32 %76, 1
br i1 %77, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %78
78: ; preds = %._crit_edge, %3
%79 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = load i32, ptr %13, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %81, i32 noundef %82)
%84 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
%85 = load i8, ptr %84, align 1
ret i8 %85
}
declare i64 @clock(...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write_data(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #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/tmp87lflxwa.c'
source_filename = "/tmp/tmp87lflxwa.c"
target datalayout = "e-m:e-p270: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/tmp87lflxwa.c"
target datalayout = "e-m:e-p270: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/tmpgub786j3.c'
source_filename = "/tmp/tmpgub786j3.c"
target datalayout = "e-m:e-p270: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 @ephcom_doublestrc2f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %19, %1
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call i64 @isspace(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %10
br label %19
19: ; preds = %18
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = call double @atof(ptr noundef %26)
store double %27, ptr %9, align 8
%28 = load i32, ptr %5, align 4
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %39, %22
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = call signext i8 @toupper(i8 noundef signext %34)
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 69
br i1 %37, label %38, label %42
38: ; preds = %29
br label %39
39: ; preds = %38
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %29, !llvm.loop !8
42: ; preds = %29
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
%48 = call i32 @atoi(ptr noundef %47)
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %53, label %61
53: ; preds = %42
%54 = load ptr, ptr %2, align 8
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 2
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %54, i64 %57
store i8 45, ptr %58, align 1
%59 = load i32, ptr %7, align 4
%60 = sub nsw i32 0, %59
store i32 %60, ptr %7, align 4
br label %67
61: ; preds = %42
%62 = load ptr, ptr %2, align 8
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 2
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
store i8 43, ptr %66, align 1
br label %67
67: ; preds = %61, %53
%68 = load double, ptr %9, align 8
%69 = fcmp oeq double %68, 0.000000e+00
br i1 %69, label %70, label %71
70: ; preds = %67
store i32 0, ptr %7, align 4
br label %71
71: ; preds = %70, %67
%72 = load i32, ptr %7, align 4
%73 = icmp slt i32 %72, 100
br i1 %73, label %74, label %75
74: ; preds = %71
store i32 2, ptr %8, align 4
br label %81
75: ; preds = %71
%76 = load i32, ptr %7, align 4
%77 = icmp slt i32 %76, 1000
br i1 %77, label %78, label %79
78: ; preds = %75
store i32 3, ptr %8, align 4
br label %80
79: ; preds = %75
store i32 4, ptr %8, align 4
br label %80
80: ; preds = %79, %78
br label %81
81: ; preds = %80, %74
br label %82
82: ; preds = %85, %81
%83 = load i32, ptr %8, align 4
%84 = icmp sgt i32 %83, 0
br i1 %84, label %85, label %101
85: ; preds = %82
%86 = load i32, ptr %7, align 4
%87 = srem i32 %86, 10
%88 = add nsw i32 %87, 48
%89 = trunc i32 %88 to i8
%90 = load ptr, ptr %2, align 8
%91 = load i32, ptr %6, align 4
%92 = load i32, ptr %8, align 4
%93 = add nsw i32 %91, %92
%94 = add nsw i32 %93, 2
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %90, i64 %95
store i8 %89, ptr %96, align 1
%97 = load i32, ptr %7, align 4
%98 = sdiv i32 %97, 10
store i32 %98, ptr %7, align 4
%99 = load i32, ptr %8, align 4
%100 = add nsw i32 %99, -1
store i32 %100, ptr %8, align 4
br label %82, !llvm.loop !9
101: ; preds = %82
%102 = load ptr, ptr %2, align 8
%103 = load i32, ptr %6, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %102, i64 %105
store i8 68, ptr %106, align 1
br label %107
107: ; preds = %122, %101
%108 = load i32, ptr %6, align 4
%109 = load i32, ptr %5, align 4
%110 = icmp sgt i32 %108, %109
br i1 %110, label %111, label %120
111: ; preds = %107
%112 = load ptr, ptr %2, align 8
%113 = load i32, ptr %6, align 4
%114 = sub nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %112, i64 %115
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp ne i32 %118, 46
br label %120
120: ; preds = %111, %107
%121 = phi i1 [ false, %107 ], [ %119, %111 ]
br i1 %121, label %122, label %135
122: ; preds = %120
%123 = load ptr, ptr %2, align 8
%124 = load i32, ptr %6, align 4
%125 = sub nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i8, ptr %123, i64 %126
%128 = load i8, ptr %127, align 1
%129 = load ptr, ptr %2, align 8
%130 = load i32, ptr %6, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i8, ptr %129, i64 %131
store i8 %128, ptr %132, align 1
%133 = load i32, ptr %6, align 4
%134 = add nsw i32 %133, -1
store i32 %134, ptr %6, align 4
br label %107, !llvm.loop !10
135: ; preds = %120
%136 = load ptr, ptr %2, align 8
%137 = load i32, ptr %6, align 4
%138 = sub nsw i32 %137, 2
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8, ptr %136, i64 %139
%141 = load i8, ptr %140, align 1
%142 = load ptr, ptr %2, align 8
%143 = load i32, ptr %6, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
store i8 %141, ptr %145, align 1
%146 = load ptr, ptr %2, align 8
%147 = load i32, ptr %6, align 4
%148 = sub nsw i32 %147, 2
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i8, ptr %146, i64 %149
store i8 48, ptr %150, align 1
ret i32 0
}
declare i64 @isspace(i8 noundef signext) #1
declare double @atof(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgub786j3.c"
target datalayout = "e-m:e-p270: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 @ephcom_doublestrc2f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i64 @isspace(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %17
17: ; preds = %.lr.ph, %18
br label %18
18: ; preds = %17
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %28
28: ; preds = %._crit_edge, %1
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = call double @atof(ptr noundef %32)
store double %33, ptr %9, align 8
%34 = load i32, ptr %5, align 4
store i32 %34, ptr %6, align 4
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = call signext i8 @toupper(i8 noundef signext %39)
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 69
br i1 %42, label %.lr.ph2, label %55
.lr.ph2: ; preds = %28
br label %43
43: ; preds = %.lr.ph2, %44
br label %44
44: ; preds = %43
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
%47 = load ptr, ptr %2, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call signext i8 @toupper(i8 noundef signext %51)
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 69
br i1 %54, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %55
55: ; preds = %._crit_edge3, %28
%56 = load ptr, ptr %2, align 8
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
%61 = call i32 @atoi(ptr noundef %60)
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %74
66: ; preds = %55
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %6, align 4
%69 = add nsw i32 %68, 2
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
store i8 45, ptr %71, align 1
%72 = load i32, ptr %7, align 4
%73 = sub nsw i32 0, %72
store i32 %73, ptr %7, align 4
br label %80
74: ; preds = %55
%75 = load ptr, ptr %2, align 8
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
store i8 43, ptr %79, align 1
br label %80
80: ; preds = %74, %66
%81 = load double, ptr %9, align 8
%82 = fcmp oeq double %81, 0.000000e+00
br i1 %82, label %83, label %84
83: ; preds = %80
store i32 0, ptr %7, align 4
br label %84
84: ; preds = %83, %80
%85 = load i32, ptr %7, align 4
%86 = icmp slt i32 %85, 100
br i1 %86, label %87, label %88
87: ; preds = %84
store i32 2, ptr %8, align 4
br label %94
88: ; preds = %84
%89 = load i32, ptr %7, align 4
%90 = icmp slt i32 %89, 1000
br i1 %90, label %91, label %92
91: ; preds = %88
store i32 3, ptr %8, align 4
br label %93
92: ; preds = %88
store i32 4, ptr %8, align 4
br label %93
93: ; preds = %92, %91
br label %94
94: ; preds = %93, %87
%95 = load i32, ptr %8, align 4
%96 = icmp sgt i32 %95, 0
br i1 %96, label %.lr.ph5, label %115
.lr.ph5: ; preds = %94
br label %97
97: ; preds = %.lr.ph5, %97
%98 = load i32, ptr %7, align 4
%99 = srem i32 %98, 10
%100 = add nsw i32 %99, 48
%101 = trunc i32 %100 to i8
%102 = load ptr, ptr %2, align 8
%103 = load i32, ptr %6, align 4
%104 = load i32, ptr %8, align 4
%105 = add nsw i32 %103, %104
%106 = add nsw i32 %105, 2
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %102, i64 %107
store i8 %101, ptr %108, align 1
%109 = load i32, ptr %7, align 4
%110 = sdiv i32 %109, 10
store i32 %110, ptr %7, align 4
%111 = load i32, ptr %8, align 4
%112 = add nsw i32 %111, -1
store i32 %112, ptr %8, align 4
%113 = load i32, ptr %8, align 4
%114 = icmp sgt i32 %113, 0
br i1 %114, label %97, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %97
br label %115
115: ; preds = %._crit_edge6, %94
%116 = load ptr, ptr %2, align 8
%117 = load i32, ptr %6, align 4
%118 = add nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %116, i64 %119
store i8 68, ptr %120, align 1
br label %121
121: ; preds = %136, %115
%122 = load i32, ptr %6, align 4
%123 = load i32, ptr %5, align 4
%124 = icmp sgt i32 %122, %123
br i1 %124, label %125, label %134
125: ; preds = %121
%126 = load ptr, ptr %2, align 8
%127 = load i32, ptr %6, align 4
%128 = sub nsw i32 %127, 1
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i8, ptr %126, i64 %129
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp ne i32 %132, 46
br label %134
134: ; preds = %125, %121
%135 = phi i1 [ false, %121 ], [ %133, %125 ]
br i1 %135, label %136, label %149
136: ; preds = %134
%137 = load ptr, ptr %2, align 8
%138 = load i32, ptr %6, align 4
%139 = sub nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i8, ptr %137, i64 %140
%142 = load i8, ptr %141, align 1
%143 = load ptr, ptr %2, align 8
%144 = load i32, ptr %6, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, ptr %143, i64 %145
store i8 %142, ptr %146, align 1
%147 = load i32, ptr %6, align 4
%148 = add nsw i32 %147, -1
store i32 %148, ptr %6, align 4
br label %121, !llvm.loop !10
149: ; preds = %134
%150 = load ptr, ptr %2, align 8
%151 = load i32, ptr %6, align 4
%152 = sub nsw i32 %151, 2
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i8, ptr %150, i64 %153
%155 = load i8, ptr %154, align 1
%156 = load ptr, ptr %2, align 8
%157 = load i32, ptr %6, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i8, ptr %156, i64 %158
store i8 %155, ptr %159, align 1
%160 = load ptr, ptr %2, align 8
%161 = load i32, ptr %6, align 4
%162 = sub nsw i32 %161, 2
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i8, ptr %160, i64 %163
store i8 48, ptr %164, align 1
ret i32 0
}
declare i64 @isspace(i8 noundef signext) #1
declare double @atof(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp8vp90w3f.c'
source_filename = "/tmp/tmp8vp90w3f.c"
target datalayout = "e-m:e-p270: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_13__ = type { i64, %struct.TYPE_10__ }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_9__ = type { ptr, i32 }
%struct.TYPE_12__ = type { ptr, i32 }
%struct.TYPE_11__ = type { ptr, i32 }
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
@EVP_MAX_IV_LENGTH = dso_local global i32 0, align 4
@V_ASN1_SEQUENCE = dso_local global i64 0, align 8
@PKCS12_F_PKCS12_PBE_KEYIVGEN = dso_local global i32 0, align 4
@PKCS12_R_DECODE_ERROR = dso_local global i32 0, align 4
@PKCS12_KEY_ID = dso_local global i32 0, align 4
@PKCS12_R_KEY_GEN_ERROR = dso_local global i32 0, align 4
@PKCS12_IV_ID = dso_local global i32 0, align 4
@PKCS12_R_IV_GEN_ERROR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PKCS12_PBE_keyivgen(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%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 ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca i64, align 8
%25 = 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 ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%26 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%27 = zext i32 %26 to i64
%28 = call ptr @llvm.stacksave()
store ptr %28, ptr %22, align 8
%29 = alloca i8, i64 %27, align 16
store i64 %27, ptr %23, align 8
%30 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%31 = zext i32 %30 to i64
%32 = alloca i8, i64 %31, align 16
store i64 %31, ptr %24, align 8
%33 = load ptr, ptr %12, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %47, label %35
35: ; preds = %7
%36 = load ptr, ptr %12, align 8
%37 = getelementptr inbounds %struct.TYPE_13__, ptr %36, i32 0, i32 0
%38 = load i64, ptr %37, align 8
%39 = load i64, ptr @V_ASN1_SEQUENCE, align 8
%40 = icmp ne i64 %38, %39
br i1 %40, label %47, label %41
41: ; preds = %35
%42 = load ptr, ptr %12, align 8
%43 = getelementptr inbounds %struct.TYPE_13__, ptr %42, i32 0, i32 1
%44 = getelementptr inbounds %struct.TYPE_10__, ptr %43, i32 0, i32 0
%45 = load ptr, ptr %44, align 8
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %51
47: ; preds = %41, %35, %7
%48 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%49 = load i32, ptr @PKCS12_R_DECODE_ERROR, align 4
%50 = call i32 @PKCS12err(i32 noundef %48, i32 noundef %49)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
51: ; preds = %41
%52 = load ptr, ptr %12, align 8
%53 = getelementptr inbounds %struct.TYPE_13__, ptr %52, i32 0, i32 1
%54 = getelementptr inbounds %struct.TYPE_10__, ptr %53, i32 0, i32 0
%55 = load ptr, ptr %54, align 8
%56 = getelementptr inbounds %struct.TYPE_9__, ptr %55, i32 0, i32 0
%57 = load ptr, ptr %56, align 8
store ptr %57, ptr %21, align 8
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds %struct.TYPE_13__, ptr %58, i32 0, i32 1
%60 = getelementptr inbounds %struct.TYPE_10__, ptr %59, i32 0, i32 0
%61 = load ptr, ptr %60, align 8
%62 = getelementptr inbounds %struct.TYPE_9__, ptr %61, i32 0, i32 1
%63 = load i32, ptr %62, align 8
%64 = call ptr @d2i_PBEPARAM(ptr noundef null, ptr noundef %21, i32 noundef %63)
store ptr %64, ptr %16, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %70, label %66
66: ; preds = %51
%67 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%68 = load i32, ptr @PKCS12_R_DECODE_ERROR, align 4
%69 = call i32 @PKCS12err(i32 noundef %67, i32 noundef %68)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
70: ; preds = %51
%71 = load ptr, ptr %16, align 8
%72 = getelementptr inbounds %struct.TYPE_12__, ptr %71, i32 0, i32 1
%73 = load i32, ptr %72, align 8
%74 = icmp ne i32 %73, 0
br i1 %74, label %76, label %75
75: ; preds = %70
store i32 1, ptr %18, align 4
br label %81
76: ; preds = %70
%77 = load ptr, ptr %16, align 8
%78 = getelementptr inbounds %struct.TYPE_12__, ptr %77, i32 0, i32 1
%79 = load i32, ptr %78, align 8
%80 = call i32 @ASN1_INTEGER_get(i32 noundef %79)
store i32 %80, ptr %18, align 4
br label %81
81: ; preds = %76, %75
%82 = load ptr, ptr %16, align 8
%83 = getelementptr inbounds %struct.TYPE_12__, ptr %82, i32 0, i32 0
%84 = load ptr, ptr %83, align 8
%85 = getelementptr inbounds %struct.TYPE_11__, ptr %84, i32 0, i32 0
%86 = load ptr, ptr %85, align 8
store ptr %86, ptr %20, align 8
%87 = load ptr, ptr %16, align 8
%88 = getelementptr inbounds %struct.TYPE_12__, ptr %87, i32 0, i32 0
%89 = load ptr, ptr %88, align 8
%90 = getelementptr inbounds %struct.TYPE_11__, ptr %89, i32 0, i32 1
%91 = load i32, ptr %90, align 8
store i32 %91, ptr %17, align 4
%92 = load ptr, ptr %10, align 8
%93 = load i32, ptr %11, align 4
%94 = load ptr, ptr %20, align 8
%95 = load i32, ptr %17, align 4
%96 = load i32, ptr @PKCS12_KEY_ID, align 4
%97 = load i32, ptr %18, align 4
%98 = load ptr, ptr %13, align 8
%99 = call i32 @EVP_CIPHER_key_length(ptr noundef %98)
%100 = load ptr, ptr %14, align 8
%101 = call i32 @PKCS12_key_gen(ptr noundef %92, i32 noundef %93, ptr noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef %99, ptr noundef %29, ptr noundef %100)
%102 = icmp ne i32 %101, 0
br i1 %102, label %109, label %103
103: ; preds = %81
%104 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%105 = load i32, ptr @PKCS12_R_KEY_GEN_ERROR, align 4
%106 = call i32 @PKCS12err(i32 noundef %104, i32 noundef %105)
%107 = load ptr, ptr %16, align 8
%108 = call i32 @PBEPARAM_free(ptr noundef %107)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
109: ; preds = %81
%110 = load ptr, ptr %10, align 8
%111 = load i32, ptr %11, align 4
%112 = load ptr, ptr %20, align 8
%113 = load i32, ptr %17, align 4
%114 = load i32, ptr @PKCS12_IV_ID, align 4
%115 = load i32, ptr %18, align 4
%116 = load ptr, ptr %13, align 8
%117 = call i32 @EVP_CIPHER_iv_length(ptr noundef %116)
%118 = load ptr, ptr %14, align 8
%119 = call i32 @PKCS12_key_gen(ptr noundef %110, i32 noundef %111, ptr noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %115, i32 noundef %117, ptr noundef %32, ptr noundef %118)
%120 = icmp ne i32 %119, 0
br i1 %120, label %127, label %121
121: ; preds = %109
%122 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%123 = load i32, ptr @PKCS12_R_IV_GEN_ERROR, align 4
%124 = call i32 @PKCS12err(i32 noundef %122, i32 noundef %123)
%125 = load ptr, ptr %16, align 8
%126 = call i32 @PBEPARAM_free(ptr noundef %125)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
127: ; preds = %109
%128 = load ptr, ptr %16, align 8
%129 = call i32 @PBEPARAM_free(ptr noundef %128)
%130 = load ptr, ptr %9, align 8
%131 = load ptr, ptr %13, align 8
%132 = load i32, ptr %15, align 4
%133 = call i32 @EVP_CipherInit_ex(ptr noundef %130, ptr noundef %131, ptr noundef null, ptr noundef %29, ptr noundef %32, i32 noundef %132)
store i32 %133, ptr %19, align 4
%134 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%135 = call i32 @OPENSSL_cleanse(ptr noundef %29, i32 noundef %134)
%136 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%137 = call i32 @OPENSSL_cleanse(ptr noundef %32, i32 noundef %136)
%138 = load i32, ptr %19, align 4
store i32 %138, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
139: ; preds = %127, %121, %103, %66, %47
%140 = load ptr, ptr %22, align 8
call void @llvm.stackrestore(ptr %140)
%141 = load i32, ptr %8, align 4
ret i32 %141
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @PKCS12err(i32 noundef, i32 noundef) #2
declare ptr @d2i_PBEPARAM(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @ASN1_INTEGER_get(i32 noundef) #2
declare i32 @PKCS12_key_gen(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @EVP_CIPHER_key_length(ptr noundef) #2
declare i32 @PBEPARAM_free(ptr noundef) #2
declare i32 @EVP_CIPHER_iv_length(ptr noundef) #2
declare i32 @EVP_CipherInit_ex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8vp90w3f.c"
target datalayout = "e-m:e-p270: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_13__ = type { i64, %struct.TYPE_10__ }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_9__ = type { ptr, i32 }
%struct.TYPE_12__ = type { ptr, i32 }
%struct.TYPE_11__ = type { ptr, i32 }
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
@EVP_MAX_IV_LENGTH = dso_local global i32 0, align 4
@V_ASN1_SEQUENCE = dso_local global i64 0, align 8
@PKCS12_F_PKCS12_PBE_KEYIVGEN = dso_local global i32 0, align 4
@PKCS12_R_DECODE_ERROR = dso_local global i32 0, align 4
@PKCS12_KEY_ID = dso_local global i32 0, align 4
@PKCS12_R_KEY_GEN_ERROR = dso_local global i32 0, align 4
@PKCS12_IV_ID = dso_local global i32 0, align 4
@PKCS12_R_IV_GEN_ERROR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PKCS12_PBE_keyivgen(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%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 ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca i64, align 8
%25 = 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 ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
%26 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%27 = zext i32 %26 to i64
%28 = call ptr @llvm.stacksave()
store ptr %28, ptr %22, align 8
%29 = alloca i8, i64 %27, align 16
store i64 %27, ptr %23, align 8
%30 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%31 = zext i32 %30 to i64
%32 = alloca i8, i64 %31, align 16
store i64 %31, ptr %24, align 8
%33 = load ptr, ptr %12, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %47, label %35
35: ; preds = %7
%36 = load ptr, ptr %12, align 8
%37 = getelementptr inbounds %struct.TYPE_13__, ptr %36, i32 0, i32 0
%38 = load i64, ptr %37, align 8
%39 = load i64, ptr @V_ASN1_SEQUENCE, align 8
%40 = icmp ne i64 %38, %39
br i1 %40, label %47, label %41
41: ; preds = %35
%42 = load ptr, ptr %12, align 8
%43 = getelementptr inbounds %struct.TYPE_13__, ptr %42, i32 0, i32 1
%44 = getelementptr inbounds %struct.TYPE_10__, ptr %43, i32 0, i32 0
%45 = load ptr, ptr %44, align 8
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %51
47: ; preds = %41, %35, %7
%48 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%49 = load i32, ptr @PKCS12_R_DECODE_ERROR, align 4
%50 = call i32 @PKCS12err(i32 noundef %48, i32 noundef %49)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
51: ; preds = %41
%52 = load ptr, ptr %12, align 8
%53 = getelementptr inbounds %struct.TYPE_13__, ptr %52, i32 0, i32 1
%54 = getelementptr inbounds %struct.TYPE_10__, ptr %53, i32 0, i32 0
%55 = load ptr, ptr %54, align 8
%56 = getelementptr inbounds %struct.TYPE_9__, ptr %55, i32 0, i32 0
%57 = load ptr, ptr %56, align 8
store ptr %57, ptr %21, align 8
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds %struct.TYPE_13__, ptr %58, i32 0, i32 1
%60 = getelementptr inbounds %struct.TYPE_10__, ptr %59, i32 0, i32 0
%61 = load ptr, ptr %60, align 8
%62 = getelementptr inbounds %struct.TYPE_9__, ptr %61, i32 0, i32 1
%63 = load i32, ptr %62, align 8
%64 = call ptr @d2i_PBEPARAM(ptr noundef null, ptr noundef %21, i32 noundef %63)
store ptr %64, ptr %16, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %70, label %66
66: ; preds = %51
%67 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%68 = load i32, ptr @PKCS12_R_DECODE_ERROR, align 4
%69 = call i32 @PKCS12err(i32 noundef %67, i32 noundef %68)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
70: ; preds = %51
%71 = load ptr, ptr %16, align 8
%72 = getelementptr inbounds %struct.TYPE_12__, ptr %71, i32 0, i32 1
%73 = load i32, ptr %72, align 8
%74 = icmp ne i32 %73, 0
br i1 %74, label %76, label %75
75: ; preds = %70
store i32 1, ptr %18, align 4
br label %81
76: ; preds = %70
%77 = load ptr, ptr %16, align 8
%78 = getelementptr inbounds %struct.TYPE_12__, ptr %77, i32 0, i32 1
%79 = load i32, ptr %78, align 8
%80 = call i32 @ASN1_INTEGER_get(i32 noundef %79)
store i32 %80, ptr %18, align 4
br label %81
81: ; preds = %76, %75
%82 = load ptr, ptr %16, align 8
%83 = getelementptr inbounds %struct.TYPE_12__, ptr %82, i32 0, i32 0
%84 = load ptr, ptr %83, align 8
%85 = getelementptr inbounds %struct.TYPE_11__, ptr %84, i32 0, i32 0
%86 = load ptr, ptr %85, align 8
store ptr %86, ptr %20, align 8
%87 = load ptr, ptr %16, align 8
%88 = getelementptr inbounds %struct.TYPE_12__, ptr %87, i32 0, i32 0
%89 = load ptr, ptr %88, align 8
%90 = getelementptr inbounds %struct.TYPE_11__, ptr %89, i32 0, i32 1
%91 = load i32, ptr %90, align 8
store i32 %91, ptr %17, align 4
%92 = load ptr, ptr %10, align 8
%93 = load i32, ptr %11, align 4
%94 = load ptr, ptr %20, align 8
%95 = load i32, ptr %17, align 4
%96 = load i32, ptr @PKCS12_KEY_ID, align 4
%97 = load i32, ptr %18, align 4
%98 = load ptr, ptr %13, align 8
%99 = call i32 @EVP_CIPHER_key_length(ptr noundef %98)
%100 = load ptr, ptr %14, align 8
%101 = call i32 @PKCS12_key_gen(ptr noundef %92, i32 noundef %93, ptr noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef %99, ptr noundef %29, ptr noundef %100)
%102 = icmp ne i32 %101, 0
br i1 %102, label %109, label %103
103: ; preds = %81
%104 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%105 = load i32, ptr @PKCS12_R_KEY_GEN_ERROR, align 4
%106 = call i32 @PKCS12err(i32 noundef %104, i32 noundef %105)
%107 = load ptr, ptr %16, align 8
%108 = call i32 @PBEPARAM_free(ptr noundef %107)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
109: ; preds = %81
%110 = load ptr, ptr %10, align 8
%111 = load i32, ptr %11, align 4
%112 = load ptr, ptr %20, align 8
%113 = load i32, ptr %17, align 4
%114 = load i32, ptr @PKCS12_IV_ID, align 4
%115 = load i32, ptr %18, align 4
%116 = load ptr, ptr %13, align 8
%117 = call i32 @EVP_CIPHER_iv_length(ptr noundef %116)
%118 = load ptr, ptr %14, align 8
%119 = call i32 @PKCS12_key_gen(ptr noundef %110, i32 noundef %111, ptr noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %115, i32 noundef %117, ptr noundef %32, ptr noundef %118)
%120 = icmp ne i32 %119, 0
br i1 %120, label %127, label %121
121: ; preds = %109
%122 = load i32, ptr @PKCS12_F_PKCS12_PBE_KEYIVGEN, align 4
%123 = load i32, ptr @PKCS12_R_IV_GEN_ERROR, align 4
%124 = call i32 @PKCS12err(i32 noundef %122, i32 noundef %123)
%125 = load ptr, ptr %16, align 8
%126 = call i32 @PBEPARAM_free(ptr noundef %125)
store i32 0, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
127: ; preds = %109
%128 = load ptr, ptr %16, align 8
%129 = call i32 @PBEPARAM_free(ptr noundef %128)
%130 = load ptr, ptr %9, align 8
%131 = load ptr, ptr %13, align 8
%132 = load i32, ptr %15, align 4
%133 = call i32 @EVP_CipherInit_ex(ptr noundef %130, ptr noundef %131, ptr noundef null, ptr noundef %29, ptr noundef %32, i32 noundef %132)
store i32 %133, ptr %19, align 4
%134 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%135 = call i32 @OPENSSL_cleanse(ptr noundef %29, i32 noundef %134)
%136 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%137 = call i32 @OPENSSL_cleanse(ptr noundef %32, i32 noundef %136)
%138 = load i32, ptr %19, align 4
store i32 %138, ptr %8, align 4
store i32 1, ptr %25, align 4
br label %139
139: ; preds = %127, %121, %103, %66, %47
%140 = load ptr, ptr %22, align 8
call void @llvm.stackrestore(ptr %140)
%141 = load i32, ptr %8, align 4
ret i32 %141
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @PKCS12err(i32 noundef, i32 noundef) #2
declare ptr @d2i_PBEPARAM(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @ASN1_INTEGER_get(i32 noundef) #2
declare i32 @PKCS12_key_gen(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @EVP_CIPHER_key_length(ptr noundef) #2
declare i32 @PBEPARAM_free(ptr noundef) #2
declare i32 @EVP_CIPHER_iv_length(ptr noundef) #2
declare i32 @EVP_CipherInit_ex(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu81x4e_l.c'
source_filename = "/tmp/tmpu81x4e_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"bearing: %lf\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call double (double, double, double, double, ...) @compute_bearing(double noundef 7.393800e+01, double noundef 4.281450e+01, double noundef 1.182420e+02, double noundef 3.405150e+01)
%7 = call i32 @printf(ptr noundef @.str, double noundef %6)
%8 = call double (double, double, double, double, ...) @compute_bearing(double noundef 1.182420e+02, double noundef 3.405150e+01, double noundef 7.393800e+01, double noundef 4.281450e+01)
%9 = call i32 @printf(ptr noundef @.str, double noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
declare double @compute_bearing(...) #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/tmpu81x4e_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"bearing: %lf\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call double (double, double, double, double, ...) @compute_bearing(double noundef 7.393800e+01, double noundef 4.281450e+01, double noundef 1.182420e+02, double noundef 3.405150e+01)
%7 = call i32 @printf(ptr noundef @.str, double noundef %6)
%8 = call double (double, double, double, double, ...) @compute_bearing(double noundef 1.182420e+02, double noundef 3.405150e+01, double noundef 7.393800e+01, double noundef 4.281450e+01)
%9 = call i32 @printf(ptr noundef @.str, double noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
declare double @compute_bearing(...) #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/tmpmyof30z5.c'
source_filename = "/tmp/tmpmyof30z5.c"
target datalayout = "e-m:e-p270: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"0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [11 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
br label %10
10: ; preds = %8, %1
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
store i32 -1, ptr %5, align 4
%14 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1)
br label %15
15: ; preds = %13, %10
br label %16
16: ; preds = %19, %15
%17 = load i32, ptr %2, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %32
19: ; preds = %16
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = srem i32 %21, 10
%23 = mul nsw i32 %20, %22
%24 = add nsw i32 %23, 48
%25 = trunc i32 %24 to i8
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = sext i32 %26 to i64
%29 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 %28
store i8 %25, ptr %29, align 1
%30 = load i32, ptr %2, align 4
%31 = sdiv i32 %30, 10
store i32 %31, ptr %2, align 4
br label %16, !llvm.loop !6
32: ; preds = %16
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %38, %32
%36 = load i32, ptr %4, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %35
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %4, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 %41
%43 = call i32 @write(i32 noundef 1, ptr noundef %42, i32 noundef 1)
br label %35, !llvm.loop !8
44: ; preds = %35
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmyof30z5.c"
target datalayout = "e-m:e-p270: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"0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [11 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
br label %10
10: ; preds = %8, %1
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
store i32 -1, ptr %5, align 4
%14 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1)
br label %15
15: ; preds = %13, %10
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %.lr.ph, label %33
.lr.ph: ; preds = %15
br label %18
18: ; preds = %.lr.ph, %18
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 10
%22 = mul nsw i32 %19, %21
%23 = add nsw i32 %22, 48
%24 = trunc i32 %23 to i8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = sext i32 %25 to i64
%28 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 %27
store i8 %24, ptr %28, align 1
%29 = load i32, ptr %2, align 4
%30 = sdiv i32 %29, 10
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %33
33: ; preds = %._crit_edge, %15
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp sge i32 %36, 0
br i1 %37, label %.lr.ph2, label %46
.lr.ph2: ; preds = %33
br label %38
38: ; preds = %.lr.ph2, %38
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %4, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 %41
%43 = call i32 @write(i32 noundef 1, ptr noundef %42, i32 noundef 1)
%44 = load i32, ptr %4, align 4
%45 = icmp sge i32 %44, 0
br i1 %45, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %46
46: ; preds = %._crit_edge3, %33
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2xde6156.c'
source_filename = "/tmp/tmp2xde6156.c"
target datalayout = "e-m:e-p270: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"%6d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wc_print(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
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 i32, ptr %7, align 4
%14 = icmp eq i32 %13, 1
br i1 %14, label %15, label %18
15: ; preds = %6
%16 = load i32, ptr %10, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %15, %6
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr %11, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %21, %18
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %12, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
br label %30
30: ; preds = %27, %24
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/tmp2xde6156.c"
target datalayout = "e-m:e-p270: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"%6d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wc_print(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
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 i32, ptr %7, align 4
%14 = icmp eq i32 %13, 1
br i1 %14, label %15, label %18
15: ; preds = %6
%16 = load i32, ptr %10, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %15, %6
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr %11, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %21, %18
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %12, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
br label %30
30: ; preds = %27, %24
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/tmppsynyr73.c'
source_filename = "/tmp/tmppsynyr73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"setsockopt(): \00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"A simple message to send in UDP.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_udp(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4096 x i8], align 16
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 1, ptr %11, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr @SOL_SOCKET, align 4
%14 = load i32, ptr @SO_BROADCAST, align 4
%15 = call i64 @setsockopt(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %11, i32 noundef 4)
%16 = icmp sgt i64 0, %15
br i1 %16, label %17, label %20
17: ; preds = %4
%18 = call i32 @perror(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %4
%21 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str.1)
store i32 0, ptr %9, align 4
br label %23
23: ; preds = %35, %20
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %38
27: ; preds = %23
%28 = load i32, ptr %5, align 4
%29 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%30 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%31 = call i32 @strlen(ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = call i32 @sendto(i32 noundef %28, ptr noundef %29, i32 noundef %31, i32 noundef 0, ptr noundef %32, i32 noundef %33)
br label %35
35: ; preds = %27
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %23, !llvm.loop !6
38: ; preds = %23
ret void
}
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
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" }
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/tmppsynyr73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"setsockopt(): \00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"A simple message to send in UDP.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_udp(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4096 x i8], align 16
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 1, ptr %11, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr @SOL_SOCKET, align 4
%14 = load i32, ptr @SO_BROADCAST, align 4
%15 = call i64 @setsockopt(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %11, i32 noundef 4)
%16 = icmp sgt i64 0, %15
br i1 %16, label %17, label %20
17: ; preds = %4
%18 = call i32 @perror(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %4
%21 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str.1)
store i32 0, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %40
.lr.ph: ; preds = %20
br label %26
26: ; preds = %.lr.ph, %34
%27 = load i32, ptr %5, align 4
%28 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%29 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = call i32 @sendto(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0, ptr noundef %31, i32 noundef %32)
br label %34
34: ; preds = %26
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %20
ret void
}
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
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" }
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.