llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmplqlr2ix6.c'
source_filename = "/tmp/tmplqlr2ix6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = icmp eq i64 %4, -2147483648
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @ft_putminint()
br label %34
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = call i32 @ft_putchar(i32 noundef 45)
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %8
%16 = load i32, ptr %2, align 4
%17 = icmp sge i32 %16, 10
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = sdiv i32 %19, 10
call void @ft_putnbr(i32 noundef %20)
%21 = load i32, ptr %2, align 4
%22 = srem i32 %21, 10
%23 = add nsw i32 %22, 48
%24 = call i32 @ft_putchar(i32 noundef %23)
br label %25
25: ; preds = %18, %15
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 10
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = srem i32 %29, 10
%31 = add nsw i32 %30, 48
%32 = call i32 @ft_putchar(i32 noundef %31)
br label %33
33: ; preds = %28, %25
br label %34
34: ; preds = %33, %6
ret void
}
declare i32 @ft_putminint(...) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplqlr2ix6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = icmp eq i64 %4, -2147483648
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @ft_putminint()
br label %34
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = call i32 @ft_putchar(i32 noundef 45)
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %8
%16 = load i32, ptr %2, align 4
%17 = icmp sge i32 %16, 10
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = sdiv i32 %19, 10
call void @ft_putnbr(i32 noundef %20)
%21 = load i32, ptr %2, align 4
%22 = srem i32 %21, 10
%23 = add nsw i32 %22, 48
%24 = call i32 @ft_putchar(i32 noundef %23)
br label %25
25: ; preds = %18, %15
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 10
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = srem i32 %29, 10
%31 = add nsw i32 %30, 48
%32 = call i32 @ft_putchar(i32 noundef %31)
br label %33
33: ; preds = %28, %25
br label %34
34: ; preds = %33, %6
ret void
}
declare i32 @ft_putminint(...) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptlaswozl.c'
source_filename = "/tmp/tmptlaswozl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 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/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Integer square root of 6152 should be 78\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_6152() #0 {
%1 = call i32 @isqrt(i32 noundef 6152)
%2 = icmp eq i32 %1, 78
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1400, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmptlaswozl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 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/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Integer square root of 6152 should be 78\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_6152() #0 {
%1 = call i32 @isqrt(i32 noundef 6152)
%2 = icmp eq i32 %1, 78
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1400, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpzmjn2m70.c'
source_filename = "/tmp/tmpzmjn2m70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"char\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"hh\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"h\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"long long\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"ll\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"l\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [33 x i8] c"*** I don't understand type %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @findformat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %33
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %8
store ptr @.str.3, ptr %2, align 8
br label %33
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str.4)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store ptr @.str.5, ptr %2, align 8
br label %33
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.6)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %18
store ptr @.str.7, ptr %2, align 8
br label %33
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.8)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23
store ptr @.str.9, ptr %2, align 8
br label %33
28: ; preds = %23
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.10, ptr noundef %30)
%32 = call i32 (...) @abort() #3
unreachable
33: ; preds = %27, %22, %17, %12, %7
%34 = load ptr, ptr %2, align 8
ret ptr %34
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpzmjn2m70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"char\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"hh\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"h\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"long long\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"ll\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"l\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [33 x i8] c"*** I don't understand type %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @findformat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %33
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %8
store ptr @.str.3, ptr %2, align 8
br label %33
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str.4)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store ptr @.str.5, ptr %2, align 8
br label %33
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.6)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %18
store ptr @.str.7, ptr %2, align 8
br label %33
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.8)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23
store ptr @.str.9, ptr %2, align 8
br label %33
28: ; preds = %23
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.10, ptr noundef %30)
%32 = call i32 (...) @abort() #3
unreachable
33: ; preds = %27, %22, %17, %12, %7
%34 = load ptr, ptr %2, align 8
ret ptr %34
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpfmc2i7to.c'
source_filename = "/tmp/tmpfmc2i7to.c"
target datalayout = "e-m:e-p270: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
@EINVAL = dso_local global i32 0, align 4
@ENOBUFS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_directory_and_base_name(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%16 = load i32, ptr @PATH_MAX, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %12, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %13, align 8
%20 = load ptr, ptr %11, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %5
%23 = load i32, ptr @EINVAL, align 4
store i32 %23, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
24: ; preds = %5
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i64, ptr %8, align 8
%29 = icmp ult i64 %28, 1
br i1 %29, label %30, label %32
30: ; preds = %27, %24
%31 = load i32, ptr @ENOBUFS, align 4
store i32 %31, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
32: ; preds = %27
%33 = load ptr, ptr %9, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i64, ptr %10, align 8
%37 = icmp ult i64 %36, 1
br i1 %37, label %38, label %40
38: ; preds = %35, %32
%39 = load i32, ptr @ENOBUFS, align 4
store i32 %39, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
40: ; preds = %35
%41 = load ptr, ptr %11, align 8
%42 = call i32 @strncpy(ptr noundef %19, ptr noundef %41, i64 noundef %17)
%43 = sub i64 %17, 1
%44 = getelementptr inbounds i8, ptr %19, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = load i32, ptr @ENOBUFS, align 4
store i32 %49, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
50: ; preds = %40
%51 = load ptr, ptr %9, align 8
%52 = call ptr @basename(ptr noundef %19)
%53 = load i64, ptr %10, align 8
%54 = call i32 @strncpy(ptr noundef %51, ptr noundef %52, i64 noundef %53)
%55 = load ptr, ptr %9, align 8
%56 = load i64, ptr %10, align 8
%57 = sub i64 %56, 1
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %50
%63 = load i32, ptr @ENOBUFS, align 4
store i32 %63, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
64: ; preds = %50
%65 = load ptr, ptr %11, align 8
%66 = call i32 @strncpy(ptr noundef %19, ptr noundef %65, i64 noundef %17)
%67 = sub i64 %17, 1
%68 = getelementptr inbounds i8, ptr %19, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %64
%73 = load i32, ptr @ENOBUFS, align 4
store i32 %73, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
74: ; preds = %64
%75 = load ptr, ptr %7, align 8
%76 = call ptr @dirname(ptr noundef %19)
%77 = load i64, ptr %8, align 8
%78 = call i32 @strncpy(ptr noundef %75, ptr noundef %76, i64 noundef %77)
%79 = load ptr, ptr %7, align 8
%80 = load i64, ptr %8, align 8
%81 = sub i64 %80, 1
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %74
%87 = load i32, ptr @ENOBUFS, align 4
store i32 %87, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
88: ; preds = %74
%89 = load ptr, ptr %7, align 8
%90 = load i64, ptr %8, align 8
%91 = call i32 @dot_to_absolute(ptr noundef %89, i64 noundef %90)
store i32 %91, ptr %14, align 4
%92 = load i32, ptr %14, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %96
94: ; preds = %88
%95 = load i32, ptr %14, align 4
store i32 %95, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
96: ; preds = %88
%97 = load ptr, ptr %9, align 8
%98 = call i64 @strcmp(ptr noundef %97, ptr noundef @.str)
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %114
100: ; preds = %96
%101 = load ptr, ptr %9, align 8
%102 = load i64, ptr %10, align 8
%103 = call i32 @strncpy(ptr noundef %101, ptr noundef @.str.1, i64 noundef %102)
%104 = load ptr, ptr %9, align 8
%105 = load i64, ptr %10, align 8
%106 = sub i64 %105, 1
%107 = getelementptr inbounds i8, ptr %104, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %113
111: ; preds = %100
%112 = load i32, ptr @ENOBUFS, align 4
store i32 %112, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
113: ; preds = %100
br label %114
114: ; preds = %113, %96
store i32 0, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
115: ; preds = %114, %111, %94, %86, %72, %62, %48, %38, %30, %22
%116 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %116)
%117 = load i32, ptr %6, align 4
ret i32 %117
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2
declare ptr @basename(ptr noundef) #2
declare ptr @dirname(ptr noundef) #2
declare i32 @dot_to_absolute(ptr noundef, i64 noundef) #2
declare i64 @strcmp(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/tmpfmc2i7to.c"
target datalayout = "e-m:e-p270: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
@EINVAL = dso_local global i32 0, align 4
@ENOBUFS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_directory_and_base_name(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%16 = load i32, ptr @PATH_MAX, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %12, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %13, align 8
%20 = load ptr, ptr %11, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %5
%23 = load i32, ptr @EINVAL, align 4
store i32 %23, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
24: ; preds = %5
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i64, ptr %8, align 8
%29 = icmp ult i64 %28, 1
br i1 %29, label %30, label %32
30: ; preds = %27, %24
%31 = load i32, ptr @ENOBUFS, align 4
store i32 %31, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
32: ; preds = %27
%33 = load ptr, ptr %9, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i64, ptr %10, align 8
%37 = icmp ult i64 %36, 1
br i1 %37, label %38, label %40
38: ; preds = %35, %32
%39 = load i32, ptr @ENOBUFS, align 4
store i32 %39, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
40: ; preds = %35
%41 = load ptr, ptr %11, align 8
%42 = call i32 @strncpy(ptr noundef %19, ptr noundef %41, i64 noundef %17)
%43 = sub i64 %17, 1
%44 = getelementptr inbounds i8, ptr %19, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = load i32, ptr @ENOBUFS, align 4
store i32 %49, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
50: ; preds = %40
%51 = load ptr, ptr %9, align 8
%52 = call ptr @basename(ptr noundef %19)
%53 = load i64, ptr %10, align 8
%54 = call i32 @strncpy(ptr noundef %51, ptr noundef %52, i64 noundef %53)
%55 = load ptr, ptr %9, align 8
%56 = load i64, ptr %10, align 8
%57 = sub i64 %56, 1
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %50
%63 = load i32, ptr @ENOBUFS, align 4
store i32 %63, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
64: ; preds = %50
%65 = load ptr, ptr %11, align 8
%66 = call i32 @strncpy(ptr noundef %19, ptr noundef %65, i64 noundef %17)
%67 = sub i64 %17, 1
%68 = getelementptr inbounds i8, ptr %19, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %64
%73 = load i32, ptr @ENOBUFS, align 4
store i32 %73, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
74: ; preds = %64
%75 = load ptr, ptr %7, align 8
%76 = call ptr @dirname(ptr noundef %19)
%77 = load i64, ptr %8, align 8
%78 = call i32 @strncpy(ptr noundef %75, ptr noundef %76, i64 noundef %77)
%79 = load ptr, ptr %7, align 8
%80 = load i64, ptr %8, align 8
%81 = sub i64 %80, 1
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %74
%87 = load i32, ptr @ENOBUFS, align 4
store i32 %87, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
88: ; preds = %74
%89 = load ptr, ptr %7, align 8
%90 = load i64, ptr %8, align 8
%91 = call i32 @dot_to_absolute(ptr noundef %89, i64 noundef %90)
store i32 %91, ptr %14, align 4
%92 = load i32, ptr %14, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %96
94: ; preds = %88
%95 = load i32, ptr %14, align 4
store i32 %95, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
96: ; preds = %88
%97 = load ptr, ptr %9, align 8
%98 = call i64 @strcmp(ptr noundef %97, ptr noundef @.str)
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %114
100: ; preds = %96
%101 = load ptr, ptr %9, align 8
%102 = load i64, ptr %10, align 8
%103 = call i32 @strncpy(ptr noundef %101, ptr noundef @.str.1, i64 noundef %102)
%104 = load ptr, ptr %9, align 8
%105 = load i64, ptr %10, align 8
%106 = sub i64 %105, 1
%107 = getelementptr inbounds i8, ptr %104, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %113
111: ; preds = %100
%112 = load i32, ptr @ENOBUFS, align 4
store i32 %112, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
113: ; preds = %100
br label %114
114: ; preds = %113, %96
store i32 0, ptr %6, align 4
store i32 1, ptr %15, align 4
br label %115
115: ; preds = %114, %111, %94, %86, %72, %62, %48, %38, %30, %22
%116 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %116)
%117 = load i32, ptr %6, align 4
ret i32 %117
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2
declare ptr @basename(ptr noundef) #2
declare ptr @dirname(ptr noundef) #2
declare i32 @dot_to_absolute(ptr noundef, i64 noundef) #2
declare i64 @strcmp(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/tmpe6hio_y4.c'
source_filename = "/tmp/tmpe6hio_y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic_mask_irqs() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %8, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 16
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = call i32 @pic_mask_irq(i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
br label %2, !llvm.loop !6
11: ; preds = %2
ret i32 1
}
declare i32 @pic_mask_irq(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/tmpe6hio_y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic_mask_irqs() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 16
br i1 %3, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %7
%5 = load i32, ptr %1, align 4
%6 = call i32 @pic_mask_irq(i32 noundef %5)
br label %7
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp slt i32 %10, 16
br i1 %11, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
ret i32 1
}
declare i32 @pic_mask_irq(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/tmphql59ryf.c'
source_filename = "/tmp/tmphql59ryf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @database_thread_terminate() #0 {
%1 = call i32 (...) @mysql_thread_end()
ret void
}
declare i32 @mysql_thread_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphql59ryf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @database_thread_terminate() #0 {
%1 = call i32 (...) @mysql_thread_end()
ret void
}
declare i32 @mysql_thread_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbqlmettg.c'
source_filename = "/tmp/tmpbqlmettg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gaussian_number.iset = internal global i32 0, align 4
@gaussian_number.gset = internal global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @gaussian_number() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = load i32, ptr @gaussian_number.iset, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %46
8: ; preds = %0
br label %9
9: ; preds = %30, %8
%10 = call double (...) @mikenet_random()
%11 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %10, double -1.000000e+00)
%12 = fptrunc double %11 to float
store float %12, ptr %4, align 4
%13 = call double (...) @mikenet_random()
%14 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %13, double -1.000000e+00)
%15 = fptrunc double %14 to float
store float %15, ptr %5, align 4
%16 = load float, ptr %4, align 4
%17 = load float, ptr %4, align 4
%18 = load float, ptr %5, align 4
%19 = load float, ptr %5, align 4
%20 = fmul float %18, %19
%21 = call float @llvm.fmuladd.f32(float %16, float %17, float %20)
store float %21, ptr %3, align 4
br label %22
22: ; preds = %9
%23 = load float, ptr %3, align 4
%24 = fpext float %23 to double
%25 = fcmp oge double %24, 1.000000e+00
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load float, ptr %3, align 4
%28 = fpext float %27 to double
%29 = fcmp oeq double %28, 0.000000e+00
br label %30
30: ; preds = %26, %22
%31 = phi i1 [ true, %22 ], [ %29, %26 ]
br i1 %31, label %9, label %32, !llvm.loop !6
32: ; preds = %30
%33 = load float, ptr %3, align 4
%34 = call double @log(float noundef %33)
%35 = fmul double -2.000000e+00, %34
%36 = load float, ptr %3, align 4
%37 = fpext float %36 to double
%38 = fdiv double %35, %37
%39 = call float @sqrt(double noundef %38)
store float %39, ptr %2, align 4
%40 = load float, ptr %4, align 4
%41 = load float, ptr %2, align 4
%42 = fmul float %40, %41
store float %42, ptr @gaussian_number.gset, align 4
store i32 1, ptr @gaussian_number.iset, align 4
%43 = load float, ptr %5, align 4
%44 = load float, ptr %2, align 4
%45 = fmul float %43, %44
store float %45, ptr %1, align 4
br label %48
46: ; preds = %0
store i32 0, ptr @gaussian_number.iset, align 4
%47 = load float, ptr @gaussian_number.gset, align 4
store float %47, ptr %1, align 4
br label %48
48: ; preds = %46, %32
%49 = load float, ptr %1, align 4
ret float %49
}
declare double @mikenet_random(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(double noundef) #1
declare double @log(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbqlmettg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gaussian_number.iset = internal global i32 0, align 4
@gaussian_number.gset = internal global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @gaussian_number() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = load i32, ptr @gaussian_number.iset, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %46
8: ; preds = %0
br label %9
9: ; preds = %30, %8
%10 = call double (...) @mikenet_random()
%11 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %10, double -1.000000e+00)
%12 = fptrunc double %11 to float
store float %12, ptr %4, align 4
%13 = call double (...) @mikenet_random()
%14 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %13, double -1.000000e+00)
%15 = fptrunc double %14 to float
store float %15, ptr %5, align 4
%16 = load float, ptr %4, align 4
%17 = load float, ptr %4, align 4
%18 = load float, ptr %5, align 4
%19 = load float, ptr %5, align 4
%20 = fmul float %18, %19
%21 = call float @llvm.fmuladd.f32(float %16, float %17, float %20)
store float %21, ptr %3, align 4
br label %22
22: ; preds = %9
%23 = load float, ptr %3, align 4
%24 = fpext float %23 to double
%25 = fcmp oge double %24, 1.000000e+00
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load float, ptr %3, align 4
%28 = fpext float %27 to double
%29 = fcmp oeq double %28, 0.000000e+00
br label %30
30: ; preds = %26, %22
%31 = phi i1 [ true, %22 ], [ %29, %26 ]
br i1 %31, label %9, label %32, !llvm.loop !6
32: ; preds = %30
%33 = load float, ptr %3, align 4
%34 = call double @log(float noundef %33)
%35 = fmul double -2.000000e+00, %34
%36 = load float, ptr %3, align 4
%37 = fpext float %36 to double
%38 = fdiv double %35, %37
%39 = call float @sqrt(double noundef %38)
store float %39, ptr %2, align 4
%40 = load float, ptr %4, align 4
%41 = load float, ptr %2, align 4
%42 = fmul float %40, %41
store float %42, ptr @gaussian_number.gset, align 4
store i32 1, ptr @gaussian_number.iset, align 4
%43 = load float, ptr %5, align 4
%44 = load float, ptr %2, align 4
%45 = fmul float %43, %44
store float %45, ptr %1, align 4
br label %48
46: ; preds = %0
store i32 0, ptr @gaussian_number.iset, align 4
%47 = load float, ptr @gaussian_number.gset, align 4
store float %47, ptr %1, align 4
br label %48
48: ; preds = %46, %32
%49 = load float, ptr %1, align 4
ret float %49
}
declare double @mikenet_random(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(double noundef) #1
declare double @log(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1vi1ewh9.c'
source_filename = "/tmp/tmp1vi1ewh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vi1ewh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi3uqej5p.c'
source_filename = "/tmp/tmpi3uqej5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_routine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 30, ptr %3, align 4
%5 = call i32 (...) @getpid()
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %12, %1
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %3, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @sleep(i32 noundef 1)
br label %8, !llvm.loop !6
14: ; preds = %8
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %15, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %15, align 4
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi3uqej5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_routine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 30, ptr %3, align 4
%5 = call i32 (...) @getpid()
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %3, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = call i32 @sleep(i32 noundef 1)
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %3, align 4
%15 = icmp ne i32 %13, 0
br i1 %15, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %17, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %17, align 4
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf71ime6l.c'
source_filename = "/tmp/tmpf71ime6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"listen() failed: %s\0A.\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = load i32, ptr @IPPROTO_TCP, align 4
%6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %1, align 4
br label %26
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = call i64 @listen(i32 noundef %15, i32 noundef 10)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr @stderr, align 4
%20 = load i32, ptr @errno, align 4
%21 = call ptr @strerror(i32 noundef %20)
%22 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, ptr noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %1, align 4
br label %26
24: ; preds = %14
%25 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %25, ptr %1, align 4
br label %26
26: ; preds = %24, %18, %8
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @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/tmpf71ime6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"listen() failed: %s\0A.\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = load i32, ptr @IPPROTO_TCP, align 4
%6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %1, align 4
br label %26
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = call i64 @listen(i32 noundef %15, i32 noundef 10)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr @stderr, align 4
%20 = load i32, ptr @errno, align 4
%21 = call ptr @strerror(i32 noundef %20)
%22 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, ptr noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %1, align 4
br label %26
24: ; preds = %14
%25 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %25, ptr %1, align 4
br label %26
26: ; preds = %24, %18, %8
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @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/tmp4nxv3u68.c'
source_filename = "/tmp/tmp4nxv3u68.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pvSetErrorMode(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @notify_pvcall(ptr noundef @.str)
ret i32 0
}
declare i32 @notify_pvcall(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4nxv3u68.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pvSetErrorMode(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @notify_pvcall(ptr noundef @.str)
ret i32 0
}
declare i32 @notify_pvcall(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzi43k_zn.c'
source_filename = "/tmp/tmpzi43k_zn.c"
target datalayout = "e-m:e-p270: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/tmpzi43k_zn.c"
target datalayout = "e-m:e-p270: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/tmpdw4g8457.c'
source_filename = "/tmp/tmpdw4g8457.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PDC_check_bios_key() #0 {
%1 = call i32 (...) @XCurses_kbhit()
ret i32 %1
}
declare i32 @XCurses_kbhit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdw4g8457.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PDC_check_bios_key() #0 {
%1 = call i32 (...) @XCurses_kbhit()
ret i32 %1
}
declare i32 @XCurses_kbhit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuna2q6n_.c'
source_filename = "/tmp/tmpuna2q6n_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmpuna2q6n_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmpwrqeeaqa.c'
source_filename = "/tmp/tmpwrqeeaqa.c"
target datalayout = "e-m:e-p270: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/tmpwrqeeaqa.c"
target datalayout = "e-m:e-p270: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/tmp10swtlwh.c'
source_filename = "/tmp/tmp10swtlwh.c"
target datalayout = "e-m:e-p270: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/tmp10swtlwh.c"
target datalayout = "e-m:e-p270: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/tmpmd6k80ce.c'
source_filename = "/tmp/tmpmd6k80ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function(i32 noundef 1, i32 noundef 2, i32 noundef 3)
ret i32 0
}
declare i32 @function(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/tmpmd6k80ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function(i32 noundef 1, i32 noundef 2, i32 noundef 3)
ret i32 0
}
declare i32 @function(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/tmporxma63r.c'
source_filename = "/tmp/tmporxma63r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Swagatam ...\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c" CHILD: I will be sending the following\0A\09\22%s\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c" CHILD: Writing to the pipe\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c" CHILD: Existing\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"PARENT: Reading from pipe\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"PARENT: read \22%s\22\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"Is something missing ...?\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca [30 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @pipe(ptr noundef %6)
%8 = call i32 (...) @fork()
%9 = icmp ne i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %0
store ptr @.str, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @write(i32 noundef %15, ptr noundef %16, i32 noundef 8)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
20: ; preds = %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%22 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%23 = load i32, ptr %22, align 4
%24 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%25 = load i32, ptr %4, align 4
%26 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %30
30: ; preds = %20
ret i32 0
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmporxma63r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Swagatam ...\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c" CHILD: I will be sending the following\0A\09\22%s\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c" CHILD: Writing to the pipe\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c" CHILD: Existing\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"PARENT: Reading from pipe\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"PARENT: read \22%s\22\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"Is something missing ...?\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca [30 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @pipe(ptr noundef %6)
%8 = call i32 (...) @fork()
%9 = icmp ne i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %0
store ptr @.str, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @write(i32 noundef %15, ptr noundef %16, i32 noundef 8)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
20: ; preds = %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%22 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%23 = load i32, ptr %22, align 4
%24 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%25 = load i32, ptr %4, align 4
%26 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %30
30: ; preds = %20
ret i32 0
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpa1tp64a1.c'
source_filename = "/tmp/tmpa1tp64a1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 NOT FOUND\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Server: arDroneMiddleware/1.0-mocked\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"<HTML><TITLE>Not Found</TITLE>\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"<BODY><P>The server could not fulfill\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"your request because the resource specified\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"is unavailable or nonexistent.\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"</BODY></HTML>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @not_found(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0)
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr %2, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3)
%27 = load i32, ptr %2, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0)
%32 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0)
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5)
%41 = load i32, ptr %2, align 4
%42 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0)
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.6)
%48 = load i32, ptr %2, align 4
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = call i32 @send(i32 noundef %48, ptr noundef %49, i32 noundef %51, i32 noundef 0)
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.7)
%55 = load i32, ptr %2, align 4
%56 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%58 = call i32 @strlen(ptr noundef %57)
%59 = call i32 @send(i32 noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef 0)
%60 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%61 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.8)
%62 = load i32, ptr %2, align 4
%63 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%64 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%65 = call i32 @strlen(ptr noundef %64)
%66 = call i32 @send(i32 noundef %62, ptr noundef %63, i32 noundef %65, i32 noundef 0)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa1tp64a1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"HTTP/1.0 404 NOT FOUND\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Server: arDroneMiddleware/1.0-mocked\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"<HTML><TITLE>Not Found</TITLE>\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"<BODY><P>The server could not fulfill\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"your request because the resource specified\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"is unavailable or nonexistent.\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"</BODY></HTML>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @not_found(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0)
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr %2, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3)
%27 = load i32, ptr %2, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0)
%32 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0)
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5)
%41 = load i32, ptr %2, align 4
%42 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0)
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.6)
%48 = load i32, ptr %2, align 4
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = call i32 @send(i32 noundef %48, ptr noundef %49, i32 noundef %51, i32 noundef 0)
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.7)
%55 = load i32, ptr %2, align 4
%56 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%58 = call i32 @strlen(ptr noundef %57)
%59 = call i32 @send(i32 noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef 0)
%60 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%61 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.8)
%62 = load i32, ptr %2, align 4
%63 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%64 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%65 = call i32 @strlen(ptr noundef %64)
%66 = call i32 @send(i32 noundef %62, ptr noundef %63, i32 noundef %65, i32 noundef 0)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_ue8oino.c'
source_filename = "/tmp/tmp_ue8oino.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pa_threaded_mainloop_start: nothing to do\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_threaded_mainloop_start(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @empty_log(ptr noundef @.str)
ret i32 0
}
declare i32 @empty_log(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_ue8oino.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pa_threaded_mainloop_start: nothing to do\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_threaded_mainloop_start(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @empty_log(ptr noundef @.str)
ret i32 0
}
declare i32 @empty_log(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgx2ecg_a.c'
source_filename = "/tmp/tmpgx2ecg_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = trunc i32 %8 to i8
store i8 %9, ptr %5, align 1
store i64 0, ptr %6, align 8
store ptr null, ptr %7, align 8
br label %10
10: ; preds = %24, %2
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %6, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr %5, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %10
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store ptr %22, ptr %7, align 8
br label %23
23: ; preds = %19, %10
br label %24
24: ; preds = %23
%25 = load ptr, ptr %3, align 8
%26 = load i64, ptr %6, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %25, i64 %26
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %10, label %32, !llvm.loop !6
32: ; preds = %24
%33 = load ptr, ptr %7, align 8
ret ptr %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/tmpgx2ecg_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = trunc i32 %8 to i8
store i8 %9, ptr %5, align 1
store i64 0, ptr %6, align 8
store ptr null, ptr %7, align 8
br label %10
10: ; preds = %24, %2
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %6, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr %5, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %10
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store ptr %22, ptr %7, align 8
br label %23
23: ; preds = %19, %10
br label %24
24: ; preds = %23
%25 = load ptr, ptr %3, align 8
%26 = load i64, ptr %6, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %25, i64 %26
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %10, label %32, !llvm.loop !6
32: ; preds = %24
%33 = load ptr, ptr %7, align 8
ret ptr %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 = '/tmp/tmpao4z9aha.c'
source_filename = "/tmp/tmpao4z9aha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XButtonPressedEvent_y_root(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpao4z9aha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XButtonPressedEvent_y_root(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqrarwgns.c'
source_filename = "/tmp/tmpqrarwgns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dumpdataa(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @dumpdata(ptr noundef %7, i32 noundef %8, ptr noundef %9)
%11 = load i32, ptr %5, align 4
%12 = and i32 %11, 15
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = and i32 %15, 15
%17 = sub nsw i32 16, %16
%18 = load ptr, ptr %6, align 8
%19 = call i32 @dumpzero(i32 noundef %17, ptr noundef %18)
br label %20
20: ; preds = %14, %3
ret void
}
declare i32 @dumpdata(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @dumpzero(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/tmpqrarwgns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dumpdataa(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @dumpdata(ptr noundef %7, i32 noundef %8, ptr noundef %9)
%11 = load i32, ptr %5, align 4
%12 = and i32 %11, 15
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = and i32 %15, 15
%17 = sub nsw i32 16, %16
%18 = load ptr, ptr %6, align 8
%19 = call i32 @dumpzero(i32 noundef %17, ptr noundef %18)
br label %20
20: ; preds = %14, %3
ret void
}
declare i32 @dumpdata(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @dumpzero(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/tmpdrb3zm64.c'
source_filename = "/tmp/tmpdrb3zm64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_time() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call i32 @time(ptr noundef null)
store i32 %4, ptr %2, align 4
%5 = call ptr @gmtime(ptr noundef %2)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @asctime(ptr noundef %6)
store ptr %7, ptr %1, align 8
%8 = load ptr, ptr %1, align 8
%9 = load ptr, ptr %1, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %8, i64 %12
store i8 0, ptr %13, align 1
%14 = load ptr, ptr %1, align 8
ret ptr %14
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdrb3zm64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_time() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call i32 @time(ptr noundef null)
store i32 %4, ptr %2, align 4
%5 = call ptr @gmtime(ptr noundef %2)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @asctime(ptr noundef %6)
store ptr %7, ptr %1, align 8
%8 = load ptr, ptr %1, align 8
%9 = load ptr, ptr %1, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %8, i64 %12
store i8 0, ptr %13, align 1
%14 = load ptr, ptr %1, align 8
ret ptr %14
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyaz_8dqd.c'
source_filename = "/tmp/tmpyaz_8dqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"clientes.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"FAILURE OPENING TXT\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = call i32 @fclose(ptr noundef %15)
%17 = call i32 (...) @initializeLL()
%18 = call i32 (...) @opciones()
%19 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %19
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fclose(ptr noundef) #1
declare i32 @initializeLL(...) #1
declare i32 @opciones(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpyaz_8dqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"clientes.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"FAILURE OPENING TXT\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = call i32 @fclose(ptr noundef %15)
%17 = call i32 (...) @initializeLL()
%18 = call i32 (...) @opciones()
%19 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %19
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fclose(ptr noundef) #1
declare i32 @initializeLL(...) #1
declare i32 @opciones(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpfrt24wyy.c'
source_filename = "/tmp/tmpfrt24wyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GetFileLength(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %23
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @ftell(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @fclose(ptr noundef %20)
br label %22
22: ; preds = %13
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %11
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfrt24wyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GetFileLength(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %23
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @ftell(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @fclose(ptr noundef %20)
br label %22
22: ; preds = %13
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %11
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk1k2pazm.c'
source_filename = "/tmp/tmpk1k2pazm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdin, align 4
%3 = call i32 @parse(i32 noundef %2)
%4 = sub nsw i32 0, %3
ret i32 %4
}
declare i32 @parse(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/tmpk1k2pazm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdin, align 4
%3 = call i32 @parse(i32 noundef %2)
%4 = sub nsw i32 0, %3
ret i32 %4
}
declare i32 @parse(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/tmpm48xpgjo.c'
source_filename = "/tmp/tmpm48xpgjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"a = %d, *pa = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testsingle() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = load i32, ptr %1, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
store i32 2, ptr %7, align 4
%8 = load i32, ptr %1, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %10)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm48xpgjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"a = %d, *pa = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testsingle() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = load i32, ptr %1, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
store i32 2, ptr %7, align 4
%8 = load i32, ptr %1, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %10)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwa8q0o7k.c'
source_filename = "/tmp/tmpwa8q0o7k.c"
target datalayout = "e-m:e-p270: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/tmpwa8q0o7k.c"
target datalayout = "e-m:e-p270: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/tmpnam3p0mj.c'
source_filename = "/tmp/tmpnam3p0mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setUp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call ptr (...) @kbs_create()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @readData(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds double, ptr %12, i64 1
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 2
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds double, ptr %18, i64 3
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds double, ptr %21, i64 4
%23 = load double, ptr %22, align 8
%24 = call i32 @kbs_insert_times(ptr noundef %8, double noundef %11, double noundef %14, double noundef %17, double noundef %20, double noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = call i32 @makeFile(ptr noundef %25)
ret void
}
declare ptr @kbs_create(...) #1
declare ptr @readData(ptr noundef) #1
declare i32 @kbs_insert_times(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @makeFile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnam3p0mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setUp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call ptr (...) @kbs_create()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @readData(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds double, ptr %12, i64 1
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 2
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds double, ptr %18, i64 3
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds double, ptr %21, i64 4
%23 = load double, ptr %22, align 8
%24 = call i32 @kbs_insert_times(ptr noundef %8, double noundef %11, double noundef %14, double noundef %17, double noundef %20, double noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = call i32 @makeFile(ptr noundef %25)
ret void
}
declare ptr @kbs_create(...) #1
declare ptr @readData(ptr noundef) #1
declare i32 @kbs_insert_times(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @makeFile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2dpwfe2l.c'
source_filename = "/tmp/tmp2dpwfe2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"#ifndef SFX_CODE\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"#define SFX_CODE\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"#define SFX_CODE_SIZE %dUL\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"#ifndef SFX\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"static unsigned char sfx_code[] = {\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"%d\0A};\0A\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"#endif /* !SFX */\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"#endif /* SFX_CODE */\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [65536 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %63
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %26
20: ; preds = %13
%21 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %6, align 8
%23 = call i32 @fread(ptr noundef %21, i32 noundef 1, i32 noundef 65536, ptr noundef %22)
store i32 %23, ptr %8, align 4
%24 = load ptr, ptr %6, align 8
%25 = call i32 @fclose(ptr noundef %24)
br label %26
26: ; preds = %20, %13
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%29 = load i32, ptr %8, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %9, align 4
br label %33
33: ; preds = %51, %26
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %38, label %54
38: ; preds = %33
%39 = load i32, ptr %9, align 4
%40 = and i32 %39, 31
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %44
44: ; preds = %42, %38
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i32
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %49)
br label %51
51: ; preds = %44
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
br label %33, !llvm.loop !6
54: ; preds = %33
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = zext i8 %58 to i32
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %59)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %54, %12
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2dpwfe2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"#ifndef SFX_CODE\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"#define SFX_CODE\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"#define SFX_CODE_SIZE %dUL\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"#ifndef SFX\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"static unsigned char sfx_code[] = {\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"%d\0A};\0A\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"#endif /* !SFX */\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"#endif /* SFX_CODE */\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [65536 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %66
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %26
20: ; preds = %13
%21 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %6, align 8
%23 = call i32 @fread(ptr noundef %21, i32 noundef 1, i32 noundef 65536, ptr noundef %22)
store i32 %23, ptr %8, align 4
%24 = load ptr, ptr %6, align 8
%25 = call i32 @fclose(ptr noundef %24)
br label %26
26: ; preds = %20, %13
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%29 = load i32, ptr %8, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %33, %35
br i1 %36, label %.lr.ph, label %57
.lr.ph: ; preds = %26
br label %37
37: ; preds = %.lr.ph, %50
%38 = load i32, ptr %9, align 4
%39 = and i32 %38, 31
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %43
43: ; preds = %41, %37
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = zext i8 %47 to i32
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %48)
br label %50
50: ; preds = %43
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %8, align 4
%55 = sub nsw i32 %54, 1
%56 = icmp slt i32 %53, %55
br i1 %56, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %57
57: ; preds = %._crit_edge, %26
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 %59
%61 = load i8, ptr %60, align 1
%62 = zext i8 %61 to i32
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %62)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %57, %12
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptofvi7aq.c'
source_filename = "/tmp/tmptofvi7aq.c"
target datalayout = "e-m:e-p270: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/tmptofvi7aq.c"
target datalayout = "e-m:e-p270: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/tmpqdaglwaf.c'
source_filename = "/tmp/tmpqdaglwaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call zeroext i8 (...) @__VERIFIER_nondet_char()
store i8 %4, ptr %2, align 1
%5 = call zeroext i8 (...) @__VERIFIER_nondet_char()
store i8 %5, ptr %3, align 1
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = or i32 %7, 1
%9 = trunc i32 %8 to i8
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = or i32 %11, 1
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
%14 = load i8, ptr %2, align 1
%15 = zext i8 %14 to i32
%16 = shl i32 %15, 7
%17 = trunc i32 %16 to i8
store i8 %17, ptr %2, align 1
%18 = load i8, ptr %3, align 1
%19 = zext i8 %18 to i32
%20 = shl i32 %19, 7
%21 = trunc i32 %20 to i8
store i8 %21, ptr %3, align 1
%22 = load i8, ptr %2, align 1
%23 = zext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %0
br label %33
26: ; preds = %0
%27 = load i8, ptr %2, align 1
%28 = zext i8 %27 to i32
%29 = load i8, ptr %3, align 1
%30 = zext i8 %29 to i32
%31 = icmp ne i32 %28, %30
br i1 %31, label %32, label %34
32: ; preds = %26
br label %33
33: ; preds = %32, %25
store i32 -1, ptr %1, align 4
br label %34
34: ; preds = %33, %26
%35 = load i32, ptr %1, align 4
ret i32 %35
}
declare zeroext i8 @__VERIFIER_nondet_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqdaglwaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call zeroext i8 (...) @__VERIFIER_nondet_char()
store i8 %4, ptr %2, align 1
%5 = call zeroext i8 (...) @__VERIFIER_nondet_char()
store i8 %5, ptr %3, align 1
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = or i32 %7, 1
%9 = trunc i32 %8 to i8
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = or i32 %11, 1
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
%14 = load i8, ptr %2, align 1
%15 = zext i8 %14 to i32
%16 = shl i32 %15, 7
%17 = trunc i32 %16 to i8
store i8 %17, ptr %2, align 1
%18 = load i8, ptr %3, align 1
%19 = zext i8 %18 to i32
%20 = shl i32 %19, 7
%21 = trunc i32 %20 to i8
store i8 %21, ptr %3, align 1
%22 = load i8, ptr %2, align 1
%23 = zext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %0
br label %33
26: ; preds = %0
%27 = load i8, ptr %2, align 1
%28 = zext i8 %27 to i32
%29 = load i8, ptr %3, align 1
%30 = zext i8 %29 to i32
%31 = icmp ne i32 %28, %30
br i1 %31, label %32, label %34
32: ; preds = %26
br label %33
33: ; preds = %32, %25
store i32 -1, ptr %1, align 4
br label %34
34: ; preds = %33, %26
%35 = load i32, ptr %1, align 4
ret i32 %35
}
declare zeroext i8 @__VERIFIER_nondet_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuk92fuho.c'
source_filename = "/tmp/tmpuk92fuho.c"
target datalayout = "e-m:e-p270: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.target_x.coeff = private unnamed_addr constant [17 x float] [float 0x3F06E17600000000, float 0xC0441E18C0000000, float 0x40509D06A0000000, float 0x3FEE4898E0000000, float 0xBFF93F71C0000000, float 0x40071BD360000000, float 0xBFFBBE8700000000, float 0xBFA09DFA40000000, float 0x3FAB9AF820000000, float 0x3F8B8CBE40000000, float 0xBF779774C0000000, float 0x3F9137B8C0000000, float 0xBFA0AB08C0000000, float 0xBF62A71DC0000000, float 0x3FA230BC00000000, float 0xBF93A70500000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_x(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [17 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 16, ptr %7, align 4
store float 0x3FF355ED00000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC03206E980000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %42, align 16
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %43, align 4
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %44, align 8
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031F95820000000, ptr %45, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_x.coeff, i64 68, i1 false)
store i32 0, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %84
48: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %49
49: ; preds = %80, %48
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %83
53: ; preds = %49
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = load i32, ptr %14, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %59
%61 = load float, ptr %60, align 4
%62 = fcmp oeq float %57, %61
br i1 %62, label %63, label %64
63: ; preds = %53
br label %80
64: ; preds = %53
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %66
%68 = load float, ptr %67, align 4
%69 = load i32, ptr %14, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %70
%72 = load float, ptr %71, align 4
%73 = fsub float %68, %72
%74 = fpext float %73 to double
%75 = fdiv double 2.000000e+00, %74
%76 = fptrunc double %75 to float
%77 = load i32, ptr %14, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %78
store float %76, ptr %79, align 4
br label %80
80: ; preds = %64, %63
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
br label %49, !llvm.loop !6
83: ; preds = %49
br label %84
84: ; preds = %83, %3
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds float, ptr %85, i64 0
%87 = load float, ptr %86, align 4
%88 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%89 = load float, ptr %88, align 16
%90 = fsub float %87, %89
%91 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%92 = load float, ptr %91, align 16
%93 = fmul float %90, %92
%94 = fpext float %93 to double
%95 = fadd double 1.000000e+00, %94
%96 = fptrunc double %95 to float
store float %96, ptr %15, align 4
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds float, ptr %97, i64 0
%99 = load float, ptr %98, align 4
%100 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%101 = load float, ptr %100, align 16
%102 = fmul float %99, %101
store float %102, ptr %16, align 4
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds float, ptr %103, i64 1
%105 = load float, ptr %104, align 4
%106 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%107 = load float, ptr %106, align 4
%108 = fsub float %105, %107
%109 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%110 = load float, ptr %109, align 4
%111 = fmul float %108, %110
%112 = fpext float %111 to double
%113 = fadd double 1.000000e+00, %112
%114 = fptrunc double %113 to float
store float %114, ptr %17, align 4
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds float, ptr %115, i64 1
%117 = load float, ptr %116, align 4
%118 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%119 = load float, ptr %118, align 4
%120 = fmul float %117, %119
store float %120, ptr %18, align 4
%121 = load ptr, ptr %4, align 8
%122 = getelementptr inbounds float, ptr %121, i64 2
%123 = load float, ptr %122, align 4
%124 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%125 = load float, ptr %124, align 8
%126 = fsub float %123, %125
%127 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%128 = load float, ptr %127, align 8
%129 = fmul float %126, %128
%130 = fpext float %129 to double
%131 = fadd double 1.000000e+00, %130
%132 = fptrunc double %131 to float
store float %132, ptr %19, align 4
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds float, ptr %133, i64 2
%135 = load float, ptr %134, align 4
%136 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%137 = load float, ptr %136, align 8
%138 = fmul float %135, %137
store float %138, ptr %20, align 4
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds float, ptr %139, i64 3
%141 = load float, ptr %140, align 4
%142 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%143 = load float, ptr %142, align 4
%144 = fsub float %141, %143
%145 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%146 = load float, ptr %145, align 4
%147 = fmul float %144, %146
%148 = fpext float %147 to double
%149 = fadd double 1.000000e+00, %148
%150 = fptrunc double %149 to float
store float %150, ptr %21, align 4
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds float, ptr %151, i64 3
%153 = load float, ptr %152, align 4
%154 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%155 = load float, ptr %154, align 4
%156 = fmul float %153, %155
store float %156, ptr %22, align 4
%157 = load float, ptr %15, align 4
store float %157, ptr %23, align 4
%158 = load float, ptr %23, align 4
%159 = load float, ptr %15, align 4
%160 = fmul float %158, %159
store float %160, ptr %24, align 4
%161 = load float, ptr %24, align 4
%162 = load float, ptr %15, align 4
%163 = fmul float %161, %162
store float %163, ptr %25, align 4
%164 = load float, ptr %25, align 4
%165 = load float, ptr %15, align 4
%166 = fmul float %164, %165
store float %166, ptr %26, align 4
%167 = load float, ptr %17, align 4
store float %167, ptr %27, align 4
%168 = load float, ptr %27, align 4
%169 = load float, ptr %17, align 4
%170 = fmul float %168, %169
store float %170, ptr %28, align 4
%171 = load float, ptr %19, align 4
store float %171, ptr %29, align 4
%172 = load float, ptr %29, align 4
%173 = load float, ptr %19, align 4
%174 = fmul float %172, %173
store float %174, ptr %30, align 4
%175 = load float, ptr %30, align 4
%176 = load float, ptr %19, align 4
%177 = fmul float %175, %176
store float %177, ptr %31, align 4
%178 = load float, ptr %31, align 4
%179 = load float, ptr %19, align 4
%180 = fmul float %178, %179
store float %180, ptr %32, align 4
%181 = load float, ptr %21, align 4
store float %181, ptr %33, align 4
%182 = load float, ptr %33, align 4
%183 = load float, ptr %21, align 4
%184 = fmul float %182, %183
store float %184, ptr %34, align 4
%185 = load float, ptr %8, align 4
%186 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 0
%187 = load float, ptr %186, align 16
%188 = fadd float %185, %187
%189 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%190 = load float, ptr %189, align 4
%191 = load float, ptr %23, align 4
%192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188)
%193 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%194 = load float, ptr %193, align 8
%195 = load float, ptr %29, align 4
%196 = call float @llvm.fmuladd.f32(float %194, float %195, float %192)
%197 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%198 = load float, ptr %197, align 4
%199 = load float, ptr %23, align 4
%200 = fmul float %198, %199
%201 = load float, ptr %27, align 4
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %196)
%203 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%204 = load float, ptr %203, align 16
%205 = load float, ptr %23, align 4
%206 = fmul float %204, %205
%207 = load float, ptr %33, align 4
%208 = call float @llvm.fmuladd.f32(float %206, float %207, float %202)
%209 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%210 = load float, ptr %209, align 4
%211 = load float, ptr %29, align 4
%212 = fmul float %210, %211
%213 = load float, ptr %33, align 4
%214 = call float @llvm.fmuladd.f32(float %212, float %213, float %208)
%215 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%216 = load float, ptr %215, align 8
%217 = load float, ptr %27, align 4
%218 = fmul float %216, %217
%219 = load float, ptr %29, align 4
%220 = call float @llvm.fmuladd.f32(float %218, float %219, float %214)
%221 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%222 = load float, ptr %221, align 4
%223 = load float, ptr %27, align 4
%224 = call float @llvm.fmuladd.f32(float %222, float %223, float %220)
store float %224, ptr %35, align 4
%225 = load float, ptr %35, align 4
%226 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%227 = load float, ptr %226, align 16
%228 = load float, ptr %33, align 4
%229 = call float @llvm.fmuladd.f32(float %227, float %228, float %225)
%230 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%231 = load float, ptr %230, align 4
%232 = load float, ptr %29, align 4
%233 = fmul float %231, %232
%234 = load float, ptr %34, align 4
%235 = call float @llvm.fmuladd.f32(float %233, float %234, float %229)
%236 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%237 = load float, ptr %236, align 8
%238 = load float, ptr %23, align 4
%239 = fmul float %237, %238
%240 = load float, ptr %28, align 4
%241 = call float @llvm.fmuladd.f32(float %239, float %240, float %235)
%242 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%243 = load float, ptr %242, align 4
%244 = load float, ptr %23, align 4
%245 = fmul float %243, %244
%246 = load float, ptr %30, align 4
%247 = call float @llvm.fmuladd.f32(float %245, float %246, float %241)
%248 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%249 = load float, ptr %248, align 16
%250 = load float, ptr %31, align 4
%251 = call float @llvm.fmuladd.f32(float %249, float %250, float %247)
%252 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%253 = load float, ptr %252, align 4
%254 = load float, ptr %27, align 4
%255 = fmul float %253, %254
%256 = load float, ptr %31, align 4
%257 = call float @llvm.fmuladd.f32(float %255, float %256, float %251)
%258 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%259 = load float, ptr %258, align 8
%260 = load float, ptr %23, align 4
%261 = fmul float %259, %260
%262 = load float, ptr %32, align 4
%263 = call float @llvm.fmuladd.f32(float %261, float %262, float %257)
%264 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%265 = load float, ptr %264, align 4
%266 = load float, ptr %26, align 4
%267 = fmul float %265, %266
%268 = load float, ptr %31, align 4
%269 = call float @llvm.fmuladd.f32(float %267, float %268, float %263)
store float %269, ptr %35, align 4
%270 = load float, ptr %16, align 4
%271 = fadd float 0.000000e+00, %270
%272 = load float, ptr %18, align 4
%273 = fadd float %271, %272
%274 = load float, ptr %20, align 4
%275 = fadd float %273, %274
%276 = load float, ptr %22, align 4
%277 = fadd float %275, %276
store float %277, ptr %36, align 4
%278 = load float, ptr %36, align 4
%279 = fcmp oeq float %278, 0.000000e+00
br i1 %279, label %280, label %281
280: ; preds = %84
br label %421
281: ; preds = %84
%282 = load float, ptr %16, align 4
%283 = load float, ptr %16, align 4
%284 = fmul float %282, %283
%285 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%286 = load float, ptr %285, align 4
%287 = fadd float 0.000000e+00, %286
%288 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%289 = load float, ptr %288, align 4
%290 = load float, ptr %27, align 4
%291 = call float @llvm.fmuladd.f32(float %289, float %290, float %287)
%292 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%293 = load float, ptr %292, align 16
%294 = load float, ptr %33, align 4
%295 = call float @llvm.fmuladd.f32(float %293, float %294, float %291)
%296 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%297 = load float, ptr %296, align 8
%298 = load float, ptr %28, align 4
%299 = call float @llvm.fmuladd.f32(float %297, float %298, float %295)
%300 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%301 = load float, ptr %300, align 4
%302 = load float, ptr %30, align 4
%303 = call float @llvm.fmuladd.f32(float %301, float %302, float %299)
%304 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%305 = load float, ptr %304, align 8
%306 = load float, ptr %32, align 4
%307 = call float @llvm.fmuladd.f32(float %305, float %306, float %303)
%308 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%309 = load float, ptr %308, align 4
%310 = fmul float 4.000000e+00, %309
%311 = load float, ptr %25, align 4
%312 = fmul float %310, %311
%313 = load float, ptr %31, align 4
%314 = call float @llvm.fmuladd.f32(float %312, float %313, float %307)
%315 = call float @pow(float noundef %314, i32 noundef 2)
%316 = load float, ptr %18, align 4
%317 = load float, ptr %18, align 4
%318 = fmul float %316, %317
%319 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%320 = load float, ptr %319, align 4
%321 = load float, ptr %23, align 4
%322 = call float @llvm.fmuladd.f32(float %320, float %321, float 0.000000e+00)
%323 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%324 = load float, ptr %323, align 8
%325 = load float, ptr %29, align 4
%326 = call float @llvm.fmuladd.f32(float %324, float %325, float %322)
%327 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%328 = load float, ptr %327, align 4
%329 = fadd float %326, %328
%330 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%331 = load float, ptr %330, align 8
%332 = fmul float 2.000000e+00, %331
%333 = load float, ptr %27, align 4
%334 = fmul float %332, %333
%335 = load float, ptr %23, align 4
%336 = call float @llvm.fmuladd.f32(float %334, float %335, float %329)
%337 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%338 = load float, ptr %337, align 4
%339 = load float, ptr %31, align 4
%340 = call float @llvm.fmuladd.f32(float %338, float %339, float %336)
%341 = call float @pow(float noundef %340, i32 noundef 2)
%342 = fmul float %318, %341
%343 = call float @llvm.fmuladd.f32(float %284, float %315, float %342)
%344 = load float, ptr %20, align 4
%345 = load float, ptr %20, align 4
%346 = fmul float %344, %345
%347 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%348 = load float, ptr %347, align 8
%349 = fadd float 0.000000e+00, %348
%350 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%351 = load float, ptr %350, align 4
%352 = load float, ptr %33, align 4
%353 = call float @llvm.fmuladd.f32(float %351, float %352, float %349)
%354 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%355 = load float, ptr %354, align 8
%356 = load float, ptr %27, align 4
%357 = call float @llvm.fmuladd.f32(float %355, float %356, float %353)
%358 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%359 = load float, ptr %358, align 4
%360 = load float, ptr %34, align 4
%361 = call float @llvm.fmuladd.f32(float %359, float %360, float %357)
%362 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%363 = load float, ptr %362, align 4
%364 = fmul float 2.000000e+00, %363
%365 = load float, ptr %29, align 4
%366 = fmul float %364, %365
%367 = load float, ptr %23, align 4
%368 = call float @llvm.fmuladd.f32(float %366, float %367, float %361)
%369 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%370 = load float, ptr %369, align 16
%371 = fmul float 3.000000e+00, %370
%372 = load float, ptr %30, align 4
%373 = call float @llvm.fmuladd.f32(float %371, float %372, float %368)
%374 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%375 = load float, ptr %374, align 4
%376 = fmul float 3.000000e+00, %375
%377 = load float, ptr %30, align 4
%378 = fmul float %376, %377
%379 = load float, ptr %27, align 4
%380 = call float @llvm.fmuladd.f32(float %378, float %379, float %373)
%381 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%382 = load float, ptr %381, align 8
%383 = fmul float 4.000000e+00, %382
%384 = load float, ptr %31, align 4
%385 = fmul float %383, %384
%386 = load float, ptr %23, align 4
%387 = call float @llvm.fmuladd.f32(float %385, float %386, float %380)
%388 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%389 = load float, ptr %388, align 4
%390 = fmul float 3.000000e+00, %389
%391 = load float, ptr %30, align 4
%392 = fmul float %390, %391
%393 = load float, ptr %26, align 4
%394 = call float @llvm.fmuladd.f32(float %392, float %393, float %387)
%395 = call float @pow(float noundef %394, i32 noundef 2)
%396 = call float @llvm.fmuladd.f32(float %346, float %395, float %343)
%397 = load float, ptr %22, align 4
%398 = load float, ptr %22, align 4
%399 = fmul float %397, %398
%400 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%401 = load float, ptr %400, align 16
%402 = load float, ptr %23, align 4
%403 = call float @llvm.fmuladd.f32(float %401, float %402, float 0.000000e+00)
%404 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%405 = load float, ptr %404, align 4
%406 = load float, ptr %29, align 4
%407 = call float @llvm.fmuladd.f32(float %405, float %406, float %403)
%408 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%409 = load float, ptr %408, align 16
%410 = fadd float %407, %409
%411 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%412 = load float, ptr %411, align 4
%413 = fmul float 2.000000e+00, %412
%414 = load float, ptr %33, align 4
%415 = fmul float %413, %414
%416 = load float, ptr %29, align 4
%417 = call float @llvm.fmuladd.f32(float %415, float %416, float %410)
%418 = call float @pow(float noundef %417, i32 noundef 2)
%419 = call float @llvm.fmuladd.f32(float %399, float %418, float %396)
%420 = call float @sqrt(float noundef %419)
br label %421
421: ; preds = %281, %280
%422 = phi float [ 0.000000e+00, %280 ], [ %420, %281 ]
store float %422, ptr %37, align 4
%423 = load float, ptr %37, align 4
%424 = load ptr, ptr %5, align 8
%425 = getelementptr inbounds float, ptr %424, i64 0
store float %423, ptr %425, align 4
%426 = load float, ptr %35, align 4
ret float %426
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuk92fuho.c"
target datalayout = "e-m:e-p270: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.target_x.coeff = private unnamed_addr constant [17 x float] [float 0x3F06E17600000000, float 0xC0441E18C0000000, float 0x40509D06A0000000, float 0x3FEE4898E0000000, float 0xBFF93F71C0000000, float 0x40071BD360000000, float 0xBFFBBE8700000000, float 0xBFA09DFA40000000, float 0x3FAB9AF820000000, float 0x3F8B8CBE40000000, float 0xBF779774C0000000, float 0x3F9137B8C0000000, float 0xBFA0AB08C0000000, float 0xBF62A71DC0000000, float 0x3FA230BC00000000, float 0xBF93A70500000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_x(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [17 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 16, ptr %7, align 4
store float 0x3FF355ED00000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC03206E980000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %42, align 16
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %43, align 4
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %44, align 8
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031F95820000000, ptr %45, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_x.coeff, i64 68, i1 false)
store i32 0, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %86
48: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%49 = load i32, ptr %14, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph, label %85
.lr.ph: ; preds = %48
br label %52
52: ; preds = %.lr.ph, %79
%53 = load i32, ptr %14, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %54
%56 = load float, ptr %55, align 4
%57 = load i32, ptr %14, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %58
%60 = load float, ptr %59, align 4
%61 = fcmp oeq float %56, %60
br i1 %61, label %62, label %63
62: ; preds = %52
br label %79
63: ; preds = %52
%64 = load i32, ptr %14, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %65
%67 = load float, ptr %66, align 4
%68 = load i32, ptr %14, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %69
%71 = load float, ptr %70, align 4
%72 = fsub float %67, %71
%73 = fpext float %72 to double
%74 = fdiv double 2.000000e+00, %73
%75 = fptrunc double %74 to float
%76 = load i32, ptr %14, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %77
store float %75, ptr %78, align 4
br label %79
79: ; preds = %63, %62
%80 = load i32, ptr %14, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %14, align 4
%82 = load i32, ptr %14, align 4
%83 = load i32, ptr %6, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %85
85: ; preds = %._crit_edge, %48
br label %86
86: ; preds = %85, %3
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds float, ptr %87, i64 0
%89 = load float, ptr %88, align 4
%90 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%91 = load float, ptr %90, align 16
%92 = fsub float %89, %91
%93 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%94 = load float, ptr %93, align 16
%95 = fmul float %92, %94
%96 = fpext float %95 to double
%97 = fadd double 1.000000e+00, %96
%98 = fptrunc double %97 to float
store float %98, ptr %15, align 4
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds float, ptr %99, i64 0
%101 = load float, ptr %100, align 4
%102 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%103 = load float, ptr %102, align 16
%104 = fmul float %101, %103
store float %104, ptr %16, align 4
%105 = load ptr, ptr %4, align 8
%106 = getelementptr inbounds float, ptr %105, i64 1
%107 = load float, ptr %106, align 4
%108 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%109 = load float, ptr %108, align 4
%110 = fsub float %107, %109
%111 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%112 = load float, ptr %111, align 4
%113 = fmul float %110, %112
%114 = fpext float %113 to double
%115 = fadd double 1.000000e+00, %114
%116 = fptrunc double %115 to float
store float %116, ptr %17, align 4
%117 = load ptr, ptr %5, align 8
%118 = getelementptr inbounds float, ptr %117, i64 1
%119 = load float, ptr %118, align 4
%120 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%121 = load float, ptr %120, align 4
%122 = fmul float %119, %121
store float %122, ptr %18, align 4
%123 = load ptr, ptr %4, align 8
%124 = getelementptr inbounds float, ptr %123, i64 2
%125 = load float, ptr %124, align 4
%126 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%127 = load float, ptr %126, align 8
%128 = fsub float %125, %127
%129 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%130 = load float, ptr %129, align 8
%131 = fmul float %128, %130
%132 = fpext float %131 to double
%133 = fadd double 1.000000e+00, %132
%134 = fptrunc double %133 to float
store float %134, ptr %19, align 4
%135 = load ptr, ptr %5, align 8
%136 = getelementptr inbounds float, ptr %135, i64 2
%137 = load float, ptr %136, align 4
%138 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%139 = load float, ptr %138, align 8
%140 = fmul float %137, %139
store float %140, ptr %20, align 4
%141 = load ptr, ptr %4, align 8
%142 = getelementptr inbounds float, ptr %141, i64 3
%143 = load float, ptr %142, align 4
%144 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%145 = load float, ptr %144, align 4
%146 = fsub float %143, %145
%147 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%148 = load float, ptr %147, align 4
%149 = fmul float %146, %148
%150 = fpext float %149 to double
%151 = fadd double 1.000000e+00, %150
%152 = fptrunc double %151 to float
store float %152, ptr %21, align 4
%153 = load ptr, ptr %5, align 8
%154 = getelementptr inbounds float, ptr %153, i64 3
%155 = load float, ptr %154, align 4
%156 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%157 = load float, ptr %156, align 4
%158 = fmul float %155, %157
store float %158, ptr %22, align 4
%159 = load float, ptr %15, align 4
store float %159, ptr %23, align 4
%160 = load float, ptr %23, align 4
%161 = load float, ptr %15, align 4
%162 = fmul float %160, %161
store float %162, ptr %24, align 4
%163 = load float, ptr %24, align 4
%164 = load float, ptr %15, align 4
%165 = fmul float %163, %164
store float %165, ptr %25, align 4
%166 = load float, ptr %25, align 4
%167 = load float, ptr %15, align 4
%168 = fmul float %166, %167
store float %168, ptr %26, align 4
%169 = load float, ptr %17, align 4
store float %169, ptr %27, align 4
%170 = load float, ptr %27, align 4
%171 = load float, ptr %17, align 4
%172 = fmul float %170, %171
store float %172, ptr %28, align 4
%173 = load float, ptr %19, align 4
store float %173, ptr %29, align 4
%174 = load float, ptr %29, align 4
%175 = load float, ptr %19, align 4
%176 = fmul float %174, %175
store float %176, ptr %30, align 4
%177 = load float, ptr %30, align 4
%178 = load float, ptr %19, align 4
%179 = fmul float %177, %178
store float %179, ptr %31, align 4
%180 = load float, ptr %31, align 4
%181 = load float, ptr %19, align 4
%182 = fmul float %180, %181
store float %182, ptr %32, align 4
%183 = load float, ptr %21, align 4
store float %183, ptr %33, align 4
%184 = load float, ptr %33, align 4
%185 = load float, ptr %21, align 4
%186 = fmul float %184, %185
store float %186, ptr %34, align 4
%187 = load float, ptr %8, align 4
%188 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 0
%189 = load float, ptr %188, align 16
%190 = fadd float %187, %189
%191 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%192 = load float, ptr %191, align 4
%193 = load float, ptr %23, align 4
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
%195 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%196 = load float, ptr %195, align 8
%197 = load float, ptr %29, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%200 = load float, ptr %199, align 4
%201 = load float, ptr %23, align 4
%202 = fmul float %200, %201
%203 = load float, ptr %27, align 4
%204 = call float @llvm.fmuladd.f32(float %202, float %203, float %198)
%205 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%206 = load float, ptr %205, align 16
%207 = load float, ptr %23, align 4
%208 = fmul float %206, %207
%209 = load float, ptr %33, align 4
%210 = call float @llvm.fmuladd.f32(float %208, float %209, float %204)
%211 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%212 = load float, ptr %211, align 4
%213 = load float, ptr %29, align 4
%214 = fmul float %212, %213
%215 = load float, ptr %33, align 4
%216 = call float @llvm.fmuladd.f32(float %214, float %215, float %210)
%217 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%218 = load float, ptr %217, align 8
%219 = load float, ptr %27, align 4
%220 = fmul float %218, %219
%221 = load float, ptr %29, align 4
%222 = call float @llvm.fmuladd.f32(float %220, float %221, float %216)
%223 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%224 = load float, ptr %223, align 4
%225 = load float, ptr %27, align 4
%226 = call float @llvm.fmuladd.f32(float %224, float %225, float %222)
store float %226, ptr %35, align 4
%227 = load float, ptr %35, align 4
%228 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%229 = load float, ptr %228, align 16
%230 = load float, ptr %33, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float %227)
%232 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%233 = load float, ptr %232, align 4
%234 = load float, ptr %29, align 4
%235 = fmul float %233, %234
%236 = load float, ptr %34, align 4
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %231)
%238 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%239 = load float, ptr %238, align 8
%240 = load float, ptr %23, align 4
%241 = fmul float %239, %240
%242 = load float, ptr %28, align 4
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237)
%244 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%245 = load float, ptr %244, align 4
%246 = load float, ptr %23, align 4
%247 = fmul float %245, %246
%248 = load float, ptr %30, align 4
%249 = call float @llvm.fmuladd.f32(float %247, float %248, float %243)
%250 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%251 = load float, ptr %250, align 16
%252 = load float, ptr %31, align 4
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %249)
%254 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%255 = load float, ptr %254, align 4
%256 = load float, ptr %27, align 4
%257 = fmul float %255, %256
%258 = load float, ptr %31, align 4
%259 = call float @llvm.fmuladd.f32(float %257, float %258, float %253)
%260 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%261 = load float, ptr %260, align 8
%262 = load float, ptr %23, align 4
%263 = fmul float %261, %262
%264 = load float, ptr %32, align 4
%265 = call float @llvm.fmuladd.f32(float %263, float %264, float %259)
%266 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%267 = load float, ptr %266, align 4
%268 = load float, ptr %26, align 4
%269 = fmul float %267, %268
%270 = load float, ptr %31, align 4
%271 = call float @llvm.fmuladd.f32(float %269, float %270, float %265)
store float %271, ptr %35, align 4
%272 = load float, ptr %16, align 4
%273 = fadd float 0.000000e+00, %272
%274 = load float, ptr %18, align 4
%275 = fadd float %273, %274
%276 = load float, ptr %20, align 4
%277 = fadd float %275, %276
%278 = load float, ptr %22, align 4
%279 = fadd float %277, %278
store float %279, ptr %36, align 4
%280 = load float, ptr %36, align 4
%281 = fcmp oeq float %280, 0.000000e+00
br i1 %281, label %282, label %283
282: ; preds = %86
br label %423
283: ; preds = %86
%284 = load float, ptr %16, align 4
%285 = load float, ptr %16, align 4
%286 = fmul float %284, %285
%287 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%288 = load float, ptr %287, align 4
%289 = fadd float 0.000000e+00, %288
%290 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%291 = load float, ptr %290, align 4
%292 = load float, ptr %27, align 4
%293 = call float @llvm.fmuladd.f32(float %291, float %292, float %289)
%294 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%295 = load float, ptr %294, align 16
%296 = load float, ptr %33, align 4
%297 = call float @llvm.fmuladd.f32(float %295, float %296, float %293)
%298 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%299 = load float, ptr %298, align 8
%300 = load float, ptr %28, align 4
%301 = call float @llvm.fmuladd.f32(float %299, float %300, float %297)
%302 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%303 = load float, ptr %302, align 4
%304 = load float, ptr %30, align 4
%305 = call float @llvm.fmuladd.f32(float %303, float %304, float %301)
%306 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%307 = load float, ptr %306, align 8
%308 = load float, ptr %32, align 4
%309 = call float @llvm.fmuladd.f32(float %307, float %308, float %305)
%310 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%311 = load float, ptr %310, align 4
%312 = fmul float 4.000000e+00, %311
%313 = load float, ptr %25, align 4
%314 = fmul float %312, %313
%315 = load float, ptr %31, align 4
%316 = call float @llvm.fmuladd.f32(float %314, float %315, float %309)
%317 = call float @pow(float noundef %316, i32 noundef 2)
%318 = load float, ptr %18, align 4
%319 = load float, ptr %18, align 4
%320 = fmul float %318, %319
%321 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%322 = load float, ptr %321, align 4
%323 = load float, ptr %23, align 4
%324 = call float @llvm.fmuladd.f32(float %322, float %323, float 0.000000e+00)
%325 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%326 = load float, ptr %325, align 8
%327 = load float, ptr %29, align 4
%328 = call float @llvm.fmuladd.f32(float %326, float %327, float %324)
%329 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%330 = load float, ptr %329, align 4
%331 = fadd float %328, %330
%332 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%333 = load float, ptr %332, align 8
%334 = fmul float 2.000000e+00, %333
%335 = load float, ptr %27, align 4
%336 = fmul float %334, %335
%337 = load float, ptr %23, align 4
%338 = call float @llvm.fmuladd.f32(float %336, float %337, float %331)
%339 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%340 = load float, ptr %339, align 4
%341 = load float, ptr %31, align 4
%342 = call float @llvm.fmuladd.f32(float %340, float %341, float %338)
%343 = call float @pow(float noundef %342, i32 noundef 2)
%344 = fmul float %320, %343
%345 = call float @llvm.fmuladd.f32(float %286, float %317, float %344)
%346 = load float, ptr %20, align 4
%347 = load float, ptr %20, align 4
%348 = fmul float %346, %347
%349 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%350 = load float, ptr %349, align 8
%351 = fadd float 0.000000e+00, %350
%352 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%353 = load float, ptr %352, align 4
%354 = load float, ptr %33, align 4
%355 = call float @llvm.fmuladd.f32(float %353, float %354, float %351)
%356 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%357 = load float, ptr %356, align 8
%358 = load float, ptr %27, align 4
%359 = call float @llvm.fmuladd.f32(float %357, float %358, float %355)
%360 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%361 = load float, ptr %360, align 4
%362 = load float, ptr %34, align 4
%363 = call float @llvm.fmuladd.f32(float %361, float %362, float %359)
%364 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%365 = load float, ptr %364, align 4
%366 = fmul float 2.000000e+00, %365
%367 = load float, ptr %29, align 4
%368 = fmul float %366, %367
%369 = load float, ptr %23, align 4
%370 = call float @llvm.fmuladd.f32(float %368, float %369, float %363)
%371 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%372 = load float, ptr %371, align 16
%373 = fmul float 3.000000e+00, %372
%374 = load float, ptr %30, align 4
%375 = call float @llvm.fmuladd.f32(float %373, float %374, float %370)
%376 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%377 = load float, ptr %376, align 4
%378 = fmul float 3.000000e+00, %377
%379 = load float, ptr %30, align 4
%380 = fmul float %378, %379
%381 = load float, ptr %27, align 4
%382 = call float @llvm.fmuladd.f32(float %380, float %381, float %375)
%383 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%384 = load float, ptr %383, align 8
%385 = fmul float 4.000000e+00, %384
%386 = load float, ptr %31, align 4
%387 = fmul float %385, %386
%388 = load float, ptr %23, align 4
%389 = call float @llvm.fmuladd.f32(float %387, float %388, float %382)
%390 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%391 = load float, ptr %390, align 4
%392 = fmul float 3.000000e+00, %391
%393 = load float, ptr %30, align 4
%394 = fmul float %392, %393
%395 = load float, ptr %26, align 4
%396 = call float @llvm.fmuladd.f32(float %394, float %395, float %389)
%397 = call float @pow(float noundef %396, i32 noundef 2)
%398 = call float @llvm.fmuladd.f32(float %348, float %397, float %345)
%399 = load float, ptr %22, align 4
%400 = load float, ptr %22, align 4
%401 = fmul float %399, %400
%402 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%403 = load float, ptr %402, align 16
%404 = load float, ptr %23, align 4
%405 = call float @llvm.fmuladd.f32(float %403, float %404, float 0.000000e+00)
%406 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%407 = load float, ptr %406, align 4
%408 = load float, ptr %29, align 4
%409 = call float @llvm.fmuladd.f32(float %407, float %408, float %405)
%410 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%411 = load float, ptr %410, align 16
%412 = fadd float %409, %411
%413 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%414 = load float, ptr %413, align 4
%415 = fmul float 2.000000e+00, %414
%416 = load float, ptr %33, align 4
%417 = fmul float %415, %416
%418 = load float, ptr %29, align 4
%419 = call float @llvm.fmuladd.f32(float %417, float %418, float %412)
%420 = call float @pow(float noundef %419, i32 noundef 2)
%421 = call float @llvm.fmuladd.f32(float %401, float %420, float %398)
%422 = call float @sqrt(float noundef %421)
br label %423
423: ; preds = %283, %282
%424 = phi float [ 0.000000e+00, %282 ], [ %422, %283 ]
store float %424, ptr %37, align 4
%425 = load float, ptr %37, align 4
%426 = load ptr, ptr %5, align 8
%427 = getelementptr inbounds float, ptr %426, i64 0
store float %425, ptr %427, align 4
%428 = load float, ptr %35, align 4
ret float %428
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp99cfcvci.c'
source_filename = "/tmp/tmp99cfcvci.c"
target datalayout = "e-m:e-p270: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/tmp99cfcvci.c"
target datalayout = "e-m:e-p270: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/tmpovw_k937.c'
source_filename = "/tmp/tmpovw_k937.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = trunc i32 %3 to i8
%5 = call i32 @VgaTerminalPut(i8 noundef signext %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @VgaTerminalPut(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpovw_k937.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = trunc i32 %3 to i8
%5 = call i32 @VgaTerminalPut(i8 noundef signext %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @VgaTerminalPut(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplzwowhh9.c'
source_filename = "/tmp/tmplzwowhh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_base(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @my_getnbr(ptr noundef %10)
%12 = icmp eq i32 %11, 10
br i1 %12, label %13, label %19
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = call i32 @my_getnbr(ptr noundef %14)
%16 = load ptr, ptr %7, align 8
%17 = call i32 @my_getnbr(ptr noundef %16)
%18 = call ptr @convert_base10(i32 noundef %15, i32 noundef %17)
store ptr %18, ptr %4, align 8
br label %34
19: ; preds = %3
%20 = load ptr, ptr %6, align 8
%21 = call i32 @my_getnbr(ptr noundef %20)
%22 = icmp ne i32 %21, 16
br i1 %22, label %23, label %32
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @my_getnbr(ptr noundef %25)
%27 = call i32 @convert_basex(ptr noundef %24, i32 noundef %26)
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i32 @my_getnbr(ptr noundef %29)
%31 = call ptr @convert_base10(i32 noundef %28, i32 noundef %30)
store ptr %31, ptr %9, align 8
br label %32
32: ; preds = %23, %19
%33 = load ptr, ptr %9, align 8
store ptr %33, ptr %4, align 8
br label %34
34: ; preds = %32, %13
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
declare i32 @my_getnbr(ptr noundef) #1
declare ptr @convert_base10(i32 noundef, i32 noundef) #1
declare i32 @convert_basex(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/tmplzwowhh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_base(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @my_getnbr(ptr noundef %10)
%12 = icmp eq i32 %11, 10
br i1 %12, label %13, label %19
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = call i32 @my_getnbr(ptr noundef %14)
%16 = load ptr, ptr %7, align 8
%17 = call i32 @my_getnbr(ptr noundef %16)
%18 = call ptr @convert_base10(i32 noundef %15, i32 noundef %17)
store ptr %18, ptr %4, align 8
br label %34
19: ; preds = %3
%20 = load ptr, ptr %6, align 8
%21 = call i32 @my_getnbr(ptr noundef %20)
%22 = icmp ne i32 %21, 16
br i1 %22, label %23, label %32
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @my_getnbr(ptr noundef %25)
%27 = call i32 @convert_basex(ptr noundef %24, i32 noundef %26)
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i32 @my_getnbr(ptr noundef %29)
%31 = call ptr @convert_base10(i32 noundef %28, i32 noundef %30)
store ptr %31, ptr %9, align 8
br label %32
32: ; preds = %23, %19
%33 = load ptr, ptr %9, align 8
store ptr %33, ptr %4, align 8
br label %34
34: ; preds = %32, %13
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
declare i32 @my_getnbr(ptr noundef) #1
declare ptr @convert_base10(i32 noundef, i32 noundef) #1
declare i32 @convert_basex(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/tmpz24gn_c0.c'
source_filename = "/tmp/tmpz24gn_c0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Diff: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @performance_tests() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @time(ptr noundef %1)
%4 = call i32 @sleep(i32 noundef 2)
%5 = call i32 @time(ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = call i32 @difftime(i32 noundef %6, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = call i32 (...) @insert_performance()
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @difftime(i32 noundef, i32 noundef) #1
declare i32 @insert_performance(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz24gn_c0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Diff: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @performance_tests() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @time(ptr noundef %1)
%4 = call i32 @sleep(i32 noundef 2)
%5 = call i32 @time(ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = call i32 @difftime(i32 noundef %6, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = call i32 (...) @insert_performance()
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @difftime(i32 noundef, i32 noundef) #1
declare i32 @insert_performance(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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__u57zdo.c'
source_filename = "/tmp/tmp__u57zdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_scalar_stack_1(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, x86_fp80 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca x86_fp80, align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store double %3, ptr %12, align 8
store x86_fp80 %4, ptr %13, align 16
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load i32, ptr %15, align 4
%18 = load i32, ptr %16, align 4
%19 = add nsw i32 %17, %18
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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__u57zdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_scalar_stack_1(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, x86_fp80 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca x86_fp80, align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store double %3, ptr %12, align 8
store x86_fp80 %4, ptr %13, align 16
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load i32, ptr %15, align 4
%18 = load i32, ptr %16, align 4
%19 = add nsw i32 %17, %18
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx5ho7qjl.c'
source_filename = "/tmp/tmpx5ho7qjl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usart_puts(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write(i32 noundef %5, ptr noundef %6, i32 noundef %8)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx5ho7qjl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usart_puts(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write(i32 noundef %5, ptr noundef %6, i32 noundef %8)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuoqjpzh0.c'
source_filename = "/tmp/tmpuoqjpzh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mblen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i8 0, ptr %6, align 1
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %64
11: ; preds = %2
%12 = load i64, ptr %5, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %11
store i32 -1, ptr %3, align 4
br label %64
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %7, align 1
%18 = load i8, ptr %7, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %15
store i32 0, ptr %3, align 4
br label %64
21: ; preds = %15
%22 = load i8, ptr %7, align 1
%23 = zext i8 %22 to i32
%24 = icmp sle i32 %23, 127
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 1, ptr %3, align 4
br label %64
26: ; preds = %21
br label %27
27: ; preds = %32, %26
%28 = load i8, ptr %7, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 128
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %27
%33 = load i8, ptr %7, align 1
%34 = zext i8 %33 to i32
%35 = shl i32 %34, 1
%36 = trunc i32 %35 to i8
store i8 %36, ptr %7, align 1
%37 = load i8, ptr %6, align 1
%38 = add i8 %37, 1
store i8 %38, ptr %6, align 1
br label %27, !llvm.loop !6
39: ; preds = %27
%40 = load i8, ptr %6, align 1
%41 = zext i8 %40 to i64
%42 = load i64, ptr %5, align 8
%43 = icmp ugt i64 %41, %42
br i1 %43, label %44, label %45
44: ; preds = %39
store i32 -1, ptr %3, align 4
br label %64
45: ; preds = %39
%46 = load i8, ptr %6, align 1
%47 = zext i8 %46 to i64
store i64 %47, ptr %5, align 8
br label %48
48: ; preds = %60, %45
%49 = load i8, ptr %6, align 1
%50 = add i8 %49, -1
store i8 %50, ptr %6, align 1
%51 = icmp ne i8 %50, 0
br i1 %51, label %52, label %61
52: ; preds = %48
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %4, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = and i32 %56, 192
%58 = icmp ne i32 %57, 128
br i1 %58, label %59, label %60
59: ; preds = %52
store i32 -1, ptr %3, align 4
br label %64
60: ; preds = %52
br label %48, !llvm.loop !8
61: ; preds = %48
%62 = load i64, ptr %5, align 8
%63 = trunc i64 %62 to i32
store i32 %63, ptr %3, align 4
br label %64
64: ; preds = %61, %59, %44, %25, %20, %14, %10
%65 = load i32, ptr %3, align 4
ret i32 %65
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuoqjpzh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mblen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i8 0, ptr %6, align 1
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %69
11: ; preds = %2
%12 = load i64, ptr %5, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %11
store i32 -1, ptr %3, align 4
br label %69
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %7, align 1
%18 = load i8, ptr %7, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %15
store i32 0, ptr %3, align 4
br label %69
21: ; preds = %15
%22 = load i8, ptr %7, align 1
%23 = zext i8 %22 to i32
%24 = icmp sle i32 %23, 127
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 1, ptr %3, align 4
br label %69
26: ; preds = %21
%27 = load i8, ptr %7, align 1
%28 = zext i8 %27 to i32
%29 = and i32 %28, 128
%30 = icmp ne i32 %29, 0
br i1 %30, label %.lr.ph, label %42
.lr.ph: ; preds = %26
br label %31
31: ; preds = %.lr.ph, %31
%32 = load i8, ptr %7, align 1
%33 = zext i8 %32 to i32
%34 = shl i32 %33, 1
%35 = trunc i32 %34 to i8
store i8 %35, ptr %7, align 1
%36 = load i8, ptr %6, align 1
%37 = add i8 %36, 1
store i8 %37, ptr %6, align 1
%38 = load i8, ptr %7, align 1
%39 = zext i8 %38 to i32
%40 = and i32 %39, 128
%41 = icmp ne i32 %40, 0
br i1 %41, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %42
42: ; preds = %._crit_edge, %26
%43 = load i8, ptr %6, align 1
%44 = zext i8 %43 to i64
%45 = load i64, ptr %5, align 8
%46 = icmp ugt i64 %44, %45
br i1 %46, label %47, label %48
47: ; preds = %42
store i32 -1, ptr %3, align 4
br label %69
48: ; preds = %42
%49 = load i8, ptr %6, align 1
%50 = zext i8 %49 to i64
store i64 %50, ptr %5, align 8
%51 = load i8, ptr %6, align 1
%52 = add i8 %51, -1
store i8 %52, ptr %6, align 1
%53 = icmp ne i8 %52, 0
br i1 %53, label %.lr.ph2, label %66
.lr.ph2: ; preds = %48
br label %58
54: ; preds = %58
%55 = load i8, ptr %6, align 1
%56 = add i8 %55, -1
store i8 %56, ptr %6, align 1
%57 = icmp ne i8 %56, 0
br i1 %57, label %58, label %._crit_edge3, !llvm.loop !8
58: ; preds = %.lr.ph2, %54
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = and i32 %62, 192
%64 = icmp ne i32 %63, 128
br i1 %64, label %65, label %54
65: ; preds = %58
store i32 -1, ptr %3, align 4
br label %69
._crit_edge3: ; preds = %54
br label %66
66: ; preds = %._crit_edge3, %48
%67 = load i64, ptr %5, align 8
%68 = trunc i64 %67 to i32
store i32 %68, ptr %3, align 4
br label %69
69: ; preds = %66, %65, %47, %25, %20, %14, %10
%70 = load i32, ptr %3, align 4
ret i32 %70
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnd7odego.c'
source_filename = "/tmp/tmpnd7odego.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x double] [double 0.000000e+00, double 1.000000e+00, double 8.000000e+00, double 2.700000e+01, double 6.400000e+01, double 1.250000e+02, double 2.160000e+02, double 3.430000e+02], align 16
@.str = private unnamed_addr constant [15 x i8] c"y[ %i ] = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x double], align 16
%3 = alloca [8 x double], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 64, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 64, i1 false)
store i32 4, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 0
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [8 x double], ptr %3, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = call i32 @stdlib_strided_dcbrt(i32 noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %24, %0
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %15, 8
br i1 %16, label %17, label %27
17: ; preds = %14
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [8 x double], ptr %3, i64 0, i64 %20
%22 = load double, ptr %21, align 8
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %18, double noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %14, !llvm.loop !6
27: ; preds = %14
%28 = load i32, ptr %1, align 4
ret i32 %28
}
; 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @stdlib_strided_dcbrt(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnd7odego.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x double] [double 0.000000e+00, double 1.000000e+00, double 8.000000e+00, double 2.700000e+01, double 6.400000e+01, double 1.250000e+02, double 2.160000e+02, double 3.430000e+02], align 16
@.str = private unnamed_addr constant [15 x i8] c"y[ %i ] = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x double], align 16
%3 = alloca [8 x double], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 64, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 64, i1 false)
store i32 4, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 0
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [8 x double], ptr %3, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = call i32 @stdlib_strided_dcbrt(i32 noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 0, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %23
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [8 x double], ptr %3, i64 0, i64 %19
%21 = load double, ptr %20, align 8
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %17, double noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %26, 8
br i1 %27, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %0
%29 = load i32, ptr %1, align 4
ret i32 %29
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @stdlib_strided_dcbrt(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwwhfxwhn.c'
source_filename = "/tmp/tmpwwhfxwhn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_largest_square(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 0
%17 = load i32, ptr %16, align 4
br label %22
18: ; preds = %1
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load i32, ptr %20, align 4
br label %22
22: ; preds = %18, %14
%23 = phi i32 [ %17, %14 ], [ %21, %18 ]
store i32 %23, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %24
24: ; preds = %39, %22
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %42
28: ; preds = %24
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 @next_square(i32 noundef %29, i32 noundef %30)
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %3, align 8
%34 = call i64 @is_perfect_slice_dimension(i32 noundef %32, ptr noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %28
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %2, align 4
br label %43
38: ; preds = %28
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %24, !llvm.loop !6
42: ; preds = %24
store i32 -1, ptr %2, align 4
br label %43
43: ; preds = %42, %36
%44 = load i32, ptr %2, align 4
ret i32 %44
}
declare i32 @next_square(i32 noundef, i32 noundef) #1
declare i64 @is_perfect_slice_dimension(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwwhfxwhn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_largest_square(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 0
%17 = load i32, ptr %16, align 4
br label %22
18: ; preds = %1
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load i32, ptr %20, align 4
br label %22
22: ; preds = %18, %14
%23 = phi i32 [ %17, %14 ], [ %21, %18 ]
store i32 %23, ptr %4, align 4
store i32 0, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %44
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %38
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %4, align 4
%30 = call i32 @next_square(i32 noundef %28, i32 noundef %29)
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = load ptr, ptr %3, align 8
%33 = call i64 @is_perfect_slice_dimension(i32 noundef %31, ptr noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %27
%36 = load i32, ptr %6, align 4
store i32 %36, ptr %2, align 4
br label %45
37: ; preds = %27
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %22
store i32 -1, ptr %2, align 4
br label %45
45: ; preds = %44, %35
%46 = load i32, ptr %2, align 4
ret i32 %46
}
declare i32 @next_square(i32 noundef, i32 noundef) #1
declare i64 @is_perfect_slice_dimension(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuv8earbe.c'
source_filename = "/tmp/tmpuv8earbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eul03(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @sqrt(i32 noundef %6)
store i32 %7, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %8
8: ; preds = %24, %1
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %27
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %5, align 4
%15 = srem i32 %13, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %12
%18 = load i32, ptr %5, align 4
%19 = call i64 @is_prime(i32 noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = load i32, ptr %5, align 4
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %21, %17, %12
br label %24
24: ; preds = %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 2
store i32 %26, ptr %5, align 4
br label %8, !llvm.loop !6
27: ; preds = %8
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @sqrt(i32 noundef) #1
declare i64 @is_prime(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/tmpuv8earbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eul03(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @sqrt(i32 noundef %6)
store i32 %7, ptr %4, align 4
store i32 1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %23
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %5, align 4
%14 = srem i32 %12, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %11
%17 = load i32, ptr %5, align 4
%18 = call i64 @is_prime(i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = load i32, ptr %5, align 4
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %20, %16, %11
br label %23
23: ; preds = %22
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 2
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %1
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @sqrt(i32 noundef) #1
declare i64 @is_prime(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/tmpd6d4qjsh.c'
source_filename = "/tmp/tmpd6d4qjsh.c"
target datalayout = "e-m:e-p270: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/tmpd6d4qjsh.c"
target datalayout = "e-m:e-p270: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/tmp40s7yz75.c'
source_filename = "/tmp/tmp40s7yz75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
br label %9
9: ; preds = %28, %4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %7, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %15, %21
br i1 %22, label %23, label %26
23: ; preds = %9
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br label %26
26: ; preds = %23, %9
%27 = phi i1 [ false, %9 ], [ %25, %23 ]
br i1 %27, label %28, label %35
28: ; preds = %26
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %29, %30
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %7, align 4
br label %9, !llvm.loop !6
35: ; preds = %26
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp40s7yz75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
br label %9
9: ; preds = %28, %4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %7, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %15, %21
br i1 %22, label %23, label %26
23: ; preds = %9
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br label %26
26: ; preds = %23, %9
%27 = phi i1 [ false, %9 ], [ %25, %23 ]
br i1 %27, label %28, label %35
28: ; preds = %26
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %29, %30
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %7, align 4
br label %9, !llvm.loop !6
35: ; preds = %26
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphtr141q_.c'
source_filename = "/tmp/tmphtr141q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %12
12: ; preds = %24, %3
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %9, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store i8 %20, ptr %23, align 1
br label %24
24: ; preds = %16
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %9, align 8
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphtr141q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
%12 = load i64, ptr %9, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %23
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %7, align 8
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 %19, ptr %22, align 1
br label %23
23: ; preds = %15
%24 = load i64, ptr %9, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %9, align 8
%26 = load i64, ptr %9, align 8
%27 = load i64, ptr %6, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
%30 = load ptr, ptr %4, align 8
ret ptr %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcq9fpx4f.c'
source_filename = "/tmp/tmpcq9fpx4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_OP_DETACHED_POST = dso_local global i32 0, align 4
@ASN1_OP_DETACHED_PRE = dso_local global i32 0, align 4
@ASN1_R_STREAMING_NOT_SUPPORTED = dso_local global i32 0, align 4
@PKCS7_REUSE_DIGEST = dso_local global i32 0, align 4
@SMIME_DETACHED = 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/tmpcq9fpx4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_OP_DETACHED_POST = dso_local global i32 0, align 4
@ASN1_OP_DETACHED_PRE = dso_local global i32 0, align 4
@ASN1_R_STREAMING_NOT_SUPPORTED = dso_local global i32 0, align 4
@PKCS7_REUSE_DIGEST = dso_local global i32 0, align 4
@SMIME_DETACHED = 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/tmp82swbxnc.c'
source_filename = "/tmp/tmp82swbxnc.c"
target datalayout = "e-m:e-p270: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/tmp82swbxnc.c"
target datalayout = "e-m:e-p270: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/tmp4a2oqmn4.c'
source_filename = "/tmp/tmp4a2oqmn4.c"
target datalayout = "e-m:e-p270: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/tmp4a2oqmn4.c"
target datalayout = "e-m:e-p270: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/tmp8kw3cdy_.c'
source_filename = "/tmp/tmp8kw3cdy_.c"
target datalayout = "e-m:e-p270: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/tmp8kw3cdy_.c"
target datalayout = "e-m:e-p270: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/tmp0rmc1zhc.c'
source_filename = "/tmp/tmp0rmc1zhc.c"
target datalayout = "e-m:e-p270: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.vowels = private unnamed_addr constant [6 x i8] c"aeiouy", align 1
@.str = private unnamed_addr constant [25 x i8] c"Please enter a string > \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"The number of syllables is %.0d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca [6 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.vowels, i64 6, i1 false)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 20, i32 noundef %9)
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %41, %0
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %12, %15
br i1 %16, label %17, label %44
17: ; preds = %11
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %37, %17
%19 = load i32, ptr %6, align 4
%20 = icmp sle i32 %19, 5
br i1 %20, label %21, label %40
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %26, %31
br i1 %32, label %33, label %36
33: ; preds = %21
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %40
36: ; preds = %21
br label %37
37: ; preds = %36
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %18, !llvm.loop !6
40: ; preds = %33, %18
br label %41
41: ; preds = %40
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
br label %11, !llvm.loop !8
44: ; preds = %11
%45 = load i32, ptr %5, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %45)
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, ...) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0rmc1zhc.c"
target datalayout = "e-m:e-p270: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.vowels = private unnamed_addr constant [6 x i8] c"aeiouy", align 1
@.str = private unnamed_addr constant [25 x i8] c"Please enter a string > \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"The number of syllables is %.0d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca [6 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.vowels, i64 6, i1 false)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 20, i32 noundef %9)
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %11, %14
br i1 %15, label %.lr.ph1, label %48
.lr.ph1: ; preds = %0
br label %16
16: ; preds = %.lr.ph1, %41
store i32 0, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sle i32 %17, 5
br i1 %18, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %35
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %24, %29
br i1 %30, label %31, label %34
31: ; preds = %19
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %40
34: ; preds = %19
br label %35
35: ; preds = %34
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp sle i32 %38, 5
br i1 %39, label %19, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %35
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %40
40: ; preds = %.loopexit, %31
br label %41
41: ; preds = %40
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = call i32 @strlen(ptr noundef %12)
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %44, %46
br i1 %47, label %16, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %41
br label %48
48: ; preds = %._crit_edge, %0
%49 = load i32, ptr %5, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %49)
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, ...) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzv2fdy9d.c'
source_filename = "/tmp/tmpzv2fdy9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wcslen(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
br label %5
5: ; preds = %38, %1
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %41
11: ; preds = %5
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = add i64 %13, 1
store i64 %14, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = load i64, ptr %4, align 8
store i64 %19, ptr %2, align 8
br label %43
20: ; preds = %11
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %4, align 8
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %20
%28 = load i64, ptr %4, align 8
store i64 %28, ptr %2, align 8
br label %43
29: ; preds = %20
%30 = load ptr, ptr %3, align 8
%31 = load i64, ptr %4, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %4, align 8
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %29
%37 = load i64, ptr %4, align 8
store i64 %37, ptr %2, align 8
br label %43
38: ; preds = %29
%39 = load i64, ptr %4, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %4, align 8
br label %5, !llvm.loop !6
41: ; preds = %5
%42 = load i64, ptr %4, align 8
store i64 %42, ptr %2, align 8
br label %43
43: ; preds = %41, %36, %27, %18
%44 = load i64, ptr %2, align 8
ret i64 %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzv2fdy9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wcslen(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %45
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %37
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %4, align 8
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %10
%18 = load i64, ptr %4, align 8
store i64 %18, ptr %2, align 8
br label %47
19: ; preds = %10
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %19
%27 = load i64, ptr %4, align 8
store i64 %27, ptr %2, align 8
br label %47
28: ; preds = %19
%29 = load ptr, ptr %3, align 8
%30 = load i64, ptr %4, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %4, align 8
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %28
%36 = load i64, ptr %4, align 8
store i64 %36, ptr %2, align 8
br label %47
37: ; preds = %28
%38 = load i64, ptr %4, align 8
%39 = add i64 %38, 1
store i64 %39, ptr %4, align 8
%40 = load ptr, ptr %3, align 8
%41 = load i64, ptr %4, align 8
%42 = getelementptr inbounds i32, ptr %40, i64 %41
%43 = load i32, ptr %42, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %45
45: ; preds = %._crit_edge, %1
%46 = load i64, ptr %4, align 8
store i64 %46, ptr %2, align 8
br label %47
47: ; preds = %45, %35, %26, %17
%48 = load i64, ptr %2, align 8
ret i64 %48
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvj7jwffg.c'
source_filename = "/tmp/tmpvj7jwffg.c"
target datalayout = "e-m:e-p270: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/tmpvj7jwffg.c"
target datalayout = "e-m:e-p270: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/tmps4koaue6.c'
source_filename = "/tmp/tmps4koaue6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MixColumns(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 i8, ptr %3, i64 0
%5 = call i32 @MixColumn(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = call i32 @MixColumn(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 8
%11 = call i32 @MixColumn(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 12
%14 = call i32 @MixColumn(ptr noundef %13)
ret void
}
declare i32 @MixColumn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4koaue6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MixColumns(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 i8, ptr %3, i64 0
%5 = call i32 @MixColumn(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = call i32 @MixColumn(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 8
%11 = call i32 @MixColumn(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 12
%14 = call i32 @MixColumn(ptr noundef %13)
ret void
}
declare i32 @MixColumn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hy08qzv.c'
source_filename = "/tmp/tmp6hy08qzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ns_irq() #0 {
%1 = call i32 (...) @irqHandler()
ret void
}
declare i32 @irqHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hy08qzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ns_irq() #0 {
%1 = call i32 (...) @irqHandler()
ret void
}
declare i32 @irqHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwcduikc0.c'
source_filename = "/tmp/tmpwcduikc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@filter.state = internal global i32 0, align 4
@filter.prefix = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [9 x i8] c"\18B000000\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rz\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-t\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"10\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @filter(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %38, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %41
10: ; preds = %6
%11 = load ptr, ptr %4, 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 = zext i8 %15 to i32
%17 = load ptr, ptr @filter.prefix, align 8
%18 = load i32, ptr @filter.state, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %16, %22
br i1 %23, label %24, label %27
24: ; preds = %10
%25 = load i32, ptr @filter.state, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr @filter.state, align 4
br label %28
27: ; preds = %10
store i32 0, ptr @filter.state, align 4
br label %28
28: ; preds = %27, %24
%29 = load ptr, ptr @filter.prefix, align 8
%30 = load i32, ptr @filter.state, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %28
%36 = call i32 @run(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
store i32 0, ptr @filter.state, align 4
br label %37
37: ; preds = %35, %28
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %6, !llvm.loop !6
41: ; preds = %6
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @run(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwcduikc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@filter.state = internal global i32 0, align 4
@filter.prefix = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [9 x i8] c"\18B000000\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rz\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-t\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"10\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @filter(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %43
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %37
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = load ptr, ptr @filter.prefix, align 8
%17 = load i32, ptr @filter.state, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %15, %21
br i1 %22, label %23, label %26
23: ; preds = %9
%24 = load i32, ptr @filter.state, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr @filter.state, align 4
br label %27
26: ; preds = %9
store i32 0, ptr @filter.state, align 4
br label %27
27: ; preds = %26, %23
%28 = load ptr, ptr @filter.prefix, align 8
%29 = load i32, ptr @filter.state, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = icmp ne i8 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %27
%35 = call i32 @run(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
store i32 0, ptr @filter.state, align 4
br label %36
36: ; preds = %34, %27
br label %37
37: ; preds = %36
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %2
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @run(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprjn5wd0k.c'
source_filename = "/tmp/tmprjn5wd0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_split(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sext i32 %10 to i64
%12 = mul i64 8, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strtok(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %6, align 8
store i32 0, ptr %18, align 4
br label %19
19: ; preds = %22, %3
%20 = load ptr, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load ptr, ptr %8, align 8
%24 = call ptr @strdup(ptr noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %26, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %26, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds ptr, ptr %25, i64 %29
store ptr %24, ptr %30, align 8
%31 = load ptr, ptr %5, align 8
%32 = call ptr @strtok(ptr noundef null, ptr noundef %31)
store ptr %32, ptr %8, align 8
br label %19, !llvm.loop !6
33: ; preds = %19
%34 = load ptr, ptr %7, align 8
ret ptr %34
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjn5wd0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_split(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sext i32 %10 to i64
%12 = mul i64 8, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strtok(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %6, align 8
store i32 0, ptr %18, align 4
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %34
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %8, align 8
%23 = call ptr @strdup(ptr noundef %22)
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %25, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %25, align 4
%28 = sext i32 %26 to i64
%29 = getelementptr inbounds ptr, ptr %24, i64 %28
store ptr %23, ptr %29, align 8
%30 = load ptr, ptr %5, align 8
%31 = call ptr @strtok(ptr noundef null, ptr noundef %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %34
34: ; preds = %._crit_edge, %3
%35 = load ptr, ptr %7, align 8
ret ptr %35
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt4sl766n.c'
source_filename = "/tmp/tmpt4sl766n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f\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
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load float, ptr %2, align 4
%7 = fpext float %6 to double
%8 = fmul double 5.000000e-01, %7
%9 = load float, ptr %3, align 4
%10 = fpext float %9 to double
%11 = fmul double %8, %10
%12 = fptrunc double %11 to float
store float %12, ptr %4, align 4
%13 = load float, ptr %4, align 4
%14 = fcmp ogt float %13, 0.000000e+00
br i1 %14, label %15, label %23
15: ; preds = %0
%16 = load float, ptr %2, align 4
%17 = load float, ptr %3, align 4
%18 = load float, ptr %2, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = fptosi float %20 to i32
%22 = call i32 @printf(ptr noundef @.str.1, float noundef %16, float noundef %17, float noundef %18, float noundef %19, i32 noundef %21)
br label %32
23: ; preds = %0
%24 = load float, ptr %2, align 4
%25 = load float, ptr %3, align 4
%26 = load float, ptr %2, align 4
%27 = load float, ptr %3, align 4
%28 = load float, ptr %4, align 4
%29 = fmul float -1.000000e+00, %28
%30 = fptosi float %29 to i32
%31 = call i32 @printf(ptr noundef @.str.2, float noundef %24, float noundef %25, float noundef %26, float noundef %27, i32 noundef %30)
br label %32
32: ; preds = %23, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float noundef, float 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/tmpt4sl766n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f\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
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load float, ptr %2, align 4
%7 = fpext float %6 to double
%8 = fmul double 5.000000e-01, %7
%9 = load float, ptr %3, align 4
%10 = fpext float %9 to double
%11 = fmul double %8, %10
%12 = fptrunc double %11 to float
store float %12, ptr %4, align 4
%13 = load float, ptr %4, align 4
%14 = fcmp ogt float %13, 0.000000e+00
br i1 %14, label %15, label %23
15: ; preds = %0
%16 = load float, ptr %2, align 4
%17 = load float, ptr %3, align 4
%18 = load float, ptr %2, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = fptosi float %20 to i32
%22 = call i32 @printf(ptr noundef @.str.1, float noundef %16, float noundef %17, float noundef %18, float noundef %19, i32 noundef %21)
br label %32
23: ; preds = %0
%24 = load float, ptr %2, align 4
%25 = load float, ptr %3, align 4
%26 = load float, ptr %2, align 4
%27 = load float, ptr %3, align 4
%28 = load float, ptr %4, align 4
%29 = fmul float -1.000000e+00, %28
%30 = fptosi float %29 to i32
%31 = call i32 @printf(ptr noundef @.str.2, float noundef %24, float noundef %25, float noundef %26, float noundef %27, i32 noundef %30)
br label %32
32: ; preds = %23, %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float noundef, float 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/tmp96ru3x7h.c'
source_filename = "/tmp/tmp96ru3x7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i64 }
%struct.dirent = type { ptr }
@MAXPATHLEN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"file_id.diz\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c".message\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c".nfo\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_dir_size(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca %struct.stat, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load i32, ptr @MAXPATHLEN, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %10, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %11, align 8
%16 = load ptr, ptr %4, align 8
%17 = call ptr @opendir(ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %108
20: ; preds = %3
br label %21
21: ; preds = %104, %72, %52, %20
br label %22
22: ; preds = %21
%23 = load ptr, ptr %7, align 8
%24 = call ptr @readdir(ptr noundef %23)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %28, label %27
27: ; preds = %22
br label %105
28: ; preds = %22
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str)
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %52
34: ; preds = %28
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.1)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %52
40: ; preds = %34
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds %struct.dirent, ptr %41, i32 0, i32 0
%43 = load ptr, ptr %42, align 8
%44 = call i32 @strcasecmp(ptr noundef %43, ptr noundef @.str.2)
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %52
46: ; preds = %40
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds %struct.dirent, ptr %47, i32 0, i32 0
%49 = load ptr, ptr %48, align 8
%50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.3)
%51 = icmp ne i32 %50, 0
br i1 %51, label %53, label %52
52: ; preds = %46, %40, %34, %28
br label %21
53: ; preds = %46
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 0
%56 = load ptr, ptr %55, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = icmp sgt i32 %57, 3
br i1 %58, label %59, label %74
59: ; preds = %53
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds %struct.dirent, ptr %60, i32 0, i32 0
%62 = load ptr, ptr %61, align 8
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds %struct.dirent, ptr %63, i32 0, i32 0
%65 = load ptr, ptr %64, align 8
%66 = call i32 @strlen(ptr noundef %65)
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %62, i64 %67
%69 = getelementptr inbounds i8, ptr %68, i64 -4
%70 = call i32 @strcasecmp(ptr noundef %69, ptr noundef @.str.4)
%71 = icmp ne i32 %70, 0
br i1 %71, label %73, label %72
72: ; preds = %59
br label %21
73: ; preds = %59
br label %74
74: ; preds = %73, %53
%75 = load i32, ptr @MAXPATHLEN, align 4
%76 = load ptr, ptr %4, align 8
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds %struct.dirent, ptr %77, i32 0, i32 0
%79 = load ptr, ptr %78, align 8
%80 = call i32 @snprintf(ptr noundef %15, i32 noundef %75, ptr noundef @.str.5, ptr noundef %76, ptr noundef %79)
%81 = call i32 @stat(ptr noundef %15, ptr noundef %9)
%82 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%83 = load i32, ptr %82, align 8
%84 = call i64 @S_ISREG(i32 noundef %83)
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %95
86: ; preds = %74
%87 = load ptr, ptr %5, align 8
%88 = load i32, ptr %87, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %87, align 4
%90 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1
%91 = load i64, ptr %90, align 8
%92 = load ptr, ptr %6, align 8
%93 = load i64, ptr %92, align 8
%94 = add i64 %93, %91
store i64 %94, ptr %92, align 8
br label %104
95: ; preds = %74
%96 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%97 = load i32, ptr %96, align 8
%98 = call i64 @S_ISDIR(i32 noundef %97)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %103
100: ; preds = %95
%101 = load ptr, ptr %5, align 8
%102 = load ptr, ptr %6, align 8
call void @get_dir_size(ptr noundef %15, ptr noundef %101, ptr noundef %102)
br label %103
103: ; preds = %100, %95
br label %104
104: ; preds = %103, %86
br label %21
105: ; preds = %27
%106 = load ptr, ptr %7, align 8
%107 = call i32 @closedir(ptr noundef %106)
br label %108
108: ; preds = %105, %3
%109 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %109)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @strcasecmp(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i64 @S_ISREG(i32 noundef) #2
declare i64 @S_ISDIR(i32 noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp96ru3x7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i64 }
%struct.dirent = type { ptr }
@MAXPATHLEN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"file_id.diz\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c".message\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c".nfo\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_dir_size(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca %struct.stat, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load i32, ptr @MAXPATHLEN, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %10, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %11, align 8
%16 = load ptr, ptr %4, align 8
%17 = call ptr @opendir(ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %108
20: ; preds = %3
br label %21
21: ; preds = %.backedge, %20
br label %22
22: ; preds = %21
%23 = load ptr, ptr %7, align 8
%24 = call ptr @readdir(ptr noundef %23)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %28, label %27
27: ; preds = %22
br label %105
28: ; preds = %22
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds %struct.dirent, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str)
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %52
34: ; preds = %28
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.1)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %52
40: ; preds = %34
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds %struct.dirent, ptr %41, i32 0, i32 0
%43 = load ptr, ptr %42, align 8
%44 = call i32 @strcasecmp(ptr noundef %43, ptr noundef @.str.2)
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %52
46: ; preds = %40
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds %struct.dirent, ptr %47, i32 0, i32 0
%49 = load ptr, ptr %48, align 8
%50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.3)
%51 = icmp ne i32 %50, 0
br i1 %51, label %53, label %52
52: ; preds = %46, %40, %34, %28
br label %.backedge
.backedge: ; preds = %52, %72, %104
br label %21
53: ; preds = %46
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 0
%56 = load ptr, ptr %55, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = icmp sgt i32 %57, 3
br i1 %58, label %59, label %74
59: ; preds = %53
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds %struct.dirent, ptr %60, i32 0, i32 0
%62 = load ptr, ptr %61, align 8
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds %struct.dirent, ptr %63, i32 0, i32 0
%65 = load ptr, ptr %64, align 8
%66 = call i32 @strlen(ptr noundef %65)
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %62, i64 %67
%69 = getelementptr inbounds i8, ptr %68, i64 -4
%70 = call i32 @strcasecmp(ptr noundef %69, ptr noundef @.str.4)
%71 = icmp ne i32 %70, 0
br i1 %71, label %73, label %72
72: ; preds = %59
br label %.backedge
73: ; preds = %59
br label %74
74: ; preds = %73, %53
%75 = load i32, ptr @MAXPATHLEN, align 4
%76 = load ptr, ptr %4, align 8
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds %struct.dirent, ptr %77, i32 0, i32 0
%79 = load ptr, ptr %78, align 8
%80 = call i32 @snprintf(ptr noundef %15, i32 noundef %75, ptr noundef @.str.5, ptr noundef %76, ptr noundef %79)
%81 = call i32 @stat(ptr noundef %15, ptr noundef %9)
%82 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%83 = load i32, ptr %82, align 8
%84 = call i64 @S_ISREG(i32 noundef %83)
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %95
86: ; preds = %74
%87 = load ptr, ptr %5, align 8
%88 = load i32, ptr %87, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %87, align 4
%90 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1
%91 = load i64, ptr %90, align 8
%92 = load ptr, ptr %6, align 8
%93 = load i64, ptr %92, align 8
%94 = add i64 %93, %91
store i64 %94, ptr %92, align 8
br label %104
95: ; preds = %74
%96 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%97 = load i32, ptr %96, align 8
%98 = call i64 @S_ISDIR(i32 noundef %97)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %103
100: ; preds = %95
%101 = load ptr, ptr %5, align 8
%102 = load ptr, ptr %6, align 8
call void @get_dir_size(ptr noundef %15, ptr noundef %101, ptr noundef %102)
br label %103
103: ; preds = %100, %95
br label %104
104: ; preds = %103, %86
br label %.backedge
105: ; preds = %27
%106 = load ptr, ptr %7, align 8
%107 = call i32 @closedir(ptr noundef %106)
br label %108
108: ; preds = %105, %3
%109 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %109)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @strcasecmp(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i64 @S_ISREG(i32 noundef) #2
declare i64 @S_ISDIR(i32 noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1mrvzi0d.c'
source_filename = "/tmp/tmp1mrvzi0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fft_advance_whitespace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %17, %1
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %10, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @fft_is_delimeter(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br label %15
15: ; preds = %9, %3
%16 = phi i1 [ false, %3 ], [ %14, %9 ]
br i1 %16, label %17, label %21
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %18, align 8
br label %3, !llvm.loop !6
21: ; preds = %15
ret void
}
declare i64 @fft_is_delimeter(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1mrvzi0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fft_advance_whitespace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %17, %1
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %10, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @fft_is_delimeter(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br label %15
15: ; preds = %9, %3
%16 = phi i1 [ false, %3 ], [ %14, %9 ]
br i1 %16, label %17, label %21
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %18, align 8
br label %3, !llvm.loop !6
21: ; preds = %15
ret void
}
declare i64 @fft_is_delimeter(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjz8k_ghz.c'
source_filename = "/tmp/tmpjz8k_ghz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"purr\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"idle_purr\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_cpu_util_purr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = call double (...) @get_scaled_tb()
store double %9, ptr %5, align 8
%10 = call double @get_delta_value(ptr noundef @.str)
store double %10, ptr %6, align 8
%11 = call double @get_delta_value(ptr noundef @.str.1)
store double %11, ptr %7, align 8
%12 = load double, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fsub double %12, %13
%15 = load double, ptr %5, align 8
%16 = fdiv double %14, %15
store double %16, ptr %8, align 8
%17 = load double, ptr %8, align 8
%18 = fmul double %17, 1.000000e+02
store double %18, ptr %8, align 8
%19 = load ptr, ptr %4, align 8
%20 = load double, ptr %8, align 8
%21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.2, double noundef %20)
ret void
}
declare double @get_scaled_tb(...) #1
declare double @get_delta_value(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjz8k_ghz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"purr\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"idle_purr\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_cpu_util_purr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = call double (...) @get_scaled_tb()
store double %9, ptr %5, align 8
%10 = call double @get_delta_value(ptr noundef @.str)
store double %10, ptr %6, align 8
%11 = call double @get_delta_value(ptr noundef @.str.1)
store double %11, ptr %7, align 8
%12 = load double, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fsub double %12, %13
%15 = load double, ptr %5, align 8
%16 = fdiv double %14, %15
store double %16, ptr %8, align 8
%17 = load double, ptr %8, align 8
%18 = fmul double %17, 1.000000e+02
store double %18, ptr %8, align 8
%19 = load ptr, ptr %4, align 8
%20 = load double, ptr %8, align 8
%21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.2, double noundef %20)
ret void
}
declare double @get_scaled_tb(...) #1
declare double @get_delta_value(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpryy1t3x9.c'
source_filename = "/tmp/tmpryy1t3x9.c"
target datalayout = "e-m:e-p270: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/tmpryy1t3x9.c"
target datalayout = "e-m:e-p270: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/tmpcn_keenw.c'
source_filename = "/tmp/tmpcn_keenw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" -> %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprimeCm(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 = call i32 @assert(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %26
17: ; preds = %2
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
call void @imprimeCm(ptr noundef %18, i32 noundef %23)
%24 = load i32, ptr %4, align 4
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24)
br label %26
26: ; preds = %17, %14
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcn_keenw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" -> %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprimeCm(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 = call i32 @assert(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %26
17: ; preds = %2
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
call void @imprimeCm(ptr noundef %18, i32 noundef %23)
%24 = load i32, ptr %4, align 4
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24)
br label %26
26: ; preds = %17, %14
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbtmm1yd4.c'
source_filename = "/tmp/tmpbtmm1yd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @foo()
%3 = icmp ne i32 168, %2
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i32 @foo(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpbtmm1yd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @foo()
%3 = icmp ne i32 168, %2
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i32 @foo(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpux_zmom3.c'
source_filename = "/tmp/tmpux_zmom3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basDeleteBob() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @popNumber()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @deletebob(i32 noundef %3)
%5 = call i32 @pushNumber(i32 noundef %4)
ret void
}
declare i32 @popNumber(...) #1
declare i32 @pushNumber(i32 noundef) #1
declare i32 @deletebob(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/tmpux_zmom3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basDeleteBob() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @popNumber()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @deletebob(i32 noundef %3)
%5 = call i32 @pushNumber(i32 noundef %4)
ret void
}
declare i32 @popNumber(...) #1
declare i32 @pushNumber(i32 noundef) #1
declare i32 @deletebob(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/tmprp2gsj27.c'
source_filename = "/tmp/tmprp2gsj27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @signalInterruption(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @Release()
ret void
}
declare i32 @Release(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprp2gsj27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @signalInterruption(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @Release()
ret void
}
declare i32 @Release(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdoielzud.c'
source_filename = "/tmp/tmpdoielzud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DIE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @japi_die(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 @do_send(i32 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @do_send(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/tmpdoielzud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DIE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @japi_die(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 @do_send(i32 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @do_send(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/tmpdvlnx2yq.c'
source_filename = "/tmp/tmpdvlnx2yq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"direction? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @move_onto() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %15, %0
%5 = call i32 (...) @rgetchar()
store i32 %5, ptr %1, align 4
%6 = call i32 @is_direction(i32 noundef %5, ptr noundef %2)
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
br i1 %8, label %9, label %16
9: ; preds = %4
%10 = call i32 (...) @sound_bell()
%11 = load i32, ptr %3, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @message(ptr noundef @.str, i32 noundef 0)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %13, %9
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = call i32 (...) @check_message()
%18 = load i32, ptr %1, align 4
%19 = icmp ne i32 %18, 27
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr %1, align 4
%22 = call i32 @one_move_rogue(i32 noundef %21, i32 noundef 0)
br label %23
23: ; preds = %20, %16
ret void
}
declare i32 @is_direction(i32 noundef, ptr noundef) #1
declare i32 @rgetchar(...) #1
declare i32 @sound_bell(...) #1
declare i32 @message(ptr noundef, i32 noundef) #1
declare i32 @check_message(...) #1
declare i32 @one_move_rogue(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/tmpdvlnx2yq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"direction? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @move_onto() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %3, align 4
%4 = call i32 (...) @rgetchar()
store i32 %4, ptr %1, align 4
%5 = call i32 @is_direction(i32 noundef %4, ptr noundef %2)
%6 = icmp ne i32 %5, 0
%7 = xor i1 %6, true
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %14
%9 = call i32 (...) @sound_bell()
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @message(ptr noundef @.str, i32 noundef 0)
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %12, %8
%15 = call i32 (...) @rgetchar()
store i32 %15, ptr %1, align 4
%16 = call i32 @is_direction(i32 noundef %15, ptr noundef %2)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = call i32 (...) @check_message()
%21 = load i32, ptr %1, align 4
%22 = icmp ne i32 %21, 27
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load i32, ptr %1, align 4
%25 = call i32 @one_move_rogue(i32 noundef %24, i32 noundef 0)
br label %26
26: ; preds = %23, %19
ret void
}
declare i32 @is_direction(i32 noundef, ptr noundef) #1
declare i32 @rgetchar(...) #1
declare i32 @sound_bell(...) #1
declare i32 @message(ptr noundef, i32 noundef) #1
declare i32 @check_message(...) #1
declare i32 @one_move_rogue(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/tmpycz_bwms.c'
source_filename = "/tmp/tmpycz_bwms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseFilename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %5, align 4
br label %12
12: ; preds = %26, %1
%13 = load i32, ptr %5, align 4
%14 = icmp sge i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %12
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 47
br label %23
23: ; preds = %15, %12
%24 = phi i1 [ false, %12 ], [ %22, %15 ]
br i1 %24, label %25, label %29
25: ; preds = %23
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %5, align 4
br label %12, !llvm.loop !6
29: ; preds = %23
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
%33 = load i32, ptr %4, align 4
%34 = call ptr @secGetStringPart(ptr noundef %30, i32 noundef %32, i32 noundef %33)
store ptr %34, ptr %3, align 8
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @strlen(ptr noundef) #1
declare ptr @secGetStringPart(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpycz_bwms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseFilename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %5, align 4
br label %12
12: ; preds = %26, %1
%13 = load i32, ptr %5, align 4
%14 = icmp sge i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %12
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 47
br label %23
23: ; preds = %15, %12
%24 = phi i1 [ false, %12 ], [ %22, %15 ]
br i1 %24, label %25, label %29
25: ; preds = %23
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %5, align 4
br label %12, !llvm.loop !6
29: ; preds = %23
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
%33 = load i32, ptr %4, align 4
%34 = call ptr @secGetStringPart(ptr noundef %30, i32 noundef %32, i32 noundef %33)
store ptr %34, ptr %3, align 8
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @strlen(ptr noundef) #1
declare ptr @secGetStringPart(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2p4ky7v3.c'
source_filename = "/tmp/tmp2p4ky7v3.c"
target datalayout = "e-m:e-p270: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.CL_MT_global_ziggurat_normal_float_create_kernel.source_string = private unnamed_addr constant [307 x i8] c"#define DISABLE_DOUBLES\0A#undef DISABLE_FLOATS\0A#define ZIGGURAT_NORMAL_FLOAT\0A#include \22MT_global.hcl\22\0A#ifndef __RND_WORKGROUP_SIZE\0A__kernel __ziggurat_normal_float_kernel( MT, );\0A#else\0A__kernel __attribute__((reqd_work_group_size(__RND_WORKGROUP_SIZE, 1, 1))) __ziggurat_normal_float_kernel( MT, );\0A#endif\00", align 16
@CL_SUCCESS = dso_local global i32 0, align 4
@CL_CONTEXT_DEVICES = dso_local global i32 0, align 4
@CL_BUILD_IN_PROGRESS = dso_local global i64 0, align 8
@CL_PROGRAM_BUILD_STATUS = dso_local global i32 0, align 4
@CL_BUILD_SUCCESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"MT_ziggurat_normal_float_kernel\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @CL_MT_global_ziggurat_normal_float_create_kernel(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca [307 x i8], align 16
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
store i32 %0, ptr %9, align 4
store i64 %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.CL_MT_global_ziggurat_normal_float_create_kernel.source_string, i64 307, i1 false)
%26 = load ptr, ptr %15, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %7
store ptr %17, ptr %15, align 8
br label %29
29: ; preds = %28, %7
%30 = getelementptr inbounds [307 x i8], ptr %16, i64 0, i64 0
store ptr %30, ptr %18, align 8
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %15, align 8
%33 = call i32 @clCreateProgramWithSource(i32 noundef %31, i32 noundef 1, ptr noundef %18, ptr noundef null, ptr noundef %32)
store i32 %33, ptr %19, align 4
%34 = load ptr, ptr %15, align 8
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr @CL_SUCCESS, align 4
%37 = icmp ne i32 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %29
store ptr null, ptr %8, align 8
br label %138
39: ; preds = %29
%40 = load ptr, ptr %11, align 8
store ptr %40, ptr %21, align 8
%41 = load ptr, ptr %11, align 8
%42 = icmp eq ptr %41, null
%43 = zext i1 %42 to i32
store i32 %43, ptr %20, align 4
br i1 %42, label %44, label %81
44: ; preds = %39
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%47 = call i32 @clGetContextInfo(i32 noundef %45, i32 noundef %46, i64 noundef 0, ptr noundef null, ptr noundef %22)
%48 = load ptr, ptr %15, align 8
store i32 %47, ptr %48, align 4
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr @CL_SUCCESS, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %54
53: ; preds = %44
store ptr null, ptr %8, align 8
br label %138
54: ; preds = %44
%55 = load i64, ptr %10, align 8
%56 = icmp eq i64 %55, 0
br i1 %56, label %62, label %57
57: ; preds = %54
%58 = load i64, ptr %10, align 8
%59 = load i64, ptr %22, align 8
%60 = udiv i64 %59, 4
%61 = icmp ugt i64 %58, %60
br i1 %61, label %62, label %65
62: ; preds = %57, %54
%63 = load i64, ptr %22, align 8
%64 = udiv i64 %63, 4
store i64 %64, ptr %10, align 8
br label %65
65: ; preds = %62, %57
%66 = load i64, ptr %22, align 8
%67 = call i64 @malloc(i64 noundef %66)
%68 = inttoptr i64 %67 to ptr
store ptr %68, ptr %21, align 8
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%71 = load i64, ptr %22, align 8
%72 = load ptr, ptr %21, align 8
%73 = call i32 @clGetContextInfo(i32 noundef %69, i32 noundef %70, i64 noundef %71, ptr noundef %72, ptr noundef null)
%74 = load ptr, ptr %15, align 8
store i32 %73, ptr %74, align 4
%75 = load ptr, ptr %15, align 8
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr @CL_SUCCESS, align 4
%78 = icmp ne i32 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %65
store ptr null, ptr %8, align 8
br label %138
80: ; preds = %65
br label %81
81: ; preds = %80, %39
%82 = load i32, ptr %19, align 4
%83 = load i64, ptr %10, align 8
%84 = load ptr, ptr %21, align 8
%85 = load ptr, ptr %12, align 8
%86 = load ptr, ptr %13, align 8
%87 = load ptr, ptr %14, align 8
%88 = call i32 @clBuildProgram(i32 noundef %82, i64 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87)
%89 = load ptr, ptr %15, align 8
store i32 %88, ptr %89, align 4
%90 = load ptr, ptr %15, align 8
%91 = load i32, ptr %90, align 4
%92 = load i32, ptr @CL_SUCCESS, align 4
%93 = icmp ne i32 %91, %92
br i1 %93, label %94, label %95
94: ; preds = %81
store ptr null, ptr %8, align 8
br label %138
95: ; preds = %81
%96 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
store i64 %96, ptr %23, align 8
store i32 0, ptr %24, align 4
br label %97
97: ; preds = %122, %95
%98 = load i32, ptr %24, align 4
%99 = sext i32 %98 to i64
%100 = load i64, ptr %10, align 8
%101 = icmp ult i64 %99, %100
br i1 %101, label %102, label %125
102: ; preds = %97
br label %103
103: ; preds = %107, %102
%104 = load i64, ptr %23, align 8
%105 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
%106 = icmp eq i64 %104, %105
br i1 %106, label %107, label %116
107: ; preds = %103
%108 = load i32, ptr %19, align 4
%109 = load ptr, ptr %21, align 8
%110 = load i32, ptr %24, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %109, i64 %111
%113 = load i32, ptr %112, align 4
%114 = load i32, ptr @CL_PROGRAM_BUILD_STATUS, align 4
%115 = call i32 @clGetProgramBuildInfo(i32 noundef %108, i32 noundef %113, i32 noundef %114, i32 noundef 8, ptr noundef %23, ptr noundef null)
br label %103, !llvm.loop !6
116: ; preds = %103
%117 = load i64, ptr %23, align 8
%118 = load i64, ptr @CL_BUILD_SUCCESS, align 8
%119 = icmp ne i64 %117, %118
br i1 %119, label %120, label %121
120: ; preds = %116
store ptr null, ptr %8, align 8
br label %138
121: ; preds = %116
br label %122
122: ; preds = %121
%123 = load i32, ptr %24, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %24, align 4
br label %97, !llvm.loop !8
125: ; preds = %97
%126 = load i32, ptr %19, align 4
%127 = load ptr, ptr %15, align 8
%128 = call ptr @clCreateKernel(i32 noundef %126, ptr noundef @.str, ptr noundef %127)
store ptr %128, ptr %25, align 8
%129 = load i32, ptr %19, align 4
%130 = call i32 @clReleaseProgram(i32 noundef %129)
%131 = load i32, ptr %20, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %133, label %136
133: ; preds = %125
%134 = load ptr, ptr %21, align 8
%135 = call i32 @free(ptr noundef %134)
br label %136
136: ; preds = %133, %125
%137 = load ptr, ptr %25, align 8
store ptr %137, ptr %8, align 8
br label %138
138: ; preds = %136, %120, %94, %79, %53, %38
%139 = load ptr, ptr %8, align 8
ret ptr %139
}
; 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 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetContextInfo(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2
declare i64 @malloc(i64 noundef) #2
declare i32 @clBuildProgram(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @clReleaseProgram(i32 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2p4ky7v3.c"
target datalayout = "e-m:e-p270: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.CL_MT_global_ziggurat_normal_float_create_kernel.source_string = private unnamed_addr constant [307 x i8] c"#define DISABLE_DOUBLES\0A#undef DISABLE_FLOATS\0A#define ZIGGURAT_NORMAL_FLOAT\0A#include \22MT_global.hcl\22\0A#ifndef __RND_WORKGROUP_SIZE\0A__kernel __ziggurat_normal_float_kernel( MT, );\0A#else\0A__kernel __attribute__((reqd_work_group_size(__RND_WORKGROUP_SIZE, 1, 1))) __ziggurat_normal_float_kernel( MT, );\0A#endif\00", align 16
@CL_SUCCESS = dso_local global i32 0, align 4
@CL_CONTEXT_DEVICES = dso_local global i32 0, align 4
@CL_BUILD_IN_PROGRESS = dso_local global i64 0, align 8
@CL_PROGRAM_BUILD_STATUS = dso_local global i32 0, align 4
@CL_BUILD_SUCCESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"MT_ziggurat_normal_float_kernel\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @CL_MT_global_ziggurat_normal_float_create_kernel(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca [307 x i8], align 16
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
store i32 %0, ptr %9, align 4
store i64 %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.CL_MT_global_ziggurat_normal_float_create_kernel.source_string, i64 307, i1 false)
%26 = load ptr, ptr %15, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %7
store ptr %17, ptr %15, align 8
br label %29
29: ; preds = %28, %7
%30 = getelementptr inbounds [307 x i8], ptr %16, i64 0, i64 0
store ptr %30, ptr %18, align 8
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %15, align 8
%33 = call i32 @clCreateProgramWithSource(i32 noundef %31, i32 noundef 1, ptr noundef %18, ptr noundef null, ptr noundef %32)
store i32 %33, ptr %19, align 4
%34 = load ptr, ptr %15, align 8
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr @CL_SUCCESS, align 4
%37 = icmp ne i32 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %29
store ptr null, ptr %8, align 8
br label %143
39: ; preds = %29
%40 = load ptr, ptr %11, align 8
store ptr %40, ptr %21, align 8
%41 = load ptr, ptr %11, align 8
%42 = icmp eq ptr %41, null
%43 = zext i1 %42 to i32
store i32 %43, ptr %20, align 4
br i1 %42, label %44, label %81
44: ; preds = %39
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%47 = call i32 @clGetContextInfo(i32 noundef %45, i32 noundef %46, i64 noundef 0, ptr noundef null, ptr noundef %22)
%48 = load ptr, ptr %15, align 8
store i32 %47, ptr %48, align 4
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr @CL_SUCCESS, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %54
53: ; preds = %44
store ptr null, ptr %8, align 8
br label %143
54: ; preds = %44
%55 = load i64, ptr %10, align 8
%56 = icmp eq i64 %55, 0
br i1 %56, label %62, label %57
57: ; preds = %54
%58 = load i64, ptr %10, align 8
%59 = load i64, ptr %22, align 8
%60 = udiv i64 %59, 4
%61 = icmp ugt i64 %58, %60
br i1 %61, label %62, label %65
62: ; preds = %57, %54
%63 = load i64, ptr %22, align 8
%64 = udiv i64 %63, 4
store i64 %64, ptr %10, align 8
br label %65
65: ; preds = %62, %57
%66 = load i64, ptr %22, align 8
%67 = call i64 @malloc(i64 noundef %66)
%68 = inttoptr i64 %67 to ptr
store ptr %68, ptr %21, align 8
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%71 = load i64, ptr %22, align 8
%72 = load ptr, ptr %21, align 8
%73 = call i32 @clGetContextInfo(i32 noundef %69, i32 noundef %70, i64 noundef %71, ptr noundef %72, ptr noundef null)
%74 = load ptr, ptr %15, align 8
store i32 %73, ptr %74, align 4
%75 = load ptr, ptr %15, align 8
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr @CL_SUCCESS, align 4
%78 = icmp ne i32 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %65
store ptr null, ptr %8, align 8
br label %143
80: ; preds = %65
br label %81
81: ; preds = %80, %39
%82 = load i32, ptr %19, align 4
%83 = load i64, ptr %10, align 8
%84 = load ptr, ptr %21, align 8
%85 = load ptr, ptr %12, align 8
%86 = load ptr, ptr %13, align 8
%87 = load ptr, ptr %14, align 8
%88 = call i32 @clBuildProgram(i32 noundef %82, i64 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87)
%89 = load ptr, ptr %15, align 8
store i32 %88, ptr %89, align 4
%90 = load ptr, ptr %15, align 8
%91 = load i32, ptr %90, align 4
%92 = load i32, ptr @CL_SUCCESS, align 4
%93 = icmp ne i32 %91, %92
br i1 %93, label %94, label %95
94: ; preds = %81
store ptr null, ptr %8, align 8
br label %143
95: ; preds = %81
%96 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
store i64 %96, ptr %23, align 8
store i32 0, ptr %24, align 4
%97 = load i32, ptr %24, align 4
%98 = sext i32 %97 to i64
%99 = load i64, ptr %10, align 8
%100 = icmp ult i64 %98, %99
br i1 %100, label %.lr.ph2, label %130
.lr.ph2: ; preds = %95
br label %101
101: ; preds = %.lr.ph2, %123
%102 = load i64, ptr %23, align 8
%103 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
%104 = icmp eq i64 %102, %103
br i1 %104, label %.lr.ph, label %117
.lr.ph: ; preds = %101
br label %105
105: ; preds = %.lr.ph, %105
%106 = load i32, ptr %19, align 4
%107 = load ptr, ptr %21, align 8
%108 = load i32, ptr %24, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
%111 = load i32, ptr %110, align 4
%112 = load i32, ptr @CL_PROGRAM_BUILD_STATUS, align 4
%113 = call i32 @clGetProgramBuildInfo(i32 noundef %106, i32 noundef %111, i32 noundef %112, i32 noundef 8, ptr noundef %23, ptr noundef null)
%114 = load i64, ptr %23, align 8
%115 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
%116 = icmp eq i64 %114, %115
br i1 %116, label %105, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %105
br label %117
117: ; preds = %._crit_edge, %101
%118 = load i64, ptr %23, align 8
%119 = load i64, ptr @CL_BUILD_SUCCESS, align 8
%120 = icmp ne i64 %118, %119
br i1 %120, label %121, label %122
121: ; preds = %117
store ptr null, ptr %8, align 8
br label %143
122: ; preds = %117
br label %123
123: ; preds = %122
%124 = load i32, ptr %24, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %24, align 4
%126 = load i32, ptr %24, align 4
%127 = sext i32 %126 to i64
%128 = load i64, ptr %10, align 8
%129 = icmp ult i64 %127, %128
br i1 %129, label %101, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %123
br label %130
130: ; preds = %._crit_edge3, %95
%131 = load i32, ptr %19, align 4
%132 = load ptr, ptr %15, align 8
%133 = call ptr @clCreateKernel(i32 noundef %131, ptr noundef @.str, ptr noundef %132)
store ptr %133, ptr %25, align 8
%134 = load i32, ptr %19, align 4
%135 = call i32 @clReleaseProgram(i32 noundef %134)
%136 = load i32, ptr %20, align 4
%137 = icmp ne i32 %136, 0
br i1 %137, label %138, label %141
138: ; preds = %130
%139 = load ptr, ptr %21, align 8
%140 = call i32 @free(ptr noundef %139)
br label %141
141: ; preds = %138, %130
%142 = load ptr, ptr %25, align 8
store ptr %142, ptr %8, align 8
br label %143
143: ; preds = %141, %121, %94, %79, %53, %38
%144 = load ptr, ptr %8, align 8
ret ptr %144
}
; 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 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetContextInfo(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2
declare i64 @malloc(i64 noundef) #2
declare i32 @clBuildProgram(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @clReleaseProgram(i32 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpryp5a5z0.c'
source_filename = "/tmp/tmpryp5a5z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"thread 1 returning\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @threadFunc1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret ptr inttoptr (i64 1 to ptr)
}
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/tmpryp5a5z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"thread 1 returning\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @threadFunc1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret ptr inttoptr (i64 1 to ptr)
}
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/tmpztqpqe_2.c'
source_filename = "/tmp/tmpztqpqe_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @test_sha256()
ret void
}
declare i32 @test_sha256(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpztqpqe_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @test_sha256()
ret void
}
declare i32 @test_sha256(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwsj36q8m.c'
source_filename = "/tmp/tmpwsj36q8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_open_output(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @buffer_open(ptr noundef %3, i32 noundef 1)
ret i32 %4
}
declare i32 @buffer_open(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/tmpwsj36q8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_open_output(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @buffer_open(ptr noundef %3, i32 noundef 1)
ret i32 %4
}
declare i32 @buffer_open(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/tmpy01xduxk.c'
source_filename = "/tmp/tmpy01xduxk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strpad(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = load i32, ptr %6, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %4, align 8
br label %31
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %26, %15
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %29
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %7, align 8
%25 = call i32 @strcat(ptr noundef %23, ptr noundef %24)
br label %26
26: ; preds = %22
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
br label %18, !llvm.loop !6
29: ; preds = %18
%30 = load ptr, ptr %5, align 8
store ptr %30, ptr %4, align 8
br label %31
31: ; preds = %29, %13
%32 = load ptr, ptr %4, align 8
ret ptr %32
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(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/tmpy01xduxk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strpad(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = load i32, ptr %6, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %4, align 8
br label %33
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %31
.lr.ph: ; preds = %15
br label %21
21: ; preds = %.lr.ph, %25
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @strcat(ptr noundef %22, ptr noundef %23)
br label %25
25: ; preds = %21
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %15
%32 = load ptr, ptr %5, align 8
store ptr %32, ptr %4, align 8
br label %33
33: ; preds = %31, %13
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(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/tmp5p2t7_pr.c'
source_filename = "/tmp/tmp5p2t7_pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LCD echo on/off=1/0 \0A\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c"Beware of this as you may screw up the current status display of this program! \0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BNCLCDEchoOnOff() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 99, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
%8 = load i32, ptr %1, align 4
%9 = call i32 @BNCIO2(i32 noundef 33, i32 noundef %8)
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @BNCIO2(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/tmp5p2t7_pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LCD echo on/off=1/0 \0A\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c"Beware of this as you may screw up the current status display of this program! \0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BNCLCDEchoOnOff() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i32 99, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
%8 = load i32, ptr %1, align 4
%9 = call i32 @BNCIO2(i32 noundef 33, i32 noundef %8)
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @BNCIO2(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/tmpd9fco3hu.c'
source_filename = "/tmp/tmpd9fco3hu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"\0Awho plays first ? 1. computer 2. user\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0Ainvalid choice\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 11, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = call i32 @firstComputer(i32 noundef %9)
br label %20
11: ; preds = %0
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = call i32 @firstUser(i32 noundef %15)
br label %19
17: ; preds = %11
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %14
br label %20
20: ; preds = %19, %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @firstComputer(i32 noundef) #1
declare i32 @firstUser(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/tmpd9fco3hu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"\0Awho plays first ? 1. computer 2. user\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0Ainvalid choice\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 11, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = call i32 @firstComputer(i32 noundef %9)
br label %20
11: ; preds = %0
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = call i32 @firstUser(i32 noundef %15)
br label %19
17: ; preds = %11
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %14
br label %20
20: ; preds = %19, %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @firstComputer(i32 noundef) #1
declare i32 @firstUser(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/tmpf42qtx1q.c'
source_filename = "/tmp/tmpf42qtx1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"myftpd 0.0.1\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"WARNNING: This program is pre-alpha, so be careful to use it.\0A\00", align 1
@.str.2 = private unnamed_addr constant [80 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"This is free software: you are free to change and redistribute it.\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0AWritten by Given_92(huiyiqun@gmail.com)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ftpd_version_str() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmpf42qtx1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"myftpd 0.0.1\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"WARNNING: This program is pre-alpha, so be careful to use it.\0A\00", align 1
@.str.2 = private unnamed_addr constant [80 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"This is free software: you are free to change and redistribute it.\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0AWritten by Given_92(huiyiqun@gmail.com)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ftpd_version_str() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmp6fjlck4b.c'
source_filename = "/tmp/tmp6fjlck4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09Twin Primes to %d\09\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"\09[%d ; %d]\09\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @twin_primes() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i16, align 2
store i32 10, ptr %1, align 4
store i16 0, ptr %4, align 2
%5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 10)
store i32 2, ptr %2, align 4
br label %6
6: ; preds = %33, %0
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %36
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 2
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = call i64 @is_prime(i32 noundef %12)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %32
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = call i64 @is_prime(i32 noundef %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %32
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21)
%23 = load i16, ptr %4, align 2
%24 = sext i16 %23 to i32
%25 = add nsw i32 %24, 1
%26 = trunc i32 %25 to i16
store i16 %26, ptr %4, align 2
%27 = load i16, ptr %4, align 2
%28 = sext i16 %27 to i32
%29 = icmp eq i32 %28, 10
br i1 %29, label %30, label %31
30: ; preds = %19
br label %36
31: ; preds = %19
br label %32
32: ; preds = %31, %15, %9
br label %33
33: ; preds = %32
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %6, !llvm.loop !6
36: ; preds = %30, %6
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i64 @is_prime(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/tmp6fjlck4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09Twin Primes to %d\09\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"\09[%d ; %d]\09\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @twin_primes() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i16, align 2
store i32 10, ptr %1, align 4
store i16 0, ptr %4, align 2
%5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 10)
store i32 2, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %32
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 2
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = call i64 @is_prime(i32 noundef %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %31
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = call i64 @is_prime(i32 noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %31
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %19, i32 noundef %20)
%22 = load i16, ptr %4, align 2
%23 = sext i16 %22 to i32
%24 = add nsw i32 %23, 1
%25 = trunc i32 %24 to i16
store i16 %25, ptr %4, align 2
%26 = load i16, ptr %4, align 2
%27 = sext i16 %26 to i32
%28 = icmp eq i32 %27, 10
br i1 %28, label %29, label %30
29: ; preds = %18
br label %37
30: ; preds = %18
br label %31
31: ; preds = %30, %14, %8
br label %32
32: ; preds = %31
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %37
37: ; preds = %.loopexit, %29
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i64 @is_prime(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/tmpbtagqlj0.c'
source_filename = "/tmp/tmpbtagqlj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@format_percent.result = internal global [10 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [6 x i8] c" ???\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%4.0f\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%4.1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_percent(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp olt double %3, 0.000000e+00
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = fcmp oge double %6, 1.000000e+04
br i1 %7, label %8, label %10
8: ; preds = %5, %1
%9 = call i32 @strcpy(ptr noundef @format_percent.result, ptr noundef @.str)
br label %20
10: ; preds = %5
%11 = load double, ptr %2, align 8
%12 = fcmp ogt double %11, 0x4058FF5C28F5C28F
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load double, ptr %2, align 8
%15 = call i32 @sprintf(ptr noundef @format_percent.result, ptr noundef @.str.1, double noundef %14)
br label %19
16: ; preds = %10
%17 = load double, ptr %2, align 8
%18 = call i32 @sprintf(ptr noundef @format_percent.result, ptr noundef @.str.2, double noundef %17)
br label %19
19: ; preds = %16, %13
br label %20
20: ; preds = %19, %8
ret ptr @format_percent.result
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbtagqlj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@format_percent.result = internal global [10 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [6 x i8] c" ???\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%4.0f\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%4.1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_percent(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp olt double %3, 0.000000e+00
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = fcmp oge double %6, 1.000000e+04
br i1 %7, label %8, label %10
8: ; preds = %5, %1
%9 = call i32 @strcpy(ptr noundef @format_percent.result, ptr noundef @.str)
br label %20
10: ; preds = %5
%11 = load double, ptr %2, align 8
%12 = fcmp ogt double %11, 0x4058FF5C28F5C28F
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load double, ptr %2, align 8
%15 = call i32 @sprintf(ptr noundef @format_percent.result, ptr noundef @.str.1, double noundef %14)
br label %19
16: ; preds = %10
%17 = load double, ptr %2, align 8
%18 = call i32 @sprintf(ptr noundef @format_percent.result, ptr noundef @.str.2, double noundef %17)
br label %19
19: ; preds = %16, %13
br label %20
20: ; preds = %19, %8
ret ptr @format_percent.result
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq5lkoyk5.c'
source_filename = "/tmp/tmpq5lkoyk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"fd1 is open\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"fd1 is closed\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"fd2 is open\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"fd2 is closed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i64 @is_open(i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.1)
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.2)
br label %13
13: ; preds = %11, %9
%14 = load i32, ptr %2, align 4
%15 = call i32 @close(i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i64 @is_open(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 @printf(ptr noundef @.str.1)
br label %23
21: ; preds = %13
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %19
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 @open(ptr noundef @.str, i32 noundef %24)
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = call i64 @is_open(i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = call i32 @printf(ptr noundef @.str.3)
br label %33
31: ; preds = %23
%32 = call i32 @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %31, %29
%34 = load i32, ptr %3, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = load i32, ptr %2, align 4
%37 = call i64 @is_open(i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %33
%40 = call i32 @printf(ptr noundef @.str.3)
br label %43
41: ; preds = %33
%42 = call i32 @printf(ptr noundef @.str.4)
br label %43
43: ; preds = %41, %39
%44 = load i32, ptr @O_RDONLY, align 4
%45 = call i32 @open(ptr noundef @.str, i32 noundef %44)
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %2, align 4
%47 = call i64 @is_open(i32 noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %43
%50 = call i32 @printf(ptr noundef @.str.3)
br label %53
51: ; preds = %43
%52 = call i32 @printf(ptr noundef @.str.4)
br label %53
53: ; preds = %51, %49
%54 = load i32, ptr %1, align 4
ret i32 %54
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @is_open(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5lkoyk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"fd1 is open\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"fd1 is closed\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"fd2 is open\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"fd2 is closed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i64 @is_open(i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.1)
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.2)
br label %13
13: ; preds = %11, %9
%14 = load i32, ptr %2, align 4
%15 = call i32 @close(i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i64 @is_open(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 @printf(ptr noundef @.str.1)
br label %23
21: ; preds = %13
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %19
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 @open(ptr noundef @.str, i32 noundef %24)
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = call i64 @is_open(i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = call i32 @printf(ptr noundef @.str.3)
br label %33
31: ; preds = %23
%32 = call i32 @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %31, %29
%34 = load i32, ptr %3, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = load i32, ptr %2, align 4
%37 = call i64 @is_open(i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %33
%40 = call i32 @printf(ptr noundef @.str.3)
br label %43
41: ; preds = %33
%42 = call i32 @printf(ptr noundef @.str.4)
br label %43
43: ; preds = %41, %39
%44 = load i32, ptr @O_RDONLY, align 4
%45 = call i32 @open(ptr noundef @.str, i32 noundef %44)
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %2, align 4
%47 = call i64 @is_open(i32 noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %43
%50 = call i32 @printf(ptr noundef @.str.3)
br label %53
51: ; preds = %43
%52 = call i32 @printf(ptr noundef @.str.4)
br label %53
53: ; preds = %51, %49
%54 = load i32, ptr %1, align 4
ret i32 %54
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @is_open(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp57m0eekh.c'
source_filename = "/tmp/tmp57m0eekh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [500 x i8] c"Usage: shaman [options]\0A\0AOptions:\0A -h, --help\09\09\09print help and exit\0A -i, --imperial\09\09use Imperial units (default)\0A -m, --metric\09\09\09use Metric units\0A -q, --quiet\09\09\09silence all output\0A -r, --refresh\09\09\09force update of local cache\0A -v, --verbose\09\09\09output more status information\0A -c, --cache\09\09\09specify location of local cache\0A -f, --format=\22format\22\09\09format output according to \22format\22\0A -l, --location=\22location\22\09print weather information for \22location\22\0A\0ASee `man 1 shaman` for more information\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_usage(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 ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4
br label %9
7: ; preds = %1
%8 = load i32, ptr @stdout, align 4
br label %9
9: ; preds = %7, %5
%10 = phi i32 [ %6, %5 ], [ %8, %7 ]
%11 = call i32 @fputs(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
}
declare i32 @fputs(ptr noundef, 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/tmp57m0eekh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [500 x i8] c"Usage: shaman [options]\0A\0AOptions:\0A -h, --help\09\09\09print help and exit\0A -i, --imperial\09\09use Imperial units (default)\0A -m, --metric\09\09\09use Metric units\0A -q, --quiet\09\09\09silence all output\0A -r, --refresh\09\09\09force update of local cache\0A -v, --verbose\09\09\09output more status information\0A -c, --cache\09\09\09specify location of local cache\0A -f, --format=\22format\22\09\09format output according to \22format\22\0A -l, --location=\22location\22\09print weather information for \22location\22\0A\0ASee `man 1 shaman` for more information\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_usage(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 ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4
br label %9
7: ; preds = %1
%8 = load i32, ptr @stdout, align 4
br label %9
9: ; preds = %7, %5
%10 = phi i32 [ %6, %5 ], [ %8, %7 ]
%11 = call i32 @fputs(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
}
declare i32 @fputs(ptr noundef, 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/tmp2f2l_tmt.c'
source_filename = "/tmp/tmp2f2l_tmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 2
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 2
%8 = mul nsw i32 %5, %7
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 2
%11 = mul nsw i32 %8, %10
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2f2l_tmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 2
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 2
%8 = mul nsw i32 %5, %7
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 2
%11 = mul nsw i32 %8, %10
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr74nt8gx.c'
source_filename = "/tmp/tmpr74nt8gx.c"
target datalayout = "e-m:e-p270: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/tmpr74nt8gx.c"
target datalayout = "e-m:e-p270: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/tmpyi4gt3hl.c'
source_filename = "/tmp/tmpyi4gt3hl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"blanks:%d tabs:%d lines:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %30, %0
%7 = call i32 (...) @getchar()
store i32 %7, ptr %5, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %10, label %31
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 32
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %30
16: ; preds = %10
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 9
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %29
22: ; preds = %16
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %28
28: ; preds = %25, %22
br label %29
29: ; preds = %28, %19
br label %30
30: ; preds = %29, %13
br label %6, !llvm.loop !6
31: ; preds = %6
%32 = load i32, ptr %2, align 4
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %4, align 4
%35 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i32 noundef %34)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyi4gt3hl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"blanks:%d tabs:%d lines:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
%6 = call i32 (...) @getchar()
store i32 %6, ptr %5, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %29
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 32
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %29
15: ; preds = %9
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 9
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %28
21: ; preds = %15
%22 = load i32, ptr %5, align 4
%23 = icmp eq i32 %22, 10
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %24, %21
br label %28
28: ; preds = %27, %18
br label %29
29: ; preds = %28, %12
%30 = call i32 (...) @getchar()
store i32 %30, ptr %5, align 4
%31 = load i32, ptr @EOF, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %33
33: ; preds = %._crit_edge, %0
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %4, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %34, i32 noundef %35, i32 noundef %36)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkaitau2b.c'
source_filename = "/tmp/tmpkaitau2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Usage: dice randFile numDice numSides\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Rolling %u %u-sided dice:\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 4
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %45
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
store i32 %22, ptr %7, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 3
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27, i32 noundef %28)
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %38, %14
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %41
34: ; preds = %30
%35 = load i32, ptr %8, align 4
%36 = load ptr, ptr %6, align 8
%37 = call i32 @rollDie(i32 noundef %35, ptr noundef %36)
br label %38
38: ; preds = %34
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %30, !llvm.loop !6
41: ; preds = %30
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fclose(ptr noundef %43)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %41, %12
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @rollDie(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkaitau2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Usage: dice randFile numDice numSides\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Rolling %u %u-sided dice:\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 4
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %47
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
store i32 %22, ptr %7, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 3
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27, i32 noundef %28)
store i32 0, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph, label %43
.lr.ph: ; preds = %14
br label %33
33: ; preds = %.lr.ph, %37
%34 = load i32, ptr %8, align 4
%35 = load ptr, ptr %6, align 8
%36 = call i32 @rollDie(i32 noundef %34, ptr noundef %35)
br label %37
37: ; preds = %33
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %14
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%45 = load ptr, ptr %6, align 8
%46 = call i32 @fclose(ptr noundef %45)
store i32 0, ptr %3, align 4
br label %47
47: ; preds = %43, %12
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @rollDie(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm7klpewv.c'
source_filename = "/tmp/tmpm7klpewv.c"
target datalayout = "e-m:e-p270: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/tmpm7klpewv.c"
target datalayout = "e-m:e-p270: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/tmpkm04j7fq.c'
source_filename = "/tmp/tmpkm04j7fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPERM = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clock_getcpuclockid(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = call i64 (...) @getpid()
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = load i32, ptr @EPERM, align 4
store i32 %13, ptr %3, align 4
br label %16
14: ; preds = %8, %2
%15 = load i32, ptr @ENOENT, align 4
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %14, %12
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i64 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkm04j7fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPERM = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clock_getcpuclockid(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = call i64 (...) @getpid()
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = load i32, ptr @EPERM, align 4
store i32 %13, ptr %3, align 4
br label %16
14: ; preds = %8, %2
%15 = load i32, ptr @ENOENT, align 4
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %14, %12
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i64 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9k39netv.c'
source_filename = "/tmp/tmp9k39netv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nthtoken(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %19, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %7, align 8
%18 = call ptr @readtoken(ptr noundef %15, ptr noundef %16, ptr noundef %17)
store ptr %18, ptr %6, align 8
br label %19
19: ; preds = %14
%20 = load i32, ptr %9, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %9, align 4
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = load ptr, ptr %6, align 8
ret ptr %23
}
declare ptr @readtoken(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9k39netv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nthtoken(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %24
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %18
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = call ptr @readtoken(ptr noundef %14, ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %6, align 8
br label %18
18: ; preds = %13
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %4
%25 = load ptr, ptr %6, align 8
ret ptr %25
}
declare ptr @readtoken(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp49h3_uci.c'
source_filename = "/tmp/tmp49h3_uci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"better_read()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @better_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %8
8: ; preds = %34, %26, %3
%9 = load i64, ptr %6, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %41
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %6, align 8
%15 = call i64 @read(i32 noundef %12, ptr noundef %13, i64 noundef %14)
store i64 %15, ptr %7, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp eq i64 %16, -1
br i1 %17, label %18, label %29
18: ; preds = %11
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @EINTR, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load i64, ptr @errno, align 8
%24 = load i64, ptr @EAGAIN, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %22, %18
br label %8, !llvm.loop !6
27: ; preds = %22
%28 = call i32 @perror(ptr noundef @.str)
br label %41
29: ; preds = %11
%30 = load i64, ptr %7, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = load i64, ptr @EAGAIN, align 8
store i64 %33, ptr @errno, align 8
br label %41
34: ; preds = %29
%35 = load i64, ptr %7, align 8
%36 = load i64, ptr %6, align 8
%37 = sub i64 %36, %35
store i64 %37, ptr %6, align 8
%38 = load ptr, ptr %5, align 8
%39 = load i64, ptr %7, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store ptr %40, ptr %5, align 8
br label %8, !llvm.loop !6
41: ; preds = %32, %27, %8
%42 = load i64, ptr %6, align 8
ret i64 %42
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp49h3_uci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"better_read()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @better_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %.backedge
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = call i64 @read(i32 noundef %11, ptr noundef %12, i64 noundef %13)
store i64 %14, ptr %7, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp eq i64 %15, -1
br i1 %16, label %17, label %30
17: ; preds = %10
%18 = load i64, ptr @errno, align 8
%19 = load i64, ptr @EINTR, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load i64, ptr @errno, align 8
%23 = load i64, ptr @EAGAIN, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %21, %17
br label %.backedge
.backedge: ; preds = %25, %35
%26 = load i64, ptr %6, align 8
%27 = icmp ne i64 %26, 0
br i1 %27, label %10, label %..loopexit_crit_edge, !llvm.loop !6
28: ; preds = %21
%29 = call i32 @perror(ptr noundef @.str)
br label %42
30: ; preds = %10
%31 = load i64, ptr %7, align 8
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = load i64, ptr @EAGAIN, align 8
store i64 %34, ptr @errno, align 8
br label %42
35: ; preds = %30
%36 = load i64, ptr %7, align 8
%37 = load i64, ptr %6, align 8
%38 = sub i64 %37, %36
store i64 %38, ptr %6, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %7, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
store ptr %41, ptr %5, align 8
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %42
42: ; preds = %.loopexit, %33, %28
%43 = load i64, ptr %6, align 8
ret i64 %43
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6pys4qf7.c'
source_filename = "/tmp/tmp6pys4qf7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PointNormal(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %3, align 8
store double 0xBFD49F74C64EF237, ptr %4, align 8
store double -1.000000e+00, ptr %5, align 8
store double 0xBFD5E74B5C67F146, ptr %6, align 8
store double 0xBF94E9CC7387A830, ptr %7, align 8
store double 0xBF07C8AEC3ED1A62, ptr %8, align 8
store double 0x3FB96EE69DCCF754, ptr %9, align 8
store double 0x3FE2D5A90489BD2F, ptr %10, align 8
store double 0x3FE0FECCB034F054, ptr %11, align 8
store double 0x3FBA81733E645F68, ptr %12, align 8
store double 0x3F6F96C3DA074588, ptr %13, align 8
store double 0.000000e+00, ptr %15, align 8
%18 = load double, ptr %3, align 8
store double %18, ptr %16, align 8
%19 = load double, ptr %16, align 8
%20 = fcmp olt double %19, 5.000000e-01
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = load double, ptr %16, align 8
br label %26
23: ; preds = %1
%24 = load double, ptr %16, align 8
%25 = fsub double 1.000000e+00, %24
br label %26
26: ; preds = %23, %21
%27 = phi double [ %22, %21 ], [ %25, %23 ]
store double %27, ptr %17, align 8
%28 = load double, ptr %17, align 8
%29 = fcmp olt double %28, 0x3BC79CA10C924223
br i1 %29, label %30, label %31
30: ; preds = %26
store double -9.999000e+03, ptr %2, align 8
br label %77
31: ; preds = %26
%32 = load double, ptr %17, align 8
%33 = load double, ptr %17, align 8
%34 = fmul double %32, %33
%35 = fdiv double 1.000000e+00, %34
%36 = fptosi double %35 to i32
%37 = call i32 @log(i32 noundef %36)
%38 = call double @sqrt(i32 noundef %37)
store double %38, ptr %14, align 8
%39 = load double, ptr %14, align 8
%40 = load double, ptr %14, align 8
%41 = load double, ptr %8, align 8
%42 = load double, ptr %7, align 8
%43 = call double @llvm.fmuladd.f64(double %40, double %41, double %42)
%44 = load double, ptr %14, align 8
%45 = load double, ptr %6, align 8
%46 = call double @llvm.fmuladd.f64(double %43, double %44, double %45)
%47 = load double, ptr %14, align 8
%48 = load double, ptr %5, align 8
%49 = call double @llvm.fmuladd.f64(double %46, double %47, double %48)
%50 = load double, ptr %14, align 8
%51 = load double, ptr %4, align 8
%52 = call double @llvm.fmuladd.f64(double %49, double %50, double %51)
%53 = load double, ptr %14, align 8
%54 = load double, ptr %13, align 8
%55 = load double, ptr %12, align 8
%56 = call double @llvm.fmuladd.f64(double %53, double %54, double %55)
%57 = load double, ptr %14, align 8
%58 = load double, ptr %11, align 8
%59 = call double @llvm.fmuladd.f64(double %56, double %57, double %58)
%60 = load double, ptr %14, align 8
%61 = load double, ptr %10, align 8
%62 = call double @llvm.fmuladd.f64(double %59, double %60, double %61)
%63 = load double, ptr %14, align 8
%64 = load double, ptr %9, align 8
%65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64)
%66 = fdiv double %52, %65
%67 = fadd double %39, %66
store double %67, ptr %15, align 8
%68 = load double, ptr %16, align 8
%69 = fcmp olt double %68, 5.000000e-01
br i1 %69, label %70, label %73
70: ; preds = %31
%71 = load double, ptr %15, align 8
%72 = fneg double %71
br label %75
73: ; preds = %31
%74 = load double, ptr %15, align 8
br label %75
75: ; preds = %73, %70
%76 = phi double [ %72, %70 ], [ %74, %73 ]
store double %76, ptr %2, align 8
br label %77
77: ; preds = %75, %30
%78 = load double, ptr %2, align 8
ret double %78
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 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/tmp6pys4qf7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PointNormal(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %3, align 8
store double 0xBFD49F74C64EF237, ptr %4, align 8
store double -1.000000e+00, ptr %5, align 8
store double 0xBFD5E74B5C67F146, ptr %6, align 8
store double 0xBF94E9CC7387A830, ptr %7, align 8
store double 0xBF07C8AEC3ED1A62, ptr %8, align 8
store double 0x3FB96EE69DCCF754, ptr %9, align 8
store double 0x3FE2D5A90489BD2F, ptr %10, align 8
store double 0x3FE0FECCB034F054, ptr %11, align 8
store double 0x3FBA81733E645F68, ptr %12, align 8
store double 0x3F6F96C3DA074588, ptr %13, align 8
store double 0.000000e+00, ptr %15, align 8
%18 = load double, ptr %3, align 8
store double %18, ptr %16, align 8
%19 = load double, ptr %16, align 8
%20 = fcmp olt double %19, 5.000000e-01
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = load double, ptr %16, align 8
br label %26
23: ; preds = %1
%24 = load double, ptr %16, align 8
%25 = fsub double 1.000000e+00, %24
br label %26
26: ; preds = %23, %21
%27 = phi double [ %22, %21 ], [ %25, %23 ]
store double %27, ptr %17, align 8
%28 = load double, ptr %17, align 8
%29 = fcmp olt double %28, 0x3BC79CA10C924223
br i1 %29, label %30, label %31
30: ; preds = %26
store double -9.999000e+03, ptr %2, align 8
br label %77
31: ; preds = %26
%32 = load double, ptr %17, align 8
%33 = load double, ptr %17, align 8
%34 = fmul double %32, %33
%35 = fdiv double 1.000000e+00, %34
%36 = fptosi double %35 to i32
%37 = call i32 @log(i32 noundef %36)
%38 = call double @sqrt(i32 noundef %37)
store double %38, ptr %14, align 8
%39 = load double, ptr %14, align 8
%40 = load double, ptr %14, align 8
%41 = load double, ptr %8, align 8
%42 = load double, ptr %7, align 8
%43 = call double @llvm.fmuladd.f64(double %40, double %41, double %42)
%44 = load double, ptr %14, align 8
%45 = load double, ptr %6, align 8
%46 = call double @llvm.fmuladd.f64(double %43, double %44, double %45)
%47 = load double, ptr %14, align 8
%48 = load double, ptr %5, align 8
%49 = call double @llvm.fmuladd.f64(double %46, double %47, double %48)
%50 = load double, ptr %14, align 8
%51 = load double, ptr %4, align 8
%52 = call double @llvm.fmuladd.f64(double %49, double %50, double %51)
%53 = load double, ptr %14, align 8
%54 = load double, ptr %13, align 8
%55 = load double, ptr %12, align 8
%56 = call double @llvm.fmuladd.f64(double %53, double %54, double %55)
%57 = load double, ptr %14, align 8
%58 = load double, ptr %11, align 8
%59 = call double @llvm.fmuladd.f64(double %56, double %57, double %58)
%60 = load double, ptr %14, align 8
%61 = load double, ptr %10, align 8
%62 = call double @llvm.fmuladd.f64(double %59, double %60, double %61)
%63 = load double, ptr %14, align 8
%64 = load double, ptr %9, align 8
%65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64)
%66 = fdiv double %52, %65
%67 = fadd double %39, %66
store double %67, ptr %15, align 8
%68 = load double, ptr %16, align 8
%69 = fcmp olt double %68, 5.000000e-01
br i1 %69, label %70, label %73
70: ; preds = %31
%71 = load double, ptr %15, align 8
%72 = fneg double %71
br label %75
73: ; preds = %31
%74 = load double, ptr %15, align 8
br label %75
75: ; preds = %73, %70
%76 = phi double [ %72, %70 ], [ %74, %73 ]
store double %76, ptr %2, align 8
br label %77
77: ; preds = %75, %30
%78 = load double, ptr %2, align 8
ret double %78
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 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/tmp54c_d09e.c'
source_filename = "/tmp/tmp54c_d09e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BIO_int_ctrl(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %8, align 4
store i32 %10, ptr %9, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = load i64, ptr %7, align 8
%14 = call i64 @BIO_ctrl(ptr noundef %11, i32 noundef %12, i64 noundef %13, ptr noundef %9)
ret i64 %14
}
declare i64 @BIO_ctrl(ptr noundef, i32 noundef, i64 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/tmp54c_d09e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BIO_int_ctrl(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %8, align 4
store i32 %10, ptr %9, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = load i64, ptr %7, align 8
%14 = call i64 @BIO_ctrl(ptr noundef %11, i32 noundef %12, i64 noundef %13, ptr noundef %9)
ret i64 %14
}
declare i64 @BIO_ctrl(ptr noundef, i32 noundef, i64 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/tmpkoe2zqbk.c'
source_filename = "/tmp/tmpkoe2zqbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\09Binary Tree Test Routine\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\0A\09Binary Tree Tests Complete.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bintree_test(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
br label %4
4: ; preds = %15, %1
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %18
7: ; preds = %4
%8 = call i32 (...) @expect_nil_bintree_can_be_destroyed()
%9 = call i32 (...) @expect_cons_bintree_to_make_trees()
%10 = call i32 (...) @expect_insert_bintree_to_work()
%11 = call i32 (...) @expect_iter_bintree_to_work()
%12 = call i32 (...) @expect_map_bintree_to_work()
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = call i32 @fflush(ptr noundef null)
br label %15
15: ; preds = %7
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %2, align 4
br label %4, !llvm.loop !6
18: ; preds = %4
%19 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @expect_nil_bintree_can_be_destroyed(...) #1
declare i32 @expect_cons_bintree_to_make_trees(...) #1
declare i32 @expect_insert_bintree_to_work(...) #1
declare i32 @expect_iter_bintree_to_work(...) #1
declare i32 @expect_map_bintree_to_work(...) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkoe2zqbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\09Binary Tree Test Routine\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\0A\09Binary Tree Tests Complete.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bintree_test(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 0
br i1 %5, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %14
%7 = call i32 (...) @expect_nil_bintree_can_be_destroyed()
%8 = call i32 (...) @expect_cons_bintree_to_make_trees()
%9 = call i32 (...) @expect_insert_bintree_to_work()
%10 = call i32 (...) @expect_iter_bintree_to_work()
%11 = call i32 (...) @expect_map_bintree_to_work()
%12 = call i32 @printf(ptr noundef @.str.1)
%13 = call i32 @fflush(ptr noundef null)
br label %14
14: ; preds = %6
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %1
%20 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @expect_nil_bintree_can_be_destroyed(...) #1
declare i32 @expect_cons_bintree_to_make_trees(...) #1
declare i32 @expect_insert_bintree_to_work(...) #1
declare i32 @expect_iter_bintree_to_work(...) #1
declare i32 @expect_map_bintree_to_work(...) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_dhxbu7b.c'
source_filename = "/tmp/tmp_dhxbu7b.c"
target datalayout = "e-m:e-p270: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_dhxbu7b.c"
target datalayout = "e-m:e-p270: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/tmpnx3c6u5e.c'
source_filename = "/tmp/tmpnx3c6u5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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 ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
br label %14
14: ; preds = %37, %3
%15 = load i64, ptr %7, align 8
%16 = add i64 %15, -1
store i64 %16, ptr %7, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %18, label %38
18: ; preds = %14
%19 = load ptr, ptr %8, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %8, align 8
%21 = load i8, ptr %19, align 1
store i8 %21, ptr %10, align 1
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %9, align 8
%24 = load i8, ptr %22, align 1
store i8 %24, ptr %11, align 1
%25 = load i8, ptr %10, align 1
%26 = zext i8 %25 to i32
%27 = load i8, ptr %11, align 1
%28 = zext i8 %27 to i32
%29 = sub nsw i32 %26, %28
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %18
%32 = load i8, ptr %10, align 1
%33 = zext i8 %32 to i32
%34 = load i8, ptr %11, align 1
%35 = zext i8 %34 to i32
%36 = sub nsw i32 %33, %35
store i32 %36, ptr %4, align 4
br label %39
37: ; preds = %18
br label %14, !llvm.loop !6
38: ; preds = %14
store i32 0, ptr %4, align 4
br label %39
39: ; preds = %38, %31
%40 = load i32, ptr %4, align 4
ret i32 %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnx3c6u5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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 ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load i64, ptr %7, align 8
%15 = add i64 %14, -1
store i64 %15, ptr %7, align 8
%16 = icmp ne i64 %14, 0
br i1 %16, label %.lr.ph, label %40
.lr.ph: ; preds = %3
br label %21
17: ; preds = %21
%18 = load i64, ptr %7, align 8
%19 = add i64 %18, -1
store i64 %19, ptr %7, align 8
%20 = icmp ne i64 %18, 0
br i1 %20, label %21, label %._crit_edge, !llvm.loop !6
21: ; preds = %.lr.ph, %17
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %8, align 8
%24 = load i8, ptr %22, align 1
store i8 %24, ptr %10, align 1
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %9, align 8
%27 = load i8, ptr %25, align 1
store i8 %27, ptr %11, align 1
%28 = load i8, ptr %10, align 1
%29 = zext i8 %28 to i32
%30 = load i8, ptr %11, align 1
%31 = zext i8 %30 to i32
%32 = sub nsw i32 %29, %31
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %17
34: ; preds = %21
%35 = load i8, ptr %10, align 1
%36 = zext i8 %35 to i32
%37 = load i8, ptr %11, align 1
%38 = zext i8 %37 to i32
%39 = sub nsw i32 %36, %38
store i32 %39, ptr %4, align 4
br label %41
._crit_edge: ; preds = %17
br label %40
40: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %40, %34
%42 = load i32, ptr %4, align 4
ret i32 %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8_6qdbkj.c'
source_filename = "/tmp/tmp8_6qdbkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_XReparentEvent() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (...) @abort() #3
unreachable
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
ret ptr %9
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp8_6qdbkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_XReparentEvent() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (...) @abort() #3
unreachable
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
ret ptr %9
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp20mkr3t5.c'
source_filename = "/tmp/tmp20mkr3t5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"GET /\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_home_page(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [10000 x i8], align 16
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%5 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
%11 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %10)
br label %12
12: ; preds = %1, %19
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%15 = call i64 @read(i32 noundef %13, ptr noundef %14, i32 noundef 10000)
store i64 %15, ptr %4, align 8
%16 = load i64, ptr %4, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %12
ret void
19: ; preds = %12
%20 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%21 = load i64, ptr %4, align 8
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @fwrite(ptr noundef %20, i32 noundef 1, i64 noundef %21, i32 noundef %22)
br label %12
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 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/tmp20mkr3t5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"GET /\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_home_page(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [10000 x i8], align 16
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%5 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
%11 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%14 = call i64 @read(i32 noundef %12, ptr noundef %13, i32 noundef 10000)
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %.lr.ph
.lr.ph: ; preds = %1
br label %18
._crit_edge: ; preds = %18
br label %17
17: ; preds = %._crit_edge, %1
ret void
18: ; preds = %.lr.ph, %18
%19 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%20 = load i64, ptr %4, align 8
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fwrite(ptr noundef %19, i32 noundef 1, i64 noundef %20, i32 noundef %21)
%23 = load i32, ptr %2, align 4
%24 = call i64 @read(i32 noundef %23, ptr noundef %13, i32 noundef 10000)
store i64 %24, ptr %4, align 8
%25 = load i64, ptr %4, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label %._crit_edge, label %18
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 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/tmp7_qdlf3q.c'
source_filename = "/tmp/tmp7_qdlf3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test01(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @test00(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = add nsw i32 %11, %12
ret i32 %13
}
declare i32 @test00(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/tmp7_qdlf3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test01(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @test00(i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = add nsw i32 %11, %12
ret i32 %13
}
declare i32 @test00(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/tmpgqu4acwu.c'
source_filename = "/tmp/tmpgqu4acwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"%d bottle%s of beer on the wall,\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"%d bottle%s of beer,\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Take one down,\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Pass it around,\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"%d more bottle%s of beer on the wall.\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"No more bottles of beer on the wall.\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 99, ptr %2, align 4
br label %3
3: ; preds = %35, %0
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %6, label %38
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 1
%10 = zext i1 %9 to i64
%11 = select i1 %9, ptr @.str.1, ptr @.str.2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, ptr noundef %11)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 1
%16 = zext i1 %15 to i64
%17 = select i1 %15, ptr @.str.1, ptr @.str.2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, ptr noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %6
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 1
%29 = zext i1 %28 to i64
%30 = select i1 %28, ptr @.str.1, ptr @.str.2
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %26, ptr noundef %30)
br label %34
32: ; preds = %6
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %34
34: ; preds = %32, %25
br label %35
35: ; preds = %34
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %2, align 4
br label %3, !llvm.loop !6
38: ; preds = %3
%39 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %39
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgqu4acwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"%d bottle%s of beer on the wall,\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"%d bottle%s of beer,\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Take one down,\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Pass it around,\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"%d more bottle%s of beer on the wall.\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"No more bottles of beer on the wall.\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 99, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sge i32 %3, 0
br i1 %4, label %.lr.ph, label %39
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %34
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 1
%9 = zext i1 %8 to i64
%10 = select i1 %8, ptr @.str.1, ptr @.str.2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6, ptr noundef %10)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 1
%15 = zext i1 %14 to i64
%16 = select i1 %14, ptr @.str.1, ptr @.str.2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, ptr noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %31
24: ; preds = %5
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 1
%28 = zext i1 %27 to i64
%29 = select i1 %27, ptr @.str.1, ptr @.str.2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %25, ptr noundef %29)
br label %33
31: ; preds = %5
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %33
33: ; preds = %31, %24
br label %34
34: ; preds = %33
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp sge i32 %37, 0
br i1 %38, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %0
%40 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %40
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8qgtdeuq.c'
source_filename = "/tmp/tmp8qgtdeuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_LOCAL = dso_local global i32 0, align 4
@PF_LOCAL = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmp8qgtdeuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_LOCAL = dso_local global i32 0, align 4
@PF_LOCAL = dso_local global i32 0, align 4
@SOCK_STREAM = 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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.