llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp69h79117.c'
source_filename = "/tmp/tmp69h79117.c"
target datalayout = "e-m:e-p270: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/tmp69h79117.c"
target datalayout = "e-m:e-p270: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/tmp132e_7wo.c'
source_filename = "/tmp/tmp132e_7wo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"&\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @oauth_serialize_url(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call ptr @oauth_serialize_url_sep(i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef @.str)
ret ptr %10
}
declare ptr @oauth_serialize_url_sep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp132e_7wo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"&\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @oauth_serialize_url(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call ptr @oauth_serialize_url_sep(i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef @.str)
ret ptr %10
}
declare ptr @oauth_serialize_url_sep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq3nrbdf6.c'
source_filename = "/tmp/tmpq3nrbdf6.c"
target datalayout = "e-m:e-p270:32:32-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 @ft_memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
br label %9
9: ; preds = %28, %3
%10 = load i64, ptr %7, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %31
12: ; preds = %9
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = sub nsw i32 %15, %18
store i32 %19, ptr %8, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 1
store ptr %23, ptr %6, align 8
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %12
%27 = load i32, ptr %8, align 4
store i32 %27, ptr %4, align 4
br label %32
28: ; preds = %12
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %7, align 8
br label %9, !llvm.loop !6
31: ; preds = %9
store i32 0, ptr %4, align 4
br label %32
32: ; preds = %31, %26
%33 = load i32, ptr %4, align 4
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq3nrbdf6.c"
target datalayout = "e-m:e-p270:32:32-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 @ft_memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %27
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = zext i8 %13 to i32
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = sub nsw i32 %14, %17
store i32 %18, ptr %8, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
store ptr %22, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %11
%26 = load i32, ptr %8, align 4
store i32 %26, ptr %4, align 4
br label %33
27: ; preds = %11
%28 = load i64, ptr %7, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %7, align 8
%30 = load i64, ptr %7, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %32, %25
%34 = load i32, ptr %4, align 4
ret i32 %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1rcumbep.c'
source_filename = "/tmp/tmp1rcumbep.c"
target datalayout = "e-m:e-p270: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"-cpu\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"cortex-a8\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"/usr/bin/qemu-arm-static\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %10, 3
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %8, align 8
%14 = alloca ptr, i64 %12, align 16
store i64 %12, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds ptr, ptr %14, i64 0
store ptr %17, ptr %18, align 16
%19 = getelementptr inbounds ptr, ptr %14, i64 1
store ptr @.str, ptr %19, align 8
%20 = getelementptr inbounds ptr, ptr %14, i64 2
store ptr @.str.1, ptr %20, align 16
%21 = getelementptr inbounds ptr, ptr %14, i64 3
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = mul i64 8, %26
%28 = trunc i64 %27 to i32
%29 = call i32 @memcpy(ptr noundef %21, ptr noundef %23, i32 noundef %28)
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %14, i64 %32
store ptr null, ptr %33, align 8
%34 = load ptr, ptr %7, align 8
%35 = call i32 @execve(ptr noundef @.str.2, ptr noundef %14, ptr noundef %34)
store i32 %35, ptr %4, align 4
%36 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %36)
%37 = load i32, ptr %4, align 4
ret i32 %37
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1rcumbep.c"
target datalayout = "e-m:e-p270: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"-cpu\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"cortex-a8\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"/usr/bin/qemu-arm-static\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %10, 3
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %8, align 8
%14 = alloca ptr, i64 %12, align 16
store i64 %12, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds ptr, ptr %14, i64 0
store ptr %17, ptr %18, align 16
%19 = getelementptr inbounds ptr, ptr %14, i64 1
store ptr @.str, ptr %19, align 8
%20 = getelementptr inbounds ptr, ptr %14, i64 2
store ptr @.str.1, ptr %20, align 16
%21 = getelementptr inbounds ptr, ptr %14, i64 3
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = mul i64 8, %26
%28 = trunc i64 %27 to i32
%29 = call i32 @memcpy(ptr noundef %21, ptr noundef %23, i32 noundef %28)
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %14, i64 %32
store ptr null, ptr %33, align 8
%34 = load ptr, ptr %7, align 8
%35 = call i32 @execve(ptr noundef @.str.2, ptr noundef %14, ptr noundef %34)
store i32 %35, ptr %4, align 4
%36 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %36)
%37 = load i32, ptr %4, align 4
ret i32 %37
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplght381l.c'
source_filename = "/tmp/tmplght381l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@aanum.aacvs = internal global [27 x i32] [i32 999, i32 0, i32 20, i32 4, i32 3, i32 6, i32 13, i32 7, i32 8, i32 9, i32 20, i32 11, i32 10, i32 12, i32 2, i32 20, i32 14, i32 5, i32 1, i32 15, i32 16, i32 20, i32 19, i32 17, i32 20, i32 18, i32 20], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aanum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isalpha(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 31
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [27 x i32], ptr @aanum.aacvs, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
br label %13
12: ; preds = %1
br label %13
13: ; preds = %12, %6
%14 = phi i32 [ %11, %6 ], [ 20, %12 ]
ret i32 %14
}
declare i64 @isalpha(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/tmplght381l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@aanum.aacvs = internal global [27 x i32] [i32 999, i32 0, i32 20, i32 4, i32 3, i32 6, i32 13, i32 7, i32 8, i32 9, i32 20, i32 11, i32 10, i32 12, i32 2, i32 20, i32 14, i32 5, i32 1, i32 15, i32 16, i32 20, i32 19, i32 17, i32 20, i32 18, i32 20], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aanum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isalpha(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 31
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [27 x i32], ptr @aanum.aacvs, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
br label %13
12: ; preds = %1
br label %13
13: ; preds = %12, %6
%14 = phi i32 [ %11, %6 ], [ 20, %12 ]
ret i32 %14
}
declare i64 @isalpha(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/tmpn0cimos9.c'
source_filename = "/tmp/tmpn0cimos9.c"
target datalayout = "e-m:e-p270:32:32-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 @plat_munmap(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 i32 @munmap(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @munmap(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn0cimos9.c"
target datalayout = "e-m:e-p270:32:32-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 @plat_munmap(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 i32 @munmap(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @munmap(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbc_76cs3.c'
source_filename = "/tmp/tmpbc_76cs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sorter_merge_sort_in_place_backmerge(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i64, ptr %7, align 8
%17 = getelementptr inbounds i64, ptr %15, i64 %16
store ptr %17, ptr %11, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = sub i64 1, %19
%21 = getelementptr inbounds i64, ptr %18, i64 %20
%22 = load i64, ptr %21, align 8
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 0
%25 = load i64, ptr %24, align 8
%26 = sub nsw i64 %22, %25
%27 = icmp sge i64 %26, 0
br i1 %27, label %28, label %42
28: ; preds = %4
%29 = load ptr, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = sub i64 0, %30
%32 = getelementptr inbounds i64, ptr %29, i64 %31
%33 = getelementptr inbounds i64, ptr %32, i64 1
%34 = load ptr, ptr %11, align 8
%35 = load i64, ptr %7, align 8
%36 = sub i64 0, %35
%37 = getelementptr inbounds i64, ptr %34, i64 %36
%38 = getelementptr inbounds i64, ptr %37, i64 1
%39 = load i64, ptr %7, align 8
%40 = call i32 @sorter_merge_sort_in_place_aswap(ptr noundef %33, ptr noundef %38, i64 noundef %39)
%41 = load i64, ptr %7, align 8
store i64 %41, ptr %5, align 8
br label %104
42: ; preds = %4
br label %43
43: ; preds = %80, %42
br label %44
44: ; preds = %67, %43
%45 = load ptr, ptr %8, align 8
%46 = load i64, ptr %45, align 8
%47 = load ptr, ptr %6, align 8
%48 = load i64, ptr %47, align 8
%49 = sub nsw i64 %46, %48
%50 = icmp slt i64 %49, 0
br i1 %50, label %51, label %68
51: ; preds = %44
%52 = load ptr, ptr %6, align 8
%53 = load i64, ptr %52, align 8
store i64 %53, ptr %12, align 8
%54 = load ptr, ptr %11, align 8
%55 = load i64, ptr %54, align 8
%56 = load ptr, ptr %6, align 8
store i64 %55, ptr %56, align 8
%57 = load i64, ptr %12, align 8
%58 = load ptr, ptr %11, align 8
store i64 %57, ptr %58, align 8
%59 = load ptr, ptr %6, align 8
%60 = getelementptr inbounds i64, ptr %59, i32 -1
store ptr %60, ptr %6, align 8
%61 = load ptr, ptr %11, align 8
%62 = getelementptr inbounds i64, ptr %61, i32 -1
store ptr %62, ptr %11, align 8
%63 = load i64, ptr %7, align 8
%64 = add i64 %63, -1
store i64 %64, ptr %7, align 8
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %51
store i64 0, ptr %5, align 8
br label %104
67: ; preds = %51
br label %44, !llvm.loop !6
68: ; preds = %44
%69 = load ptr, ptr %8, align 8
%70 = load i64, ptr %69, align 8
store i64 %70, ptr %13, align 8
%71 = load ptr, ptr %11, align 8
%72 = load i64, ptr %71, align 8
%73 = load ptr, ptr %8, align 8
store i64 %72, ptr %73, align 8
%74 = load i64, ptr %13, align 8
%75 = load ptr, ptr %11, align 8
store i64 %74, ptr %75, align 8
%76 = load ptr, ptr %8, align 8
%77 = getelementptr inbounds i64, ptr %76, i32 -1
store ptr %77, ptr %8, align 8
%78 = load ptr, ptr %11, align 8
%79 = getelementptr inbounds i64, ptr %78, i32 -1
store ptr %79, ptr %11, align 8
br label %80
80: ; preds = %68
%81 = load i64, ptr %9, align 8
%82 = add i64 %81, -1
store i64 %82, ptr %9, align 8
%83 = icmp ne i64 %82, 0
br i1 %83, label %43, label %84, !llvm.loop !8
84: ; preds = %80
%85 = load i64, ptr %7, align 8
store i64 %85, ptr %10, align 8
br label %86
86: ; preds = %98, %84
%87 = load ptr, ptr %6, align 8
%88 = load i64, ptr %87, align 8
store i64 %88, ptr %14, align 8
%89 = load ptr, ptr %11, align 8
%90 = load i64, ptr %89, align 8
%91 = load ptr, ptr %6, align 8
store i64 %90, ptr %91, align 8
%92 = load i64, ptr %14, align 8
%93 = load ptr, ptr %11, align 8
store i64 %92, ptr %93, align 8
%94 = load ptr, ptr %6, align 8
%95 = getelementptr inbounds i64, ptr %94, i32 -1
store ptr %95, ptr %6, align 8
%96 = load ptr, ptr %11, align 8
%97 = getelementptr inbounds i64, ptr %96, i32 -1
store ptr %97, ptr %11, align 8
br label %98
98: ; preds = %86
%99 = load i64, ptr %7, align 8
%100 = add i64 %99, -1
store i64 %100, ptr %7, align 8
%101 = icmp ne i64 %100, 0
br i1 %101, label %86, label %102, !llvm.loop !9
102: ; preds = %98
%103 = load i64, ptr %10, align 8
store i64 %103, ptr %5, align 8
br label %104
104: ; preds = %102, %66, %28
%105 = load i64, ptr %5, align 8
ret i64 %105
}
declare i32 @sorter_merge_sort_in_place_aswap(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbc_76cs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sorter_merge_sort_in_place_backmerge(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i64, ptr %7, align 8
%17 = getelementptr inbounds i64, ptr %15, i64 %16
store ptr %17, ptr %11, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = sub i64 1, %19
%21 = getelementptr inbounds i64, ptr %18, i64 %20
%22 = load i64, ptr %21, align 8
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 0
%25 = load i64, ptr %24, align 8
%26 = sub nsw i64 %22, %25
%27 = icmp sge i64 %26, 0
br i1 %27, label %28, label %42
28: ; preds = %4
%29 = load ptr, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = sub i64 0, %30
%32 = getelementptr inbounds i64, ptr %29, i64 %31
%33 = getelementptr inbounds i64, ptr %32, i64 1
%34 = load ptr, ptr %11, align 8
%35 = load i64, ptr %7, align 8
%36 = sub i64 0, %35
%37 = getelementptr inbounds i64, ptr %34, i64 %36
%38 = getelementptr inbounds i64, ptr %37, i64 1
%39 = load i64, ptr %7, align 8
%40 = call i32 @sorter_merge_sort_in_place_aswap(ptr noundef %33, ptr noundef %38, i64 noundef %39)
%41 = load i64, ptr %7, align 8
store i64 %41, ptr %5, align 8
br label %109
42: ; preds = %4
br label %43
43: ; preds = %85, %42
%44 = load ptr, ptr %8, align 8
%45 = load i64, ptr %44, align 8
%46 = load ptr, ptr %6, align 8
%47 = load i64, ptr %46, align 8
%48 = sub nsw i64 %45, %47
%49 = icmp slt i64 %48, 0
br i1 %49, label %.lr.ph, label %73
.lr.ph: ; preds = %43
br label %57
50: ; preds = %57
%51 = load ptr, ptr %8, align 8
%52 = load i64, ptr %51, align 8
%53 = load ptr, ptr %6, align 8
%54 = load i64, ptr %53, align 8
%55 = sub nsw i64 %52, %54
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %._crit_edge, !llvm.loop !6
57: ; preds = %.lr.ph, %50
%58 = load ptr, ptr %6, align 8
%59 = load i64, ptr %58, align 8
store i64 %59, ptr %12, align 8
%60 = load ptr, ptr %11, align 8
%61 = load i64, ptr %60, align 8
%62 = load ptr, ptr %6, align 8
store i64 %61, ptr %62, align 8
%63 = load i64, ptr %12, align 8
%64 = load ptr, ptr %11, align 8
store i64 %63, ptr %64, align 8
%65 = load ptr, ptr %6, align 8
%66 = getelementptr inbounds i64, ptr %65, i32 -1
store ptr %66, ptr %6, align 8
%67 = load ptr, ptr %11, align 8
%68 = getelementptr inbounds i64, ptr %67, i32 -1
store ptr %68, ptr %11, align 8
%69 = load i64, ptr %7, align 8
%70 = add i64 %69, -1
store i64 %70, ptr %7, align 8
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %50
72: ; preds = %57
store i64 0, ptr %5, align 8
br label %109
._crit_edge: ; preds = %50
br label %73
73: ; preds = %._crit_edge, %43
%74 = load ptr, ptr %8, align 8
%75 = load i64, ptr %74, align 8
store i64 %75, ptr %13, align 8
%76 = load ptr, ptr %11, align 8
%77 = load i64, ptr %76, align 8
%78 = load ptr, ptr %8, align 8
store i64 %77, ptr %78, align 8
%79 = load i64, ptr %13, align 8
%80 = load ptr, ptr %11, align 8
store i64 %79, ptr %80, align 8
%81 = load ptr, ptr %8, align 8
%82 = getelementptr inbounds i64, ptr %81, i32 -1
store ptr %82, ptr %8, align 8
%83 = load ptr, ptr %11, align 8
%84 = getelementptr inbounds i64, ptr %83, i32 -1
store ptr %84, ptr %11, align 8
br label %85
85: ; preds = %73
%86 = load i64, ptr %9, align 8
%87 = add i64 %86, -1
store i64 %87, ptr %9, align 8
%88 = icmp ne i64 %87, 0
br i1 %88, label %43, label %89, !llvm.loop !8
89: ; preds = %85
%90 = load i64, ptr %7, align 8
store i64 %90, ptr %10, align 8
br label %91
91: ; preds = %103, %89
%92 = load ptr, ptr %6, align 8
%93 = load i64, ptr %92, align 8
store i64 %93, ptr %14, align 8
%94 = load ptr, ptr %11, align 8
%95 = load i64, ptr %94, align 8
%96 = load ptr, ptr %6, align 8
store i64 %95, ptr %96, align 8
%97 = load i64, ptr %14, align 8
%98 = load ptr, ptr %11, align 8
store i64 %97, ptr %98, align 8
%99 = load ptr, ptr %6, align 8
%100 = getelementptr inbounds i64, ptr %99, i32 -1
store ptr %100, ptr %6, align 8
%101 = load ptr, ptr %11, align 8
%102 = getelementptr inbounds i64, ptr %101, i32 -1
store ptr %102, ptr %11, align 8
br label %103
103: ; preds = %91
%104 = load i64, ptr %7, align 8
%105 = add i64 %104, -1
store i64 %105, ptr %7, align 8
%106 = icmp ne i64 %105, 0
br i1 %106, label %91, label %107, !llvm.loop !9
107: ; preds = %103
%108 = load i64, ptr %10, align 8
store i64 %108, ptr %5, align 8
br label %109
109: ; preds = %107, %72, %28
%110 = load i64, ptr %5, align 8
ret i64 %110
}
declare i32 @sorter_merge_sort_in_place_aswap(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpbl0jb6za.c'
source_filename = "/tmp/tmpbl0jb6za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%.*s: bad format\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca [12 x i8], align 1
%24 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%25 = load i32, ptr @PATH_MAX, align 4
%26 = add nsw i32 %25, 4
%27 = add nsw i32 %26, 1
%28 = zext i32 %27 to i64
%29 = call ptr @llvm.stacksave()
store ptr %29, ptr %17, align 8
%30 = alloca i8, i64 %28, align 16
store i64 %28, ptr %18, align 8
store i32 1, ptr %20, align 4
br label %31
31: ; preds = %377, %376, %112, %84, %76, %68, %53, %5
%32 = load ptr, ptr %8, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %387
36: ; preds = %31
%37 = load ptr, ptr %8, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 37
br i1 %40, label %41, label %56
41: ; preds = %36
br label %42
42: ; preds = %41
%43 = load ptr, ptr %8, align 8
%44 = load i8, ptr %43, align 1
%45 = load i32, ptr @stdout, align 4
%46 = call i32 @fputc(i8 noundef signext %44, i32 noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 10
%51 = zext i1 %50 to i32
store i32 %51, ptr %20, align 4
br label %52
52: ; preds = %42
br label %53
53: ; preds = %52
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %8, align 8
br label %31, !llvm.loop !6
56: ; preds = %36
%57 = load ptr, ptr %8, align 8
store ptr %57, ptr %19, align 8
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %8, align 8
%60 = load ptr, ptr %8, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
switch i32 %62, label %115 [
i32 110, label %63
i32 116, label %71
i32 37, label %79
i32 64, label %87
]
63: ; preds = %56
br label %64
64: ; preds = %63
%65 = load i32, ptr @stdout, align 4
%66 = call i32 @fputc(i8 noundef signext 10, i32 noundef %65)
store i32 1, ptr %20, align 4
br label %67
67: ; preds = %64
br label %68
68: ; preds = %67
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %8, align 8
br label %31, !llvm.loop !6
71: ; preds = %56
br label %72
72: ; preds = %71
%73 = load i32, ptr @stdout, align 4
%74 = call i32 @fputc(i8 noundef signext 9, i32 noundef %73)
store i32 0, ptr %20, align 4
br label %75
75: ; preds = %72
br label %76
76: ; preds = %75
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %8, align 8
br label %31, !llvm.loop !6
79: ; preds = %56
br label %80
80: ; preds = %79
%81 = load i32, ptr @stdout, align 4
%82 = call i32 @fputc(i8 noundef signext 37, i32 noundef %81)
store i32 0, ptr %20, align 4
br label %83
83: ; preds = %80
br label %84
84: ; preds = %83
%85 = load ptr, ptr %8, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %8, align 8
br label %31, !llvm.loop !6
87: ; preds = %56
%88 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
%89 = load i32, ptr %9, align 4
%90 = call i32 @snprintf(ptr noundef %88, i32 noundef 12, ptr noundef @.str, i32 noundef %89)
%91 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
store ptr %91, ptr %24, align 8
br label %92
92: ; preds = %109, %87
%93 = load ptr, ptr %24, align 8
%94 = load i8, ptr %93, align 1
%95 = icmp ne i8 %94, 0
br i1 %95, label %96, label %112
96: ; preds = %92
br label %97
97: ; preds = %96
%98 = load ptr, ptr %24, align 8
%99 = load i8, ptr %98, align 1
%100 = load i32, ptr @stdout, align 4
%101 = call i32 @fputc(i8 noundef signext %99, i32 noundef %100)
%102 = load ptr, ptr %24, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 10
%106 = zext i1 %105 to i32
store i32 %106, ptr %20, align 4
br label %107
107: ; preds = %97
br label %108
108: ; preds = %107
br label %109
109: ; preds = %108
%110 = load ptr, ptr %24, align 8
%111 = getelementptr inbounds i8, ptr %110, i32 1
store ptr %111, ptr %24, align 8
br label %92, !llvm.loop !8
112: ; preds = %92
%113 = load ptr, ptr %8, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %8, align 8
br label %31, !llvm.loop !6
115: ; preds = %56
store i32 0, ptr %11, align 4
br label %116
116: ; preds = %164, %115
%117 = load ptr, ptr %8, align 8
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 35
br i1 %120, label %121, label %124
121: ; preds = %116
%122 = load i32, ptr %11, align 4
%123 = or i32 %122, 1
store i32 %123, ptr %11, align 4
br label %161
124: ; preds = %116
%125 = load ptr, ptr %8, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 32
br i1 %128, label %129, label %132
129: ; preds = %124
%130 = load i32, ptr %11, align 4
%131 = or i32 %130, 2
store i32 %131, ptr %11, align 4
br label %160
132: ; preds = %124
%133 = load ptr, ptr %8, align 8
%134 = load i8, ptr %133, align 1
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 43
br i1 %136, label %137, label %140
137: ; preds = %132
%138 = load i32, ptr %11, align 4
%139 = or i32 %138, 4
store i32 %139, ptr %11, align 4
br label %159
140: ; preds = %132
%141 = load ptr, ptr %8, align 8
%142 = load i8, ptr %141, align 1
%143 = sext i8 %142 to i32
%144 = icmp eq i32 %143, 48
br i1 %144, label %145, label %148
145: ; preds = %140
%146 = load i32, ptr %11, align 4
%147 = or i32 %146, 8
store i32 %147, ptr %11, align 4
br label %158
148: ; preds = %140
%149 = load ptr, ptr %8, align 8
%150 = load i8, ptr %149, align 1
%151 = sext i8 %150 to i32
%152 = icmp eq i32 %151, 45
br i1 %152, label %153, label %156
153: ; preds = %148
%154 = load i32, ptr %11, align 4
%155 = or i32 %154, 16
store i32 %155, ptr %11, align 4
br label %157
156: ; preds = %148
br label %165
157: ; preds = %153
br label %158
158: ; preds = %157, %145
br label %159
159: ; preds = %158, %137
br label %160
160: ; preds = %159, %129
br label %161
161: ; preds = %160, %121
%162 = load ptr, ptr %8, align 8
%163 = getelementptr inbounds i8, ptr %162, i32 1
store ptr %163, ptr %8, align 8
br label %164
164: ; preds = %161
br i1 true, label %116, label %165
165: ; preds = %164, %156
store i32 -1, ptr %12, align 4
%166 = load ptr, ptr %8, align 8
%167 = load i8, ptr %166, align 1
%168 = sext i8 %167 to i32
%169 = call i64 @isdigit(i32 noundef %168)
%170 = icmp ne i64 %169, 0
br i1 %170, label %171, label %193
171: ; preds = %165
store i32 0, ptr %12, align 4
br label %172
172: ; preds = %191, %171
%173 = load ptr, ptr %8, align 8
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = call i64 @isdigit(i32 noundef %175)
%177 = icmp ne i64 %176, 0
br i1 %177, label %178, label %192
178: ; preds = %172
%179 = load i32, ptr %12, align 4
%180 = mul nsw i32 %179, 10
%181 = load ptr, ptr %8, align 8
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = sub nsw i32 %183, 48
%185 = add nsw i32 %180, %184
store i32 %185, ptr %12, align 4
%186 = load ptr, ptr %8, align 8
%187 = getelementptr inbounds i8, ptr %186, i32 1
store ptr %187, ptr %8, align 8
%188 = load i32, ptr %12, align 4
%189 = icmp slt i32 %188, 0
br i1 %189, label %190, label %191
190: ; preds = %178
br label %377
191: ; preds = %178
br label %172, !llvm.loop !9
192: ; preds = %172
br label %193
193: ; preds = %192, %165
store i32 -1, ptr %13, align 4
%194 = load ptr, ptr %8, align 8
%195 = load i8, ptr %194, align 1
%196 = sext i8 %195 to i32
%197 = icmp eq i32 %196, 46
br i1 %197, label %198, label %222
198: ; preds = %193
%199 = load ptr, ptr %8, align 8
%200 = getelementptr inbounds i8, ptr %199, i32 1
store ptr %200, ptr %8, align 8
store i32 0, ptr %13, align 4
br label %201
201: ; preds = %220, %198
%202 = load ptr, ptr %8, align 8
%203 = load i8, ptr %202, align 1
%204 = sext i8 %203 to i32
%205 = call i64 @isdigit(i32 noundef %204)
%206 = icmp ne i64 %205, 0
br i1 %206, label %207, label %221
207: ; preds = %201
%208 = load i32, ptr %13, align 4
%209 = mul nsw i32 %208, 10
%210 = load ptr, ptr %8, align 8
%211 = load i8, ptr %210, align 1
%212 = sext i8 %211 to i32
%213 = sub nsw i32 %212, 48
%214 = add nsw i32 %209, %213
store i32 %214, ptr %13, align 4
%215 = load ptr, ptr %8, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %8, align 8
%217 = load i32, ptr %13, align 4
%218 = icmp slt i32 %217, 0
br i1 %218, label %219, label %220
219: ; preds = %207
br label %377
220: ; preds = %207
br label %201, !llvm.loop !10
221: ; preds = %201
br label %222
222: ; preds = %221, %193
%223 = load ptr, ptr %8, align 8
%224 = load i8, ptr %223, align 1
%225 = sext i8 %224 to i32
switch i32 %225, label %244 [
i32 68, label %226
i32 79, label %229
i32 85, label %232
i32 88, label %235
i32 70, label %238
i32 83, label %241
]
226: ; preds = %222
store i32 1, ptr %14, align 4
%227 = load ptr, ptr %8, align 8
%228 = getelementptr inbounds i8, ptr %227, i32 1
store ptr %228, ptr %8, align 8
br label %245
229: ; preds = %222
store i32 2, ptr %14, align 4
%230 = load ptr, ptr %8, align 8
%231 = getelementptr inbounds i8, ptr %230, i32 1
store ptr %231, ptr %8, align 8
br label %245
232: ; preds = %222
store i32 4, ptr %14, align 4
%233 = load ptr, ptr %8, align 8
%234 = getelementptr inbounds i8, ptr %233, i32 1
store ptr %234, ptr %8, align 8
br label %245
235: ; preds = %222
store i32 8, ptr %14, align 4
%236 = load ptr, ptr %8, align 8
%237 = getelementptr inbounds i8, ptr %236, i32 1
store ptr %237, ptr %8, align 8
br label %245
238: ; preds = %222
store i32 16, ptr %14, align 4
%239 = load ptr, ptr %8, align 8
%240 = getelementptr inbounds i8, ptr %239, i32 1
store ptr %240, ptr %8, align 8
br label %245
241: ; preds = %222
store i32 32, ptr %14, align 4
%242 = load ptr, ptr %8, align 8
%243 = getelementptr inbounds i8, ptr %242, i32 1
store ptr %243, ptr %8, align 8
br label %245
244: ; preds = %222
store i32 0, ptr %14, align 4
br label %245
245: ; preds = %244, %241, %238, %235, %232, %229, %226
%246 = load ptr, ptr %8, align 8
%247 = load i8, ptr %246, align 1
%248 = sext i8 %247 to i32
switch i32 %248, label %258 [
i32 72, label %249
i32 77, label %252
i32 76, label %255
]
249: ; preds = %245
store i32 72, ptr %15, align 4
%250 = load ptr, ptr %8, align 8
%251 = getelementptr inbounds i8, ptr %250, i32 1
store ptr %251, ptr %8, align 8
br label %259
252: ; preds = %245
store i32 77, ptr %15, align 4
%253 = load ptr, ptr %8, align 8
%254 = getelementptr inbounds i8, ptr %253, i32 1
store ptr %254, ptr %8, align 8
br label %259
255: ; preds = %245
store i32 76, ptr %15, align 4
%256 = load ptr, ptr %8, align 8
%257 = getelementptr inbounds i8, ptr %256, i32 1
store ptr %257, ptr %8, align 8
br label %259
258: ; preds = %245
store i32 0, ptr %15, align 4
br label %259
259: ; preds = %258, %255, %252, %249
%260 = load ptr, ptr %8, align 8
%261 = load i8, ptr %260, align 1
%262 = sext i8 %261 to i32
switch i32 %262, label %326 [
i32 82, label %263
i32 100, label %266
i32 105, label %269
i32 112, label %272
i32 108, label %275
i32 117, label %278
i32 103, label %281
i32 114, label %284
i32 97, label %287
i32 109, label %290
i32 99, label %293
i32 66, label %296
i32 122, label %299
i32 98, label %302
i32 107, label %305
i32 102, label %308
i32 118, label %311
i32 89, label %314
i32 84, label %317
i32 78, label %320
i32 90, label %323
]
263: ; preds = %259
store i32 82, ptr %16, align 4
%264 = load ptr, ptr %8, align 8
%265 = getelementptr inbounds i8, ptr %264, i32 1
store ptr %265, ptr %8, align 8
br label %327
266: ; preds = %259
store i32 100, ptr %16, align 4
%267 = load ptr, ptr %8, align 8
%268 = getelementptr inbounds i8, ptr %267, i32 1
store ptr %268, ptr %8, align 8
br label %327
269: ; preds = %259
store i32 105, ptr %16, align 4
%270 = load ptr, ptr %8, align 8
%271 = getelementptr inbounds i8, ptr %270, i32 1
store ptr %271, ptr %8, align 8
br label %327
272: ; preds = %259
store i32 112, ptr %16, align 4
%273 = load ptr, ptr %8, align 8
%274 = getelementptr inbounds i8, ptr %273, i32 1
store ptr %274, ptr %8, align 8
br label %327
275: ; preds = %259
store i32 108, ptr %16, align 4
%276 = load ptr, ptr %8, align 8
%277 = getelementptr inbounds i8, ptr %276, i32 1
store ptr %277, ptr %8, align 8
br label %327
278: ; preds = %259
store i32 117, ptr %16, align 4
%279 = load ptr, ptr %8, align 8
%280 = getelementptr inbounds i8, ptr %279, i32 1
store ptr %280, ptr %8, align 8
br label %327
281: ; preds = %259
store i32 103, ptr %16, align 4
%282 = load ptr, ptr %8, align 8
%283 = getelementptr inbounds i8, ptr %282, i32 1
store ptr %283, ptr %8, align 8
br label %327
284: ; preds = %259
store i32 114, ptr %16, align 4
%285 = load ptr, ptr %8, align 8
%286 = getelementptr inbounds i8, ptr %285, i32 1
store ptr %286, ptr %8, align 8
br label %327
287: ; preds = %259
store i32 97, ptr %16, align 4
%288 = load ptr, ptr %8, align 8
%289 = getelementptr inbounds i8, ptr %288, i32 1
store ptr %289, ptr %8, align 8
br label %327
290: ; preds = %259
store i32 109, ptr %16, align 4
%291 = load ptr, ptr %8, align 8
%292 = getelementptr inbounds i8, ptr %291, i32 1
store ptr %292, ptr %8, align 8
br label %327
293: ; preds = %259
store i32 99, ptr %16, align 4
%294 = load ptr, ptr %8, align 8
%295 = getelementptr inbounds i8, ptr %294, i32 1
store ptr %295, ptr %8, align 8
br label %327
296: ; preds = %259
store i32 66, ptr %16, align 4
%297 = load ptr, ptr %8, align 8
%298 = getelementptr inbounds i8, ptr %297, i32 1
store ptr %298, ptr %8, align 8
br label %327
299: ; preds = %259
store i32 122, ptr %16, align 4
%300 = load ptr, ptr %8, align 8
%301 = getelementptr inbounds i8, ptr %300, i32 1
store ptr %301, ptr %8, align 8
br label %327
302: ; preds = %259
store i32 98, ptr %16, align 4
%303 = load ptr, ptr %8, align 8
%304 = getelementptr inbounds i8, ptr %303, i32 1
store ptr %304, ptr %8, align 8
br label %327
305: ; preds = %259
store i32 107, ptr %16, align 4
%306 = load ptr, ptr %8, align 8
%307 = getelementptr inbounds i8, ptr %306, i32 1
store ptr %307, ptr %8, align 8
br label %327
308: ; preds = %259
store i32 102, ptr %16, align 4
%309 = load ptr, ptr %8, align 8
%310 = getelementptr inbounds i8, ptr %309, i32 1
store ptr %310, ptr %8, align 8
br label %327
311: ; preds = %259
store i32 118, ptr %16, align 4
%312 = load ptr, ptr %8, align 8
%313 = getelementptr inbounds i8, ptr %312, i32 1
store ptr %313, ptr %8, align 8
br label %327
314: ; preds = %259
store i32 89, ptr %16, align 4
%315 = load ptr, ptr %8, align 8
%316 = getelementptr inbounds i8, ptr %315, i32 1
store ptr %316, ptr %8, align 8
br label %327
317: ; preds = %259
store i32 84, ptr %16, align 4
%318 = load ptr, ptr %8, align 8
%319 = getelementptr inbounds i8, ptr %318, i32 1
store ptr %319, ptr %8, align 8
br label %327
320: ; preds = %259
store i32 78, ptr %16, align 4
%321 = load ptr, ptr %8, align 8
%322 = getelementptr inbounds i8, ptr %321, i32 1
store ptr %322, ptr %8, align 8
br label %327
323: ; preds = %259
store i32 90, ptr %16, align 4
%324 = load ptr, ptr %8, align 8
%325 = getelementptr inbounds i8, ptr %324, i32 1
store ptr %325, ptr %8, align 8
br label %327
326: ; preds = %259
br label %377
327: ; preds = %323, %320, %317, %314, %311, %308, %305, %302, %299, %296, %293, %290, %287, %284, %281, %278, %275, %272, %269, %266, %263
%328 = load ptr, ptr %6, align 8
%329 = load ptr, ptr %7, align 8
%330 = load ptr, ptr %19, align 8
%331 = load ptr, ptr %8, align 8
%332 = load ptr, ptr %19, align 8
%333 = ptrtoint ptr %331 to i64
%334 = ptrtoint ptr %332 to i64
%335 = sub i64 %333, %334
%336 = trunc i64 %335 to i32
%337 = trunc i64 %28 to i32
%338 = load i32, ptr %11, align 4
%339 = load i32, ptr %12, align 4
%340 = load i32, ptr %13, align 4
%341 = load i32, ptr %14, align 4
%342 = load i32, ptr %15, align 4
%343 = load i32, ptr %16, align 4
%344 = call i32 @format1(ptr noundef %328, ptr noundef %329, ptr noundef %330, i32 noundef %336, ptr noundef %30, i32 noundef %337, i32 noundef %338, i32 noundef %339, i32 noundef %340, i32 noundef %341, i32 noundef %342, i32 noundef %343)
store i32 %344, ptr %21, align 4
store i32 0, ptr %22, align 4
br label %345
345: ; preds = %373, %327
%346 = load i32, ptr %22, align 4
%347 = load i32, ptr %21, align 4
%348 = icmp slt i32 %346, %347
br i1 %348, label %349, label %354
349: ; preds = %345
%350 = load i32, ptr %22, align 4
%351 = sub i64 %28, 1
%352 = trunc i64 %351 to i32
%353 = icmp slt i32 %350, %352
br label %354
354: ; preds = %349, %345
%355 = phi i1 [ false, %345 ], [ %353, %349 ]
br i1 %355, label %356, label %376
356: ; preds = %354
br label %357
357: ; preds = %356
%358 = load i32, ptr %22, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds i8, ptr %30, i64 %359
%361 = load i8, ptr %360, align 1
%362 = load i32, ptr @stdout, align 4
%363 = call i32 @fputc(i8 noundef signext %361, i32 noundef %362)
%364 = load i32, ptr %22, align 4
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds i8, ptr %30, i64 %365
%367 = load i8, ptr %366, align 1
%368 = sext i8 %367 to i32
%369 = icmp eq i32 %368, 10
%370 = zext i1 %369 to i32
store i32 %370, ptr %20, align 4
br label %371
371: ; preds = %357
br label %372
372: ; preds = %371
br label %373
373: ; preds = %372
%374 = load i32, ptr %22, align 4
%375 = add nsw i32 %374, 1
store i32 %375, ptr %22, align 4
br label %345, !llvm.loop !11
376: ; preds = %354
br label %31, !llvm.loop !6
377: ; preds = %326, %219, %190
%378 = load ptr, ptr %8, align 8
%379 = load ptr, ptr %19, align 8
%380 = ptrtoint ptr %378 to i64
%381 = ptrtoint ptr %379 to i64
%382 = sub i64 %380, %381
%383 = add nsw i64 %382, 1
%384 = trunc i64 %383 to i32
%385 = load ptr, ptr %19, align 8
%386 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1, i32 noundef %384, ptr noundef %385)
br label %31, !llvm.loop !6
387: ; preds = %31
%388 = load i32, ptr %20, align 4
%389 = icmp ne i32 %388, 0
br i1 %389, label %396, label %390
390: ; preds = %387
%391 = load i32, ptr %10, align 4
%392 = icmp ne i32 %391, 0
br i1 %392, label %396, label %393
393: ; preds = %390
%394 = load i32, ptr @stdout, align 4
%395 = call i32 @fputc(i8 noundef signext 10, i32 noundef %394)
br label %396
396: ; preds = %393, %390, %387
%397 = load i32, ptr @stdout, align 4
%398 = call i32 @fflush(i32 noundef %397)
%399 = load ptr, ptr %17, align 8
call void @llvm.stackrestore(ptr %399)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @isdigit(i32 noundef) #2
declare i32 @format1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @errx(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fflush(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbl0jb6za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%.*s: bad format\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca [12 x i8], align 1
%24 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%25 = load i32, ptr @PATH_MAX, align 4
%26 = add nsw i32 %25, 4
%27 = add nsw i32 %26, 1
%28 = zext i32 %27 to i64
%29 = call ptr @llvm.stacksave()
store ptr %29, ptr %17, align 8
%30 = alloca i8, i64 %28, align 16
store i64 %28, ptr %18, align 8
store i32 1, ptr %20, align 4
%31 = load ptr, ptr %8, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %.lr.ph8, label %400
.lr.ph8: ; preds = %5
br label %35
35: ; preds = %.lr.ph8, %.backedge
%36 = load ptr, ptr %8, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 37
br i1 %39, label %40, label %59
40: ; preds = %35
br label %41
41: ; preds = %40
%42 = load ptr, ptr %8, align 8
%43 = load i8, ptr %42, align 1
%44 = load i32, ptr @stdout, align 4
%45 = call i32 @fputc(i8 noundef signext %43, i32 noundef %44)
%46 = load ptr, ptr %8, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 10
%50 = zext i1 %49 to i32
store i32 %50, ptr %20, align 4
br label %51
51: ; preds = %41
br label %52
52: ; preds = %51
%53 = load ptr, ptr %8, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %8, align 8
br label %.backedge
.backedge: ; preds = %52, %71, %79, %87, %117, %389, %390
%55 = load ptr, ptr %8, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br i1 %58, label %35, label %._crit_edge9, !llvm.loop !6
59: ; preds = %35
%60 = load ptr, ptr %8, align 8
store ptr %60, ptr %19, align 8
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %8, align 8
%63 = load ptr, ptr %8, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
switch i32 %65, label %120 [
i32 110, label %66
i32 116, label %74
i32 37, label %82
i32 64, label %90
]
66: ; preds = %59
br label %67
67: ; preds = %66
%68 = load i32, ptr @stdout, align 4
%69 = call i32 @fputc(i8 noundef signext 10, i32 noundef %68)
store i32 1, ptr %20, align 4
br label %70
70: ; preds = %67
br label %71
71: ; preds = %70
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %8, align 8
br label %.backedge
74: ; preds = %59
br label %75
75: ; preds = %74
%76 = load i32, ptr @stdout, align 4
%77 = call i32 @fputc(i8 noundef signext 9, i32 noundef %76)
store i32 0, ptr %20, align 4
br label %78
78: ; preds = %75
br label %79
79: ; preds = %78
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds i8, ptr %80, i32 1
store ptr %81, ptr %8, align 8
br label %.backedge
82: ; preds = %59
br label %83
83: ; preds = %82
%84 = load i32, ptr @stdout, align 4
%85 = call i32 @fputc(i8 noundef signext 37, i32 noundef %84)
store i32 0, ptr %20, align 4
br label %86
86: ; preds = %83
br label %87
87: ; preds = %86
%88 = load ptr, ptr %8, align 8
%89 = getelementptr inbounds i8, ptr %88, i32 1
store ptr %89, ptr %8, align 8
br label %.backedge
90: ; preds = %59
%91 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
%92 = load i32, ptr %9, align 4
%93 = call i32 @snprintf(ptr noundef %91, i32 noundef 12, ptr noundef @.str, i32 noundef %92)
%94 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
store ptr %94, ptr %24, align 8
%95 = load ptr, ptr %24, align 8
%96 = load i8, ptr %95, align 1
%97 = icmp ne i8 %96, 0
br i1 %97, label %.lr.ph, label %117
.lr.ph: ; preds = %90
br label %98
98: ; preds = %.lr.ph, %111
br label %99
99: ; preds = %98
%100 = load ptr, ptr %24, align 8
%101 = load i8, ptr %100, align 1
%102 = load i32, ptr @stdout, align 4
%103 = call i32 @fputc(i8 noundef signext %101, i32 noundef %102)
%104 = load ptr, ptr %24, align 8
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 10
%108 = zext i1 %107 to i32
store i32 %108, ptr %20, align 4
br label %109
109: ; preds = %99
br label %110
110: ; preds = %109
br label %111
111: ; preds = %110
%112 = load ptr, ptr %24, align 8
%113 = getelementptr inbounds i8, ptr %112, i32 1
store ptr %113, ptr %24, align 8
%114 = load ptr, ptr %24, align 8
%115 = load i8, ptr %114, align 1
%116 = icmp ne i8 %115, 0
br i1 %116, label %98, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %111
br label %117
117: ; preds = %._crit_edge, %90
%118 = load ptr, ptr %8, align 8
%119 = getelementptr inbounds i8, ptr %118, i32 1
store ptr %119, ptr %8, align 8
br label %.backedge
120: ; preds = %59
store i32 0, ptr %11, align 4
br label %121
121: ; preds = %169, %120
%122 = load ptr, ptr %8, align 8
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 35
br i1 %125, label %126, label %129
126: ; preds = %121
%127 = load i32, ptr %11, align 4
%128 = or i32 %127, 1
store i32 %128, ptr %11, align 4
br label %166
129: ; preds = %121
%130 = load ptr, ptr %8, align 8
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 32
br i1 %133, label %134, label %137
134: ; preds = %129
%135 = load i32, ptr %11, align 4
%136 = or i32 %135, 2
store i32 %136, ptr %11, align 4
br label %165
137: ; preds = %129
%138 = load ptr, ptr %8, align 8
%139 = load i8, ptr %138, align 1
%140 = sext i8 %139 to i32
%141 = icmp eq i32 %140, 43
br i1 %141, label %142, label %145
142: ; preds = %137
%143 = load i32, ptr %11, align 4
%144 = or i32 %143, 4
store i32 %144, ptr %11, align 4
br label %164
145: ; preds = %137
%146 = load ptr, ptr %8, align 8
%147 = load i8, ptr %146, align 1
%148 = sext i8 %147 to i32
%149 = icmp eq i32 %148, 48
br i1 %149, label %150, label %153
150: ; preds = %145
%151 = load i32, ptr %11, align 4
%152 = or i32 %151, 8
store i32 %152, ptr %11, align 4
br label %163
153: ; preds = %145
%154 = load ptr, ptr %8, align 8
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 45
br i1 %157, label %158, label %161
158: ; preds = %153
%159 = load i32, ptr %11, align 4
%160 = or i32 %159, 16
store i32 %160, ptr %11, align 4
br label %162
161: ; preds = %153
br label %170
162: ; preds = %158
br label %163
163: ; preds = %162, %150
br label %164
164: ; preds = %163, %142
br label %165
165: ; preds = %164, %134
br label %166
166: ; preds = %165, %126
%167 = load ptr, ptr %8, align 8
%168 = getelementptr inbounds i8, ptr %167, i32 1
store ptr %168, ptr %8, align 8
br label %169
169: ; preds = %166
br i1 true, label %121, label %.loopexit
.loopexit: ; preds = %169
br label %170
170: ; preds = %.loopexit, %161
store i32 -1, ptr %12, align 4
%171 = load ptr, ptr %8, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = call i64 @isdigit(i32 noundef %173)
%175 = icmp ne i64 %174, 0
br i1 %175, label %176, label %202
176: ; preds = %170
store i32 0, ptr %12, align 4
%177 = load ptr, ptr %8, align 8
%178 = load i8, ptr %177, align 1
%179 = sext i8 %178 to i32
%180 = call i64 @isdigit(i32 noundef %179)
%181 = icmp ne i64 %180, 0
br i1 %181, label %.lr.ph2, label %201
.lr.ph2: ; preds = %176
br label %188
182: ; preds = %188
%183 = load ptr, ptr %8, align 8
%184 = load i8, ptr %183, align 1
%185 = sext i8 %184 to i32
%186 = call i64 @isdigit(i32 noundef %185)
%187 = icmp ne i64 %186, 0
br i1 %187, label %188, label %._crit_edge3, !llvm.loop !9
188: ; preds = %.lr.ph2, %182
%189 = load i32, ptr %12, align 4
%190 = mul nsw i32 %189, 10
%191 = load ptr, ptr %8, align 8
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = sub nsw i32 %193, 48
%195 = add nsw i32 %190, %194
store i32 %195, ptr %12, align 4
%196 = load ptr, ptr %8, align 8
%197 = getelementptr inbounds i8, ptr %196, i32 1
store ptr %197, ptr %8, align 8
%198 = load i32, ptr %12, align 4
%199 = icmp slt i32 %198, 0
br i1 %199, label %200, label %182
200: ; preds = %188
br label %390
._crit_edge3: ; preds = %182
br label %201
201: ; preds = %._crit_edge3, %176
br label %202
202: ; preds = %201, %170
store i32 -1, ptr %13, align 4
%203 = load ptr, ptr %8, align 8
%204 = load i8, ptr %203, align 1
%205 = sext i8 %204 to i32
%206 = icmp eq i32 %205, 46
br i1 %206, label %207, label %235
207: ; preds = %202
%208 = load ptr, ptr %8, align 8
%209 = getelementptr inbounds i8, ptr %208, i32 1
store ptr %209, ptr %8, align 8
store i32 0, ptr %13, align 4
%210 = load ptr, ptr %8, align 8
%211 = load i8, ptr %210, align 1
%212 = sext i8 %211 to i32
%213 = call i64 @isdigit(i32 noundef %212)
%214 = icmp ne i64 %213, 0
br i1 %214, label %.lr.ph5, label %234
.lr.ph5: ; preds = %207
br label %221
215: ; preds = %221
%216 = load ptr, ptr %8, align 8
%217 = load i8, ptr %216, align 1
%218 = sext i8 %217 to i32
%219 = call i64 @isdigit(i32 noundef %218)
%220 = icmp ne i64 %219, 0
br i1 %220, label %221, label %._crit_edge6, !llvm.loop !10
221: ; preds = %.lr.ph5, %215
%222 = load i32, ptr %13, align 4
%223 = mul nsw i32 %222, 10
%224 = load ptr, ptr %8, align 8
%225 = load i8, ptr %224, align 1
%226 = sext i8 %225 to i32
%227 = sub nsw i32 %226, 48
%228 = add nsw i32 %223, %227
store i32 %228, ptr %13, align 4
%229 = load ptr, ptr %8, align 8
%230 = getelementptr inbounds i8, ptr %229, i32 1
store ptr %230, ptr %8, align 8
%231 = load i32, ptr %13, align 4
%232 = icmp slt i32 %231, 0
br i1 %232, label %233, label %215
233: ; preds = %221
br label %390
._crit_edge6: ; preds = %215
br label %234
234: ; preds = %._crit_edge6, %207
br label %235
235: ; preds = %234, %202
%236 = load ptr, ptr %8, align 8
%237 = load i8, ptr %236, align 1
%238 = sext i8 %237 to i32
switch i32 %238, label %257 [
i32 68, label %239
i32 79, label %242
i32 85, label %245
i32 88, label %248
i32 70, label %251
i32 83, label %254
]
239: ; preds = %235
store i32 1, ptr %14, align 4
%240 = load ptr, ptr %8, align 8
%241 = getelementptr inbounds i8, ptr %240, i32 1
store ptr %241, ptr %8, align 8
br label %258
242: ; preds = %235
store i32 2, ptr %14, align 4
%243 = load ptr, ptr %8, align 8
%244 = getelementptr inbounds i8, ptr %243, i32 1
store ptr %244, ptr %8, align 8
br label %258
245: ; preds = %235
store i32 4, ptr %14, align 4
%246 = load ptr, ptr %8, align 8
%247 = getelementptr inbounds i8, ptr %246, i32 1
store ptr %247, ptr %8, align 8
br label %258
248: ; preds = %235
store i32 8, ptr %14, align 4
%249 = load ptr, ptr %8, align 8
%250 = getelementptr inbounds i8, ptr %249, i32 1
store ptr %250, ptr %8, align 8
br label %258
251: ; preds = %235
store i32 16, ptr %14, align 4
%252 = load ptr, ptr %8, align 8
%253 = getelementptr inbounds i8, ptr %252, i32 1
store ptr %253, ptr %8, align 8
br label %258
254: ; preds = %235
store i32 32, ptr %14, align 4
%255 = load ptr, ptr %8, align 8
%256 = getelementptr inbounds i8, ptr %255, i32 1
store ptr %256, ptr %8, align 8
br label %258
257: ; preds = %235
store i32 0, ptr %14, align 4
br label %258
258: ; preds = %257, %254, %251, %248, %245, %242, %239
%259 = load ptr, ptr %8, align 8
%260 = load i8, ptr %259, align 1
%261 = sext i8 %260 to i32
switch i32 %261, label %271 [
i32 72, label %262
i32 77, label %265
i32 76, label %268
]
262: ; preds = %258
store i32 72, ptr %15, align 4
%263 = load ptr, ptr %8, align 8
%264 = getelementptr inbounds i8, ptr %263, i32 1
store ptr %264, ptr %8, align 8
br label %272
265: ; preds = %258
store i32 77, ptr %15, align 4
%266 = load ptr, ptr %8, align 8
%267 = getelementptr inbounds i8, ptr %266, i32 1
store ptr %267, ptr %8, align 8
br label %272
268: ; preds = %258
store i32 76, ptr %15, align 4
%269 = load ptr, ptr %8, align 8
%270 = getelementptr inbounds i8, ptr %269, i32 1
store ptr %270, ptr %8, align 8
br label %272
271: ; preds = %258
store i32 0, ptr %15, align 4
br label %272
272: ; preds = %271, %268, %265, %262
%273 = load ptr, ptr %8, align 8
%274 = load i8, ptr %273, align 1
%275 = sext i8 %274 to i32
switch i32 %275, label %339 [
i32 82, label %276
i32 100, label %279
i32 105, label %282
i32 112, label %285
i32 108, label %288
i32 117, label %291
i32 103, label %294
i32 114, label %297
i32 97, label %300
i32 109, label %303
i32 99, label %306
i32 66, label %309
i32 122, label %312
i32 98, label %315
i32 107, label %318
i32 102, label %321
i32 118, label %324
i32 89, label %327
i32 84, label %330
i32 78, label %333
i32 90, label %336
]
276: ; preds = %272
store i32 82, ptr %16, align 4
%277 = load ptr, ptr %8, align 8
%278 = getelementptr inbounds i8, ptr %277, i32 1
store ptr %278, ptr %8, align 8
br label %340
279: ; preds = %272
store i32 100, ptr %16, align 4
%280 = load ptr, ptr %8, align 8
%281 = getelementptr inbounds i8, ptr %280, i32 1
store ptr %281, ptr %8, align 8
br label %340
282: ; preds = %272
store i32 105, ptr %16, align 4
%283 = load ptr, ptr %8, align 8
%284 = getelementptr inbounds i8, ptr %283, i32 1
store ptr %284, ptr %8, align 8
br label %340
285: ; preds = %272
store i32 112, ptr %16, align 4
%286 = load ptr, ptr %8, align 8
%287 = getelementptr inbounds i8, ptr %286, i32 1
store ptr %287, ptr %8, align 8
br label %340
288: ; preds = %272
store i32 108, ptr %16, align 4
%289 = load ptr, ptr %8, align 8
%290 = getelementptr inbounds i8, ptr %289, i32 1
store ptr %290, ptr %8, align 8
br label %340
291: ; preds = %272
store i32 117, ptr %16, align 4
%292 = load ptr, ptr %8, align 8
%293 = getelementptr inbounds i8, ptr %292, i32 1
store ptr %293, ptr %8, align 8
br label %340
294: ; preds = %272
store i32 103, ptr %16, align 4
%295 = load ptr, ptr %8, align 8
%296 = getelementptr inbounds i8, ptr %295, i32 1
store ptr %296, ptr %8, align 8
br label %340
297: ; preds = %272
store i32 114, ptr %16, align 4
%298 = load ptr, ptr %8, align 8
%299 = getelementptr inbounds i8, ptr %298, i32 1
store ptr %299, ptr %8, align 8
br label %340
300: ; preds = %272
store i32 97, ptr %16, align 4
%301 = load ptr, ptr %8, align 8
%302 = getelementptr inbounds i8, ptr %301, i32 1
store ptr %302, ptr %8, align 8
br label %340
303: ; preds = %272
store i32 109, ptr %16, align 4
%304 = load ptr, ptr %8, align 8
%305 = getelementptr inbounds i8, ptr %304, i32 1
store ptr %305, ptr %8, align 8
br label %340
306: ; preds = %272
store i32 99, ptr %16, align 4
%307 = load ptr, ptr %8, align 8
%308 = getelementptr inbounds i8, ptr %307, i32 1
store ptr %308, ptr %8, align 8
br label %340
309: ; preds = %272
store i32 66, ptr %16, align 4
%310 = load ptr, ptr %8, align 8
%311 = getelementptr inbounds i8, ptr %310, i32 1
store ptr %311, ptr %8, align 8
br label %340
312: ; preds = %272
store i32 122, ptr %16, align 4
%313 = load ptr, ptr %8, align 8
%314 = getelementptr inbounds i8, ptr %313, i32 1
store ptr %314, ptr %8, align 8
br label %340
315: ; preds = %272
store i32 98, ptr %16, align 4
%316 = load ptr, ptr %8, align 8
%317 = getelementptr inbounds i8, ptr %316, i32 1
store ptr %317, ptr %8, align 8
br label %340
318: ; preds = %272
store i32 107, ptr %16, align 4
%319 = load ptr, ptr %8, align 8
%320 = getelementptr inbounds i8, ptr %319, i32 1
store ptr %320, ptr %8, align 8
br label %340
321: ; preds = %272
store i32 102, ptr %16, align 4
%322 = load ptr, ptr %8, align 8
%323 = getelementptr inbounds i8, ptr %322, i32 1
store ptr %323, ptr %8, align 8
br label %340
324: ; preds = %272
store i32 118, ptr %16, align 4
%325 = load ptr, ptr %8, align 8
%326 = getelementptr inbounds i8, ptr %325, i32 1
store ptr %326, ptr %8, align 8
br label %340
327: ; preds = %272
store i32 89, ptr %16, align 4
%328 = load ptr, ptr %8, align 8
%329 = getelementptr inbounds i8, ptr %328, i32 1
store ptr %329, ptr %8, align 8
br label %340
330: ; preds = %272
store i32 84, ptr %16, align 4
%331 = load ptr, ptr %8, align 8
%332 = getelementptr inbounds i8, ptr %331, i32 1
store ptr %332, ptr %8, align 8
br label %340
333: ; preds = %272
store i32 78, ptr %16, align 4
%334 = load ptr, ptr %8, align 8
%335 = getelementptr inbounds i8, ptr %334, i32 1
store ptr %335, ptr %8, align 8
br label %340
336: ; preds = %272
store i32 90, ptr %16, align 4
%337 = load ptr, ptr %8, align 8
%338 = getelementptr inbounds i8, ptr %337, i32 1
store ptr %338, ptr %8, align 8
br label %340
339: ; preds = %272
br label %390
340: ; preds = %336, %333, %330, %327, %324, %321, %318, %315, %312, %309, %306, %303, %300, %297, %294, %291, %288, %285, %282, %279, %276
%341 = load ptr, ptr %6, align 8
%342 = load ptr, ptr %7, align 8
%343 = load ptr, ptr %19, align 8
%344 = load ptr, ptr %8, align 8
%345 = load ptr, ptr %19, align 8
%346 = ptrtoint ptr %344 to i64
%347 = ptrtoint ptr %345 to i64
%348 = sub i64 %346, %347
%349 = trunc i64 %348 to i32
%350 = trunc i64 %28 to i32
%351 = load i32, ptr %11, align 4
%352 = load i32, ptr %12, align 4
%353 = load i32, ptr %13, align 4
%354 = load i32, ptr %14, align 4
%355 = load i32, ptr %15, align 4
%356 = load i32, ptr %16, align 4
%357 = call i32 @format1(ptr noundef %341, ptr noundef %342, ptr noundef %343, i32 noundef %349, ptr noundef %30, i32 noundef %350, i32 noundef %351, i32 noundef %352, i32 noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356)
store i32 %357, ptr %21, align 4
store i32 0, ptr %22, align 4
br label %358
358: ; preds = %386, %340
%359 = load i32, ptr %22, align 4
%360 = load i32, ptr %21, align 4
%361 = icmp slt i32 %359, %360
br i1 %361, label %362, label %367
362: ; preds = %358
%363 = load i32, ptr %22, align 4
%364 = sub i64 %28, 1
%365 = trunc i64 %364 to i32
%366 = icmp slt i32 %363, %365
br label %367
367: ; preds = %362, %358
%368 = phi i1 [ false, %358 ], [ %366, %362 ]
br i1 %368, label %369, label %389
369: ; preds = %367
br label %370
370: ; preds = %369
%371 = load i32, ptr %22, align 4
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds i8, ptr %30, i64 %372
%374 = load i8, ptr %373, align 1
%375 = load i32, ptr @stdout, align 4
%376 = call i32 @fputc(i8 noundef signext %374, i32 noundef %375)
%377 = load i32, ptr %22, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds i8, ptr %30, i64 %378
%380 = load i8, ptr %379, align 1
%381 = sext i8 %380 to i32
%382 = icmp eq i32 %381, 10
%383 = zext i1 %382 to i32
store i32 %383, ptr %20, align 4
br label %384
384: ; preds = %370
br label %385
385: ; preds = %384
br label %386
386: ; preds = %385
%387 = load i32, ptr %22, align 4
%388 = add nsw i32 %387, 1
store i32 %388, ptr %22, align 4
br label %358, !llvm.loop !11
389: ; preds = %367
br label %.backedge
390: ; preds = %339, %233, %200
%391 = load ptr, ptr %8, align 8
%392 = load ptr, ptr %19, align 8
%393 = ptrtoint ptr %391 to i64
%394 = ptrtoint ptr %392 to i64
%395 = sub i64 %393, %394
%396 = add nsw i64 %395, 1
%397 = trunc i64 %396 to i32
%398 = load ptr, ptr %19, align 8
%399 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1, i32 noundef %397, ptr noundef %398)
br label %.backedge
._crit_edge9: ; preds = %.backedge
br label %400
400: ; preds = %._crit_edge9, %5
%401 = load i32, ptr %20, align 4
%402 = icmp ne i32 %401, 0
br i1 %402, label %409, label %403
403: ; preds = %400
%404 = load i32, ptr %10, align 4
%405 = icmp ne i32 %404, 0
br i1 %405, label %409, label %406
406: ; preds = %403
%407 = load i32, ptr @stdout, align 4
%408 = call i32 @fputc(i8 noundef signext 10, i32 noundef %407)
br label %409
409: ; preds = %406, %403, %400
%410 = load i32, ptr @stdout, align 4
%411 = call i32 @fflush(i32 noundef %410)
%412 = load ptr, ptr %17, align 8
call void @llvm.stackrestore(ptr %412)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @isdigit(i32 noundef) #2
declare i32 @format1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @errx(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fflush(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp6_hdsg7w.c'
source_filename = "/tmp/tmp6_hdsg7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Exercicio D - Padr\C3\A3o\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i64 @malloc(i32 noundef 200000000)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = call i64 @malloc(i32 noundef 200000000)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %4, align 8
%12 = call i64 @malloc(i32 noundef 200000000)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = call i64 @malloc(i32 noundef 200000000)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
%16 = call i32 @srand(i32 noundef 424242)
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %57, %0
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 50000000
br i1 %19, label %20, label %60
20: ; preds = %17
%21 = call i64 (...) @rand()
%22 = sitofp i64 %21 to float
%23 = fpext float %22 to double
%24 = fdiv double %23, 1.000000e+07
%25 = fptrunc double %24 to float
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %26, i64 %28
store float %25, ptr %29, align 4
%30 = call i64 (...) @rand()
%31 = sitofp i64 %30 to float
%32 = fpext float %31 to double
%33 = fdiv double %32, 1.000000e+07
%34 = fptrunc double %33 to float
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %2, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
store float %34, ptr %38, align 4
%39 = call i64 (...) @rand()
%40 = sitofp i64 %39 to float
%41 = fpext float %40 to double
%42 = fdiv double %41, 1.000000e+07
%43 = fptrunc double %42 to float
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %2, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds float, ptr %44, i64 %46
store float %43, ptr %47, align 4
%48 = call i64 (...) @rand()
%49 = sitofp i64 %48 to float
%50 = fpext float %49 to double
%51 = fdiv double %50, 1.000000e+07
%52 = fptrunc double %51 to float
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %2, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds float, ptr %53, i64 %55
store float %52, ptr %56, align 4
br label %57
57: ; preds = %20
%58 = load i32, ptr %2, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %2, align 4
br label %17, !llvm.loop !6
60: ; preds = %17
%61 = call i32 (...) @inicializacao()
store i32 0, ptr %2, align 4
br label %62
62: ; preds = %88, %60
%63 = load i32, ptr %2, align 4
%64 = icmp slt i32 %63, 50000000
br i1 %64, label %65, label %91
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %2, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds float, ptr %66, i64 %68
%70 = load float, ptr %69, align 4
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %2, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds float, ptr %71, i64 %73
%75 = load float, ptr %74, align 4
%76 = fadd float %70, %75
store float %76, ptr %7, align 4
%77 = load float, ptr %7, align 4
%78 = fpext float %77 to double
%79 = load float, ptr %7, align 4
%80 = fpext float %79 to double
%81 = fdiv double 1.000000e+00, %80
%82 = fadd double %78, %81
%83 = fptrunc double %82 to float
%84 = load ptr, ptr %6, align 8
%85 = load i32, ptr %2, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds float, ptr %84, i64 %86
store float %83, ptr %87, align 4
br label %88
88: ; preds = %65
%89 = load i32, ptr %2, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %2, align 4
br label %62, !llvm.loop !8
91: ; preds = %62
%92 = call i32 @avaliacao(ptr noundef @.str, i32 noundef 50000000)
store i32 49999990, ptr %2, align 4
br label %93
93: ; preds = %104, %91
%94 = load i32, ptr %2, align 4
%95 = icmp slt i32 %94, 50000000
br i1 %95, label %96, label %107
96: ; preds = %93
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %2, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds float, ptr %97, i64 %99
%101 = load float, ptr %100, align 4
%102 = fpext float %101 to double
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %102)
br label %104
104: ; preds = %96
%105 = load i32, ptr %2, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %2, align 4
br label %93, !llvm.loop !9
107: ; preds = %93
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%109 = load ptr, ptr %3, align 8
%110 = call i32 @free(ptr noundef %109)
%111 = load ptr, ptr %4, align 8
%112 = call i32 @free(ptr noundef %111)
%113 = load ptr, ptr %5, align 8
%114 = call i32 @free(ptr noundef %113)
%115 = load ptr, ptr %6, align 8
%116 = call i32 @free(ptr noundef %115)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @rand(...) #1
declare i32 @inicializacao(...) #1
declare i32 @avaliacao(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_hdsg7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Exercicio D - Padr\C3\A3o\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i64 @malloc(i32 noundef 200000000)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = call i64 @malloc(i32 noundef 200000000)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %4, align 8
%12 = call i64 @malloc(i32 noundef 200000000)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = call i64 @malloc(i32 noundef 200000000)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %6, align 8
%16 = call i32 @srand(i32 noundef 424242)
store i32 0, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 50000000
br i1 %18, label %.lr.ph, label %61
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %56
%20 = call i64 (...) @rand()
%21 = sitofp i64 %20 to float
%22 = fpext float %21 to double
%23 = fdiv double %22, 1.000000e+07
%24 = fptrunc double %23 to float
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %2, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds float, ptr %25, i64 %27
store float %24, ptr %28, align 4
%29 = call i64 (...) @rand()
%30 = sitofp i64 %29 to float
%31 = fpext float %30 to double
%32 = fdiv double %31, 1.000000e+07
%33 = fptrunc double %32 to float
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %2, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds float, ptr %34, i64 %36
store float %33, ptr %37, align 4
%38 = call i64 (...) @rand()
%39 = sitofp i64 %38 to float
%40 = fpext float %39 to double
%41 = fdiv double %40, 1.000000e+07
%42 = fptrunc double %41 to float
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
store float %42, ptr %46, align 4
%47 = call i64 (...) @rand()
%48 = sitofp i64 %47 to float
%49 = fpext float %48 to double
%50 = fdiv double %49, 1.000000e+07
%51 = fptrunc double %50 to float
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %2, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
store float %51, ptr %55, align 4
br label %56
56: ; preds = %19
%57 = load i32, ptr %2, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %2, align 4
%59 = load i32, ptr %2, align 4
%60 = icmp slt i32 %59, 50000000
br i1 %60, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %61
61: ; preds = %._crit_edge, %0
%62 = call i32 (...) @inicializacao()
store i32 0, ptr %2, align 4
%63 = load i32, ptr %2, align 4
%64 = icmp slt i32 %63, 50000000
br i1 %64, label %.lr.ph2, label %93
.lr.ph2: ; preds = %61
br label %65
65: ; preds = %.lr.ph2, %88
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %2, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds float, ptr %66, i64 %68
%70 = load float, ptr %69, align 4
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %2, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds float, ptr %71, i64 %73
%75 = load float, ptr %74, align 4
%76 = fadd float %70, %75
store float %76, ptr %7, align 4
%77 = load float, ptr %7, align 4
%78 = fpext float %77 to double
%79 = load float, ptr %7, align 4
%80 = fpext float %79 to double
%81 = fdiv double 1.000000e+00, %80
%82 = fadd double %78, %81
%83 = fptrunc double %82 to float
%84 = load ptr, ptr %6, align 8
%85 = load i32, ptr %2, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds float, ptr %84, i64 %86
store float %83, ptr %87, align 4
br label %88
88: ; preds = %65
%89 = load i32, ptr %2, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %2, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp slt i32 %91, 50000000
br i1 %92, label %65, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %88
br label %93
93: ; preds = %._crit_edge3, %61
%94 = call i32 @avaliacao(ptr noundef @.str, i32 noundef 50000000)
store i32 49999990, ptr %2, align 4
%95 = load i32, ptr %2, align 4
%96 = icmp slt i32 %95, 50000000
br i1 %96, label %.lr.ph5, label %110
.lr.ph5: ; preds = %93
br label %97
97: ; preds = %.lr.ph5, %105
%98 = load ptr, ptr %6, align 8
%99 = load i32, ptr %2, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds float, ptr %98, i64 %100
%102 = load float, ptr %101, align 4
%103 = fpext float %102 to double
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %103)
br label %105
105: ; preds = %97
%106 = load i32, ptr %2, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %2, align 4
%108 = load i32, ptr %2, align 4
%109 = icmp slt i32 %108, 50000000
br i1 %109, label %97, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %105
br label %110
110: ; preds = %._crit_edge6, %93
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%112 = load ptr, ptr %3, align 8
%113 = call i32 @free(ptr noundef %112)
%114 = load ptr, ptr %4, align 8
%115 = call i32 @free(ptr noundef %114)
%116 = load ptr, ptr %5, align 8
%117 = call i32 @free(ptr noundef %116)
%118 = load ptr, ptr %6, align 8
%119 = call i32 @free(ptr noundef %118)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @rand(...) #1
declare i32 @inicializacao(...) #1
declare i32 @avaliacao(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp6z8zm75w.c'
source_filename = "/tmp/tmp6z8zm75w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CL_SUCCESS = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"clGetPlatformIDsChecker\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clGetPlatformIDsChecker(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i64, ptr %3, align 8
%5 = load i64, ptr @CL_SUCCESS, align 8
%6 = icmp ne i64 %4, %5
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str)
br label %10
10: ; preds = %7, %1
ret void
}
declare i32 @fprintf(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/tmp6z8zm75w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CL_SUCCESS = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"clGetPlatformIDsChecker\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clGetPlatformIDsChecker(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i64, ptr %3, align 8
%5 = load i64, ptr @CL_SUCCESS, align 8
%6 = icmp ne i64 %4, %5
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str)
br label %10
10: ; preds = %7, %1
ret void
}
declare i32 @fprintf(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/tmpnqax4ztx.c'
source_filename = "/tmp/tmpnqax4ztx.c"
target datalayout = "e-m:e-p270: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"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 12)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @check(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @free(ptr noundef %11)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @check(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnqax4ztx.c"
target datalayout = "e-m:e-p270: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"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 12)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @check(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @free(ptr noundef %11)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @check(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpahr7e3q5.c'
source_filename = "/tmp/tmpahr7e3q5.c"
target datalayout = "e-m:e-p270: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/tmpahr7e3q5.c"
target datalayout = "e-m:e-p270: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/tmpme__hodr.c'
source_filename = "/tmp/tmpme__hodr.c"
target datalayout = "e-m:e-p270:32:32-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 @demux4Way(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%17 = load i32, ptr %9, align 4
%18 = call i32 @gNot(i32 noundef %17)
store i32 %18, ptr %15, align 4
%19 = load i32, ptr %8, align 4
%20 = call i32 @gNot(i32 noundef %19)
store i32 %20, ptr %16, align 4
%21 = load i32, ptr %16, align 4
%22 = load i32, ptr %15, align 4
%23 = call i32 @gAnd(i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %10, align 4
%25 = call i32 @gAnd(i32 noundef %23, i32 noundef %24)
%26 = load ptr, ptr %11, align 8
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %16, align 4
%28 = load i32, ptr %9, align 4
%29 = call i32 @gAnd(i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr %10, align 4
%31 = call i32 @gAnd(i32 noundef %29, i32 noundef %30)
%32 = load ptr, ptr %12, align 8
store i32 %31, ptr %32, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %15, align 4
%35 = call i32 @gAnd(i32 noundef %33, i32 noundef %34)
%36 = load i32, ptr %10, align 4
%37 = call i32 @gAnd(i32 noundef %35, i32 noundef %36)
%38 = load ptr, ptr %13, align 8
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %9, align 4
%41 = call i32 @gAnd(i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %10, align 4
%43 = call i32 @gAnd(i32 noundef %41, i32 noundef %42)
%44 = load ptr, ptr %14, align 8
store i32 %43, ptr %44, align 4
ret void
}
declare i32 @gNot(i32 noundef) #1
declare i32 @gAnd(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/tmpme__hodr.c"
target datalayout = "e-m:e-p270:32:32-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 @demux4Way(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%17 = load i32, ptr %9, align 4
%18 = call i32 @gNot(i32 noundef %17)
store i32 %18, ptr %15, align 4
%19 = load i32, ptr %8, align 4
%20 = call i32 @gNot(i32 noundef %19)
store i32 %20, ptr %16, align 4
%21 = load i32, ptr %16, align 4
%22 = load i32, ptr %15, align 4
%23 = call i32 @gAnd(i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %10, align 4
%25 = call i32 @gAnd(i32 noundef %23, i32 noundef %24)
%26 = load ptr, ptr %11, align 8
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %16, align 4
%28 = load i32, ptr %9, align 4
%29 = call i32 @gAnd(i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr %10, align 4
%31 = call i32 @gAnd(i32 noundef %29, i32 noundef %30)
%32 = load ptr, ptr %12, align 8
store i32 %31, ptr %32, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %15, align 4
%35 = call i32 @gAnd(i32 noundef %33, i32 noundef %34)
%36 = load i32, ptr %10, align 4
%37 = call i32 @gAnd(i32 noundef %35, i32 noundef %36)
%38 = load ptr, ptr %13, align 8
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %9, align 4
%41 = call i32 @gAnd(i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %10, align 4
%43 = call i32 @gAnd(i32 noundef %41, i32 noundef %42)
%44 = load ptr, ptr %14, align 8
store i32 %43, ptr %44, align 4
ret void
}
declare i32 @gNot(i32 noundef) #1
declare i32 @gAnd(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/tmpup47r8wo.c'
source_filename = "/tmp/tmpup47r8wo.c"
target datalayout = "e-m:e-p270: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/tmpup47r8wo.c"
target datalayout = "e-m:e-p270: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/tmpsfnlh_p9.c'
source_filename = "/tmp/tmpsfnlh_p9.c"
target datalayout = "e-m:e-p270: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/tmpsfnlh_p9.c"
target datalayout = "e-m:e-p270: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/tmprmd268e_.c'
source_filename = "/tmp/tmprmd268e_.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printNL() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprmd268e_.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printNL() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvwtrssyv.c'
source_filename = "/tmp/tmpvwtrssyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"input is zero\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"%.4f is positive\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"%.4f is negative\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp oeq float %4, 0.000000e+00
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
8: ; preds = %0
%9 = load float, ptr %2, align 4
%10 = fcmp ogt float %9, 0.000000e+00
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
br label %19
15: ; preds = %8
%16 = load float, ptr %2, align 4
%17 = fpext float %16 to double
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17)
br label %19
19: ; preds = %15, %11
br label %20
20: ; preds = %19, %6
ret i32 0
}
declare i32 @scanf(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvwtrssyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"input is zero\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"%.4f is positive\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"%.4f is negative\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp oeq float %4, 0.000000e+00
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
8: ; preds = %0
%9 = load float, ptr %2, align 4
%10 = fcmp ogt float %9, 0.000000e+00
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
br label %19
15: ; preds = %8
%16 = load float, ptr %2, align 4
%17 = fpext float %16 to double
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17)
br label %19
19: ; preds = %15, %11
br label %20
20: ; preds = %19, %6
ret i32 0
}
declare i32 @scanf(ptr 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"}
|
; ModuleID = '/tmp/tmpmfh74zq0.c'
source_filename = "/tmp/tmpmfh74zq0.c"
target datalayout = "e-m:e-p270:32:32-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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %8, ptr %4, align 4
%9 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %33, %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %16, %17
%19 = icmp sle i32 %15, %18
br label %20
20: ; preds = %14, %10
%21 = phi i1 [ false, %10 ], [ %19, %14 ]
br i1 %21, label %22, label %34
22: ; preds = %20
%23 = call i32 (...) @__VERIFIER_nondet_int()
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = sub nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %2, align 4
store i32 %28, ptr %5, align 4
%29 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %29, ptr %2, align 4
br label %33
30: ; preds = %22
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %30, %25
br label %10, !llvm.loop !6
34: ; preds = %20
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmfh74zq0.c"
target datalayout = "e-m:e-p270:32:32-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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %3, align 4
%8 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %8, ptr %4, align 4
%9 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %33, %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %16, %17
%19 = icmp sle i32 %15, %18
br label %20
20: ; preds = %14, %10
%21 = phi i1 [ false, %10 ], [ %19, %14 ]
br i1 %21, label %22, label %34
22: ; preds = %20
%23 = call i32 (...) @__VERIFIER_nondet_int()
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = sub nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %2, align 4
store i32 %28, ptr %5, align 4
%29 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %29, ptr %2, align 4
br label %33
30: ; preds = %22
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %30, %25
br label %10, !llvm.loop !6
34: ; preds = %20
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjbqlno84.c'
source_filename = "/tmp/tmpjbqlno84.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"configure\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @NETconfigure() #0 {
%1 = call i32 @ExecCfg(ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @ExecCfg(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/tmpjbqlno84.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"configure\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @NETconfigure() #0 {
%1 = call i32 @ExecCfg(ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @ExecCfg(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/tmpdnyweety.c'
source_filename = "/tmp/tmpdnyweety.c"
target datalayout = "e-m:e-p270: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/tmpdnyweety.c"
target datalayout = "e-m:e-p270: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/tmppeci67yj.c'
source_filename = "/tmp/tmppeci67yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppeci67yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpymh_drmd.c'
source_filename = "/tmp/tmpymh_drmd.c"
target datalayout = "e-m:e-p270: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 @getLocalTime(i32 noundef %0) #0 {
%2 = alloca %struct.tm, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call ptr @localtime(ptr noundef %3)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %4, i64 4, i1 false)
%5 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 0
%6 = load i32, ptr %5, align 4
ret i32 %6
}
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymh_drmd.c"
target datalayout = "e-m:e-p270: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 @getLocalTime(i32 noundef %0) #0 {
%2 = alloca %struct.tm, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call ptr @localtime(ptr noundef %3)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %4, i64 4, i1 false)
%5 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 0
%6 = load i32, ptr %5, align 4
ret i32 %6
}
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp330s3l6t.c'
source_filename = "/tmp/tmp330s3l6t.c"
target datalayout = "e-m:e-p270:32:32-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 @default_freeor(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp330s3l6t.c"
target datalayout = "e-m:e-p270:32:32-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 @default_freeor(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjkr_1shb.c'
source_filename = "/tmp/tmpjkr_1shb.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error_handling(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fputc(i8 noundef signext 10, i32 noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjkr_1shb.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error_handling(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fputc(i8 noundef signext 10, i32 noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp926ij736.c'
source_filename = "/tmp/tmp926ij736.c"
target datalayout = "e-m:e-p270: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"..\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"First part of range does not have digits\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Start of range is not a number\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Error bad range\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"End of range is not a number\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_range(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%17 = load ptr, ptr %6, align 8
%18 = call ptr @strdup(ptr noundef %17)
store ptr %18, ptr %10, align 8
%19 = load ptr, ptr %10, align 8
%20 = call ptr @strstr(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %12, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %26, label %22
22: ; preds = %4
%23 = load ptr, ptr %10, align 8
%24 = load ptr, ptr %7, align 8
store ptr %23, ptr %24, align 8
%25 = load ptr, ptr %8, align 8
store i32 -1, ptr %25, align 4
store i32 1, ptr %5, align 4
br label %105
26: ; preds = %4
%27 = load ptr, ptr %10, align 8
store ptr %27, ptr %11, align 8
%28 = load ptr, ptr %12, align 8
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %11, align 8
%30 = call i32 @strlen(ptr noundef %29)
store i32 %30, ptr %16, align 4
store i32 0, ptr %15, align 4
br label %31
31: ; preds = %45, %26
%32 = load i32, ptr %15, align 4
%33 = load i32, ptr %16, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %48
35: ; preds = %31
%36 = load ptr, ptr %11, align 8
%37 = load i32, ptr %15, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = call i64 @isdigit(i8 noundef signext %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %35
br label %48
44: ; preds = %35
br label %45
45: ; preds = %44
%46 = load i32, ptr %15, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %15, align 4
br label %31, !llvm.loop !6
48: ; preds = %43, %31
%49 = load i32, ptr %15, align 4
%50 = load i32, ptr %16, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = load i32, ptr @stderr, align 4
%54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.1)
br label %102
55: ; preds = %48
%56 = load ptr, ptr %11, align 8
%57 = load i32, ptr %15, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
store ptr %59, ptr %14, align 8
%60 = load ptr, ptr %14, align 8
%61 = call i32 @is_number(ptr noundef %60)
%62 = icmp ne i32 %61, 0
br i1 %62, label %66, label %63
63: ; preds = %55
%64 = load i32, ptr @stderr, align 4
%65 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.2)
br label %102
66: ; preds = %55
%67 = load ptr, ptr %14, align 8
%68 = call i32 @atoi(ptr noundef %67)
%69 = load ptr, ptr %8, align 8
store i32 %68, ptr %69, align 4
%70 = load ptr, ptr %14, align 8
store i8 0, ptr %70, align 1
%71 = load ptr, ptr %11, align 8
%72 = call ptr @strdup(ptr noundef %71)
%73 = load ptr, ptr %7, align 8
store ptr %72, ptr %73, align 8
%74 = load ptr, ptr %12, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %12, align 8
%76 = load ptr, ptr %12, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %12, align 8
%78 = load ptr, ptr %12, align 8
%79 = icmp ne ptr %78, null
br i1 %79, label %83, label %80
80: ; preds = %66
%81 = load i32, ptr @stderr, align 4
%82 = call i32 @fprintf(i32 noundef %81, ptr noundef @.str.3)
br label %102
83: ; preds = %66
%84 = load ptr, ptr %12, align 8
store ptr %84, ptr %13, align 8
%85 = load ptr, ptr %13, align 8
%86 = call i32 @is_number(ptr noundef %85)
%87 = icmp ne i32 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %83
%89 = load i32, ptr @stderr, align 4
%90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.4)
br label %102
91: ; preds = %83
%92 = load ptr, ptr %13, align 8
%93 = call i32 @atoi(ptr noundef %92)
%94 = load ptr, ptr %9, align 8
store i32 %93, ptr %94, align 4
%95 = load ptr, ptr %9, align 8
%96 = load i32, ptr %95, align 4
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %97, align 4
%99 = icmp sle i32 %96, %98
br i1 %99, label %100, label %101
100: ; preds = %91
br label %102
101: ; preds = %91
store i32 1, ptr %5, align 4
br label %105
102: ; preds = %100, %88, %80, %63, %52
%103 = load ptr, ptr %10, align 8
%104 = call i32 @free(ptr noundef %103)
store i32 0, ptr %5, align 4
br label %105
105: ; preds = %102, %101, %22
%106 = load i32, ptr %5, align 4
ret i32 %106
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @is_number(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp926ij736.c"
target datalayout = "e-m:e-p270: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"..\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"First part of range does not have digits\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Start of range is not a number\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Error bad range\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"End of range is not a number\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_range(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%17 = load ptr, ptr %6, align 8
%18 = call ptr @strdup(ptr noundef %17)
store ptr %18, ptr %10, align 8
%19 = load ptr, ptr %10, align 8
%20 = call ptr @strstr(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %12, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %26, label %22
22: ; preds = %4
%23 = load ptr, ptr %10, align 8
%24 = load ptr, ptr %7, align 8
store ptr %23, ptr %24, align 8
%25 = load ptr, ptr %8, align 8
store i32 -1, ptr %25, align 4
store i32 1, ptr %5, align 4
br label %107
26: ; preds = %4
%27 = load ptr, ptr %10, align 8
store ptr %27, ptr %11, align 8
%28 = load ptr, ptr %12, align 8
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %11, align 8
%30 = call i32 @strlen(ptr noundef %29)
store i32 %30, ptr %16, align 4
store i32 0, ptr %15, align 4
%31 = load i32, ptr %15, align 4
%32 = load i32, ptr %16, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %26
br label %34
34: ; preds = %.lr.ph, %44
%35 = load ptr, ptr %11, align 8
%36 = load i32, ptr %15, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = call i64 @isdigit(i8 noundef signext %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %34
br label %50
43: ; preds = %34
br label %44
44: ; preds = %43
%45 = load i32, ptr %15, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %15, align 4
%47 = load i32, ptr %15, align 4
%48 = load i32, ptr %16, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %34, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %26
br label %50
50: ; preds = %.loopexit, %42
%51 = load i32, ptr %15, align 4
%52 = load i32, ptr %16, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i32, ptr @stderr, align 4
%56 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.1)
br label %104
57: ; preds = %50
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %15, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store ptr %61, ptr %14, align 8
%62 = load ptr, ptr %14, align 8
%63 = call i32 @is_number(ptr noundef %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %57
%66 = load i32, ptr @stderr, align 4
%67 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.2)
br label %104
68: ; preds = %57
%69 = load ptr, ptr %14, align 8
%70 = call i32 @atoi(ptr noundef %69)
%71 = load ptr, ptr %8, align 8
store i32 %70, ptr %71, align 4
%72 = load ptr, ptr %14, align 8
store i8 0, ptr %72, align 1
%73 = load ptr, ptr %11, align 8
%74 = call ptr @strdup(ptr noundef %73)
%75 = load ptr, ptr %7, align 8
store ptr %74, ptr %75, align 8
%76 = load ptr, ptr %12, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %12, align 8
%78 = load ptr, ptr %12, align 8
%79 = getelementptr inbounds i8, ptr %78, i32 1
store ptr %79, ptr %12, align 8
%80 = load ptr, ptr %12, align 8
%81 = icmp ne ptr %80, null
br i1 %81, label %85, label %82
82: ; preds = %68
%83 = load i32, ptr @stderr, align 4
%84 = call i32 @fprintf(i32 noundef %83, ptr noundef @.str.3)
br label %104
85: ; preds = %68
%86 = load ptr, ptr %12, align 8
store ptr %86, ptr %13, align 8
%87 = load ptr, ptr %13, align 8
%88 = call i32 @is_number(ptr noundef %87)
%89 = icmp ne i32 %88, 0
br i1 %89, label %93, label %90
90: ; preds = %85
%91 = load i32, ptr @stderr, align 4
%92 = call i32 @fprintf(i32 noundef %91, ptr noundef @.str.4)
br label %104
93: ; preds = %85
%94 = load ptr, ptr %13, align 8
%95 = call i32 @atoi(ptr noundef %94)
%96 = load ptr, ptr %9, align 8
store i32 %95, ptr %96, align 4
%97 = load ptr, ptr %9, align 8
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %8, align 8
%100 = load i32, ptr %99, align 4
%101 = icmp sle i32 %98, %100
br i1 %101, label %102, label %103
102: ; preds = %93
br label %104
103: ; preds = %93
store i32 1, ptr %5, align 4
br label %107
104: ; preds = %102, %90, %82, %65, %54
%105 = load ptr, ptr %10, align 8
%106 = call i32 @free(ptr noundef %105)
store i32 0, ptr %5, align 4
br label %107
107: ; preds = %104, %103, %22
%108 = load i32, ptr %5, align 4
ret i32 %108
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @is_number(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjhe64xtu.c'
source_filename = "/tmp/tmpjhe64xtu.c"
target datalayout = "e-m:e-p270:32:32-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 = call i32 (...) @foo()
%2 = call i32 (...) @foo1()
%3 = call i32 (...) @foo2()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @foo1(...) #1
declare i32 @foo2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjhe64xtu.c"
target datalayout = "e-m:e-p270:32:32-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 = call i32 (...) @foo()
%2 = call i32 (...) @foo1()
%3 = call i32 (...) @foo2()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @foo1(...) #1
declare i32 @foo2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpifevz5ec.c'
source_filename = "/tmp/tmpifevz5ec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i64, ptr %6, align 8
%11 = call ptr @memchr(ptr noundef %8, i32 noundef %9, i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
br label %18
16: ; preds = %3
%17 = call i32 (...) @__softboundcets_store_null_return_metadata()
br label %18
18: ; preds = %16, %14
%19 = load ptr, ptr %7, align 8
ret ptr %19
}
declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
declare i32 @__softboundcets_store_null_return_metadata(...) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpifevz5ec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i64, ptr %6, align 8
%11 = call ptr @memchr(ptr noundef %8, i32 noundef %9, i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
br label %18
16: ; preds = %3
%17 = call i32 (...) @__softboundcets_store_null_return_metadata()
br label %18
18: ; preds = %16, %14
%19 = load ptr, ptr %7, align 8
ret ptr %19
}
declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @__softboundcets_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
declare i32 @__softboundcets_store_null_return_metadata(...) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv36iuw7j.c'
source_filename = "/tmp/tmpv36iuw7j.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c" socket_serveur \00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c" Can not set SO_REUSEADDR option \00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c" bind socker_serveur \00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c" listen socket_serveur \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creer_serveur(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
br label %13
13: ; preds = %11, %1
store i32 1, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr @SOL_SOCKET, align 4
%16 = load i32, ptr @SO_REUSEADDR, align 4
%17 = call i32 @setsockopt(i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %4, i32 noundef 4)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 @perror(ptr noundef @.str.1)
br label %21
21: ; preds = %19, %13
%22 = load i32, ptr @AF_INET, align 4
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %2, align 4
%25 = call i32 @htons(i32 noundef %24)
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %25, ptr %26, align 4
%27 = load i32, ptr @INADDR_ANY, align 4
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0
store i32 %27, ptr %29, align 4
%30 = load i32, ptr %3, align 4
%31 = call i32 @bind(i32 noundef %30, ptr noundef %5, i32 noundef 12)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %21
%34 = call i32 @perror(ptr noundef @.str.2)
br label %35
35: ; preds = %33, %21
%36 = load i32, ptr %3, align 4
%37 = call i32 @listen(i32 noundef %36, i32 noundef 10)
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 @perror(ptr noundef @.str.3)
br label %41
41: ; preds = %39, %35
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 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/tmpv36iuw7j.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c" socket_serveur \00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c" Can not set SO_REUSEADDR option \00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c" bind socker_serveur \00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c" listen socket_serveur \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creer_serveur(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
br label %13
13: ; preds = %11, %1
store i32 1, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr @SOL_SOCKET, align 4
%16 = load i32, ptr @SO_REUSEADDR, align 4
%17 = call i32 @setsockopt(i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %4, i32 noundef 4)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 @perror(ptr noundef @.str.1)
br label %21
21: ; preds = %19, %13
%22 = load i32, ptr @AF_INET, align 4
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %2, align 4
%25 = call i32 @htons(i32 noundef %24)
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %25, ptr %26, align 4
%27 = load i32, ptr @INADDR_ANY, align 4
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0
store i32 %27, ptr %29, align 4
%30 = load i32, ptr %3, align 4
%31 = call i32 @bind(i32 noundef %30, ptr noundef %5, i32 noundef 12)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %21
%34 = call i32 @perror(ptr noundef @.str.2)
br label %35
35: ; preds = %33, %21
%36 = load i32, ptr %3, align 4
%37 = call i32 @listen(i32 noundef %36, i32 noundef 10)
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 @perror(ptr noundef @.str.3)
br label %41
41: ; preds = %39, %35
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 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/tmptqxwzvn_.c'
source_filename = "/tmp/tmptqxwzvn_.c"
target datalayout = "e-m:e-p270:32:32-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 @I2CSlaveACKValueSet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 2080
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i32, ptr %11, align 4
%13 = and i32 %12, -3
store volatile i32 %13, ptr %11, align 4
br label %21
14: ; preds = %2
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 2080
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
%19 = load volatile i32, ptr %18, align 4
%20 = or i32 %19, 2
store volatile i32 %20, ptr %18, align 4
br label %21
21: ; preds = %14, %7
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/tmptqxwzvn_.c"
target datalayout = "e-m:e-p270:32:32-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 @I2CSlaveACKValueSet(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 2080
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i32, ptr %11, align 4
%13 = and i32 %12, -3
store volatile i32 %13, ptr %11, align 4
br label %21
14: ; preds = %2
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 2080
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
%19 = load volatile i32, ptr %18, align 4
%20 = or i32 %19, 2
store volatile i32 %20, ptr %18, align 4
br label %21
21: ; preds = %14, %7
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/tmpdxiubafo.c'
source_filename = "/tmp/tmpdxiubafo.c"
target datalayout = "e-m:e-p270: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/tmpdxiubafo.c"
target datalayout = "e-m:e-p270: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_69zrduf.c'
source_filename = "/tmp/tmp_69zrduf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_69zrduf.c"
target datalayout = "e-m:e-p270: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/tmp6hsrw520.c'
source_filename = "/tmp/tmp6hsrw520.c"
target datalayout = "e-m:e-p270: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/tmp6hsrw520.c"
target datalayout = "e-m:e-p270: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/tmp9wxk19l8.c'
source_filename = "/tmp/tmp9wxk19l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for @\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x40() #0 {
%1 = call i64 @iscntrl(i32 noundef 64)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 325, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmp9wxk19l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for @\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x40() #0 {
%1 = call i64 @iscntrl(i32 noundef 64)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 325, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmpxwtopuoo.c'
source_filename = "/tmp/tmpxwtopuoo.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"got signal usr1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler_usr1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxwtopuoo.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"got signal usr1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler_usr1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwof2h5ff.c'
source_filename = "/tmp/tmpwof2h5ff.c"
target datalayout = "e-m:e-p270: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/tmpwof2h5ff.c"
target datalayout = "e-m:e-p270: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_wxgjq_y.c'
source_filename = "/tmp/tmp_wxgjq_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_wxgjq_y.c"
target datalayout = "e-m:e-p270: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/tmp0t4fw7yl.c'
source_filename = "/tmp/tmp0t4fw7yl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [11 x i32] [i32 1, i32 2, i32 3, i32 -1, i32 -2, i32 -3, i32 1, i32 2, i32 -1, i32 -3, i32 -2], align 16
@.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 [11 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 44, i1 false)
%3 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @singleNumber(ptr noundef %3, i32 noundef 11)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @singleNumber(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0t4fw7yl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [11 x i32] [i32 1, i32 2, i32 3, i32 -1, i32 -2, i32 -3, i32 1, i32 2, i32 -1, i32 -3, i32 -2], align 16
@.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 [11 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 44, i1 false)
%3 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @singleNumber(ptr noundef %3, i32 noundef 11)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @singleNumber(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz4rlkdpe.c'
source_filename = "/tmp/tmpz4rlkdpe.c"
target datalayout = "e-m:e-p270: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/tmpz4rlkdpe.c"
target datalayout = "e-m:e-p270: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/tmpehykji44.c'
source_filename = "/tmp/tmpehykji44.c"
target datalayout = "e-m:e-p270:32:32-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 @SSL_load_error_strings() #0 {
%1 = call i32 (...) @ERR_load_crypto_strings()
%2 = call i32 (...) @ERR_load_SSL_strings()
ret void
}
declare i32 @ERR_load_crypto_strings(...) #1
declare i32 @ERR_load_SSL_strings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpehykji44.c"
target datalayout = "e-m:e-p270:32:32-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 @SSL_load_error_strings() #0 {
%1 = call i32 (...) @ERR_load_crypto_strings()
%2 = call i32 (...) @ERR_load_SSL_strings()
ret void
}
declare i32 @ERR_load_crypto_strings(...) #1
declare i32 @ERR_load_SSL_strings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqt0f8nd7.c'
source_filename = "/tmp/tmpqt0f8nd7.c"
target datalayout = "e-m:e-p270: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/tmpqt0f8nd7.c"
target datalayout = "e-m:e-p270: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/tmp25dztcox.c'
source_filename = "/tmp/tmp25dztcox.c"
target datalayout = "e-m:e-p270: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"AUTO\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"BEST\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"APLIB\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"LZ4W\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"2\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"FAST\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getCompression(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strupper(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str.1)
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %10, %1
store i32 -1, ptr %2, align 4
br label %56
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23, %19
store i32 0, ptr %2, align 4
br label %56
28: ; preds = %23
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.5)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.6)
%35 = icmp ne i32 %34, 0
br i1 %35, label %37, label %36
36: ; preds = %32, %28
store i32 1, ptr %2, align 4
br label %56
37: ; preds = %32
%38 = load ptr, ptr %4, align 8
%39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.7)
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %49
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.8)
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %41
%46 = load ptr, ptr %4, align 8
%47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.9)
%48 = icmp ne i32 %47, 0
br i1 %48, label %50, label %49
49: ; preds = %45, %41, %37
store i32 2, ptr %2, align 4
br label %56
50: ; preds = %45
%51 = load ptr, ptr %4, align 8
%52 = call i64 @strlen(ptr noundef %51)
%53 = icmp sgt i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %50
store i32 -1, ptr %2, align 4
br label %56
55: ; preds = %50
store i32 0, ptr %2, align 4
br label %56
56: ; preds = %55, %54, %49, %36, %27, %18
%57 = load i32, ptr %2, align 4
ret i32 %57
}
declare ptr @strupper(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp25dztcox.c"
target datalayout = "e-m:e-p270: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"AUTO\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"BEST\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"APLIB\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"LZ4W\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"2\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"FAST\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getCompression(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strupper(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str.1)
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %10, %1
store i32 -1, ptr %2, align 4
br label %56
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23, %19
store i32 0, ptr %2, align 4
br label %56
28: ; preds = %23
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.5)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.6)
%35 = icmp ne i32 %34, 0
br i1 %35, label %37, label %36
36: ; preds = %32, %28
store i32 1, ptr %2, align 4
br label %56
37: ; preds = %32
%38 = load ptr, ptr %4, align 8
%39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.7)
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %49
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.8)
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %41
%46 = load ptr, ptr %4, align 8
%47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.9)
%48 = icmp ne i32 %47, 0
br i1 %48, label %50, label %49
49: ; preds = %45, %41, %37
store i32 2, ptr %2, align 4
br label %56
50: ; preds = %45
%51 = load ptr, ptr %4, align 8
%52 = call i64 @strlen(ptr noundef %51)
%53 = icmp sgt i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %50
store i32 -1, ptr %2, align 4
br label %56
55: ; preds = %50
store i32 0, ptr %2, align 4
br label %56
56: ; preds = %55, %54, %49, %36, %27, %18
%57 = load i32, ptr %2, align 4
ret i32 %57
}
declare ptr @strupper(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmp_tqgutuy.c'
source_filename = "/tmp/tmp_tqgutuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EFAULT = dso_local global i32 0, align 4
@GETVAL = dso_local global i32 0, align 4
@errno = 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/tmp_tqgutuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EFAULT = dso_local global i32 0, align 4
@GETVAL = dso_local global i32 0, align 4
@errno = 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/tmpowep62sm.c'
source_filename = "/tmp/tmpowep62sm.c"
target datalayout = "e-m:e-p270:32:32-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 @xor_reg32_m32(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @put8(i32 noundef 51)
%6 = load i32, ptr %3, align 4
%7 = shl i32 %6, 3
%8 = or i32 %7, 5
%9 = call i32 @put8(i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = ptrtoint ptr %10 to i32
%12 = call i32 @put32(i32 noundef %11)
ret void
}
declare i32 @put8(i32 noundef) #1
declare i32 @put32(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/tmpowep62sm.c"
target datalayout = "e-m:e-p270:32:32-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 @xor_reg32_m32(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @put8(i32 noundef 51)
%6 = load i32, ptr %3, align 4
%7 = shl i32 %6, 3
%8 = or i32 %7, 5
%9 = call i32 @put8(i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = ptrtoint ptr %10 to i32
%12 = call i32 @put32(i32 noundef %11)
ret void
}
declare i32 @put8(i32 noundef) #1
declare i32 @put32(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/tmpl37kt51w.c'
source_filename = "/tmp/tmpl37kt51w.c"
target datalayout = "e-m:e-p270:32:32-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 @dVxTriangle2D(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [4 x double], align 16
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = call i32 @cofactor2D(ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, double noundef 1.000000e+00)
%19 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%20 = load double, ptr %19, align 16
%21 = load ptr, ptr %10, align 8
%22 = getelementptr inbounds double, ptr %21, i64 0
%23 = load double, ptr %22, align 8
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
%26 = load double, ptr %25, align 8
%27 = fsub double %23, %26
%28 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 2
%29 = load double, ptr %28, align 16
%30 = load ptr, ptr %10, align 8
%31 = getelementptr inbounds double, ptr %30, i64 1
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds double, ptr %33, i64 1
%35 = load double, ptr %34, align 8
%36 = fsub double %32, %35
%37 = fmul double %29, %36
%38 = call double @llvm.fmuladd.f64(double %20, double %27, double %37)
%39 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 1
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %11, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds double, ptr %44, i64 0
%46 = load double, ptr %45, align 8
%47 = fsub double %43, %46
%48 = call double @llvm.fmuladd.f64(double %40, double %47, double %38)
%49 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 3
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %11, align 8
%52 = getelementptr inbounds double, ptr %51, i64 1
%53 = load double, ptr %52, align 8
%54 = load ptr, ptr %12, align 8
%55 = getelementptr inbounds double, ptr %54, i64 1
%56 = load double, ptr %55, align 8
%57 = fsub double %53, %56
%58 = call double @llvm.fmuladd.f64(double %50, double %57, double %48)
ret double %58
}
declare i32 @cofactor2D(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl37kt51w.c"
target datalayout = "e-m:e-p270:32:32-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 @dVxTriangle2D(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [4 x double], align 16
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = call i32 @cofactor2D(ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, double noundef 1.000000e+00)
%19 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%20 = load double, ptr %19, align 16
%21 = load ptr, ptr %10, align 8
%22 = getelementptr inbounds double, ptr %21, i64 0
%23 = load double, ptr %22, align 8
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
%26 = load double, ptr %25, align 8
%27 = fsub double %23, %26
%28 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 2
%29 = load double, ptr %28, align 16
%30 = load ptr, ptr %10, align 8
%31 = getelementptr inbounds double, ptr %30, i64 1
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds double, ptr %33, i64 1
%35 = load double, ptr %34, align 8
%36 = fsub double %32, %35
%37 = fmul double %29, %36
%38 = call double @llvm.fmuladd.f64(double %20, double %27, double %37)
%39 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 1
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %11, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds double, ptr %44, i64 0
%46 = load double, ptr %45, align 8
%47 = fsub double %43, %46
%48 = call double @llvm.fmuladd.f64(double %40, double %47, double %38)
%49 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 3
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %11, align 8
%52 = getelementptr inbounds double, ptr %51, i64 1
%53 = load double, ptr %52, align 8
%54 = load ptr, ptr %12, align 8
%55 = getelementptr inbounds double, ptr %54, i64 1
%56 = load double, ptr %55, align 8
%57 = fsub double %53, %56
%58 = call double @llvm.fmuladd.f64(double %50, double %57, double %48)
ret double %58
}
declare i32 @cofactor2D(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk3ec_9st.c'
source_filename = "/tmp/tmpk3ec_9st.c"
target datalayout = "e-m:e-p270:32:32-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 @get_last_word(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 ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %68
10: ; preds = %1
br label %11
11: ; preds = %31, %10
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, 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 ne i32 %17, 0
br i1 %18, label %19, label %34
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 32
br i1 %26, label %27, label %30
27: ; preds = %19
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %27, %19
br label %31
31: ; preds = %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %11, !llvm.loop !6
34: ; preds = %11
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = sub nsw i32 %35, %36
%38 = add nsw i32 %37, 1
%39 = call i64 @calloc(i32 noundef %38, i32 noundef 1)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %41
41: ; preds = %50, %34
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %62
49: ; preds = %41
br label %50
50: ; preds = %49
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %4, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i8, ptr %55, align 1
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 %56, ptr %61, align 1
br label %41, !llvm.loop !8
62: ; preds = %41
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %6, align 8
store ptr %67, ptr %2, align 8
br label %68
68: ; preds = %62, %9
%69 = load ptr, ptr %2, align 8
ret ptr %69
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk3ec_9st.c"
target datalayout = "e-m:e-p270:32:32-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 @get_last_word(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 ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %80
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %.lr.ph, label %40
.lr.ph: ; preds = %10
br label %18
18: ; preds = %.lr.ph, %30
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 32
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %26, %18
br label %30
30: ; preds = %29
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %10
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = sub nsw i32 %41, %42
%44 = add nsw i32 %43, 1
%45 = call i64 @calloc(i32 noundef %44, i32 noundef 1)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %6, align 8
store i32 0, ptr %5, align 4
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %.lr.ph2, label %74
.lr.ph2: ; preds = %40
br label %54
54: ; preds = %.lr.ph2, %55
br label %55
55: ; preds = %54
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %4, align 4
%59 = sext i32 %57 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
%61 = load i8, ptr %60, align 1
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %5, align 4
%65 = sext i32 %63 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
store i8 %61, ptr %66, align 1
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %4, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %74
74: ; preds = %._crit_edge3, %40
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %4, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
store i8 0, ptr %78, align 1
%79 = load ptr, ptr %6, align 8
store ptr %79, ptr %2, align 8
br label %80
80: ; preds = %74, %9
%81 = load ptr, ptr %2, align 8
ret ptr %81
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpsu6_ktrd.c'
source_filename = "/tmp/tmpsu6_ktrd.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"SQUARE is defined\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Macro function result %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showMacroWithCode() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 5, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = mul nsw i32 %3, %4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %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/tmpsu6_ktrd.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"SQUARE is defined\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Macro function result %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showMacroWithCode() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 5, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = mul nsw i32 %3, %4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %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/tmpbcfgq00a.c'
source_filename = "/tmp/tmpbcfgq00a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @QEIPositionGet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store volatile i64 %0, ptr %2, align 8
%3 = load volatile i64, ptr %2, align 8
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to ptr
%6 = load volatile i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbcfgq00a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @QEIPositionGet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store volatile i64 %0, ptr %2, align 8
%3 = load volatile i64, ptr %2, align 8
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to ptr
%6 = load volatile i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpof93qyr9.c'
source_filename = "/tmp/tmpof93qyr9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"-- main() return A()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
%7 = call i32 (...) @A()
ret i32 %7
}
declare i32 @puts(ptr noundef) #1
declare i32 @A(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpof93qyr9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"-- main() return A()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
%7 = call i32 (...) @A()
ret i32 %7
}
declare i32 @puts(ptr noundef) #1
declare i32 @A(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvlb3jy4b.c'
source_filename = "/tmp/tmpvlb3jy4b.c"
target datalayout = "e-m:e-p270: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/tmpvlb3jy4b.c"
target datalayout = "e-m:e-p270: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/tmp7h0x96yi.c'
source_filename = "/tmp/tmp7h0x96yi.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Test2: Random double between -1.5 and 2.3\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca i32, align 4
%2 = call i32 @puts(ptr noundef @.str)
%3 = call i32 @srand(i32 noundef 1245)
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %10, %0
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = call double @randDouble(double noundef -1.500000e+00, double noundef 2.300000e+00)
%9 = call i32 @printf(ptr noundef @.str.1, double noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare double @randDouble(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7h0x96yi.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Test2: Random double between -1.5 and 2.3\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca i32, align 4
%2 = call i32 @puts(ptr noundef @.str)
%3 = call i32 @srand(i32 noundef 1245)
store i32 0, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %9
%7 = call double @randDouble(double noundef -1.500000e+00, double noundef 2.300000e+00)
%8 = call i32 @printf(ptr noundef @.str.1, double noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %12, 5
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
ret void
}
declare i32 @puts(ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare double @randDouble(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8zuo_gw5.c'
source_filename = "/tmp/tmp8zuo_gw5.c"
target datalayout = "e-m:e-p270:32:32-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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @hash(i32 noundef 1)
%6 = call i32 @hash(i32 noundef 1)
%7 = call i32 @hash(i32 noundef 100)
store i32 -98, ptr %1, align 4
br label %8
8: ; preds = %89, %0
%9 = load i32, ptr %1, align 4
%10 = icmp sle i32 %9, 0
br i1 %10, label %11, label %92
11: ; preds = %8
%12 = load i32, ptr %1, align 4
%13 = mul nsw i32 -2, %12
%14 = add nsw i32 %13, 2
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %1, align 4
%16 = sub nsw i32 0, %15
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = call i32 @hash(i32 noundef 1)
%19 = call i32 @hash(i32 noundef 1)
%20 = load i32, ptr %1, align 4
%21 = sub nsw i32 0, %20
%22 = add nsw i32 %21, 1
%23 = call i32 @hash(i32 noundef %22)
%24 = load i32, ptr %1, align 4
%25 = mul nsw i32 -2, %24
%26 = add nsw i32 %25, 3
store i32 %26, ptr %2, align 4
br label %27
27: ; preds = %78, %11
%28 = load i32, ptr %2, align 4
%29 = icmp sle i32 %28, 199
br i1 %29, label %30, label %81
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = srem i32 %31, 2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %50
34: ; preds = %30
%35 = load i32, ptr %1, align 4
%36 = mul nsw i32 2, %35
%37 = load i32, ptr %2, align 4
%38 = add nsw i32 %36, %37
%39 = sdiv i32 %38, 2
store i32 %39, ptr %3, align 4
%40 = call i32 @hash(i32 noundef 1)
%41 = load i32, ptr %1, align 4
%42 = mul nsw i32 2, %41
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %42, %43
%45 = sdiv i32 %44, 2
%46 = call i32 @hash(i32 noundef %45)
%47 = load i32, ptr %2, align 4
%48 = sdiv i32 %47, 2
%49 = call i32 @hash(i32 noundef %48)
br label %50
50: ; preds = %34, %30
%51 = load i32, ptr %2, align 4
%52 = add nsw i32 %51, 1
%53 = srem i32 %52, 2
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %77
55: ; preds = %50
%56 = load i32, ptr %1, align 4
%57 = mul nsw i32 2, %56
%58 = load i32, ptr %2, align 4
%59 = add nsw i32 %57, %58
%60 = sub nsw i32 %59, 1
%61 = sdiv i32 %60, 2
store i32 %61, ptr %3, align 4
%62 = load i32, ptr %2, align 4
%63 = add nsw i32 %62, 1
%64 = sdiv i32 %63, 2
store i32 %64, ptr %4, align 4
%65 = call i32 @hash(i32 noundef 2)
%66 = load i32, ptr %1, align 4
%67 = mul nsw i32 2, %66
%68 = load i32, ptr %2, align 4
%69 = add nsw i32 %67, %68
%70 = sub nsw i32 %69, 1
%71 = sdiv i32 %70, 2
%72 = call i32 @hash(i32 noundef %71)
%73 = load i32, ptr %2, align 4
%74 = add nsw i32 %73, 1
%75 = sdiv i32 %74, 2
%76 = call i32 @hash(i32 noundef %75)
br label %77
77: ; preds = %55, %50
br label %78
78: ; preds = %77
%79 = load i32, ptr %2, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %2, align 4
br label %27, !llvm.loop !6
81: ; preds = %27
%82 = load i32, ptr %1, align 4
%83 = add nsw i32 %82, 100
store i32 %83, ptr %3, align 4
%84 = call i32 @hash(i32 noundef 1)
%85 = load i32, ptr %1, align 4
%86 = add nsw i32 %85, 100
%87 = call i32 @hash(i32 noundef %86)
%88 = call i32 @hash(i32 noundef 100)
br label %89
89: ; preds = %81
%90 = load i32, ptr %1, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %1, align 4
br label %8, !llvm.loop !8
92: ; preds = %8
store i32 1, ptr %1, align 4
br label %93
93: ; preds = %171, %92
%94 = load i32, ptr %1, align 4
%95 = icmp sle i32 %94, 99
br i1 %95, label %96, label %174
96: ; preds = %93
%97 = call i32 @hash(i32 noundef 2)
%98 = load i32, ptr %1, align 4
%99 = call i32 @hash(i32 noundef %98)
%100 = call i32 @hash(i32 noundef 1)
store i32 2, ptr %2, align 4
br label %101
101: ; preds = %155, %96
%102 = load i32, ptr %2, align 4
%103 = load i32, ptr %1, align 4
%104 = mul nsw i32 -2, %103
%105 = add nsw i32 %104, 200
%106 = icmp sle i32 %102, %105
br i1 %106, label %107, label %158
107: ; preds = %101
%108 = load i32, ptr %2, align 4
%109 = srem i32 %108, 2
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %127
111: ; preds = %107
%112 = load i32, ptr %1, align 4
%113 = mul nsw i32 2, %112
%114 = load i32, ptr %2, align 4
%115 = add nsw i32 %113, %114
%116 = sdiv i32 %115, 2
store i32 %116, ptr %3, align 4
%117 = call i32 @hash(i32 noundef 1)
%118 = load i32, ptr %1, align 4
%119 = mul nsw i32 2, %118
%120 = load i32, ptr %2, align 4
%121 = add nsw i32 %119, %120
%122 = sdiv i32 %121, 2
%123 = call i32 @hash(i32 noundef %122)
%124 = load i32, ptr %2, align 4
%125 = sdiv i32 %124, 2
%126 = call i32 @hash(i32 noundef %125)
br label %127
127: ; preds = %111, %107
%128 = load i32, ptr %2, align 4
%129 = add nsw i32 %128, 1
%130 = srem i32 %129, 2
%131 = icmp eq i32 %130, 0
br i1 %131, label %132, label %154
132: ; preds = %127
%133 = load i32, ptr %1, align 4
%134 = mul nsw i32 2, %133
%135 = load i32, ptr %2, align 4
%136 = add nsw i32 %134, %135
%137 = sub nsw i32 %136, 1
%138 = sdiv i32 %137, 2
store i32 %138, ptr %3, align 4
%139 = load i32, ptr %2, align 4
%140 = add nsw i32 %139, 1
%141 = sdiv i32 %140, 2
store i32 %141, ptr %4, align 4
%142 = call i32 @hash(i32 noundef 2)
%143 = load i32, ptr %1, align 4
%144 = mul nsw i32 2, %143
%145 = load i32, ptr %2, align 4
%146 = add nsw i32 %144, %145
%147 = sub nsw i32 %146, 1
%148 = sdiv i32 %147, 2
%149 = call i32 @hash(i32 noundef %148)
%150 = load i32, ptr %2, align 4
%151 = add nsw i32 %150, 1
%152 = sdiv i32 %151, 2
%153 = call i32 @hash(i32 noundef %152)
br label %154
154: ; preds = %132, %127
br label %155
155: ; preds = %154
%156 = load i32, ptr %2, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %2, align 4
br label %101, !llvm.loop !9
158: ; preds = %101
%159 = load i32, ptr %1, align 4
%160 = mul nsw i32 -2, %159
%161 = add nsw i32 %160, 201
store i32 %161, ptr %2, align 4
%162 = load i32, ptr %1, align 4
%163 = sub nsw i32 0, %162
%164 = add nsw i32 %163, 101
store i32 %164, ptr %4, align 4
%165 = call i32 @hash(i32 noundef 2)
%166 = call i32 @hash(i32 noundef 100)
%167 = load i32, ptr %1, align 4
%168 = sub nsw i32 0, %167
%169 = add nsw i32 %168, 101
%170 = call i32 @hash(i32 noundef %169)
br label %171
171: ; preds = %158
%172 = load i32, ptr %1, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %1, align 4
br label %93, !llvm.loop !10
174: ; preds = %93
%175 = call i32 @hash(i32 noundef 2)
%176 = call i32 @hash(i32 noundef 100)
%177 = call i32 @hash(i32 noundef 1)
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zuo_gw5.c"
target datalayout = "e-m:e-p270:32:32-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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @hash(i32 noundef 1)
%6 = call i32 @hash(i32 noundef 1)
%7 = call i32 @hash(i32 noundef 100)
store i32 -98, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = icmp sle i32 %8, 0
br i1 %9, label %.lr.ph2, label %94
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %89
%11 = load i32, ptr %1, align 4
%12 = mul nsw i32 -2, %11
%13 = add nsw i32 %12, 2
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %1, align 4
%15 = sub nsw i32 0, %14
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = call i32 @hash(i32 noundef 1)
%18 = call i32 @hash(i32 noundef 1)
%19 = load i32, ptr %1, align 4
%20 = sub nsw i32 0, %19
%21 = add nsw i32 %20, 1
%22 = call i32 @hash(i32 noundef %21)
%23 = load i32, ptr %1, align 4
%24 = mul nsw i32 -2, %23
%25 = add nsw i32 %24, 3
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %26, 199
br i1 %27, label %.lr.ph, label %81
.lr.ph: ; preds = %10
br label %28
28: ; preds = %.lr.ph, %76
%29 = load i32, ptr %2, align 4
%30 = srem i32 %29, 2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %48
32: ; preds = %28
%33 = load i32, ptr %1, align 4
%34 = mul nsw i32 2, %33
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %34, %35
%37 = sdiv i32 %36, 2
store i32 %37, ptr %3, align 4
%38 = call i32 @hash(i32 noundef 1)
%39 = load i32, ptr %1, align 4
%40 = mul nsw i32 2, %39
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %40, %41
%43 = sdiv i32 %42, 2
%44 = call i32 @hash(i32 noundef %43)
%45 = load i32, ptr %2, align 4
%46 = sdiv i32 %45, 2
%47 = call i32 @hash(i32 noundef %46)
br label %48
48: ; preds = %32, %28
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
%51 = srem i32 %50, 2
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %75
53: ; preds = %48
%54 = load i32, ptr %1, align 4
%55 = mul nsw i32 2, %54
%56 = load i32, ptr %2, align 4
%57 = add nsw i32 %55, %56
%58 = sub nsw i32 %57, 1
%59 = sdiv i32 %58, 2
store i32 %59, ptr %3, align 4
%60 = load i32, ptr %2, align 4
%61 = add nsw i32 %60, 1
%62 = sdiv i32 %61, 2
store i32 %62, ptr %4, align 4
%63 = call i32 @hash(i32 noundef 2)
%64 = load i32, ptr %1, align 4
%65 = mul nsw i32 2, %64
%66 = load i32, ptr %2, align 4
%67 = add nsw i32 %65, %66
%68 = sub nsw i32 %67, 1
%69 = sdiv i32 %68, 2
%70 = call i32 @hash(i32 noundef %69)
%71 = load i32, ptr %2, align 4
%72 = add nsw i32 %71, 1
%73 = sdiv i32 %72, 2
%74 = call i32 @hash(i32 noundef %73)
br label %75
75: ; preds = %53, %48
br label %76
76: ; preds = %75
%77 = load i32, ptr %2, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %2, align 4
%79 = load i32, ptr %2, align 4
%80 = icmp sle i32 %79, 199
br i1 %80, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %81
81: ; preds = %._crit_edge, %10
%82 = load i32, ptr %1, align 4
%83 = add nsw i32 %82, 100
store i32 %83, ptr %3, align 4
%84 = call i32 @hash(i32 noundef 1)
%85 = load i32, ptr %1, align 4
%86 = add nsw i32 %85, 100
%87 = call i32 @hash(i32 noundef %86)
%88 = call i32 @hash(i32 noundef 100)
br label %89
89: ; preds = %81
%90 = load i32, ptr %1, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %1, align 4
%92 = load i32, ptr %1, align 4
%93 = icmp sle i32 %92, 0
br i1 %93, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %89
br label %94
94: ; preds = %._crit_edge3, %0
store i32 1, ptr %1, align 4
%95 = load i32, ptr %1, align 4
%96 = icmp sle i32 %95, 99
br i1 %96, label %.lr.ph8, label %181
.lr.ph8: ; preds = %94
br label %97
97: ; preds = %.lr.ph8, %176
%98 = call i32 @hash(i32 noundef 2)
%99 = load i32, ptr %1, align 4
%100 = call i32 @hash(i32 noundef %99)
%101 = call i32 @hash(i32 noundef 1)
store i32 2, ptr %2, align 4
%102 = load i32, ptr %2, align 4
%103 = load i32, ptr %1, align 4
%104 = mul nsw i32 -2, %103
%105 = add nsw i32 %104, 200
%106 = icmp sle i32 %102, %105
br i1 %106, label %.lr.ph5, label %163
.lr.ph5: ; preds = %97
br label %107
107: ; preds = %.lr.ph5, %155
%108 = load i32, ptr %2, align 4
%109 = srem i32 %108, 2
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %127
111: ; preds = %107
%112 = load i32, ptr %1, align 4
%113 = mul nsw i32 2, %112
%114 = load i32, ptr %2, align 4
%115 = add nsw i32 %113, %114
%116 = sdiv i32 %115, 2
store i32 %116, ptr %3, align 4
%117 = call i32 @hash(i32 noundef 1)
%118 = load i32, ptr %1, align 4
%119 = mul nsw i32 2, %118
%120 = load i32, ptr %2, align 4
%121 = add nsw i32 %119, %120
%122 = sdiv i32 %121, 2
%123 = call i32 @hash(i32 noundef %122)
%124 = load i32, ptr %2, align 4
%125 = sdiv i32 %124, 2
%126 = call i32 @hash(i32 noundef %125)
br label %127
127: ; preds = %111, %107
%128 = load i32, ptr %2, align 4
%129 = add nsw i32 %128, 1
%130 = srem i32 %129, 2
%131 = icmp eq i32 %130, 0
br i1 %131, label %132, label %154
132: ; preds = %127
%133 = load i32, ptr %1, align 4
%134 = mul nsw i32 2, %133
%135 = load i32, ptr %2, align 4
%136 = add nsw i32 %134, %135
%137 = sub nsw i32 %136, 1
%138 = sdiv i32 %137, 2
store i32 %138, ptr %3, align 4
%139 = load i32, ptr %2, align 4
%140 = add nsw i32 %139, 1
%141 = sdiv i32 %140, 2
store i32 %141, ptr %4, align 4
%142 = call i32 @hash(i32 noundef 2)
%143 = load i32, ptr %1, align 4
%144 = mul nsw i32 2, %143
%145 = load i32, ptr %2, align 4
%146 = add nsw i32 %144, %145
%147 = sub nsw i32 %146, 1
%148 = sdiv i32 %147, 2
%149 = call i32 @hash(i32 noundef %148)
%150 = load i32, ptr %2, align 4
%151 = add nsw i32 %150, 1
%152 = sdiv i32 %151, 2
%153 = call i32 @hash(i32 noundef %152)
br label %154
154: ; preds = %132, %127
br label %155
155: ; preds = %154
%156 = load i32, ptr %2, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %2, align 4
%158 = load i32, ptr %2, align 4
%159 = load i32, ptr %1, align 4
%160 = mul nsw i32 -2, %159
%161 = add nsw i32 %160, 200
%162 = icmp sle i32 %158, %161
br i1 %162, label %107, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %155
br label %163
163: ; preds = %._crit_edge6, %97
%164 = load i32, ptr %1, align 4
%165 = mul nsw i32 -2, %164
%166 = add nsw i32 %165, 201
store i32 %166, ptr %2, align 4
%167 = load i32, ptr %1, align 4
%168 = sub nsw i32 0, %167
%169 = add nsw i32 %168, 101
store i32 %169, ptr %4, align 4
%170 = call i32 @hash(i32 noundef 2)
%171 = call i32 @hash(i32 noundef 100)
%172 = load i32, ptr %1, align 4
%173 = sub nsw i32 0, %172
%174 = add nsw i32 %173, 101
%175 = call i32 @hash(i32 noundef %174)
br label %176
176: ; preds = %163
%177 = load i32, ptr %1, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %1, align 4
%179 = load i32, ptr %1, align 4
%180 = icmp sle i32 %179, 99
br i1 %180, label %97, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %176
br label %181
181: ; preds = %._crit_edge9, %94
%182 = call i32 @hash(i32 noundef 2)
%183 = call i32 @hash(i32 noundef 100)
%184 = call i32 @hash(i32 noundef 1)
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpksz_ag52.c'
source_filename = "/tmp/tmpksz_ag52.c"
target datalayout = "e-m:e-p270:32:32-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 @wcstoimax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @__wcstoll_internal(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @__wcstoll_internal(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpksz_ag52.c"
target datalayout = "e-m:e-p270:32:32-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 @wcstoimax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @__wcstoll_internal(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @__wcstoll_internal(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8nopqndz.c'
source_filename = "/tmp/tmp8nopqndz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@COLS = dso_local global i32 0, align 4
@LINES = 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/tmp8nopqndz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@COLS = dso_local global i32 0, align 4
@LINES = 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/tmpryrvtwan.c'
source_filename = "/tmp/tmpryrvtwan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"the original dip array\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"the dip array after calling mult_array()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x double], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false)
%3 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 0
store double 2.000000e+01, ptr %3, align 16
%4 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 1
store double 1.766000e+01, ptr %4, align 8
%5 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 2
store double 0x4020666666666666, ptr %5, align 16
%6 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 3
store double 1.530000e+01, ptr %6, align 8
%7 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 4
store double 2.222000e+01, ptr %7, align 16
%8 = call i32 @printf(ptr noundef @.str)
%9 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0
%10 = call i32 @show_array(ptr noundef %9, i32 noundef 5)
%11 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0
%12 = call i32 @mult_array(ptr noundef %11, i32 noundef 5, double noundef 2.500000e+00)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0
%15 = call i32 @show_array(ptr noundef %14, i32 noundef 5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @show_array(ptr noundef, i32 noundef) #2
declare i32 @mult_array(ptr noundef, i32 noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpryrvtwan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"the original dip array\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"the dip array after calling mult_array()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x double], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false)
%3 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 0
store double 2.000000e+01, ptr %3, align 16
%4 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 1
store double 1.766000e+01, ptr %4, align 8
%5 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 2
store double 0x4020666666666666, ptr %5, align 16
%6 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 3
store double 1.530000e+01, ptr %6, align 8
%7 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 4
store double 2.222000e+01, ptr %7, align 16
%8 = call i32 @printf(ptr noundef @.str)
%9 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0
%10 = call i32 @show_array(ptr noundef %9, i32 noundef 5)
%11 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0
%12 = call i32 @mult_array(ptr noundef %11, i32 noundef 5, double noundef 2.500000e+00)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0
%15 = call i32 @show_array(ptr noundef %14, i32 noundef 5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @show_array(ptr noundef, i32 noundef) #2
declare i32 @mult_array(ptr noundef, i32 noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy7192i79.c'
source_filename = "/tmp/tmpy7192i79.c"
target datalayout = "e-m:e-p270: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/tmpy7192i79.c"
target datalayout = "e-m:e-p270: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/tmpwa2qsiwz.c'
source_filename = "/tmp/tmpwa2qsiwz.c"
target datalayout = "e-m:e-p270: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 [171 x i8] c"/bin/sh -c \22 ssh -o \22KbdInteractiveDevices=none\22 -o \22HostbasedAuthentication=no\22 -o \22PasswordAuthentication=no\22 -o \22PubkeyAuthentication=yes\22 %s 'exit 0' &> /dev/null \22 \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 @carmen_commander_accepts_pkauth(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 450, %7
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = call i32 @system(ptr noundef %11)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str.1, i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %20)
ret i32 %19
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @system(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwa2qsiwz.c"
target datalayout = "e-m:e-p270: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 [171 x i8] c"/bin/sh -c \22 ssh -o \22KbdInteractiveDevices=none\22 -o \22HostbasedAuthentication=no\22 -o \22PasswordAuthentication=no\22 -o \22PubkeyAuthentication=yes\22 %s 'exit 0' &> /dev/null \22 \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 @carmen_commander_accepts_pkauth(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 450, %7
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = call i32 @system(ptr noundef %11)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str.1, i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %20)
ret i32 %19
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @system(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt928_ts9.c'
source_filename = "/tmp/tmpt928_ts9.c"
target datalayout = "e-m:e-p270:32:32-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 @changeI(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @dxl_write_byte(i32 noundef %5, i32 noundef 27, i32 noundef %6)
%8 = call i32 (...) @PrintErrorCode()
ret void
}
declare i32 @dxl_write_byte(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt928_ts9.c"
target datalayout = "e-m:e-p270:32:32-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 @changeI(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @dxl_write_byte(i32 noundef %5, i32 noundef 27, i32 noundef %6)
%8 = call i32 (...) @PrintErrorCode()
ret void
}
declare i32 @dxl_write_byte(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @PrintErrorCode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp14t4mblm.c'
source_filename = "/tmp/tmp14t4mblm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@PTRACE_TRACEME = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp14t4mblm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@PTRACE_TRACEME = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_2aoz8wb.c'
source_filename = "/tmp/tmp_2aoz8wb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @mnistTest()
ret i32 0
}
declare i32 @mnistTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_2aoz8wb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @mnistTest()
ret i32 0
}
declare i32 @mnistTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppgyiqe6q.c'
source_filename = "/tmp/tmppgyiqe6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppgyiqe6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpquyrd6o3.c'
source_filename = "/tmp/tmpquyrd6o3.c"
target datalayout = "e-m:e-p270: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/tmpquyrd6o3.c"
target datalayout = "e-m:e-p270: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/tmpwvpnag6p.c'
source_filename = "/tmp/tmpwvpnag6p.c"
target datalayout = "e-m:e-p270: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"+%0.f%c\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"-%0.f%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_status() #0 {
%1 = alloca ptr, align 8
%2 = alloca i8, align 1
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = call signext i8 (...) @get_ac_status()
store i8 %5, ptr %2, align 1
%6 = call float (...) @get_num_status()
store float %6, ptr %3, align 4
%7 = call float (...) @get_dem_status()
store float %7, ptr %4, align 4
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 49
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = load float, ptr %3, align 4
%13 = fmul float %12, 1.000000e+02
%14 = load float, ptr %4, align 4
%15 = fdiv float %13, %14
%16 = call ptr @smprintf(ptr noundef @.str, float noundef %15, i32 noundef 37)
store ptr %16, ptr %1, align 8
br label %23
17: ; preds = %0
%18 = load float, ptr %3, align 4
%19 = fmul float %18, 1.000000e+02
%20 = load float, ptr %4, align 4
%21 = fdiv float %19, %20
%22 = call ptr @smprintf(ptr noundef @.str.1, float noundef %21, i32 noundef 37)
store ptr %22, ptr %1, align 8
br label %23
23: ; preds = %17, %11
%24 = load ptr, ptr %1, align 8
ret ptr %24
}
declare signext i8 @get_ac_status(...) #1
declare float @get_num_status(...) #1
declare float @get_dem_status(...) #1
declare ptr @smprintf(ptr noundef, float 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/tmpwvpnag6p.c"
target datalayout = "e-m:e-p270: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"+%0.f%c\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"-%0.f%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_status() #0 {
%1 = alloca ptr, align 8
%2 = alloca i8, align 1
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = call signext i8 (...) @get_ac_status()
store i8 %5, ptr %2, align 1
%6 = call float (...) @get_num_status()
store float %6, ptr %3, align 4
%7 = call float (...) @get_dem_status()
store float %7, ptr %4, align 4
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 49
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = load float, ptr %3, align 4
%13 = fmul float %12, 1.000000e+02
%14 = load float, ptr %4, align 4
%15 = fdiv float %13, %14
%16 = call ptr @smprintf(ptr noundef @.str, float noundef %15, i32 noundef 37)
store ptr %16, ptr %1, align 8
br label %23
17: ; preds = %0
%18 = load float, ptr %3, align 4
%19 = fmul float %18, 1.000000e+02
%20 = load float, ptr %4, align 4
%21 = fdiv float %19, %20
%22 = call ptr @smprintf(ptr noundef @.str.1, float noundef %21, i32 noundef 37)
store ptr %22, ptr %1, align 8
br label %23
23: ; preds = %17, %11
%24 = load ptr, ptr %1, align 8
ret ptr %24
}
declare signext i8 @get_ac_status(...) #1
declare float @get_num_status(...) #1
declare float @get_dem_status(...) #1
declare ptr @smprintf(ptr noundef, float 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/tmp72a76u8p.c'
source_filename = "/tmp/tmp72a76u8p.c"
target datalayout = "e-m:e-p270:32:32-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 @timer_tick() #0 {
%1 = call i32 @GET32(i32 noundef 536917024)
ret i32 %1
}
declare i32 @GET32(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/tmp72a76u8p.c"
target datalayout = "e-m:e-p270:32:32-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 @timer_tick() #0 {
%1 = call i32 @GET32(i32 noundef 536917024)
ret i32 %1
}
declare i32 @GET32(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/tmpb3pvqoys.c'
source_filename = "/tmp/tmpb3pvqoys.c"
target datalayout = "e-m:e-p270:32:32-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 @draw_line() #0 {
%1 = call i32 @DrawLine(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 271, i32 noundef 0)
%2 = call i32 @DrawLine(i32 noundef 0, i32 noundef 0, i32 noundef 479, i32 noundef 0, i32 noundef 1)
%3 = call i32 @DrawLine(i32 noundef 0, i32 noundef 0, i32 noundef 479, i32 noundef 271, i32 noundef 2)
%4 = call i32 @DrawLine(i32 noundef 0, i32 noundef 271, i32 noundef 479, i32 noundef 0, i32 noundef 3)
%5 = call i32 @DrawLine(i32 noundef 0, i32 noundef 271, i32 noundef 479, i32 noundef 271, i32 noundef 1)
%6 = call i32 @DrawLine(i32 noundef 479, i32 noundef 271, i32 noundef 479, i32 noundef 0, i32 noundef 2)
%7 = call i32 @DrawLine(i32 noundef 0, i32 noundef 136, i32 noundef 479, i32 noundef 136, i32 noundef 3)
%8 = call i32 @DrawLine(i32 noundef 240, i32 noundef 0, i32 noundef 240, i32 noundef 271, i32 noundef 1)
ret void
}
declare i32 @DrawLine(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb3pvqoys.c"
target datalayout = "e-m:e-p270:32:32-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 @draw_line() #0 {
%1 = call i32 @DrawLine(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 271, i32 noundef 0)
%2 = call i32 @DrawLine(i32 noundef 0, i32 noundef 0, i32 noundef 479, i32 noundef 0, i32 noundef 1)
%3 = call i32 @DrawLine(i32 noundef 0, i32 noundef 0, i32 noundef 479, i32 noundef 271, i32 noundef 2)
%4 = call i32 @DrawLine(i32 noundef 0, i32 noundef 271, i32 noundef 479, i32 noundef 0, i32 noundef 3)
%5 = call i32 @DrawLine(i32 noundef 0, i32 noundef 271, i32 noundef 479, i32 noundef 271, i32 noundef 1)
%6 = call i32 @DrawLine(i32 noundef 479, i32 noundef 271, i32 noundef 479, i32 noundef 0, i32 noundef 2)
%7 = call i32 @DrawLine(i32 noundef 0, i32 noundef 136, i32 noundef 479, i32 noundef 136, i32 noundef 3)
%8 = call i32 @DrawLine(i32 noundef 240, i32 noundef 0, i32 noundef 240, i32 noundef 271, i32 noundef 1)
ret void
}
declare i32 @DrawLine(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgx6smnx7.c'
source_filename = "/tmp/tmpgx6smnx7.c"
target datalayout = "e-m:e-p270:32:32-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 @HO_deriv_68(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 1.250000e+00) #3
%8 = fmul double 0xB644EC498C2BB425, %7
%9 = load double, ptr %3, align 8
%10 = call double @pow(double noundef %9, double noundef 3.100000e+01) #3
%11 = fmul double 0xC1AD1FEAD8000000, %10
%12 = load double, ptr %4, align 8
%13 = call double @pow(double noundef %12, double noundef 6.200000e+01) #3
%14 = load double, ptr %3, align 8
%15 = call double @pow(double noundef %14, double noundef 2.100000e+01) #3
%16 = fmul double 0x45BE273F6FB51FF2, %15
%17 = load double, ptr %4, align 8
%18 = call double @pow(double noundef %17, double noundef 4.200000e+01) #3
%19 = fmul double %16, %18
%20 = fneg double %19
%21 = call double @llvm.fmuladd.f64(double %11, double %13, double %20)
%22 = load double, ptr %3, align 8
%23 = call double @pow(double noundef %22, double noundef 3.300000e+01) #3
%24 = fmul double 1.207000e+03, %23
%25 = load double, ptr %4, align 8
%26 = call double @pow(double noundef %25, double noundef 6.600000e+01) #3
%27 = fneg double %24
%28 = call double @llvm.fmuladd.f64(double %27, double %26, double %21)
%29 = load double, ptr %3, align 8
%30 = call double @pow(double noundef %29, double noundef 2.500000e+01) #3
%31 = fmul double 0x4453D149651A9CD2, %30
%32 = load double, ptr %4, align 8
%33 = call double @pow(double noundef %32, double noundef 5.000000e+01) #3
%34 = fneg double %31
%35 = call double @llvm.fmuladd.f64(double %34, double %33, double %28)
%36 = load double, ptr %3, align 8
%37 = call double @pow(double noundef %36, double noundef 3.000000e+01) #3
%38 = fmul double 0x422C83A9D8DD0000, %37
%39 = load double, ptr %4, align 8
%40 = call double @pow(double noundef %39, double noundef 6.000000e+01) #3
%41 = call double @llvm.fmuladd.f64(double %38, double %40, double %35)
%42 = load double, ptr %3, align 8
%43 = call double @pow(double noundef %42, double noundef 2.000000e+01) #3
%44 = fmul double 0x460F0755A2C2C863, %43
%45 = load double, ptr %4, align 8
%46 = call double @pow(double noundef %45, double noundef 4.000000e+01) #3
%47 = call double @llvm.fmuladd.f64(double %44, double %46, double %41)
%48 = fadd double %47, 0x4826EAD88AFD2662
%49 = load double, ptr %3, align 8
%50 = call double @pow(double noundef %49, double noundef 2.800000e+01) #3
%51 = fmul double 0x4317E295FD6B7D0A, %50
%52 = load double, ptr %4, align 8
%53 = call double @pow(double noundef %52, double noundef 5.600000e+01) #3
%54 = call double @llvm.fmuladd.f64(double %51, double %53, double %48)
%55 = load double, ptr %3, align 8
%56 = call double @pow(double noundef %55, double noundef 1.900000e+01) #3
%57 = fmul double 0x465B0CD3BA43359F, %56
%58 = load double, ptr %4, align 8
%59 = call double @pow(double noundef %58, double noundef 3.800000e+01) #3
%60 = fneg double %57
%61 = call double @llvm.fmuladd.f64(double %60, double %59, double %54)
%62 = load double, ptr %3, align 8
%63 = call double @pow(double noundef %62, double noundef 3.200000e+01) #3
%64 = fmul double 0x4124EF1580000000, %63
%65 = load double, ptr %4, align 8
%66 = call double @pow(double noundef %65, double noundef 6.400000e+01) #3
%67 = call double @llvm.fmuladd.f64(double %64, double %66, double %61)
%68 = load double, ptr %3, align 8
%69 = call double @pow(double noundef %68, double noundef 2.300000e+01) #3
%70 = fmul double 0x45113EDAD600203F, %69
%71 = load double, ptr %4, align 8
%72 = call double @pow(double noundef %71, double noundef 4.600000e+01) #3
%73 = fneg double %70
%74 = call double @llvm.fmuladd.f64(double %73, double %72, double %67)
%75 = load double, ptr %3, align 8
%76 = call double @pow(double noundef %75, double noundef 2.700000e+01) #3
%77 = fmul double 0x4385CC44704FDF98, %76
%78 = load double, ptr %4, align 8
%79 = call double @pow(double noundef %78, double noundef 5.400000e+01) #3
%80 = fneg double %77
%81 = call double @llvm.fmuladd.f64(double %80, double %79, double %74)
%82 = load double, ptr %3, align 8
%83 = call double @pow(double noundef %82, double noundef 1.200000e+01) #3
%84 = fmul double 0x48057B23D62536AF, %83
%85 = load double, ptr %4, align 8
%86 = call double @pow(double noundef %85, double noundef 2.400000e+01) #3
%87 = call double @llvm.fmuladd.f64(double %84, double %86, double %81)
%88 = load double, ptr %3, align 8
%89 = call double @pow(double noundef %88, double noundef 9.000000e+00) #3
%90 = fmul double 0x487983FCB4E99D54, %89
%91 = load double, ptr %4, align 8
%92 = call double @pow(double noundef %91, double noundef 1.800000e+01) #3
%93 = fneg double %90
%94 = call double @llvm.fmuladd.f64(double %93, double %92, double %87)
%95 = load double, ptr %3, align 8
%96 = call double @pow(double noundef %95, double noundef 8.000000e+00) #3
%97 = fmul double 0x4895544CCD62701A, %96
%98 = load double, ptr %4, align 8
%99 = call double @pow(double noundef %98, double noundef 1.600000e+01) #3
%100 = call double @llvm.fmuladd.f64(double %97, double %99, double %94)
%101 = load double, ptr %3, align 8
%102 = call double @pow(double noundef %101, double noundef 2.200000e+01) #3
%103 = fmul double 0x4568CEB66B499C1A, %102
%104 = load double, ptr %4, align 8
%105 = call double @pow(double noundef %104, double noundef 4.400000e+01) #3
%106 = call double @llvm.fmuladd.f64(double %103, double %105, double %100)
%107 = load double, ptr %3, align 8
%108 = call double @pow(double noundef %107, double noundef 1.300000e+01) #3
%109 = fmul double 0x47D529332932A89D, %108
%110 = load double, ptr %4, align 8
%111 = call double @pow(double noundef %110, double noundef 2.600000e+01) #3
%112 = fneg double %109
%113 = call double @llvm.fmuladd.f64(double %112, double %111, double %106)
%114 = load double, ptr %3, align 8
%115 = call double @pow(double noundef %114, double noundef 1.600000e+01) #3
%116 = fmul double 0x472A414428F77033, %115
%117 = load double, ptr %4, align 8
%118 = call double @pow(double noundef %117, double noundef 3.200000e+01) #3
%119 = call double @llvm.fmuladd.f64(double %116, double %118, double %113)
%120 = load double, ptr %3, align 8
%121 = call double @pow(double noundef %120, double noundef 2.600000e+01) #3
%122 = fmul double 0x43F02FBD0E336246, %121
%123 = load double, ptr %4, align 8
%124 = call double @pow(double noundef %123, double noundef 5.200000e+01) #3
%125 = call double @llvm.fmuladd.f64(double %122, double %124, double %119)
%126 = load double, ptr %3, align 8
%127 = call double @pow(double noundef %126, double noundef 1.700000e+01) #3
%128 = fmul double 0x46E8EEB39DC360F9, %127
%129 = load double, ptr %4, align 8
%130 = call double @pow(double noundef %129, double noundef 3.400000e+01) #3
%131 = fneg double %128
%132 = call double @llvm.fmuladd.f64(double %131, double %130, double %125)
%133 = load double, ptr %3, align 8
%134 = call double @pow(double noundef %133, double noundef 3.400000e+01) #3
%135 = load double, ptr %4, align 8
%136 = call double @pow(double noundef %135, double noundef 6.800000e+01) #3
%137 = call double @llvm.fmuladd.f64(double %134, double %136, double %132)
%138 = load double, ptr %3, align 8
%139 = call double @pow(double noundef %138, double noundef 1.800000e+01) #3
%140 = fmul double 0x46A3F843DA8BE7C7, %139
%141 = load double, ptr %4, align 8
%142 = call double @pow(double noundef %141, double noundef 3.600000e+01) #3
%143 = call double @llvm.fmuladd.f64(double %140, double %142, double %137)
%144 = load double, ptr %3, align 8
%145 = call double @pow(double noundef %144, double noundef 1.500000e+01) #3
%146 = fmul double 0x47673C116550008D, %145
%147 = load double, ptr %4, align 8
%148 = call double @pow(double noundef %147, double noundef 3.000000e+01) #3
%149 = fneg double %146
%150 = call double @llvm.fmuladd.f64(double %149, double %148, double %143)
%151 = load double, ptr %3, align 8
%152 = call double @pow(double noundef %151, double noundef 1.000000e+01) #3
%153 = fmul double 0x4857E462F28B761F, %152
%154 = load double, ptr %4, align 8
%155 = call double @pow(double noundef %154, double noundef 2.000000e+01) #3
%156 = call double @llvm.fmuladd.f64(double %153, double %155, double %150)
%157 = load double, ptr %3, align 8
%158 = call double @pow(double noundef %157, double noundef 2.400000e+01) #3
%159 = fmul double 0x44B431A410936DA9, %158
%160 = load double, ptr %4, align 8
%161 = call double @pow(double noundef %160, double noundef 4.800000e+01) #3
%162 = call double @llvm.fmuladd.f64(double %159, double %161, double %156)
%163 = load double, ptr %3, align 8
%164 = call double @pow(double noundef %163, double noundef 7.000000e+00) #3
%165 = fmul double 0x48AB4D95CB6EBA48, %164
%166 = load double, ptr %4, align 8
%167 = call double @pow(double noundef %166, double noundef 1.400000e+01) #3
%168 = fneg double %165
%169 = call double @llvm.fmuladd.f64(double %168, double %167, double %162)
%170 = load double, ptr %3, align 8
%171 = call double @pow(double noundef %170, double noundef 1.100000e+01) #3
%172 = fmul double 0x4831D256EF663CA9, %171
%173 = load double, ptr %4, align 8
%174 = call double @pow(double noundef %173, double noundef 2.200000e+01) #3
%175 = fneg double %172
%176 = call double @llvm.fmuladd.f64(double %175, double %174, double %169)
%177 = load double, ptr %3, align 8
%178 = call double @pow(double noundef %177, double noundef 1.400000e+01) #3
%179 = fmul double 0x47A1326BE7442101, %178
%180 = load double, ptr %4, align 8
%181 = call double @pow(double noundef %180, double noundef 2.800000e+01) #3
%182 = call double @llvm.fmuladd.f64(double %179, double %181, double %176)
%183 = load double, ptr %3, align 8
%184 = call double @pow(double noundef %183, double noundef 5.000000e+00) #3
%185 = fmul double 0x48C1C57086241BBD, %184
%186 = load double, ptr %4, align 8
%187 = call double @pow(double noundef %186, double noundef 1.000000e+01) #3
%188 = fneg double %185
%189 = call double @llvm.fmuladd.f64(double %188, double %187, double %182)
%190 = load double, ptr %3, align 8
%191 = call double @pow(double noundef %190, double noundef 4.000000e+00) #3
%192 = fmul double 0x48C08BFE70CDF78F, %191
%193 = load double, ptr %4, align 8
%194 = call double @pow(double noundef %193, double noundef 8.000000e+00) #3
%195 = call double @llvm.fmuladd.f64(double %192, double %194, double %189)
%196 = load double, ptr %3, align 8
%197 = call double @pow(double noundef %196, double noundef 3.000000e+00) #3
%198 = fmul double 0x48B3837C562B8CCE, %197
%199 = load double, ptr %4, align 8
%200 = call double @pow(double noundef %199, double noundef 6.000000e+00) #3
%201 = fneg double %198
%202 = call double @llvm.fmuladd.f64(double %201, double %200, double %195)
%203 = load double, ptr %3, align 8
%204 = fmul double 0x489A00ACE3AE1006, %203
%205 = load double, ptr %3, align 8
%206 = fmul double %204, %205
%207 = load double, ptr %4, align 8
%208 = call double @pow(double noundef %207, double noundef 4.000000e+00) #3
%209 = call double @llvm.fmuladd.f64(double %206, double %208, double %202)
%210 = load double, ptr %3, align 8
%211 = fmul double 0x486FFE07FBF4146A, %210
%212 = load double, ptr %4, align 8
%213 = fmul double %211, %212
%214 = load double, ptr %4, align 8
%215 = fneg double %213
%216 = call double @llvm.fmuladd.f64(double %215, double %214, double %209)
%217 = load double, ptr %3, align 8
%218 = call double @pow(double noundef %217, double noundef 6.000000e+00) #3
%219 = fmul double 0x48BA0348DCBEF562, %218
%220 = load double, ptr %4, align 8
%221 = call double @pow(double noundef %220, double noundef 1.200000e+01) #3
%222 = call double @llvm.fmuladd.f64(double %219, double %221, double %216)
%223 = load double, ptr %3, align 8
%224 = call double @pow(double noundef %223, double noundef 2.900000e+01) #3
%225 = fmul double 0x42A4E9A7840CC900, %224
%226 = load double, ptr %4, align 8
%227 = call double @pow(double noundef %226, double noundef 5.800000e+01) #3
%228 = fneg double %225
%229 = call double @llvm.fmuladd.f64(double %228, double %227, double %222)
%230 = fmul double %8, %229
%231 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%232 = fmul double %230, %231
%233 = call double @sqrt(double noundef 0x43801DF06D696F80) #3
%234 = fmul double %232, %233
%235 = load double, ptr %4, align 8
%236 = fmul double %234, %235
%237 = load double, ptr %3, align 8
%238 = fneg double %237
%239 = load double, ptr %4, align 8
%240 = fmul double %238, %239
%241 = load double, ptr %4, align 8
%242 = fmul double %240, %241
%243 = fdiv double %242, 2.000000e+00
%244 = call double @exp(double noundef %243) #3
%245 = fmul double %236, %244
store double %245, ptr %5, align 8
%246 = load double, ptr %5, align 8
ret double %246
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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/tmpgx6smnx7.c"
target datalayout = "e-m:e-p270:32:32-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 @HO_deriv_68(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 1.250000e+00) #3
%8 = fmul double 0xB644EC498C2BB425, %7
%9 = load double, ptr %3, align 8
%10 = call double @pow(double noundef %9, double noundef 3.100000e+01) #3
%11 = fmul double 0xC1AD1FEAD8000000, %10
%12 = load double, ptr %4, align 8
%13 = call double @pow(double noundef %12, double noundef 6.200000e+01) #3
%14 = load double, ptr %3, align 8
%15 = call double @pow(double noundef %14, double noundef 2.100000e+01) #3
%16 = fmul double 0x45BE273F6FB51FF2, %15
%17 = load double, ptr %4, align 8
%18 = call double @pow(double noundef %17, double noundef 4.200000e+01) #3
%19 = fmul double %16, %18
%20 = fneg double %19
%21 = call double @llvm.fmuladd.f64(double %11, double %13, double %20)
%22 = load double, ptr %3, align 8
%23 = call double @pow(double noundef %22, double noundef 3.300000e+01) #3
%24 = fmul double 1.207000e+03, %23
%25 = load double, ptr %4, align 8
%26 = call double @pow(double noundef %25, double noundef 6.600000e+01) #3
%27 = fneg double %24
%28 = call double @llvm.fmuladd.f64(double %27, double %26, double %21)
%29 = load double, ptr %3, align 8
%30 = call double @pow(double noundef %29, double noundef 2.500000e+01) #3
%31 = fmul double 0x4453D149651A9CD2, %30
%32 = load double, ptr %4, align 8
%33 = call double @pow(double noundef %32, double noundef 5.000000e+01) #3
%34 = fneg double %31
%35 = call double @llvm.fmuladd.f64(double %34, double %33, double %28)
%36 = load double, ptr %3, align 8
%37 = call double @pow(double noundef %36, double noundef 3.000000e+01) #3
%38 = fmul double 0x422C83A9D8DD0000, %37
%39 = load double, ptr %4, align 8
%40 = call double @pow(double noundef %39, double noundef 6.000000e+01) #3
%41 = call double @llvm.fmuladd.f64(double %38, double %40, double %35)
%42 = load double, ptr %3, align 8
%43 = call double @pow(double noundef %42, double noundef 2.000000e+01) #3
%44 = fmul double 0x460F0755A2C2C863, %43
%45 = load double, ptr %4, align 8
%46 = call double @pow(double noundef %45, double noundef 4.000000e+01) #3
%47 = call double @llvm.fmuladd.f64(double %44, double %46, double %41)
%48 = fadd double %47, 0x4826EAD88AFD2662
%49 = load double, ptr %3, align 8
%50 = call double @pow(double noundef %49, double noundef 2.800000e+01) #3
%51 = fmul double 0x4317E295FD6B7D0A, %50
%52 = load double, ptr %4, align 8
%53 = call double @pow(double noundef %52, double noundef 5.600000e+01) #3
%54 = call double @llvm.fmuladd.f64(double %51, double %53, double %48)
%55 = load double, ptr %3, align 8
%56 = call double @pow(double noundef %55, double noundef 1.900000e+01) #3
%57 = fmul double 0x465B0CD3BA43359F, %56
%58 = load double, ptr %4, align 8
%59 = call double @pow(double noundef %58, double noundef 3.800000e+01) #3
%60 = fneg double %57
%61 = call double @llvm.fmuladd.f64(double %60, double %59, double %54)
%62 = load double, ptr %3, align 8
%63 = call double @pow(double noundef %62, double noundef 3.200000e+01) #3
%64 = fmul double 0x4124EF1580000000, %63
%65 = load double, ptr %4, align 8
%66 = call double @pow(double noundef %65, double noundef 6.400000e+01) #3
%67 = call double @llvm.fmuladd.f64(double %64, double %66, double %61)
%68 = load double, ptr %3, align 8
%69 = call double @pow(double noundef %68, double noundef 2.300000e+01) #3
%70 = fmul double 0x45113EDAD600203F, %69
%71 = load double, ptr %4, align 8
%72 = call double @pow(double noundef %71, double noundef 4.600000e+01) #3
%73 = fneg double %70
%74 = call double @llvm.fmuladd.f64(double %73, double %72, double %67)
%75 = load double, ptr %3, align 8
%76 = call double @pow(double noundef %75, double noundef 2.700000e+01) #3
%77 = fmul double 0x4385CC44704FDF98, %76
%78 = load double, ptr %4, align 8
%79 = call double @pow(double noundef %78, double noundef 5.400000e+01) #3
%80 = fneg double %77
%81 = call double @llvm.fmuladd.f64(double %80, double %79, double %74)
%82 = load double, ptr %3, align 8
%83 = call double @pow(double noundef %82, double noundef 1.200000e+01) #3
%84 = fmul double 0x48057B23D62536AF, %83
%85 = load double, ptr %4, align 8
%86 = call double @pow(double noundef %85, double noundef 2.400000e+01) #3
%87 = call double @llvm.fmuladd.f64(double %84, double %86, double %81)
%88 = load double, ptr %3, align 8
%89 = call double @pow(double noundef %88, double noundef 9.000000e+00) #3
%90 = fmul double 0x487983FCB4E99D54, %89
%91 = load double, ptr %4, align 8
%92 = call double @pow(double noundef %91, double noundef 1.800000e+01) #3
%93 = fneg double %90
%94 = call double @llvm.fmuladd.f64(double %93, double %92, double %87)
%95 = load double, ptr %3, align 8
%96 = call double @pow(double noundef %95, double noundef 8.000000e+00) #3
%97 = fmul double 0x4895544CCD62701A, %96
%98 = load double, ptr %4, align 8
%99 = call double @pow(double noundef %98, double noundef 1.600000e+01) #3
%100 = call double @llvm.fmuladd.f64(double %97, double %99, double %94)
%101 = load double, ptr %3, align 8
%102 = call double @pow(double noundef %101, double noundef 2.200000e+01) #3
%103 = fmul double 0x4568CEB66B499C1A, %102
%104 = load double, ptr %4, align 8
%105 = call double @pow(double noundef %104, double noundef 4.400000e+01) #3
%106 = call double @llvm.fmuladd.f64(double %103, double %105, double %100)
%107 = load double, ptr %3, align 8
%108 = call double @pow(double noundef %107, double noundef 1.300000e+01) #3
%109 = fmul double 0x47D529332932A89D, %108
%110 = load double, ptr %4, align 8
%111 = call double @pow(double noundef %110, double noundef 2.600000e+01) #3
%112 = fneg double %109
%113 = call double @llvm.fmuladd.f64(double %112, double %111, double %106)
%114 = load double, ptr %3, align 8
%115 = call double @pow(double noundef %114, double noundef 1.600000e+01) #3
%116 = fmul double 0x472A414428F77033, %115
%117 = load double, ptr %4, align 8
%118 = call double @pow(double noundef %117, double noundef 3.200000e+01) #3
%119 = call double @llvm.fmuladd.f64(double %116, double %118, double %113)
%120 = load double, ptr %3, align 8
%121 = call double @pow(double noundef %120, double noundef 2.600000e+01) #3
%122 = fmul double 0x43F02FBD0E336246, %121
%123 = load double, ptr %4, align 8
%124 = call double @pow(double noundef %123, double noundef 5.200000e+01) #3
%125 = call double @llvm.fmuladd.f64(double %122, double %124, double %119)
%126 = load double, ptr %3, align 8
%127 = call double @pow(double noundef %126, double noundef 1.700000e+01) #3
%128 = fmul double 0x46E8EEB39DC360F9, %127
%129 = load double, ptr %4, align 8
%130 = call double @pow(double noundef %129, double noundef 3.400000e+01) #3
%131 = fneg double %128
%132 = call double @llvm.fmuladd.f64(double %131, double %130, double %125)
%133 = load double, ptr %3, align 8
%134 = call double @pow(double noundef %133, double noundef 3.400000e+01) #3
%135 = load double, ptr %4, align 8
%136 = call double @pow(double noundef %135, double noundef 6.800000e+01) #3
%137 = call double @llvm.fmuladd.f64(double %134, double %136, double %132)
%138 = load double, ptr %3, align 8
%139 = call double @pow(double noundef %138, double noundef 1.800000e+01) #3
%140 = fmul double 0x46A3F843DA8BE7C7, %139
%141 = load double, ptr %4, align 8
%142 = call double @pow(double noundef %141, double noundef 3.600000e+01) #3
%143 = call double @llvm.fmuladd.f64(double %140, double %142, double %137)
%144 = load double, ptr %3, align 8
%145 = call double @pow(double noundef %144, double noundef 1.500000e+01) #3
%146 = fmul double 0x47673C116550008D, %145
%147 = load double, ptr %4, align 8
%148 = call double @pow(double noundef %147, double noundef 3.000000e+01) #3
%149 = fneg double %146
%150 = call double @llvm.fmuladd.f64(double %149, double %148, double %143)
%151 = load double, ptr %3, align 8
%152 = call double @pow(double noundef %151, double noundef 1.000000e+01) #3
%153 = fmul double 0x4857E462F28B761F, %152
%154 = load double, ptr %4, align 8
%155 = call double @pow(double noundef %154, double noundef 2.000000e+01) #3
%156 = call double @llvm.fmuladd.f64(double %153, double %155, double %150)
%157 = load double, ptr %3, align 8
%158 = call double @pow(double noundef %157, double noundef 2.400000e+01) #3
%159 = fmul double 0x44B431A410936DA9, %158
%160 = load double, ptr %4, align 8
%161 = call double @pow(double noundef %160, double noundef 4.800000e+01) #3
%162 = call double @llvm.fmuladd.f64(double %159, double %161, double %156)
%163 = load double, ptr %3, align 8
%164 = call double @pow(double noundef %163, double noundef 7.000000e+00) #3
%165 = fmul double 0x48AB4D95CB6EBA48, %164
%166 = load double, ptr %4, align 8
%167 = call double @pow(double noundef %166, double noundef 1.400000e+01) #3
%168 = fneg double %165
%169 = call double @llvm.fmuladd.f64(double %168, double %167, double %162)
%170 = load double, ptr %3, align 8
%171 = call double @pow(double noundef %170, double noundef 1.100000e+01) #3
%172 = fmul double 0x4831D256EF663CA9, %171
%173 = load double, ptr %4, align 8
%174 = call double @pow(double noundef %173, double noundef 2.200000e+01) #3
%175 = fneg double %172
%176 = call double @llvm.fmuladd.f64(double %175, double %174, double %169)
%177 = load double, ptr %3, align 8
%178 = call double @pow(double noundef %177, double noundef 1.400000e+01) #3
%179 = fmul double 0x47A1326BE7442101, %178
%180 = load double, ptr %4, align 8
%181 = call double @pow(double noundef %180, double noundef 2.800000e+01) #3
%182 = call double @llvm.fmuladd.f64(double %179, double %181, double %176)
%183 = load double, ptr %3, align 8
%184 = call double @pow(double noundef %183, double noundef 5.000000e+00) #3
%185 = fmul double 0x48C1C57086241BBD, %184
%186 = load double, ptr %4, align 8
%187 = call double @pow(double noundef %186, double noundef 1.000000e+01) #3
%188 = fneg double %185
%189 = call double @llvm.fmuladd.f64(double %188, double %187, double %182)
%190 = load double, ptr %3, align 8
%191 = call double @pow(double noundef %190, double noundef 4.000000e+00) #3
%192 = fmul double 0x48C08BFE70CDF78F, %191
%193 = load double, ptr %4, align 8
%194 = call double @pow(double noundef %193, double noundef 8.000000e+00) #3
%195 = call double @llvm.fmuladd.f64(double %192, double %194, double %189)
%196 = load double, ptr %3, align 8
%197 = call double @pow(double noundef %196, double noundef 3.000000e+00) #3
%198 = fmul double 0x48B3837C562B8CCE, %197
%199 = load double, ptr %4, align 8
%200 = call double @pow(double noundef %199, double noundef 6.000000e+00) #3
%201 = fneg double %198
%202 = call double @llvm.fmuladd.f64(double %201, double %200, double %195)
%203 = load double, ptr %3, align 8
%204 = fmul double 0x489A00ACE3AE1006, %203
%205 = load double, ptr %3, align 8
%206 = fmul double %204, %205
%207 = load double, ptr %4, align 8
%208 = call double @pow(double noundef %207, double noundef 4.000000e+00) #3
%209 = call double @llvm.fmuladd.f64(double %206, double %208, double %202)
%210 = load double, ptr %3, align 8
%211 = fmul double 0x486FFE07FBF4146A, %210
%212 = load double, ptr %4, align 8
%213 = fmul double %211, %212
%214 = load double, ptr %4, align 8
%215 = fneg double %213
%216 = call double @llvm.fmuladd.f64(double %215, double %214, double %209)
%217 = load double, ptr %3, align 8
%218 = call double @pow(double noundef %217, double noundef 6.000000e+00) #3
%219 = fmul double 0x48BA0348DCBEF562, %218
%220 = load double, ptr %4, align 8
%221 = call double @pow(double noundef %220, double noundef 1.200000e+01) #3
%222 = call double @llvm.fmuladd.f64(double %219, double %221, double %216)
%223 = load double, ptr %3, align 8
%224 = call double @pow(double noundef %223, double noundef 2.900000e+01) #3
%225 = fmul double 0x42A4E9A7840CC900, %224
%226 = load double, ptr %4, align 8
%227 = call double @pow(double noundef %226, double noundef 5.800000e+01) #3
%228 = fneg double %225
%229 = call double @llvm.fmuladd.f64(double %228, double %227, double %222)
%230 = fmul double %8, %229
%231 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%232 = fmul double %230, %231
%233 = call double @sqrt(double noundef 0x43801DF06D696F80) #3
%234 = fmul double %232, %233
%235 = load double, ptr %4, align 8
%236 = fmul double %234, %235
%237 = load double, ptr %3, align 8
%238 = fneg double %237
%239 = load double, ptr %4, align 8
%240 = fmul double %238, %239
%241 = load double, ptr %4, align 8
%242 = fmul double %240, %241
%243 = fdiv double %242, 2.000000e+00
%244 = call double @exp(double noundef %243) #3
%245 = fmul double %236, %244
store double %245, ptr %5, align 8
%246 = load double, ptr %5, align 8
ret double %246
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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/tmpc3a0uhot.c'
source_filename = "/tmp/tmpc3a0uhot.c"
target datalayout = "e-m:e-p270:32:32-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 @cpuSupportsAVX() #0 {
%1 = alloca [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @x86CpuID(ptr noundef %2, i32 noundef 1, i32 noundef 0)
%4 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 2
%5 = load i32, ptr %4, align 8
%6 = and i32 %5, 268435456
%7 = icmp ne i32 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i32 @x86CpuID(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc3a0uhot.c"
target datalayout = "e-m:e-p270:32:32-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 @cpuSupportsAVX() #0 {
%1 = alloca [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @x86CpuID(ptr noundef %2, i32 noundef 1, i32 noundef 0)
%4 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 2
%5 = load i32, ptr %4, align 8
%6 = and i32 %5, 268435456
%7 = icmp ne i32 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i32 @x86CpuID(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplptxr1hu.c'
source_filename = "/tmp/tmplptxr1hu.c"
target datalayout = "e-m:e-p270:32:32-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 @baz() #0 {
%1 = call i32 (...) @foo1()
%2 = call i32 (...) @foo2()
ret void
}
declare i32 @foo1(...) #1
declare i32 @foo2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplptxr1hu.c"
target datalayout = "e-m:e-p270:32:32-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 @baz() #0 {
%1 = call i32 (...) @foo1()
%2 = call i32 (...) @foo2()
ret void
}
declare i32 @foo1(...) #1
declare i32 @foo2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8hr702er.c'
source_filename = "/tmp/tmp8hr702er.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"-----------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"input is: [%s]\0Aoutput is : [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 100, i1 false)
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @basename_r(ptr noundef %6, ptr noundef %7, i32 noundef 100)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @basename_r(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8hr702er.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"-----------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"input is: [%s]\0Aoutput is : [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 100, i1 false)
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @basename_r(ptr noundef %6, ptr noundef %7, i32 noundef 100)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @basename_r(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5fhk0hjb.c'
source_filename = "/tmp/tmp5fhk0hjb.c"
target datalayout = "e-m:e-p270: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/tmp5fhk0hjb.c"
target datalayout = "e-m:e-p270: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/tmp5_10e9lj.c'
source_filename = "/tmp/tmp5_10e9lj.c"
target datalayout = "e-m:e-p270:32:32-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 @U_EMRPOLYBEZIERTO16_swap(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 @core6_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @core6_swap(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/tmp5_10e9lj.c"
target datalayout = "e-m:e-p270:32:32-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 @U_EMRPOLYBEZIERTO16_swap(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 @core6_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @core6_swap(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/tmpugr8orof.c'
source_filename = "/tmp/tmpugr8orof.c"
target datalayout = "e-m:e-p270: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"n > 0\00", align 1
@.str.1 = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MarhesLab/NeeleyThesisCode/refs/heads/master/lib/glpk-4.55/src/misc/gcd.c\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"x[j] > 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_glp_gcdn(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @glp_assert_(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 89)
br label %11
11: ; preds = %9, %2
%12 = phi i1 [ true, %2 ], [ true, %9 ]
%13 = zext i1 %12 to i32
store i32 1, ptr %6, align 4
br label %14
14: ; preds = %49, %11
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %52
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %18
%26 = call i32 @glp_assert_(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 91)
br label %27
27: ; preds = %25, %18
%28 = phi i1 [ true, %18 ], [ true, %25 ]
%29 = zext i1 %28 to i32
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i32, ptr %33, i64 1
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %5, align 4
br label %44
36: ; preds = %27
%37 = load i32, ptr %5, align 4
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 @_glp_gcd(i32 noundef %37, i32 noundef %42)
store i32 %43, ptr %5, align 4
br label %44
44: ; preds = %36, %32
%45 = load i32, ptr %5, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %48
47: ; preds = %44
br label %52
48: ; preds = %44
br label %49
49: ; preds = %48
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %14, !llvm.loop !6
52: ; preds = %47, %14
%53 = load i32, ptr %5, align 4
ret i32 %53
}
declare i32 @glp_assert_(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_glp_gcd(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpugr8orof.c"
target datalayout = "e-m:e-p270: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"n > 0\00", align 1
@.str.1 = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MarhesLab/NeeleyThesisCode/refs/heads/master/lib/glpk-4.55/src/misc/gcd.c\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"x[j] > 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_glp_gcdn(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @glp_assert_(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 89)
br label %11
11: ; preds = %9, %2
%12 = phi i1 [ true, %2 ], [ true, %9 ]
%13 = zext i1 %12 to i32
store i32 1, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %48
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %17
%25 = call i32 @glp_assert_(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 91)
br label %26
26: ; preds = %24, %17
%27 = phi i1 [ true, %17 ], [ true, %24 ]
%28 = zext i1 %27 to i32
%29 = load i32, ptr %6, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %35
31: ; preds = %26
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i32, ptr %32, i64 1
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %5, align 4
br label %43
35: ; preds = %26
%36 = load i32, ptr %5, align 4
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = call i32 @_glp_gcd(i32 noundef %36, i32 noundef %41)
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %35, %31
%44 = load i32, ptr %5, align 4
%45 = icmp eq i32 %44, 1
br i1 %45, label %46, label %47
46: ; preds = %43
br label %54
47: ; preds = %43
br label %48
48: ; preds = %47
%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 %3, align 4
%53 = icmp sle i32 %51, %52
br i1 %53, label %17, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %48
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %11
br label %54
54: ; preds = %.loopexit, %46
%55 = load i32, ptr %5, align 4
ret i32 %55
}
declare i32 @glp_assert_(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_glp_gcd(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpprqiidcr.c'
source_filename = "/tmp/tmpprqiidcr.c"
target datalayout = "e-m:e-p270:32:32-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 @vrna_refBPcnt_matrix(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i16, ptr %14, i64 0
%16 = load i16, ptr %15, align 2
%17 = sext i16 %16 to i32
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = add i32 %18, 1
%20 = load i32, ptr %9, align 4
%21 = add i32 %20, 2
%22 = mul i32 %19, %21
%23 = udiv i32 %22, 2
store i32 %23, ptr %12, align 4
%24 = load i32, ptr %9, align 4
%25 = call ptr @vrna_idx_row_wise(i32 noundef %24)
store ptr %25, ptr %10, align 8
%26 = load i32, ptr %12, align 4
%27 = zext i32 %26 to i64
%28 = mul i64 4, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @vrna_alloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %11, align 8
store i32 0, ptr %7, align 4
br label %32
32: ; preds = %62, %2
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp ule i32 %33, %34
br i1 %35, label %36, label %65
36: ; preds = %32
store i32 1, ptr %5, align 4
br label %37
37: ; preds = %58, %36
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %7, align 4
%41 = sub i32 %39, %40
%42 = icmp ule i32 %38, %41
br i1 %42, label %43, label %61
43: ; preds = %37
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %7, align 4
%46 = add i32 %44, %45
store i32 %46, ptr %6, align 4
%47 = load ptr, ptr %10, align 8
%48 = load i32, ptr %5, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %6, align 4
%53 = sub i32 %51, %52
store i32 %53, ptr %8, align 4
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %8, align 4
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
store i32 0, ptr %57, align 4
br label %58
58: ; preds = %43
%59 = load i32, ptr %5, align 4
%60 = add i32 %59, 1
store i32 %60, ptr %5, align 4
br label %37, !llvm.loop !6
61: ; preds = %37
br label %62
62: ; preds = %61
%63 = load i32, ptr %7, align 4
%64 = add i32 %63, 1
store i32 %64, ptr %7, align 4
br label %32, !llvm.loop !8
65: ; preds = %32
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %4, align 4
%68 = sub i32 %66, %67
%69 = sub i32 %68, 1
store i32 %69, ptr %5, align 4
br label %70
70: ; preds = %126, %65
%71 = load i32, ptr %5, align 4
%72 = icmp uge i32 %71, 1
br i1 %72, label %73, label %129
73: ; preds = %70
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %4, align 4
%76 = add i32 %74, %75
%77 = add i32 %76, 1
store i32 %77, ptr %6, align 4
br label %78
78: ; preds = %122, %73
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp ule i32 %79, %80
br i1 %81, label %82, label %125
82: ; preds = %78
%83 = load ptr, ptr %10, align 8
%84 = load i32, ptr %5, align 4
%85 = zext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = load i32, ptr %6, align 4
%89 = sub i32 %87, %88
store i32 %89, ptr %8, align 4
%90 = load ptr, ptr %11, align 8
%91 = load i32, ptr %8, align 4
%92 = add i32 %91, 1
%93 = zext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %90, i64 %93
%95 = load i32, ptr %94, align 4
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %5, align 4
%97 = load ptr, ptr %3, align 8
%98 = load i32, ptr %6, align 4
%99 = zext i32 %98 to i64
%100 = getelementptr inbounds i16, ptr %97, i64 %99
%101 = load i16, ptr %100, align 2
%102 = sext i16 %101 to i32
%103 = icmp ule i32 %96, %102
br i1 %103, label %104, label %116
104: ; preds = %82
%105 = load ptr, ptr %3, align 8
%106 = load i32, ptr %6, align 4
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds i16, ptr %105, i64 %107
%109 = load i16, ptr %108, align 2
%110 = sext i16 %109 to i32
%111 = load i32, ptr %6, align 4
%112 = icmp ult i32 %110, %111
br i1 %112, label %113, label %116
113: ; preds = %104
%114 = load i32, ptr %13, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %13, align 4
br label %116
116: ; preds = %113, %104, %82
%117 = load i32, ptr %13, align 4
%118 = load ptr, ptr %11, align 8
%119 = load i32, ptr %8, align 4
%120 = zext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %118, i64 %120
store i32 %117, ptr %121, align 4
br label %122
122: ; preds = %116
%123 = load i32, ptr %6, align 4
%124 = add i32 %123, 1
store i32 %124, ptr %6, align 4
br label %78, !llvm.loop !9
125: ; preds = %78
br label %126
126: ; preds = %125
%127 = load i32, ptr %5, align 4
%128 = add i32 %127, -1
store i32 %128, ptr %5, align 4
br label %70, !llvm.loop !10
129: ; preds = %70
%130 = load ptr, ptr %10, align 8
%131 = call i32 @free(ptr noundef %130)
%132 = load ptr, ptr %11, align 8
ret ptr %132
}
declare ptr @vrna_idx_row_wise(i32 noundef) #1
declare i64 @vrna_alloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpprqiidcr.c"
target datalayout = "e-m:e-p270:32:32-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 @vrna_refBPcnt_matrix(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i16, ptr %14, i64 0
%16 = load i16, ptr %15, align 2
%17 = sext i16 %16 to i32
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = add i32 %18, 1
%20 = load i32, ptr %9, align 4
%21 = add i32 %20, 2
%22 = mul i32 %19, %21
%23 = udiv i32 %22, 2
store i32 %23, ptr %12, align 4
%24 = load i32, ptr %9, align 4
%25 = call ptr @vrna_idx_row_wise(i32 noundef %24)
store ptr %25, ptr %10, align 8
%26 = load i32, ptr %12, align 4
%27 = zext i32 %26 to i64
%28 = mul i64 4, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @vrna_alloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %11, align 8
store i32 0, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp ule i32 %32, %33
br i1 %34, label %.lr.ph2, label %71
.lr.ph2: ; preds = %2
br label %35
35: ; preds = %.lr.ph2, %65
store i32 1, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = sub i32 %37, %38
%40 = icmp ule i32 %36, %39
br i1 %40, label %.lr.ph, label %64
.lr.ph: ; preds = %35
br label %41
41: ; preds = %.lr.ph, %56
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %7, align 4
%44 = add i32 %42, %43
store i32 %44, ptr %6, align 4
%45 = load ptr, ptr %10, align 8
%46 = load i32, ptr %5, align 4
%47 = zext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %6, align 4
%51 = sub i32 %49, %50
store i32 %51, ptr %8, align 4
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %8, align 4
%54 = zext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store i32 0, ptr %55, align 4
br label %56
56: ; preds = %41
%57 = load i32, ptr %5, align 4
%58 = add i32 %57, 1
store i32 %58, ptr %5, align 4
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %7, align 4
%62 = sub i32 %60, %61
%63 = icmp ule i32 %59, %62
br i1 %63, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %64
64: ; preds = %._crit_edge, %35
br label %65
65: ; preds = %64
%66 = load i32, ptr %7, align 4
%67 = add i32 %66, 1
store i32 %67, ptr %7, align 4
%68 = load i32, ptr %7, align 4
%69 = load i32, ptr %4, align 4
%70 = icmp ule i32 %68, %69
br i1 %70, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %71
71: ; preds = %._crit_edge3, %2
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %4, align 4
%74 = sub i32 %72, %73
%75 = sub i32 %74, 1
store i32 %75, ptr %5, align 4
%76 = load i32, ptr %5, align 4
%77 = icmp uge i32 %76, 1
br i1 %77, label %.lr.ph8, label %138
.lr.ph8: ; preds = %71
br label %78
78: ; preds = %.lr.ph8, %133
%79 = load i32, ptr %5, align 4
%80 = load i32, ptr %4, align 4
%81 = add i32 %79, %80
%82 = add i32 %81, 1
store i32 %82, ptr %6, align 4
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %9, align 4
%85 = icmp ule i32 %83, %84
br i1 %85, label %.lr.ph5, label %132
.lr.ph5: ; preds = %78
br label %86
86: ; preds = %.lr.ph5, %126
%87 = load ptr, ptr %10, align 8
%88 = load i32, ptr %5, align 4
%89 = zext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
%91 = load i32, ptr %90, align 4
%92 = load i32, ptr %6, align 4
%93 = sub i32 %91, %92
store i32 %93, ptr %8, align 4
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %8, align 4
%96 = add i32 %95, 1
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %94, i64 %97
%99 = load i32, ptr %98, align 4
store i32 %99, ptr %13, align 4
%100 = load i32, ptr %5, align 4
%101 = load ptr, ptr %3, align 8
%102 = load i32, ptr %6, align 4
%103 = zext i32 %102 to i64
%104 = getelementptr inbounds i16, ptr %101, i64 %103
%105 = load i16, ptr %104, align 2
%106 = sext i16 %105 to i32
%107 = icmp ule i32 %100, %106
br i1 %107, label %108, label %120
108: ; preds = %86
%109 = load ptr, ptr %3, align 8
%110 = load i32, ptr %6, align 4
%111 = zext i32 %110 to i64
%112 = getelementptr inbounds i16, ptr %109, i64 %111
%113 = load i16, ptr %112, align 2
%114 = sext i16 %113 to i32
%115 = load i32, ptr %6, align 4
%116 = icmp ult i32 %114, %115
br i1 %116, label %117, label %120
117: ; preds = %108
%118 = load i32, ptr %13, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %13, align 4
br label %120
120: ; preds = %117, %108, %86
%121 = load i32, ptr %13, align 4
%122 = load ptr, ptr %11, align 8
%123 = load i32, ptr %8, align 4
%124 = zext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %122, i64 %124
store i32 %121, ptr %125, align 4
br label %126
126: ; preds = %120
%127 = load i32, ptr %6, align 4
%128 = add i32 %127, 1
store i32 %128, ptr %6, align 4
%129 = load i32, ptr %6, align 4
%130 = load i32, ptr %9, align 4
%131 = icmp ule i32 %129, %130
br i1 %131, label %86, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %126
br label %132
132: ; preds = %._crit_edge6, %78
br label %133
133: ; preds = %132
%134 = load i32, ptr %5, align 4
%135 = add i32 %134, -1
store i32 %135, ptr %5, align 4
%136 = load i32, ptr %5, align 4
%137 = icmp uge i32 %136, 1
br i1 %137, label %78, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %133
br label %138
138: ; preds = %._crit_edge9, %71
%139 = load ptr, ptr %10, align 8
%140 = call i32 @free(ptr noundef %139)
%141 = load ptr, ptr %11, align 8
ret ptr %141
}
declare ptr @vrna_idx_row_wise(i32 noundef) #1
declare i64 @vrna_alloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpynqxdug8.c'
source_filename = "/tmp/tmpynqxdug8.c"
target datalayout = "e-m:e-p270: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"compute\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @nOutputChannels(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i64, ptr %4, align 8
store i64 %10, ptr %5, align 8
br label %11
11: ; preds = %9, %2
%12 = load i64, ptr %5, align 8
ret i64 %12
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpynqxdug8.c"
target datalayout = "e-m:e-p270: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"compute\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @nOutputChannels(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i64, ptr %4, align 8
store i64 %10, ptr %5, align 8
br label %11
11: ; preds = %9, %2
%12 = load i64, ptr %5, align 8
ret i64 %12
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpetl0dg6c.c'
source_filename = "/tmp/tmpetl0dg6c.c"
target datalayout = "e-m:e-p270: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/tmpetl0dg6c.c"
target datalayout = "e-m:e-p270: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/tmpih2iv5gy.c'
source_filename = "/tmp/tmpih2iv5gy.c"
target datalayout = "e-m:e-p270: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/tmpih2iv5gy.c"
target datalayout = "e-m:e-p270: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/tmpr35pljlj.c'
source_filename = "/tmp/tmpr35pljlj.c"
target datalayout = "e-m:e-p270:32:32-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 @buffer_setstring(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 = call i32 @buffer_truncate(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @buffer_addstring(ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @buffer_truncate(ptr noundef) #1
declare i32 @buffer_addstring(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/tmpr35pljlj.c"
target datalayout = "e-m:e-p270:32:32-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 @buffer_setstring(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 = call i32 @buffer_truncate(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @buffer_addstring(ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @buffer_truncate(ptr noundef) #1
declare i32 @buffer_addstring(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/tmp4aqsehde.c'
source_filename = "/tmp/tmp4aqsehde.c"
target datalayout = "e-m:e-p270:32:32-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 @invalidFunctionArg_close(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 slt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4aqsehde.c"
target datalayout = "e-m:e-p270:32:32-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 @invalidFunctionArg_close(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 slt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpao_gmbri.c'
source_filename = "/tmp/tmpao_gmbri.c"
target datalayout = "e-m:e-p270:32:32-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 @wsexit_fun(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmpao_gmbri.c"
target datalayout = "e-m:e-p270:32:32-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 @wsexit_fun(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmpd8ps06b4.c'
source_filename = "/tmp/tmpd8ps06b4.c"
target datalayout = "e-m:e-p270:32:32-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 @bessi1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = call double @llvm.fabs.f64(double %6)
store double %7, ptr %3, align 8
%8 = fcmp olt double %7, 3.750000e+00
br i1 %8, label %9, label %29
9: ; preds = %1
%10 = load double, ptr %2, align 8
%11 = fdiv double %10, 3.750000e+00
store double %11, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = load double, ptr %5, align 8
%14 = fmul double %13, %12
store double %14, ptr %5, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %5, align 8
%17 = load double, ptr %5, align 8
%18 = load double, ptr %5, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %5, align 8
%21 = load double, ptr %5, align 8
%22 = call double @llvm.fmuladd.f64(double %21, double 3.241100e-04, double 3.015320e-03)
%23 = call double @llvm.fmuladd.f64(double %20, double %22, double 0x3F9B39B5835A121A)
%24 = call double @llvm.fmuladd.f64(double %19, double %23, double 0x3FC34F07FAF62AEA)
%25 = call double @llvm.fmuladd.f64(double %18, double %24, double 0x3FE07AC98FAB8428)
%26 = call double @llvm.fmuladd.f64(double %17, double %25, double 0x3FEC1FFF5991ECA7)
%27 = call double @llvm.fmuladd.f64(double %16, double %26, double 5.000000e-01)
%28 = fmul double %15, %27
store double %28, ptr %4, align 8
br label %57
29: ; preds = %1
%30 = load double, ptr %3, align 8
%31 = fdiv double 3.750000e+00, %30
store double %31, ptr %5, align 8
%32 = load double, ptr %5, align 8
%33 = load double, ptr %5, align 8
%34 = load double, ptr %5, align 8
%35 = fneg double %34
%36 = call double @llvm.fmuladd.f64(double %35, double 4.200590e-03, double 0x3F924E3A4AA99C71)
%37 = call double @llvm.fmuladd.f64(double %33, double %36, double 0xBF9DA5E2FE119350)
%38 = call double @llvm.fmuladd.f64(double %32, double %37, double 0x3F9760A9381D27D9)
store double %38, ptr %4, align 8
%39 = load double, ptr %5, align 8
%40 = load double, ptr %5, align 8
%41 = load double, ptr %5, align 8
%42 = load double, ptr %5, align 8
%43 = load double, ptr %5, align 8
%44 = load double, ptr %4, align 8
%45 = call double @llvm.fmuladd.f64(double %43, double %44, double 0xBF852051AF1F3CDC)
%46 = call double @llvm.fmuladd.f64(double %42, double %45, double 1.638010e-03)
%47 = call double @llvm.fmuladd.f64(double %41, double %46, double -3.620180e-03)
%48 = call double @llvm.fmuladd.f64(double %40, double %47, double 0xBFA46B2ECD1CFEBE)
%49 = call double @llvm.fmuladd.f64(double %39, double %48, double 0x3FD988453365DE00)
store double %49, ptr %4, align 8
%50 = load double, ptr %3, align 8
%51 = call double @exp(double noundef %50) #3
%52 = load double, ptr %3, align 8
%53 = call double @sqrt(double noundef %52) #3
%54 = fdiv double %51, %53
%55 = load double, ptr %4, align 8
%56 = fmul double %55, %54
store double %56, ptr %4, align 8
br label %57
57: ; preds = %29, %9
%58 = load double, ptr %2, align 8
%59 = fcmp olt double %58, 0.000000e+00
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = load double, ptr %4, align 8
%62 = fneg double %61
br label %65
63: ; preds = %57
%64 = load double, ptr %4, align 8
br label %65
65: ; preds = %63, %60
%66 = phi double [ %62, %60 ], [ %64, %63 ]
ret double %66
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { 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/tmpd8ps06b4.c"
target datalayout = "e-m:e-p270:32:32-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 @bessi1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = call double @llvm.fabs.f64(double %6)
store double %7, ptr %3, align 8
%8 = fcmp olt double %7, 3.750000e+00
br i1 %8, label %9, label %29
9: ; preds = %1
%10 = load double, ptr %2, align 8
%11 = fdiv double %10, 3.750000e+00
store double %11, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = load double, ptr %5, align 8
%14 = fmul double %13, %12
store double %14, ptr %5, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %5, align 8
%17 = load double, ptr %5, align 8
%18 = load double, ptr %5, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %5, align 8
%21 = load double, ptr %5, align 8
%22 = call double @llvm.fmuladd.f64(double %21, double 3.241100e-04, double 3.015320e-03)
%23 = call double @llvm.fmuladd.f64(double %20, double %22, double 0x3F9B39B5835A121A)
%24 = call double @llvm.fmuladd.f64(double %19, double %23, double 0x3FC34F07FAF62AEA)
%25 = call double @llvm.fmuladd.f64(double %18, double %24, double 0x3FE07AC98FAB8428)
%26 = call double @llvm.fmuladd.f64(double %17, double %25, double 0x3FEC1FFF5991ECA7)
%27 = call double @llvm.fmuladd.f64(double %16, double %26, double 5.000000e-01)
%28 = fmul double %15, %27
store double %28, ptr %4, align 8
br label %57
29: ; preds = %1
%30 = load double, ptr %3, align 8
%31 = fdiv double 3.750000e+00, %30
store double %31, ptr %5, align 8
%32 = load double, ptr %5, align 8
%33 = load double, ptr %5, align 8
%34 = load double, ptr %5, align 8
%35 = fneg double %34
%36 = call double @llvm.fmuladd.f64(double %35, double 4.200590e-03, double 0x3F924E3A4AA99C71)
%37 = call double @llvm.fmuladd.f64(double %33, double %36, double 0xBF9DA5E2FE119350)
%38 = call double @llvm.fmuladd.f64(double %32, double %37, double 0x3F9760A9381D27D9)
store double %38, ptr %4, align 8
%39 = load double, ptr %5, align 8
%40 = load double, ptr %5, align 8
%41 = load double, ptr %5, align 8
%42 = load double, ptr %5, align 8
%43 = load double, ptr %5, align 8
%44 = load double, ptr %4, align 8
%45 = call double @llvm.fmuladd.f64(double %43, double %44, double 0xBF852051AF1F3CDC)
%46 = call double @llvm.fmuladd.f64(double %42, double %45, double 1.638010e-03)
%47 = call double @llvm.fmuladd.f64(double %41, double %46, double -3.620180e-03)
%48 = call double @llvm.fmuladd.f64(double %40, double %47, double 0xBFA46B2ECD1CFEBE)
%49 = call double @llvm.fmuladd.f64(double %39, double %48, double 0x3FD988453365DE00)
store double %49, ptr %4, align 8
%50 = load double, ptr %3, align 8
%51 = call double @exp(double noundef %50) #3
%52 = load double, ptr %3, align 8
%53 = call double @sqrt(double noundef %52) #3
%54 = fdiv double %51, %53
%55 = load double, ptr %4, align 8
%56 = fmul double %55, %54
store double %56, ptr %4, align 8
br label %57
57: ; preds = %29, %9
%58 = load double, ptr %2, align 8
%59 = fcmp olt double %58, 0.000000e+00
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = load double, ptr %4, align 8
%62 = fneg double %61
br label %65
63: ; preds = %57
%64 = load double, ptr %4, align 8
br label %65
65: ; preds = %63, %60
%66 = phi double [ %62, %60 ], [ %64, %63 ]
ret double %66
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { 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/tmpcs98o8r9.c'
source_filename = "/tmp/tmpcs98o8r9.c"
target datalayout = "e-m:e-p270:32:32-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 @send_n_bytes(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %12, %3
store i32 -1, ptr %4, align 4
br label %46
16: ; preds = %12
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %17
17: ; preds = %42, %16
%18 = load i64, ptr %9, align 8
%19 = load i64, ptr %6, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %21, label %43
21: ; preds = %17
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %9, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i64, ptr %6, align 8
%27 = load i64, ptr %9, align 8
%28 = sub i64 %26, %27
%29 = call i64 @transmit(i32 noundef %22, ptr noundef %25, i64 noundef %28, ptr noundef %8)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %21
%32 = call i32 @_terminate(i32 noundef 1)
br label %42
33: ; preds = %21
%34 = load i64, ptr %8, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
br label %43
37: ; preds = %33
%38 = load i64, ptr %8, align 8
%39 = load i64, ptr %9, align 8
%40 = add i64 %39, %38
store i64 %40, ptr %9, align 8
br label %41
41: ; preds = %37
br label %42
42: ; preds = %41, %31
br label %17, !llvm.loop !6
43: ; preds = %36, %17
%44 = load i64, ptr %9, align 8
%45 = trunc i64 %44 to i32
store i32 %45, ptr %4, align 4
br label %46
46: ; preds = %43, %15
%47 = load i32, ptr %4, align 4
ret i32 %47
}
declare i64 @transmit(i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @_terminate(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/tmpcs98o8r9.c"
target datalayout = "e-m:e-p270:32:32-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 @send_n_bytes(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %12, %3
store i32 -1, ptr %4, align 4
br label %48
16: ; preds = %12
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%17 = load i64, ptr %9, align 8
%18 = load i64, ptr %6, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %41
%21 = load i32, ptr %5, align 4
%22 = load ptr, ptr %7, align 8
%23 = load i64, ptr %9, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i64, ptr %6, align 8
%26 = load i64, ptr %9, align 8
%27 = sub i64 %25, %26
%28 = call i64 @transmit(i32 noundef %21, ptr noundef %24, i64 noundef %27, ptr noundef %8)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %20
%31 = call i32 @_terminate(i32 noundef 1)
br label %41
32: ; preds = %20
%33 = load i64, ptr %8, align 8
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
br label %45
36: ; preds = %32
%37 = load i64, ptr %8, align 8
%38 = load i64, ptr %9, align 8
%39 = add i64 %38, %37
store i64 %39, ptr %9, align 8
br label %40
40: ; preds = %36
br label %41
41: ; preds = %40, %30
%42 = load i64, ptr %9, align 8
%43 = load i64, ptr %6, align 8
%44 = icmp ult i64 %42, %43
br i1 %44, label %20, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %41
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %45
45: ; preds = %.loopexit, %35
%46 = load i64, ptr %9, align 8
%47 = trunc i64 %46 to i32
store i32 %47, ptr %4, align 4
br label %48
48: ; preds = %45, %15
%49 = load i32, ptr %4, align 4
ret i32 %49
}
declare i64 @transmit(i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @_terminate(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/tmpixv555m1.c'
source_filename = "/tmp/tmpixv555m1.c"
target datalayout = "e-m:e-p270: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"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"failed to open %s for reading\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"failed to open %s for writing\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"failed writing %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copy_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [8192 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %18, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14)
%16 = call i32 @perror(ptr noundef @.str.2)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.3)
store ptr %20, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %28, label %22
22: ; preds = %18
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.4, ptr noundef %24)
%26 = call i32 @perror(ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %18
br label %29
29: ; preds = %47, %28
%30 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0
%31 = load ptr, ptr %7, align 8
%32 = call i32 @fread(ptr noundef %30, i32 noundef 1, i32 noundef 8192, ptr noundef %31)
store i32 %32, ptr %6, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %48
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0
%37 = load i32, ptr %6, align 4
%38 = load ptr, ptr %8, align 8
%39 = call i32 @fwrite(ptr noundef %36, i32 noundef 1, i32 noundef %37, ptr noundef %38)
%40 = icmp ne i32 %35, %39
br i1 %40, label %41, label %47
41: ; preds = %34
%42 = load i32, ptr @stderr, align 4
%43 = load ptr, ptr %4, align 8
%44 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.5, ptr noundef %43)
%45 = call i32 @perror(ptr noundef @.str.2)
%46 = call i32 @exit(i32 noundef 1) #3
unreachable
47: ; preds = %34
br label %29, !llvm.loop !6
48: ; preds = %29
%49 = load ptr, ptr %7, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %8, align 8
%52 = call i32 @fclose(ptr noundef %51)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpixv555m1.c"
target datalayout = "e-m:e-p270: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"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"failed to open %s for reading\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"failed to open %s for writing\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"failed writing %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copy_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [8192 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %18, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14)
%16 = call i32 @perror(ptr noundef @.str.2)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.3)
store ptr %20, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %28, label %22
22: ; preds = %18
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.4, ptr noundef %24)
%26 = call i32 @perror(ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %18
%29 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0
%30 = load ptr, ptr %7, align 8
%31 = call i32 @fread(ptr noundef %29, i32 noundef 1, i32 noundef 8192, ptr noundef %30)
store i32 %31, ptr %6, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %.lr.ph, label %50
.lr.ph: ; preds = %28
br label %37
33: ; preds = %37
%34 = load ptr, ptr %7, align 8
%35 = call i32 @fread(ptr noundef %29, i32 noundef 1, i32 noundef 8192, ptr noundef %34)
store i32 %35, ptr %6, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %._crit_edge, !llvm.loop !6
37: ; preds = %.lr.ph, %33
%38 = load i32, ptr %6, align 4
%39 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0
%40 = load i32, ptr %6, align 4
%41 = load ptr, ptr %8, align 8
%42 = call i32 @fwrite(ptr noundef %39, i32 noundef 1, i32 noundef %40, ptr noundef %41)
%43 = icmp ne i32 %38, %42
br i1 %43, label %44, label %33
44: ; preds = %37
%45 = load i32, ptr @stderr, align 4
%46 = load ptr, ptr %4, align 8
%47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.5, ptr noundef %46)
%48 = call i32 @perror(ptr noundef @.str.2)
%49 = call i32 @exit(i32 noundef 1) #3
unreachable
._crit_edge: ; preds = %33
br label %50
50: ; preds = %._crit_edge, %28
%51 = load ptr, ptr %7, align 8
%52 = call i32 @fclose(ptr noundef %51)
%53 = load ptr, ptr %8, align 8
%54 = call i32 @fclose(ptr noundef %53)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj1d544hr.c'
source_filename = "/tmp/tmpj1d544hr.c"
target datalayout = "e-m:e-p270:32:32-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 @send_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %2, align 8
%10 = load i8, ptr %8, align 1
%11 = sext i8 %10 to i32
%12 = call i32 @send(i32 noundef %11)
br label %3, !llvm.loop !6
13: ; preds = %3
ret void
}
declare i32 @send(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/tmpj1d544hr.c"
target datalayout = "e-m:e-p270:32:32-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 @send_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %2, align 8
%9 = load i8, ptr %7, align 1
%10 = sext i8 %9 to i32
%11 = call i32 @send(i32 noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @send(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/tmpslzixm8i.c'
source_filename = "/tmp/tmpslzixm8i.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"M568_f(const char *s) is not yet implemented!\0A\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 @M568_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(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/tmpslzixm8i.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"M568_f(const char *s) is not yet implemented!\0A\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 @M568_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(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/tmpy5frljbu.c'
source_filename = "/tmp/tmpy5frljbu.c"
target datalayout = "e-m:e-p270: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"46\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_cmdline(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
store i32 4, ptr %8, align 4
br label %9
9: ; preds = %24, %3
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str)
store i32 %12, ptr %7, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 52
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
store i32 4, ptr %18, align 4
br label %19
19: ; preds = %17, %14
%20 = load i32, ptr %7, align 4
%21 = icmp eq i32 %20, 54
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
store i32 6, ptr %23, align 4
br label %24
24: ; preds = %22, %19
br label %9, !llvm.loop !6
25: ; preds = %9
ret void
}
declare i32 @getopt(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy5frljbu.c"
target datalayout = "e-m:e-p270: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"46\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_cmdline(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
store i32 4, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %7, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %23
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 52
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load ptr, ptr %6, align 8
store i32 4, ptr %17, align 4
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 54
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = load ptr, ptr %6, align 8
store i32 6, ptr %22, align 4
br label %23
23: ; preds = %21, %18
%24 = load i32, ptr %4, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str)
store i32 %26, ptr %7, align 4
%27 = icmp ne i32 %26, -1
br i1 %27, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %3
ret void
}
declare i32 @getopt(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"}
|
; ModuleID = '/tmp/tmpi4eus7_g.c'
source_filename = "/tmp/tmpi4eus7_g.c"
target datalayout = "e-m:e-p270: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"Enter number:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\0AEMPTY TRIANGLE\0A\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"*\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"*\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"\0A\0AFILLED TRIANGLE\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 2, %9
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %13
13: ; preds = %61, %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %17, label %64
17: ; preds = %13
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %27, %17
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 %20, %21
%23 = sdiv i32 %22, 2
%24 = icmp slt i32 %19, %23
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = call i32 @printf(ptr noundef @.str.3)
br label %27
27: ; preds = %25
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %18, !llvm.loop !6
30: ; preds = %18
%31 = call i32 @printf(ptr noundef @.str.4)
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 @printf(ptr noundef @.str.5)
br label %36
36: ; preds = %34, %30
store i32 2, ptr %5, align 4
br label %37
37: ; preds = %57, %36
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %60
41: ; preds = %37
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str.4)
br label %56
47: ; preds = %41
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %3, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %47
%52 = call i32 @printf(ptr noundef @.str.6)
br label %55
53: ; preds = %47
%54 = call i32 @printf(ptr noundef @.str.3)
br label %55
55: ; preds = %53, %51
br label %56
56: ; preds = %55, %45
br label %57
57: ; preds = %56
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
br label %37, !llvm.loop !8
60: ; preds = %37
br label %61
61: ; preds = %60
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 2
store i32 %63, ptr %3, align 4
br label %13, !llvm.loop !9
64: ; preds = %13
%65 = call i32 @printf(ptr noundef @.str.7)
store i32 1, ptr %3, align 4
br label %66
66: ; preds = %95, %64
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp sle i32 %67, %68
br i1 %69, label %70, label %98
70: ; preds = %66
store i32 0, ptr %6, align 4
br label %71
71: ; preds = %80, %70
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %4, align 4
%74 = load i32, ptr %3, align 4
%75 = sub nsw i32 %73, %74
%76 = sdiv i32 %75, 2
%77 = icmp slt i32 %72, %76
br i1 %77, label %78, label %83
78: ; preds = %71
%79 = call i32 @printf(ptr noundef @.str.3)
br label %80
80: ; preds = %78
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
br label %71, !llvm.loop !10
83: ; preds = %71
store i32 0, ptr %5, align 4
br label %84
84: ; preds = %90, %83
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr %3, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %93
88: ; preds = %84
%89 = call i32 @printf(ptr noundef @.str.4)
br label %90
90: ; preds = %88
%91 = load i32, ptr %5, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %5, align 4
br label %84, !llvm.loop !11
93: ; preds = %84
%94 = call i32 @printf(ptr noundef @.str.5)
br label %95
95: ; preds = %93
%96 = load i32, ptr %3, align 4
%97 = add nsw i32 %96, 2
store i32 %97, ptr %3, align 4
br label %66, !llvm.loop !12
98: ; preds = %66
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi4eus7_g.c"
target datalayout = "e-m:e-p270: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"Enter number:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\0AEMPTY TRIANGLE\0A\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"*\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"*\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"\0A\0AFILLED TRIANGLE\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 2, %9
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph5, label %73
.lr.ph5: ; preds = %0
br label %16
16: ; preds = %.lr.ph5, %67
store i32 0, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %18, %19
%21 = sdiv i32 %20, 2
%22 = icmp slt i32 %17, %21
br i1 %22, label %.lr.ph, label %34
.lr.ph: ; preds = %16
br label %23
23: ; preds = %.lr.ph, %25
%24 = call i32 @printf(ptr noundef @.str.3)
br label %25
25: ; preds = %23
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %3, align 4
%31 = sub nsw i32 %29, %30
%32 = sdiv i32 %31, 2
%33 = icmp slt i32 %28, %32
br i1 %33, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %34
34: ; preds = %._crit_edge, %16
%35 = call i32 @printf(ptr noundef @.str.4)
%36 = load i32, ptr %3, align 4
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %40
38: ; preds = %34
%39 = call i32 @printf(ptr noundef @.str.5)
br label %40
40: ; preds = %38, %34
store i32 2, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %.lr.ph2, label %66
.lr.ph2: ; preds = %40
br label %44
44: ; preds = %.lr.ph2, %60
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @printf(ptr noundef @.str.4)
br label %59
50: ; preds = %44
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @printf(ptr noundef @.str.6)
br label %58
56: ; preds = %50
%57 = call i32 @printf(ptr noundef @.str.3)
br label %58
58: ; preds = %56, %54
br label %59
59: ; preds = %58, %48
br label %60
60: ; preds = %59
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %3, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %40
br label %67
67: ; preds = %66
%68 = load i32, ptr %3, align 4
%69 = add nsw i32 %68, 2
store i32 %69, ptr %3, align 4
%70 = load i32, ptr %3, align 4
%71 = load i32, ptr %4, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %16, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %67
br label %73
73: ; preds = %._crit_edge6, %0
%74 = call i32 @printf(ptr noundef @.str.7)
store i32 1, ptr %3, align 4
%75 = load i32, ptr %3, align 4
%76 = load i32, ptr %4, align 4
%77 = icmp sle i32 %75, %76
br i1 %77, label %.lr.ph14, label %116
.lr.ph14: ; preds = %73
br label %78
78: ; preds = %.lr.ph14, %110
store i32 0, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %3, align 4
%82 = sub nsw i32 %80, %81
%83 = sdiv i32 %82, 2
%84 = icmp slt i32 %79, %83
br i1 %84, label %.lr.ph8, label %96
.lr.ph8: ; preds = %78
br label %85
85: ; preds = %.lr.ph8, %87
%86 = call i32 @printf(ptr noundef @.str.3)
br label %87
87: ; preds = %85
%88 = load i32, ptr %6, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %6, align 4
%90 = load i32, ptr %6, align 4
%91 = load i32, ptr %4, align 4
%92 = load i32, ptr %3, align 4
%93 = sub nsw i32 %91, %92
%94 = sdiv i32 %93, 2
%95 = icmp slt i32 %90, %94
br i1 %95, label %85, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %87
br label %96
96: ; preds = %._crit_edge9, %78
store i32 0, ptr %5, align 4
%97 = load i32, ptr %5, align 4
%98 = load i32, ptr %3, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %.lr.ph11, label %108
.lr.ph11: ; preds = %96
br label %100
100: ; preds = %.lr.ph11, %102
%101 = call i32 @printf(ptr noundef @.str.4)
br label %102
102: ; preds = %100
%103 = load i32, ptr %5, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %5, align 4
%105 = load i32, ptr %5, align 4
%106 = load i32, ptr %3, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %100, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %102
br label %108
108: ; preds = %._crit_edge12, %96
%109 = call i32 @printf(ptr noundef @.str.5)
br label %110
110: ; preds = %108
%111 = load i32, ptr %3, align 4
%112 = add nsw i32 %111, 2
store i32 %112, ptr %3, align 4
%113 = load i32, ptr %3, align 4
%114 = load i32, ptr %4, align 4
%115 = icmp sle i32 %113, %114
br i1 %115, label %78, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %110
br label %116
116: ; preds = %._crit_edge15, %73
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpay5l44ko.c'
source_filename = "/tmp/tmpay5l44ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@go_openlog._current_ident = internal global [1001 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @go_openlog(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strncpy(ptr noundef @go_openlog._current_ident, ptr noundef %7, i32 noundef 1000)
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @openlog(ptr noundef @go_openlog._current_ident, i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpay5l44ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@go_openlog._current_ident = internal global [1001 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @go_openlog(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strncpy(ptr noundef @go_openlog._current_ident, ptr noundef %7, i32 noundef 1000)
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @openlog(ptr noundef @go_openlog._current_ident, i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq1nw7fan.c'
source_filename = "/tmp/tmpq1nw7fan.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"Usage: %s <number>\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Bad decimal number \22%s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"strerror\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"strsignal\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"kill0\00", align 1
@errno = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [60 x i8] c"%s must be invoked as \22strerror\22 or \22strsignal\22 or \22kill0\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"%s returned %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 i32, align 4
%7 = alloca ptr, align 8
%8 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strchr(ptr noundef %11, i8 noundef signext 47)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47)
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
store ptr %19, ptr %21, align 8
br label %22
22: ; preds = %14, %2
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 2
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str, ptr noundef %29)
store i32 1, ptr %3, align 4
br label %89
31: ; preds = %22
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %6)
%36 = icmp ne i32 %35, 1
br i1 %36, label %37, label %43
37: ; preds = %31
%38 = load i32, ptr @stderr, align 4
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.2, ptr noundef %41)
store i32 1, ptr %3, align 4
br label %89
43: ; preds = %31
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 0
%46 = load ptr, ptr %45, align 8
%47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.3)
%48 = icmp ne i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %43
%50 = load i32, ptr %6, align 4
%51 = call ptr @strerror(i32 noundef %50)
store ptr %51, ptr %7, align 8
br label %83
52: ; preds = %43
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = load ptr, ptr %54, align 8
%56 = call i32 @strcmp(ptr noundef %55, ptr noundef @.str.4)
%57 = icmp ne i32 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %52
%59 = load i32, ptr %6, align 4
%60 = call ptr @strsignal(i32 noundef %59)
store ptr %60, ptr %7, align 8
br label %82
61: ; preds = %52
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 0
%64 = load ptr, ptr %63, align 8
%65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.5)
%66 = icmp ne i32 %65, 0
br i1 %66, label %75, label %67
67: ; preds = %61
store i32 0, ptr @errno, align 4
%68 = load i32, ptr %6, align 4
%69 = call i32 @kill(i32 noundef %68, i32 noundef 0)
%70 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%71 = load i32, ptr @errno, align 4
%72 = call ptr @strerror(i32 noundef %71)
%73 = call i32 @snprintf(ptr noundef %70, i32 noundef 100, ptr noundef @.str.6, ptr noundef %72)
%74 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
store ptr %74, ptr %7, align 8
br label %81
75: ; preds = %61
%76 = load i32, ptr @stderr, align 4
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 0
%79 = load ptr, ptr %78, align 8
%80 = call i32 @fprintf(i32 noundef %76, ptr noundef @.str.7, ptr noundef %79)
store i32 1, ptr %3, align 4
br label %89
81: ; preds = %67
br label %82
82: ; preds = %81, %58
br label %83
83: ; preds = %82, %49
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds ptr, ptr %84, i64 0
%86 = load ptr, ptr %85, align 8
%87 = load ptr, ptr %7, align 8
%88 = call i32 @printf(ptr noundef @.str.8, ptr noundef %86, ptr noundef %87)
store i32 0, ptr %3, align 4
br label %89
89: ; preds = %83, %75, %37, %25
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @strsignal(i32 noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1nw7fan.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"Usage: %s <number>\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Bad decimal number \22%s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"strerror\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"strsignal\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"kill0\00", align 1
@errno = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [60 x i8] c"%s must be invoked as \22strerror\22 or \22strsignal\22 or \22kill0\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"%s returned %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 i32, align 4
%7 = alloca ptr, align 8
%8 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strchr(ptr noundef %11, i8 noundef signext 47)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47)
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
store ptr %19, ptr %21, align 8
br label %22
22: ; preds = %14, %2
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 2
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str, ptr noundef %29)
store i32 1, ptr %3, align 4
br label %89
31: ; preds = %22
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %6)
%36 = icmp ne i32 %35, 1
br i1 %36, label %37, label %43
37: ; preds = %31
%38 = load i32, ptr @stderr, align 4
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.2, ptr noundef %41)
store i32 1, ptr %3, align 4
br label %89
43: ; preds = %31
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 0
%46 = load ptr, ptr %45, align 8
%47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.3)
%48 = icmp ne i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %43
%50 = load i32, ptr %6, align 4
%51 = call ptr @strerror(i32 noundef %50)
store ptr %51, ptr %7, align 8
br label %83
52: ; preds = %43
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = load ptr, ptr %54, align 8
%56 = call i32 @strcmp(ptr noundef %55, ptr noundef @.str.4)
%57 = icmp ne i32 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %52
%59 = load i32, ptr %6, align 4
%60 = call ptr @strsignal(i32 noundef %59)
store ptr %60, ptr %7, align 8
br label %82
61: ; preds = %52
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 0
%64 = load ptr, ptr %63, align 8
%65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.5)
%66 = icmp ne i32 %65, 0
br i1 %66, label %75, label %67
67: ; preds = %61
store i32 0, ptr @errno, align 4
%68 = load i32, ptr %6, align 4
%69 = call i32 @kill(i32 noundef %68, i32 noundef 0)
%70 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%71 = load i32, ptr @errno, align 4
%72 = call ptr @strerror(i32 noundef %71)
%73 = call i32 @snprintf(ptr noundef %70, i32 noundef 100, ptr noundef @.str.6, ptr noundef %72)
%74 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
store ptr %74, ptr %7, align 8
br label %81
75: ; preds = %61
%76 = load i32, ptr @stderr, align 4
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 0
%79 = load ptr, ptr %78, align 8
%80 = call i32 @fprintf(i32 noundef %76, ptr noundef @.str.7, ptr noundef %79)
store i32 1, ptr %3, align 4
br label %89
81: ; preds = %67
br label %82
82: ; preds = %81, %58
br label %83
83: ; preds = %82, %49
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds ptr, ptr %84, i64 0
%86 = load ptr, ptr %85, align 8
%87 = load ptr, ptr %7, align 8
%88 = call i32 @printf(ptr noundef @.str.8, ptr noundef %86, ptr noundef %87)
store i32 0, ptr %3, align 4
br label %89
89: ; preds = %83, %75, %37, %25
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @strsignal(i32 noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmenv3xr5.c'
source_filename = "/tmp/tmpmenv3xr5.c"
target datalayout = "e-m:e-p270:32:32-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 @log_factorial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store double 0.000000e+00, ptr %3, align 8
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %15, %1
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %18
9: ; preds = %5
%10 = load i32, ptr %4, align 4
%11 = call i64 @log(i32 noundef %10)
%12 = sitofp i64 %11 to double
%13 = load double, ptr %3, align 8
%14 = fadd double %13, %12
store double %14, ptr %3, align 8
br label %15
15: ; preds = %9
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
br label %5, !llvm.loop !6
18: ; preds = %5
%19 = load double, ptr %3, align 8
ret double %19
}
declare i64 @log(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/tmpmenv3xr5.c"
target datalayout = "e-m:e-p270:32:32-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 @log_factorial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store double 0.000000e+00, ptr %3, align 8
store i32 1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %14
%9 = load i32, ptr %4, align 4
%10 = call i64 @log(i32 noundef %9)
%11 = sitofp i64 %10 to double
%12 = load double, ptr %3, align 8
%13 = fadd double %12, %11
store double %13, ptr %3, align 8
br label %14
14: ; preds = %8
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %1
%21 = load double, ptr %3, align 8
ret double %21
}
declare i64 @log(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/tmpskyn4n2o.c'
source_filename = "/tmp/tmpskyn4n2o.c"
target datalayout = "e-m:e-p270:32:32-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 @__glColorTableParameteriv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__glColorTableParameterfv_size(i32 noundef %3)
ret i32 %4
}
declare i32 @__glColorTableParameterfv_size(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/tmpskyn4n2o.c"
target datalayout = "e-m:e-p270:32:32-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 @__glColorTableParameteriv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__glColorTableParameterfv_size(i32 noundef %3)
ret i32 %4
}
declare i32 @__glColorTableParameterfv_size(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_iqrjbbw.c'
source_filename = "/tmp/tmp_iqrjbbw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"The weight is: %f \0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"The time to cook your %flb turkey, is: %f minues \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 float, align 4
%7 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0x402C666660000000, ptr %6, align 4
%8 = load float, ptr %6, align 4
%9 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %8)
%10 = load float, ptr %6, align 4
%11 = fpext float %10 to double
%12 = call double @llvm.fmuladd.f64(double 1.500000e+01, double %11, double 1.500000e+01)
%13 = fptrunc double %12 to float
store float %13, ptr %7, align 4
%14 = load float, ptr %6, align 4
%15 = load float, ptr %7, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %14, double noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_iqrjbbw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"The weight is: %f \0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"The time to cook your %flb turkey, is: %f minues \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 float, align 4
%7 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0x402C666660000000, ptr %6, align 4
%8 = load float, ptr %6, align 4
%9 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %8)
%10 = load float, ptr %6, align 4
%11 = fpext float %10 to double
%12 = call double @llvm.fmuladd.f64(double 1.500000e+01, double %11, double 1.500000e+01)
%13 = fptrunc double %12 to float
store float %13, ptr %7, align 4
%14 = load float, ptr %6, align 4
%15 = load float, ptr %7, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %14, double noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg8c1zd6q.c'
source_filename = "/tmp/tmpg8c1zd6q.c"
target datalayout = "e-m:e-p270:32:32-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 @_synctex_is_equivalent_file_name(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 i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 0, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 -1, i32 0
ret i32 %10
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8c1zd6q.c"
target datalayout = "e-m:e-p270:32:32-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 @_synctex_is_equivalent_file_name(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 i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 0, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 -1, i32 0
ret i32 %10
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6l5n93h4.c'
source_filename = "/tmp/tmp6l5n93h4.c"
target datalayout = "e-m:e-p270:32:32-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 @cClearConsole() #0 {
%1 = call i32 (...) @ClearConsole()
ret i32 1
}
declare i32 @ClearConsole(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6l5n93h4.c"
target datalayout = "e-m:e-p270:32:32-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 @cClearConsole() #0 {
%1 = call i32 (...) @ClearConsole()
ret i32 1
}
declare i32 @ClearConsole(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq4utkb3n.c'
source_filename = "/tmp/tmpq4utkb3n.c"
target datalayout = "e-m:e-p270:32:32-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 @exiterr() #0 {
%1 = call i32 (...) @tempunlink()
%2 = call i32 @_exit(i32 noundef 2) #3
unreachable
}
declare i32 @tempunlink(...) #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/tmpq4utkb3n.c"
target datalayout = "e-m:e-p270:32:32-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 @exiterr() #0 {
%1 = call i32 (...) @tempunlink()
%2 = call i32 @_exit(i32 noundef 2) #3
unreachable
}
declare i32 @tempunlink(...) #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/tmpbg8u7yun.c'
source_filename = "/tmp/tmpbg8u7yun.c"
target datalayout = "e-m:e-p270: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/tmpbg8u7yun.c"
target datalayout = "e-m:e-p270: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/tmper4f8pp9.c'
source_filename = "/tmp/tmper4f8pp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Unexpected token %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errorUnexpectedToken(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @GetTokenName(i32 noundef %3)
%5 = call i32 @error(ptr noundef @.str, i32 noundef %4)
ret void
}
declare i32 @error(ptr noundef, i32 noundef) #1
declare i32 @GetTokenName(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/tmper4f8pp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Unexpected token %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errorUnexpectedToken(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @GetTokenName(i32 noundef %3)
%5 = call i32 @error(ptr noundef @.str, i32 noundef %4)
ret void
}
declare i32 @error(ptr noundef, i32 noundef) #1
declare i32 @GetTokenName(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/tmp8_o3trld.c'
source_filename = "/tmp/tmp8_o3trld.c"
target datalayout = "e-m:e-p270:32:32-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 @conversion(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [3 x i8], align 1
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i8 %3, ptr %9, align 1
store ptr null, ptr %13, align 8
store ptr null, ptr %14, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %13, align 8
%22 = call i64 @malloc(i32 noundef 1)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %14, align 8
%24 = load ptr, ptr %13, align 8
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %6, align 8
%27 = call i32 @fread(ptr noundef %24, i32 noundef 1, i32 noundef %25, ptr noundef %26)
store i32 %27, ptr %11, align 4
%28 = load i32, ptr %11, align 4
%29 = icmp sle i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %4
store i32 2, ptr %5, align 4
br label %129
31: ; preds = %4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31
store i32 2, ptr %5, align 4
br label %129
36: ; preds = %31
%37 = load ptr, ptr %14, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @fread(ptr noundef %37, i32 noundef 1, i32 noundef 1, ptr noundef %38)
store i32 %39, ptr %11, align 4
%40 = load ptr, ptr %14, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 0
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %36
store i32 2, ptr %5, align 4
br label %129
46: ; preds = %36
store i32 0, ptr %10, align 4
br label %47
47: ; preds = %121, %46
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %124
51: ; preds = %47
%52 = load i8, ptr %9, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 108
br i1 %54, label %55, label %82
55: ; preds = %51
%56 = load ptr, ptr %13, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = mul nsw i32 %61, 21
%63 = load ptr, ptr %13, align 8
%64 = load i32, ptr %10, align 4
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
%68 = load i8, ptr %67, align 1
%69 = zext i8 %68 to i32
%70 = mul nsw i32 %69, 71
%71 = add nsw i32 %62, %70
%72 = load ptr, ptr %13, align 8
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, 2
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = mul nsw i32 %78, 8
%80 = add nsw i32 %71, %79
%81 = sdiv i32 %80, 100
store i32 %81, ptr %12, align 4
br label %106
82: ; preds = %51
%83 = load ptr, ptr %13, align 8
%84 = load i32, ptr %10, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i32
%89 = load ptr, ptr %13, align 8
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
%94 = load i8, ptr %93, align 1
%95 = zext i8 %94 to i32
%96 = add nsw i32 %88, %95
%97 = load ptr, ptr %13, align 8
%98 = load i32, ptr %10, align 4
%99 = add nsw i32 %98, 2
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %97, i64 %100
%102 = load i8, ptr %101, align 1
%103 = zext i8 %102 to i32
%104 = add nsw i32 %96, %103
%105 = sdiv i32 %104, 3
store i32 %105, ptr %12, align 4
br label %106
106: ; preds = %82, %55
%107 = load i32, ptr %12, align 4
%108 = trunc i32 %107 to i8
%109 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 0
store i8 %108, ptr %109, align 1
%110 = load i32, ptr %12, align 4
%111 = trunc i32 %110 to i8
%112 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 1
store i8 %111, ptr %112, align 1
%113 = load i32, ptr %12, align 4
%114 = trunc i32 %113 to i8
%115 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 2
store i8 %114, ptr %115, align 1
%116 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 0
%117 = load ptr, ptr %7, align 8
%118 = call i32 @fwrite(ptr noundef %116, i32 noundef 1, i32 noundef 3, ptr noundef %117)
%119 = load i32, ptr %10, align 4
%120 = add nsw i32 %119, 2
store i32 %120, ptr %10, align 4
br label %121
121: ; preds = %106
%122 = load i32, ptr %10, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %10, align 4
br label %47, !llvm.loop !6
124: ; preds = %47
%125 = load ptr, ptr %13, align 8
%126 = call i32 @free(ptr noundef %125)
%127 = load ptr, ptr %14, align 8
%128 = call i32 @free(ptr noundef %127)
store i32 0, ptr %5, align 4
br label %129
129: ; preds = %124, %45, %35, %30
%130 = load i32, ptr %5, align 4
ret i32 %130
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8_o3trld.c"
target datalayout = "e-m:e-p270:32:32-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 @conversion(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [3 x i8], align 1
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i8 %3, ptr %9, align 1
store ptr null, ptr %13, align 8
store ptr null, ptr %14, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 1
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %13, align 8
%22 = call i64 @malloc(i32 noundef 1)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %14, align 8
%24 = load ptr, ptr %13, align 8
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %6, align 8
%27 = call i32 @fread(ptr noundef %24, i32 noundef 1, i32 noundef %25, ptr noundef %26)
store i32 %27, ptr %11, align 4
%28 = load i32, ptr %11, align 4
%29 = icmp sle i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %4
store i32 2, ptr %5, align 4
br label %131
31: ; preds = %4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31
store i32 2, ptr %5, align 4
br label %131
36: ; preds = %31
%37 = load ptr, ptr %14, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @fread(ptr noundef %37, i32 noundef 1, i32 noundef 1, ptr noundef %38)
store i32 %39, ptr %11, align 4
%40 = load ptr, ptr %14, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 0
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %36
store i32 2, ptr %5, align 4
br label %131
46: ; preds = %36
store i32 0, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph, label %126
.lr.ph: ; preds = %46
br label %50
50: ; preds = %.lr.ph, %120
%51 = load i8, ptr %9, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 108
br i1 %53, label %54, label %81
54: ; preds = %50
%55 = load ptr, ptr %13, align 8
%56 = load i32, ptr %10, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = zext i8 %59 to i32
%61 = mul nsw i32 %60, 21
%62 = load ptr, ptr %13, align 8
%63 = load i32, ptr %10, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
%67 = load i8, ptr %66, align 1
%68 = zext i8 %67 to i32
%69 = mul nsw i32 %68, 71
%70 = add nsw i32 %61, %69
%71 = load ptr, ptr %13, align 8
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, 2
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %71, i64 %74
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = mul nsw i32 %77, 8
%79 = add nsw i32 %70, %78
%80 = sdiv i32 %79, 100
store i32 %80, ptr %12, align 4
br label %105
81: ; preds = %50
%82 = load ptr, ptr %13, align 8
%83 = load i32, ptr %10, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = zext i8 %86 to i32
%88 = load ptr, ptr %13, align 8
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %88, i64 %91
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = add nsw i32 %87, %94
%96 = load ptr, ptr %13, align 8
%97 = load i32, ptr %10, align 4
%98 = add nsw i32 %97, 2
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %96, i64 %99
%101 = load i8, ptr %100, align 1
%102 = zext i8 %101 to i32
%103 = add nsw i32 %95, %102
%104 = sdiv i32 %103, 3
store i32 %104, ptr %12, align 4
br label %105
105: ; preds = %81, %54
%106 = load i32, ptr %12, align 4
%107 = trunc i32 %106 to i8
%108 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 0
store i8 %107, ptr %108, align 1
%109 = load i32, ptr %12, align 4
%110 = trunc i32 %109 to i8
%111 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 1
store i8 %110, ptr %111, align 1
%112 = load i32, ptr %12, align 4
%113 = trunc i32 %112 to i8
%114 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 2
store i8 %113, ptr %114, align 1
%115 = getelementptr inbounds [3 x i8], ptr %15, i64 0, i64 0
%116 = load ptr, ptr %7, align 8
%117 = call i32 @fwrite(ptr noundef %115, i32 noundef 1, i32 noundef 3, ptr noundef %116)
%118 = load i32, ptr %10, align 4
%119 = add nsw i32 %118, 2
store i32 %119, ptr %10, align 4
br label %120
120: ; preds = %105
%121 = load i32, ptr %10, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %10, align 4
%123 = load i32, ptr %10, align 4
%124 = load i32, ptr %8, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %120
br label %126
126: ; preds = %._crit_edge, %46
%127 = load ptr, ptr %13, align 8
%128 = call i32 @free(ptr noundef %127)
%129 = load ptr, ptr %14, align 8
%130 = call i32 @free(ptr noundef %129)
store i32 0, ptr %5, align 4
br label %131
131: ; preds = %126, %45, %35, %30
%132 = load i32, ptr %5, align 4
ret i32 %132
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4k5ad4ou.c'
source_filename = "/tmp/tmp4k5ad4ou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_doubleton_homogenous(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 ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = icmp eq ptr %5, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4k5ad4ou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_doubleton_homogenous(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 ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = icmp eq ptr %5, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbvang7ce.c'
source_filename = "/tmp/tmpbvang7ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"de_DE.UTF-8\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"ja_JP.EUC-JP\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 @LC_ALL, align 4
%4 = call i32 @setlocale(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @LC_ALL, align 4
%6 = call i32 @setlocale(i32 noundef %5, ptr noundef null)
%7 = call i32 @check_ascii(i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = load i32, ptr @LC_ALL, align 4
%11 = call i32 @setlocale(i32 noundef %10, ptr noundef @.str.1)
%12 = load i32, ptr @LC_ALL, align 4
%13 = call i32 @setlocale(i32 noundef %12, ptr noundef null)
%14 = call i32 @check_ascii(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = or i32 %15, %14
store i32 %16, ptr %2, align 4
%17 = call i32 (...) @utf8_test()
%18 = load i32, ptr %2, align 4
%19 = or i32 %18, %17
store i32 %19, ptr %2, align 4
%20 = load i32, ptr @LC_ALL, align 4
%21 = call i32 @setlocale(i32 noundef %20, ptr noundef @.str.2)
%22 = load i32, ptr @LC_ALL, align 4
%23 = call i32 @setlocale(i32 noundef %22, ptr noundef null)
%24 = call i32 @check_ascii(i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @check_ascii(i32 noundef) #1
declare i32 @utf8_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbvang7ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"de_DE.UTF-8\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"ja_JP.EUC-JP\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 @LC_ALL, align 4
%4 = call i32 @setlocale(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @LC_ALL, align 4
%6 = call i32 @setlocale(i32 noundef %5, ptr noundef null)
%7 = call i32 @check_ascii(i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = load i32, ptr @LC_ALL, align 4
%11 = call i32 @setlocale(i32 noundef %10, ptr noundef @.str.1)
%12 = load i32, ptr @LC_ALL, align 4
%13 = call i32 @setlocale(i32 noundef %12, ptr noundef null)
%14 = call i32 @check_ascii(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = or i32 %15, %14
store i32 %16, ptr %2, align 4
%17 = call i32 (...) @utf8_test()
%18 = load i32, ptr %2, align 4
%19 = or i32 %18, %17
store i32 %19, ptr %2, align 4
%20 = load i32, ptr @LC_ALL, align 4
%21 = call i32 @setlocale(i32 noundef %20, ptr noundef @.str.2)
%22 = load i32, ptr @LC_ALL, align 4
%23 = call i32 @setlocale(i32 noundef %22, ptr noundef null)
%24 = call i32 @check_ascii(i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @check_ascii(i32 noundef) #1
declare i32 @utf8_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm8lt9fca.c'
source_filename = "/tmp/tmpm8lt9fca.c"
target datalayout = "e-m:e-p270: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/tmpm8lt9fca.c"
target datalayout = "e-m:e-p270: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/tmpytah3fij.c'
source_filename = "/tmp/tmpytah3fij.c"
target datalayout = "e-m:e-p270: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/tmpytah3fij.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.