llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpvnswe1zc.c'
source_filename = "/tmp/tmpvnswe1zc.c"
target datalayout = "e-m:e-p270: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 @memset(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i16 %2, ptr %6, align 2
store i16 0, ptr %7, align 2
br label %8
8: ; preds = %20, %3
%9 = load i16, ptr %7, align 2
%10 = zext i16 %9 to i32
%11 = load i16, ptr %6, align 2
%12 = zext i16 %11 to i32
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %23
14: ; preds = %8
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i16, ptr %7, align 2
%18 = zext i16 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %14
%21 = load i16, ptr %7, align 2
%22 = add i16 %21, 1
store i16 %22, ptr %7, align 2
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = load ptr, ptr %4, align 8
ret ptr %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvnswe1zc.c"
target datalayout = "e-m:e-p270: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 @memset(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i16 %2, ptr %6, align 2
store i16 0, ptr %7, align 2
%8 = load i16, ptr %7, align 2
%9 = zext i16 %8 to i32
%10 = load i16, ptr %6, align 2
%11 = zext i16 %10 to i32
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %19
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i16, ptr %7, align 2
%17 = zext i16 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
br label %19
19: ; preds = %13
%20 = load i16, ptr %7, align 2
%21 = add i16 %20, 1
store i16 %21, ptr %7, align 2
%22 = load i16, ptr %7, align 2
%23 = zext i16 %22 to i32
%24 = load i16, ptr %6, align 2
%25 = zext i16 %24 to i32
%26 = icmp slt i32 %23, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %27
27: ; preds = %._crit_edge, %3
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxt47vabb.c'
source_filename = "/tmp/tmpxt47vabb.c"
target datalayout = "e-m:e-p270: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 @pc_readsrc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call ptr @fgets(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret ptr %10
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxt47vabb.c"
target datalayout = "e-m:e-p270: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 @pc_readsrc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call ptr @fgets(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret ptr %10
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgnf0ph8i.c'
source_filename = "/tmp/tmpgnf0ph8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 10, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @id(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 10
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (...) @__VERIFIER_error()
br label %9
9: ; preds = %7, %0
ret void
}
declare i32 @id(i32 noundef) #1
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgnf0ph8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 10, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @id(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 10
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 (...) @__VERIFIER_error()
br label %9
9: ; preds = %7, %0
ret void
}
declare i32 @id(i32 noundef) #1
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb8m2m0fh.c'
source_filename = "/tmp/tmpb8m2m0fh.c"
target datalayout = "e-m:e-p270: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_pythagorean_inequality() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = alloca [2 x double], align 16
store i64 0, ptr %1, align 8
br label %4
4: ; preds = %29, %0
%5 = load i64, ptr %1, align 8
%6 = icmp ult i64 %5, 1000
br i1 %6, label %7, label %32
7: ; preds = %4
store i64 0, ptr %2, align 8
br label %8
8: ; preds = %25, %7
%9 = load i64, ptr %2, align 8
%10 = icmp ult i64 %9, 1000
br i1 %10, label %11, label %28
11: ; preds = %8
%12 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%13 = load i64, ptr %1, align 8
%14 = uitofp i64 %13 to double
store double %14, ptr %12, align 8
%15 = getelementptr inbounds double, ptr %12, i64 1
%16 = load i64, ptr %2, align 8
%17 = uitofp i64 %16 to double
store double %17, ptr %15, align 8
%18 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%19 = call i64 @arithmetic(ptr noundef %18, i32 noundef 2)
%20 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%21 = call i64 @geometric(ptr noundef %20, i32 noundef 2)
%22 = icmp sge i64 %19, %21
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
br label %25
25: ; preds = %11
%26 = load i64, ptr %2, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %2, align 8
br label %8, !llvm.loop !6
28: ; preds = %8
br label %29
29: ; preds = %28
%30 = load i64, ptr %1, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %1, align 8
br label %4, !llvm.loop !8
32: ; preds = %4
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @arithmetic(ptr noundef, i32 noundef) #1
declare i64 @geometric(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/tmpb8m2m0fh.c"
target datalayout = "e-m:e-p270: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_pythagorean_inequality() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = alloca [2 x double], align 16
store i64 0, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp ult i64 %4, 1000
br i1 %5, label %.lr.ph2, label %34
.lr.ph2: ; preds = %0
br label %6
6: ; preds = %.lr.ph2, %29
store i64 0, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = icmp ult i64 %7, 1000
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %6
br label %9
9: ; preds = %.lr.ph, %23
%10 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%11 = load i64, ptr %1, align 8
%12 = uitofp i64 %11 to double
store double %12, ptr %10, align 8
%13 = getelementptr inbounds double, ptr %10, i64 1
%14 = load i64, ptr %2, align 8
%15 = uitofp i64 %14 to double
store double %15, ptr %13, align 8
%16 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%17 = call i64 @arithmetic(ptr noundef %16, i32 noundef 2)
%18 = getelementptr inbounds [2 x double], ptr %3, i64 0, i64 0
%19 = call i64 @geometric(ptr noundef %18, i32 noundef 2)
%20 = icmp sge i64 %17, %19
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
br label %23
23: ; preds = %9
%24 = load i64, ptr %2, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %2, align 8
%26 = load i64, ptr %2, align 8
%27 = icmp ult i64 %26, 1000
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %6
br label %29
29: ; preds = %28
%30 = load i64, ptr %1, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %1, align 8
%32 = load i64, ptr %1, align 8
%33 = icmp ult i64 %32, 1000
br i1 %33, label %6, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %0
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @arithmetic(ptr noundef, i32 noundef) #1
declare i64 @geometric(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/tmpk8aqsx16.c'
source_filename = "/tmp/tmpk8aqsx16.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%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 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32
store i64 %30, ptr %33, align 8
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%41 = load i64, ptr %40, align 8
%42 = icmp eq i64 %41, 2010370709
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
45: ; preds = %36
br label %46
46: ; preds = %45, %43
store i32 0, ptr %10, align 4
br label %47
47: ; preds = %50, %46
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %47, !llvm.loop !8
58: ; preds = %47
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk8aqsx16.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%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 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31
store i64 %29, ptr %32, align 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %37
37: ; preds = %._crit_edge, %18
%38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%42 = load i64, ptr %41, align 8
%43 = icmp eq i64 %42, 2010370709
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %.lr.ph2, label %60
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %50
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%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 = icmp slt i32 %58, 1
br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %60
60: ; preds = %._crit_edge3, %47
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpts0mhizn.c'
source_filename = "/tmp/tmpts0mhizn.c"
target datalayout = "e-m:e-p270: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 @CountParents(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %23, %1
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %6, %9
br i1 %10, label %11, label %26
11: ; preds = %5
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, 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 = icmp eq i32 %17, 10
br i1 %18, label %19, label %22
19: ; preds = %11
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %19, %11
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpts0mhizn.c"
target datalayout = "e-m:e-p270: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 @CountParents(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %5, %8
br i1 %9, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %22
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 10
br i1 %17, label %18, label %21
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %18, %10
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = load ptr, ptr %2, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = trunc i64 %27 to i32
%29 = icmp slt i32 %25, %28
br i1 %29, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %30
30: ; preds = %._crit_edge, %1
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmv66fr_u.c'
source_filename = "/tmp/tmpmv66fr_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local x86_fp80 @logl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call x86_fp80 @log(double noundef %4)
ret x86_fp80 %5
}
declare x86_fp80 @log(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/tmpmv66fr_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local x86_fp80 @logl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call x86_fp80 @log(double noundef %4)
ret x86_fp80 %5
}
declare x86_fp80 @log(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/tmprhwdbuxo.c'
source_filename = "/tmp/tmprhwdbuxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 3
br i1 %4, label %8, label %5
5: ; preds = %0
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 4
br label %8
8: ; preds = %5, %0
%9 = phi i1 [ true, %0 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @__ESBMC_assume(i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @f(i32 noundef %12)
switch i32 %13, label %24 [
i32 4, label %14
i32 5, label %19
]
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 3
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
br label %26
19: ; preds = %8
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 4
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
br label %26
24: ; preds = %8
%25 = call i32 @assert(i32 noundef 0)
br label %26
26: ; preds = %24, %19, %14
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @__ESBMC_assume(i32 noundef) #1
declare i32 @f(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprhwdbuxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 3
br i1 %4, label %8, label %5
5: ; preds = %0
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 4
br label %8
8: ; preds = %5, %0
%9 = phi i1 [ true, %0 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @__ESBMC_assume(i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @f(i32 noundef %12)
switch i32 %13, label %24 [
i32 4, label %14
i32 5, label %19
]
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 3
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
br label %26
19: ; preds = %8
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 4
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
br label %26
24: ; preds = %8
%25 = call i32 @assert(i32 noundef 0)
br label %26
26: ; preds = %24, %19, %14
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @__ESBMC_assume(i32 noundef) #1
declare i32 @f(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk5dnoxyy.c'
source_filename = "/tmp/tmpk5dnoxyy.c"
target datalayout = "e-m:e-p270: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.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @date_get_hour() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef null)
store i32 %3, ptr %1, align 4
%4 = call ptr @localtime(ptr noundef %1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0
%7 = load i32, ptr %6, align 4
ret i32 %7
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(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/tmpk5dnoxyy.c"
target datalayout = "e-m:e-p270: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.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @date_get_hour() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef null)
store i32 %3, ptr %1, align 4
%4 = call ptr @localtime(ptr noundef %1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0
%7 = load i32, ptr %6, align 4
ret i32 %7
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(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/tmpq78vnhnv.c'
source_filename = "/tmp/tmpq78vnhnv.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xgravity_event(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq78vnhnv.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xgravity_event(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ly_b_nj.c'
source_filename = "/tmp/tmp3ly_b_nj.c"
target datalayout = "e-m:e-p270: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 @__udivsi3(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
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/tmp3ly_b_nj.c"
target datalayout = "e-m:e-p270: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 @__udivsi3(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
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/tmpsy23rft7.c'
source_filename = "/tmp/tmpsy23rft7.c"
target datalayout = "e-m:e-p270: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 @tosString_locateSubString(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load ptr, ptr %5, align 8
%13 = call ptr @strstr(ptr noundef %11, ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %3
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
br label %23
22: ; preds = %3
br label %23
23: ; preds = %22, %16
%24 = phi i64 [ %21, %16 ], [ -1, %22 ]
%25 = trunc i64 %24 to i32
ret i32 %25
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsy23rft7.c"
target datalayout = "e-m:e-p270: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 @tosString_locateSubString(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load ptr, ptr %5, align 8
%13 = call ptr @strstr(ptr noundef %11, ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %3
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
br label %23
22: ; preds = %3
br label %23
23: ; preds = %22, %16
%24 = phi i64 [ %21, %16 ], [ -1, %22 ]
%25 = trunc i64 %24 to i32
ret i32 %25
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp56_iwug4.c'
source_filename = "/tmp/tmp56_iwug4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cf_socket_server(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 12, ptr %6, align 4
store i32 -1, ptr %7, align 4
%8 = call i32 @bzero(ptr noundef %4, i32 noundef 12)
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = call i32 @htonl(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @htons(i32 noundef %15)
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
store i32 %16, ptr %17, align 4
%18 = load i32, ptr @AF_INET, align 4
%19 = load i32, ptr @SOCK_STREAM, align 4
%20 = call i32 @socket(i32 noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %1
store i32 -1, ptr %2, align 4
br label %44
24: ; preds = %1
%25 = load i32, ptr %7, align 4
%26 = call i32 @bind(i32 noundef %25, ptr noundef %4, i32 noundef 12)
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 -1, ptr %2, align 4
br label %44
30: ; preds = %24
%31 = load i32, ptr %7, align 4
%32 = call i32 @getsockname(i32 noundef %31, ptr noundef %4, ptr noundef %6)
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %36
35: ; preds = %30
store i32 -1, ptr %2, align 4
br label %44
36: ; preds = %30
%37 = load i32, ptr %7, align 4
%38 = call i32 @listen(i32 noundef %37, i32 noundef 5)
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %41, label %42
41: ; preds = %36
store i32 -1, ptr %2, align 4
br label %44
42: ; preds = %36
%43 = load i32, ptr %7, align 4
store i32 %43, ptr %2, align 4
br label %44
44: ; preds = %42, %41, %35, %29, %23
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @listen(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/tmp56_iwug4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cf_socket_server(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 12, ptr %6, align 4
store i32 -1, ptr %7, align 4
%8 = call i32 @bzero(ptr noundef %4, i32 noundef 12)
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = call i32 @htonl(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @htons(i32 noundef %15)
%17 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
store i32 %16, ptr %17, align 4
%18 = load i32, ptr @AF_INET, align 4
%19 = load i32, ptr @SOCK_STREAM, align 4
%20 = call i32 @socket(i32 noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %1
store i32 -1, ptr %2, align 4
br label %44
24: ; preds = %1
%25 = load i32, ptr %7, align 4
%26 = call i32 @bind(i32 noundef %25, ptr noundef %4, i32 noundef 12)
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 -1, ptr %2, align 4
br label %44
30: ; preds = %24
%31 = load i32, ptr %7, align 4
%32 = call i32 @getsockname(i32 noundef %31, ptr noundef %4, ptr noundef %6)
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %36
35: ; preds = %30
store i32 -1, ptr %2, align 4
br label %44
36: ; preds = %30
%37 = load i32, ptr %7, align 4
%38 = call i32 @listen(i32 noundef %37, i32 noundef 5)
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %41, label %42
41: ; preds = %36
store i32 -1, ptr %2, align 4
br label %44
42: ; preds = %36
%43 = load i32, ptr %7, align 4
store i32 %43, ptr %2, align 4
br label %44
44: ; preds = %42, %41, %35, %29, %23
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @listen(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/tmpllj8kk0y.c'
source_filename = "/tmp/tmpllj8kk0y.c"
target datalayout = "e-m:e-p270: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/tmpllj8kk0y.c"
target datalayout = "e-m:e-p270: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/tmpbn90d6e1.c'
source_filename = "/tmp/tmpbn90d6e1.c"
target datalayout = "e-m:e-p270: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/tmpbn90d6e1.c"
target datalayout = "e-m:e-p270: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/tmpo58xpzxg.c'
source_filename = "/tmp/tmpo58xpzxg.c"
target datalayout = "e-m:e-p270: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 @xxrealloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpo58xpzxg.c"
target datalayout = "e-m:e-p270: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 @xxrealloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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_qv42hx6.c'
source_filename = "/tmp/tmp_qv42hx6.c"
target datalayout = "e-m:e-p270: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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %5, %6
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_qv42hx6.c"
target datalayout = "e-m:e-p270: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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %5, %6
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp30rtj_9y.c'
source_filename = "/tmp/tmp30rtj_9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFLNK = dso_local global i32 0, align 4
@S_IFMT = 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/tmp30rtj_9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFLNK = dso_local global i32 0, align 4
@S_IFMT = 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/tmp9qfuw2ch.c'
source_filename = "/tmp/tmp9qfuw2ch.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"enter foo(%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"return from foo(%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @demo_throw(i32 noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.1, i32 noundef %9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @demo_throw(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/tmp9qfuw2ch.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"enter foo(%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"return from foo(%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @demo_throw(i32 noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.1, i32 noundef %9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @demo_throw(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/tmp0xjutfh3.c'
source_filename = "/tmp/tmp0xjutfh3.c"
target datalayout = "e-m:e-p270: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 float @clip(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %5, align 4
%8 = load float, ptr %4, align 4
%9 = load float, ptr %6, align 4
%10 = call i32 @min_f(float noundef %8, float noundef %9)
%11 = call float @max_f(float noundef %7, i32 noundef %10)
ret float %11
}
declare float @max_f(float noundef, i32 noundef) #1
declare i32 @min_f(float 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/tmp0xjutfh3.c"
target datalayout = "e-m:e-p270: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 float @clip(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %5, align 4
%8 = load float, ptr %4, align 4
%9 = load float, ptr %6, align 4
%10 = call i32 @min_f(float noundef %8, float noundef %9)
%11 = call float @max_f(float noundef %7, i32 noundef %10)
ret float %11
}
declare float @max_f(float noundef, i32 noundef) #1
declare i32 @min_f(float 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/tmp5xwtn7lk.c'
source_filename = "/tmp/tmp5xwtn7lk.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@.str = private unnamed_addr constant [56 x i8] c"Out Of Memory: could not allocate space for the array.\0A\00", align 1
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Overhead for random write\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Keep result: n = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Write random\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Runtime: %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [87 x i8] c"Finished allocating %d MB memory (%d ints) and filling the array in a random manner.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mem_write_random(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca %struct.timespec, align 4
%12 = alloca %struct.timespec, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = mul i32 %15, 1048576
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = udiv i64 %18, 4
%20 = trunc i64 %19 to i32
store i32 %20, ptr %8, align 4
store double 0.000000e+00, ptr %10, align 8
%21 = call i64 @time(ptr noundef null)
%22 = trunc i64 %21 to i32
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %13, align 8
%26 = load ptr, ptr %13, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %30
28: ; preds = %1
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %94
30: ; preds = %1
%31 = load i32, ptr %6, align 4
%32 = call i32 @srand(i32 noundef %31)
%33 = load i32, ptr @CLOCK_MONOTONIC, align 4
%34 = call i32 @clock_gettime(i32 noundef %33, ptr noundef %11)
store i32 0, ptr %4, align 4
br label %35
35: ; preds = %43, %30
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %46
39: ; preds = %35
%40 = call i32 (...) @rand()
%41 = load i32, ptr %8, align 4
%42 = srem i32 %40, %41
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %39
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %4, align 4
br label %35, !llvm.loop !6
46: ; preds = %35
%47 = load i32, ptr @CLOCK_MONOTONIC, align 4
%48 = call i32 @clock_gettime(i32 noundef %47, ptr noundef %12)
%49 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%50 = load i32, ptr %49, align 4
%51 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = call double @elapsed_time_hr(i32 %50, i32 %52, ptr noundef @.str.1)
store double %53, ptr %9, align 8
%54 = load i32, ptr %5, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %54)
%56 = load i32, ptr %6, align 4
%57 = call i32 @srand(i32 noundef %56)
%58 = call i32 (...) @rand()
store i32 %58, ptr %14, align 4
%59 = load i32, ptr @CLOCK_MONOTONIC, align 4
%60 = call i32 @clock_gettime(i32 noundef %59, ptr noundef %11)
store i32 0, ptr %4, align 4
br label %61
61: ; preds = %74, %46
%62 = load i32, ptr %4, align 4
%63 = load i32, ptr %8, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %77
65: ; preds = %61
%66 = call i32 (...) @rand()
%67 = load i32, ptr %8, align 4
%68 = srem i32 %66, %67
store i32 %68, ptr %5, align 4
%69 = load i32, ptr %14, align 4
%70 = load ptr, ptr %13, align 8
%71 = load i32, ptr %5, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
store i32 %69, ptr %73, align 4
br label %74
74: ; preds = %65
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %4, align 4
br label %61, !llvm.loop !8
77: ; preds = %61
%78 = load i32, ptr @CLOCK_MONOTONIC, align 4
%79 = call i32 @clock_gettime(i32 noundef %78, ptr noundef %12)
%80 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%81 = load i32, ptr %80, align 4
%82 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%83 = load i32, ptr %82, align 4
%84 = call double @elapsed_time_hr(i32 %81, i32 %83, ptr noundef @.str.3)
store double %84, ptr %10, align 8
%85 = load double, ptr %10, align 8
%86 = load double, ptr %9, align 8
%87 = fsub double %85, %86
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %87)
%89 = load i32, ptr %3, align 4
%90 = load i32, ptr %8, align 4
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %89, i32 noundef %90)
%92 = load ptr, ptr %13, align 8
%93 = call i32 @free(ptr noundef %92)
store i32 0, ptr %2, align 4
br label %94
94: ; preds = %77, %28
%95 = load i32, ptr %2, align 4
ret i32 %95
}
declare i64 @time(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @rand(...) #1
declare double @elapsed_time_hr(i32, i32, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5xwtn7lk.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@.str = private unnamed_addr constant [56 x i8] c"Out Of Memory: could not allocate space for the array.\0A\00", align 1
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Overhead for random write\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Keep result: n = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Write random\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Runtime: %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [87 x i8] c"Finished allocating %d MB memory (%d ints) and filling the array in a random manner.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mem_write_random(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca %struct.timespec, align 4
%12 = alloca %struct.timespec, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = mul i32 %15, 1048576
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = udiv i64 %18, 4
%20 = trunc i64 %19 to i32
store i32 %20, ptr %8, align 4
store double 0.000000e+00, ptr %10, align 8
%21 = call i64 @time(ptr noundef null)
%22 = trunc i64 %21 to i32
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %13, align 8
%26 = load ptr, ptr %13, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %30
28: ; preds = %1
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %98
30: ; preds = %1
%31 = load i32, ptr %6, align 4
%32 = call i32 @srand(i32 noundef %31)
%33 = load i32, ptr @CLOCK_MONOTONIC, align 4
%34 = call i32 @clock_gettime(i32 noundef %33, ptr noundef %11)
store i32 0, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph, label %48
.lr.ph: ; preds = %30
br label %38
38: ; preds = %.lr.ph, %42
%39 = call i32 (...) @rand()
%40 = load i32, ptr %8, align 4
%41 = srem i32 %39, %40
store i32 %41, ptr %5, align 4
br label %42
42: ; preds = %38
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %30
%49 = load i32, ptr @CLOCK_MONOTONIC, align 4
%50 = call i32 @clock_gettime(i32 noundef %49, ptr noundef %12)
%51 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%54 = load i32, ptr %53, align 4
%55 = call double @elapsed_time_hr(i32 %52, i32 %54, ptr noundef @.str.1)
store double %55, ptr %9, align 8
%56 = load i32, ptr %5, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %56)
%58 = load i32, ptr %6, align 4
%59 = call i32 @srand(i32 noundef %58)
%60 = call i32 (...) @rand()
store i32 %60, ptr %14, align 4
%61 = load i32, ptr @CLOCK_MONOTONIC, align 4
%62 = call i32 @clock_gettime(i32 noundef %61, ptr noundef %11)
store i32 0, ptr %4, align 4
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %8, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph2, label %81
.lr.ph2: ; preds = %48
br label %66
66: ; preds = %.lr.ph2, %75
%67 = call i32 (...) @rand()
%68 = load i32, ptr %8, align 4
%69 = srem i32 %67, %68
store i32 %69, ptr %5, align 4
%70 = load i32, ptr %14, align 4
%71 = load ptr, ptr %13, align 8
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
store i32 %70, ptr %74, align 4
br label %75
75: ; preds = %66
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %4, align 4
%78 = load i32, ptr %4, align 4
%79 = load i32, ptr %8, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %66, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %81
81: ; preds = %._crit_edge3, %48
%82 = load i32, ptr @CLOCK_MONOTONIC, align 4
%83 = call i32 @clock_gettime(i32 noundef %82, ptr noundef %12)
%84 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%85 = load i32, ptr %84, align 4
%86 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%87 = load i32, ptr %86, align 4
%88 = call double @elapsed_time_hr(i32 %85, i32 %87, ptr noundef @.str.3)
store double %88, ptr %10, align 8
%89 = load double, ptr %10, align 8
%90 = load double, ptr %9, align 8
%91 = fsub double %89, %90
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %91)
%93 = load i32, ptr %3, align 4
%94 = load i32, ptr %8, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %93, i32 noundef %94)
%96 = load ptr, ptr %13, align 8
%97 = call i32 @free(ptr noundef %96)
store i32 0, ptr %2, align 4
br label %98
98: ; preds = %81, %28
%99 = load i32, ptr %2, align 4
ret i32 %99
}
declare i64 @time(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @rand(...) #1
declare double @elapsed_time_hr(i32, i32, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplgmthp4a.c'
source_filename = "/tmp/tmplgmthp4a.c"
target datalayout = "e-m:e-p270: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 @print_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplgmthp4a.c"
target datalayout = "e-m:e-p270: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 @print_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3)
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"}
|
; ModuleID = '/tmp/tmpwl3nyyp6.c'
source_filename = "/tmp/tmpwl3nyyp6.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"misaligned (__u16 *) in __xchg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__misaligned_u16() #0 {
%1 = call i32 @panic(ptr noundef @.str)
ret void
}
declare i32 @panic(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/tmpwl3nyyp6.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"misaligned (__u16 *) in __xchg\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__misaligned_u16() #0 {
%1 = call i32 @panic(ptr noundef @.str)
ret void
}
declare i32 @panic(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/tmpe15lurch.c'
source_filename = "/tmp/tmpe15lurch.c"
target datalayout = "e-m:e-p270: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/tmpe15lurch.c"
target datalayout = "e-m:e-p270: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/tmp4u3_fvj7.c'
source_filename = "/tmp/tmp4u3_fvj7.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"<td colspan=99><table border=1><tr>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @element_table_opening_output(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4u3_fvj7.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"<td colspan=99><table border=1><tr>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @element_table_opening_output(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
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"}
|
; ModuleID = '/tmp/tmpwjtikvu1.c'
source_filename = "/tmp/tmpwjtikvu1.c"
target datalayout = "e-m:e-p270: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 @test8(double noundef %0, i64 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i64, align 8
store double %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call double @scalbln(double noundef %5, i64 noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @scalbln(double noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpwjtikvu1.c"
target datalayout = "e-m:e-p270: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 @test8(double noundef %0, i64 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i64, align 8
store double %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call double @scalbln(double noundef %5, i64 noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @scalbln(double noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpxofcsvkx.c'
source_filename = "/tmp/tmpxofcsvkx.c"
target datalayout = "e-m:e-p270: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 @PtoPi(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
store ptr %12, ptr %11, align 8
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %23, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
%17 = icmp slt i32 %14, %16
br i1 %17, label %18, label %26
18: ; preds = %13
%19 = load ptr, ptr %11, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
store double 1.000000e+00, ptr %22, align 8
br label %23
23: ; preds = %18
%24 = load i32, ptr %9, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %9, align 4
br label %13, !llvm.loop !6
26: ; preds = %13
store i32 1, ptr %9, align 4
br label %27
27: ; preds = %74, %26
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %77
31: ; preds = %27
store i32 0, ptr %10, align 4
br label %32
32: ; preds = %61, %31
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %64
36: ; preds = %32
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %7, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %40, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %37, i64 %43
%45 = load double, ptr %44, align 8
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %10, align 4
%48 = icmp eq i32 %46, %47
%49 = zext i1 %48 to i32
%50 = sitofp i32 %49 to double
%51 = fsub double %45, %50
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
%56 = mul nsw i32 %53, %55
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %52, i64 %59
store double %51, ptr %60, align 8
br label %61
61: ; preds = %36
%62 = load i32, ptr %10, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %10, align 4
br label %32, !llvm.loop !8
64: ; preds = %32
%65 = load ptr, ptr %11, align 8
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
%69 = mul nsw i32 %66, %68
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %65, i64 %72
store double 0.000000e+00, ptr %73, align 8
br label %74
74: ; preds = %64
%75 = load i32, ptr %9, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %9, align 4
br label %27, !llvm.loop !9
77: ; preds = %27
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
%82 = load ptr, ptr %6, align 8
%83 = call i32 @matinv(ptr noundef %78, i32 noundef %79, i32 noundef %81, ptr noundef %82)
store i32 0, ptr %9, align 4
br label %84
84: ; preds = %103, %77
%85 = load i32, ptr %9, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %106
88: ; preds = %84
%89 = load ptr, ptr %11, align 8
%90 = load i32, ptr %9, align 4
%91 = load i32, ptr %7, align 4
%92 = add nsw i32 %91, 1
%93 = mul nsw i32 %90, %92
%94 = load i32, ptr %7, align 4
%95 = add nsw i32 %93, %94
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %89, i64 %96
%98 = load double, ptr %97, align 8
%99 = load ptr, ptr %6, align 8
%100 = load i32, ptr %9, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %99, i64 %101
store double %98, ptr %102, align 8
br label %103
103: ; preds = %88
%104 = load i32, ptr %9, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %9, align 4
br label %84, !llvm.loop !10
106: ; preds = %84
ret i32 0
}
declare i32 @matinv(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpxofcsvkx.c"
target datalayout = "e-m:e-p270: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 @PtoPi(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
store ptr %12, ptr %11, align 8
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %14, 1
%16 = icmp slt i32 %13, %15
br i1 %16, label %.lr.ph, label %29
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %22
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
store double 1.000000e+00, ptr %21, align 8
br label %22
22: ; preds = %17
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
%28 = icmp slt i32 %25, %27
br i1 %28, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %4
store i32 1, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph5, label %84
.lr.ph5: ; preds = %29
br label %33
33: ; preds = %.lr.ph5, %78
store i32 0, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %68
.lr.ph2: ; preds = %33
br label %37
37: ; preds = %.lr.ph2, %62
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %7, align 4
%41 = mul nsw i32 %39, %40
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %41, %42
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %38, i64 %44
%46 = load double, ptr %45, align 8
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %47, %48
%50 = zext i1 %49 to i32
%51 = sitofp i32 %50 to double
%52 = fsub double %46, %51
%53 = load ptr, ptr %11, align 8
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
%57 = mul nsw i32 %54, %56
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %57, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %53, i64 %60
store double %52, ptr %61, align 8
br label %62
62: ; preds = %37
%63 = load i32, ptr %10, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %10, align 4
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %33
%69 = load ptr, ptr %11, align 8
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr %7, align 4
%72 = add nsw i32 %71, 1
%73 = mul nsw i32 %70, %72
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %73, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %69, i64 %76
store double 0.000000e+00, ptr %77, align 8
br label %78
78: ; preds = %68
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = load i32, ptr %7, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %78
br label %84
84: ; preds = %._crit_edge6, %29
%85 = load ptr, ptr %11, align 8
%86 = load i32, ptr %7, align 4
%87 = load i32, ptr %7, align 4
%88 = add nsw i32 %87, 1
%89 = load ptr, ptr %6, align 8
%90 = call i32 @matinv(ptr noundef %85, i32 noundef %86, i32 noundef %88, ptr noundef %89)
store i32 0, ptr %9, align 4
%91 = load i32, ptr %9, align 4
%92 = load i32, ptr %7, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %.lr.ph8, label %115
.lr.ph8: ; preds = %84
br label %94
94: ; preds = %.lr.ph8, %109
%95 = load ptr, ptr %11, align 8
%96 = load i32, ptr %9, align 4
%97 = load i32, ptr %7, align 4
%98 = add nsw i32 %97, 1
%99 = mul nsw i32 %96, %98
%100 = load i32, ptr %7, align 4
%101 = add nsw i32 %99, %100
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %95, i64 %102
%104 = load double, ptr %103, align 8
%105 = load ptr, ptr %6, align 8
%106 = load i32, ptr %9, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %105, i64 %107
store double %104, ptr %108, align 8
br label %109
109: ; preds = %94
%110 = load i32, ptr %9, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %9, align 4
%112 = load i32, ptr %9, align 4
%113 = load i32, ptr %7, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %94, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %109
br label %115
115: ; preds = %._crit_edge9, %84
ret i32 0
}
declare i32 @matinv(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpn9lln5vz.c'
source_filename = "/tmp/tmpn9lln5vz.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%11 = load float, ptr %7, align 4
%12 = fpext float %11 to double
%13 = fmul double %12, 1.000000e-02
%14 = fptrunc double %13 to float
store float %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %49, %0
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %52
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %37
23: ; preds = %20
%24 = load i32, ptr %6, align 4
%25 = srem i32 %24, 2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %36
27: ; preds = %23
%28 = load i32, ptr %4, align 4
%29 = sitofp i32 %28 to float
%30 = load i32, ptr %4, align 4
%31 = sitofp i32 %30 to float
%32 = load float, ptr %7, align 4
%33 = fneg float %31
%34 = call float @llvm.fmuladd.f32(float %33, float %32, float %29)
%35 = fptosi float %34 to i32
store i32 %35, ptr %4, align 4
br label %36
36: ; preds = %27, %23
br label %37
37: ; preds = %36, %20
%38 = load i32, ptr %3, align 4
%39 = sitofp i32 %38 to float
%40 = load i32, ptr %5, align 4
%41 = sitofp i32 %40 to float
%42 = load i32, ptr %4, align 4
%43 = sitofp i32 %42 to float
%44 = load float, ptr %7, align 4
%45 = fneg float %43
%46 = call float @llvm.fmuladd.f32(float %45, float %44, float %41)
%47 = fadd float %39, %46
%48 = fptosi float %47 to i32
store i32 %48, ptr %3, align 4
br label %49
49: ; preds = %37
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %16, !llvm.loop !6
52: ; preds = %16
%53 = load i32, ptr %3, align 4
%54 = call i32 @printf(ptr noundef @.str, i32 noundef %53)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn9lln5vz.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%11 = load float, ptr %7, align 4
%12 = fpext float %11 to double
%13 = fmul double %12, 1.000000e-02
%14 = fptrunc double %13 to float
store float %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %4, align 4
store i32 0, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %54
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %48
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = load i32, ptr %6, align 4
%24 = srem i32 %23, 2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load i32, ptr %4, align 4
%28 = sitofp i32 %27 to float
%29 = load i32, ptr %4, align 4
%30 = sitofp i32 %29 to float
%31 = load float, ptr %7, align 4
%32 = fneg float %30
%33 = call float @llvm.fmuladd.f32(float %32, float %31, float %28)
%34 = fptosi float %33 to i32
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %26, %22
br label %36
36: ; preds = %35, %19
%37 = load i32, ptr %3, align 4
%38 = sitofp i32 %37 to float
%39 = load i32, ptr %5, align 4
%40 = sitofp i32 %39 to float
%41 = load i32, ptr %4, align 4
%42 = sitofp i32 %41 to float
%43 = load float, ptr %7, align 4
%44 = fneg float %42
%45 = call float @llvm.fmuladd.f32(float %44, float %43, float %40)
%46 = fadd float %38, %45
%47 = fptosi float %46 to i32
store i32 %47, ptr %3, align 4
br label %48
48: ; preds = %36
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %2, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %0
%55 = load i32, ptr %3, align 4
%56 = call i32 @printf(ptr noundef @.str, i32 noundef %55)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjt4h1z9p.c'
source_filename = "/tmp/tmpjt4h1z9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"11\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_simple() #0 {
%1 = call i32 @evaluate_postfix(ptr noundef @.str)
%2 = icmp eq i32 %1, 1
%3 = zext i1 %2 to i32
%4 = call i32 @assert(i32 noundef %3)
%5 = call i32 @evaluate_postfix(ptr noundef @.str.1)
%6 = icmp eq i32 %5, 11
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @evaluate_postfix(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/tmpjt4h1z9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"11\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_simple() #0 {
%1 = call i32 @evaluate_postfix(ptr noundef @.str)
%2 = icmp eq i32 %1, 1
%3 = zext i1 %2 to i32
%4 = call i32 @assert(i32 noundef %3)
%5 = call i32 @evaluate_postfix(ptr noundef @.str.1)
%6 = icmp eq i32 %5, 11
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @evaluate_postfix(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/tmpjqsfihq8.c'
source_filename = "/tmp/tmpjqsfihq8.c"
target datalayout = "e-m:e-p270: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 @__wcschr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 1
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %3, align 8
br label %134
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %3, align 8
br label %134
20: ; preds = %15
br label %21
21: ; preds = %129, %20
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 2
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %3, align 8
br label %134
30: ; preds = %21
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %30
store ptr null, ptr %3, align 8
br label %134
35: ; preds = %30
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 2
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %44
42: ; preds = %35
%43 = load ptr, ptr %4, align 8
store ptr %43, ptr %3, align 8
br label %134
44: ; preds = %35
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %45, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
store ptr null, ptr %3, align 8
br label %134
49: ; preds = %44
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 2
store ptr %51, ptr %4, align 8
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %58
56: ; preds = %49
%57 = load ptr, ptr %6, align 8
store ptr %57, ptr %3, align 8
br label %134
58: ; preds = %49
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %59, align 4
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store ptr null, ptr %3, align 8
br label %134
63: ; preds = %58
%64 = load ptr, ptr %6, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 2
store ptr %65, ptr %6, align 8
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %66, align 4
%68 = load i32, ptr %5, align 4
%69 = icmp eq i32 %67, %68
br i1 %69, label %70, label %72
70: ; preds = %63
%71 = load ptr, ptr %4, align 8
store ptr %71, ptr %3, align 8
br label %134
72: ; preds = %63
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %73, align 4
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %72
store ptr null, ptr %3, align 8
br label %134
77: ; preds = %72
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds i32, ptr %78, i64 2
store ptr %79, ptr %4, align 8
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %80, align 4
%82 = load i32, ptr %5, align 4
%83 = icmp eq i32 %81, %82
br i1 %83, label %84, label %86
84: ; preds = %77
%85 = load ptr, ptr %6, align 8
store ptr %85, ptr %3, align 8
br label %134
86: ; preds = %77
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %87, align 4
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %86
store ptr null, ptr %3, align 8
br label %134
91: ; preds = %86
%92 = load ptr, ptr %6, align 8
%93 = getelementptr inbounds i32, ptr %92, i64 2
store ptr %93, ptr %6, align 8
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %94, align 4
%96 = load i32, ptr %5, align 4
%97 = icmp eq i32 %95, %96
br i1 %97, label %98, label %100
98: ; preds = %91
%99 = load ptr, ptr %4, align 8
store ptr %99, ptr %3, align 8
br label %134
100: ; preds = %91
%101 = load ptr, ptr %4, align 8
%102 = load i32, ptr %101, align 4
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %100
store ptr null, ptr %3, align 8
br label %134
105: ; preds = %100
%106 = load ptr, ptr %4, align 8
%107 = getelementptr inbounds i32, ptr %106, i64 2
store ptr %107, ptr %4, align 8
%108 = load ptr, ptr %6, align 8
%109 = load i32, ptr %108, align 4
%110 = load i32, ptr %5, align 4
%111 = icmp eq i32 %109, %110
br i1 %111, label %112, label %114
112: ; preds = %105
%113 = load ptr, ptr %6, align 8
store ptr %113, ptr %3, align 8
br label %134
114: ; preds = %105
%115 = load ptr, ptr %6, align 8
%116 = load i32, ptr %115, align 4
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %119
118: ; preds = %114
store ptr null, ptr %3, align 8
br label %134
119: ; preds = %114
%120 = load ptr, ptr %6, align 8
%121 = getelementptr inbounds i32, ptr %120, i64 2
store ptr %121, ptr %6, align 8
%122 = load ptr, ptr %4, align 8
%123 = load i32, ptr %122, align 4
%124 = load i32, ptr %5, align 4
%125 = icmp eq i32 %123, %124
br i1 %125, label %126, label %128
126: ; preds = %119
%127 = load ptr, ptr %4, align 8
store ptr %127, ptr %3, align 8
br label %134
128: ; preds = %119
br label %129
129: ; preds = %128
%130 = load ptr, ptr %4, align 8
%131 = load i32, ptr %130, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %21, label %133, !llvm.loop !6
133: ; preds = %129
store ptr null, ptr %3, align 8
br label %134
134: ; preds = %133, %126, %118, %112, %104, %98, %90, %84, %76, %70, %62, %56, %48, %42, %34, %28, %19, %13
%135 = load ptr, ptr %3, align 8
ret ptr %135
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjqsfihq8.c"
target datalayout = "e-m:e-p270: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 @__wcschr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 1
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %3, align 8
br label %134
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %3, align 8
br label %134
20: ; preds = %15
br label %21
21: ; preds = %129, %20
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 2
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %3, align 8
br label %134
30: ; preds = %21
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %30
store ptr null, ptr %3, align 8
br label %134
35: ; preds = %30
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 2
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %44
42: ; preds = %35
%43 = load ptr, ptr %4, align 8
store ptr %43, ptr %3, align 8
br label %134
44: ; preds = %35
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %45, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
store ptr null, ptr %3, align 8
br label %134
49: ; preds = %44
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 2
store ptr %51, ptr %4, align 8
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %58
56: ; preds = %49
%57 = load ptr, ptr %6, align 8
store ptr %57, ptr %3, align 8
br label %134
58: ; preds = %49
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %59, align 4
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store ptr null, ptr %3, align 8
br label %134
63: ; preds = %58
%64 = load ptr, ptr %6, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 2
store ptr %65, ptr %6, align 8
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %66, align 4
%68 = load i32, ptr %5, align 4
%69 = icmp eq i32 %67, %68
br i1 %69, label %70, label %72
70: ; preds = %63
%71 = load ptr, ptr %4, align 8
store ptr %71, ptr %3, align 8
br label %134
72: ; preds = %63
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %73, align 4
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %72
store ptr null, ptr %3, align 8
br label %134
77: ; preds = %72
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds i32, ptr %78, i64 2
store ptr %79, ptr %4, align 8
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %80, align 4
%82 = load i32, ptr %5, align 4
%83 = icmp eq i32 %81, %82
br i1 %83, label %84, label %86
84: ; preds = %77
%85 = load ptr, ptr %6, align 8
store ptr %85, ptr %3, align 8
br label %134
86: ; preds = %77
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %87, align 4
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %86
store ptr null, ptr %3, align 8
br label %134
91: ; preds = %86
%92 = load ptr, ptr %6, align 8
%93 = getelementptr inbounds i32, ptr %92, i64 2
store ptr %93, ptr %6, align 8
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %94, align 4
%96 = load i32, ptr %5, align 4
%97 = icmp eq i32 %95, %96
br i1 %97, label %98, label %100
98: ; preds = %91
%99 = load ptr, ptr %4, align 8
store ptr %99, ptr %3, align 8
br label %134
100: ; preds = %91
%101 = load ptr, ptr %4, align 8
%102 = load i32, ptr %101, align 4
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %100
store ptr null, ptr %3, align 8
br label %134
105: ; preds = %100
%106 = load ptr, ptr %4, align 8
%107 = getelementptr inbounds i32, ptr %106, i64 2
store ptr %107, ptr %4, align 8
%108 = load ptr, ptr %6, align 8
%109 = load i32, ptr %108, align 4
%110 = load i32, ptr %5, align 4
%111 = icmp eq i32 %109, %110
br i1 %111, label %112, label %114
112: ; preds = %105
%113 = load ptr, ptr %6, align 8
store ptr %113, ptr %3, align 8
br label %134
114: ; preds = %105
%115 = load ptr, ptr %6, align 8
%116 = load i32, ptr %115, align 4
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %119
118: ; preds = %114
store ptr null, ptr %3, align 8
br label %134
119: ; preds = %114
%120 = load ptr, ptr %6, align 8
%121 = getelementptr inbounds i32, ptr %120, i64 2
store ptr %121, ptr %6, align 8
%122 = load ptr, ptr %4, align 8
%123 = load i32, ptr %122, align 4
%124 = load i32, ptr %5, align 4
%125 = icmp eq i32 %123, %124
br i1 %125, label %126, label %128
126: ; preds = %119
%127 = load ptr, ptr %4, align 8
store ptr %127, ptr %3, align 8
br label %134
128: ; preds = %119
br label %129
129: ; preds = %128
%130 = load ptr, ptr %4, align 8
%131 = load i32, ptr %130, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %21, label %133, !llvm.loop !6
133: ; preds = %129
store ptr null, ptr %3, align 8
br label %134
134: ; preds = %133, %126, %118, %112, %104, %98, %90, %84, %76, %70, %62, %56, %48, %42, %34, %28, %19, %13
%135 = load ptr, ptr %3, align 8
ret ptr %135
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpf0pcz6mf.c'
source_filename = "/tmp/tmpf0pcz6mf.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32 }
@AI_CANONNAME = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"host_serv error for %s, %s: %s\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"(no hostname)\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"(no service name)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Host_serv(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 %struct.addrinfo, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = call i32 @bzero(ptr noundef %10, i32 noundef 12)
%13 = load i32, ptr @AI_CANONNAME, align 4
%14 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 2
store i32 %13, ptr %14, align 4
%15 = load i32, ptr %7, align 4
%16 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 0
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %8, align 4
%18 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 1
store i32 %17, ptr %18, align 4
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = call i32 @getaddrinfo(ptr noundef %19, ptr noundef %20, ptr noundef %10, ptr noundef %11)
store i32 %21, ptr %9, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %41
23: ; preds = %4
%24 = load ptr, ptr %5, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %23
br label %29
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
br label %29
29: ; preds = %27, %26
%30 = phi ptr [ @.str.1, %26 ], [ %28, %27 ]
%31 = load ptr, ptr %6, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %29
br label %36
34: ; preds = %29
%35 = load ptr, ptr %6, align 8
br label %36
36: ; preds = %34, %33
%37 = phi ptr [ @.str.2, %33 ], [ %35, %34 ]
%38 = load i32, ptr %9, align 4
%39 = call i32 @gai_strerror(i32 noundef %38)
%40 = call i32 @err_quit(ptr noundef @.str, ptr noundef %30, ptr noundef %37, i32 noundef %39)
br label %41
41: ; preds = %36, %4
%42 = load ptr, ptr %11, align 8
ret ptr %42
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @err_quit(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gai_strerror(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/tmpf0pcz6mf.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32 }
@AI_CANONNAME = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"host_serv error for %s, %s: %s\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"(no hostname)\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"(no service name)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Host_serv(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 %struct.addrinfo, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = call i32 @bzero(ptr noundef %10, i32 noundef 12)
%13 = load i32, ptr @AI_CANONNAME, align 4
%14 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 2
store i32 %13, ptr %14, align 4
%15 = load i32, ptr %7, align 4
%16 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 0
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %8, align 4
%18 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 1
store i32 %17, ptr %18, align 4
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = call i32 @getaddrinfo(ptr noundef %19, ptr noundef %20, ptr noundef %10, ptr noundef %11)
store i32 %21, ptr %9, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %41
23: ; preds = %4
%24 = load ptr, ptr %5, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %23
br label %29
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
br label %29
29: ; preds = %27, %26
%30 = phi ptr [ @.str.1, %26 ], [ %28, %27 ]
%31 = load ptr, ptr %6, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %29
br label %36
34: ; preds = %29
%35 = load ptr, ptr %6, align 8
br label %36
36: ; preds = %34, %33
%37 = phi ptr [ @.str.2, %33 ], [ %35, %34 ]
%38 = load i32, ptr %9, align 4
%39 = call i32 @gai_strerror(i32 noundef %38)
%40 = call i32 @err_quit(ptr noundef @.str, ptr noundef %30, ptr noundef %37, i32 noundef %39)
br label %41
41: ; preds = %36, %4
%42 = load ptr, ptr %11, align 8
ret ptr %42
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @err_quit(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gai_strerror(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/tmprwti33hl.c'
source_filename = "/tmp/tmprwti33hl.c"
target datalayout = "e-m:e-p270: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.tcphdr = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_tcphdr_seq_ntohl(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.tcphdr, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @ntohl(i32 noundef %5)
ret i32 %6
}
declare i32 @ntohl(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/tmprwti33hl.c"
target datalayout = "e-m:e-p270: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.tcphdr = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_tcphdr_seq_ntohl(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.tcphdr, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @ntohl(i32 noundef %5)
ret i32 %6
}
declare i32 @ntohl(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/tmp2srnc3_8.c'
source_filename = "/tmp/tmp2srnc3_8.c"
target datalayout = "e-m:e-p270: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 @nodupstring(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
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = call i64 @calloc(i32 noundef %10, i32 noundef 1)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %6, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %39, %1
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %42
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i32 @strchr(ptr noundef %18, i8 noundef signext %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %38, label %26
26: ; preds = %17
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %38
38: ; preds = %26, %17
br label %39
39: ; preds = %38
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
br label %13, !llvm.loop !6
42: ; preds = %13
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
%46 = call ptr @realloc(ptr noundef %43, i32 noundef %45)
store ptr %46, ptr %6, align 8
%47 = load ptr, ptr %6, align 8
ret ptr %47
}
declare i32 @strlen(ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2srnc3_8.c"
target datalayout = "e-m:e-p270: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 @nodupstring(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
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = call i64 @calloc(i32 noundef %10, i32 noundef 1)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %6, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %44
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %38
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call i32 @strchr(ptr noundef %17, i8 noundef signext %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %37, label %25
25: ; preds = %16
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %25, %16
br label %38
38: ; preds = %37
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %1
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
%48 = call ptr @realloc(ptr noundef %45, i32 noundef %47)
store ptr %48, ptr %6, align 8
%49 = load ptr, ptr %6, align 8
ret ptr %49
}
declare i32 @strlen(ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxf4lwzgo.c'
source_filename = "/tmp/tmpxf4lwzgo.c"
target datalayout = "e-m:e-p270: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/tmpxf4lwzgo.c"
target datalayout = "e-m:e-p270: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/tmpiz0xr8lp.c'
source_filename = "/tmp/tmpiz0xr8lp.c"
target datalayout = "e-m:e-p270: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 @strcasecmp(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %7, align 8
br label %10
10: ; preds = %26, %2
%11 = load ptr, ptr %6, align 8
%12 = load i8, ptr %11, align 1
%13 = call i32 @tolower(i8 noundef zeroext %12)
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %7, align 8
%16 = load i8, ptr %14, align 1
%17 = call i32 @tolower(i8 noundef zeroext %16)
%18 = icmp eq i32 %13, %17
br i1 %18, label %19, label %27
19: ; preds = %10
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %6, align 8
%22 = load i8, ptr %20, align 1
%23 = zext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 0, ptr %3, align 4
br label %36
26: ; preds = %19
br label %10, !llvm.loop !6
27: ; preds = %10
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = call i32 @tolower(i8 noundef zeroext %29)
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 -1
store ptr %32, ptr %7, align 8
%33 = load i8, ptr %32, align 1
%34 = call i32 @tolower(i8 noundef zeroext %33)
%35 = sub nsw i32 %30, %34
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %27, %25
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpiz0xr8lp.c"
target datalayout = "e-m:e-p270: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 @strcasecmp(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i8, ptr %10, align 1
%12 = call i32 @tolower(i8 noundef zeroext %11)
%13 = load ptr, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %7, align 8
%15 = load i8, ptr %13, align 1
%16 = call i32 @tolower(i8 noundef zeroext %15)
%17 = icmp eq i32 %12, %16
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %27
18: ; preds = %27
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = call i32 @tolower(i8 noundef zeroext %20)
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %7, align 8
%24 = load i8, ptr %22, align 1
%25 = call i32 @tolower(i8 noundef zeroext %24)
%26 = icmp eq i32 %21, %25
br i1 %26, label %27, label %._crit_edge, !llvm.loop !6
27: ; preds = %.lr.ph, %18
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %6, align 8
%30 = load i8, ptr %28, align 1
%31 = zext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %18
33: ; preds = %27
store i32 0, ptr %3, align 4
br label %43
._crit_edge: ; preds = %18
br label %34
34: ; preds = %._crit_edge, %2
%35 = load ptr, ptr %6, align 8
%36 = load i8, ptr %35, align 1
%37 = call i32 @tolower(i8 noundef zeroext %36)
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 -1
store ptr %39, ptr %7, align 8
%40 = load i8, ptr %39, align 1
%41 = call i32 @tolower(i8 noundef zeroext %40)
%42 = sub nsw i32 %37, %41
store i32 %42, ptr %3, align 4
br label %43
43: ; preds = %34, %33
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4hu2t5t1.c'
source_filename = "/tmp/tmp4hu2t5t1.c"
target datalayout = "e-m:e-p270: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/tmp4hu2t5t1.c"
target datalayout = "e-m:e-p270: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/tmplf4vhmtu.c'
source_filename = "/tmp/tmplf4vhmtu.c"
target datalayout = "e-m:e-p270: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/tmplf4vhmtu.c"
target datalayout = "e-m:e-p270: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/tmp18348nng.c'
source_filename = "/tmp/tmp18348nng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"let SCREEN_WIDTH=%d;\0Alet SCREEN_HEIGHT=%d;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dpyinfo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @DisplayWidth(ptr noundef %5, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @DisplayHeight(ptr noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %10)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @DisplayWidth(ptr noundef, i32 noundef) #1
declare i32 @DisplayHeight(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/tmp18348nng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"let SCREEN_WIDTH=%d;\0Alet SCREEN_HEIGHT=%d;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dpyinfo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @DisplayWidth(ptr noundef %5, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @DisplayHeight(ptr noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %10)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @DisplayWidth(ptr noundef, i32 noundef) #1
declare i32 @DisplayHeight(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/tmp_kbs7her.c'
source_filename = "/tmp/tmp_kbs7her.c"
target datalayout = "e-m:e-p270: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 @memory_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @strdup(ptr noundef %3)
ret ptr %4
}
declare ptr @strdup(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/tmp_kbs7her.c"
target datalayout = "e-m:e-p270: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 @memory_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @strdup(ptr noundef %3)
ret ptr %4
}
declare ptr @strdup(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/tmpfiqhikun.c'
source_filename = "/tmp/tmpfiqhikun.c"
target datalayout = "e-m:e-p270: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 @GyrGan_lc898122(i8 noundef zeroext %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i8 %0, ptr %4, align 1
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %22 [
i32 0, label %9
i32 1, label %14
i32 2, label %19
]
9: ; preds = %3
%10 = load i64, ptr %5, align 8
%11 = call i32 @RamWrite32A_lc898122(i32 noundef 4128, i64 noundef %10)
%12 = load i64, ptr %6, align 8
%13 = call i32 @RamWrite32A_lc898122(i32 noundef 4384, i64 noundef %12)
br label %22
14: ; preds = %3
%15 = load i64, ptr %5, align 8
%16 = call i32 @RamWrite32A_lc898122(i32 noundef 4128, i64 noundef %15)
%17 = load i64, ptr %6, align 8
%18 = call i32 @RamWrite32A_lc898122(i32 noundef 4384, i64 noundef %17)
br label %22
19: ; preds = %3
%20 = call i32 @RamRead32A_lc898122(i32 noundef 4128, ptr noundef %5)
%21 = call i32 @RamRead32A_lc898122(i32 noundef 4384, ptr noundef %6)
br label %22
22: ; preds = %3, %19, %14, %9
ret void
}
declare i32 @RamWrite32A_lc898122(i32 noundef, i64 noundef) #1
declare i32 @RamRead32A_lc898122(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfiqhikun.c"
target datalayout = "e-m:e-p270: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 @GyrGan_lc898122(i8 noundef zeroext %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i8 %0, ptr %4, align 1
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %22 [
i32 0, label %9
i32 1, label %14
i32 2, label %19
]
9: ; preds = %3
%10 = load i64, ptr %5, align 8
%11 = call i32 @RamWrite32A_lc898122(i32 noundef 4128, i64 noundef %10)
%12 = load i64, ptr %6, align 8
%13 = call i32 @RamWrite32A_lc898122(i32 noundef 4384, i64 noundef %12)
br label %22
14: ; preds = %3
%15 = load i64, ptr %5, align 8
%16 = call i32 @RamWrite32A_lc898122(i32 noundef 4128, i64 noundef %15)
%17 = load i64, ptr %6, align 8
%18 = call i32 @RamWrite32A_lc898122(i32 noundef 4384, i64 noundef %17)
br label %22
19: ; preds = %3
%20 = call i32 @RamRead32A_lc898122(i32 noundef 4128, ptr noundef %5)
%21 = call i32 @RamRead32A_lc898122(i32 noundef 4384, ptr noundef %6)
br label %22
22: ; preds = %19, %14, %9, %3
ret void
}
declare i32 @RamWrite32A_lc898122(i32 noundef, i64 noundef) #1
declare i32 @RamRead32A_lc898122(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgktlq2ea.c'
source_filename = "/tmp/tmpgktlq2ea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_io_cancel = 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/tmpgktlq2ea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_io_cancel = 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/tmpyuz6r1pc.c'
source_filename = "/tmp/tmpyuz6r1pc.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"svdLoadDenseArray: failed to read %s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"svdLoadDenseArray: error reading %s\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"svdLoadDenseArray: a\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c" %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @svdLoadDenseArray(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
%13 = load ptr, ptr %5, align 8
%14 = call ptr @svd_readFile(ptr noundef %13)
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = load ptr, ptr %5, align 8
%19 = call i32 @svd_error(ptr noundef @.str, ptr noundef %18)
store ptr null, ptr %4, align 8
br label %92
20: ; preds = %3
%21 = load i8, ptr %7, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load ptr, ptr %11, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @svd_readBinInt(ptr noundef %24, ptr noundef %25)
br label %38
27: ; preds = %20
%28 = load ptr, ptr %11, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %29)
%31 = icmp ne i32 %30, 1
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load ptr, ptr %5, align 8
%34 = call i32 @svd_error(ptr noundef @.str.2, ptr noundef %33)
%35 = load ptr, ptr %11, align 8
%36 = call i32 @svd_closeFile(ptr noundef %35)
store ptr null, ptr %4, align 8
br label %92
37: ; preds = %27
br label %38
38: ; preds = %37, %23
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = call ptr @svd_doubleArray(i32 noundef %41, i32 noundef 0, ptr noundef @.str.3)
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %10, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %46, label %45
45: ; preds = %38
store ptr null, ptr %4, align 8
br label %92
46: ; preds = %38
%47 = load i8, ptr %7, align 1
%48 = icmp ne i8 %47, 0
br i1 %48, label %49, label %67
49: ; preds = %46
store i32 0, ptr %8, align 4
br label %50
50: ; preds = %63, %49
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %9, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %66
54: ; preds = %50
%55 = load ptr, ptr %11, align 8
%56 = call i32 @svd_readBinFloat(ptr noundef %55, ptr noundef %12)
%57 = load float, ptr %12, align 4
%58 = fpext float %57 to double
%59 = load ptr, ptr %10, align 8
%60 = load i32, ptr %8, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
store double %58, ptr %62, align 8
br label %63
63: ; preds = %54
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %50, !llvm.loop !6
66: ; preds = %50
br label %88
67: ; preds = %46
store i32 0, ptr %8, align 4
br label %68
68: ; preds = %84, %67
%69 = load i32, ptr %8, align 4
%70 = load i32, ptr %9, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %87
72: ; preds = %68
%73 = load ptr, ptr %11, align 8
%74 = load ptr, ptr %10, align 8
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
%78 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %73, ptr noundef @.str.4, ptr noundef %77)
%79 = icmp ne i32 %78, 1
br i1 %79, label %80, label %83
80: ; preds = %72
%81 = load ptr, ptr %5, align 8
%82 = call i32 @svd_error(ptr noundef @.str.2, ptr noundef %81)
br label %87
83: ; preds = %72
br label %84
84: ; preds = %83
%85 = load i32, ptr %8, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %8, align 4
br label %68, !llvm.loop !8
87: ; preds = %80, %68
br label %88
88: ; preds = %87, %66
%89 = load ptr, ptr %11, align 8
%90 = call i32 @svd_closeFile(ptr noundef %89)
%91 = load ptr, ptr %10, align 8
store ptr %91, ptr %4, align 8
br label %92
92: ; preds = %88, %45, %32, %17
%93 = load ptr, ptr %4, align 8
ret ptr %93
}
declare ptr @svd_readFile(ptr noundef) #1
declare i32 @svd_error(ptr noundef, ptr noundef) #1
declare i32 @svd_readBinInt(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @svd_closeFile(ptr noundef) #1
declare ptr @svd_doubleArray(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @svd_readBinFloat(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/tmpyuz6r1pc.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"svdLoadDenseArray: failed to read %s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"svdLoadDenseArray: error reading %s\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"svdLoadDenseArray: a\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c" %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @svdLoadDenseArray(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
%13 = load ptr, ptr %5, align 8
%14 = call ptr @svd_readFile(ptr noundef %13)
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = load ptr, ptr %5, align 8
%19 = call i32 @svd_error(ptr noundef @.str, ptr noundef %18)
store ptr null, ptr %4, align 8
br label %96
20: ; preds = %3
%21 = load i8, ptr %7, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load ptr, ptr %11, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @svd_readBinInt(ptr noundef %24, ptr noundef %25)
br label %38
27: ; preds = %20
%28 = load ptr, ptr %11, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %29)
%31 = icmp ne i32 %30, 1
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load ptr, ptr %5, align 8
%34 = call i32 @svd_error(ptr noundef @.str.2, ptr noundef %33)
%35 = load ptr, ptr %11, align 8
%36 = call i32 @svd_closeFile(ptr noundef %35)
store ptr null, ptr %4, align 8
br label %96
37: ; preds = %27
br label %38
38: ; preds = %37, %23
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = call ptr @svd_doubleArray(i32 noundef %41, i32 noundef 0, ptr noundef @.str.3)
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %10, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %46, label %45
45: ; preds = %38
store ptr null, ptr %4, align 8
br label %96
46: ; preds = %38
%47 = load i8, ptr %7, align 1
%48 = icmp ne i8 %47, 0
br i1 %48, label %49, label %69
49: ; preds = %46
store i32 0, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph1, label %68
.lr.ph1: ; preds = %49
br label %53
53: ; preds = %.lr.ph1, %62
%54 = load ptr, ptr %11, align 8
%55 = call i32 @svd_readBinFloat(ptr noundef %54, ptr noundef %12)
%56 = load float, ptr %12, align 4
%57 = fpext float %56 to double
%58 = load ptr, ptr %10, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
store double %57, ptr %61, align 8
br label %62
62: ; preds = %53
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %9, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %53, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %49
br label %92
69: ; preds = %46
store i32 0, ptr %8, align 4
%70 = load i32, ptr %8, align 4
%71 = load i32, ptr %9, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %69
br label %73
73: ; preds = %.lr.ph, %85
%74 = load ptr, ptr %11, align 8
%75 = load ptr, ptr %10, align 8
%76 = load i32, ptr %8, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %74, ptr noundef @.str.4, ptr noundef %78)
%80 = icmp ne i32 %79, 1
br i1 %80, label %81, label %84
81: ; preds = %73
%82 = load ptr, ptr %5, align 8
%83 = call i32 @svd_error(ptr noundef @.str.2, ptr noundef %82)
br label %91
84: ; preds = %73
br label %85
85: ; preds = %84
%86 = load i32, ptr %8, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %8, align 4
%88 = load i32, ptr %8, align 4
%89 = load i32, ptr %9, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %73, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %85
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %69
br label %91
91: ; preds = %.loopexit, %81
br label %92
92: ; preds = %91, %68
%93 = load ptr, ptr %11, align 8
%94 = call i32 @svd_closeFile(ptr noundef %93)
%95 = load ptr, ptr %10, align 8
store ptr %95, ptr %4, align 8
br label %96
96: ; preds = %92, %45, %32, %17
%97 = load ptr, ptr %4, align 8
ret ptr %97
}
declare ptr @svd_readFile(ptr noundef) #1
declare i32 @svd_error(ptr noundef, ptr noundef) #1
declare i32 @svd_readBinInt(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @svd_closeFile(ptr noundef) #1
declare ptr @svd_doubleArray(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @svd_readBinFloat(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/tmpopcd9ue8.c'
source_filename = "/tmp/tmpopcd9ue8.c"
target datalayout = "e-m:e-p270: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/tmpopcd9ue8.c"
target datalayout = "e-m:e-p270: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/tmpzg3moqp1.c'
source_filename = "/tmp/tmpzg3moqp1.c"
target datalayout = "e-m:e-p270: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/tmpzg3moqp1.c"
target datalayout = "e-m:e-p270: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/tmpw_a5221i.c'
source_filename = "/tmp/tmpw_a5221i.c"
target datalayout = "e-m:e-p270: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"---\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 (...) @testNew()
br label %3
3: ; preds = %3, %0
%4 = call i32 (...) @oosmos_RunStateMachines()
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @oosmos_DelayMS(i32 noundef 1)
br label %3
}
declare i32 @testNew(...) #1
declare i32 @oosmos_RunStateMachines(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @oosmos_DelayMS(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/tmpw_a5221i.c"
target datalayout = "e-m:e-p270: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"---\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 (...) @testNew()
br label %3
3: ; preds = %3, %0
%4 = call i32 (...) @oosmos_RunStateMachines()
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @oosmos_DelayMS(i32 noundef 1)
br label %3
}
declare i32 @testNew(...) #1
declare i32 @oosmos_RunStateMachines(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @oosmos_DelayMS(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/tmpe91_gix4.c'
source_filename = "/tmp/tmpe91_gix4.c"
target datalayout = "e-m:e-p270: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"graph\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 2048, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %12, %2
%18 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %67
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = call i32 @fprintf(ptr noundef %22, ptr noundef @.str.2, i32 noundef %23)
%25 = call i64 @time(ptr noundef null)
%26 = trunc i64 %25 to i32
%27 = call i32 @srand(i32 noundef %26)
store i32 0, ptr %8, align 4
br label %28
28: ; preds = %61, %21
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %64
32: ; preds = %28
store i32 0, ptr %9, align 4
br label %33
33: ; preds = %57, %32
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %60
37: ; preds = %33
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %9, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = load ptr, ptr %6, align 8
%43 = call i32 @fprintf(ptr noundef %42, ptr noundef @.str.2, i32 noundef 0)
br label %56
44: ; preds = %37
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
%48 = icmp eq i32 %45, %47
br i1 %48, label %49, label %52
49: ; preds = %44
%50 = load ptr, ptr %6, align 8
%51 = call i32 @fprintf(ptr noundef %50, ptr noundef @.str.2, i32 noundef 1)
br label %55
52: ; preds = %44
%53 = load ptr, ptr %6, align 8
%54 = call i32 @fprintf(ptr noundef %53, ptr noundef @.str.2, i32 noundef 20)
br label %55
55: ; preds = %52, %49
br label %56
56: ; preds = %55, %41
br label %57
57: ; preds = %56
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
br label %33, !llvm.loop !6
60: ; preds = %33
br label %61
61: ; preds = %60
%62 = load i32, ptr %8, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %8, align 4
br label %28, !llvm.loop !8
64: ; preds = %28
%65 = load ptr, ptr %6, align 8
%66 = call i32 @fclose(ptr noundef %65)
br label %67
67: ; preds = %64, %17
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe91_gix4.c"
target datalayout = "e-m:e-p270: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"graph\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 2048, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %12, %2
%18 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %71
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = call i32 @fprintf(ptr noundef %22, ptr noundef @.str.2, i32 noundef %23)
%25 = call i64 @time(ptr noundef null)
%26 = trunc i64 %25 to i32
%27 = call i32 @srand(i32 noundef %26)
store i32 0, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %68
.lr.ph2: ; preds = %21
br label %31
31: ; preds = %.lr.ph2, %62
store i32 0, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %61
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %55
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fprintf(ptr noundef %40, ptr noundef @.str.2, i32 noundef 0)
br label %54
42: ; preds = %35
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
%46 = icmp eq i32 %43, %45
br i1 %46, label %47, label %50
47: ; preds = %42
%48 = load ptr, ptr %6, align 8
%49 = call i32 @fprintf(ptr noundef %48, ptr noundef @.str.2, i32 noundef 1)
br label %53
50: ; preds = %42
%51 = load ptr, ptr %6, align 8
%52 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.2, i32 noundef 20)
br label %53
53: ; preds = %50, %47
br label %54
54: ; preds = %53, %39
br label %55
55: ; preds = %54
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %31
br label %62
62: ; preds = %61
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %21
%69 = load ptr, ptr %6, align 8
%70 = call i32 @fclose(ptr noundef %69)
br label %71
71: ; preds = %68, %17
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgevi4h6n.c'
source_filename = "/tmp/tmpgevi4h6n.c"
target datalayout = "e-m:e-p270: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/tmpgevi4h6n.c"
target datalayout = "e-m:e-p270: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/tmppn0aehj7.c'
source_filename = "/tmp/tmppn0aehj7.c"
target datalayout = "e-m:e-p270: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 x86_fp80 @_Z7swldexpei(x86_fp80 noundef %0, i32 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca i32, align 4
store x86_fp80 %0, ptr %3, align 16
store i32 %1, ptr %4, align 4
%5 = load x86_fp80, ptr %3, align 16
%6 = load i32, ptr %4, align 4
%7 = call x86_fp80 @ldexpl(x86_fp80 noundef %5, i32 noundef %6) #2
ret x86_fp80 %7
}
; Function Attrs: nounwind
declare x86_fp80 @ldexpl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmppn0aehj7.c"
target datalayout = "e-m:e-p270: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 x86_fp80 @_Z7swldexpei(x86_fp80 noundef %0, i32 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca i32, align 4
store x86_fp80 %0, ptr %3, align 16
store i32 %1, ptr %4, align 4
%5 = load x86_fp80, ptr %3, align 16
%6 = load i32, ptr %4, align 4
%7 = call x86_fp80 @ldexpl(x86_fp80 noundef %5, i32 noundef %6) #2
ret x86_fp80 %7
}
; Function Attrs: nounwind
declare x86_fp80 @ldexpl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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_tayojvm.c'
source_filename = "/tmp/tmp_tayojvm.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"ruch %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"w gore\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"w dol\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"ruch w bok?\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"kierunki %i %i %i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
switch i32 %5, label %10 [
i32 0, label %6
i32 1, label %8
]
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %12
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %12
12: ; preds = %10, %8, %6
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_tayojvm.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"ruch %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"w gore\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"w dol\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"ruch w bok?\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"kierunki %i %i %i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
switch i32 %5, label %10 [
i32 0, label %6
i32 1, label %8
]
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %12
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %12
12: ; preds = %10, %8, %6
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj7tuktye.c'
source_filename = "/tmp/tmpj7tuktye.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Please enter a character: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"A is for apple.\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"B is for Bannas.\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"C is for Suspension.\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"H is for Hello.\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"Wrong!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i8, align 1
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %14 [
i32 65, label %6
i32 97, label %6
i32 98, label %8
i32 99, label %10
i32 72, label %12
]
6: ; preds = %0, %0
%7 = call i32 @printf(ptr noundef @.str.2)
br label %16
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.3)
br label %16
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.4)
br label %16
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.5)
br label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.6)
br label %16
16: ; preds = %14, %12, %10, %8, %6
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmpj7tuktye.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Please enter a character: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"A is for apple.\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"B is for Bannas.\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"C is for Suspension.\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"H is for Hello.\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"Wrong!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i8, align 1
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %14 [
i32 65, label %6
i32 97, label %6
i32 98, label %8
i32 99, label %10
i32 72, label %12
]
6: ; preds = %0, %0
%7 = call i32 @printf(ptr noundef @.str.2)
br label %16
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.3)
br label %16
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.4)
br label %16
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.5)
br label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.6)
br label %16
16: ; preds = %14, %12, %10, %8, %6
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmp5xsjeigd.c'
source_filename = "/tmp/tmp5xsjeigd.c"
target datalayout = "e-m:e-p270: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/tmp5xsjeigd.c"
target datalayout = "e-m:e-p270: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/tmpldme_rsa.c'
source_filename = "/tmp/tmpldme_rsa.c"
target datalayout = "e-m:e-p270: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"error! X=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"error! Y=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @put_charx2(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%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
store i8 %0, ptr %9, align 1
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%21 = load i32, ptr %10, align 4
%22 = icmp sge i32 %21, 624
br i1 %22, label %23, label %26
23: ; preds = %8
%24 = load i32, ptr %10, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %23, %8
%27 = load i32, ptr %11, align 4
%28 = icmp sge i32 %27, 448
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr %11, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %29, %26
%33 = load i32, ptr %15, align 4
%34 = call ptr @select_font(i32 noundef %33)
store ptr %34, ptr %20, align 8
%35 = load i32, ptr %11, align 4
%36 = mul nsw i32 %35, 640
%37 = load i32, ptr %10, align 4
%38 = add nsw i32 %36, %37
store i32 %38, ptr %19, align 4
store i32 0, ptr %18, align 4
br label %39
39: ; preds = %132, %32
%40 = load i32, ptr %18, align 4
%41 = icmp slt i32 %40, 16
br i1 %41, label %42, label %135
42: ; preds = %39
store i32 0, ptr %17, align 4
br label %43
43: ; preds = %126, %42
%44 = load i32, ptr %17, align 4
%45 = icmp slt i32 %44, 8
br i1 %45, label %46, label %129
46: ; preds = %43
%47 = load ptr, ptr %20, align 8
%48 = load i8, ptr %9, align 1
%49 = zext i8 %48 to i64
%50 = getelementptr inbounds [256 x [16 x i8]], ptr %47, i64 0, i64 %49
%51 = load i32, ptr %18, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [16 x i8], ptr %50, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = load i32, ptr %17, align 4
%57 = sub nsw i32 8, %56
%58 = shl i32 1, %57
%59 = and i32 %55, %58
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %90
61: ; preds = %46
%62 = load i32, ptr %12, align 4
%63 = trunc i32 %62 to i8
%64 = load ptr, ptr %16, align 8
%65 = load i32, ptr %19, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store i8 %63, ptr %67, align 1
%68 = load i32, ptr %12, align 4
%69 = trunc i32 %68 to i8
%70 = load ptr, ptr %16, align 8
%71 = load i32, ptr %19, align 4
%72 = add nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %70, i64 %73
store i8 %69, ptr %74, align 1
%75 = load i32, ptr %12, align 4
%76 = trunc i32 %75 to i8
%77 = load ptr, ptr %16, align 8
%78 = load i32, ptr %19, align 4
%79 = add nsw i32 %78, 640
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %77, i64 %80
store i8 %76, ptr %81, align 1
%82 = load i32, ptr %12, align 4
%83 = trunc i32 %82 to i8
%84 = load ptr, ptr %16, align 8
%85 = load i32, ptr %19, align 4
%86 = add nsw i32 %85, 640
%87 = add nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %84, i64 %88
store i8 %83, ptr %89, align 1
br label %123
90: ; preds = %46
%91 = load i32, ptr %14, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %122
93: ; preds = %90
%94 = load i32, ptr %13, align 4
%95 = trunc i32 %94 to i8
%96 = load ptr, ptr %16, align 8
%97 = load i32, ptr %19, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
store i8 %95, ptr %99, align 1
%100 = load i32, ptr %13, align 4
%101 = trunc i32 %100 to i8
%102 = load ptr, ptr %16, align 8
%103 = load i32, ptr %19, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %102, i64 %105
store i8 %101, ptr %106, align 1
%107 = load i32, ptr %13, align 4
%108 = trunc i32 %107 to i8
%109 = load ptr, ptr %16, align 8
%110 = load i32, ptr %19, align 4
%111 = add nsw i32 %110, 640
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %109, i64 %112
store i8 %108, ptr %113, align 1
%114 = load i32, ptr %13, align 4
%115 = trunc i32 %114 to i8
%116 = load ptr, ptr %16, align 8
%117 = load i32, ptr %19, align 4
%118 = add nsw i32 %117, 640
%119 = add nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i8, ptr %116, i64 %120
store i8 %115, ptr %121, align 1
br label %122
122: ; preds = %93, %90
br label %123
123: ; preds = %122, %61
%124 = load i32, ptr %19, align 4
%125 = add nsw i32 %124, 2
store i32 %125, ptr %19, align 4
br label %126
126: ; preds = %123
%127 = load i32, ptr %17, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %17, align 4
br label %43, !llvm.loop !6
129: ; preds = %43
%130 = load i32, ptr %19, align 4
%131 = add nsw i32 %130, 1264
store i32 %131, ptr %19, align 4
br label %132
132: ; preds = %129
%133 = load i32, ptr %18, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %18, align 4
br label %39, !llvm.loop !8
135: ; preds = %39
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare ptr @select_font(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/tmpldme_rsa.c"
target datalayout = "e-m:e-p270: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"error! X=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"error! Y=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @put_charx2(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%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
store i8 %0, ptr %9, align 1
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%21 = load i32, ptr %10, align 4
%22 = icmp sge i32 %21, 624
br i1 %22, label %23, label %26
23: ; preds = %8
%24 = load i32, ptr %10, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %23, %8
%27 = load i32, ptr %11, align 4
%28 = icmp sge i32 %27, 448
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr %11, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %29, %26
%33 = load i32, ptr %15, align 4
%34 = call ptr @select_font(i32 noundef %33)
store ptr %34, ptr %20, align 8
%35 = load i32, ptr %11, align 4
%36 = mul nsw i32 %35, 640
%37 = load i32, ptr %10, align 4
%38 = add nsw i32 %36, %37
store i32 %38, ptr %19, align 4
store i32 0, ptr %18, align 4
%39 = load i32, ptr %18, align 4
%40 = icmp slt i32 %39, 16
br i1 %40, label %.lr.ph2, label %137
.lr.ph2: ; preds = %32
br label %41
41: ; preds = %.lr.ph2, %132
store i32 0, ptr %17, align 4
%42 = load i32, ptr %17, align 4
%43 = icmp slt i32 %42, 8
br i1 %43, label %.lr.ph, label %129
.lr.ph: ; preds = %41
br label %44
44: ; preds = %.lr.ph, %124
%45 = load ptr, ptr %20, align 8
%46 = load i8, ptr %9, align 1
%47 = zext i8 %46 to i64
%48 = getelementptr inbounds [256 x [16 x i8]], ptr %45, i64 0, i64 %47
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [16 x i8], ptr %48, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = load i32, ptr %17, align 4
%55 = sub nsw i32 8, %54
%56 = shl i32 1, %55
%57 = and i32 %53, %56
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %88
59: ; preds = %44
%60 = load i32, ptr %12, align 4
%61 = trunc i32 %60 to i8
%62 = load ptr, ptr %16, align 8
%63 = load i32, ptr %19, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 %61, ptr %65, align 1
%66 = load i32, ptr %12, align 4
%67 = trunc i32 %66 to i8
%68 = load ptr, ptr %16, align 8
%69 = load i32, ptr %19, align 4
%70 = add nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
store i8 %67, ptr %72, align 1
%73 = load i32, ptr %12, align 4
%74 = trunc i32 %73 to i8
%75 = load ptr, ptr %16, align 8
%76 = load i32, ptr %19, align 4
%77 = add nsw i32 %76, 640
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
store i8 %74, ptr %79, align 1
%80 = load i32, ptr %12, align 4
%81 = trunc i32 %80 to i8
%82 = load ptr, ptr %16, align 8
%83 = load i32, ptr %19, align 4
%84 = add nsw i32 %83, 640
%85 = add nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %82, i64 %86
store i8 %81, ptr %87, align 1
br label %121
88: ; preds = %44
%89 = load i32, ptr %14, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %120
91: ; preds = %88
%92 = load i32, ptr %13, align 4
%93 = trunc i32 %92 to i8
%94 = load ptr, ptr %16, align 8
%95 = load i32, ptr %19, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
store i8 %93, ptr %97, align 1
%98 = load i32, ptr %13, align 4
%99 = trunc i32 %98 to i8
%100 = load ptr, ptr %16, align 8
%101 = load i32, ptr %19, align 4
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %100, i64 %103
store i8 %99, ptr %104, align 1
%105 = load i32, ptr %13, align 4
%106 = trunc i32 %105 to i8
%107 = load ptr, ptr %16, align 8
%108 = load i32, ptr %19, align 4
%109 = add nsw i32 %108, 640
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %107, i64 %110
store i8 %106, ptr %111, align 1
%112 = load i32, ptr %13, align 4
%113 = trunc i32 %112 to i8
%114 = load ptr, ptr %16, align 8
%115 = load i32, ptr %19, align 4
%116 = add nsw i32 %115, 640
%117 = add nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %114, i64 %118
store i8 %113, ptr %119, align 1
br label %120
120: ; preds = %91, %88
br label %121
121: ; preds = %120, %59
%122 = load i32, ptr %19, align 4
%123 = add nsw i32 %122, 2
store i32 %123, ptr %19, align 4
br label %124
124: ; preds = %121
%125 = load i32, ptr %17, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %17, align 4
%127 = load i32, ptr %17, align 4
%128 = icmp slt i32 %127, 8
br i1 %128, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %124
br label %129
129: ; preds = %._crit_edge, %41
%130 = load i32, ptr %19, align 4
%131 = add nsw i32 %130, 1264
store i32 %131, ptr %19, align 4
br label %132
132: ; preds = %129
%133 = load i32, ptr %18, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %18, align 4
%135 = load i32, ptr %18, align 4
%136 = icmp slt i32 %135, 16
br i1 %136, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %132
br label %137
137: ; preds = %._crit_edge3, %32
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare ptr @select_font(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/tmp5u0oiir8.c'
source_filename = "/tmp/tmp5u0oiir8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [50 x [50 x i8]], align 16
%2 = alloca [50 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %44, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 50
br i1 %9, label %10, label %47
10: ; preds = %7
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %21, %10
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 50
br i1 %13, label %14, label %24
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [50 x [50 x i8]], ptr %1, i64 0, i64 %16
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [50 x i8], ptr %17, i64 0, i64 %19
store i8 32, ptr %20, align 1
br label %21
21: ; preds = %14
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %11, !llvm.loop !6
24: ; preds = %11
%25 = load i32, ptr %4, align 4
%26 = sitofp i32 %25 to float
store float %26, ptr %6, align 4
%27 = load float, ptr %6, align 4
%28 = fcmp ogt float %27, -1.000000e+00
br i1 %28, label %29, label %43
29: ; preds = %24
%30 = load float, ptr %6, align 4
%31 = fcmp olt float %30, 5.000000e+01
br i1 %31, label %32, label %43
32: ; preds = %29
%33 = load float, ptr %6, align 4
%34 = call i32 @round(float noundef %33)
%35 = sub nsw i32 50, %34
%36 = sub nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [50 x [50 x i8]], ptr %1, i64 0, i64 %38
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [50 x i8], ptr %39, i64 0, i64 %41
store i8 64, ptr %42, align 1
br label %43
43: ; preds = %32, %29, %24
br label %44
44: ; preds = %43
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %7, !llvm.loop !8
47: ; preds = %7
store i32 0, ptr %4, align 4
br label %48
48: ; preds = %72, %47
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %49, 50
br i1 %50, label %51, label %75
51: ; preds = %48
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %66, %51
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %53, 50
br i1 %54, label %55, label %69
55: ; preds = %52
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [50 x [50 x i8]], ptr %1, i64 0, i64 %57
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [50 x i8], ptr %58, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %64
store i8 %62, ptr %65, align 1
br label %66
66: ; preds = %55
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %3, align 4
br label %52, !llvm.loop !9
69: ; preds = %52
%70 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%71 = call i32 @print(ptr noundef %70)
br label %72
72: ; preds = %69
%73 = load i32, ptr %4, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %4, align 4
br label %48, !llvm.loop !10
75: ; preds = %48
ret void
}
declare i32 @round(float noundef) #1
declare i32 @print(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/tmp5u0oiir8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [50 x [50 x i8]], align 16
%2 = alloca [50 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 50
br i1 %8, label %.lr.ph2, label %49
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %44
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 50
br i1 %11, label %.lr.ph, label %24
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %19
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [50 x [50 x i8]], ptr %1, i64 0, i64 %14
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [50 x i8], ptr %15, i64 0, i64 %17
store i8 32, ptr %18, align 1
br label %19
19: ; preds = %12
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 50
br i1 %23, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %9
%25 = load i32, ptr %4, align 4
%26 = sitofp i32 %25 to float
store float %26, ptr %6, align 4
%27 = load float, ptr %6, align 4
%28 = fcmp ogt float %27, -1.000000e+00
br i1 %28, label %29, label %43
29: ; preds = %24
%30 = load float, ptr %6, align 4
%31 = fcmp olt float %30, 5.000000e+01
br i1 %31, label %32, label %43
32: ; preds = %29
%33 = load float, ptr %6, align 4
%34 = call i32 @round(float noundef %33)
%35 = sub nsw i32 50, %34
%36 = sub nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [50 x [50 x i8]], ptr %1, i64 0, i64 %38
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [50 x i8], ptr %39, i64 0, i64 %41
store i8 64, ptr %42, align 1
br label %43
43: ; preds = %32, %29, %24
br label %44
44: ; preds = %43
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %47, 50
br i1 %48, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %49
49: ; preds = %._crit_edge3, %0
store i32 0, ptr %4, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %50, 50
br i1 %51, label %.lr.ph8, label %79
.lr.ph8: ; preds = %49
br label %52
52: ; preds = %.lr.ph8, %74
store i32 0, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %53, 50
br i1 %54, label %.lr.ph5, label %71
.lr.ph5: ; preds = %52
br label %55
55: ; preds = %.lr.ph5, %66
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [50 x [50 x i8]], ptr %1, i64 0, i64 %57
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [50 x i8], ptr %58, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %64
store i8 %62, ptr %65, align 1
br label %66
66: ; preds = %55
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %3, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp slt i32 %69, 50
br i1 %70, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %66
br label %71
71: ; preds = %._crit_edge6, %52
%72 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%73 = call i32 @print(ptr noundef %72)
br label %74
74: ; preds = %71
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %4, align 4
%77 = load i32, ptr %4, align 4
%78 = icmp slt i32 %77, 50
br i1 %78, label %52, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %74
br label %79
79: ; preds = %._crit_edge9, %49
ret void
}
declare i32 @round(float noundef) #1
declare i32 @print(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/tmplx3bqwmo.c'
source_filename = "/tmp/tmplx3bqwmo.c"
target datalayout = "e-m:e-p270: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/tmplx3bqwmo.c"
target datalayout = "e-m:e-p270: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/tmpbx7mzg7g.c'
source_filename = "/tmp/tmpbx7mzg7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libev_unix_tcp_deinit(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @close(i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @libev_unregister_tcp_unix_sock(i32 noundef %7, ptr noundef %8)
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @libev_unregister_tcp_unix_sock(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbx7mzg7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libev_unix_tcp_deinit(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @close(i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @libev_unregister_tcp_unix_sock(i32 noundef %7, ptr noundef %8)
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @libev_unregister_tcp_unix_sock(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpexhao6y7.c'
source_filename = "/tmp/tmpexhao6y7.c"
target datalayout = "e-m:e-p270: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/tmpexhao6y7.c"
target datalayout = "e-m:e-p270: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/tmpsg3xwtzl.c'
source_filename = "/tmp/tmpsg3xwtzl.c"
target datalayout = "e-m:e-p270: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 float @cellNoise(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @cellNoiseU(float noundef %7, float noundef %8, float noundef %9)
%11 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %10, float -1.000000e+00)
ret float %11
}
declare float @cellNoiseU(float noundef, float noundef, float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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/tmpsg3xwtzl.c"
target datalayout = "e-m:e-p270: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 float @cellNoise(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @cellNoiseU(float noundef %7, float noundef %8, float noundef %9)
%11 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %10, float -1.000000e+00)
ret float %11
}
declare float @cellNoiseU(float noundef, float noundef, float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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/tmp5to3ukb0.c'
source_filename = "/tmp/tmp5to3ukb0.c"
target datalayout = "e-m:e-p270: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 [66 x i8] c"****************************************************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [101 x i8] c"A simple low pass filter that will cut off (lower in amplitude) higher frequencies than the cutoff.\0A\00", align 1
@.str.2 = private unnamed_addr constant [88 x i8] c"You run it like any other filter, but the last parameter is an integer for the cutoff.\0A\00", align 1
@.str.3 = private unnamed_addr constant [113 x i8] c"This is a frequency, and for human hearing is typically between 20 and 20k (and it must be a positive INTEGER).\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"For example: ./a.out input.wav output.wav filter=low_pass 1000\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @informationLowPass() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5to3ukb0.c"
target datalayout = "e-m:e-p270: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 [66 x i8] c"****************************************************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [101 x i8] c"A simple low pass filter that will cut off (lower in amplitude) higher frequencies than the cutoff.\0A\00", align 1
@.str.2 = private unnamed_addr constant [88 x i8] c"You run it like any other filter, but the last parameter is an integer for the cutoff.\0A\00", align 1
@.str.3 = private unnamed_addr constant [113 x i8] c"This is a frequency, and for human hearing is typically between 20 and 20k (and it must be a positive INTEGER).\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"For example: ./a.out input.wav output.wav filter=low_pass 1000\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @informationLowPass() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps451dhce.c'
source_filename = "/tmp/tmps451dhce.c"
target datalayout = "e-m:e-p270: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmps451dhce.c"
target datalayout = "e-m:e-p270: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp8o4uhtqn.c'
source_filename = "/tmp/tmp8o4uhtqn.c"
target datalayout = "e-m:e-p270: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/tmp8o4uhtqn.c"
target datalayout = "e-m:e-p270: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/tmplqxyd2qk.c'
source_filename = "/tmp/tmplqxyd2qk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SSL_RECEIVED_SHUTDOWN = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplqxyd2qk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SSL_RECEIVED_SHUTDOWN = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_brq343b.c'
source_filename = "/tmp/tmp_brq343b.c"
target datalayout = "e-m:e-p270: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 @magic_file(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 ptr @file_or_fd(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret ptr %7
}
declare ptr @file_or_fd(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_brq343b.c"
target datalayout = "e-m:e-p270: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 @magic_file(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 ptr @file_or_fd(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret ptr %7
}
declare ptr @file_or_fd(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiz737rkp.c'
source_filename = "/tmp/tmpiz737rkp.c"
target datalayout = "e-m:e-p270: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 @__test() #0 {
%1 = alloca i32, align 4
%2 = call i32 @__bswap_32(i32 noundef 65535)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @__bswap_32(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/tmpiz737rkp.c"
target datalayout = "e-m:e-p270: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 @__test() #0 {
%1 = alloca i32, align 4
%2 = call i32 @__bswap_32(i32 noundef 65535)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @__bswap_32(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/tmpkqruab5a.c'
source_filename = "/tmp/tmpkqruab5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_TONEAREST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fesetround(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 = load i32, ptr @FE_TONEAREST, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = call i32 @__fesetround(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %8, %7
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @__fesetround(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/tmpkqruab5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_TONEAREST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fesetround(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 = load i32, ptr @FE_TONEAREST, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = call i32 @__fesetround(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %8, %7
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @__fesetround(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/tmps0r82o9_.c'
source_filename = "/tmp/tmps0r82o9_.c"
target datalayout = "e-m:e-p270: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/tmps0r82o9_.c"
target datalayout = "e-m:e-p270: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_mfhmy6k.c'
source_filename = "/tmp/tmp_mfhmy6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_tty_line.buf = internal global ptr null, align 8
@get_tty_line.bufsz = internal global i32 0, align 4
@EOF = dso_local constant i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"stdin\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"Cannot read stdin\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_tty_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 -1, ptr %5, align 4
br label %7
7: ; preds = %1, %33, %77
%8 = call i32 (...) @getchar()
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %51
12: ; preds = %7
%13 = load i32, ptr @stdin, align 4
%14 = call i64 @ferror(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load i32, ptr @errno, align 4
%18 = call i32 @show_strerror(ptr noundef @.str, i32 noundef %17)
%19 = call i32 @set_error_msg(ptr noundef @.str.1)
%20 = load i32, ptr @stdin, align 4
%21 = call i32 @clearerr(i32 noundef %20)
%22 = load ptr, ptr %3, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
store i32 0, ptr %25, align 4
br label %26
26: ; preds = %24, %16
store ptr null, ptr %2, align 8
br label %90
27: ; preds = %12
%28 = load i32, ptr @stdin, align 4
%29 = call i32 @clearerr(i32 noundef %28)
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %27
%34 = load i32, ptr %4, align 4
store i32 %34, ptr %5, align 4
br label %7
35: ; preds = %27
%36 = load i32, ptr %4, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %43
38: ; preds = %35
%39 = load ptr, ptr @get_tty_line.buf, align 8
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
br label %43
43: ; preds = %38, %35
%44 = load ptr, ptr %3, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load i32, ptr %4, align 4
%48 = load ptr, ptr %3, align 8
store i32 %47, ptr %48, align 4
br label %49
49: ; preds = %46, %43
%50 = load ptr, ptr @get_tty_line.buf, align 8
store ptr %50, ptr %2, align 8
br label %90
51: ; preds = %7
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 2
%54 = call i32 @resize_buffer(ptr noundef @get_tty_line.buf, ptr noundef @get_tty_line.bufsz, i32 noundef %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %62, label %56
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %61
59: ; preds = %56
%60 = load ptr, ptr %3, align 8
store i32 0, ptr %60, align 4
br label %61
61: ; preds = %59, %56
store ptr null, ptr %2, align 8
br label %90
62: ; preds = %51
%63 = load i32, ptr %6, align 4
%64 = trunc i32 %63 to i8
%65 = load ptr, ptr @get_tty_line.buf, align 8
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %4, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
store i8 %64, ptr %69, align 1
%70 = load i32, ptr %6, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %62
%73 = call i32 (...) @set_binary()
br label %74
74: ; preds = %72, %62
%75 = load i32, ptr %6, align 4
%76 = icmp ne i32 %75, 10
br i1 %76, label %77, label %78
77: ; preds = %74
br label %7
78: ; preds = %74
%79 = load ptr, ptr @get_tty_line.buf, align 8
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %3, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %88
85: ; preds = %78
%86 = load i32, ptr %4, align 4
%87 = load ptr, ptr %3, align 8
store i32 %86, ptr %87, align 4
br label %88
88: ; preds = %85, %78
%89 = load ptr, ptr @get_tty_line.buf, align 8
store ptr %89, ptr %2, align 8
br label %90
90: ; preds = %88, %61, %49, %26
%91 = load ptr, ptr %2, align 8
ret ptr %91
}
declare i32 @getchar(...) #1
declare i64 @ferror(i32 noundef) #1
declare i32 @show_strerror(ptr noundef, i32 noundef) #1
declare i32 @set_error_msg(ptr noundef) #1
declare i32 @clearerr(i32 noundef) #1
declare i32 @resize_buffer(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @set_binary(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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_mfhmy6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_tty_line.buf = internal global ptr null, align 8
@get_tty_line.bufsz = internal global i32 0, align 4
@EOF = dso_local constant i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"stdin\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"Cannot read stdin\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_tty_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 -1, ptr %5, align 4
br label %7
7: ; preds = %.backedge, %1
%8 = call i32 (...) @getchar()
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %51
12: ; preds = %7
%13 = load i32, ptr @stdin, align 4
%14 = call i64 @ferror(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load i32, ptr @errno, align 4
%18 = call i32 @show_strerror(ptr noundef @.str, i32 noundef %17)
%19 = call i32 @set_error_msg(ptr noundef @.str.1)
%20 = load i32, ptr @stdin, align 4
%21 = call i32 @clearerr(i32 noundef %20)
%22 = load ptr, ptr %3, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
store i32 0, ptr %25, align 4
br label %26
26: ; preds = %24, %16
store ptr null, ptr %2, align 8
br label %90
27: ; preds = %12
%28 = load i32, ptr @stdin, align 4
%29 = call i32 @clearerr(i32 noundef %28)
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %27
%34 = load i32, ptr %4, align 4
store i32 %34, ptr %5, align 4
br label %.backedge
.backedge: ; preds = %33, %77
br label %7
35: ; preds = %27
%36 = load i32, ptr %4, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %43
38: ; preds = %35
%39 = load ptr, ptr @get_tty_line.buf, align 8
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
br label %43
43: ; preds = %38, %35
%44 = load ptr, ptr %3, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load i32, ptr %4, align 4
%48 = load ptr, ptr %3, align 8
store i32 %47, ptr %48, align 4
br label %49
49: ; preds = %46, %43
%50 = load ptr, ptr @get_tty_line.buf, align 8
store ptr %50, ptr %2, align 8
br label %90
51: ; preds = %7
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 2
%54 = call i32 @resize_buffer(ptr noundef @get_tty_line.buf, ptr noundef @get_tty_line.bufsz, i32 noundef %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %62, label %56
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %61
59: ; preds = %56
%60 = load ptr, ptr %3, align 8
store i32 0, ptr %60, align 4
br label %61
61: ; preds = %59, %56
store ptr null, ptr %2, align 8
br label %90
62: ; preds = %51
%63 = load i32, ptr %6, align 4
%64 = trunc i32 %63 to i8
%65 = load ptr, ptr @get_tty_line.buf, align 8
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %4, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
store i8 %64, ptr %69, align 1
%70 = load i32, ptr %6, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %62
%73 = call i32 (...) @set_binary()
br label %74
74: ; preds = %72, %62
%75 = load i32, ptr %6, align 4
%76 = icmp ne i32 %75, 10
br i1 %76, label %77, label %78
77: ; preds = %74
br label %.backedge
78: ; preds = %74
%79 = load ptr, ptr @get_tty_line.buf, align 8
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %3, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %88
85: ; preds = %78
%86 = load i32, ptr %4, align 4
%87 = load ptr, ptr %3, align 8
store i32 %86, ptr %87, align 4
br label %88
88: ; preds = %85, %78
%89 = load ptr, ptr @get_tty_line.buf, align 8
store ptr %89, ptr %2, align 8
br label %90
90: ; preds = %88, %61, %49, %26
%91 = load ptr, ptr %2, align 8
ret ptr %91
}
declare i32 @getchar(...) #1
declare i64 @ferror(i32 noundef) #1
declare i32 @show_strerror(ptr noundef, i32 noundef) #1
declare i32 @set_error_msg(ptr noundef) #1
declare i32 @clearerr(i32 noundef) #1
declare i32 @resize_buffer(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @set_binary(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp879v0dbr.c'
source_filename = "/tmp/tmp879v0dbr.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"usage: %s \00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"<bin_count> <min_meas> <max_meas> <data_count> <thread_count>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp879v0dbr.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"usage: %s \00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"<bin_count> <min_meas> <max_meas> <data_count> <thread_count>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwofd5jyo.c'
source_filename = "/tmp/tmpwofd5jyo.c"
target datalayout = "e-m:e-p270: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"ac_xattr 1.0\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"by Simon Strandgaard <simon@opcoders.com>\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" usage:\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" ac_xattr [-s] -l file\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c" ac_xattr [-s] -w attr_name attr_value file\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c" ac_xattr [-s] -d attr_name file\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c" ac_xattr -h\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c" ac_xattr -v\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c" Option -s means it should act on symlinks.\0A\00", align 1
@.str.9 = private unnamed_addr constant [53 x i8] c" Option -l means it should list all xattr entries.\0A\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c" Option -w means it should write one xattr entry.\0A\00", align 1
@.str.11 = private unnamed_addr constant [53 x i8] c" Option -d means it should delete one xattr entry.\0A\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c" Option -h prints this help.\0A\00", align 1
@.str.13 = private unnamed_addr constant [38 x i8] c" Option -v prints the version info.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwofd5jyo.c"
target datalayout = "e-m:e-p270: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"ac_xattr 1.0\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"by Simon Strandgaard <simon@opcoders.com>\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" usage:\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c" ac_xattr [-s] -l file\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c" ac_xattr [-s] -w attr_name attr_value file\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c" ac_xattr [-s] -d attr_name file\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c" ac_xattr -h\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c" ac_xattr -v\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c" Option -s means it should act on symlinks.\0A\00", align 1
@.str.9 = private unnamed_addr constant [53 x i8] c" Option -l means it should list all xattr entries.\0A\00", align 1
@.str.10 = private unnamed_addr constant [52 x i8] c" Option -w means it should write one xattr entry.\0A\00", align 1
@.str.11 = private unnamed_addr constant [53 x i8] c" Option -d means it should delete one xattr entry.\0A\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c" Option -h prints this help.\0A\00", align 1
@.str.13 = private unnamed_addr constant [38 x i8] c" Option -v prints the version info.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjgnou6mq.c'
source_filename = "/tmp/tmpjgnou6mq.c"
target datalayout = "e-m:e-p270: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 @csv_parse_int(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 i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @x_getline(ptr noundef %6, ptr noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
store i64 0, ptr %16, align 8
store ptr null, ptr %3, align 8
br label %69
17: ; preds = %2
store i64 0, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
store ptr %18, ptr %8, align 8
br label %19
19: ; preds = %32, %17
%20 = load ptr, ptr %8, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %19
%24 = load ptr, ptr %8, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 44
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %7, align 8
br label %31
31: ; preds = %28, %23
br label %32
32: ; preds = %31
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %8, align 8
br label %19, !llvm.loop !6
35: ; preds = %19
%36 = load i64, ptr %7, align 8
%37 = add i64 %36, 1
%38 = load ptr, ptr %5, align 8
store i64 %37, ptr %38, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %39, align 8
%41 = mul i64 %40, 4
%42 = call ptr @x_malloc(i64 noundef %41)
store ptr %42, ptr %9, align 8
%43 = load ptr, ptr %6, align 8
store ptr %43, ptr %10, align 8
store i64 0, ptr %11, align 8
br label %44
44: ; preds = %62, %35
%45 = load i64, ptr %11, align 8
%46 = load i64, ptr %7, align 8
%47 = icmp ule i64 %45, %46
br i1 %47, label %48, label %65
48: ; preds = %44
%49 = load ptr, ptr %10, align 8
%50 = call i32 @atoi(ptr noundef %49)
%51 = load ptr, ptr %9, align 8
%52 = load i64, ptr %11, align 8
%53 = getelementptr inbounds i32, ptr %51, i64 %52
store i32 %50, ptr %53, align 4
%54 = load ptr, ptr %10, align 8
%55 = call ptr @strchr(ptr noundef %54, i8 noundef signext 44)
store ptr %55, ptr %10, align 8
%56 = load ptr, ptr %10, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %61
58: ; preds = %48
%59 = load ptr, ptr %10, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %10, align 8
br label %61
61: ; preds = %58, %48
br label %62
62: ; preds = %61
%63 = load i64, ptr %11, align 8
%64 = add i64 %63, 1
store i64 %64, ptr %11, align 8
br label %44, !llvm.loop !8
65: ; preds = %44
%66 = load ptr, ptr %6, align 8
%67 = call i32 @free(ptr noundef %66)
%68 = load ptr, ptr %9, align 8
store ptr %68, ptr %3, align 8
br label %69
69: ; preds = %65, %15
%70 = load ptr, ptr %3, align 8
ret ptr %70
}
declare i32 @x_getline(ptr noundef, ptr noundef) #1
declare ptr @x_malloc(i64 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjgnou6mq.c"
target datalayout = "e-m:e-p270: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 @csv_parse_int(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 i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @x_getline(ptr noundef %6, ptr noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
store i64 0, ptr %16, align 8
store ptr null, ptr %3, align 8
br label %73
17: ; preds = %2
store i64 0, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %.lr.ph, label %37
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %31
%23 = load ptr, ptr %8, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 44
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = load i64, ptr %7, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %7, align 8
br label %30
30: ; preds = %27, %22
br label %31
31: ; preds = %30
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %17
%38 = load i64, ptr %7, align 8
%39 = add i64 %38, 1
%40 = load ptr, ptr %5, align 8
store i64 %39, ptr %40, align 8
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %41, align 8
%43 = mul i64 %42, 4
%44 = call ptr @x_malloc(i64 noundef %43)
store ptr %44, ptr %9, align 8
%45 = load ptr, ptr %6, align 8
store ptr %45, ptr %10, align 8
store i64 0, ptr %11, align 8
%46 = load i64, ptr %11, align 8
%47 = load i64, ptr %7, align 8
%48 = icmp ule i64 %46, %47
br i1 %48, label %.lr.ph2, label %69
.lr.ph2: ; preds = %37
br label %49
49: ; preds = %.lr.ph2, %63
%50 = load ptr, ptr %10, align 8
%51 = call i32 @atoi(ptr noundef %50)
%52 = load ptr, ptr %9, align 8
%53 = load i64, ptr %11, align 8
%54 = getelementptr inbounds i32, ptr %52, i64 %53
store i32 %51, ptr %54, align 4
%55 = load ptr, ptr %10, align 8
%56 = call ptr @strchr(ptr noundef %55, i8 noundef signext 44)
store ptr %56, ptr %10, align 8
%57 = load ptr, ptr %10, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %62
59: ; preds = %49
%60 = load ptr, ptr %10, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %10, align 8
br label %62
62: ; preds = %59, %49
br label %63
63: ; preds = %62
%64 = load i64, ptr %11, align 8
%65 = add i64 %64, 1
store i64 %65, ptr %11, align 8
%66 = load i64, ptr %11, align 8
%67 = load i64, ptr %7, align 8
%68 = icmp ule i64 %66, %67
br i1 %68, label %49, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %37
%70 = load ptr, ptr %6, align 8
%71 = call i32 @free(ptr noundef %70)
%72 = load ptr, ptr %9, align 8
store ptr %72, ptr %3, align 8
br label %73
73: ; preds = %69, %15
%74 = load ptr, ptr %3, align 8
ret ptr %74
}
declare i32 @x_getline(ptr noundef, ptr noundef) #1
declare ptr @x_malloc(i64 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4ogt0y_k.c'
source_filename = "/tmp/tmp4ogt0y_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
@make_cookie.randomized = internal global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"%s.%ld.%06ld.%08lx%08lx.%s\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"1234567890123456789012345678901234567890\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @make_cookie(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [500 x i8], align 16
%4 = alloca %struct.timeval, align 8
%5 = alloca [1000 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load i32, ptr @make_cookie.randomized, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = call i64 @time(i32 noundef 0)
%10 = trunc i64 %9 to i32
%11 = call i32 (...) @getpid()
%12 = xor i32 %10, %11
%13 = call i32 @srand(i32 noundef %12)
br label %14
14: ; preds = %8, %1
%15 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @gethostname(ptr noundef %15, i32 noundef 500)
%17 = call i32 @gettimeofday(ptr noundef %4, i32 noundef 0)
%18 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%19 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%20 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1
%21 = load i64, ptr %20, align 8
%22 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%23 = load i64, ptr %22, align 8
%24 = call i64 (...) @rand()
%25 = call i64 (...) @rand()
%26 = call i32 @snprintf(ptr noundef %18, i32 noundef 1000, ptr noundef @.str, ptr noundef %19, i64 noundef %21, i64 noundef %23, i64 noundef %24, i64 noundef %25, ptr noundef @.str.1)
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%29 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef 36)
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 36
store i8 0, ptr %31, align 1
ret void
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i64 @rand(...) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ogt0y_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
@make_cookie.randomized = internal global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"%s.%ld.%06ld.%08lx%08lx.%s\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"1234567890123456789012345678901234567890\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @make_cookie(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [500 x i8], align 16
%4 = alloca %struct.timeval, align 8
%5 = alloca [1000 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load i32, ptr @make_cookie.randomized, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = call i64 @time(i32 noundef 0)
%10 = trunc i64 %9 to i32
%11 = call i32 (...) @getpid()
%12 = xor i32 %10, %11
%13 = call i32 @srand(i32 noundef %12)
br label %14
14: ; preds = %8, %1
%15 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @gethostname(ptr noundef %15, i32 noundef 500)
%17 = call i32 @gettimeofday(ptr noundef %4, i32 noundef 0)
%18 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%19 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%20 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1
%21 = load i64, ptr %20, align 8
%22 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%23 = load i64, ptr %22, align 8
%24 = call i64 (...) @rand()
%25 = call i64 (...) @rand()
%26 = call i32 @snprintf(ptr noundef %18, i32 noundef 1000, ptr noundef @.str, ptr noundef %19, i64 noundef %21, i64 noundef %23, i64 noundef %24, i64 noundef %25, ptr noundef @.str.1)
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%29 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef 36)
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 36
store i8 0, ptr %31, align 1
ret void
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i64 @rand(...) #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"}
|
; ModuleID = '/tmp/tmptfaoa77g.c'
source_filename = "/tmp/tmptfaoa77g.c"
target datalayout = "e-m:e-p270: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/tmptfaoa77g.c"
target datalayout = "e-m:e-p270: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/tmpt6itce43.c'
source_filename = "/tmp/tmpt6itce43.c"
target datalayout = "e-m:e-p270: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/tmpt6itce43.c"
target datalayout = "e-m:e-p270: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/tmp531kbsq1.c'
source_filename = "/tmp/tmp531kbsq1.c"
target datalayout = "e-m:e-p270: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 @ang2_H_L(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = load double, ptr %8, align 8
%15 = fmul double -1.000000e+00, %14
%16 = load double, ptr %9, align 8
%17 = fdiv double %15, %16
store double %17, ptr %13, align 8
%18 = load double, ptr %7, align 8
%19 = fsub double %18, 2.400000e+01
%20 = load double, ptr %13, align 8
%21 = fsub double %19, %20
%22 = load double, ptr %10, align 8
%23 = fmul double 2.000000e+00, %22
%24 = fptosi double %23 to i32
%25 = call double @sin(i32 noundef %24)
%26 = fmul double %21, %25
%27 = load ptr, ptr %11, align 8
store double %26, ptr %27, align 8
%28 = load double, ptr %13, align 8
%29 = fadd double 2.400000e+01, %28
%30 = load ptr, ptr %11, align 8
%31 = load double, ptr %30, align 8
%32 = load double, ptr %10, align 8
%33 = fmul double 2.000000e+00, %32
%34 = fptosi double %33 to i32
%35 = call double @tan(i32 noundef %34)
%36 = fdiv double %31, %35
%37 = fadd double %29, %36
%38 = load ptr, ptr %12, align 8
store double %37, ptr %38, align 8
ret void
}
declare double @sin(i32 noundef) #1
declare double @tan(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/tmp531kbsq1.c"
target datalayout = "e-m:e-p270: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 @ang2_H_L(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = load double, ptr %8, align 8
%15 = fmul double -1.000000e+00, %14
%16 = load double, ptr %9, align 8
%17 = fdiv double %15, %16
store double %17, ptr %13, align 8
%18 = load double, ptr %7, align 8
%19 = fsub double %18, 2.400000e+01
%20 = load double, ptr %13, align 8
%21 = fsub double %19, %20
%22 = load double, ptr %10, align 8
%23 = fmul double 2.000000e+00, %22
%24 = fptosi double %23 to i32
%25 = call double @sin(i32 noundef %24)
%26 = fmul double %21, %25
%27 = load ptr, ptr %11, align 8
store double %26, ptr %27, align 8
%28 = load double, ptr %13, align 8
%29 = fadd double 2.400000e+01, %28
%30 = load ptr, ptr %11, align 8
%31 = load double, ptr %30, align 8
%32 = load double, ptr %10, align 8
%33 = fmul double 2.000000e+00, %32
%34 = fptosi double %33 to i32
%35 = call double @tan(i32 noundef %34)
%36 = fdiv double %31, %35
%37 = fadd double %29, %36
%38 = load ptr, ptr %12, align 8
store double %37, ptr %38, align 8
ret void
}
declare double @sin(i32 noundef) #1
declare double @tan(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/tmpf91pktgw.c'
source_filename = "/tmp/tmpf91pktgw.c"
target datalayout = "e-m:e-p270: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 @display(i8 noundef signext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %9
9: ; preds = %26, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
store i32 1, ptr %8, align 4
br label %14
14: ; preds = %21, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i8, ptr %4, align 1
%20 = call i32 @putchar(i8 noundef signext %19)
br label %21
21: ; preds = %18
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
br label %14, !llvm.loop !6
24: ; preds = %14
%25 = call i32 @putchar(i8 noundef signext 10)
br label %26
26: ; preds = %24
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %9, !llvm.loop !8
29: ; preds = %9
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf91pktgw.c"
target datalayout = "e-m:e-p270: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 @display(i8 noundef signext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph2, label %33
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %27
store i32 1, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph, label %25
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %19
%17 = load i8, ptr %4, align 1
%18 = call i32 @putchar(i8 noundef signext %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %12
%26 = call i32 @putchar(i8 noundef signext 10)
br label %27
27: ; preds = %25
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %33
33: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpc3tl3yt6.c'
source_filename = "/tmp/tmpc3tl3yt6.c"
target datalayout = "e-m:e-p270: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 [259 x i8] c"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab\00", align 1
@.str.1 = private unnamed_addr constant [260 x i8] c"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab\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 [258 x i64], align 16
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %8, align 8
store ptr @.str.1, ptr %9, align 8
%10 = load ptr, ptr %8, align 8
%11 = getelementptr inbounds [258 x i64], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %8, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i64 @kmp(ptr noundef %10, ptr noundef %11, i32 noundef %13, ptr noundef %14, i32 noundef %16)
store i64 %17, ptr %7, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp eq i64 %18, 1
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
ret i32 0
}
declare i64 @kmp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc3tl3yt6.c"
target datalayout = "e-m:e-p270: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 [259 x i8] c"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab\00", align 1
@.str.1 = private unnamed_addr constant [260 x i8] c"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab\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 [258 x i64], align 16
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %8, align 8
store ptr @.str.1, ptr %9, align 8
%10 = load ptr, ptr %8, align 8
%11 = getelementptr inbounds [258 x i64], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %8, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i64 @kmp(ptr noundef %10, ptr noundef %11, i32 noundef %13, ptr noundef %14, i32 noundef %16)
store i64 %17, ptr %7, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp eq i64 %18, 1
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
ret i32 0
}
declare i64 @kmp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprw1pjr3x.c'
source_filename = "/tmp/tmprw1pjr3x.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c" O F(%d) \C3\A9 %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sub nsw i32 %5, 1
%7 = call i32 @fib(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fib(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/tmprw1pjr3x.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c" O F(%d) \C3\A9 %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sub nsw i32 %5, 1
%7 = call i32 @fib(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fib(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/tmpgu0haob_.c'
source_filename = "/tmp/tmpgu0haob_.c"
target datalayout = "e-m:e-p270: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"1234\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @t21(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 i64 @strtol(ptr noundef @.str, ptr noundef %3, i32 noundef 10)
ret i64 %4
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgu0haob_.c"
target datalayout = "e-m:e-p270: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"1234\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @t21(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 i64 @strtol(ptr noundef @.str, ptr noundef %3, i32 noundef 10)
ret i64 %4
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk2ps2ulm.c'
source_filename = "/tmp/tmpk2ps2ulm.c"
target datalayout = "e-m:e-p270: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"Campos verdes\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
br label %3
3: ; preds = %9, %0
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 32
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load ptr, ptr %2, align 8
%11 = call ptr @corta_string(ptr noundef %10)
store ptr %11, ptr %2, align 8
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = load ptr, ptr %2, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
ret i32 0
}
declare ptr @corta_string(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk2ps2ulm.c"
target datalayout = "e-m:e-p270: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"Campos verdes\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 32
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = load ptr, ptr %2, align 8
%9 = call ptr @corta_string(ptr noundef %8)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 32
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %15
15: ; preds = %._crit_edge, %0
%16 = load ptr, ptr %2, align 8
%17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16)
ret i32 0
}
declare ptr @corta_string(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc1p6ykt6.c'
source_filename = "/tmp/tmpc1p6ykt6.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"Usage: rand-src source-file seed n-bits\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc1p6ykt6.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"Usage: rand-src source-file seed n-bits\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt45mswcx.c'
source_filename = "/tmp/tmpt45mswcx.c"
target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wceex_setlocale(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret ptr @.str
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpt45mswcx.c"
target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wceex_setlocale(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret ptr @.str
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpm1w08f6f.c'
source_filename = "/tmp/tmpm1w08f6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"\1B[H\1B[1J\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"\1B[H\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Terminal_clear_screen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %13
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %7
br label %13
13: ; preds = %12, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm1w08f6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"\1B[H\1B[1J\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"\1B[H\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Terminal_clear_screen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %13
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %7
br label %13
13: ; preds = %12, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuqciwe1x.c'
source_filename = "/tmp/tmpuqciwe1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %0, %10
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 10
br i1 %8, label %9, label %10
9: ; preds = %3
br label %11
10: ; preds = %3
br label %3
11: ; preds = %9
%12 = load i32, ptr %1, align 4
ret i32 %12
}
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/tmpuqciwe1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %3, %0
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 10
br i1 %8, label %9, label %3
9: ; preds = %3
br label %10
10: ; preds = %9
%11 = load i32, ptr %1, align 4
ret i32 %11
}
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/tmp5cihduo8.c'
source_filename = "/tmp/tmp5cihduo8.c"
target datalayout = "e-m:e-p270: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"cls\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"P\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printWindow(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 21, %13
%15 = sdiv i32 %14, 2
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 21, %16
%18 = sdiv i32 %17, 2
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 1
%21 = sdiv i32 %20, 2
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 1
%26 = sdiv i32 %25, 2
%27 = load i32, ptr %10, align 4
%28 = add nsw i32 %26, %27
store i32 %28, ptr %12, align 4
%29 = call i32 @system(ptr noundef @.str)
store i32 0, ptr %7, align 4
br label %30
30: ; preds = %37, %3
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 2
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %30, !llvm.loop !6
40: ; preds = %30
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%42 = load i32, ptr %10, align 4
store i32 %42, ptr %8, align 4
br label %43
43: ; preds = %85, %40
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %45, %46
%48 = icmp slt i32 %44, %47
br i1 %48, label %49, label %88
49: ; preds = %43
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%51 = load i32, ptr %9, align 4
store i32 %51, ptr %7, align 4
br label %52
52: ; preds = %80, %49
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %54, %55
%57 = icmp slt i32 %53, %56
br i1 %57, label %58, label %83
58: ; preds = %52
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %12, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %68
62: ; preds = %58
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %11, align 4
%65 = icmp eq i32 %63, %64
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %79
68: ; preds = %62, %58
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %7, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [21 x i8], ptr %69, i64 %71
%73 = load i32, ptr %8, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [21 x i8], ptr %72, i64 0, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %77)
br label %79
79: ; preds = %68, %66
br label %80
80: ; preds = %79
%81 = load i32, ptr %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
br label %52, !llvm.loop !8
83: ; preds = %52
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %85
85: ; preds = %83
%86 = load i32, ptr %8, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %8, align 4
br label %43, !llvm.loop !9
88: ; preds = %43
store i32 0, ptr %7, align 4
br label %89
89: ; preds = %96, %88
%90 = load i32, ptr %7, align 4
%91 = load i32, ptr %5, align 4
%92 = add nsw i32 %91, 2
%93 = icmp slt i32 %90, %92
br i1 %93, label %94, label %99
94: ; preds = %89
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %96
96: ; preds = %94
%97 = load i32, ptr %7, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %7, align 4
br label %89, !llvm.loop !10
99: ; preds = %89
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5cihduo8.c"
target datalayout = "e-m:e-p270: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"cls\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"P\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printWindow(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 21, %13
%15 = sdiv i32 %14, 2
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 21, %16
%18 = sdiv i32 %17, 2
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 1
%21 = sdiv i32 %20, 2
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 1
%26 = sdiv i32 %25, 2
%27 = load i32, ptr %10, align 4
%28 = add nsw i32 %26, %27
store i32 %28, ptr %12, align 4
%29 = call i32 @system(ptr noundef @.str)
store i32 0, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 2
%33 = icmp slt i32 %30, %32
br i1 %33, label %.lr.ph, label %43
.lr.ph: ; preds = %3
br label %34
34: ; preds = %.lr.ph, %36
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %36
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 2
%42 = icmp slt i32 %39, %41
br i1 %42, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %43
43: ; preds = %._crit_edge, %3
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%45 = load i32, ptr %10, align 4
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %47, %48
%50 = icmp slt i32 %46, %49
br i1 %50, label %.lr.ph5, label %99
.lr.ph5: ; preds = %43
br label %51
51: ; preds = %.lr.ph5, %91
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%53 = load i32, ptr %9, align 4
store i32 %53, ptr %7, align 4
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %55, %56
%58 = icmp slt i32 %54, %57
br i1 %58, label %.lr.ph2, label %89
.lr.ph2: ; preds = %51
br label %59
59: ; preds = %.lr.ph2, %81
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %12, align 4
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %69
63: ; preds = %59
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %11, align 4
%66 = icmp eq i32 %64, %65
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %80
69: ; preds = %63, %59
%70 = load ptr, ptr %4, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [21 x i8], ptr %70, i64 %72
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [21 x i8], ptr %73, i64 0, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %78)
br label %80
80: ; preds = %69, %67
br label %81
81: ; preds = %80
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %7, align 4
%84 = load i32, ptr %7, align 4
%85 = load i32, ptr %9, align 4
%86 = load i32, ptr %5, align 4
%87 = add nsw i32 %85, %86
%88 = icmp slt i32 %84, %87
br i1 %88, label %59, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %81
br label %89
89: ; preds = %._crit_edge3, %51
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %91
91: ; preds = %89
%92 = load i32, ptr %8, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %8, align 4
%94 = load i32, ptr %8, align 4
%95 = load i32, ptr %10, align 4
%96 = load i32, ptr %6, align 4
%97 = add nsw i32 %95, %96
%98 = icmp slt i32 %94, %97
br i1 %98, label %51, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %91
br label %99
99: ; preds = %._crit_edge6, %43
store i32 0, ptr %7, align 4
%100 = load i32, ptr %7, align 4
%101 = load i32, ptr %5, align 4
%102 = add nsw i32 %101, 2
%103 = icmp slt i32 %100, %102
br i1 %103, label %.lr.ph8, label %113
.lr.ph8: ; preds = %99
br label %104
104: ; preds = %.lr.ph8, %106
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %106
106: ; preds = %104
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %7, align 4
%109 = load i32, ptr %7, align 4
%110 = load i32, ptr %5, align 4
%111 = add nsw i32 %110, 2
%112 = icmp slt i32 %109, %111
br i1 %112, label %104, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %106
br label %113
113: ; preds = %._crit_edge9, %99
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp2_d8irq3.c'
source_filename = "/tmp/tmp2_d8irq3.c"
target datalayout = "e-m:e-p270: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"LOG_MEPINTA_DEBUG\00", align 1
@.str.1 = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/joaduo/mepinta/refs/heads/master/backend/c_and_cpp/backend_api_c/solve_symbol.c\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c"Failed to find the requested symbol for handle at %p. Symbol is NULL.\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"Failed to find the requested symbol '%s'. Handle is NULL.\0A\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c"Failed to find the requested symbol. Handle and symbol are NULL.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mepinta_solve_symbol_quiet(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %9
%13 = call i32 (...) @dlerror()
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @dlsym(ptr noundef %14, ptr noundef %15)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %3, align 8
br label %34
18: ; preds = %9, %2
%19 = load ptr, ptr %4, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %4, align 8
%23 = call i32 (ptr, i32, ptr, i32, ptr, ...) @MP_printLog(ptr noundef @.str, i32 noundef 50, ptr noundef @.str.1, i32 noundef 80, ptr noundef @.str.2, ptr noundef %22)
br label %33
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load ptr, ptr %5, align 8
%29 = call i32 (ptr, i32, ptr, i32, ptr, ...) @MP_printLog(ptr noundef @.str, i32 noundef 50, ptr noundef @.str.1, i32 noundef 83, ptr noundef @.str.3, ptr noundef %28)
br label %32
30: ; preds = %24
%31 = call i32 (ptr, i32, ptr, i32, ptr, ...) @MP_printLog(ptr noundef @.str, i32 noundef 50, ptr noundef @.str.1, i32 noundef 86, ptr noundef @.str.4)
br label %32
32: ; preds = %30, %27
br label %33
33: ; preds = %32, %21
store ptr null, ptr %3, align 8
br label %34
34: ; preds = %33, %12
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @dlerror(...) #1
declare ptr @dlsym(ptr noundef, ptr noundef) #1
declare i32 @MP_printLog(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_d8irq3.c"
target datalayout = "e-m:e-p270: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"LOG_MEPINTA_DEBUG\00", align 1
@.str.1 = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/joaduo/mepinta/refs/heads/master/backend/c_and_cpp/backend_api_c/solve_symbol.c\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c"Failed to find the requested symbol for handle at %p. Symbol is NULL.\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"Failed to find the requested symbol '%s'. Handle is NULL.\0A\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c"Failed to find the requested symbol. Handle and symbol are NULL.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mepinta_solve_symbol_quiet(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %9
%13 = call i32 (...) @dlerror()
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @dlsym(ptr noundef %14, ptr noundef %15)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %3, align 8
br label %34
18: ; preds = %9, %2
%19 = load ptr, ptr %4, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %4, align 8
%23 = call i32 (ptr, i32, ptr, i32, ptr, ...) @MP_printLog(ptr noundef @.str, i32 noundef 50, ptr noundef @.str.1, i32 noundef 80, ptr noundef @.str.2, ptr noundef %22)
br label %33
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load ptr, ptr %5, align 8
%29 = call i32 (ptr, i32, ptr, i32, ptr, ...) @MP_printLog(ptr noundef @.str, i32 noundef 50, ptr noundef @.str.1, i32 noundef 83, ptr noundef @.str.3, ptr noundef %28)
br label %32
30: ; preds = %24
%31 = call i32 (ptr, i32, ptr, i32, ptr, ...) @MP_printLog(ptr noundef @.str, i32 noundef 50, ptr noundef @.str.1, i32 noundef 86, ptr noundef @.str.4)
br label %32
32: ; preds = %30, %27
br label %33
33: ; preds = %32, %21
store ptr null, ptr %3, align 8
br label %34
34: ; preds = %33, %12
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @dlerror(...) #1
declare ptr @dlsym(ptr noundef, ptr noundef) #1
declare i32 @MP_printLog(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7rbjpmzg.c'
source_filename = "/tmp/tmp7rbjpmzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
%struct.sockaddr_in = type { i32 }
@FD_SETSIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comms_check_for_clients(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.timeval, align 8
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1
store i64 0, ptr %12, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
store i32 1, ptr %13, align 8
store i32 4, ptr %10, align 4
%14 = call i32 @FD_ZERO(ptr noundef %7)
store i32 0, ptr %11, align 4
br label %15
15: ; preds = %30, %3
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %33
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %11, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 @FD_SET(i32 noundef %24, ptr noundef %7)
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %11, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 -1, ptr %29, align 4
br label %30
30: ; preds = %19
%31 = load i32, ptr %11, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %11, align 4
br label %15, !llvm.loop !6
33: ; preds = %15
%34 = load i32, ptr @FD_SETSIZE, align 4
%35 = call i64 @select(i32 noundef %34, ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef %8)
%36 = icmp sle i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
br label %66
38: ; preds = %33
store i32 0, ptr %11, align 4
br label %39
39: ; preds = %63, %38
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %66
43: ; preds = %39
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = call i64 @FD_ISSET(i32 noundef %48, ptr noundef %7)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %62
51: ; preds = %43
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %11, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = call i32 @accept(i32 noundef %56, ptr noundef %9, ptr noundef %10)
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
br label %62
62: ; preds = %51, %43
br label %63
63: ; preds = %62
%64 = load i32, ptr %11, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %11, align 4
br label %39, !llvm.loop !8
66: ; preds = %37, %39
ret void
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @accept(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7rbjpmzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
%struct.sockaddr_in = type { i32 }
@FD_SETSIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comms_check_for_clients(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.timeval, align 8
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1
store i64 0, ptr %12, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
store i32 1, ptr %13, align 8
store i32 4, ptr %10, align 4
%14 = call i32 @FD_ZERO(ptr noundef %7)
store i32 0, ptr %11, align 4
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %35
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %29
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %11, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @FD_SET(i32 noundef %23, ptr noundef %7)
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %11, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
store i32 -1, ptr %28, align 4
br label %29
29: ; preds = %18
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %11, align 4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %3
%36 = load i32, ptr @FD_SETSIZE, align 4
%37 = call i64 @select(i32 noundef %36, ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef %8)
%38 = icmp sle i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
br label %70
40: ; preds = %35
store i32 0, ptr %11, align 4
%41 = load i32, ptr %11, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %40
br label %44
44: ; preds = %.lr.ph2, %64
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %11, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = call i64 @FD_ISSET(i32 noundef %49, ptr noundef %7)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %63
52: ; preds = %44
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = call i32 @accept(i32 noundef %57, ptr noundef %9, ptr noundef %10)
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
store i32 %58, ptr %62, align 4
br label %63
63: ; preds = %52, %44
br label %64
64: ; preds = %63
%65 = load i32, ptr %11, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %11, align 4
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %44, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %64
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %40
br label %70
70: ; preds = %.loopexit, %39
ret void
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @accept(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprny_fzwo.c'
source_filename = "/tmp/tmprny_fzwo.c"
target datalayout = "e-m:e-p270: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 @BrzConstant_reqdown(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef 0, i32 noundef 1)
%8 = call i32 @SEND_DATAOFF_DELAYED(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @SEND_ACKDOWN_DELAYED(i32 noundef, i32 noundef) #1
declare i32 @SEND_DATAOFF_DELAYED(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/tmprny_fzwo.c"
target datalayout = "e-m:e-p270: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 @BrzConstant_reqdown(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef 0, i32 noundef 1)
%8 = call i32 @SEND_DATAOFF_DELAYED(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @SEND_ACKDOWN_DELAYED(i32 noundef, i32 noundef) #1
declare i32 @SEND_DATAOFF_DELAYED(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/tmpm42gl32v.c'
source_filename = "/tmp/tmpm42gl32v.c"
target datalayout = "e-m:e-p270: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 @pt_rand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 0, %4
br i1 %5, label %6, label %14
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %8, 32
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = shl i32 -1, %11
%13 = xor i32 %12, -1
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %6, %1
store i32 -1, ptr %3, align 4
br label %15
15: ; preds = %14, %10
%16 = call i32 (...) @rand()
%17 = load i32, ptr %3, align 4
%18 = and i32 %16, %17
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpm42gl32v.c"
target datalayout = "e-m:e-p270: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 @pt_rand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 0, %4
br i1 %5, label %6, label %14
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %8, 32
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = shl i32 -1, %11
%13 = xor i32 %12, -1
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %6, %1
store i32 -1, ptr %3, align 4
br label %15
15: ; preds = %14, %10
%16 = call i32 (...) @rand()
%17 = load i32, ptr %3, align 4
%18 = and i32 %16, %17
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpbkhjry5l.c'
source_filename = "/tmp/tmpbkhjry5l.c"
target datalayout = "e-m:e-p270: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"what\\nyou\\n\22want\22\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Res_1: %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
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
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbkhjry5l.c"
target datalayout = "e-m:e-p270: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"what\\nyou\\n\22want\22\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Res_1: %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
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
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkoe6z8e_.c'
source_filename = "/tmp/tmpkoe6z8e_.c"
target datalayout = "e-m:e-p270: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/tmpkoe6z8e_.c"
target datalayout = "e-m:e-p270: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/tmpc_ibnu5c.c'
source_filename = "/tmp/tmpc_ibnu5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"ERROR: EEPROM is still reading byte (busy)!\0A\00", align 1
@EBUSY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EE_ReadByte(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
store i8 0, ptr %8, align 1
%9 = load ptr, ptr %4, align 8
%10 = call i32 @EE_WaitIdle(ptr noundef %9)
%11 = and i32 %10, 524288
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @EINVAL, align 4
%15 = sub nsw i32 0, %14
store i32 %15, ptr %3, align 4
br label %52
16: ; preds = %2
store i32 393216, ptr %6, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = call i32 @PEX_8111Write(ptr noundef %17, i32 noundef 4100, i32 noundef %18)
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %31, %16
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 1000
br i1 %22, label %23, label %34
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = call i32 @PEX_8111Read(ptr noundef %24, i32 noundef 4100, ptr noundef %6)
%26 = load i32, ptr %6, align 4
%27 = and i32 %26, 131072
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %23
br label %34
30: ; preds = %23
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
br label %20, !llvm.loop !6
34: ; preds = %29, %20
%35 = load i32, ptr %6, align 4
%36 = and i32 %35, 131072
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = call i32 @printf(ptr noundef @.str)
%40 = load i32, ptr @EBUSY, align 4
%41 = sub nsw i32 0, %40
store i32 %41, ptr %3, align 4
br label %52
42: ; preds = %34
%43 = load ptr, ptr %4, align 8
%44 = call i32 @EE_WaitIdle(ptr noundef %43)
%45 = load ptr, ptr %4, align 8
%46 = call i32 @PEX_8111Read(ptr noundef %45, i32 noundef 4100, ptr noundef %6)
%47 = load i32, ptr %6, align 4
%48 = ashr i32 %47, 8
%49 = and i32 %48, 255
%50 = trunc i32 %49 to i8
%51 = load ptr, ptr %5, align 8
store i8 %50, ptr %51, align 1
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %42, %38, %13
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i32 @EE_WaitIdle(ptr noundef) #1
declare i32 @PEX_8111Write(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @PEX_8111Read(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_ibnu5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"ERROR: EEPROM is still reading byte (busy)!\0A\00", align 1
@EBUSY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EE_ReadByte(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
store i8 0, ptr %8, align 1
%9 = load ptr, ptr %4, align 8
%10 = call i32 @EE_WaitIdle(ptr noundef %9)
%11 = and i32 %10, 524288
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @EINVAL, align 4
%15 = sub nsw i32 0, %14
store i32 %15, ptr %3, align 4
br label %53
16: ; preds = %2
store i32 393216, ptr %6, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = call i32 @PEX_8111Write(ptr noundef %17, i32 noundef 4100, i32 noundef %18)
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 1000
br i1 %21, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %22
22: ; preds = %.lr.ph, %30
%23 = load ptr, ptr %4, align 8
%24 = call i32 @PEX_8111Read(ptr noundef %23, i32 noundef 4100, ptr noundef %6)
%25 = load i32, ptr %6, align 4
%26 = and i32 %25, 131072
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %22
br label %35
29: ; preds = %22
br label %30
30: ; preds = %29
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %33, 1000
br i1 %34, label %22, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %30
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %35
35: ; preds = %.loopexit, %28
%36 = load i32, ptr %6, align 4
%37 = and i32 %36, 131072
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = call i32 @printf(ptr noundef @.str)
%41 = load i32, ptr @EBUSY, align 4
%42 = sub nsw i32 0, %41
store i32 %42, ptr %3, align 4
br label %53
43: ; preds = %35
%44 = load ptr, ptr %4, align 8
%45 = call i32 @EE_WaitIdle(ptr noundef %44)
%46 = load ptr, ptr %4, align 8
%47 = call i32 @PEX_8111Read(ptr noundef %46, i32 noundef 4100, ptr noundef %6)
%48 = load i32, ptr %6, align 4
%49 = ashr i32 %48, 8
%50 = and i32 %49, 255
%51 = trunc i32 %50 to i8
%52 = load ptr, ptr %5, align 8
store i8 %51, ptr %52, align 1
store i32 0, ptr %3, align 4
br label %53
53: ; preds = %43, %39, %13
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @EE_WaitIdle(ptr noundef) #1
declare i32 @PEX_8111Write(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @PEX_8111Read(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpr4oja1td.c'
source_filename = "/tmp/tmpr4oja1td.c"
target datalayout = "e-m:e-p270: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @xrealloc(ptr noundef null, i64 noundef %5, i64 noundef %6)
ret ptr %7
}
declare ptr @xrealloc(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr4oja1td.c"
target datalayout = "e-m:e-p270: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @xrealloc(ptr noundef null, i64 noundef %5, i64 noundef %6)
ret ptr %7
}
declare ptr @xrealloc(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsad2rbj8.c'
source_filename = "/tmp/tmpsad2rbj8.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%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 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i8
store i8 %30, ptr %9, align 1
%31 = load i8, ptr %9, align 1
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33
store i8 %31, ptr %34, align 1
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = icmp eq i32 %43, 25
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsad2rbj8.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%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 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i8
store i8 %29, ptr %9, align 1
%30 = load i8, ptr %9, align 1
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32
store i8 %30, ptr %33, align 1
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = icmp eq i32 %44, 25
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpaol4vjxp.c'
source_filename = "/tmp/tmpaol4vjxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"d needs f (fcn table) or v (var table) parameter\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @db_dump(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
switch i32 %7, label %14 [
i32 102, label %8
i32 118, label %11
]
8: ; preds = %1
%9 = call i32 (...) @dumpFun()
%10 = call i32 @printf(ptr noundef @.str)
br label %16
11: ; preds = %1
%12 = call i32 (...) @dumpVarTab()
%13 = call i32 @printf(ptr noundef @.str)
br label %16
14: ; preds = %1
%15 = call i32 @printf(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %11, %8
ret void
}
declare i32 @dumpFun(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @dumpVarTab(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpaol4vjxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"d needs f (fcn table) or v (var table) parameter\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @db_dump(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
switch i32 %7, label %14 [
i32 102, label %8
i32 118, label %11
]
8: ; preds = %1
%9 = call i32 (...) @dumpFun()
%10 = call i32 @printf(ptr noundef @.str)
br label %16
11: ; preds = %1
%12 = call i32 (...) @dumpVarTab()
%13 = call i32 @printf(ptr noundef @.str)
br label %16
14: ; preds = %1
%15 = call i32 @printf(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %11, %8
ret void
}
declare i32 @dumpFun(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @dumpVarTab(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpv4jj2lql.c'
source_filename = "/tmp/tmpv4jj2lql.c"
target datalayout = "e-m:e-p270: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"%i\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = load i32, ptr %8, align 4
store i32 %10, ptr %6, align 4
br label %11
11: ; preds = %18, %2
%12 = load i32, ptr %6, align 4
%13 = icmp sgt i32 %12, 2
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = mul nsw i32 %16, %15
store i32 %17, ptr %7, align 4
br label %18
18: ; preds = %14
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %6, align 4
br label %11, !llvm.loop !6
21: ; preds = %11
%22 = load i32, ptr %7, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv4jj2lql.c"
target datalayout = "e-m:e-p270: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"%i\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = load i32, ptr %8, align 4
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 2
br i1 %12, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %17
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = mul nsw i32 %15, %14
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sgt i32 %20, 2
br i1 %21, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %2
%23 = load i32, ptr %7, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnw6iz6k0.c'
source_filename = "/tmp/tmpnw6iz6k0.c"
target datalayout = "e-m:e-p270: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 @stdlib_strided_dnanasumors(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca double, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load i64, ptr %5, align 8
%13 = icmp sle i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %69
15: ; preds = %3
%16 = load i64, ptr %5, align 8
%17 = icmp eq i64 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i64, ptr %7, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %18, %15
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds double, ptr %22, i64 0
%24 = load double, ptr %23, align 8
%25 = call i64 @stdlib_base_is_nan(double noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %21
store double 0.000000e+00, ptr %4, align 8
br label %69
28: ; preds = %21
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds double, ptr %29, i64 0
%31 = load double, ptr %30, align 8
%32 = call double @llvm.fabs.f64(double %31)
store double %32, ptr %4, align 8
br label %69
33: ; preds = %18
%34 = load i64, ptr %7, align 8
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %33
%37 = load i64, ptr %5, align 8
%38 = sub nsw i64 1, %37
%39 = load i64, ptr %7, align 8
%40 = mul nsw i64 %38, %39
store i64 %40, ptr %9, align 8
br label %42
41: ; preds = %33
store i64 0, ptr %9, align 8
br label %42
42: ; preds = %41, %36
store double 0.000000e+00, ptr %8, align 8
store i64 0, ptr %10, align 8
br label %43
43: ; preds = %64, %42
%44 = load i64, ptr %10, align 8
%45 = load i64, ptr %5, align 8
%46 = icmp slt i64 %44, %45
br i1 %46, label %47, label %67
47: ; preds = %43
%48 = load ptr, ptr %6, align 8
%49 = load i64, ptr %9, align 8
%50 = getelementptr inbounds double, ptr %48, i64 %49
%51 = load double, ptr %50, align 8
store double %51, ptr %11, align 8
%52 = load double, ptr %11, align 8
%53 = call i64 @stdlib_base_is_nan(double noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %60, label %55
55: ; preds = %47
%56 = load double, ptr %11, align 8
%57 = call double @llvm.fabs.f64(double %56)
%58 = load double, ptr %8, align 8
%59 = fadd double %58, %57
store double %59, ptr %8, align 8
br label %60
60: ; preds = %55, %47
%61 = load i64, ptr %7, align 8
%62 = load i64, ptr %9, align 8
%63 = add nsw i64 %62, %61
store i64 %63, ptr %9, align 8
br label %64
64: ; preds = %60
%65 = load i64, ptr %10, align 8
%66 = add nsw i64 %65, 1
store i64 %66, ptr %10, align 8
br label %43, !llvm.loop !6
67: ; preds = %43
%68 = load double, ptr %8, align 8
store double %68, ptr %4, align 8
br label %69
69: ; preds = %67, %28, %27, %14
%70 = load double, ptr %4, align 8
ret double %70
}
declare i64 @stdlib_base_is_nan(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnw6iz6k0.c"
target datalayout = "e-m:e-p270: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 @stdlib_strided_dnanasumors(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca double, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load i64, ptr %5, align 8
%13 = icmp sle i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %71
15: ; preds = %3
%16 = load i64, ptr %5, align 8
%17 = icmp eq i64 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i64, ptr %7, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %18, %15
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds double, ptr %22, i64 0
%24 = load double, ptr %23, align 8
%25 = call i64 @stdlib_base_is_nan(double noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %21
store double 0.000000e+00, ptr %4, align 8
br label %71
28: ; preds = %21
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds double, ptr %29, i64 0
%31 = load double, ptr %30, align 8
%32 = call double @llvm.fabs.f64(double %31)
store double %32, ptr %4, align 8
br label %71
33: ; preds = %18
%34 = load i64, ptr %7, align 8
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %33
%37 = load i64, ptr %5, align 8
%38 = sub nsw i64 1, %37
%39 = load i64, ptr %7, align 8
%40 = mul nsw i64 %38, %39
store i64 %40, ptr %9, align 8
br label %42
41: ; preds = %33
store i64 0, ptr %9, align 8
br label %42
42: ; preds = %41, %36
store double 0.000000e+00, ptr %8, align 8
store i64 0, ptr %10, align 8
%43 = load i64, ptr %10, align 8
%44 = load i64, ptr %5, align 8
%45 = icmp slt i64 %43, %44
br i1 %45, label %.lr.ph, label %69
.lr.ph: ; preds = %42
br label %46
46: ; preds = %.lr.ph, %63
%47 = load ptr, ptr %6, align 8
%48 = load i64, ptr %9, align 8
%49 = getelementptr inbounds double, ptr %47, i64 %48
%50 = load double, ptr %49, align 8
store double %50, ptr %11, align 8
%51 = load double, ptr %11, align 8
%52 = call i64 @stdlib_base_is_nan(double noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %59, label %54
54: ; preds = %46
%55 = load double, ptr %11, align 8
%56 = call double @llvm.fabs.f64(double %55)
%57 = load double, ptr %8, align 8
%58 = fadd double %57, %56
store double %58, ptr %8, align 8
br label %59
59: ; preds = %54, %46
%60 = load i64, ptr %7, align 8
%61 = load i64, ptr %9, align 8
%62 = add nsw i64 %61, %60
store i64 %62, ptr %9, align 8
br label %63
63: ; preds = %59
%64 = load i64, ptr %10, align 8
%65 = add nsw i64 %64, 1
store i64 %65, ptr %10, align 8
%66 = load i64, ptr %10, align 8
%67 = load i64, ptr %5, align 8
%68 = icmp slt i64 %66, %67
br i1 %68, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %69
69: ; preds = %._crit_edge, %42
%70 = load double, ptr %8, align 8
store double %70, ptr %4, align 8
br label %71
71: ; preds = %69, %28, %27, %14
%72 = load double, ptr %4, align 8
ret double %72
}
declare i64 @stdlib_base_is_nan(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpscyej83k.c'
source_filename = "/tmp/tmpscyej83k.c"
target datalayout = "e-m:e-p270: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 @int_cloner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 4)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare ptr @malloc(i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpscyej83k.c"
target datalayout = "e-m:e-p270: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 @int_cloner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 4)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare ptr @malloc(i32 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"}
|
; ModuleID = '/tmp/tmpokdy_cs6.c'
source_filename = "/tmp/tmpokdy_cs6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"This is a test\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c" Out of memory!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"gho\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%15 = call i64 @malloc(i32 noundef 15)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %6, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = sext i32 %24 to i64
store i64 %25, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %26
26: ; preds = %101, %22
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = load i64, ptr %8, align 8
%30 = icmp ule i64 %28, %29
br i1 %30, label %31, label %104
31: ; preds = %26
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 116
br i1 %38, label %39, label %74
39: ; preds = %31
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 101
br i1 %47, label %48, label %74
48: ; preds = %39
store ptr @.str.2, ptr %11, align 8
%49 = load i32, ptr %10, align 4
store i32 %49, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %50
50: ; preds = %68, %48
%51 = load i32, ptr %13, align 4
%52 = load ptr, ptr %11, align 8
%53 = call i32 @strlen(ptr noundef %52)
%54 = sub nsw i32 %53, 1
%55 = icmp sle i32 %51, %54
br i1 %55, label %56, label %71
56: ; preds = %50
%57 = load ptr, ptr %11, align 8
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %12, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 %61, ptr %65, align 1
%66 = load i32, ptr %12, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %12, align 4
br label %68
68: ; preds = %56
%69 = load i32, ptr %13, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %13, align 4
br label %50, !llvm.loop !6
71: ; preds = %50
%72 = load i32, ptr %12, align 4
%73 = sub nsw i32 %72, 1
store i32 %73, ptr %10, align 4
store i32 1, ptr %9, align 4
br label %100
74: ; preds = %39, %31
%75 = load i32, ptr %9, align 4
%76 = icmp eq i32 %75, 1
br i1 %76, label %77, label %89
77: ; preds = %74
%78 = load i32, ptr %10, align 4
%79 = sub nsw i32 %78, 1
store i32 %79, ptr %14, align 4
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %14, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %10, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
store i8 %84, ptr %88, align 1
br label %99
89: ; preds = %74
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %10, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
%94 = load i8, ptr %93, align 1
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr %10, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %95, i64 %97
store i8 %94, ptr %98, align 1
br label %99
99: ; preds = %89, %77
br label %100
100: ; preds = %99, %71
br label %101
101: ; preds = %100
%102 = load i32, ptr %10, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %10, align 4
br label %26, !llvm.loop !8
104: ; preds = %26
%105 = load ptr, ptr %7, align 8
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %105)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokdy_cs6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"This is a test\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c" Out of memory!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"gho\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%15 = call i64 @malloc(i32 noundef 15)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %6, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = sext i32 %24 to i64
store i64 %25, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = load i64, ptr %8, align 8
%29 = icmp ule i64 %27, %28
br i1 %29, label %.lr.ph2, label %111
.lr.ph2: ; preds = %22
br label %30
30: ; preds = %.lr.ph2, %104
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %10, 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, 116
br i1 %37, label %38, label %77
38: ; preds = %30
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 101
br i1 %46, label %47, label %77
47: ; preds = %38
store ptr @.str.2, ptr %11, align 8
%48 = load i32, ptr %10, align 4
store i32 %48, ptr %12, align 4
store i32 0, ptr %13, align 4
%49 = load i32, ptr %13, align 4
%50 = load ptr, ptr %11, align 8
%51 = call i32 @strlen(ptr noundef %50)
%52 = sub nsw i32 %51, 1
%53 = icmp sle i32 %49, %52
br i1 %53, label %.lr.ph, label %74
.lr.ph: ; preds = %47
br label %54
54: ; preds = %.lr.ph, %66
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %13, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %12, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 %59, ptr %63, align 1
%64 = load i32, ptr %12, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %12, align 4
br label %66
66: ; preds = %54
%67 = load i32, ptr %13, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %13, align 4
%69 = load i32, ptr %13, align 4
%70 = load ptr, ptr %11, align 8
%71 = call i32 @strlen(ptr noundef %70)
%72 = sub nsw i32 %71, 1
%73 = icmp sle i32 %69, %72
br i1 %73, label %54, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %74
74: ; preds = %._crit_edge, %47
%75 = load i32, ptr %12, align 4
%76 = sub nsw i32 %75, 1
store i32 %76, ptr %10, align 4
store i32 1, ptr %9, align 4
br label %103
77: ; preds = %38, %30
%78 = load i32, ptr %9, align 4
%79 = icmp eq i32 %78, 1
br i1 %79, label %80, label %92
80: ; preds = %77
%81 = load i32, ptr %10, align 4
%82 = sub nsw i32 %81, 1
store i32 %82, ptr %14, align 4
%83 = load ptr, ptr %6, align 8
%84 = load i32, ptr %14, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i8, ptr %86, align 1
%88 = load ptr, ptr %7, align 8
%89 = load i32, ptr %10, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
store i8 %87, ptr %91, align 1
br label %102
92: ; preds = %77
%93 = load ptr, ptr %6, align 8
%94 = load i32, ptr %10, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
%97 = load i8, ptr %96, align 1
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %10, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
store i8 %97, ptr %101, align 1
br label %102
102: ; preds = %92, %80
br label %103
103: ; preds = %102, %74
br label %104
104: ; preds = %103
%105 = load i32, ptr %10, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %10, align 4
%107 = load i32, ptr %10, align 4
%108 = sext i32 %107 to i64
%109 = load i64, ptr %8, align 8
%110 = icmp ule i64 %108, %109
br i1 %110, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %104
br label %111
111: ; preds = %._crit_edge3, %22
%112 = load ptr, ptr %7, align 8
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %112)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpc5h42jnf.c'
source_filename = "/tmp/tmpc5h42jnf.c"
target datalayout = "e-m:e-p270: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 @AVRStringRemoveChar(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i64 0, ptr %6, align 8
store i64 0, ptr %5, align 8
br label %7
7: ; preds = %32, %2
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = icmp ult i64 %8, %10
br i1 %11, label %12, label %35
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %17, %19
br i1 %20, label %21, label %31
21: ; preds = %12
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %3, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 %25, ptr %28, align 1
%29 = load i64, ptr %6, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %6, align 8
br label %31
31: ; preds = %21, %12
br label %32
32: ; preds = %31
%33 = load i64, ptr %5, align 8
%34 = add i64 %33, 1
store i64 %34, ptr %5, align 8
br label %7, !llvm.loop !6
35: ; preds = %7
%36 = load ptr, ptr %3, align 8
%37 = load i64, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
store i8 0, ptr %38, align 1
ret void
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc5h42jnf.c"
target datalayout = "e-m:e-p270: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 @AVRStringRemoveChar(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i64 0, ptr %6, align 8
store i64 0, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = icmp ult i64 %7, %9
br i1 %10, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %31
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load i8, ptr %4, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %16, %18
br i1 %19, label %20, label %30
20: ; preds = %11
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %3, align 8
%26 = load i64, ptr %6, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store i8 %24, ptr %27, align 1
%28 = load i64, ptr %6, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %6, align 8
br label %30
30: ; preds = %20, %11
br label %31
31: ; preds = %30
%32 = load i64, ptr %5, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %5, align 8
%34 = load i64, ptr %5, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i64 @strlen(ptr noundef %35)
%37 = icmp ult i64 %34, %36
br i1 %37, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %38
38: ; preds = %._crit_edge, %2
%39 = load ptr, ptr %3, align 8
%40 = load i64, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
store i8 0, ptr %41, align 1
ret void
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnmjwg_hu.c'
source_filename = "/tmp/tmpnmjwg_hu.c"
target datalayout = "e-m:e-p270: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 @test3(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @__builtin_mips_cabs_ueq_d(double noundef %5, double noundef %6)
ret i32 %7
}
declare i32 @__builtin_mips_cabs_ueq_d(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/tmpnmjwg_hu.c"
target datalayout = "e-m:e-p270: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 @test3(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @__builtin_mips_cabs_ueq_d(double noundef %5, double noundef %6)
ret i32 %7
}
declare i32 @__builtin_mips_cabs_ueq_d(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/tmpi61pp_7h.c'
source_filename = "/tmp/tmpi61pp_7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [33 x i8] c"Couldn't open /dev/i2c-0. RC=%s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [34 x i8] c"Couldn't reach address %x. RC=%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Something went wrong\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"LSM303DLHC I2C test completed successfully!\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 [20 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @snprintf(ptr noundef %4, i32 noundef 19, ptr noundef @.str)
%6 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %0
%12 = load i32, ptr @errno, align 4
%13 = call ptr @strerror(i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr @I2C_SLAVE, align 4
%19 = call i64 @ioctl(i32 noundef %17, i32 noundef %18, i32 noundef 25)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load i32, ptr @errno, align 4
%23 = call ptr @strerror(i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 25, ptr noundef %23)
%25 = load i32, ptr %2, align 4
%26 = call i32 @close(i32 noundef %25)
%27 = call i32 @exit(i32 noundef -1) #3
unreachable
28: ; preds = %16
%29 = load i32, ptr %2, align 4
%30 = call i64 @init_sensor(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%34 = load i32, ptr %2, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %28
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%39 = load i32, ptr %2, align 4
%40 = call i32 @close(i32 noundef %39)
ret i32 0
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @init_sensor(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi61pp_7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [33 x i8] c"Couldn't open /dev/i2c-0. RC=%s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [34 x i8] c"Couldn't reach address %x. RC=%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Something went wrong\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"LSM303DLHC I2C test completed successfully!\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 [20 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @snprintf(ptr noundef %4, i32 noundef 19, ptr noundef @.str)
%6 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %0
%12 = load i32, ptr @errno, align 4
%13 = call ptr @strerror(i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr @I2C_SLAVE, align 4
%19 = call i64 @ioctl(i32 noundef %17, i32 noundef %18, i32 noundef 25)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load i32, ptr @errno, align 4
%23 = call ptr @strerror(i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 25, ptr noundef %23)
%25 = load i32, ptr %2, align 4
%26 = call i32 @close(i32 noundef %25)
%27 = call i32 @exit(i32 noundef -1) #3
unreachable
28: ; preds = %16
%29 = load i32, ptr %2, align 4
%30 = call i64 @init_sensor(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%34 = load i32, ptr %2, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %28
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%39 = load i32, ptr %2, align 4
%40 = call i32 @close(i32 noundef %39)
ret i32 0
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @init_sensor(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.