llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp5yn7y_e7.c'
source_filename = "/tmp/tmp5yn7y_e7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @timeval_subtract(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%10 = load i64, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
%13 = load i32, ptr %12, align 8
%14 = mul nsw i32 1000000, %13
%15 = sext i32 %14 to i64
%16 = add nsw i64 %10, %15
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 0
%19 = load i64, ptr %18, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%22 = load i32, ptr %21, align 8
%23 = mul nsw i32 1000000, %22
%24 = sext i32 %23 to i64
%25 = add nsw i64 %19, %24
%26 = sub nsw i64 %16, %25
store i64 %26, ptr %7, align 8
%27 = load i64, ptr %7, align 8
%28 = sdiv i64 %27, 1000000
%29 = trunc i64 %28 to i32
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1
store i32 %29, ptr %31, align 8
%32 = load i64, ptr %7, align 8
%33 = srem i64 %32, 1000000
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds %struct.timeval, ptr %34, i32 0, i32 0
store i64 %33, ptr %35, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5yn7y_e7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @timeval_subtract(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%10 = load i64, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
%13 = load i32, ptr %12, align 8
%14 = mul nsw i32 1000000, %13
%15 = sext i32 %14 to i64
%16 = add nsw i64 %10, %15
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 0
%19 = load i64, ptr %18, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%22 = load i32, ptr %21, align 8
%23 = mul nsw i32 1000000, %22
%24 = sext i32 %23 to i64
%25 = add nsw i64 %19, %24
%26 = sub nsw i64 %16, %25
store i64 %26, ptr %7, align 8
%27 = load i64, ptr %7, align 8
%28 = sdiv i64 %27, 1000000
%29 = trunc i64 %28 to i32
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1
store i32 %29, ptr %31, align 8
%32 = load i64, ptr %7, align 8
%33 = srem i64 %32, 1000000
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds %struct.timeval, ptr %34, i32 0, i32 0
store i64 %33, ptr %35, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptamkbvr2.c'
source_filename = "/tmp/tmptamkbvr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phi(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fmul double -5.000000e-01, %3
%5 = load double, ptr %2, align 8
%6 = fmul double %4, %5
%7 = call double @exp(double noundef %6) #2
%8 = fmul double 0x3FD9884533D43651, %7
ret double %8
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptamkbvr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phi(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fmul double -5.000000e-01, %3
%5 = load double, ptr %2, align 8
%6 = fmul double %4, %5
%7 = call double @exp(double noundef %6) #2
%8 = fmul double 0x3FD9884533D43651, %7
ret double %8
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu0537iyi.c'
source_filename = "/tmp/tmpu0537iyi.c"
target datalayout = "e-m:e-p270: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_BSHELL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @susystem(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
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = call i32 @vfork() #4
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
switch i32 %9, label %16 [
i32 -1, label %10
i32 0, label %11
]
10: ; preds = %1
store i32 127, ptr %2, align 4
br label %35
11: ; preds = %1
%12 = load i32, ptr @_PATH_BSHELL, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @execl(i32 noundef %12, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %13, ptr noundef null)
%15 = call i32 @_exit(i32 noundef 127) #5
unreachable
16: ; preds = %1
%17 = load i32, ptr @SIGINT, align 4
%18 = load i32, ptr @SIG_IGN, align 4
%19 = call i32 @signal(i32 noundef %17, i32 noundef %18)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr @SIGQUIT, align 4
%21 = load i32, ptr @SIG_IGN, align 4
%22 = call i32 @signal(i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %7, align 4
%24 = call i64 @waitpid(i32 noundef %23, ptr noundef %6, i32 noundef 0)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %16
store i32 -1, ptr %6, align 4
br label %27
27: ; preds = %26, %16
%28 = load i32, ptr @SIGINT, align 4
%29 = load i32, ptr %4, align 4
%30 = call i32 @signal(i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr @SIGQUIT, align 4
%32 = load i32, ptr %5, align 4
%33 = call i32 @signal(i32 noundef %31, i32 noundef %32)
%34 = load i32, ptr %6, align 4
store i32 %34, ptr %2, align 4
br label %35
35: ; preds = %27, %10
%36 = load i32, ptr %2, align 4
ret i32 %36
}
; Function Attrs: returns_twice
declare i32 @vfork() #1
declare i32 @execl(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
declare i32 @signal(i32 noundef, i32 noundef) #2
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { returns_twice }
attributes #5 = { 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/tmpu0537iyi.c"
target datalayout = "e-m:e-p270: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_BSHELL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"sh\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @susystem(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
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = call i32 @vfork() #4
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
switch i32 %9, label %16 [
i32 -1, label %10
i32 0, label %11
]
10: ; preds = %1
store i32 127, ptr %2, align 4
br label %35
11: ; preds = %1
%12 = load i32, ptr @_PATH_BSHELL, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @execl(i32 noundef %12, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %13, ptr noundef null)
%15 = call i32 @_exit(i32 noundef 127) #5
unreachable
16: ; preds = %1
%17 = load i32, ptr @SIGINT, align 4
%18 = load i32, ptr @SIG_IGN, align 4
%19 = call i32 @signal(i32 noundef %17, i32 noundef %18)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr @SIGQUIT, align 4
%21 = load i32, ptr @SIG_IGN, align 4
%22 = call i32 @signal(i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %7, align 4
%24 = call i64 @waitpid(i32 noundef %23, ptr noundef %6, i32 noundef 0)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %16
store i32 -1, ptr %6, align 4
br label %27
27: ; preds = %26, %16
%28 = load i32, ptr @SIGINT, align 4
%29 = load i32, ptr %4, align 4
%30 = call i32 @signal(i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr @SIGQUIT, align 4
%32 = load i32, ptr %5, align 4
%33 = call i32 @signal(i32 noundef %31, i32 noundef %32)
%34 = load i32, ptr %6, align 4
store i32 %34, ptr %2, align 4
br label %35
35: ; preds = %27, %10
%36 = load i32, ptr %2, align 4
ret i32 %36
}
; Function Attrs: returns_twice
declare i32 @vfork() #1
declare i32 @execl(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
declare i32 @signal(i32 noundef, i32 noundef) #2
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { returns_twice }
attributes #5 = { 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/tmpltrfa614.c'
source_filename = "/tmp/tmpltrfa614.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sanket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @decrypt_archive(ptr noundef @.str, ptr noundef @.str)
ret void
}
declare i32 @decrypt_archive(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpltrfa614.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sanket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @decrypt_archive(ptr noundef @.str, ptr noundef @.str)
ret void
}
declare i32 @decrypt_archive(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpla59dm8p.c'
source_filename = "/tmp/tmpla59dm8p.c"
target datalayout = "e-m:e-p270: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/tmpla59dm8p.c"
target datalayout = "e-m:e-p270: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/tmppgdvs33c.c'
source_filename = "/tmp/tmppgdvs33c.c"
target datalayout = "e-m:e-p270: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/tmppgdvs33c.c"
target datalayout = "e-m:e-p270: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/tmpu6yk63mp.c'
source_filename = "/tmp/tmpu6yk63mp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTIrDAConfig(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load i64, ptr %6, align 8
%12 = add i64 %11, 20
%13 = inttoptr i64 %12 to ptr
%14 = load volatile i64, ptr %13, align 8
%15 = and i64 %14, -7
store volatile i64 %15, ptr %13, align 8
%16 = load i64, ptr %6, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %8, align 8
%19 = call i32 @UARTConfigSet(i64 noundef %16, i64 noundef %17, i64 noundef %18)
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, 24
%22 = inttoptr i64 %21 to ptr
%23 = load volatile i64, ptr %22, align 8
%24 = and i64 %23, -256
store volatile i64 %24, ptr %22, align 8
%25 = load i64, ptr %6, align 8
%26 = add i64 %25, 24
%27 = inttoptr i64 %26 to ptr
%28 = load volatile i64, ptr %27, align 8
%29 = or i64 %28, 1
store volatile i64 %29, ptr %27, align 8
%30 = load i64, ptr %6, align 8
%31 = add i64 %30, 20
%32 = inttoptr i64 %31 to ptr
%33 = load volatile i64, ptr %32, align 8
%34 = and i64 %33, -5
store volatile i64 %34, ptr %32, align 8
%35 = load i64, ptr %9, align 8
%36 = and i64 %35, 2147483648
%37 = icmp eq i64 %36, 2147483648
br i1 %37, label %38, label %56
38: ; preds = %5
%39 = load i64, ptr %6, align 8
%40 = add i64 %39, 24
%41 = inttoptr i64 %40 to ptr
%42 = load volatile i64, ptr %41, align 8
%43 = and i64 %42, -256
store volatile i64 %43, ptr %41, align 8
%44 = load i64, ptr %10, align 8
%45 = and i64 %44, 255
%46 = load i64, ptr %6, align 8
%47 = add i64 %46, 24
%48 = inttoptr i64 %47 to ptr
%49 = load volatile i64, ptr %48, align 8
%50 = or i64 %49, %45
store volatile i64 %50, ptr %48, align 8
%51 = load i64, ptr %6, align 8
%52 = add i64 %51, 20
%53 = inttoptr i64 %52 to ptr
%54 = load volatile i64, ptr %53, align 8
%55 = or i64 %54, 4
store volatile i64 %55, ptr %53, align 8
br label %56
56: ; preds = %38, %5
ret void
}
declare i32 @UARTConfigSet(i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu6yk63mp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTIrDAConfig(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load i64, ptr %6, align 8
%12 = add i64 %11, 20
%13 = inttoptr i64 %12 to ptr
%14 = load volatile i64, ptr %13, align 8
%15 = and i64 %14, -7
store volatile i64 %15, ptr %13, align 8
%16 = load i64, ptr %6, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %8, align 8
%19 = call i32 @UARTConfigSet(i64 noundef %16, i64 noundef %17, i64 noundef %18)
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, 24
%22 = inttoptr i64 %21 to ptr
%23 = load volatile i64, ptr %22, align 8
%24 = and i64 %23, -256
store volatile i64 %24, ptr %22, align 8
%25 = load i64, ptr %6, align 8
%26 = add i64 %25, 24
%27 = inttoptr i64 %26 to ptr
%28 = load volatile i64, ptr %27, align 8
%29 = or i64 %28, 1
store volatile i64 %29, ptr %27, align 8
%30 = load i64, ptr %6, align 8
%31 = add i64 %30, 20
%32 = inttoptr i64 %31 to ptr
%33 = load volatile i64, ptr %32, align 8
%34 = and i64 %33, -5
store volatile i64 %34, ptr %32, align 8
%35 = load i64, ptr %9, align 8
%36 = and i64 %35, 2147483648
%37 = icmp eq i64 %36, 2147483648
br i1 %37, label %38, label %56
38: ; preds = %5
%39 = load i64, ptr %6, align 8
%40 = add i64 %39, 24
%41 = inttoptr i64 %40 to ptr
%42 = load volatile i64, ptr %41, align 8
%43 = and i64 %42, -256
store volatile i64 %43, ptr %41, align 8
%44 = load i64, ptr %10, align 8
%45 = and i64 %44, 255
%46 = load i64, ptr %6, align 8
%47 = add i64 %46, 24
%48 = inttoptr i64 %47 to ptr
%49 = load volatile i64, ptr %48, align 8
%50 = or i64 %49, %45
store volatile i64 %50, ptr %48, align 8
%51 = load i64, ptr %6, align 8
%52 = add i64 %51, 20
%53 = inttoptr i64 %52 to ptr
%54 = load volatile i64, ptr %53, align 8
%55 = or i64 %54, 4
store volatile i64 %55, ptr %53, align 8
br label %56
56: ; preds = %38, %5
ret void
}
declare i32 @UARTConfigSet(i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr1fgz4jv.c'
source_filename = "/tmp/tmpr1fgz4jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_EXTENSIONS_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_X509_EXTENSIONS(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @X509_EXTENSIONS_it)
ret i32 %7
}
declare i32 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr1fgz4jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_EXTENSIONS_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_X509_EXTENSIONS(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @X509_EXTENSIONS_it)
ret i32 %7
}
declare i32 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm0o6wl4j.c'
source_filename = "/tmp/tmpm0o6wl4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"%ld %ld\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%ld %ld %ld\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%ld\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 i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %98, %0
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %101
15: ; preds = %11
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
store i64 0, ptr %9, align 8
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %7, ptr noundef %8)
%18 = load i64, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %29
21: ; preds = %15
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr %4, align 8
%24 = mul nsw i64 %22, %23
%25 = load i64, ptr %7, align 8
%26 = load i64, ptr %5, align 8
%27 = mul nsw i64 %25, %26
%28 = add nsw i64 %24, %27
store i64 %28, ptr %9, align 8
br label %95
29: ; preds = %15
%30 = load i64, ptr %6, align 8
%31 = load i64, ptr %7, align 8
%32 = icmp slt i64 %30, %31
br i1 %32, label %33, label %61
33: ; preds = %29
%34 = load i64, ptr %6, align 8
%35 = load i64, ptr %4, align 8
%36 = mul nsw i64 %34, %35
store i64 %36, ptr %9, align 8
%37 = load i64, ptr %5, align 8
%38 = load i64, ptr %7, align 8
%39 = mul nsw i64 %37, %38
%40 = load i64, ptr %5, align 8
%41 = load i64, ptr %6, align 8
%42 = load i64, ptr %8, align 8
%43 = add nsw i64 %41, %42
%44 = mul nsw i64 %40, %43
%45 = icmp sgt i64 %39, %44
br i1 %45, label %46, label %54
46: ; preds = %33
%47 = load i64, ptr %9, align 8
%48 = load i64, ptr %5, align 8
%49 = load i64, ptr %6, align 8
%50 = load i64, ptr %8, align 8
%51 = add nsw i64 %49, %50
%52 = mul nsw i64 %48, %51
%53 = add nsw i64 %47, %52
store i64 %53, ptr %9, align 8
br label %60
54: ; preds = %33
%55 = load i64, ptr %9, align 8
%56 = load i64, ptr %5, align 8
%57 = load i64, ptr %7, align 8
%58 = mul nsw i64 %56, %57
%59 = add nsw i64 %55, %58
store i64 %59, ptr %9, align 8
br label %60
60: ; preds = %54, %46
br label %94
61: ; preds = %29
%62 = load i64, ptr %7, align 8
%63 = load i64, ptr %6, align 8
%64 = icmp slt i64 %62, %63
br i1 %64, label %65, label %93
65: ; preds = %61
%66 = load i64, ptr %7, align 8
%67 = load i64, ptr %5, align 8
%68 = mul nsw i64 %66, %67
store i64 %68, ptr %9, align 8
%69 = load i64, ptr %4, align 8
%70 = load i64, ptr %6, align 8
%71 = mul nsw i64 %69, %70
%72 = load i64, ptr %4, align 8
%73 = load i64, ptr %7, align 8
%74 = load i64, ptr %8, align 8
%75 = add nsw i64 %73, %74
%76 = mul nsw i64 %72, %75
%77 = icmp sgt i64 %71, %76
br i1 %77, label %78, label %86
78: ; preds = %65
%79 = load i64, ptr %9, align 8
%80 = load i64, ptr %4, align 8
%81 = load i64, ptr %7, align 8
%82 = load i64, ptr %8, align 8
%83 = add nsw i64 %81, %82
%84 = mul nsw i64 %80, %83
%85 = add nsw i64 %79, %84
store i64 %85, ptr %9, align 8
br label %92
86: ; preds = %65
%87 = load i64, ptr %9, align 8
%88 = load i64, ptr %4, align 8
%89 = load i64, ptr %6, align 8
%90 = mul nsw i64 %88, %89
%91 = add nsw i64 %87, %90
store i64 %91, ptr %9, align 8
br label %92
92: ; preds = %86, %78
br label %93
93: ; preds = %92, %61
br label %94
94: ; preds = %93, %60
br label %95
95: ; preds = %94, %21
%96 = load i64, ptr %9, align 8
%97 = call i32 @printf(ptr noundef @.str.3, i64 noundef %96)
br label %98
98: ; preds = %95
%99 = load i32, ptr %3, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %3, align 4
br label %11, !llvm.loop !6
101: ; preds = %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm0o6wl4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"%ld %ld\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%ld %ld %ld\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%ld\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 i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %103
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %97
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
store i64 0, ptr %9, align 8
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %7, ptr noundef %8)
%17 = load i64, ptr %6, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %28
20: ; preds = %14
%21 = load i64, ptr %6, align 8
%22 = load i64, ptr %4, align 8
%23 = mul nsw i64 %21, %22
%24 = load i64, ptr %7, align 8
%25 = load i64, ptr %5, align 8
%26 = mul nsw i64 %24, %25
%27 = add nsw i64 %23, %26
store i64 %27, ptr %9, align 8
br label %94
28: ; preds = %14
%29 = load i64, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = icmp slt i64 %29, %30
br i1 %31, label %32, label %60
32: ; preds = %28
%33 = load i64, ptr %6, align 8
%34 = load i64, ptr %4, align 8
%35 = mul nsw i64 %33, %34
store i64 %35, ptr %9, align 8
%36 = load i64, ptr %5, align 8
%37 = load i64, ptr %7, align 8
%38 = mul nsw i64 %36, %37
%39 = load i64, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = load i64, ptr %8, align 8
%42 = add nsw i64 %40, %41
%43 = mul nsw i64 %39, %42
%44 = icmp sgt i64 %38, %43
br i1 %44, label %45, label %53
45: ; preds = %32
%46 = load i64, ptr %9, align 8
%47 = load i64, ptr %5, align 8
%48 = load i64, ptr %6, align 8
%49 = load i64, ptr %8, align 8
%50 = add nsw i64 %48, %49
%51 = mul nsw i64 %47, %50
%52 = add nsw i64 %46, %51
store i64 %52, ptr %9, align 8
br label %59
53: ; preds = %32
%54 = load i64, ptr %9, align 8
%55 = load i64, ptr %5, align 8
%56 = load i64, ptr %7, align 8
%57 = mul nsw i64 %55, %56
%58 = add nsw i64 %54, %57
store i64 %58, ptr %9, align 8
br label %59
59: ; preds = %53, %45
br label %93
60: ; preds = %28
%61 = load i64, ptr %7, align 8
%62 = load i64, ptr %6, align 8
%63 = icmp slt i64 %61, %62
br i1 %63, label %64, label %92
64: ; preds = %60
%65 = load i64, ptr %7, align 8
%66 = load i64, ptr %5, align 8
%67 = mul nsw i64 %65, %66
store i64 %67, ptr %9, align 8
%68 = load i64, ptr %4, align 8
%69 = load i64, ptr %6, align 8
%70 = mul nsw i64 %68, %69
%71 = load i64, ptr %4, align 8
%72 = load i64, ptr %7, align 8
%73 = load i64, ptr %8, align 8
%74 = add nsw i64 %72, %73
%75 = mul nsw i64 %71, %74
%76 = icmp sgt i64 %70, %75
br i1 %76, label %77, label %85
77: ; preds = %64
%78 = load i64, ptr %9, align 8
%79 = load i64, ptr %4, align 8
%80 = load i64, ptr %7, align 8
%81 = load i64, ptr %8, align 8
%82 = add nsw i64 %80, %81
%83 = mul nsw i64 %79, %82
%84 = add nsw i64 %78, %83
store i64 %84, ptr %9, align 8
br label %91
85: ; preds = %64
%86 = load i64, ptr %9, align 8
%87 = load i64, ptr %4, align 8
%88 = load i64, ptr %6, align 8
%89 = mul nsw i64 %87, %88
%90 = add nsw i64 %86, %89
store i64 %90, ptr %9, align 8
br label %91
91: ; preds = %85, %77
br label %92
92: ; preds = %91, %60
br label %93
93: ; preds = %92, %59
br label %94
94: ; preds = %93, %20
%95 = load i64, ptr %9, align 8
%96 = call i32 @printf(ptr noundef @.str.3, i64 noundef %95)
br label %97
97: ; preds = %94
%98 = load i32, ptr %3, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %3, align 4
%100 = load i32, ptr %3, align 4
%101 = load i32, ptr %2, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %97
br label %103
103: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsjton1n0.c'
source_filename = "/tmp/tmpsjton1n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Error - no srandom function available !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sys_srandom(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @DEBUG(i32 noundef 0, ptr noundef @.str)
%4 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @DEBUG(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsjton1n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Error - no srandom function available !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sys_srandom(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @DEBUG(i32 noundef 0, ptr noundef @.str)
%4 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @DEBUG(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps8o68hzo.c'
source_filename = "/tmp/tmps8o68hzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Be my Valentine!,Number %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d seconds!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"We have ignition!\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"The ASCII value for %c is %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Your debt is now $%.2f.\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"%10d %10d\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"n = %d; ans = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Keep entering numbers!\0A\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"That 's the one I want !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 22, ptr %6, align 4
store i32 55, ptr %9, align 4
store i32 1, ptr %13, align 4
br label %16
16: ; preds = %22, %2
%17 = load i32, ptr %13, align 4
%18 = icmp sle i32 %17, 22
br i1 %18, label %19, label %25
19: ; preds = %16
%20 = load i32, ptr %13, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20)
br label %22
22: ; preds = %19
%23 = load i32, ptr %13, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %13, align 4
br label %16, !llvm.loop !6
25: ; preds = %16
store i32 5, ptr %12, align 4
br label %26
26: ; preds = %32, %25
%27 = load i32, ptr %12, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = load i32, ptr %12, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %29
%33 = load i32, ptr %12, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %12, align 4
br label %26, !llvm.loop !8
35: ; preds = %26
store i32 2, ptr %7, align 4
br label %36
36: ; preds = %42, %35
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %37, 60
br i1 %38, label %39, label %45
39: ; preds = %36
%40 = load i32, ptr %7, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40)
br label %42
42: ; preds = %39
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 13
store i32 %44, ptr %7, align 4
br label %36, !llvm.loop !9
45: ; preds = %36
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i8 97, ptr %14, align 1
br label %47
47: ; preds = %57, %45
%48 = load i8, ptr %14, align 1
%49 = sext i8 %48 to i32
%50 = icmp sle i32 %49, 122
br i1 %50, label %51, label %60
51: ; preds = %47
%52 = load i8, ptr %14, align 1
%53 = sext i8 %52 to i32
%54 = load i8, ptr %14, align 1
%55 = sext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %53, i32 noundef %55)
br label %57
57: ; preds = %51
%58 = load i8, ptr %14, align 1
%59 = add i8 %58, 1
store i8 %59, ptr %14, align 1
br label %47, !llvm.loop !10
60: ; preds = %47
store double 1.000000e+02, ptr %15, align 8
br label %61
61: ; preds = %67, %60
%62 = load double, ptr %15, align 8
%63 = fcmp olt double %62, 1.500000e+02
br i1 %63, label %64, label %70
64: ; preds = %61
%65 = load double, ptr %15, align 8
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %65)
br label %67
67: ; preds = %64
%68 = load double, ptr %15, align 8
%69 = fmul double %68, 1.100000e+00
store double %69, ptr %15, align 8
br label %61, !llvm.loop !11
70: ; preds = %61
store i32 1, ptr %8, align 4
br label %71
71: ; preds = %78, %70
%72 = load i32, ptr %9, align 4
%73 = icmp sle i32 %72, 75
br i1 %73, label %74, label %83
74: ; preds = %71
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %9, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %75, i32 noundef %76)
br label %78
78: ; preds = %74
%79 = load i32, ptr %8, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %8, align 4
%81 = mul nsw i32 %80, 5
%82 = add nsw i32 %81, 50
store i32 %82, ptr %9, align 4
br label %71, !llvm.loop !12
83: ; preds = %71
store i32 2, ptr %10, align 4
store i32 3, ptr %7, align 4
br label %84
84: ; preds = %87, %83
%85 = load i32, ptr %10, align 4
%86 = icmp sle i32 %85, 25
br i1 %86, label %87, label %91
87: ; preds = %84
%88 = load i32, ptr %10, align 4
%89 = load i32, ptr %7, align 4
%90 = mul nsw i32 %88, %89
store i32 %90, ptr %10, align 4
br label %84, !llvm.loop !13
91: ; preds = %84
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %10, align 4
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %92, i32 noundef %93)
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %96
96: ; preds = %99, %91
%97 = load i32, ptr %11, align 4
%98 = icmp ne i32 %97, 6
br i1 %98, label %99, label %101
99: ; preds = %96
%100 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %11)
br label %96, !llvm.loop !14
101: ; preds = %96
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps8o68hzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Be my Valentine!,Number %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d seconds!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"We have ignition!\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"The ASCII value for %c is %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Your debt is now $%.2f.\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"%10d %10d\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"n = %d; ans = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Keep entering numbers!\0A\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"That 's the one I want !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 22, ptr %6, align 4
store i32 55, ptr %9, align 4
store i32 1, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = icmp sle i32 %16, 22
br i1 %17, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %21
%19 = load i32, ptr %13, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19)
br label %21
21: ; preds = %18
%22 = load i32, ptr %13, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = icmp sle i32 %24, 22
br i1 %25, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %2
store i32 5, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %.lr.ph2, label %37
.lr.ph2: ; preds = %26
br label %29
29: ; preds = %.lr.ph2, %32
%30 = load i32, ptr %12, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %29
%33 = load i32, ptr %12, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %12, align 4
%35 = load i32, ptr %12, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %37
37: ; preds = %._crit_edge3, %26
store i32 2, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %38, 60
br i1 %39, label %.lr.ph5, label %48
.lr.ph5: ; preds = %37
br label %40
40: ; preds = %.lr.ph5, %43
%41 = load i32, ptr %7, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %41)
br label %43
43: ; preds = %40
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 13
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = icmp slt i32 %46, 60
br i1 %47, label %40, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %43
br label %48
48: ; preds = %._crit_edge6, %37
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i8 97, ptr %14, align 1
%50 = load i8, ptr %14, align 1
%51 = sext i8 %50 to i32
%52 = icmp sle i32 %51, 122
br i1 %52, label %.lr.ph8, label %65
.lr.ph8: ; preds = %48
br label %53
53: ; preds = %.lr.ph8, %59
%54 = load i8, ptr %14, align 1
%55 = sext i8 %54 to i32
%56 = load i8, ptr %14, align 1
%57 = sext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %55, i32 noundef %57)
br label %59
59: ; preds = %53
%60 = load i8, ptr %14, align 1
%61 = add i8 %60, 1
store i8 %61, ptr %14, align 1
%62 = load i8, ptr %14, align 1
%63 = sext i8 %62 to i32
%64 = icmp sle i32 %63, 122
br i1 %64, label %53, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %59
br label %65
65: ; preds = %._crit_edge9, %48
store double 1.000000e+02, ptr %15, align 8
%66 = load double, ptr %15, align 8
%67 = fcmp olt double %66, 1.500000e+02
br i1 %67, label %.lr.ph11, label %76
.lr.ph11: ; preds = %65
br label %68
68: ; preds = %.lr.ph11, %71
%69 = load double, ptr %15, align 8
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %69)
br label %71
71: ; preds = %68
%72 = load double, ptr %15, align 8
%73 = fmul double %72, 1.100000e+00
store double %73, ptr %15, align 8
%74 = load double, ptr %15, align 8
%75 = fcmp olt double %74, 1.500000e+02
br i1 %75, label %68, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %71
br label %76
76: ; preds = %._crit_edge12, %65
store i32 1, ptr %8, align 4
%77 = load i32, ptr %9, align 4
%78 = icmp sle i32 %77, 75
br i1 %78, label %.lr.ph14, label %90
.lr.ph14: ; preds = %76
br label %79
79: ; preds = %.lr.ph14, %83
%80 = load i32, ptr %8, align 4
%81 = load i32, ptr %9, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %80, i32 noundef %81)
br label %83
83: ; preds = %79
%84 = load i32, ptr %8, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %8, align 4
%86 = mul nsw i32 %85, 5
%87 = add nsw i32 %86, 50
store i32 %87, ptr %9, align 4
%88 = load i32, ptr %9, align 4
%89 = icmp sle i32 %88, 75
br i1 %89, label %79, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %83
br label %90
90: ; preds = %._crit_edge15, %76
store i32 2, ptr %10, align 4
store i32 3, ptr %7, align 4
%91 = load i32, ptr %10, align 4
%92 = icmp sle i32 %91, 25
br i1 %92, label %.lr.ph17, label %99
.lr.ph17: ; preds = %90
br label %93
93: ; preds = %.lr.ph17, %93
%94 = load i32, ptr %10, align 4
%95 = load i32, ptr %7, align 4
%96 = mul nsw i32 %94, %95
store i32 %96, ptr %10, align 4
%97 = load i32, ptr %10, align 4
%98 = icmp sle i32 %97, 25
br i1 %98, label %93, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %93
br label %99
99: ; preds = %._crit_edge18, %90
%100 = load i32, ptr %7, align 4
%101 = load i32, ptr %10, align 4
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %100, i32 noundef %101)
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%104 = load i32, ptr %11, align 4
%105 = icmp ne i32 %104, 6
br i1 %105, label %.lr.ph20, label %110
.lr.ph20: ; preds = %99
br label %106
106: ; preds = %.lr.ph20, %106
%107 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %11)
%108 = load i32, ptr %11, align 4
%109 = icmp ne i32 %108, 6
br i1 %109, label %106, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %106
br label %110
110: ; preds = %._crit_edge21, %99
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmp5ksz0e35.c'
source_filename = "/tmp/tmp5ksz0e35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/m5mathew_mailbox\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"mq_open() failed\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"/m5mathew_mailbox_cs\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"mq_open() for consumption failed\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"mq_send() failed\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = 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
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %8, align 4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 3
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %7, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 4
%32 = load ptr, ptr %31, align 8
%33 = call i32 @atoi(ptr noundef %32)
store i32 %33, ptr %9, align 4
store ptr @.str, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = load i32, ptr @O_RDWR, align 4
%36 = call i32 @mq_open(ptr noundef %34, i32 noundef %35)
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %42
39: ; preds = %2
%40 = call i32 @perror(ptr noundef @.str.1)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %2
store ptr @.str.2, ptr %13, align 8
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr @O_RDWR, align 4
%45 = call i32 @mq_open(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %12, align 4
%46 = load i32, ptr %12, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %51
48: ; preds = %42
%49 = call i32 @perror(ptr noundef @.str.3)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %42
%52 = load i32, ptr %9, align 4
store i32 %52, ptr %14, align 4
br label %53
53: ; preds = %63, %51
%54 = load i32, ptr %14, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %67
57: ; preds = %53
%58 = load i32, ptr %10, align 4
%59 = call i32 @mq_send(i32 noundef %58, ptr noundef %14, i32 noundef 4, i32 noundef 0)
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %63
61: ; preds = %57
%62 = call i32 @perror(ptr noundef @.str.4)
br label %63
63: ; preds = %61, %57
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %14, align 4
%66 = add nsw i32 %65, %64
store i32 %66, ptr %14, align 4
br label %53, !llvm.loop !6
67: ; preds = %53
%68 = load i32, ptr %12, align 4
%69 = load ptr, ptr %15, align 8
%70 = call i32 @mq_receive(i32 noundef %68, ptr noundef %69, i32 noundef 4, i32 noundef 0)
%71 = load ptr, ptr %15, align 8
%72 = call ptr @strtok(ptr noundef %71, ptr noundef @.str.5)
%73 = call i32 @atoi(ptr noundef %72)
store i32 %73, ptr %16, align 4
%74 = load i32, ptr %16, align 4
%75 = add nsw i32 %74, -1
store i32 %75, ptr %16, align 4
%76 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5)
%77 = call i32 @atoi(ptr noundef %76)
store i32 %77, ptr %17, align 4
%78 = load ptr, ptr %15, align 8
%79 = load i32, ptr %16, align 4
%80 = load i32, ptr %17, align 4
%81 = call i32 @sprintf(ptr noundef %78, ptr noundef @.str.6, i32 noundef %79, i32 noundef %80)
%82 = load i32, ptr %12, align 4
%83 = load ptr, ptr %15, align 8
%84 = call i32 @mq_send(i32 noundef %82, ptr noundef %83, i32 noundef 4, i32 noundef 0)
%85 = icmp eq i32 %84, -1
br i1 %85, label %86, label %88
86: ; preds = %67
%87 = call i32 @perror(ptr noundef @.str.4)
br label %88
88: ; preds = %86, %67
%89 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare i32 @mq_open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @mq_send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mq_receive(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ksz0e35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/m5mathew_mailbox\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"mq_open() failed\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"/m5mathew_mailbox_cs\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"mq_open() for consumption failed\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"mq_send() failed\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = 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
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %8, align 4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 3
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %7, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 4
%32 = load ptr, ptr %31, align 8
%33 = call i32 @atoi(ptr noundef %32)
store i32 %33, ptr %9, align 4
store ptr @.str, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = load i32, ptr @O_RDWR, align 4
%36 = call i32 @mq_open(ptr noundef %34, i32 noundef %35)
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %42
39: ; preds = %2
%40 = call i32 @perror(ptr noundef @.str.1)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %2
store ptr @.str.2, ptr %13, align 8
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr @O_RDWR, align 4
%45 = call i32 @mq_open(ptr noundef %43, i32 noundef %44)
store i32 %45, ptr %12, align 4
%46 = load i32, ptr %12, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %51
48: ; preds = %42
%49 = call i32 @perror(ptr noundef @.str.3)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %42
%52 = load i32, ptr %9, align 4
store i32 %52, ptr %14, align 4
%53 = load i32, ptr %14, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph, label %69
.lr.ph: ; preds = %51
br label %56
56: ; preds = %.lr.ph, %62
%57 = load i32, ptr %10, align 4
%58 = call i32 @mq_send(i32 noundef %57, ptr noundef %14, i32 noundef 4, i32 noundef 0)
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @perror(ptr noundef @.str.4)
br label %62
62: ; preds = %60, %56
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %14, align 4
%65 = add nsw i32 %64, %63
store i32 %65, ptr %14, align 4
%66 = load i32, ptr %14, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %56, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %69
69: ; preds = %._crit_edge, %51
%70 = load i32, ptr %12, align 4
%71 = load ptr, ptr %15, align 8
%72 = call i32 @mq_receive(i32 noundef %70, ptr noundef %71, i32 noundef 4, i32 noundef 0)
%73 = load ptr, ptr %15, align 8
%74 = call ptr @strtok(ptr noundef %73, ptr noundef @.str.5)
%75 = call i32 @atoi(ptr noundef %74)
store i32 %75, ptr %16, align 4
%76 = load i32, ptr %16, align 4
%77 = add nsw i32 %76, -1
store i32 %77, ptr %16, align 4
%78 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5)
%79 = call i32 @atoi(ptr noundef %78)
store i32 %79, ptr %17, align 4
%80 = load ptr, ptr %15, align 8
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %17, align 4
%83 = call i32 @sprintf(ptr noundef %80, ptr noundef @.str.6, i32 noundef %81, i32 noundef %82)
%84 = load i32, ptr %12, align 4
%85 = load ptr, ptr %15, align 8
%86 = call i32 @mq_send(i32 noundef %84, ptr noundef %85, i32 noundef 4, i32 noundef 0)
%87 = icmp eq i32 %86, -1
br i1 %87, label %88, label %90
88: ; preds = %69
%89 = call i32 @perror(ptr noundef @.str.4)
br label %90
90: ; preds = %88, %69
%91 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare i32 @mq_open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @mq_send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mq_receive(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2q71s1lo.c'
source_filename = "/tmp/tmp2q71s1lo.c"
target datalayout = "e-m:e-p270: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/tmp2q71s1lo.c"
target datalayout = "e-m:e-p270: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/tmppq7sxpgi.c'
source_filename = "/tmp/tmppq7sxpgi.c"
target datalayout = "e-m:e-p270: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/tmppq7sxpgi.c"
target datalayout = "e-m:e-p270: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/tmp1p1v2eva.c'
source_filename = "/tmp/tmp1p1v2eva.c"
target datalayout = "e-m:e-p270: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.str_to_long.MSG = private unnamed_addr constant [21 x i8] c"Number parsing error\00", align 16
@.str = private unnamed_addr constant [25 x i8] c"%s: null or empty string\00", align 1
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"%s (%s): %s\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"%s (%s): not a base-10 integer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @str_to_long(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca [21 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.str_to_long.MSG, i64 21, i1 false)
store i32 10, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %10, %1
%16 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%17 = call i32 (ptr, ptr, ...) @fmt_err_exit(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %15, %10
%19 = load ptr, ptr %3, align 8
%20 = call i64 @is_blanks(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i64 0, ptr %2, align 8
br label %45
23: ; preds = %18
store i64 0, ptr @errno, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strtol(ptr noundef %24, ptr noundef %7, i32 noundef 10)
store i64 %25, ptr %6, align 8
%26 = load i64, ptr @errno, align 8
%27 = load i64, ptr @ERANGE, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %35
29: ; preds = %23
%30 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%31 = load ptr, ptr %3, align 8
%32 = load i64, ptr @errno, align 8
%33 = call i32 @strerror(i64 noundef %32)
%34 = call i32 (ptr, ptr, ...) @fmt_err_exit(ptr noundef @.str.1, ptr noundef %30, ptr noundef %31, i32 noundef %33)
br label %35
35: ; preds = %29, %23
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%41 = load ptr, ptr %3, align 8
%42 = call i32 (ptr, ptr, ...) @fmt_err_exit(ptr noundef @.str.2, ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %39, %35
%44 = load i64, ptr %6, align 8
store i64 %44, ptr %2, align 8
br label %45
45: ; preds = %43, %22
%46 = load i64, ptr %2, align 8
ret i64 %46
}
; 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 @fmt_err_exit(ptr noundef, ptr noundef, ...) #2
declare i64 @is_blanks(ptr noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strerror(i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1p1v2eva.c"
target datalayout = "e-m:e-p270: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.str_to_long.MSG = private unnamed_addr constant [21 x i8] c"Number parsing error\00", align 16
@.str = private unnamed_addr constant [25 x i8] c"%s: null or empty string\00", align 1
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"%s (%s): %s\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"%s (%s): not a base-10 integer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @str_to_long(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca [21 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.str_to_long.MSG, i64 21, i1 false)
store i32 10, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %10, %1
%16 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%17 = call i32 (ptr, ptr, ...) @fmt_err_exit(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %15, %10
%19 = load ptr, ptr %3, align 8
%20 = call i64 @is_blanks(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i64 0, ptr %2, align 8
br label %45
23: ; preds = %18
store i64 0, ptr @errno, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strtol(ptr noundef %24, ptr noundef %7, i32 noundef 10)
store i64 %25, ptr %6, align 8
%26 = load i64, ptr @errno, align 8
%27 = load i64, ptr @ERANGE, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %35
29: ; preds = %23
%30 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%31 = load ptr, ptr %3, align 8
%32 = load i64, ptr @errno, align 8
%33 = call i32 @strerror(i64 noundef %32)
%34 = call i32 (ptr, ptr, ...) @fmt_err_exit(ptr noundef @.str.1, ptr noundef %30, ptr noundef %31, i32 noundef %33)
br label %35
35: ; preds = %29, %23
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%41 = load ptr, ptr %3, align 8
%42 = call i32 (ptr, ptr, ...) @fmt_err_exit(ptr noundef @.str.2, ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %39, %35
%44 = load i64, ptr %6, align 8
store i64 %44, ptr %2, align 8
br label %45
45: ; preds = %43, %22
%46 = load i64, ptr %2, align 8
ret i64 %46
}
; 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 @fmt_err_exit(ptr noundef, ptr noundef, ...) #2
declare i64 @is_blanks(ptr noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strerror(i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_cu0x93z.c'
source_filename = "/tmp/tmp_cu0x93z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"./\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [3 x ptr], align 16
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store ptr @.str.1, ptr %7, align 8
%12 = getelementptr inbounds [3 x ptr], ptr %8, i64 0, i64 0
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %12, align 8
%14 = getelementptr inbounds ptr, ptr %12, i64 1
%15 = load ptr, ptr %6, align 8
store ptr %15, ptr %14, align 8
%16 = getelementptr inbounds ptr, ptr %14, i64 1
store ptr null, ptr %16, align 8
store i32 1, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %10, align 8
%20 = alloca i32, i64 %18, align 16
store i64 %18, ptr %11, align 8
%21 = call i32 (...) @fork()
%22 = getelementptr inbounds i32, ptr %20, i64 0
store i32 %21, ptr %22, align 16
%23 = getelementptr inbounds i32, ptr %20, i64 0
%24 = load i32, ptr %23, align 16
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %2
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds [3 x ptr], ptr %8, i64 0, i64 0
%29 = call i32 @execv(ptr noundef %27, ptr noundef %28)
br label %32
30: ; preds = %2
%31 = call i32 @wait(ptr noundef null)
br label %32
32: ; preds = %30, %26
store i32 0, ptr %3, align 4
%33 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %33)
%34 = load i32, ptr %3, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @fork(...) #2
declare i32 @execv(ptr noundef, ptr noundef) #2
declare i32 @wait(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/tmp_cu0x93z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"./\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [3 x ptr], align 16
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store ptr @.str.1, ptr %7, align 8
%12 = getelementptr inbounds [3 x ptr], ptr %8, i64 0, i64 0
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %12, align 8
%14 = getelementptr inbounds ptr, ptr %12, i64 1
%15 = load ptr, ptr %6, align 8
store ptr %15, ptr %14, align 8
%16 = getelementptr inbounds ptr, ptr %14, i64 1
store ptr null, ptr %16, align 8
store i32 1, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %10, align 8
%20 = alloca i32, i64 %18, align 16
store i64 %18, ptr %11, align 8
%21 = call i32 (...) @fork()
%22 = getelementptr inbounds i32, ptr %20, i64 0
store i32 %21, ptr %22, align 16
%23 = getelementptr inbounds i32, ptr %20, i64 0
%24 = load i32, ptr %23, align 16
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %2
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds [3 x ptr], ptr %8, i64 0, i64 0
%29 = call i32 @execv(ptr noundef %27, ptr noundef %28)
br label %32
30: ; preds = %2
%31 = call i32 @wait(ptr noundef null)
br label %32
32: ; preds = %30, %26
store i32 0, ptr %3, align 4
%33 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %33)
%34 = load i32, ptr %3, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @fork(...) #2
declare i32 @execv(ptr noundef, ptr noundef) #2
declare i32 @wait(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/tmp131_1k5y.c'
source_filename = "/tmp/tmp131_1k5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_sleep_ms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 1000
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(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/tmp131_1k5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_sleep_ms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 1000
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(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/tmptywpf08l.c'
source_filename = "/tmp/tmptywpf08l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splinter_find_variable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @getenv(ptr noundef %3)
ret ptr %4
}
declare ptr @getenv(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/tmptywpf08l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splinter_find_variable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @getenv(ptr noundef %3)
ret ptr %4
}
declare ptr @getenv(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/tmpibfg1boz.c'
source_filename = "/tmp/tmpibfg1boz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %30
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %12, %13
%15 = sdiv i32 %14, 2
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @merge_sort(ptr noundef %16, i32 noundef %17, i32 noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
%24 = call i32 @merge_sort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = call i32 @merge(ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %11, %3
ret i32 0
}
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpibfg1boz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %30
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %12, %13
%15 = sdiv i32 %14, 2
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @merge_sort(ptr noundef %16, i32 noundef %17, i32 noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
%24 = call i32 @merge_sort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = call i32 @merge(ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %11, %3
ret i32 0
}
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5te5l3ol.c'
source_filename = "/tmp/tmp5te5l3ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.addrinfo = type { i32, i32, i32, i32, i32, ptr }
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Invalid host: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"failed to connect\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_socket(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.addrinfo, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 -1, ptr %10, align 4
%11 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 32)
%12 = load i32, ptr @AF_UNSPEC, align 4
%13 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 4
store i32 %12, ptr %13, align 8
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3
store i32 %14, ptr %15, align 4
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @getaddrinfo(ptr noundef %16, ptr noundef %17, ptr noundef %6, ptr noundef %7)
store i32 %18, ptr %9, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %2
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr %9, align 4
%23 = call ptr @gai_strerror(i32 noundef %22)
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %23)
store i32 -1, ptr %3, align 4
br label %79
25: ; preds = %2
%26 = load ptr, ptr %7, align 8
store ptr %26, ptr %8, align 8
br label %27
27: ; preds = %59, %25
%28 = load ptr, ptr %8, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %63
30: ; preds = %27
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds %struct.addrinfo, ptr %31, i32 0, i32 4
%33 = load i32, ptr %32, align 8
%34 = load ptr, ptr %8, align 8
%35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 3
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds %struct.addrinfo, ptr %37, i32 0, i32 2
%39 = load i32, ptr %38, align 8
%40 = call i32 @socket(i32 noundef %33, i32 noundef %36, i32 noundef %39)
store i32 %40, ptr %10, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %44
42: ; preds = %30
%43 = call i32 @perror(ptr noundef @.str.1)
br label %59
44: ; preds = %30
%45 = load i32, ptr %10, align 4
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds %struct.addrinfo, ptr %46, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds %struct.addrinfo, ptr %49, i32 0, i32 0
%51 = load i32, ptr %50, align 8
%52 = call i32 @connect(i32 noundef %45, i32 noundef %48, i32 noundef %51)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %58
54: ; preds = %44
%55 = load i32, ptr %10, align 4
%56 = call i32 @close(i32 noundef %55)
%57 = call i32 @perror(ptr noundef @.str.2)
br label %59
58: ; preds = %44
br label %63
59: ; preds = %54, %42
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds %struct.addrinfo, ptr %60, i32 0, i32 5
%62 = load ptr, ptr %61, align 8
store ptr %62, ptr %8, align 8
br label %27, !llvm.loop !6
63: ; preds = %58, %27
%64 = load ptr, ptr %7, align 8
%65 = call i32 @freeaddrinfo(ptr noundef %64)
%66 = load ptr, ptr %8, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %77
68: ; preds = %63
%69 = load i32, ptr @stderr, align 4
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.3)
%71 = load i32, ptr %10, align 4
%72 = icmp ne i32 %71, -1
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = load i32, ptr %10, align 4
%75 = call i32 @close(i32 noundef %74)
br label %76
76: ; preds = %73, %68
store i32 -1, ptr %3, align 4
br label %79
77: ; preds = %63
%78 = load i32, ptr %10, align 4
store i32 %78, ptr %3, align 4
br label %79
79: ; preds = %77, %76, %20
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @freeaddrinfo(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/tmp5te5l3ol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.addrinfo = type { i32, i32, i32, i32, i32, ptr }
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Invalid host: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"failed to connect\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_socket(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.addrinfo, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 -1, ptr %10, align 4
%11 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 32)
%12 = load i32, ptr @AF_UNSPEC, align 4
%13 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 4
store i32 %12, ptr %13, align 8
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3
store i32 %14, ptr %15, align 4
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @getaddrinfo(ptr noundef %16, ptr noundef %17, ptr noundef %6, ptr noundef %7)
store i32 %18, ptr %9, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %2
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr %9, align 4
%23 = call ptr @gai_strerror(i32 noundef %22)
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %23)
store i32 -1, ptr %3, align 4
br label %80
25: ; preds = %2
%26 = load ptr, ptr %7, align 8
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %8, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %58
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds %struct.addrinfo, ptr %30, i32 0, i32 4
%32 = load i32, ptr %31, align 8
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds %struct.addrinfo, ptr %33, i32 0, i32 3
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds %struct.addrinfo, ptr %36, i32 0, i32 2
%38 = load i32, ptr %37, align 8
%39 = call i32 @socket(i32 noundef %32, i32 noundef %35, i32 noundef %38)
store i32 %39, ptr %10, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %41, label %43
41: ; preds = %29
%42 = call i32 @perror(ptr noundef @.str.1)
br label %58
43: ; preds = %29
%44 = load i32, ptr %10, align 4
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 1
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 0
%50 = load i32, ptr %49, align 8
%51 = call i32 @connect(i32 noundef %44, i32 noundef %47, i32 noundef %50)
%52 = icmp eq i32 %51, -1
br i1 %52, label %53, label %57
53: ; preds = %43
%54 = load i32, ptr %10, align 4
%55 = call i32 @close(i32 noundef %54)
%56 = call i32 @perror(ptr noundef @.str.2)
br label %58
57: ; preds = %43
br label %64
58: ; preds = %53, %41
%59 = load ptr, ptr %8, align 8
%60 = getelementptr inbounds %struct.addrinfo, ptr %59, i32 0, i32 5
%61 = load ptr, ptr %60, align 8
store ptr %61, ptr %8, align 8
%62 = load ptr, ptr %8, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %29, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %58
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %25
br label %64
64: ; preds = %.loopexit, %57
%65 = load ptr, ptr %7, align 8
%66 = call i32 @freeaddrinfo(ptr noundef %65)
%67 = load ptr, ptr %8, align 8
%68 = icmp eq ptr %67, null
br i1 %68, label %69, label %78
69: ; preds = %64
%70 = load i32, ptr @stderr, align 4
%71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.3)
%72 = load i32, ptr %10, align 4
%73 = icmp ne i32 %72, -1
br i1 %73, label %74, label %77
74: ; preds = %69
%75 = load i32, ptr %10, align 4
%76 = call i32 @close(i32 noundef %75)
br label %77
77: ; preds = %74, %69
store i32 -1, ptr %3, align 4
br label %80
78: ; preds = %64
%79 = load i32, ptr %10, align 4
store i32 %79, ptr %3, align 4
br label %80
80: ; preds = %78, %77, %20
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @freeaddrinfo(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/tmpo7shvnsm.c'
source_filename = "/tmp/tmpo7shvnsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Porta ocupada\00", align 1
@SOMAXCONN = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"HTTP server listening on port %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cgi_server(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 12, ptr %7, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @bzero(ptr noundef %3, i32 noundef %13)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = load i32, ptr @INADDR_ANY, align 4
%18 = call i32 @htonl(i32 noundef %17)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = call i32 @htons(i32 noundef 30473)
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
store i32 %21, ptr %22, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = call i32 @bind(i32 noundef %23, ptr noundef %3, i32 noundef %24)
%26 = icmp eq i32 -1, %25
br i1 %26, label %27, label %32
27: ; preds = %1
%28 = call i32 @puts(ptr noundef @.str)
%29 = load i32, ptr %6, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %1
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr @SOMAXCONN, align 4
%35 = call i32 @listen(i32 noundef %33, i32 noundef %34)
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef 30473)
br label %37
37: ; preds = %32, %43
%38 = load i32, ptr %6, align 4
%39 = call i32 @accept(i32 noundef %38, ptr noundef null, ptr noundef null)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %37
br label %50
43: ; preds = %37
%44 = load i32, ptr %8, align 4
%45 = call ptr @fdopen(i32 noundef %44, ptr noundef @.str.2)
store ptr %45, ptr %9, align 8
%46 = load ptr, ptr %9, align 8
%47 = call i32 @process(ptr noundef %46)
%48 = load ptr, ptr %9, align 8
%49 = call i32 @fclose(ptr noundef %48)
br label %37
50: ; preds = %42
ret ptr null
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @process(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo7shvnsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Porta ocupada\00", align 1
@SOMAXCONN = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"HTTP server listening on port %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cgi_server(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 12, ptr %7, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @bzero(ptr noundef %3, i32 noundef %13)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = load i32, ptr @INADDR_ANY, align 4
%18 = call i32 @htonl(i32 noundef %17)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = call i32 @htons(i32 noundef 30473)
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
store i32 %21, ptr %22, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = call i32 @bind(i32 noundef %23, ptr noundef %3, i32 noundef %24)
%26 = icmp eq i32 -1, %25
br i1 %26, label %27, label %32
27: ; preds = %1
%28 = call i32 @puts(ptr noundef @.str)
%29 = load i32, ptr %6, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %1
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr @SOMAXCONN, align 4
%35 = call i32 @listen(i32 noundef %33, i32 noundef %34)
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef 30473)
%37 = load i32, ptr %6, align 4
%38 = call i32 @accept(i32 noundef %37, ptr noundef null, ptr noundef null)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %.lr.ph
.lr.ph: ; preds = %32
br label %42
._crit_edge: ; preds = %42
br label %41
41: ; preds = %._crit_edge, %32
br label %53
42: ; preds = %.lr.ph, %42
%43 = load i32, ptr %8, align 4
%44 = call ptr @fdopen(i32 noundef %43, ptr noundef @.str.2)
store ptr %44, ptr %9, align 8
%45 = load ptr, ptr %9, align 8
%46 = call i32 @process(ptr noundef %45)
%47 = load ptr, ptr %9, align 8
%48 = call i32 @fclose(ptr noundef %47)
%49 = load i32, ptr %6, align 4
%50 = call i32 @accept(i32 noundef %49, ptr noundef null, ptr noundef null)
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %._crit_edge, label %42
53: ; preds = %41
ret ptr null
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @process(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn0g2dwsv.c'
source_filename = "/tmp/tmpn0g2dwsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @McCdsp_Init() #0 {
%1 = call i32 (...) @Initialize()
ret void
}
declare i32 @Initialize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn0g2dwsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @McCdsp_Init() #0 {
%1 = call i32 (...) @Initialize()
ret void
}
declare i32 @Initialize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplxkyv57_.c'
source_filename = "/tmp/tmplxkyv57_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fib(i32 noundef 42)
ret i32 %2
}
declare i32 @fib(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplxkyv57_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fib(i32 noundef 42)
ret i32 %2
}
declare i32 @fib(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr9pcoj5m.c'
source_filename = "/tmp/tmpr9pcoj5m.c"
target datalayout = "e-m:e-p270: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/tmpr9pcoj5m.c"
target datalayout = "e-m:e-p270: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/tmpiawtz9u0.c'
source_filename = "/tmp/tmpiawtz9u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @ler()
ret i32 0
}
declare i32 @ler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiawtz9u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @ler()
ret i32 0
}
declare i32 @ler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgf1bkodt.c'
source_filename = "/tmp/tmpgf1bkodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"No more memory available. Trying to callocte %zu bytes.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xcalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #4
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %16, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13)
%15 = call i32 @exit(i32 noundef 1) #5
unreachable
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0,1) }
attributes #5 = { 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/tmpgf1bkodt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"No more memory available. Trying to callocte %zu bytes.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xcalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #4
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %16, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13)
%15 = call i32 @exit(i32 noundef 1) #5
unreachable
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0,1) }
attributes #5 = { 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/tmpl2hfjedm.c'
source_filename = "/tmp/tmpl2hfjedm.c"
target datalayout = "e-m:e-p270: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/tmpl2hfjedm.c"
target datalayout = "e-m:e-p270: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/tmpbovwecdr.c'
source_filename = "/tmp/tmpbovwecdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zigzag(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %50, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %53
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = srem i32 %9, 2
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %30
12: ; preds = %8
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %26, %12
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 4
br i1 %15, label %16, label %29
16: ; preds = %13
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x i32], ptr %17, i64 %19
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x i32], ptr %20, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %16
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %13, !llvm.loop !6
29: ; preds = %13
br label %48
30: ; preds = %8
store i32 3, ptr %4, align 4
br label %31
31: ; preds = %44, %30
%32 = load i32, ptr %4, align 4
%33 = icmp sge i32 %32, 0
br i1 %33, label %34, label %47
34: ; preds = %31
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x i32], ptr %35, i64 %37
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [4 x i32], ptr %38, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %42)
br label %44
44: ; preds = %34
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %4, align 4
br label %31, !llvm.loop !8
47: ; preds = %31
br label %48
48: ; preds = %47, %29
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %50
50: ; preds = %48
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
br label %5, !llvm.loop !9
53: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbovwecdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zigzag(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 3
br i1 %6, label %.lr.ph5, label %56
.lr.ph5: ; preds = %1
br label %7
7: ; preds = %.lr.ph5, %51
%8 = load i32, ptr %3, align 4
%9 = srem i32 %8, 2
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %30
11: ; preds = %7
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %.lr.ph2, label %29
.lr.ph2: ; preds = %11
br label %14
14: ; preds = %.lr.ph2, %24
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [4 x i32], ptr %15, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %14
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %27, 4
br i1 %28, label %14, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %24
br label %29
29: ; preds = %._crit_edge3, %11
br label %49
30: ; preds = %7
store i32 3, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %.lr.ph, label %48
.lr.ph: ; preds = %30
br label %33
33: ; preds = %.lr.ph, %43
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x i32], ptr %34, i64 %36
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [4 x i32], ptr %37, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %41)
br label %43
43: ; preds = %33
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, -1
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp sge i32 %46, 0
br i1 %47, label %33, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %43
br label %48
48: ; preds = %._crit_edge, %30
br label %49
49: ; preds = %48, %29
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %51
51: ; preds = %49
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp slt i32 %54, 3
br i1 %55, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %51
br label %56
56: ; preds = %._crit_edge6, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpdc7q3z2a.c'
source_filename = "/tmp/tmpdc7q3z2a.c"
target datalayout = "e-m:e-p270: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/tmpdc7q3z2a.c"
target datalayout = "e-m:e-p270: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/tmpzswhvdpi.c'
source_filename = "/tmp/tmpzswhvdpi.c"
target datalayout = "e-m:e-p270: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
@EOF = dso_local global i8 0, align 1
@stdout = 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 i8, align 1
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %35, %0
%4 = load i32, ptr @stdin, align 4
%5 = call signext i8 @fgetc(i32 noundef %4)
store i8 %5, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = load i8, ptr @EOF, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %6, %8
br i1 %9, label %10, label %39
10: ; preds = %3
%11 = load i8, ptr %2, align 1
%12 = call i64 @isalpha(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %35
14: ; preds = %10
%15 = load i8, ptr %2, align 1
%16 = call signext i8 @toupper(i8 noundef signext %15)
%17 = sext i8 %16 to i32
%18 = icmp sge i32 %17, 65
br i1 %18, label %19, label %29
19: ; preds = %14
%20 = load i8, ptr %2, align 1
%21 = call signext i8 @toupper(i8 noundef signext %20)
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 77
br i1 %23, label %24, label %29
24: ; preds = %19
%25 = load i8, ptr %2, align 1
%26 = sext i8 %25 to i32
%27 = add nsw i32 %26, 13
%28 = trunc i32 %27 to i8
store i8 %28, ptr %2, align 1
br label %34
29: ; preds = %19, %14
%30 = load i8, ptr %2, align 1
%31 = sext i8 %30 to i32
%32 = sub nsw i32 %31, 13
%33 = trunc i32 %32 to i8
store i8 %33, ptr %2, align 1
br label %34
34: ; preds = %29, %24
br label %35
35: ; preds = %34, %10
%36 = load i8, ptr %2, align 1
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @fputc(i8 noundef signext %36, i32 noundef %37)
br label %3, !llvm.loop !6
39: ; preds = %3
ret i32 0
}
declare signext i8 @fgetc(i32 noundef) #1
declare i64 @isalpha(i8 noundef signext) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @fputc(i8 noundef signext, 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/tmpzswhvdpi.c"
target datalayout = "e-m:e-p270: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
@EOF = dso_local global i8 0, align 1
@stdout = 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 i8, align 1
store i32 0, ptr %1, align 4
%3 = load i32, ptr @stdin, align 4
%4 = call signext i8 @fgetc(i32 noundef %3)
store i8 %4, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = load i8, ptr @EOF, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %5, %7
br i1 %8, label %.lr.ph, label %44
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %34
%10 = load i8, ptr %2, align 1
%11 = call i64 @isalpha(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %34
13: ; preds = %9
%14 = load i8, ptr %2, align 1
%15 = call signext i8 @toupper(i8 noundef signext %14)
%16 = sext i8 %15 to i32
%17 = icmp sge i32 %16, 65
br i1 %17, label %18, label %28
18: ; preds = %13
%19 = load i8, ptr %2, align 1
%20 = call signext i8 @toupper(i8 noundef signext %19)
%21 = sext i8 %20 to i32
%22 = icmp sle i32 %21, 77
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load i8, ptr %2, align 1
%25 = sext i8 %24 to i32
%26 = add nsw i32 %25, 13
%27 = trunc i32 %26 to i8
store i8 %27, ptr %2, align 1
br label %33
28: ; preds = %18, %13
%29 = load i8, ptr %2, align 1
%30 = sext i8 %29 to i32
%31 = sub nsw i32 %30, 13
%32 = trunc i32 %31 to i8
store i8 %32, ptr %2, align 1
br label %33
33: ; preds = %28, %23
br label %34
34: ; preds = %33, %9
%35 = load i8, ptr %2, align 1
%36 = load i32, ptr @stdout, align 4
%37 = call i32 @fputc(i8 noundef signext %35, i32 noundef %36)
%38 = load i32, ptr @stdin, align 4
%39 = call signext i8 @fgetc(i32 noundef %38)
store i8 %39, ptr %2, align 1
%40 = sext i8 %39 to i32
%41 = load i8, ptr @EOF, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %40, %42
br i1 %43, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %44
44: ; preds = %._crit_edge, %0
ret i32 0
}
declare signext i8 @fgetc(i32 noundef) #1
declare i64 @isalpha(i8 noundef signext) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i32 @fputc(i8 noundef signext, 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/tmp5l_1rp13.c'
source_filename = "/tmp/tmp5l_1rp13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_win() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @cbreak()
%3 = call i32 (...) @start_color()
%4 = call i32 (...) @noecho()
%5 = call i32 @curs_set(i32 noundef 0)
%6 = load i32, ptr @stdscr, align 4
%7 = load i32, ptr @TRUE, align 4
%8 = call i32 @keypad(i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @initscr(...) #1
declare i32 @cbreak(...) #1
declare i32 @start_color(...) #1
declare i32 @noecho(...) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @keypad(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/tmp5l_1rp13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_win() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @cbreak()
%3 = call i32 (...) @start_color()
%4 = call i32 (...) @noecho()
%5 = call i32 @curs_set(i32 noundef 0)
%6 = load i32, ptr @stdscr, align 4
%7 = load i32, ptr @TRUE, align 4
%8 = call i32 @keypad(i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @initscr(...) #1
declare i32 @cbreak(...) #1
declare i32 @start_color(...) #1
declare i32 @noecho(...) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @keypad(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/tmphfc2jebk.c'
source_filename = "/tmp/tmphfc2jebk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FILENAME_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getFileName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @FILENAME_MAX, align 4
%5 = call i32 @safeGetString(ptr noundef %3, i32 noundef %4)
ret void
}
declare i32 @safeGetString(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/tmphfc2jebk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FILENAME_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getFileName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @FILENAME_MAX, align 4
%5 = call i32 @safeGetString(ptr noundef %3, i32 noundef %4)
ret void
}
declare i32 @safeGetString(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/tmp2xkf2v6q.c'
source_filename = "/tmp/tmp2xkf2v6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_error(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
store i64 1, ptr %19, align 8
br label %21
21: ; preds = %94, %6
%22 = load i64, ptr %19, align 8
%23 = icmp slt i64 %22, 99
br i1 %23, label %24, label %97
24: ; preds = %21
store i64 1, ptr %20, align 8
br label %25
25: ; preds = %90, %24
%26 = load i64, ptr %20, align 8
%27 = icmp slt i64 %26, 49
br i1 %27, label %28, label %93
28: ; preds = %25
%29 = load i64, ptr %19, align 8
%30 = mul nsw i64 %29, 50
%31 = load i64, ptr %20, align 8
%32 = add nsw i64 %30, %31
store i64 %32, ptr %14, align 8
%33 = load i64, ptr %14, align 8
%34 = add nsw i64 %33, 1
store i64 %34, ptr %15, align 8
%35 = load i64, ptr %14, align 8
%36 = add nsw i64 %35, 50
store i64 %36, ptr %16, align 8
%37 = load i64, ptr %14, align 8
%38 = sub nsw i64 %37, 1
store i64 %38, ptr %17, align 8
%39 = load i64, ptr %14, align 8
%40 = sub nsw i64 %39, 50
store i64 %40, ptr %18, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i64, ptr %14, align 8
%43 = getelementptr inbounds double, ptr %41, i64 %42
%44 = load double, ptr %43, align 8
%45 = load ptr, ptr %12, align 8
%46 = load i64, ptr %17, align 8
%47 = getelementptr inbounds double, ptr %45, i64 %46
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %8, align 8
%50 = load i64, ptr %14, align 8
%51 = getelementptr inbounds double, ptr %49, i64 %50
%52 = load double, ptr %51, align 8
%53 = load ptr, ptr %12, align 8
%54 = load i64, ptr %15, align 8
%55 = getelementptr inbounds double, ptr %53, i64 %54
%56 = load double, ptr %55, align 8
%57 = fmul double %52, %56
%58 = call double @llvm.fmuladd.f64(double %44, double %48, double %57)
%59 = load ptr, ptr %9, align 8
%60 = load i64, ptr %14, align 8
%61 = getelementptr inbounds double, ptr %59, i64 %60
%62 = load double, ptr %61, align 8
%63 = load ptr, ptr %12, align 8
%64 = load i64, ptr %18, align 8
%65 = getelementptr inbounds double, ptr %63, i64 %64
%66 = load double, ptr %65, align 8
%67 = call double @llvm.fmuladd.f64(double %62, double %66, double %58)
%68 = load ptr, ptr %10, align 8
%69 = load i64, ptr %14, align 8
%70 = getelementptr inbounds double, ptr %68, i64 %69
%71 = load double, ptr %70, align 8
%72 = load ptr, ptr %12, align 8
%73 = load i64, ptr %16, align 8
%74 = getelementptr inbounds double, ptr %72, i64 %73
%75 = load double, ptr %74, align 8
%76 = call double @llvm.fmuladd.f64(double %71, double %75, double %67)
%77 = load ptr, ptr %11, align 8
%78 = load i64, ptr %14, align 8
%79 = getelementptr inbounds double, ptr %77, i64 %78
%80 = load double, ptr %79, align 8
%81 = load ptr, ptr %12, align 8
%82 = load i64, ptr %14, align 8
%83 = getelementptr inbounds double, ptr %81, i64 %82
%84 = load double, ptr %83, align 8
%85 = call double @llvm.fmuladd.f64(double %80, double %84, double %76)
%86 = call i64 @fabs(double noundef %85)
%87 = sitofp i64 %86 to double
%88 = load double, ptr %13, align 8
%89 = fadd double %88, %87
store double %89, ptr %13, align 8
br label %90
90: ; preds = %28
%91 = load i64, ptr %20, align 8
%92 = add nsw i64 %91, 1
store i64 %92, ptr %20, align 8
br label %25, !llvm.loop !6
93: ; preds = %25
br label %94
94: ; preds = %93
%95 = load i64, ptr %19, align 8
%96 = add nsw i64 %95, 1
store i64 %96, ptr %19, align 8
br label %21, !llvm.loop !8
97: ; preds = %21
%98 = load double, ptr %13, align 8
ret double %98
}
declare i64 @fabs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2xkf2v6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_error(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
store i64 1, ptr %19, align 8
%21 = load i64, ptr %19, align 8
%22 = icmp slt i64 %21, 99
br i1 %22, label %.lr.ph2, label %99
.lr.ph2: ; preds = %6
br label %23
23: ; preds = %.lr.ph2, %94
store i64 1, ptr %20, align 8
%24 = load i64, ptr %20, align 8
%25 = icmp slt i64 %24, 49
br i1 %25, label %.lr.ph, label %93
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %88
%27 = load i64, ptr %19, align 8
%28 = mul nsw i64 %27, 50
%29 = load i64, ptr %20, align 8
%30 = add nsw i64 %28, %29
store i64 %30, ptr %14, align 8
%31 = load i64, ptr %14, align 8
%32 = add nsw i64 %31, 1
store i64 %32, ptr %15, align 8
%33 = load i64, ptr %14, align 8
%34 = add nsw i64 %33, 50
store i64 %34, ptr %16, align 8
%35 = load i64, ptr %14, align 8
%36 = sub nsw i64 %35, 1
store i64 %36, ptr %17, align 8
%37 = load i64, ptr %14, align 8
%38 = sub nsw i64 %37, 50
store i64 %38, ptr %18, align 8
%39 = load ptr, ptr %7, align 8
%40 = load i64, ptr %14, align 8
%41 = getelementptr inbounds double, ptr %39, i64 %40
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %12, align 8
%44 = load i64, ptr %17, align 8
%45 = getelementptr inbounds double, ptr %43, i64 %44
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %8, align 8
%48 = load i64, ptr %14, align 8
%49 = getelementptr inbounds double, ptr %47, i64 %48
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %12, align 8
%52 = load i64, ptr %15, align 8
%53 = getelementptr inbounds double, ptr %51, i64 %52
%54 = load double, ptr %53, align 8
%55 = fmul double %50, %54
%56 = call double @llvm.fmuladd.f64(double %42, double %46, double %55)
%57 = load ptr, ptr %9, align 8
%58 = load i64, ptr %14, align 8
%59 = getelementptr inbounds double, ptr %57, i64 %58
%60 = load double, ptr %59, align 8
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %18, align 8
%63 = getelementptr inbounds double, ptr %61, i64 %62
%64 = load double, ptr %63, align 8
%65 = call double @llvm.fmuladd.f64(double %60, double %64, double %56)
%66 = load ptr, ptr %10, align 8
%67 = load i64, ptr %14, align 8
%68 = getelementptr inbounds double, ptr %66, i64 %67
%69 = load double, ptr %68, align 8
%70 = load ptr, ptr %12, align 8
%71 = load i64, ptr %16, align 8
%72 = getelementptr inbounds double, ptr %70, i64 %71
%73 = load double, ptr %72, align 8
%74 = call double @llvm.fmuladd.f64(double %69, double %73, double %65)
%75 = load ptr, ptr %11, align 8
%76 = load i64, ptr %14, align 8
%77 = getelementptr inbounds double, ptr %75, i64 %76
%78 = load double, ptr %77, align 8
%79 = load ptr, ptr %12, align 8
%80 = load i64, ptr %14, align 8
%81 = getelementptr inbounds double, ptr %79, i64 %80
%82 = load double, ptr %81, align 8
%83 = call double @llvm.fmuladd.f64(double %78, double %82, double %74)
%84 = call i64 @fabs(double noundef %83)
%85 = sitofp i64 %84 to double
%86 = load double, ptr %13, align 8
%87 = fadd double %86, %85
store double %87, ptr %13, align 8
br label %88
88: ; preds = %26
%89 = load i64, ptr %20, align 8
%90 = add nsw i64 %89, 1
store i64 %90, ptr %20, align 8
%91 = load i64, ptr %20, align 8
%92 = icmp slt i64 %91, 49
br i1 %92, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %88
br label %93
93: ; preds = %._crit_edge, %23
br label %94
94: ; preds = %93
%95 = load i64, ptr %19, align 8
%96 = add nsw i64 %95, 1
store i64 %96, ptr %19, align 8
%97 = load i64, ptr %19, align 8
%98 = icmp slt i64 %97, 99
br i1 %98, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %94
br label %99
99: ; preds = %._crit_edge3, %6
%100 = load double, ptr %13, align 8
ret double %100
}
declare i64 @fabs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpv0pz2sg0.c'
source_filename = "/tmp/tmpv0pz2sg0.c"
target datalayout = "e-m:e-p270: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/tmpv0pz2sg0.c"
target datalayout = "e-m:e-p270: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/tmpo7i0v1tf.c'
source_filename = "/tmp/tmpo7i0v1tf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { float }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @remquof(float noundef %0, float noundef %1, ptr noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca %union.anon, align 4
%9 = alloca %union.anon, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%17 = load float, ptr %5, align 4
store float %17, ptr %8, align 4
%18 = load float, ptr %6, align 4
store float %18, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = ashr i32 %19, 23
%21 = and i32 %20, 255
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %9, align 4
%23 = ashr i32 %22, 23
%24 = and i32 %23, 255
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %8, align 4
%26 = ashr i32 %25, 31
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %9, align 4
%28 = ashr i32 %27, 31
store i32 %28, ptr %13, align 4
%29 = load i32, ptr %8, align 4
store i32 %29, ptr %16, align 4
%30 = load ptr, ptr %7, align 8
store i32 0, ptr %30, align 4
%31 = load i32, ptr %9, align 4
%32 = shl i32 %31, 1
%33 = icmp eq i32 %32, 0
br i1 %33, label %41, label %34
34: ; preds = %3
%35 = load float, ptr %6, align 4
%36 = call i64 @isnan(float noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %34
%39 = load i32, ptr %10, align 4
%40 = icmp eq i32 %39, 255
br i1 %40, label %41, label %49
41: ; preds = %38, %34, %3
%42 = load float, ptr %5, align 4
%43 = load float, ptr %6, align 4
%44 = fmul float %42, %43
%45 = load float, ptr %5, align 4
%46 = load float, ptr %6, align 4
%47 = fmul float %45, %46
%48 = fdiv float %44, %47
store float %48, ptr %4, align 4
br label %250
49: ; preds = %38
%50 = load i32, ptr %8, align 4
%51 = shl i32 %50, 1
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = load float, ptr %5, align 4
store float %54, ptr %4, align 4
br label %250
55: ; preds = %49
%56 = load i32, ptr %10, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %77, label %58
58: ; preds = %55
%59 = load i32, ptr %16, align 4
%60 = shl i32 %59, 9
store i32 %60, ptr %15, align 4
br label %61
61: ; preds = %66, %58
%62 = load i32, ptr %15, align 4
%63 = ashr i32 %62, 31
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %61
br label %66
66: ; preds = %65
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, -1
store i32 %68, ptr %10, align 4
%69 = load i32, ptr %15, align 4
%70 = shl i32 %69, 1
store i32 %70, ptr %15, align 4
br label %61, !llvm.loop !6
71: ; preds = %61
%72 = load i32, ptr %10, align 4
%73 = sub nsw i32 0, %72
%74 = add nsw i32 %73, 1
%75 = load i32, ptr %16, align 4
%76 = shl i32 %75, %74
store i32 %76, ptr %16, align 4
br label %82
77: ; preds = %55
%78 = load i32, ptr %16, align 4
%79 = and i32 %78, 8388607
store i32 %79, ptr %16, align 4
%80 = load i32, ptr %16, align 4
%81 = or i32 %80, 8388608
store i32 %81, ptr %16, align 4
br label %82
82: ; preds = %77, %71
%83 = load i32, ptr %11, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %104, label %85
85: ; preds = %82
%86 = load i32, ptr %9, align 4
%87 = shl i32 %86, 9
store i32 %87, ptr %15, align 4
br label %88
88: ; preds = %93, %85
%89 = load i32, ptr %15, align 4
%90 = ashr i32 %89, 31
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %98
92: ; preds = %88
br label %93
93: ; preds = %92
%94 = load i32, ptr %11, align 4
%95 = add nsw i32 %94, -1
store i32 %95, ptr %11, align 4
%96 = load i32, ptr %15, align 4
%97 = shl i32 %96, 1
store i32 %97, ptr %15, align 4
br label %88, !llvm.loop !8
98: ; preds = %88
%99 = load i32, ptr %11, align 4
%100 = sub nsw i32 0, %99
%101 = add nsw i32 %100, 1
%102 = load i32, ptr %9, align 4
%103 = shl i32 %102, %101
store i32 %103, ptr %9, align 4
br label %109
104: ; preds = %82
%105 = load i32, ptr %9, align 4
%106 = and i32 %105, 8388607
store i32 %106, ptr %9, align 4
%107 = load i32, ptr %9, align 4
%108 = or i32 %107, 8388608
store i32 %108, ptr %9, align 4
br label %109
109: ; preds = %104, %98
store i32 0, ptr %14, align 4
%110 = load i32, ptr %10, align 4
%111 = load i32, ptr %11, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %113, label %121
113: ; preds = %109
%114 = load i32, ptr %10, align 4
%115 = add nsw i32 %114, 1
%116 = load i32, ptr %11, align 4
%117 = icmp eq i32 %115, %116
br i1 %117, label %118, label %119
118: ; preds = %113
br label %173
119: ; preds = %113
%120 = load float, ptr %5, align 4
store float %120, ptr %4, align 4
br label %250
121: ; preds = %109
br label %122
122: ; preds = %142, %121
%123 = load i32, ptr %10, align 4
%124 = load i32, ptr %11, align 4
%125 = icmp sgt i32 %123, %124
br i1 %125, label %126, label %145
126: ; preds = %122
%127 = load i32, ptr %16, align 4
%128 = load i32, ptr %9, align 4
%129 = sub nsw i32 %127, %128
store i32 %129, ptr %15, align 4
%130 = load i32, ptr %15, align 4
%131 = ashr i32 %130, 31
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %137
133: ; preds = %126
%134 = load i32, ptr %15, align 4
store i32 %134, ptr %16, align 4
%135 = load i32, ptr %14, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %14, align 4
br label %137
137: ; preds = %133, %126
%138 = load i32, ptr %16, align 4
%139 = shl i32 %138, 1
store i32 %139, ptr %16, align 4
%140 = load i32, ptr %14, align 4
%141 = shl i32 %140, 1
store i32 %141, ptr %14, align 4
br label %142
142: ; preds = %137
%143 = load i32, ptr %10, align 4
%144 = add nsw i32 %143, -1
store i32 %144, ptr %10, align 4
br label %122, !llvm.loop !9
145: ; preds = %122
%146 = load i32, ptr %16, align 4
%147 = load i32, ptr %9, align 4
%148 = sub nsw i32 %146, %147
store i32 %148, ptr %15, align 4
%149 = load i32, ptr %15, align 4
%150 = ashr i32 %149, 31
%151 = icmp eq i32 %150, 0
br i1 %151, label %152, label %156
152: ; preds = %145
%153 = load i32, ptr %15, align 4
store i32 %153, ptr %16, align 4
%154 = load i32, ptr %14, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %14, align 4
br label %156
156: ; preds = %152, %145
%157 = load i32, ptr %16, align 4
%158 = icmp eq i32 %157, 0
br i1 %158, label %159, label %160
159: ; preds = %156
store i32 -30, ptr %10, align 4
br label %172
160: ; preds = %156
br label %161
161: ; preds = %166, %160
%162 = load i32, ptr %16, align 4
%163 = ashr i32 %162, 23
%164 = icmp eq i32 %163, 0
br i1 %164, label %165, label %171
165: ; preds = %161
br label %166
166: ; preds = %165
%167 = load i32, ptr %16, align 4
%168 = shl i32 %167, 1
store i32 %168, ptr %16, align 4
%169 = load i32, ptr %10, align 4
%170 = add nsw i32 %169, -1
store i32 %170, ptr %10, align 4
br label %161, !llvm.loop !10
171: ; preds = %161
br label %172
172: ; preds = %171, %159
br label %173
173: ; preds = %172, %118
%174 = load i32, ptr %10, align 4
%175 = icmp sgt i32 %174, 0
br i1 %175, label %176, label %183
176: ; preds = %173
%177 = load i32, ptr %16, align 4
%178 = sub i32 %177, 8388608
store i32 %178, ptr %16, align 4
%179 = load i32, ptr %10, align 4
%180 = shl i32 %179, 23
%181 = load i32, ptr %16, align 4
%182 = or i32 %181, %180
store i32 %182, ptr %16, align 4
br label %189
183: ; preds = %173
%184 = load i32, ptr %10, align 4
%185 = sub nsw i32 0, %184
%186 = add nsw i32 %185, 1
%187 = load i32, ptr %16, align 4
%188 = ashr i32 %187, %186
store i32 %188, ptr %16, align 4
br label %189
189: ; preds = %183, %176
%190 = load i32, ptr %16, align 4
store i32 %190, ptr %8, align 4
%191 = load float, ptr %8, align 4
store float %191, ptr %5, align 4
%192 = load i32, ptr %13, align 4
%193 = icmp ne i32 %192, 0
br i1 %193, label %194, label %197
194: ; preds = %189
%195 = load float, ptr %6, align 4
%196 = fneg float %195
store float %196, ptr %6, align 4
br label %197
197: ; preds = %194, %189
%198 = load i32, ptr %10, align 4
%199 = load i32, ptr %11, align 4
%200 = icmp eq i32 %198, %199
br i1 %200, label %220, label %201
201: ; preds = %197
%202 = load i32, ptr %10, align 4
%203 = add nsw i32 %202, 1
%204 = load i32, ptr %11, align 4
%205 = icmp eq i32 %203, %204
br i1 %205, label %206, label %226
206: ; preds = %201
%207 = load float, ptr %5, align 4
%208 = fmul float 2.000000e+00, %207
%209 = load float, ptr %6, align 4
%210 = fcmp ogt float %208, %209
br i1 %210, label %220, label %211
211: ; preds = %206
%212 = load float, ptr %5, align 4
%213 = fmul float 2.000000e+00, %212
%214 = load float, ptr %6, align 4
%215 = fcmp oeq float %213, %214
br i1 %215, label %216, label %226
216: ; preds = %211
%217 = load i32, ptr %14, align 4
%218 = srem i32 %217, 2
%219 = icmp ne i32 %218, 0
br i1 %219, label %220, label %226
220: ; preds = %216, %206, %197
%221 = load float, ptr %6, align 4
%222 = load float, ptr %5, align 4
%223 = fsub float %222, %221
store float %223, ptr %5, align 4
%224 = load i32, ptr %14, align 4
%225 = add nsw i32 %224, 1
store i32 %225, ptr %14, align 4
br label %226
226: ; preds = %220, %216, %211, %201
%227 = load i32, ptr %14, align 4
%228 = and i32 %227, 2147483647
store i32 %228, ptr %14, align 4
%229 = load i32, ptr %12, align 4
%230 = load i32, ptr %13, align 4
%231 = xor i32 %229, %230
%232 = icmp ne i32 %231, 0
br i1 %232, label %233, label %236
233: ; preds = %226
%234 = load i32, ptr %14, align 4
%235 = sub nsw i32 0, %234
br label %238
236: ; preds = %226
%237 = load i32, ptr %14, align 4
br label %238
238: ; preds = %236, %233
%239 = phi i32 [ %235, %233 ], [ %237, %236 ]
%240 = load ptr, ptr %7, align 8
store i32 %239, ptr %240, align 4
%241 = load i32, ptr %12, align 4
%242 = icmp ne i32 %241, 0
br i1 %242, label %243, label %246
243: ; preds = %238
%244 = load float, ptr %5, align 4
%245 = fneg float %244
br label %248
246: ; preds = %238
%247 = load float, ptr %5, align 4
br label %248
248: ; preds = %246, %243
%249 = phi float [ %245, %243 ], [ %247, %246 ]
store float %249, ptr %4, align 4
br label %250
250: ; preds = %248, %119, %53, %41
%251 = load float, ptr %4, align 4
ret float %251
}
declare i64 @isnan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo7i0v1tf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { float }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @remquof(float noundef %0, float noundef %1, ptr noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca %union.anon, align 4
%9 = alloca %union.anon, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%17 = load float, ptr %5, align 4
store float %17, ptr %8, align 4
%18 = load float, ptr %6, align 4
store float %18, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = ashr i32 %19, 23
%21 = and i32 %20, 255
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %9, align 4
%23 = ashr i32 %22, 23
%24 = and i32 %23, 255
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %8, align 4
%26 = ashr i32 %25, 31
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %9, align 4
%28 = ashr i32 %27, 31
store i32 %28, ptr %13, align 4
%29 = load i32, ptr %8, align 4
store i32 %29, ptr %16, align 4
%30 = load ptr, ptr %7, align 8
store i32 0, ptr %30, align 4
%31 = load i32, ptr %9, align 4
%32 = shl i32 %31, 1
%33 = icmp eq i32 %32, 0
br i1 %33, label %41, label %34
34: ; preds = %3
%35 = load float, ptr %6, align 4
%36 = call i64 @isnan(float noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %34
%39 = load i32, ptr %10, align 4
%40 = icmp eq i32 %39, 255
br i1 %40, label %41, label %49
41: ; preds = %38, %34, %3
%42 = load float, ptr %5, align 4
%43 = load float, ptr %6, align 4
%44 = fmul float %42, %43
%45 = load float, ptr %5, align 4
%46 = load float, ptr %6, align 4
%47 = fmul float %45, %46
%48 = fdiv float %44, %47
store float %48, ptr %4, align 4
br label %258
49: ; preds = %38
%50 = load i32, ptr %8, align 4
%51 = shl i32 %50, 1
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = load float, ptr %5, align 4
store float %54, ptr %4, align 4
br label %258
55: ; preds = %49
%56 = load i32, ptr %10, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %79, label %58
58: ; preds = %55
%59 = load i32, ptr %16, align 4
%60 = shl i32 %59, 9
store i32 %60, ptr %15, align 4
%61 = load i32, ptr %15, align 4
%62 = ashr i32 %61, 31
%63 = icmp eq i32 %62, 0
br i1 %63, label %.lr.ph, label %73
.lr.ph: ; preds = %58
br label %64
64: ; preds = %.lr.ph, %65
br label %65
65: ; preds = %64
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, -1
store i32 %67, ptr %10, align 4
%68 = load i32, ptr %15, align 4
%69 = shl i32 %68, 1
store i32 %69, ptr %15, align 4
%70 = load i32, ptr %15, align 4
%71 = ashr i32 %70, 31
%72 = icmp eq i32 %71, 0
br i1 %72, label %64, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %73
73: ; preds = %._crit_edge, %58
%74 = load i32, ptr %10, align 4
%75 = sub nsw i32 0, %74
%76 = add nsw i32 %75, 1
%77 = load i32, ptr %16, align 4
%78 = shl i32 %77, %76
store i32 %78, ptr %16, align 4
br label %84
79: ; preds = %55
%80 = load i32, ptr %16, align 4
%81 = and i32 %80, 8388607
store i32 %81, ptr %16, align 4
%82 = load i32, ptr %16, align 4
%83 = or i32 %82, 8388608
store i32 %83, ptr %16, align 4
br label %84
84: ; preds = %79, %73
%85 = load i32, ptr %11, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %108, label %87
87: ; preds = %84
%88 = load i32, ptr %9, align 4
%89 = shl i32 %88, 9
store i32 %89, ptr %15, align 4
%90 = load i32, ptr %15, align 4
%91 = ashr i32 %90, 31
%92 = icmp eq i32 %91, 0
br i1 %92, label %.lr.ph2, label %102
.lr.ph2: ; preds = %87
br label %93
93: ; preds = %.lr.ph2, %94
br label %94
94: ; preds = %93
%95 = load i32, ptr %11, align 4
%96 = add nsw i32 %95, -1
store i32 %96, ptr %11, align 4
%97 = load i32, ptr %15, align 4
%98 = shl i32 %97, 1
store i32 %98, ptr %15, align 4
%99 = load i32, ptr %15, align 4
%100 = ashr i32 %99, 31
%101 = icmp eq i32 %100, 0
br i1 %101, label %93, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %94
br label %102
102: ; preds = %._crit_edge3, %87
%103 = load i32, ptr %11, align 4
%104 = sub nsw i32 0, %103
%105 = add nsw i32 %104, 1
%106 = load i32, ptr %9, align 4
%107 = shl i32 %106, %105
store i32 %107, ptr %9, align 4
br label %113
108: ; preds = %84
%109 = load i32, ptr %9, align 4
%110 = and i32 %109, 8388607
store i32 %110, ptr %9, align 4
%111 = load i32, ptr %9, align 4
%112 = or i32 %111, 8388608
store i32 %112, ptr %9, align 4
br label %113
113: ; preds = %108, %102
store i32 0, ptr %14, align 4
%114 = load i32, ptr %10, align 4
%115 = load i32, ptr %11, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %117, label %125
117: ; preds = %113
%118 = load i32, ptr %10, align 4
%119 = add nsw i32 %118, 1
%120 = load i32, ptr %11, align 4
%121 = icmp eq i32 %119, %120
br i1 %121, label %122, label %123
122: ; preds = %117
br label %181
123: ; preds = %117
%124 = load float, ptr %5, align 4
store float %124, ptr %4, align 4
br label %258
125: ; preds = %113
%126 = load i32, ptr %10, align 4
%127 = load i32, ptr %11, align 4
%128 = icmp sgt i32 %126, %127
br i1 %128, label %.lr.ph5, label %151
.lr.ph5: ; preds = %125
br label %129
129: ; preds = %.lr.ph5, %145
%130 = load i32, ptr %16, align 4
%131 = load i32, ptr %9, align 4
%132 = sub nsw i32 %130, %131
store i32 %132, ptr %15, align 4
%133 = load i32, ptr %15, align 4
%134 = ashr i32 %133, 31
%135 = icmp eq i32 %134, 0
br i1 %135, label %136, label %140
136: ; preds = %129
%137 = load i32, ptr %15, align 4
store i32 %137, ptr %16, align 4
%138 = load i32, ptr %14, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %14, align 4
br label %140
140: ; preds = %136, %129
%141 = load i32, ptr %16, align 4
%142 = shl i32 %141, 1
store i32 %142, ptr %16, align 4
%143 = load i32, ptr %14, align 4
%144 = shl i32 %143, 1
store i32 %144, ptr %14, align 4
br label %145
145: ; preds = %140
%146 = load i32, ptr %10, align 4
%147 = add nsw i32 %146, -1
store i32 %147, ptr %10, align 4
%148 = load i32, ptr %10, align 4
%149 = load i32, ptr %11, align 4
%150 = icmp sgt i32 %148, %149
br i1 %150, label %129, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %145
br label %151
151: ; preds = %._crit_edge6, %125
%152 = load i32, ptr %16, align 4
%153 = load i32, ptr %9, align 4
%154 = sub nsw i32 %152, %153
store i32 %154, ptr %15, align 4
%155 = load i32, ptr %15, align 4
%156 = ashr i32 %155, 31
%157 = icmp eq i32 %156, 0
br i1 %157, label %158, label %162
158: ; preds = %151
%159 = load i32, ptr %15, align 4
store i32 %159, ptr %16, align 4
%160 = load i32, ptr %14, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %14, align 4
br label %162
162: ; preds = %158, %151
%163 = load i32, ptr %16, align 4
%164 = icmp eq i32 %163, 0
br i1 %164, label %165, label %166
165: ; preds = %162
store i32 -30, ptr %10, align 4
br label %180
166: ; preds = %162
%167 = load i32, ptr %16, align 4
%168 = ashr i32 %167, 23
%169 = icmp eq i32 %168, 0
br i1 %169, label %.lr.ph8, label %179
.lr.ph8: ; preds = %166
br label %170
170: ; preds = %.lr.ph8, %171
br label %171
171: ; preds = %170
%172 = load i32, ptr %16, align 4
%173 = shl i32 %172, 1
store i32 %173, ptr %16, align 4
%174 = load i32, ptr %10, align 4
%175 = add nsw i32 %174, -1
store i32 %175, ptr %10, align 4
%176 = load i32, ptr %16, align 4
%177 = ashr i32 %176, 23
%178 = icmp eq i32 %177, 0
br i1 %178, label %170, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %171
br label %179
179: ; preds = %._crit_edge9, %166
br label %180
180: ; preds = %179, %165
br label %181
181: ; preds = %180, %122
%182 = load i32, ptr %10, align 4
%183 = icmp sgt i32 %182, 0
br i1 %183, label %184, label %191
184: ; preds = %181
%185 = load i32, ptr %16, align 4
%186 = sub i32 %185, 8388608
store i32 %186, ptr %16, align 4
%187 = load i32, ptr %10, align 4
%188 = shl i32 %187, 23
%189 = load i32, ptr %16, align 4
%190 = or i32 %189, %188
store i32 %190, ptr %16, align 4
br label %197
191: ; preds = %181
%192 = load i32, ptr %10, align 4
%193 = sub nsw i32 0, %192
%194 = add nsw i32 %193, 1
%195 = load i32, ptr %16, align 4
%196 = ashr i32 %195, %194
store i32 %196, ptr %16, align 4
br label %197
197: ; preds = %191, %184
%198 = load i32, ptr %16, align 4
store i32 %198, ptr %8, align 4
%199 = load float, ptr %8, align 4
store float %199, ptr %5, align 4
%200 = load i32, ptr %13, align 4
%201 = icmp ne i32 %200, 0
br i1 %201, label %202, label %205
202: ; preds = %197
%203 = load float, ptr %6, align 4
%204 = fneg float %203
store float %204, ptr %6, align 4
br label %205
205: ; preds = %202, %197
%206 = load i32, ptr %10, align 4
%207 = load i32, ptr %11, align 4
%208 = icmp eq i32 %206, %207
br i1 %208, label %228, label %209
209: ; preds = %205
%210 = load i32, ptr %10, align 4
%211 = add nsw i32 %210, 1
%212 = load i32, ptr %11, align 4
%213 = icmp eq i32 %211, %212
br i1 %213, label %214, label %234
214: ; preds = %209
%215 = load float, ptr %5, align 4
%216 = fmul float 2.000000e+00, %215
%217 = load float, ptr %6, align 4
%218 = fcmp ogt float %216, %217
br i1 %218, label %228, label %219
219: ; preds = %214
%220 = load float, ptr %5, align 4
%221 = fmul float 2.000000e+00, %220
%222 = load float, ptr %6, align 4
%223 = fcmp oeq float %221, %222
br i1 %223, label %224, label %234
224: ; preds = %219
%225 = load i32, ptr %14, align 4
%226 = srem i32 %225, 2
%227 = icmp ne i32 %226, 0
br i1 %227, label %228, label %234
228: ; preds = %224, %214, %205
%229 = load float, ptr %6, align 4
%230 = load float, ptr %5, align 4
%231 = fsub float %230, %229
store float %231, ptr %5, align 4
%232 = load i32, ptr %14, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %14, align 4
br label %234
234: ; preds = %228, %224, %219, %209
%235 = load i32, ptr %14, align 4
%236 = and i32 %235, 2147483647
store i32 %236, ptr %14, align 4
%237 = load i32, ptr %12, align 4
%238 = load i32, ptr %13, align 4
%239 = xor i32 %237, %238
%240 = icmp ne i32 %239, 0
br i1 %240, label %241, label %244
241: ; preds = %234
%242 = load i32, ptr %14, align 4
%243 = sub nsw i32 0, %242
br label %246
244: ; preds = %234
%245 = load i32, ptr %14, align 4
br label %246
246: ; preds = %244, %241
%247 = phi i32 [ %243, %241 ], [ %245, %244 ]
%248 = load ptr, ptr %7, align 8
store i32 %247, ptr %248, align 4
%249 = load i32, ptr %12, align 4
%250 = icmp ne i32 %249, 0
br i1 %250, label %251, label %254
251: ; preds = %246
%252 = load float, ptr %5, align 4
%253 = fneg float %252
br label %256
254: ; preds = %246
%255 = load float, ptr %5, align 4
br label %256
256: ; preds = %254, %251
%257 = phi float [ %253, %251 ], [ %255, %254 ]
store float %257, ptr %4, align 4
br label %258
258: ; preds = %256, %123, %53, %41
%259 = load float, ptr %4, align 4
ret float %259
}
declare i64 @isnan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmprw86gxuk.c'
source_filename = "/tmp/tmprw86gxuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprw86gxuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppv8z3vko.c'
source_filename = "/tmp/tmppv8z3vko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %9, align 8
br label %12
11: ; preds = %2
br label %12
12: ; preds = %11, %8
%13 = phi ptr [ %10, %8 ], [ null, %11 ]
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 1
%20 = trunc i64 %19 to i32
%21 = call ptr @myrealloc(ptr noundef %14, i32 noundef %20)
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %27
24: ; preds = %12
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %3, align 8
store ptr %25, ptr %26, align 8
br label %27
27: ; preds = %24, %12
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %4, align 8
%30 = call ptr @strcpy(ptr noundef %28, ptr noundef %29)
ret ptr %30
}
declare ptr @myrealloc(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppv8z3vko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %9, align 8
br label %12
11: ; preds = %2
br label %12
12: ; preds = %11, %8
%13 = phi ptr [ %10, %8 ], [ null, %11 ]
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 1
%20 = trunc i64 %19 to i32
%21 = call ptr @myrealloc(ptr noundef %14, i32 noundef %20)
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %27
24: ; preds = %12
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %3, align 8
store ptr %25, ptr %26, align 8
br label %27
27: ; preds = %24, %12
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %4, align 8
%30 = call ptr @strcpy(ptr noundef %28, ptr noundef %29)
ret ptr %30
}
declare ptr @myrealloc(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa8sur5n6.c'
source_filename = "/tmp/tmpa8sur5n6.c"
target datalayout = "e-m:e-p270: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/tmpa8sur5n6.c"
target datalayout = "e-m:e-p270: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/tmp05ou4760.c'
source_filename = "/tmp/tmp05ou4760.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@I2C_SLAVE_FORCE = dso_local global i32 0, align 4
@__const.checkSlave.regCHECK = private unnamed_addr constant [1 x i8] c"\04", align 1
@.str = private unnamed_addr constant [51 x i8] c"Detected PlainDAC+/DSP with address 0x%02x at %s!\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"No PlainDAC+/DSP with address 0x%02x at %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkSlave(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca [1 x i8], align 1
%9 = alloca [1 x i8], align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr @I2C_SLAVE_FORCE, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, i32 noundef %12)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.checkSlave.regCHECK, i64 1, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 1, i1 false)
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0
%16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 1)
%17 = load i32, ptr %4, align 4
%18 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%19 = call i32 @read(i32 noundef %17, ptr noundef %18, i32 noundef 1)
%20 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %3
%25 = load i32, ptr %6, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %25, ptr noundef %26)
br label %32
28: ; preds = %3
%29 = load i32, ptr %6, align 4
%30 = load ptr, ptr %5, align 8
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29, ptr noundef %30)
br label %32
32: ; preds = %28, %24
%33 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
ret i32 %35
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp05ou4760.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@I2C_SLAVE_FORCE = dso_local global i32 0, align 4
@__const.checkSlave.regCHECK = private unnamed_addr constant [1 x i8] c"\04", align 1
@.str = private unnamed_addr constant [51 x i8] c"Detected PlainDAC+/DSP with address 0x%02x at %s!\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"No PlainDAC+/DSP with address 0x%02x at %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkSlave(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca [1 x i8], align 1
%9 = alloca [1 x i8], align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr @I2C_SLAVE_FORCE, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, i32 noundef %12)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.checkSlave.regCHECK, i64 1, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 1, i1 false)
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0
%16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 1)
%17 = load i32, ptr %4, align 4
%18 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%19 = call i32 @read(i32 noundef %17, ptr noundef %18, i32 noundef 1)
%20 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %3
%25 = load i32, ptr %6, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %25, ptr noundef %26)
br label %32
28: ; preds = %3
%29 = load i32, ptr %6, align 4
%30 = load ptr, ptr %5, align 8
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29, ptr noundef %30)
br label %32
32: ; preds = %28, %24
%33 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
ret i32 %35
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp50m301qg.c'
source_filename = "/tmp/tmp50m301qg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-query/.libs/lt-fc-query.c\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"(lt_update_exe_path) modifying '%s' by prepending '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lt_update_exe_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @nonnull(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @nonnull(ptr noundef %9)
%11 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 663, ptr noundef @.str.1, i32 noundef %8, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %67
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %67
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %67
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %67
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i32 @getenv(ptr noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = call ptr @lt_extend_str(i32 noundef %29, ptr noundef %30, i32 noundef 0)
store ptr %31, ptr %5, align 8
%32 = load ptr, ptr %5, align 8
%33 = call i32 @strlen(ptr noundef %32)
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %49, %27
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strlen(ptr noundef %35)
store i32 %36, ptr %6, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %47
38: ; preds = %34
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 58
br label %47
47: ; preds = %38, %34
%48 = phi i1 [ false, %34 ], [ %46, %38 ]
br i1 %48, label %49, label %55
49: ; preds = %47
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %50, i64 %53
store i8 0, ptr %54, align 1
br label %34, !llvm.loop !6
55: ; preds = %47
%56 = load ptr, ptr %3, align 8
%57 = load ptr, ptr %5, align 8
%58 = call i32 @lt_setenv(ptr noundef %56, ptr noundef %57)
br label %59
59: ; preds = %55
%60 = load ptr, ptr %5, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %65
62: ; preds = %59
%63 = load ptr, ptr %5, align 8
%64 = call i32 @free(ptr noundef %63)
store ptr null, ptr %5, align 8
br label %65
65: ; preds = %62, %59
br label %66
66: ; preds = %65
br label %67
67: ; preds = %66, %22, %19, %14, %2
ret void
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @nonnull(ptr noundef) #1
declare ptr @lt_extend_str(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getenv(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @lt_setenv(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50m301qg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-query/.libs/lt-fc-query.c\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"(lt_update_exe_path) modifying '%s' by prepending '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lt_update_exe_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @nonnull(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @nonnull(ptr noundef %9)
%11 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 663, ptr noundef @.str.1, i32 noundef %8, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %67
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %67
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %67
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %67
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i32 @getenv(ptr noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = call ptr @lt_extend_str(i32 noundef %29, ptr noundef %30, i32 noundef 0)
store ptr %31, ptr %5, align 8
%32 = load ptr, ptr %5, align 8
%33 = call i32 @strlen(ptr noundef %32)
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %49, %27
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strlen(ptr noundef %35)
store i32 %36, ptr %6, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %47
38: ; preds = %34
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 58
br label %47
47: ; preds = %38, %34
%48 = phi i1 [ false, %34 ], [ %46, %38 ]
br i1 %48, label %49, label %55
49: ; preds = %47
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %50, i64 %53
store i8 0, ptr %54, align 1
br label %34, !llvm.loop !6
55: ; preds = %47
%56 = load ptr, ptr %3, align 8
%57 = load ptr, ptr %5, align 8
%58 = call i32 @lt_setenv(ptr noundef %56, ptr noundef %57)
br label %59
59: ; preds = %55
%60 = load ptr, ptr %5, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %65
62: ; preds = %59
%63 = load ptr, ptr %5, align 8
%64 = call i32 @free(ptr noundef %63)
store ptr null, ptr %5, align 8
br label %65
65: ; preds = %62, %59
br label %66
66: ; preds = %65
br label %67
67: ; preds = %66, %22, %19, %14, %2
ret void
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @nonnull(ptr noundef) #1
declare ptr @lt_extend_str(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getenv(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @lt_setenv(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyi71h623.c'
source_filename = "/tmp/tmpyi71h623.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
br label %5
5: ; preds = %17, %2
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %12, %14
br i1 %15, label %16, label %17
16: ; preds = %9
br label %20
17: ; preds = %9
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %3, align 8
br label %5, !llvm.loop !6
20: ; preds = %16, %5
%21 = load ptr, ptr %3, align 8
ret ptr %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpyi71h623.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %16
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = load i8, ptr %4, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %11, %13
br i1 %14, label %15, label %16
15: ; preds = %8
br label %22
16: ; preds = %8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %16
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %22
22: ; preds = %.loopexit, %15
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpozsbzbfr.c'
source_filename = "/tmp/tmpozsbzbfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ff\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"Usage: nl.e [ff]\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"%s\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\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 [1024 x i8], align 16
%7 = 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 %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %22
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %10
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %10
store i32 1, ptr %7, align 4
br label %21
21: ; preds = %20
br label %22
22: ; preds = %21, %2
br label %23
23: ; preds = %28, %22
%24 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%25 = load i32, ptr @stdin, align 4
%26 = call i64 @get_line(ptr noundef %24, i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %29)
br label %23, !llvm.loop !6
31: ; preds = %23
%32 = load i32, ptr %7, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 12)
br label %36
36: ; preds = %34, %31
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @get_line(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpozsbzbfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ff\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"Usage: nl.e [ff]\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"%s\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\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 [1024 x i8], align 16
%7 = 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 %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %22
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %10
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %10
store i32 1, ptr %7, align 4
br label %21
21: ; preds = %20
br label %22
22: ; preds = %21, %2
%23 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%24 = load i32, ptr @stdin, align 4
%25 = call i64 @get_line(ptr noundef %23, i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %.lr.ph, label %33
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %27
%28 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28)
%30 = load i32, ptr @stdin, align 4
%31 = call i64 @get_line(ptr noundef %23, i32 noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %22
%34 = load i32, ptr %7, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 12)
br label %38
38: ; preds = %36, %33
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @get_line(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptldve9mz.c'
source_filename = "/tmp/tmptldve9mz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_cmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
%17 = getelementptr inbounds i8, ptr %16, i64 -1
%18 = call i32 @free(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = getelementptr inbounds ptr, ptr %21, i64 -1
%23 = call i32 @free(ptr noundef %22)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptldve9mz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_cmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
%17 = getelementptr inbounds i8, ptr %16, i64 -1
%18 = call i32 @free(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = getelementptr inbounds ptr, ptr %21, i64 -1
%23 = call i32 @free(ptr noundef %22)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6owwiu1q.c'
source_filename = "/tmp/tmp6owwiu1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c" -d s Select serial port specified by device name s (default: /dev/ttymxc2)\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c" -s x Set baudrate to x bps (default: 9600)\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c" -b x Send x bytes (default: 8)\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c" -r x Repeat send and receive x times (default: 1)\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c" -o x Set receive timeout to x seconds (default: 5)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmp6owwiu1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c" -d s Select serial port specified by device name s (default: /dev/ttymxc2)\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c" -s x Set baudrate to x bps (default: 9600)\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c" -b x Send x bytes (default: 8)\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c" -r x Repeat send and receive x times (default: 1)\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c" -o x Set receive timeout to x seconds (default: 5)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmp92vsm2ef.c'
source_filename = "/tmp/tmp92vsm2ef.c"
target datalayout = "e-m:e-p270: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/tmp92vsm2ef.c"
target datalayout = "e-m:e-p270: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/tmp0agk1sbq.c'
source_filename = "/tmp/tmp0agk1sbq.c"
target datalayout = "e-m:e-p270: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/tmp0agk1sbq.c"
target datalayout = "e-m:e-p270: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/tmpd_0gd88y.c'
source_filename = "/tmp/tmpd_0gd88y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bvfs_unistd_sync(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = call i32 @fsync(i32 noundef %6)
ret void
}
declare i32 @fsync(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/tmpd_0gd88y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bvfs_unistd_sync(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = call i32 @fsync(i32 noundef %6)
ret void
}
declare i32 @fsync(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/tmpvrry8g6x.c'
source_filename = "/tmp/tmpvrry8g6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copytemp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %36
16: ; preds = %2
%17 = call i32 @umask(i32 noundef 63)
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
%19 = call i32 @mkstemp(ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = call i32 @umask(i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %16
%25 = load i32, ptr %6, align 4
%26 = call i32 @close(i32 noundef %25)
store i32 -1, ptr %3, align 4
br label %36
27: ; preds = %16
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @copyfile(i32 noundef %28, i32 noundef %29)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %6, align 4
%32 = call i32 @close(i32 noundef %31)
%33 = load i32, ptr %7, align 4
%34 = call i32 @close(i32 noundef %33)
%35 = load i32, ptr %9, align 4
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %27, %24, %15
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @umask(i32 noundef) #1
declare i32 @mkstemp(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @copyfile(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/tmpvrry8g6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copytemp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %36
16: ; preds = %2
%17 = call i32 @umask(i32 noundef 63)
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
%19 = call i32 @mkstemp(ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = call i32 @umask(i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %16
%25 = load i32, ptr %6, align 4
%26 = call i32 @close(i32 noundef %25)
store i32 -1, ptr %3, align 4
br label %36
27: ; preds = %16
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = call i32 @copyfile(i32 noundef %28, i32 noundef %29)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %6, align 4
%32 = call i32 @close(i32 noundef %31)
%33 = load i32, ptr %7, align 4
%34 = call i32 @close(i32 noundef %33)
%35 = load i32, ptr %9, align 4
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %27, %24, %15
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @umask(i32 noundef) #1
declare i32 @mkstemp(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @copyfile(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/tmp_5h46t8h.c'
source_filename = "/tmp/tmp_5h46t8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpc_getargstr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i64 @malloc(i32 noundef 4096)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %7, align 8
br label %11
11: ; preds = %24, %2
%12 = load ptr, ptr %7, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 9
br label %21
21: ; preds = %16, %11
%22 = phi i1 [ true, %11 ], [ %20, %16 ]
br i1 %22, label %23, label %27
23: ; preds = %21
br label %24
24: ; preds = %23
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %7, align 8
br label %11, !llvm.loop !6
27: ; preds = %21
store i32 0, ptr %6, align 4
br label %28
28: ; preds = %34, %27
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 40
br i1 %32, label %33, label %39
33: ; preds = %28
br label %34
34: ; preds = %33
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %7, align 8
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %28, !llvm.loop !8
39: ; preds = %28
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %7, align 8
store i32 0, ptr %6, align 4
br label %42
42: ; preds = %66, %39
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %69
46: ; preds = %42
br label %47
47: ; preds = %60, %46
%48 = load ptr, ptr %7, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 44
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = load ptr, ptr %7, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 41
br label %57
57: ; preds = %52, %47
%58 = phi i1 [ false, %47 ], [ %56, %52 ]
br i1 %58, label %59, label %63
59: ; preds = %57
br label %60
60: ; preds = %59
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %7, align 8
br label %47, !llvm.loop !9
63: ; preds = %57
%64 = load ptr, ptr %7, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %7, align 8
br label %66
66: ; preds = %63
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
br label %42, !llvm.loop !10
69: ; preds = %42
store i32 0, ptr %6, align 4
br label %70
70: ; preds = %89, %69
%71 = load ptr, ptr %7, align 8
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 44
br i1 %74, label %75, label %80
75: ; preds = %70
%76 = load ptr, ptr %7, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 41
br label %80
80: ; preds = %75, %70
%81 = phi i1 [ false, %70 ], [ %79, %75 ]
br i1 %81, label %82, label %94
82: ; preds = %80
%83 = load ptr, ptr %7, align 8
%84 = load i8, ptr %83, align 1
%85 = load ptr, ptr %5, align 8
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
store i8 %84, ptr %88, align 1
br label %89
89: ; preds = %82
%90 = load ptr, ptr %7, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %7, align 8
%92 = load i32, ptr %6, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %6, align 4
br label %70, !llvm.loop !11
94: ; preds = %80
%95 = load ptr, ptr %5, align 8
%96 = load i32, ptr %6, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %95, i64 %97
store i8 0, ptr %98, align 1
%99 = load ptr, ptr %5, align 8
ret ptr %99
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_5h46t8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpc_getargstr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i64 @malloc(i32 noundef 4096)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %7, align 8
br label %11
11: ; preds = %24, %2
%12 = load ptr, ptr %7, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 32
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 9
br label %21
21: ; preds = %16, %11
%22 = phi i1 [ true, %11 ], [ %20, %16 ]
br i1 %22, label %23, label %27
23: ; preds = %21
br label %24
24: ; preds = %23
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %7, align 8
br label %11, !llvm.loop !6
27: ; preds = %21
store i32 0, ptr %6, align 4
%28 = load ptr, ptr %7, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 40
br i1 %31, label %.lr.ph, label %42
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %33
br label %33
33: ; preds = %32
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %7, align 8
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
%38 = load ptr, ptr %7, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 40
br i1 %41, label %32, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %33
br label %42
42: ; preds = %._crit_edge, %27
%43 = load ptr, ptr %7, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %7, align 8
store i32 0, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph2, label %74
.lr.ph2: ; preds = %42
br label %48
48: ; preds = %.lr.ph2, %68
br label %49
49: ; preds = %62, %48
%50 = load ptr, ptr %7, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 44
br i1 %53, label %54, label %59
54: ; preds = %49
%55 = load ptr, ptr %7, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 41
br label %59
59: ; preds = %54, %49
%60 = phi i1 [ false, %49 ], [ %58, %54 ]
br i1 %60, label %61, label %65
61: ; preds = %59
br label %62
62: ; preds = %61
%63 = load ptr, ptr %7, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %7, align 8
br label %49, !llvm.loop !9
65: ; preds = %59
%66 = load ptr, ptr %7, align 8
%67 = getelementptr inbounds i8, ptr %66, i32 1
store ptr %67, ptr %7, align 8
br label %68
68: ; preds = %65
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %6, align 4
%71 = load i32, ptr %6, align 4
%72 = load i32, ptr %4, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %48, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %68
br label %74
74: ; preds = %._crit_edge3, %42
store i32 0, ptr %6, align 4
br label %75
75: ; preds = %94, %74
%76 = load ptr, ptr %7, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 44
br i1 %79, label %80, label %85
80: ; preds = %75
%81 = load ptr, ptr %7, align 8
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp ne i32 %83, 41
br label %85
85: ; preds = %80, %75
%86 = phi i1 [ false, %75 ], [ %84, %80 ]
br i1 %86, label %87, label %99
87: ; preds = %85
%88 = load ptr, ptr %7, align 8
%89 = load i8, ptr %88, align 1
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %6, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
store i8 %89, ptr %93, align 1
br label %94
94: ; preds = %87
%95 = load ptr, ptr %7, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %7, align 8
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %6, align 4
br label %75, !llvm.loop !11
99: ; preds = %85
%100 = load ptr, ptr %5, align 8
%101 = load i32, ptr %6, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
store i8 0, ptr %103, align 1
%104 = load ptr, ptr %5, align 8
ret ptr %104
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpxurqs3n8.c'
source_filename = "/tmp/tmpxurqs3n8.c"
target datalayout = "e-m:e-p270: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/tmpxurqs3n8.c"
target datalayout = "e-m:e-p270: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/tmphtqunjfd.c'
source_filename = "/tmp/tmphtqunjfd.c"
target datalayout = "e-m:e-p270: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/tmphtqunjfd.c"
target datalayout = "e-m:e-p270: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/tmpzlpvvl1x.c'
source_filename = "/tmp/tmpzlpvvl1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Draw_H_Line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef zeroext %3, i8 noundef zeroext %4, i8 noundef zeroext %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = 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 i8 %3, ptr %12, align 1
store i8 %4, ptr %13, align 1
store i8 %5, ptr %14, align 1
store ptr %6, ptr %15, align 8
store i32 %7, ptr %16, align 4
%18 = load i32, ptr %9, align 4
store i32 %18, ptr %17, align 4
br label %19
19: ; preds = %32, %8
%20 = load i32, ptr %17, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %35
23: ; preds = %19
%24 = load i32, ptr %17, align 4
%25 = load i32, ptr %11, align 4
%26 = load i8, ptr %12, align 1
%27 = load i8, ptr %13, align 1
%28 = load i8, ptr %14, align 1
%29 = load ptr, ptr %15, align 8
%30 = load i32, ptr %16, align 4
%31 = call i32 @Mark_Pixel(i32 noundef %24, i32 noundef %25, i8 noundef zeroext %26, i8 noundef zeroext %27, i8 noundef zeroext %28, ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %23
%33 = load i32, ptr %17, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %17, align 4
br label %19, !llvm.loop !6
35: ; preds = %19
ret void
}
declare i32 @Mark_Pixel(i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, 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/tmpzlpvvl1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Draw_H_Line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef zeroext %3, i8 noundef zeroext %4, i8 noundef zeroext %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = 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 i8 %3, ptr %12, align 1
store i8 %4, ptr %13, align 1
store i8 %5, ptr %14, align 1
store ptr %6, ptr %15, align 8
store i32 %7, ptr %16, align 4
%18 = load i32, ptr %9, align 4
store i32 %18, ptr %17, align 4
%19 = load i32, ptr %17, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph, label %37
.lr.ph: ; preds = %8
br label %22
22: ; preds = %.lr.ph, %31
%23 = load i32, ptr %17, align 4
%24 = load i32, ptr %11, align 4
%25 = load i8, ptr %12, align 1
%26 = load i8, ptr %13, align 1
%27 = load i8, ptr %14, align 1
%28 = load ptr, ptr %15, align 8
%29 = load i32, ptr %16, align 4
%30 = call i32 @Mark_Pixel(i32 noundef %23, i32 noundef %24, i8 noundef zeroext %25, i8 noundef zeroext %26, i8 noundef zeroext %27, ptr noundef %28, i32 noundef %29)
br label %31
31: ; preds = %22
%32 = load i32, ptr %17, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %17, align 4
%34 = load i32, ptr %17, align 4
%35 = load i32, ptr %10, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %8
ret void
}
declare i32 @Mark_Pixel(i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, 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/tmp0q2my3__.c'
source_filename = "/tmp/tmp0q2my3__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hashtable_hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @hash(ptr noundef %3)
ret i64 %4
}
declare i64 @hash(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/tmp0q2my3__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hashtable_hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @hash(ptr noundef %3)
ret i64 %4
}
declare i64 @hash(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/tmp3s8yqkzf.c'
source_filename = "/tmp/tmp3s8yqkzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %7, align 8
%12 = call i64 @strnlen(ptr noundef %10, i64 noundef %11)
store i64 %12, ptr %9, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %3
%16 = load i64, ptr %9, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = add i64 %16, %18
store i64 %19, ptr %4, align 8
br label %61
20: ; preds = %3
%21 = load i64, ptr %9, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 %21
store ptr %23, ptr %5, align 8
store i64 0, ptr %8, align 8
br label %24
24: ; preds = %46, %20
%25 = load i64, ptr %8, align 8
%26 = load i64, ptr %7, align 8
%27 = sub i64 %26, 1
%28 = icmp ult i64 %25, %27
br i1 %28, label %29, label %36
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = load i64, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br label %36
36: ; preds = %29, %24
%37 = phi i1 [ false, %24 ], [ %35, %29 ]
br i1 %37, label %38, label %49
38: ; preds = %36
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
store i8 %42, ptr %45, align 1
br label %46
46: ; preds = %38
%47 = load i64, ptr %8, align 8
%48 = add i64 %47, 1
store i64 %48, ptr %8, align 8
br label %24, !llvm.loop !6
49: ; preds = %36
%50 = load ptr, ptr %5, align 8
%51 = load i64, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %50, i64 %51
store i8 0, ptr %52, align 1
%53 = load i64, ptr %9, align 8
%54 = load i64, ptr %8, align 8
%55 = add i64 %53, %54
%56 = load ptr, ptr %6, align 8
%57 = load i64, ptr %8, align 8
%58 = getelementptr inbounds i8, ptr %56, i64 %57
%59 = call i64 @strlen(ptr noundef %58)
%60 = add i64 %55, %59
store i64 %60, ptr %4, align 8
br label %61
61: ; preds = %49, %15
%62 = load i64, ptr %4, align 8
ret i64 %62
}
declare i64 @strnlen(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3s8yqkzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %7, align 8
%12 = call i64 @strnlen(ptr noundef %10, i64 noundef %11)
store i64 %12, ptr %9, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %3
%16 = load i64, ptr %9, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = add i64 %16, %18
store i64 %19, ptr %4, align 8
br label %61
20: ; preds = %3
%21 = load i64, ptr %9, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 %21
store ptr %23, ptr %5, align 8
store i64 0, ptr %8, align 8
br label %24
24: ; preds = %46, %20
%25 = load i64, ptr %8, align 8
%26 = load i64, ptr %7, align 8
%27 = sub i64 %26, 1
%28 = icmp ult i64 %25, %27
br i1 %28, label %29, label %36
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = load i64, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br label %36
36: ; preds = %29, %24
%37 = phi i1 [ false, %24 ], [ %35, %29 ]
br i1 %37, label %38, label %49
38: ; preds = %36
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
store i8 %42, ptr %45, align 1
br label %46
46: ; preds = %38
%47 = load i64, ptr %8, align 8
%48 = add i64 %47, 1
store i64 %48, ptr %8, align 8
br label %24, !llvm.loop !6
49: ; preds = %36
%50 = load ptr, ptr %5, align 8
%51 = load i64, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %50, i64 %51
store i8 0, ptr %52, align 1
%53 = load i64, ptr %9, align 8
%54 = load i64, ptr %8, align 8
%55 = add i64 %53, %54
%56 = load ptr, ptr %6, align 8
%57 = load i64, ptr %8, align 8
%58 = getelementptr inbounds i8, ptr %56, i64 %57
%59 = call i64 @strlen(ptr noundef %58)
%60 = add i64 %55, %59
store i64 %60, ptr %4, align 8
br label %61
61: ; preds = %49, %15
%62 = load i64, ptr %4, align 8
ret i64 %62
}
declare i64 @strnlen(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps3qjg_k2.c'
source_filename = "/tmp/tmps3qjg_k2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [195 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BogdanArdelean/FPWAM/refs/heads/master/prologInstallFolder/src/EnginePl/if_no_fd.c: FD Solver not linked\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Fd_Solver_Missing() #0 {
%1 = call i32 @Pl_Fatal_Error(ptr noundef @.str)
ret void
}
declare i32 @Pl_Fatal_Error(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/tmps3qjg_k2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [195 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BogdanArdelean/FPWAM/refs/heads/master/prologInstallFolder/src/EnginePl/if_no_fd.c: FD Solver not linked\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Fd_Solver_Missing() #0 {
%1 = call i32 @Pl_Fatal_Error(ptr noundef @.str)
ret void
}
declare i32 @Pl_Fatal_Error(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/tmp0qnjjv93.c'
source_filename = "/tmp/tmp0qnjjv93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @test_ipv4_mac_to_str()
%7 = call i32 (...) @test_str_to_ipv4_mac()
%8 = call i32 (...) @test_bitmap_to_str()
%9 = call i32 (...) @test_bits_put_get()
%10 = call i32 (...) @test_sockaddr()
%11 = call i32 (...) @test_bytes_to_uint()
ret i32 0
}
declare i32 @test_ipv4_mac_to_str(...) #1
declare i32 @test_str_to_ipv4_mac(...) #1
declare i32 @test_bitmap_to_str(...) #1
declare i32 @test_bits_put_get(...) #1
declare i32 @test_sockaddr(...) #1
declare i32 @test_bytes_to_uint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qnjjv93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @test_ipv4_mac_to_str()
%7 = call i32 (...) @test_str_to_ipv4_mac()
%8 = call i32 (...) @test_bitmap_to_str()
%9 = call i32 (...) @test_bits_put_get()
%10 = call i32 (...) @test_sockaddr()
%11 = call i32 (...) @test_bytes_to_uint()
ret i32 0
}
declare i32 @test_ipv4_mac_to_str(...) #1
declare i32 @test_str_to_ipv4_mac(...) #1
declare i32 @test_bitmap_to_str(...) #1
declare i32 @test_bits_put_get(...) #1
declare i32 @test_sockaddr(...) #1
declare i32 @test_bytes_to_uint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph2kob71d.c'
source_filename = "/tmp/tmph2kob71d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PICA_processdatastream(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
br label %13
13: ; preds = %42, %5
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %14, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %55
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %10, align 8
%22 = load i32, ptr %11, align 4
%23 = call i32 @PICA_msggetsize(ptr noundef %18, i32 noundef %20, ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %12, align 4
%24 = load i32, ptr %12, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %17
store i32 0, ptr %6, align 4
br label %56
27: ; preds = %17
%28 = load i32, ptr %12, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %29, align 4
%31 = icmp ugt i32 %28, %30
br i1 %31, label %32, label %33
32: ; preds = %27
br label %55
33: ; preds = %27
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %12, align 4
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %11, align 4
%39 = call i32 @PICA_processmsg(ptr noundef %34, i32 noundef %35, ptr noundef %36, ptr noundef %37, i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %33
store i32 0, ptr %6, align 4
br label %56
42: ; preds = %33
%43 = load i32, ptr %12, align 4
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %44, align 4
%46 = sub i32 %45, %43
store i32 %46, ptr %44, align 4
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %12, align 4
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %52, align 4
%54 = call i32 @memmove(ptr noundef %47, ptr noundef %51, i32 noundef %53)
br label %13, !llvm.loop !6
55: ; preds = %32, %13
store i32 1, ptr %6, align 4
br label %56
56: ; preds = %55, %41, %26
%57 = load i32, ptr %6, align 4
ret i32 %57
}
declare i32 @PICA_msggetsize(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @PICA_processmsg(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph2kob71d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PICA_processdatastream(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %5
br label %16
16: ; preds = %.lr.ph, %41
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %11, align 4
%22 = call i32 @PICA_msggetsize(ptr noundef %17, i32 noundef %19, ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %12, align 4
%23 = load i32, ptr %12, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %16
store i32 0, ptr %6, align 4
br label %58
26: ; preds = %16
%27 = load i32, ptr %12, align 4
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %28, align 4
%30 = icmp ugt i32 %27, %29
br i1 %30, label %31, label %32
31: ; preds = %26
br label %57
32: ; preds = %26
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %12, align 4
%35 = load ptr, ptr %9, align 8
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %11, align 4
%38 = call i32 @PICA_processmsg(ptr noundef %33, i32 noundef %34, ptr noundef %35, ptr noundef %36, i32 noundef %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %32
store i32 0, ptr %6, align 4
br label %58
41: ; preds = %32
%42 = load i32, ptr %12, align 4
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %43, align 4
%45 = sub i32 %44, %42
store i32 %45, ptr %43, align 4
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %12, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %51, align 4
%53 = call i32 @memmove(ptr noundef %46, ptr noundef %50, i32 noundef %52)
%54 = load ptr, ptr %8, align 8
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %41
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %5
br label %57
57: ; preds = %.loopexit, %31
store i32 1, ptr %6, align 4
br label %58
58: ; preds = %57, %40, %25
%59 = load i32, ptr %6, align 4
ret i32 %59
}
declare i32 @PICA_msggetsize(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @PICA_processmsg(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphg18dcz1.c'
source_filename = "/tmp/tmphg18dcz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedGradY3DTranZeroWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9, double noundef %10, double noundef %11, ptr noundef %12, double noundef %13, double noundef %14, double noundef %15, ptr noundef %16, i64 noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca ptr, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca ptr, align 8
%36 = alloca i64, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
%42 = alloca i64, align 8
%43 = alloca i64, align 8
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store i64 %2, ptr %21, align 8
store i64 %3, ptr %22, align 8
store i64 %4, ptr %23, align 8
store double %5, ptr %24, align 8
store double %6, ptr %25, align 8
store double %7, ptr %26, align 8
store ptr %8, ptr %27, align 8
store double %9, ptr %28, align 8
store double %10, ptr %29, align 8
store double %11, ptr %30, align 8
store ptr %12, ptr %31, align 8
store double %13, ptr %32, align 8
store double %14, ptr %33, align 8
store double %15, ptr %34, align 8
store ptr %16, ptr %35, align 8
store i64 %17, ptr %36, align 8
store i64 0, ptr %40, align 8
br label %44
44: ; preds = %57, %18
%45 = load i64, ptr %40, align 8
%46 = sitofp i64 %45 to double
%47 = load double, ptr %24, align 8
%48 = load double, ptr %28, align 8
%49 = fmul double %47, %48
%50 = load double, ptr %32, align 8
%51 = fmul double %49, %50
%52 = fcmp olt double %46, %51
br i1 %52, label %53, label %60
53: ; preds = %44
%54 = load ptr, ptr %19, align 8
%55 = load i64, ptr %40, align 8
%56 = getelementptr inbounds float, ptr %54, i64 %55
store float 0.000000e+00, ptr %56, align 4
br label %57
57: ; preds = %53
%58 = load i64, ptr %40, align 8
%59 = add nsw i64 %58, 1
store i64 %59, ptr %40, align 8
br label %44, !llvm.loop !6
60: ; preds = %44
store i64 0, ptr %40, align 8
store i64 0, ptr %43, align 8
br label %61
61: ; preds = %134, %60
%62 = load i64, ptr %43, align 8
%63 = load i64, ptr %23, align 8
%64 = icmp slt i64 %62, %63
br i1 %64, label %65, label %137
65: ; preds = %61
store i64 0, ptr %42, align 8
br label %66
66: ; preds = %130, %65
%67 = load i64, ptr %42, align 8
%68 = load i64, ptr %22, align 8
%69 = icmp slt i64 %67, %68
br i1 %69, label %70, label %133
70: ; preds = %66
store i64 0, ptr %41, align 8
br label %71
71: ; preds = %126, %70
%72 = load i64, ptr %41, align 8
%73 = load i64, ptr %21, align 8
%74 = icmp slt i64 %72, %73
br i1 %74, label %75, label %129
75: ; preds = %71
%76 = load i64, ptr %41, align 8
%77 = sitofp i64 %76 to float
%78 = load ptr, ptr %27, align 8
%79 = load i64, ptr %40, align 8
%80 = getelementptr inbounds float, ptr %78, i64 %79
%81 = load float, ptr %80, align 4
%82 = fadd float %77, %81
%83 = fpext float %82 to double
%84 = load double, ptr %25, align 8
%85 = fsub double %83, %84
%86 = load double, ptr %26, align 8
%87 = fdiv double %85, %86
store double %87, ptr %37, align 8
%88 = load i64, ptr %42, align 8
%89 = sitofp i64 %88 to float
%90 = load ptr, ptr %31, align 8
%91 = load i64, ptr %40, align 8
%92 = getelementptr inbounds float, ptr %90, i64 %91
%93 = load float, ptr %92, align 4
%94 = fadd float %89, %93
%95 = fpext float %94 to double
%96 = load double, ptr %29, align 8
%97 = fsub double %95, %96
%98 = load double, ptr %30, align 8
%99 = fdiv double %97, %98
store double %99, ptr %38, align 8
%100 = load i64, ptr %43, align 8
%101 = sitofp i64 %100 to float
%102 = load ptr, ptr %35, align 8
%103 = load i64, ptr %40, align 8
%104 = getelementptr inbounds float, ptr %102, i64 %103
%105 = load float, ptr %104, align 4
%106 = fadd float %101, %105
%107 = fpext float %106 to double
%108 = load double, ptr %33, align 8
%109 = fsub double %107, %108
%110 = load double, ptr %34, align 8
%111 = fdiv double %109, %110
store double %111, ptr %39, align 8
%112 = load ptr, ptr %19, align 8
%113 = load double, ptr %24, align 8
%114 = load double, ptr %28, align 8
%115 = load double, ptr %32, align 8
%116 = load ptr, ptr %20, align 8
%117 = load i64, ptr %40, align 8
%118 = add nsw i64 %117, 1
store i64 %118, ptr %40, align 8
%119 = getelementptr inbounds float, ptr %116, i64 %117
%120 = load float, ptr %119, align 4
%121 = load double, ptr %37, align 8
%122 = load double, ptr %38, align 8
%123 = load double, ptr %39, align 8
%124 = load i64, ptr %36, align 8
%125 = call i32 @InterpolatedGradY3DTranZero(ptr noundef %112, double noundef %113, double noundef %114, double noundef %115, float noundef %120, double noundef %121, double noundef %122, double noundef %123, i64 noundef %124)
br label %126
126: ; preds = %75
%127 = load i64, ptr %41, align 8
%128 = add nsw i64 %127, 1
store i64 %128, ptr %41, align 8
br label %71, !llvm.loop !8
129: ; preds = %71
br label %130
130: ; preds = %129
%131 = load i64, ptr %42, align 8
%132 = add nsw i64 %131, 1
store i64 %132, ptr %42, align 8
br label %66, !llvm.loop !9
133: ; preds = %66
br label %134
134: ; preds = %133
%135 = load i64, ptr %43, align 8
%136 = add nsw i64 %135, 1
store i64 %136, ptr %43, align 8
br label %61, !llvm.loop !10
137: ; preds = %61
store i64 0, ptr %40, align 8
br label %138
138: ; preds = %159, %137
%139 = load i64, ptr %40, align 8
%140 = sitofp i64 %139 to double
%141 = load double, ptr %24, align 8
%142 = load double, ptr %28, align 8
%143 = fmul double %141, %142
%144 = load double, ptr %32, align 8
%145 = fmul double %143, %144
%146 = fcmp olt double %140, %145
br i1 %146, label %147, label %162
147: ; preds = %138
%148 = load ptr, ptr %19, align 8
%149 = load i64, ptr %40, align 8
%150 = getelementptr inbounds float, ptr %148, i64 %149
%151 = load float, ptr %150, align 4
%152 = fpext float %151 to double
%153 = load double, ptr %30, align 8
%154 = fdiv double %152, %153
%155 = fptrunc double %154 to float
%156 = load ptr, ptr %19, align 8
%157 = load i64, ptr %40, align 8
%158 = getelementptr inbounds float, ptr %156, i64 %157
store float %155, ptr %158, align 4
br label %159
159: ; preds = %147
%160 = load i64, ptr %40, align 8
%161 = add nsw i64 %160, 1
store i64 %161, ptr %40, align 8
br label %138, !llvm.loop !11
162: ; preds = %138
ret void
}
declare i32 @InterpolatedGradY3DTranZero(ptr noundef, double noundef, double noundef, double noundef, float noundef, double noundef, double noundef, double noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphg18dcz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedGradY3DTranZeroWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9, double noundef %10, double noundef %11, ptr noundef %12, double noundef %13, double noundef %14, double noundef %15, ptr noundef %16, i64 noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca ptr, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca ptr, align 8
%36 = alloca i64, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca double, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
%42 = alloca i64, align 8
%43 = alloca i64, align 8
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store i64 %2, ptr %21, align 8
store i64 %3, ptr %22, align 8
store i64 %4, ptr %23, align 8
store double %5, ptr %24, align 8
store double %6, ptr %25, align 8
store double %7, ptr %26, align 8
store ptr %8, ptr %27, align 8
store double %9, ptr %28, align 8
store double %10, ptr %29, align 8
store double %11, ptr %30, align 8
store ptr %12, ptr %31, align 8
store double %13, ptr %32, align 8
store double %14, ptr %33, align 8
store double %15, ptr %34, align 8
store ptr %16, ptr %35, align 8
store i64 %17, ptr %36, align 8
store i64 0, ptr %40, align 8
%44 = load i64, ptr %40, align 8
%45 = sitofp i64 %44 to double
%46 = load double, ptr %24, align 8
%47 = load double, ptr %28, align 8
%48 = fmul double %46, %47
%49 = load double, ptr %32, align 8
%50 = fmul double %48, %49
%51 = fcmp olt double %45, %50
br i1 %51, label %.lr.ph, label %67
.lr.ph: ; preds = %18
br label %52
52: ; preds = %.lr.ph, %56
%53 = load ptr, ptr %19, align 8
%54 = load i64, ptr %40, align 8
%55 = getelementptr inbounds float, ptr %53, i64 %54
store float 0.000000e+00, ptr %55, align 4
br label %56
56: ; preds = %52
%57 = load i64, ptr %40, align 8
%58 = add nsw i64 %57, 1
store i64 %58, ptr %40, align 8
%59 = load i64, ptr %40, align 8
%60 = sitofp i64 %59 to double
%61 = load double, ptr %24, align 8
%62 = load double, ptr %28, align 8
%63 = fmul double %61, %62
%64 = load double, ptr %32, align 8
%65 = fmul double %63, %64
%66 = fcmp olt double %60, %65
br i1 %66, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %67
67: ; preds = %._crit_edge, %18
store i64 0, ptr %40, align 8
store i64 0, ptr %43, align 8
%68 = load i64, ptr %43, align 8
%69 = load i64, ptr %23, align 8
%70 = icmp slt i64 %68, %69
br i1 %70, label %.lr.ph8, label %150
.lr.ph8: ; preds = %67
br label %71
71: ; preds = %.lr.ph8, %144
store i64 0, ptr %42, align 8
%72 = load i64, ptr %42, align 8
%73 = load i64, ptr %22, align 8
%74 = icmp slt i64 %72, %73
br i1 %74, label %.lr.ph5, label %143
.lr.ph5: ; preds = %71
br label %75
75: ; preds = %.lr.ph5, %137
store i64 0, ptr %41, align 8
%76 = load i64, ptr %41, align 8
%77 = load i64, ptr %21, align 8
%78 = icmp slt i64 %76, %77
br i1 %78, label %.lr.ph2, label %136
.lr.ph2: ; preds = %75
br label %79
79: ; preds = %.lr.ph2, %130
%80 = load i64, ptr %41, align 8
%81 = sitofp i64 %80 to float
%82 = load ptr, ptr %27, align 8
%83 = load i64, ptr %40, align 8
%84 = getelementptr inbounds float, ptr %82, i64 %83
%85 = load float, ptr %84, align 4
%86 = fadd float %81, %85
%87 = fpext float %86 to double
%88 = load double, ptr %25, align 8
%89 = fsub double %87, %88
%90 = load double, ptr %26, align 8
%91 = fdiv double %89, %90
store double %91, ptr %37, align 8
%92 = load i64, ptr %42, align 8
%93 = sitofp i64 %92 to float
%94 = load ptr, ptr %31, align 8
%95 = load i64, ptr %40, align 8
%96 = getelementptr inbounds float, ptr %94, i64 %95
%97 = load float, ptr %96, align 4
%98 = fadd float %93, %97
%99 = fpext float %98 to double
%100 = load double, ptr %29, align 8
%101 = fsub double %99, %100
%102 = load double, ptr %30, align 8
%103 = fdiv double %101, %102
store double %103, ptr %38, align 8
%104 = load i64, ptr %43, align 8
%105 = sitofp i64 %104 to float
%106 = load ptr, ptr %35, align 8
%107 = load i64, ptr %40, align 8
%108 = getelementptr inbounds float, ptr %106, i64 %107
%109 = load float, ptr %108, align 4
%110 = fadd float %105, %109
%111 = fpext float %110 to double
%112 = load double, ptr %33, align 8
%113 = fsub double %111, %112
%114 = load double, ptr %34, align 8
%115 = fdiv double %113, %114
store double %115, ptr %39, align 8
%116 = load ptr, ptr %19, align 8
%117 = load double, ptr %24, align 8
%118 = load double, ptr %28, align 8
%119 = load double, ptr %32, align 8
%120 = load ptr, ptr %20, align 8
%121 = load i64, ptr %40, align 8
%122 = add nsw i64 %121, 1
store i64 %122, ptr %40, align 8
%123 = getelementptr inbounds float, ptr %120, i64 %121
%124 = load float, ptr %123, align 4
%125 = load double, ptr %37, align 8
%126 = load double, ptr %38, align 8
%127 = load double, ptr %39, align 8
%128 = load i64, ptr %36, align 8
%129 = call i32 @InterpolatedGradY3DTranZero(ptr noundef %116, double noundef %117, double noundef %118, double noundef %119, float noundef %124, double noundef %125, double noundef %126, double noundef %127, i64 noundef %128)
br label %130
130: ; preds = %79
%131 = load i64, ptr %41, align 8
%132 = add nsw i64 %131, 1
store i64 %132, ptr %41, align 8
%133 = load i64, ptr %41, align 8
%134 = load i64, ptr %21, align 8
%135 = icmp slt i64 %133, %134
br i1 %135, label %79, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %130
br label %136
136: ; preds = %._crit_edge3, %75
br label %137
137: ; preds = %136
%138 = load i64, ptr %42, align 8
%139 = add nsw i64 %138, 1
store i64 %139, ptr %42, align 8
%140 = load i64, ptr %42, align 8
%141 = load i64, ptr %22, align 8
%142 = icmp slt i64 %140, %141
br i1 %142, label %75, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %137
br label %143
143: ; preds = %._crit_edge6, %71
br label %144
144: ; preds = %143
%145 = load i64, ptr %43, align 8
%146 = add nsw i64 %145, 1
store i64 %146, ptr %43, align 8
%147 = load i64, ptr %43, align 8
%148 = load i64, ptr %23, align 8
%149 = icmp slt i64 %147, %148
br i1 %149, label %71, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %144
br label %150
150: ; preds = %._crit_edge9, %67
store i64 0, ptr %40, align 8
%151 = load i64, ptr %40, align 8
%152 = sitofp i64 %151 to double
%153 = load double, ptr %24, align 8
%154 = load double, ptr %28, align 8
%155 = fmul double %153, %154
%156 = load double, ptr %32, align 8
%157 = fmul double %155, %156
%158 = fcmp olt double %152, %157
br i1 %158, label %.lr.ph11, label %182
.lr.ph11: ; preds = %150
br label %159
159: ; preds = %.lr.ph11, %171
%160 = load ptr, ptr %19, align 8
%161 = load i64, ptr %40, align 8
%162 = getelementptr inbounds float, ptr %160, i64 %161
%163 = load float, ptr %162, align 4
%164 = fpext float %163 to double
%165 = load double, ptr %30, align 8
%166 = fdiv double %164, %165
%167 = fptrunc double %166 to float
%168 = load ptr, ptr %19, align 8
%169 = load i64, ptr %40, align 8
%170 = getelementptr inbounds float, ptr %168, i64 %169
store float %167, ptr %170, align 4
br label %171
171: ; preds = %159
%172 = load i64, ptr %40, align 8
%173 = add nsw i64 %172, 1
store i64 %173, ptr %40, align 8
%174 = load i64, ptr %40, align 8
%175 = sitofp i64 %174 to double
%176 = load double, ptr %24, align 8
%177 = load double, ptr %28, align 8
%178 = fmul double %176, %177
%179 = load double, ptr %32, align 8
%180 = fmul double %178, %179
%181 = fcmp olt double %175, %180
br i1 %181, label %159, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %171
br label %182
182: ; preds = %._crit_edge12, %150
ret void
}
declare i32 @InterpolatedGradY3DTranZero(ptr noundef, double noundef, double noundef, double noundef, float noundef, double noundef, double noundef, double noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp_211k__u.c'
source_filename = "/tmp/tmp_211k__u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @std_short_str(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i16, ptr %12, align 2
store i16 %13, ptr %7, align 2
%14 = load i16, ptr %7, align 2
%15 = sext i16 %14 to i32
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %11
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fputc(i8 noundef signext 45, ptr noundef %18)
%20 = load i16, ptr %7, align 2
%21 = sext i16 %20 to i32
%22 = sub nsw i32 0, %21
%23 = trunc i32 %22 to i16
store i16 %23, ptr %7, align 2
br label %24
24: ; preds = %17, %11
%25 = load i16, ptr %7, align 2
%26 = load ptr, ptr %6, align 8
%27 = call i32 @short_put(i16 noundef signext %25, ptr noundef %26)
br label %28
28: ; preds = %24, %3
ret void
}
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @short_put(i16 noundef signext, 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_211k__u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @std_short_str(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i16, ptr %12, align 2
store i16 %13, ptr %7, align 2
%14 = load i16, ptr %7, align 2
%15 = sext i16 %14 to i32
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %11
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fputc(i8 noundef signext 45, ptr noundef %18)
%20 = load i16, ptr %7, align 2
%21 = sext i16 %20 to i32
%22 = sub nsw i32 0, %21
%23 = trunc i32 %22 to i16
store i16 %23, ptr %7, align 2
br label %24
24: ; preds = %17, %11
%25 = load i16, ptr %7, align 2
%26 = load ptr, ptr %6, align 8
%27 = call i32 @short_put(i16 noundef signext %25, ptr noundef %26)
br label %28
28: ; preds = %24, %3
ret void
}
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @short_put(i16 noundef signext, 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/tmp0y2ujlv_.c'
source_filename = "/tmp/tmp0y2ujlv_.c"
target datalayout = "e-m:e-p270: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/tmp0y2ujlv_.c"
target datalayout = "e-m:e-p270: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/tmpwp4msf15.c'
source_filename = "/tmp/tmpwp4msf15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [13 x i8] c"syscalls.txt\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"hopefully_no_such_filename_exists.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute_stat() #0 {
%1 = alloca %struct.stat, align 4
%2 = call i32 @open_rdonly(ptr noundef @.str)
%3 = call i32 @close(i32 noundef %2)
%4 = call i32 @stat(ptr noundef @.str, ptr noundef %1)
%5 = call i32 @stat(ptr noundef @.str.1, ptr noundef %1)
ret i32 0
}
declare i32 @close(i32 noundef) #1
declare i32 @open_rdonly(ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwp4msf15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [13 x i8] c"syscalls.txt\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"hopefully_no_such_filename_exists.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute_stat() #0 {
%1 = alloca %struct.stat, align 4
%2 = call i32 @open_rdonly(ptr noundef @.str)
%3 = call i32 @close(i32 noundef %2)
%4 = call i32 @stat(ptr noundef @.str, ptr noundef %1)
%5 = call i32 @stat(ptr noundef @.str.1, ptr noundef %1)
ret i32 0
}
declare i32 @close(i32 noundef) #1
declare i32 @open_rdonly(ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpldnz5nrf.c'
source_filename = "/tmp/tmpldnz5nrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gg_urand() #0 {
%1 = call i32 (...) @next_rand()
ret i32 %1
}
declare i32 @next_rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpldnz5nrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gg_urand() #0 {
%1 = call i32 (...) @next_rand()
ret i32 %1
}
declare i32 @next_rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc5onya55.c'
source_filename = "/tmp/tmpc5onya55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BIO_indent(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %3
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %10, %3
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load i32, ptr %7, align 4
store i32 %16, ptr %6, align 4
br label %17
17: ; preds = %15, %11
br label %18
18: ; preds = %27, %17
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %6, align 4
%21 = icmp ne i32 %19, 0
br i1 %21, label %22, label %28
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = call i32 @BIO_puts(ptr noundef %23, ptr noundef @.str)
%25 = icmp ne i32 %24, 1
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 0, ptr %4, align 4
br label %29
27: ; preds = %22
br label %18, !llvm.loop !6
28: ; preds = %18
store i32 1, ptr %4, align 4
br label %29
29: ; preds = %28, %26
%30 = load i32, ptr %4, align 4
ret i32 %30
}
declare i32 @BIO_puts(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/tmpc5onya55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BIO_indent(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %3
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %10, %3
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load i32, ptr %7, align 4
store i32 %16, ptr %6, align 4
br label %17
17: ; preds = %15, %11
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %6, align 4
%20 = icmp ne i32 %18, 0
br i1 %20, label %.lr.ph, label %30
.lr.ph: ; preds = %17
br label %25
21: ; preds = %25
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %6, align 4
%24 = icmp ne i32 %22, 0
br i1 %24, label %25, label %._crit_edge, !llvm.loop !6
25: ; preds = %.lr.ph, %21
%26 = load ptr, ptr %5, align 8
%27 = call i32 @BIO_puts(ptr noundef %26, ptr noundef @.str)
%28 = icmp ne i32 %27, 1
br i1 %28, label %29, label %21
29: ; preds = %25
store i32 0, ptr %4, align 4
br label %31
._crit_edge: ; preds = %21
br label %30
30: ; preds = %._crit_edge, %17
store i32 1, ptr %4, align 4
br label %31
31: ; preds = %30, %29
%32 = load i32, ptr %4, align 4
ret i32 %32
}
declare i32 @BIO_puts(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/tmpga6gkmjd.c'
source_filename = "/tmp/tmpga6gkmjd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"\0AAn implementation of the CODENSE algortihm:\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Hu H, Yan X, Huang Y, Han J, Zhou XJ: \22Mining coherent dense subgraphs\0A\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"across massive biological networks for functional discovery.\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [67 x i8] c"Bioinformatics (ISMB 2005), Vol. 21 Suppl. 1 2005, pages 213-221\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"usage: codense [options] <input text file>\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c" -h -help\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c" -V (version)\0A\00", align 1
@.str.7 = private unnamed_addr constant [76 x i8] c"This code takes an <input text file> argument, containing a list of files,\0A\00", align 1
@.str.8 = private unnamed_addr constant [73 x i8] c"one file name (with path) per line, each one a data set consisting of a\0A\00", align 1
@.str.9 = private unnamed_addr constant [53 x i8] c"header line followed by mRNA expression data, i.e:\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [82 x i8] c"probeID Array1Dye1 Array2Dye1 Array3Dye1 Array4Dye1 ...etc\0A\00", align 1
@.str.11 = private unnamed_addr constant [82 x i8] c"1415670_at 9.172966 9.236673 8.789873 8.698874 ...etc\0A\00", align 1
@.str.12 = private unnamed_addr constant [82 x i8] c"1415671_at 10.665967 10.677811 10.463303 10.464032 ...etc\0A\00", align 1
@.str.13 = private unnamed_addr constant [70 x i8] c" . . . . .\0A\00", align 1
@.str.14 = private unnamed_addr constant [72 x i8] c" etc etc etc etc etc\0A\0A\00", align 1
@.str.15 = private unnamed_addr constant [23 x i8] c"See the README file.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpga6gkmjd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"\0AAn implementation of the CODENSE algortihm:\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Hu H, Yan X, Huang Y, Han J, Zhou XJ: \22Mining coherent dense subgraphs\0A\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"across massive biological networks for functional discovery.\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [67 x i8] c"Bioinformatics (ISMB 2005), Vol. 21 Suppl. 1 2005, pages 213-221\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"usage: codense [options] <input text file>\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c" -h -help\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c" -V (version)\0A\00", align 1
@.str.7 = private unnamed_addr constant [76 x i8] c"This code takes an <input text file> argument, containing a list of files,\0A\00", align 1
@.str.8 = private unnamed_addr constant [73 x i8] c"one file name (with path) per line, each one a data set consisting of a\0A\00", align 1
@.str.9 = private unnamed_addr constant [53 x i8] c"header line followed by mRNA expression data, i.e:\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [82 x i8] c"probeID Array1Dye1 Array2Dye1 Array3Dye1 Array4Dye1 ...etc\0A\00", align 1
@.str.11 = private unnamed_addr constant [82 x i8] c"1415670_at 9.172966 9.236673 8.789873 8.698874 ...etc\0A\00", align 1
@.str.12 = private unnamed_addr constant [82 x i8] c"1415671_at 10.665967 10.677811 10.463303 10.464032 ...etc\0A\00", align 1
@.str.13 = private unnamed_addr constant [70 x i8] c" . . . . .\0A\00", align 1
@.str.14 = private unnamed_addr constant [72 x i8] c" etc etc etc etc etc\0A\0A\00", align 1
@.str.15 = private unnamed_addr constant [23 x i8] c"See the README file.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4xwivjqd.c'
source_filename = "/tmp/tmp4xwivjqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basPlot() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (...) @popNumber()
store i32 %4, ptr %3, align 4
%5 = call i32 (...) @popNumber()
store i32 %5, ptr %2, align 4
%6 = call i32 (...) @popNumber()
store i32 %6, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @dot_ex(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = call i32 @pushNumber(i32 noundef %10)
ret void
}
declare i32 @popNumber(...) #1
declare i32 @pushNumber(i32 noundef) #1
declare i32 @dot_ex(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/tmp4xwivjqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basPlot() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (...) @popNumber()
store i32 %4, ptr %3, align 4
%5 = call i32 (...) @popNumber()
store i32 %5, ptr %2, align 4
%6 = call i32 (...) @popNumber()
store i32 %6, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @dot_ex(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = call i32 @pushNumber(i32 noundef %10)
ret void
}
declare i32 @popNumber(...) #1
declare i32 @pushNumber(i32 noundef) #1
declare i32 @dot_ex(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/tmpthj07u29.c'
source_filename = "/tmp/tmpthj07u29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cv_timedwait() #0 {
%1 = call i32 @nsc_assert(i32 noundef 0)
ret void
}
declare i32 @nsc_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpthj07u29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cv_timedwait() #0 {
%1 = call i32 @nsc_assert(i32 noundef 0)
ret void
}
declare i32 @nsc_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppik0tod3.c'
source_filename = "/tmp/tmppik0tod3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [214 x i8] c"<RcsID>%d</RcsID><AVTransportID>%d</AVTransportID><ProtocolInfo>%s</ProtocolInfo><PeerConnectionManager>%s</PeerConnectionManager><PeerConnectionID>%d</PeerConnectionID><Direction>%s</Direction><Status>%s</Status>\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"urn:schemas-upnp-org:service:ConnectionManager:1\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"GetCurrentConnectionInfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpResponse_ConnectionManager_GetCurrentConnectionInfo(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%22 = load ptr, ptr %12, align 8
%23 = call i64 @ILibXmlEscapeLength(ptr noundef %22)
%24 = add nsw i64 1, %23
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %18, align 8
%27 = load ptr, ptr %13, align 8
%28 = call i64 @ILibXmlEscapeLength(ptr noundef %27)
%29 = add nsw i64 1, %28
%30 = call i64 @malloc(i64 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %19, align 8
%32 = load ptr, ptr %15, align 8
%33 = call i64 @ILibXmlEscapeLength(ptr noundef %32)
%34 = add nsw i64 1, %33
%35 = call i64 @malloc(i64 noundef %34)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %20, align 8
%37 = load ptr, ptr %16, align 8
%38 = call i64 @ILibXmlEscapeLength(ptr noundef %37)
%39 = add nsw i64 1, %38
%40 = call i64 @malloc(i64 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %21, align 8
%42 = load ptr, ptr %18, align 8
%43 = load ptr, ptr %12, align 8
%44 = call i32 @ILibXmlEscape(ptr noundef %42, ptr noundef %43)
%45 = load ptr, ptr %19, align 8
%46 = load ptr, ptr %13, align 8
%47 = call i32 @ILibXmlEscape(ptr noundef %45, ptr noundef %46)
%48 = load ptr, ptr %20, align 8
%49 = load ptr, ptr %15, align 8
%50 = call i32 @ILibXmlEscape(ptr noundef %48, ptr noundef %49)
%51 = load ptr, ptr %21, align 8
%52 = load ptr, ptr %16, align 8
%53 = call i32 @ILibXmlEscape(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %18, align 8
%55 = call i64 @strlen(ptr noundef %54)
%56 = add nsw i64 233, %55
%57 = load ptr, ptr %19, align 8
%58 = call i64 @strlen(ptr noundef %57)
%59 = add nsw i64 %56, %58
%60 = load ptr, ptr %20, align 8
%61 = call i64 @strlen(ptr noundef %60)
%62 = add nsw i64 %59, %61
%63 = load ptr, ptr %21, align 8
%64 = call i64 @strlen(ptr noundef %63)
%65 = add nsw i64 %62, %64
%66 = call i64 @malloc(i64 noundef %65)
%67 = inttoptr i64 %66 to ptr
store ptr %67, ptr %17, align 8
%68 = load ptr, ptr %17, align 8
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %11, align 4
%71 = load ptr, ptr %18, align 8
%72 = load ptr, ptr %19, align 8
%73 = load i32, ptr %14, align 4
%74 = load ptr, ptr %20, align 8
%75 = load ptr, ptr %21, align 8
%76 = call i32 @sprintf(ptr noundef %68, ptr noundef @.str, i32 noundef %69, i32 noundef %70, ptr noundef %71, ptr noundef %72, i32 noundef %73, ptr noundef %74, ptr noundef %75)
%77 = load ptr, ptr %9, align 8
%78 = load ptr, ptr %17, align 8
%79 = call i32 @UpnpResponseGeneric(ptr noundef %77, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %78)
%80 = load ptr, ptr %17, align 8
%81 = call i32 @free(ptr noundef %80)
%82 = load ptr, ptr %18, align 8
%83 = call i32 @free(ptr noundef %82)
%84 = load ptr, ptr %19, align 8
%85 = call i32 @free(ptr noundef %84)
%86 = load ptr, ptr %20, align 8
%87 = call i32 @free(ptr noundef %86)
%88 = load ptr, ptr %21, align 8
%89 = call i32 @free(ptr noundef %88)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ILibXmlEscapeLength(ptr noundef) #1
declare i32 @ILibXmlEscape(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @UpnpResponseGeneric(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppik0tod3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [214 x i8] c"<RcsID>%d</RcsID><AVTransportID>%d</AVTransportID><ProtocolInfo>%s</ProtocolInfo><PeerConnectionManager>%s</PeerConnectionManager><PeerConnectionID>%d</PeerConnectionID><Direction>%s</Direction><Status>%s</Status>\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"urn:schemas-upnp-org:service:ConnectionManager:1\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"GetCurrentConnectionInfo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpResponse_ConnectionManager_GetCurrentConnectionInfo(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%22 = load ptr, ptr %12, align 8
%23 = call i64 @ILibXmlEscapeLength(ptr noundef %22)
%24 = add nsw i64 1, %23
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %18, align 8
%27 = load ptr, ptr %13, align 8
%28 = call i64 @ILibXmlEscapeLength(ptr noundef %27)
%29 = add nsw i64 1, %28
%30 = call i64 @malloc(i64 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %19, align 8
%32 = load ptr, ptr %15, align 8
%33 = call i64 @ILibXmlEscapeLength(ptr noundef %32)
%34 = add nsw i64 1, %33
%35 = call i64 @malloc(i64 noundef %34)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %20, align 8
%37 = load ptr, ptr %16, align 8
%38 = call i64 @ILibXmlEscapeLength(ptr noundef %37)
%39 = add nsw i64 1, %38
%40 = call i64 @malloc(i64 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %21, align 8
%42 = load ptr, ptr %18, align 8
%43 = load ptr, ptr %12, align 8
%44 = call i32 @ILibXmlEscape(ptr noundef %42, ptr noundef %43)
%45 = load ptr, ptr %19, align 8
%46 = load ptr, ptr %13, align 8
%47 = call i32 @ILibXmlEscape(ptr noundef %45, ptr noundef %46)
%48 = load ptr, ptr %20, align 8
%49 = load ptr, ptr %15, align 8
%50 = call i32 @ILibXmlEscape(ptr noundef %48, ptr noundef %49)
%51 = load ptr, ptr %21, align 8
%52 = load ptr, ptr %16, align 8
%53 = call i32 @ILibXmlEscape(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %18, align 8
%55 = call i64 @strlen(ptr noundef %54)
%56 = add nsw i64 233, %55
%57 = load ptr, ptr %19, align 8
%58 = call i64 @strlen(ptr noundef %57)
%59 = add nsw i64 %56, %58
%60 = load ptr, ptr %20, align 8
%61 = call i64 @strlen(ptr noundef %60)
%62 = add nsw i64 %59, %61
%63 = load ptr, ptr %21, align 8
%64 = call i64 @strlen(ptr noundef %63)
%65 = add nsw i64 %62, %64
%66 = call i64 @malloc(i64 noundef %65)
%67 = inttoptr i64 %66 to ptr
store ptr %67, ptr %17, align 8
%68 = load ptr, ptr %17, align 8
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %11, align 4
%71 = load ptr, ptr %18, align 8
%72 = load ptr, ptr %19, align 8
%73 = load i32, ptr %14, align 4
%74 = load ptr, ptr %20, align 8
%75 = load ptr, ptr %21, align 8
%76 = call i32 @sprintf(ptr noundef %68, ptr noundef @.str, i32 noundef %69, i32 noundef %70, ptr noundef %71, ptr noundef %72, i32 noundef %73, ptr noundef %74, ptr noundef %75)
%77 = load ptr, ptr %9, align 8
%78 = load ptr, ptr %17, align 8
%79 = call i32 @UpnpResponseGeneric(ptr noundef %77, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %78)
%80 = load ptr, ptr %17, align 8
%81 = call i32 @free(ptr noundef %80)
%82 = load ptr, ptr %18, align 8
%83 = call i32 @free(ptr noundef %82)
%84 = load ptr, ptr %19, align 8
%85 = call i32 @free(ptr noundef %84)
%86 = load ptr, ptr %20, align 8
%87 = call i32 @free(ptr noundef %86)
%88 = load ptr, ptr %21, align 8
%89 = call i32 @free(ptr noundef %88)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i64 @ILibXmlEscapeLength(ptr noundef) #1
declare i32 @ILibXmlEscape(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @UpnpResponseGeneric(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp14_s2a_v.c'
source_filename = "/tmp/tmp14_s2a_v.c"
target datalayout = "e-m:e-p270: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/tmp14_s2a_v.c"
target datalayout = "e-m:e-p270: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/tmpvmtp77o8.c'
source_filename = "/tmp/tmpvmtp77o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Executing clear (builtin).\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear() #0 {
%1 = call i32 @debug_msg(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @debug_msg(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvmtp77o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Executing clear (builtin).\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear() #0 {
%1 = call i32 @debug_msg(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @debug_msg(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdfywvd_0.c'
source_filename = "/tmp/tmpdfywvd_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store ptr null, ptr %7, align 8
br label %11
11: ; preds = %27, %2
%12 = load ptr, ptr %3, align 8
%13 = call i32 @feof(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i32 @getline(ptr noundef %5, ptr noundef %8, ptr noundef %16)
%18 = icmp ne i32 %17, -1
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ false, %11 ], [ %18, %15 ]
br i1 %20, label %21, label %44
21: ; preds = %19
%22 = load ptr, ptr %7, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load ptr, ptr %7, align 8
%26 = call i32 @free(ptr noundef %25)
store ptr null, ptr %7, align 8
br label %27
27: ; preds = %24, %21
%28 = load ptr, ptr %5, align 8
%29 = call ptr @strdup(ptr noundef %28)
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %5, align 8
%31 = call ptr @strchr(ptr noundef %30, i8 noundef signext 9)
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %10, align 8
%33 = load ptr, ptr %5, align 8
%34 = ptrtoint ptr %32 to i64
%35 = ptrtoint ptr %33 to i64
%36 = sub i64 %34, %35
%37 = trunc i64 %36 to i32
store i32 %37, ptr %9, align 4
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %9, align 4
%40 = call i32 @split_field(ptr noundef %38, i32 noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = load ptr, ptr %4, align 8
%43 = call i32 @fputs(ptr noundef %41, ptr noundef %42)
br label %11, !llvm.loop !6
44: ; preds = %19
ret void
}
declare i32 @feof(ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @split_field(ptr noundef, i32 noundef) #1
declare i32 @fputs(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/tmpdfywvd_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store ptr null, ptr %7, align 8
br label %11
11: ; preds = %27, %2
%12 = load ptr, ptr %3, align 8
%13 = call i32 @feof(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i32 @getline(ptr noundef %5, ptr noundef %8, ptr noundef %16)
%18 = icmp ne i32 %17, -1
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ false, %11 ], [ %18, %15 ]
br i1 %20, label %21, label %44
21: ; preds = %19
%22 = load ptr, ptr %7, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load ptr, ptr %7, align 8
%26 = call i32 @free(ptr noundef %25)
store ptr null, ptr %7, align 8
br label %27
27: ; preds = %24, %21
%28 = load ptr, ptr %5, align 8
%29 = call ptr @strdup(ptr noundef %28)
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %5, align 8
%31 = call ptr @strchr(ptr noundef %30, i8 noundef signext 9)
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %10, align 8
%33 = load ptr, ptr %5, align 8
%34 = ptrtoint ptr %32 to i64
%35 = ptrtoint ptr %33 to i64
%36 = sub i64 %34, %35
%37 = trunc i64 %36 to i32
store i32 %37, ptr %9, align 4
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %9, align 4
%40 = call i32 @split_field(ptr noundef %38, i32 noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = load ptr, ptr %4, align 8
%43 = call i32 @fputs(ptr noundef %41, ptr noundef %42)
br label %11, !llvm.loop !6
44: ; preds = %19
ret void
}
declare i32 @feof(ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @split_field(ptr noundef, i32 noundef) #1
declare i32 @fputs(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/tmp1em8b32u.c'
source_filename = "/tmp/tmp1em8b32u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eFreeNoNullCheck(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1em8b32u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eFreeNoNullCheck(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8059cpuy.c'
source_filename = "/tmp/tmp8059cpuy.c"
target datalayout = "e-m:e-p270: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.fb_var_screeninfo = type { i32, i32, i32, i32 }
%struct.fb_fix_screeninfo = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"Error: cannot open framebuffer device.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [49 x i8] c"The framebuffer device was opened successfully.\0A\00", align 1
@FBIOGET_VSCREENINFO = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [37 x i8] c"Error reading variable information.\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Original %dx%d, %dbpp\0A\00", align 1
@FBIOPUT_VSCREENINFO = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [37 x i8] c"Error setting variable information.\0A\00", align 1
@FBIOGET_FSCREENINFO = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [34 x i8] c"Error reading fixed information.\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.7 = private unnamed_addr constant [17 x i8] c"Failed to mmap.\0A\00", align 1
@.str.8 = private unnamed_addr constant [40 x i8] c"Error re-setting variable information.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.fb_var_screeninfo, align 4
%4 = alloca %struct.fb_var_screeninfo, align 4
%5 = alloca %struct.fb_fix_screeninfo, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i64 0, ptr %6, align 8
store ptr null, ptr %7, align 8
%11 = load i32, ptr @O_RDWR, align 4
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr @FBIOGET_VSCREENINFO, align 4
%23 = call i64 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef %4)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %19
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %27
27: ; preds = %25, %19
%28 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 2
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29, i32 noundef %31, i32 noundef %33)
%35 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 16)
%36 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 2
store i32 16, ptr %36, align 4
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr @FBIOPUT_VSCREENINFO, align 4
%39 = call i64 @ioctl(i32 noundef %37, i32 noundef %38, ptr noundef %4)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %27
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %43
43: ; preds = %41, %27
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr @FBIOGET_FSCREENINFO, align 4
%46 = call i64 @ioctl(i32 noundef %44, i32 noundef %45, ptr noundef %5)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %50
50: ; preds = %48, %43
%51 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 1
%54 = load i32, ptr %53, align 4
%55 = mul nsw i32 %52, %54
%56 = sext i32 %55 to i64
store i64 %56, ptr %6, align 8
%57 = load i64, ptr %6, align 8
%58 = load i32, ptr @PROT_READ, align 4
%59 = load i32, ptr @PROT_WRITE, align 4
%60 = or i32 %58, %59
%61 = load i32, ptr @MAP_SHARED, align 4
%62 = load i32, ptr %2, align 4
%63 = call i64 @mmap(i32 noundef 0, i64 noundef %57, i32 noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef 0)
%64 = inttoptr i64 %63 to ptr
store ptr %64, ptr %7, align 8
%65 = load ptr, ptr %7, align 8
%66 = load ptr, ptr @MAP_FAILED, align 8
%67 = icmp eq ptr %65, %66
br i1 %67, label %68, label %72
68: ; preds = %50
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%70 = load i32, ptr @EXIT_FAILURE, align 4
%71 = call i32 @exit(i32 noundef %70) #3
unreachable
72: ; preds = %50
store i32 0, ptr %9, align 4
br label %73
73: ; preds = %106, %72
%74 = load i32, ptr %9, align 4
%75 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 1
%76 = load i32, ptr %75, align 4
%77 = sdiv i32 %76, 2
%78 = icmp ult i32 %74, %77
br i1 %78, label %79, label %109
79: ; preds = %73
store i32 0, ptr %8, align 4
br label %80
80: ; preds = %102, %79
%81 = load i32, ptr %8, align 4
%82 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%83 = load i32, ptr %82, align 4
%84 = icmp ult i32 %81, %83
br i1 %84, label %85, label %105
85: ; preds = %80
%86 = load i32, ptr %8, align 4
%87 = load i32, ptr %9, align 4
%88 = getelementptr inbounds %struct.fb_fix_screeninfo, ptr %5, i32 0, i32 3
%89 = load i32, ptr %88, align 4
%90 = mul i32 %87, %89
%91 = add i32 %86, %90
store i32 %91, ptr %10, align 4
%92 = load i32, ptr %8, align 4
%93 = mul i32 16, %92
%94 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%95 = load i32, ptr %94, align 4
%96 = udiv i32 %93, %95
%97 = trunc i32 %96 to i8
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %10, align 4
%100 = zext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
store i8 %97, ptr %101, align 1
br label %102
102: ; preds = %85
%103 = load i32, ptr %8, align 4
%104 = add i32 %103, 1
store i32 %104, ptr %8, align 4
br label %80, !llvm.loop !6
105: ; preds = %80
br label %106
106: ; preds = %105
%107 = load i32, ptr %9, align 4
%108 = add i32 %107, 1
store i32 %108, ptr %9, align 4
br label %73, !llvm.loop !8
109: ; preds = %73
%110 = call i32 @sleep(i32 noundef 5)
br label %111
111: ; preds = %109
%112 = load ptr, ptr %7, align 8
%113 = load i64, ptr %6, align 8
%114 = call i32 @munmap(ptr noundef %112, i64 noundef %113)
%115 = load i32, ptr %2, align 4
%116 = load i32, ptr @FBIOPUT_VSCREENINFO, align 4
%117 = call i64 @ioctl(i32 noundef %115, i32 noundef %116, ptr noundef %3)
%118 = icmp ne i64 %117, 0
br i1 %118, label %119, label %123
119: ; preds = %111
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%121 = load i32, ptr @EXIT_FAILURE, align 4
%122 = call i32 @exit(i32 noundef %121) #3
unreachable
123: ; preds = %111
%124 = load i32, ptr %2, align 4
%125 = call i32 @close(i32 noundef %124)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @munmap(ptr noundef, i64 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8059cpuy.c"
target datalayout = "e-m:e-p270: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.fb_var_screeninfo = type { i32, i32, i32, i32 }
%struct.fb_fix_screeninfo = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"Error: cannot open framebuffer device.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [49 x i8] c"The framebuffer device was opened successfully.\0A\00", align 1
@FBIOGET_VSCREENINFO = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [37 x i8] c"Error reading variable information.\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Original %dx%d, %dbpp\0A\00", align 1
@FBIOPUT_VSCREENINFO = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [37 x i8] c"Error setting variable information.\0A\00", align 1
@FBIOGET_FSCREENINFO = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [34 x i8] c"Error reading fixed information.\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.7 = private unnamed_addr constant [17 x i8] c"Failed to mmap.\0A\00", align 1
@.str.8 = private unnamed_addr constant [40 x i8] c"Error re-setting variable information.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.fb_var_screeninfo, align 4
%4 = alloca %struct.fb_var_screeninfo, align 4
%5 = alloca %struct.fb_fix_screeninfo, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i64 0, ptr %6, align 8
store ptr null, ptr %7, align 8
%11 = load i32, ptr @O_RDWR, align 4
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr @FBIOGET_VSCREENINFO, align 4
%23 = call i64 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef %4)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %19
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %27
27: ; preds = %25, %19
%28 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 2
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29, i32 noundef %31, i32 noundef %33)
%35 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 16)
%36 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 2
store i32 16, ptr %36, align 4
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr @FBIOPUT_VSCREENINFO, align 4
%39 = call i64 @ioctl(i32 noundef %37, i32 noundef %38, ptr noundef %4)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %27
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %43
43: ; preds = %41, %27
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr @FBIOGET_FSCREENINFO, align 4
%46 = call i64 @ioctl(i32 noundef %44, i32 noundef %45, ptr noundef %5)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %50
50: ; preds = %48, %43
%51 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 1
%54 = load i32, ptr %53, align 4
%55 = mul nsw i32 %52, %54
%56 = sext i32 %55 to i64
store i64 %56, ptr %6, align 8
%57 = load i64, ptr %6, align 8
%58 = load i32, ptr @PROT_READ, align 4
%59 = load i32, ptr @PROT_WRITE, align 4
%60 = or i32 %58, %59
%61 = load i32, ptr @MAP_SHARED, align 4
%62 = load i32, ptr %2, align 4
%63 = call i64 @mmap(i32 noundef 0, i64 noundef %57, i32 noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef 0)
%64 = inttoptr i64 %63 to ptr
store ptr %64, ptr %7, align 8
%65 = load ptr, ptr %7, align 8
%66 = load ptr, ptr @MAP_FAILED, align 8
%67 = icmp eq ptr %65, %66
br i1 %67, label %68, label %72
68: ; preds = %50
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%70 = load i32, ptr @EXIT_FAILURE, align 4
%71 = call i32 @exit(i32 noundef %70) #3
unreachable
72: ; preds = %50
store i32 0, ptr %9, align 4
%73 = load i32, ptr %9, align 4
%74 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 1
%75 = load i32, ptr %74, align 4
%76 = sdiv i32 %75, 2
%77 = icmp ult i32 %73, %76
br i1 %77, label %.lr.ph2, label %114
.lr.ph2: ; preds = %72
br label %78
78: ; preds = %.lr.ph2, %107
store i32 0, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%81 = load i32, ptr %80, align 4
%82 = icmp ult i32 %79, %81
br i1 %82, label %.lr.ph, label %106
.lr.ph: ; preds = %78
br label %83
83: ; preds = %.lr.ph, %100
%84 = load i32, ptr %8, align 4
%85 = load i32, ptr %9, align 4
%86 = getelementptr inbounds %struct.fb_fix_screeninfo, ptr %5, i32 0, i32 3
%87 = load i32, ptr %86, align 4
%88 = mul i32 %85, %87
%89 = add i32 %84, %88
store i32 %89, ptr %10, align 4
%90 = load i32, ptr %8, align 4
%91 = mul i32 16, %90
%92 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %4, i32 0, i32 0
%93 = load i32, ptr %92, align 4
%94 = udiv i32 %91, %93
%95 = trunc i32 %94 to i8
%96 = load ptr, ptr %7, align 8
%97 = load i32, ptr %10, align 4
%98 = zext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
store i8 %95, ptr %99, align 1
br label %100
100: ; preds = %83
%101 = load i32, ptr %8, align 4
%102 = add i32 %101, 1
store i32 %102, ptr %8, align 4
%103 = load i32, ptr %8, align 4
%104 = load i32, ptr %80, align 4
%105 = icmp ult i32 %103, %104
br i1 %105, label %83, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %100
br label %106
106: ; preds = %._crit_edge, %78
br label %107
107: ; preds = %106
%108 = load i32, ptr %9, align 4
%109 = add i32 %108, 1
store i32 %109, ptr %9, align 4
%110 = load i32, ptr %9, align 4
%111 = load i32, ptr %74, align 4
%112 = sdiv i32 %111, 2
%113 = icmp ult i32 %110, %112
br i1 %113, label %78, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %107
br label %114
114: ; preds = %._crit_edge3, %72
%115 = call i32 @sleep(i32 noundef 5)
br label %116
116: ; preds = %114
%117 = load ptr, ptr %7, align 8
%118 = load i64, ptr %6, align 8
%119 = call i32 @munmap(ptr noundef %117, i64 noundef %118)
%120 = load i32, ptr %2, align 4
%121 = load i32, ptr @FBIOPUT_VSCREENINFO, align 4
%122 = call i64 @ioctl(i32 noundef %120, i32 noundef %121, ptr noundef %3)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %128
124: ; preds = %116
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%126 = load i32, ptr @EXIT_FAILURE, align 4
%127 = call i32 @exit(i32 noundef %126) #3
unreachable
128: ; preds = %116
%129 = load i32, ptr %2, align 4
%130 = call i32 @close(i32 noundef %129)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @munmap(ptr noundef, i64 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpclxye6za.c'
source_filename = "/tmp/tmpclxye6za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"a string!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_assert_eq_string_pass() #0 {
%1 = call i32 @assert_str_eq(ptr noundef @.str, ptr noundef @.str)
ret void
}
declare i32 @assert_str_eq(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpclxye6za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"a string!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_assert_eq_string_pass() #0 {
%1 = call i32 @assert_str_eq(ptr noundef @.str, ptr noundef @.str)
ret void
}
declare i32 @assert_str_eq(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpim88yg6v.c'
source_filename = "/tmp/tmpim88yg6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strclean(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 59)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpim88yg6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strclean(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 59)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpim3azdnw.c'
source_filename = "/tmp/tmpim3azdnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpim3azdnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpjbto85nu.c'
source_filename = "/tmp/tmpjbto85nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@constinit = private constant [3 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 8
@constinit.1 = private constant [3 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mat33Isometry(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca [3 x [3 x double]], align 16
%10 = alloca [3 x [3 x double]], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = getelementptr inbounds [3 x [3 x double]], ptr %9, i64 0, i64 0
%12 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0
%13 = load double, ptr %5, align 8
%14 = call i32 @cos(double noundef %13)
%15 = sitofp i32 %14 to double
store double %15, ptr %12, align 8
%16 = getelementptr inbounds double, ptr %12, i64 1
%17 = load double, ptr %5, align 8
%18 = call i32 @sin(double noundef %17)
%19 = sub nsw i32 0, %18
%20 = sitofp i32 %19 to double
store double %20, ptr %16, align 8
%21 = getelementptr inbounds double, ptr %16, i64 1
store double 0.000000e+00, ptr %21, align 8
%22 = getelementptr inbounds [3 x double], ptr %11, i64 1
%23 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%24 = load double, ptr %5, align 8
%25 = call i32 @sin(double noundef %24)
%26 = sitofp i32 %25 to double
store double %26, ptr %23, align 8
%27 = getelementptr inbounds double, ptr %23, i64 1
%28 = load double, ptr %5, align 8
%29 = call i32 @cos(double noundef %28)
%30 = sitofp i32 %29 to double
store double %30, ptr %27, align 8
%31 = getelementptr inbounds double, ptr %27, i64 1
store double 0.000000e+00, ptr %31, align 8
%32 = getelementptr inbounds [3 x double], ptr %22, i64 1
%33 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 @constinit, i64 24, i1 false)
%34 = getelementptr inbounds [3 x [3 x double]], ptr %10, i64 0, i64 0
%35 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
store double 1.000000e+00, ptr %35, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
store double 0.000000e+00, ptr %36, align 8
%37 = getelementptr inbounds double, ptr %36, i64 1
%38 = load double, ptr %6, align 8
store double %38, ptr %37, align 8
%39 = getelementptr inbounds [3 x double], ptr %34, i64 1
%40 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
store double 0.000000e+00, ptr %40, align 8
%41 = getelementptr inbounds double, ptr %40, i64 1
store double 1.000000e+00, ptr %41, align 8
%42 = getelementptr inbounds double, ptr %41, i64 1
%43 = load double, ptr %7, align 8
store double %43, ptr %42, align 8
%44 = getelementptr inbounds [3 x double], ptr %39, i64 1
%45 = getelementptr inbounds [3 x double], ptr %44, i64 0, i64 0
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 @constinit.1, i64 24, i1 false)
%46 = getelementptr inbounds [3 x [3 x double]], ptr %10, i64 0, i64 0
%47 = getelementptr inbounds [3 x [3 x double]], ptr %9, i64 0, i64 0
%48 = load ptr, ptr %8, align 8
%49 = call i32 @mat333Multiply(ptr noundef %46, ptr noundef %47, ptr noundef %48)
ret void
}
declare i32 @cos(double noundef) #1
declare i32 @sin(double noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @mat333Multiply(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjbto85nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@constinit = private constant [3 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 8
@constinit.1 = private constant [3 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mat33Isometry(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca [3 x [3 x double]], align 16
%10 = alloca [3 x [3 x double]], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = getelementptr inbounds [3 x [3 x double]], ptr %9, i64 0, i64 0
%12 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0
%13 = load double, ptr %5, align 8
%14 = call i32 @cos(double noundef %13)
%15 = sitofp i32 %14 to double
store double %15, ptr %12, align 8
%16 = getelementptr inbounds double, ptr %12, i64 1
%17 = load double, ptr %5, align 8
%18 = call i32 @sin(double noundef %17)
%19 = sub nsw i32 0, %18
%20 = sitofp i32 %19 to double
store double %20, ptr %16, align 8
%21 = getelementptr inbounds double, ptr %16, i64 1
store double 0.000000e+00, ptr %21, align 8
%22 = getelementptr inbounds [3 x double], ptr %11, i64 1
%23 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%24 = load double, ptr %5, align 8
%25 = call i32 @sin(double noundef %24)
%26 = sitofp i32 %25 to double
store double %26, ptr %23, align 8
%27 = getelementptr inbounds double, ptr %23, i64 1
%28 = load double, ptr %5, align 8
%29 = call i32 @cos(double noundef %28)
%30 = sitofp i32 %29 to double
store double %30, ptr %27, align 8
%31 = getelementptr inbounds double, ptr %27, i64 1
store double 0.000000e+00, ptr %31, align 8
%32 = getelementptr inbounds [3 x double], ptr %22, i64 1
%33 = getelementptr inbounds [3 x double], ptr %32, i64 0, i64 0
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 @constinit, i64 24, i1 false)
%34 = getelementptr inbounds [3 x [3 x double]], ptr %10, i64 0, i64 0
%35 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
store double 1.000000e+00, ptr %35, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
store double 0.000000e+00, ptr %36, align 8
%37 = getelementptr inbounds double, ptr %36, i64 1
%38 = load double, ptr %6, align 8
store double %38, ptr %37, align 8
%39 = getelementptr inbounds [3 x double], ptr %34, i64 1
%40 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0
store double 0.000000e+00, ptr %40, align 8
%41 = getelementptr inbounds double, ptr %40, i64 1
store double 1.000000e+00, ptr %41, align 8
%42 = getelementptr inbounds double, ptr %41, i64 1
%43 = load double, ptr %7, align 8
store double %43, ptr %42, align 8
%44 = getelementptr inbounds [3 x double], ptr %39, i64 1
%45 = getelementptr inbounds [3 x double], ptr %44, i64 0, i64 0
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 @constinit.1, i64 24, i1 false)
%46 = getelementptr inbounds [3 x [3 x double]], ptr %10, i64 0, i64 0
%47 = getelementptr inbounds [3 x [3 x double]], ptr %9, i64 0, i64 0
%48 = load ptr, ptr %8, align 8
%49 = call i32 @mat333Multiply(ptr noundef %46, ptr noundef %47, ptr noundef %48)
ret void
}
declare i32 @cos(double noundef) #1
declare i32 @sin(double noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @mat333Multiply(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl8p4q9x3.c'
source_filename = "/tmp/tmpl8p4q9x3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"cgi_rtv_set?flag=1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cgi_login_puts() #0 {
%1 = call i32 @cgiHeaderLocation(ptr noundef @.str)
ret i32 0
}
declare i32 @cgiHeaderLocation(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/tmpl8p4q9x3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"cgi_rtv_set?flag=1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cgi_login_puts() #0 {
%1 = call i32 @cgiHeaderLocation(ptr noundef @.str)
ret i32 0
}
declare i32 @cgiHeaderLocation(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/tmp4i9pc1g0.c'
source_filename = "/tmp/tmp4i9pc1g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clock_process() #0 {
%1 = call i32 (...) @clock_update()
ret void
}
declare i32 @clock_update(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4i9pc1g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clock_process() #0 {
%1 = call i32 (...) @clock_update()
ret void
}
declare i32 @clock_update(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptzqrn9gn.c'
source_filename = "/tmp/tmptzqrn9gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please insert Arguments!\0AInsert -h for help!\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Transmit message and receive the answer.\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Transmit message!\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"There is no Message to transmit!\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Receive message!\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"Receive message DEBUG!\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"\0A\0A\0AHausCom --- Help!!!\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [132 x i8] c"You can transmit an send data via the HausCom protocol, based on the MPC- Mode by Atmel. There are two directions you can choose:\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [272 x i8] c" -i: Input! Here you can get data out of the UART. The data is printed in the file \22/dev/HausComI\22 Please wait with reading this file until HausComC is closed by itself. Please notice that HausCom compare the XOR- checksum by itself and doesn't print it into the file!\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c"The Last sign is 255.\00", align 1
@.str.10 = private unnamed_addr constant [266 x i8] c"\0A\0A -o: Output! Here you can write something in the UART. You have to write the message after \22-o\22 in the commandline. Please don't write 255 at the end of the message, HausCom does it for you. Please notice that HausCom generates the XOR- checksum by itself, too!\00", align 1
@.str.11 = private unnamed_addr constant [176 x i8] c"\0A\0AFor the configuration please use the file HausCom.conf. Insert \22PORT=[YOUR_PORT_NAME]\22 for configure the UART- Port. For the Address please insert \22ADDRESS=[YOUR_ADDRESS]\22.\0A\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [51 x i8] c"Please choose a direction!\0AInsert -h for help! \0A \0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"Please choose a direction!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [2 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i8, align 1
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @printf(ptr noundef @.str)
br label %119
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
store i8 %23, ptr %24, align 1
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = load i8, ptr %28, align 1
%30 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
store i8 %29, ptr %30, align 1
%31 = load i32, ptr %4, align 4
%32 = sub nsw i32 %31, 2
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = mul nsw i32 %33, 2
%35 = zext i32 %34 to i64
%36 = call ptr @llvm.stacksave()
store ptr %36, ptr %9, align 8
%37 = alloca i8, i64 %35, align 16
store i64 %35, ptr %10, align 8
store i8 0, ptr %11, align 1
store i32 2, ptr %12, align 4
br label %38
38: ; preds = %62, %18
%39 = load i32, ptr %12, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %65
42: ; preds = %38
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
store ptr %47, ptr %13, align 8
br label %48
48: ; preds = %52, %42
%49 = load ptr, ptr %13, align 8
%50 = load i8, ptr %49, align 1
%51 = icmp ne i8 %50, 0
br i1 %51, label %52, label %61
52: ; preds = %48
%53 = load ptr, ptr %13, align 8
%54 = load i8, ptr %53, align 1
%55 = load i8, ptr %11, align 1
%56 = add i8 %55, 1
store i8 %56, ptr %11, align 1
%57 = sext i8 %55 to i64
%58 = getelementptr inbounds i8, ptr %37, i64 %57
store i8 %54, ptr %58, align 1
%59 = load ptr, ptr %13, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %13, align 8
br label %48, !llvm.loop !6
61: ; preds = %48
br label %62
62: ; preds = %61
%63 = load i32, ptr %12, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %12, align 4
br label %38, !llvm.loop !8
65: ; preds = %38
%66 = load i8, ptr %11, align 1
%67 = add i8 %66, 1
store i8 %67, ptr %11, align 1
%68 = sext i8 %66 to i64
%69 = getelementptr inbounds i8, ptr %37, i64 %68
store i8 0, ptr %69, align 1
%70 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
switch i32 %72, label %115 [
i32 45, label %73
]
73: ; preds = %65
%74 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
switch i32 %76, label %112 [
i32 98, label %77
i32 111, label %79
i32 105, label %98
i32 100, label %101
i32 104, label %104
]
77: ; preds = %73
%78 = call i32 @printf(ptr noundef @.str.1)
br label %79
79: ; preds = %73, %77
%80 = call i32 @printf(ptr noundef @.str.2)
%81 = load i32, ptr %8, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = load i32, ptr %8, align 4
%85 = call i32 @trasmit(i32 noundef %84, ptr noundef %37)
store i32 %85, ptr %6, align 4
br label %88
86: ; preds = %79
%87 = call i32 @printf(ptr noundef @.str.3)
br label %88
88: ; preds = %86, %83
%89 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 111
br i1 %92, label %96, label %93
93: ; preds = %88
%94 = load i32, ptr %8, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %97, label %96
96: ; preds = %93, %88
br label %114
97: ; preds = %93
br label %98
98: ; preds = %73, %97
%99 = call i32 @printf(ptr noundef @.str.4)
%100 = call i32 (...) @receive()
store i32 %100, ptr %6, align 4
br label %114
101: ; preds = %73
%102 = call i32 @printf(ptr noundef @.str.5)
%103 = call i32 (...) @receiveall()
store i32 %103, ptr %6, align 4
br label %114
104: ; preds = %73
%105 = call i32 @printf(ptr noundef @.str.6)
%106 = call i32 @printf(ptr noundef @.str.7)
%107 = call i32 @printf(ptr noundef @.str.8)
%108 = call i32 @printf(ptr noundef @.str.9)
%109 = call i32 @printf(ptr noundef @.str.10)
%110 = call i32 @printf(ptr noundef @.str.11)
%111 = call i32 @printf(ptr noundef @.str.12)
br label %114
112: ; preds = %73
%113 = call i32 @printf(ptr noundef @.str.13)
br label %114
114: ; preds = %112, %104, %101, %98, %96
br label %117
115: ; preds = %65
%116 = call i32 @printf(ptr noundef @.str.14)
br label %117
117: ; preds = %115, %114
%118 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %118)
br label %119
119: ; preds = %117, %16
%120 = load i32, ptr %6, align 4
ret i32 %120
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @trasmit(i32 noundef, ptr noundef) #1
declare i32 @receive(...) #1
declare i32 @receiveall(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptzqrn9gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please insert Arguments!\0AInsert -h for help!\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Transmit message and receive the answer.\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Transmit message!\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"There is no Message to transmit!\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Receive message!\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"Receive message DEBUG!\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"\0A\0A\0AHausCom --- Help!!!\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [132 x i8] c"You can transmit an send data via the HausCom protocol, based on the MPC- Mode by Atmel. There are two directions you can choose:\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [272 x i8] c" -i: Input! Here you can get data out of the UART. The data is printed in the file \22/dev/HausComI\22 Please wait with reading this file until HausComC is closed by itself. Please notice that HausCom compare the XOR- checksum by itself and doesn't print it into the file!\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c"The Last sign is 255.\00", align 1
@.str.10 = private unnamed_addr constant [266 x i8] c"\0A\0A -o: Output! Here you can write something in the UART. You have to write the message after \22-o\22 in the commandline. Please don't write 255 at the end of the message, HausCom does it for you. Please notice that HausCom generates the XOR- checksum by itself, too!\00", align 1
@.str.11 = private unnamed_addr constant [176 x i8] c"\0A\0AFor the configuration please use the file HausCom.conf. Insert \22PORT=[YOUR_PORT_NAME]\22 for configure the UART- Port. For the Address please insert \22ADDRESS=[YOUR_ADDRESS]\22.\0A\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [51 x i8] c"Please choose a direction!\0AInsert -h for help! \0A \0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"Please choose a direction!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [2 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i8, align 1
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @printf(ptr noundef @.str)
br label %123
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
store i8 %23, ptr %24, align 1
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = load i8, ptr %28, align 1
%30 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
store i8 %29, ptr %30, align 1
%31 = load i32, ptr %4, align 4
%32 = sub nsw i32 %31, 2
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = mul nsw i32 %33, 2
%35 = zext i32 %34 to i64
%36 = call ptr @llvm.stacksave()
store ptr %36, ptr %9, align 8
%37 = alloca i8, i64 %35, align 16
store i64 %35, ptr %10, align 8
store i8 0, ptr %11, align 1
store i32 2, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph2, label %69
.lr.ph2: ; preds = %18
br label %41
41: ; preds = %.lr.ph2, %63
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %12, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
store ptr %46, ptr %13, align 8
%47 = load ptr, ptr %13, align 8
%48 = load i8, ptr %47, align 1
%49 = icmp ne i8 %48, 0
br i1 %49, label %.lr.ph, label %62
.lr.ph: ; preds = %41
br label %50
50: ; preds = %.lr.ph, %50
%51 = load ptr, ptr %13, align 8
%52 = load i8, ptr %51, align 1
%53 = load i8, ptr %11, align 1
%54 = add i8 %53, 1
store i8 %54, ptr %11, align 1
%55 = sext i8 %53 to i64
%56 = getelementptr inbounds i8, ptr %37, i64 %55
store i8 %52, ptr %56, align 1
%57 = load ptr, ptr %13, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %13, align 8
%59 = load ptr, ptr %13, align 8
%60 = load i8, ptr %59, align 1
%61 = icmp ne i8 %60, 0
br i1 %61, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %62
62: ; preds = %._crit_edge, %41
br label %63
63: ; preds = %62
%64 = load i32, ptr %12, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %12, align 4
%66 = load i32, ptr %12, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %18
%70 = load i8, ptr %11, align 1
%71 = add i8 %70, 1
store i8 %71, ptr %11, align 1
%72 = sext i8 %70 to i64
%73 = getelementptr inbounds i8, ptr %37, i64 %72
store i8 0, ptr %73, align 1
%74 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
switch i32 %76, label %119 [
i32 45, label %77
]
77: ; preds = %69
%78 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
switch i32 %80, label %116 [
i32 98, label %81
i32 111, label %83
i32 105, label %102
i32 100, label %105
i32 104, label %108
]
81: ; preds = %77
%82 = call i32 @printf(ptr noundef @.str.1)
br label %83
83: ; preds = %81, %77
%84 = call i32 @printf(ptr noundef @.str.2)
%85 = load i32, ptr %8, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %90
87: ; preds = %83
%88 = load i32, ptr %8, align 4
%89 = call i32 @trasmit(i32 noundef %88, ptr noundef %37)
store i32 %89, ptr %6, align 4
br label %92
90: ; preds = %83
%91 = call i32 @printf(ptr noundef @.str.3)
br label %92
92: ; preds = %90, %87
%93 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 111
br i1 %96, label %100, label %97
97: ; preds = %92
%98 = load i32, ptr %8, align 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %101, label %100
100: ; preds = %97, %92
br label %118
101: ; preds = %97
br label %102
102: ; preds = %101, %77
%103 = call i32 @printf(ptr noundef @.str.4)
%104 = call i32 (...) @receive()
store i32 %104, ptr %6, align 4
br label %118
105: ; preds = %77
%106 = call i32 @printf(ptr noundef @.str.5)
%107 = call i32 (...) @receiveall()
store i32 %107, ptr %6, align 4
br label %118
108: ; preds = %77
%109 = call i32 @printf(ptr noundef @.str.6)
%110 = call i32 @printf(ptr noundef @.str.7)
%111 = call i32 @printf(ptr noundef @.str.8)
%112 = call i32 @printf(ptr noundef @.str.9)
%113 = call i32 @printf(ptr noundef @.str.10)
%114 = call i32 @printf(ptr noundef @.str.11)
%115 = call i32 @printf(ptr noundef @.str.12)
br label %118
116: ; preds = %77
%117 = call i32 @printf(ptr noundef @.str.13)
br label %118
118: ; preds = %116, %108, %105, %102, %100
br label %121
119: ; preds = %69
%120 = call i32 @printf(ptr noundef @.str.14)
br label %121
121: ; preds = %119, %118
%122 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %122)
br label %123
123: ; preds = %121, %16
%124 = load i32, ptr %6, align 4
ret i32 %124
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @trasmit(i32 noundef, ptr noundef) #1
declare i32 @receive(...) #1
declare i32 @receiveall(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmkijl5xi.c'
source_filename = "/tmp/tmpmkijl5xi.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
%struct.addrinfo = type { i32, ptr }
%struct.hostent = type { ptr }
@AF_INET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getaddrinfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca %struct.in_addr, align 4
%14 = alloca i16, align 2
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr null, ptr %11, align 8
%16 = load ptr, ptr %7, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
%20 = call i32 @atoi(ptr noundef %19)
%21 = call zeroext i16 @htons(i32 noundef %20)
store i16 %21, ptr %14, align 2
br label %23
22: ; preds = %4
store i16 0, ptr %14, align 2
br label %23
23: ; preds = %22, %18
%24 = load ptr, ptr %8, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %37
26: ; preds = %23
%27 = load ptr, ptr %8, align 8
%28 = getelementptr inbounds %struct.addrinfo, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 8
%30 = and i32 %29, 1
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = load i16, ptr %14, align 2
%34 = call i32 @htonl(i32 noundef 0)
%35 = call ptr @new_ai(i16 noundef zeroext %33, i32 noundef %34)
%36 = load ptr, ptr %9, align 8
store ptr %35, ptr %36, align 8
store i32 0, ptr %5, align 4
br label %107
37: ; preds = %26, %23
%38 = load ptr, ptr %6, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %45, label %40
40: ; preds = %37
%41 = load i16, ptr %14, align 2
%42 = call i32 @htonl(i32 noundef 2130706433)
%43 = call ptr @new_ai(i16 noundef zeroext %41, i32 noundef %42)
%44 = load ptr, ptr %9, align 8
store ptr %43, ptr %44, align 8
store i32 0, ptr %5, align 4
br label %107
45: ; preds = %37
%46 = load i32, ptr @AF_INET, align 4
%47 = load ptr, ptr %6, align 8
%48 = call i64 @inet_pton(i32 noundef %46, ptr noundef %47, ptr noundef %13)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %56
50: ; preds = %45
%51 = load i16, ptr %14, align 2
%52 = getelementptr inbounds %struct.in_addr, ptr %13, i32 0, i32 0
%53 = load i32, ptr %52, align 4
%54 = call ptr @new_ai(i16 noundef zeroext %51, i32 noundef %53)
%55 = load ptr, ptr %9, align 8
store ptr %54, ptr %55, align 8
store i32 0, ptr %5, align 4
br label %107
56: ; preds = %45
%57 = load ptr, ptr %6, align 8
%58 = call ptr @gethostbyname(ptr noundef %57)
store ptr %58, ptr %12, align 8
%59 = load ptr, ptr %12, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %106
61: ; preds = %56
%62 = load ptr, ptr %12, align 8
%63 = getelementptr inbounds %struct.hostent, ptr %62, i32 0, i32 0
%64 = load ptr, ptr %63, align 8
%65 = getelementptr inbounds i64, ptr %64, i64 0
%66 = load i64, ptr %65, align 8
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %106
68: ; preds = %61
store i32 0, ptr %15, align 4
br label %69
69: ; preds = %102, %68
%70 = load ptr, ptr %12, align 8
%71 = getelementptr inbounds %struct.hostent, ptr %70, i32 0, i32 0
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %15, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i64, ptr %72, i64 %74
%76 = load i64, ptr %75, align 8
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %105
78: ; preds = %69
%79 = load i16, ptr %14, align 2
%80 = load ptr, ptr %12, align 8
%81 = getelementptr inbounds %struct.hostent, ptr %80, i32 0, i32 0
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %15, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i64, ptr %82, i64 %84
%86 = load i64, ptr %85, align 8
%87 = inttoptr i64 %86 to ptr
%88 = getelementptr inbounds %struct.in_addr, ptr %87, i32 0, i32 0
%89 = load i32, ptr %88, align 4
%90 = call ptr @new_ai(i16 noundef zeroext %79, i32 noundef %89)
store ptr %90, ptr %10, align 8
%91 = load ptr, ptr %11, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %97
93: ; preds = %78
%94 = load ptr, ptr %10, align 8
%95 = load ptr, ptr %11, align 8
%96 = getelementptr inbounds %struct.addrinfo, ptr %95, i32 0, i32 1
store ptr %94, ptr %96, align 8
br label %100
97: ; preds = %78
%98 = load ptr, ptr %10, align 8
%99 = load ptr, ptr %9, align 8
store ptr %98, ptr %99, align 8
br label %100
100: ; preds = %97, %93
%101 = load ptr, ptr %10, align 8
store ptr %101, ptr %11, align 8
br label %102
102: ; preds = %100
%103 = load i32, ptr %15, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %15, align 4
br label %69, !llvm.loop !6
105: ; preds = %69
store i32 0, ptr %5, align 4
br label %107
106: ; preds = %61, %56
store i32 7, ptr %5, align 4
br label %107
107: ; preds = %106, %105, %50, %40, %32
%108 = load i32, ptr %5, align 4
ret i32 %108
}
declare zeroext i16 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @new_ai(i16 noundef zeroext, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @gethostbyname(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/tmpmkijl5xi.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
%struct.addrinfo = type { i32, ptr }
%struct.hostent = type { ptr }
@AF_INET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getaddrinfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca %struct.in_addr, align 4
%14 = alloca i16, align 2
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr null, ptr %11, align 8
%16 = load ptr, ptr %7, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
%20 = call i32 @atoi(ptr noundef %19)
%21 = call zeroext i16 @htons(i32 noundef %20)
store i16 %21, ptr %14, align 2
br label %23
22: ; preds = %4
store i16 0, ptr %14, align 2
br label %23
23: ; preds = %22, %18
%24 = load ptr, ptr %8, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %37
26: ; preds = %23
%27 = load ptr, ptr %8, align 8
%28 = getelementptr inbounds %struct.addrinfo, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 8
%30 = and i32 %29, 1
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = load i16, ptr %14, align 2
%34 = call i32 @htonl(i32 noundef 0)
%35 = call ptr @new_ai(i16 noundef zeroext %33, i32 noundef %34)
%36 = load ptr, ptr %9, align 8
store ptr %35, ptr %36, align 8
store i32 0, ptr %5, align 4
br label %113
37: ; preds = %26, %23
%38 = load ptr, ptr %6, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %45, label %40
40: ; preds = %37
%41 = load i16, ptr %14, align 2
%42 = call i32 @htonl(i32 noundef 2130706433)
%43 = call ptr @new_ai(i16 noundef zeroext %41, i32 noundef %42)
%44 = load ptr, ptr %9, align 8
store ptr %43, ptr %44, align 8
store i32 0, ptr %5, align 4
br label %113
45: ; preds = %37
%46 = load i32, ptr @AF_INET, align 4
%47 = load ptr, ptr %6, align 8
%48 = call i64 @inet_pton(i32 noundef %46, ptr noundef %47, ptr noundef %13)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %56
50: ; preds = %45
%51 = load i16, ptr %14, align 2
%52 = getelementptr inbounds %struct.in_addr, ptr %13, i32 0, i32 0
%53 = load i32, ptr %52, align 4
%54 = call ptr @new_ai(i16 noundef zeroext %51, i32 noundef %53)
%55 = load ptr, ptr %9, align 8
store ptr %54, ptr %55, align 8
store i32 0, ptr %5, align 4
br label %113
56: ; preds = %45
%57 = load ptr, ptr %6, align 8
%58 = call ptr @gethostbyname(ptr noundef %57)
store ptr %58, ptr %12, align 8
%59 = load ptr, ptr %12, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %112
61: ; preds = %56
%62 = load ptr, ptr %12, align 8
%63 = getelementptr inbounds %struct.hostent, ptr %62, i32 0, i32 0
%64 = load ptr, ptr %63, align 8
%65 = getelementptr inbounds i64, ptr %64, i64 0
%66 = load i64, ptr %65, align 8
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %112
68: ; preds = %61
store i32 0, ptr %15, align 4
%69 = load ptr, ptr %12, align 8
%70 = load ptr, ptr %69, align 8
%71 = load i32, ptr %15, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i64, ptr %70, i64 %72
%74 = load i64, ptr %73, align 8
%75 = icmp ne i64 %74, 0
br i1 %75, label %.lr.ph, label %111
.lr.ph: ; preds = %68
br label %76
76: ; preds = %.lr.ph, %100
%77 = load i16, ptr %14, align 2
%78 = load ptr, ptr %12, align 8
%79 = getelementptr inbounds %struct.hostent, ptr %78, i32 0, i32 0
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %15, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i64, ptr %80, i64 %82
%84 = load i64, ptr %83, align 8
%85 = inttoptr i64 %84 to ptr
%86 = getelementptr inbounds %struct.in_addr, ptr %85, i32 0, i32 0
%87 = load i32, ptr %86, align 4
%88 = call ptr @new_ai(i16 noundef zeroext %77, i32 noundef %87)
store ptr %88, ptr %10, align 8
%89 = load ptr, ptr %11, align 8
%90 = icmp ne ptr %89, null
br i1 %90, label %91, label %95
91: ; preds = %76
%92 = load ptr, ptr %10, align 8
%93 = load ptr, ptr %11, align 8
%94 = getelementptr inbounds %struct.addrinfo, ptr %93, i32 0, i32 1
store ptr %92, ptr %94, align 8
br label %98
95: ; preds = %76
%96 = load ptr, ptr %10, align 8
%97 = load ptr, ptr %9, align 8
store ptr %96, ptr %97, align 8
br label %98
98: ; preds = %95, %91
%99 = load ptr, ptr %10, align 8
store ptr %99, ptr %11, align 8
br label %100
100: ; preds = %98
%101 = load i32, ptr %15, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %15, align 4
%103 = load ptr, ptr %12, align 8
%104 = getelementptr inbounds %struct.hostent, ptr %103, i32 0, i32 0
%105 = load ptr, ptr %104, align 8
%106 = load i32, ptr %15, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i64, ptr %105, i64 %107
%109 = load i64, ptr %108, align 8
%110 = icmp ne i64 %109, 0
br i1 %110, label %76, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %100
br label %111
111: ; preds = %._crit_edge, %68
store i32 0, ptr %5, align 4
br label %113
112: ; preds = %61, %56
store i32 7, ptr %5, align 4
br label %113
113: ; preds = %112, %111, %50, %40, %32
%114 = load i32, ptr %5, align 4
ret i32 %114
}
declare zeroext i16 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @new_ai(i16 noundef zeroext, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @gethostbyname(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/tmp46thku5c.c'
source_filename = "/tmp/tmp46thku5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIrand_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46thku5c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIrand_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy1pbiob_.c'
source_filename = "/tmp/tmpy1pbiob_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509V3_F_X509V3_EXT_I2D = dso_local global i32 0, align 4
@X509V3_R_UNKNOWN_EXTENSION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509V3_EXT_i2d(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = call ptr @X509V3_EXT_get_nid(i32 noundef %9)
store ptr %10, ptr %8, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load i32, ptr @X509V3_F_X509V3_EXT_I2D, align 4
%14 = load i32, ptr @X509V3_R_UNKNOWN_EXTENSION, align 4
%15 = call i32 @X509V3err(i32 noundef %13, i32 noundef %14)
store ptr null, ptr %4, align 8
br label %22
16: ; preds = %3
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %7, align 8
%21 = call ptr @do_ext_i2d(ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20)
store ptr %21, ptr %4, align 8
br label %22
22: ; preds = %16, %12
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
declare ptr @X509V3_EXT_get_nid(i32 noundef) #1
declare i32 @X509V3err(i32 noundef, i32 noundef) #1
declare ptr @do_ext_i2d(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy1pbiob_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509V3_F_X509V3_EXT_I2D = dso_local global i32 0, align 4
@X509V3_R_UNKNOWN_EXTENSION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509V3_EXT_i2d(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = call ptr @X509V3_EXT_get_nid(i32 noundef %9)
store ptr %10, ptr %8, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load i32, ptr @X509V3_F_X509V3_EXT_I2D, align 4
%14 = load i32, ptr @X509V3_R_UNKNOWN_EXTENSION, align 4
%15 = call i32 @X509V3err(i32 noundef %13, i32 noundef %14)
store ptr null, ptr %4, align 8
br label %22
16: ; preds = %3
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %7, align 8
%21 = call ptr @do_ext_i2d(ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20)
store ptr %21, ptr %4, align 8
br label %22
22: ; preds = %16, %12
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
declare ptr @X509V3_EXT_get_nid(i32 noundef) #1
declare i32 @X509V3err(i32 noundef, i32 noundef) #1
declare ptr @do_ext_i2d(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_sqvasf7.c'
source_filename = "/tmp/tmp_sqvasf7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x8a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x8a() #0 {
%1 = call i64 @isupper(i32 noundef 138)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 695, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_sqvasf7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x8a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x8a() #0 {
%1 = call i64 @isupper(i32 noundef 138)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 695, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmp47o2eqvy.c'
source_filename = "/tmp/tmp47o2eqvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = 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() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @SIGCHLD, align 4
%3 = load i32, ptr @SIG_IGN, align 4
%4 = call i32 @signal(i32 noundef %2, i32 noundef %3)
br label %5
5: ; preds = %0, %5
%6 = call i32 (...) @pause()
br label %5
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp47o2eqvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = 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() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @SIGCHLD, align 4
%3 = load i32, ptr @SIG_IGN, align 4
%4 = call i32 @signal(i32 noundef %2, i32 noundef %3)
br label %5
5: ; preds = %5, %0
%6 = call i32 (...) @pause()
br label %5
}
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpop8qma5n.c'
source_filename = "/tmp/tmpop8qma5n.c"
target datalayout = "e-m:e-p270: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/tmpop8qma5n.c"
target datalayout = "e-m:e-p270: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/tmpjd7ufej1.c'
source_filename = "/tmp/tmpjd7ufej1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @printArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
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/tmpjd7ufej1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @printArray(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
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/tmp1zs4om22.c'
source_filename = "/tmp/tmp1zs4om22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getProtoDataLength(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = sub nsw i64 %3, 1
%5 = trunc i64 %4 to i32
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1zs4om22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getProtoDataLength(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = sub nsw i64 %3, 1
%5 = trunc i64 %4 to i32
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7a9tdw9y.c'
source_filename = "/tmp/tmp7a9tdw9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"---Ordem original---\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %15, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 50
br i1 %7, label %8, label %18
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %5, !llvm.loop !6
18: ; preds = %5
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7a9tdw9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"---Ordem original---\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 50
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %14
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 50
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %1
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp82cbz44f.c'
source_filename = "/tmp/tmp82cbz44f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cipher(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %16, %2
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %7
br label %16
16: ; preds = %15
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
store i32 0, ptr %6, align 4
br label %20
20: ; preds = %121, %19
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %124
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i32 @isalnum(i8 noundef signext %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %33, label %32
32: ; preds = %24
br label %121
33: ; preds = %24
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = call i64 @isnumber(i8 noundef signext %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %93, label %41
41: ; preds = %33
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = call i64 @isupper(i8 noundef signext %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %66
49: ; preds = %41
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = sub nsw i32 %55, 65
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %56, %57
%59 = srem i32 %58, 26
%60 = add nsw i32 %59, 65
%61 = trunc i32 %60 to i8
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 %61, ptr %65, align 1
br label %92
66: ; preds = %41
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %6, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = call i64 @islower(i8 noundef signext %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %91
74: ; preds = %66
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %6, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = sub nsw i32 %80, 97
%82 = load i32, ptr %3, align 4
%83 = add nsw i32 %81, %82
%84 = srem i32 %83, 26
%85 = add nsw i32 %84, 97
%86 = trunc i32 %85 to i8
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %6, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
store i8 %86, ptr %90, align 1
br label %91
91: ; preds = %74, %66
br label %92
92: ; preds = %91, %49
br label %119
93: ; preds = %33
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %6, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
%98 = load i8, ptr %97, align 1
%99 = call i64 @isnumber(i8 noundef signext %98)
%100 = icmp ne i64 %99, 0
br i1 %100, label %101, label %118
101: ; preds = %93
%102 = load ptr, ptr %4, align 8
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = sub nsw i32 %107, 48
%109 = load i32, ptr %3, align 4
%110 = add nsw i32 %108, %109
%111 = srem i32 %110, 26
%112 = add nsw i32 %111, 48
%113 = trunc i32 %112 to i8
%114 = load ptr, ptr %4, align 8
%115 = load i32, ptr %6, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
store i8 %113, ptr %117, align 1
br label %118
118: ; preds = %101, %93
br label %119
119: ; preds = %118, %92
br label %120
120: ; preds = %119
br label %121
121: ; preds = %120, %32
%122 = load i32, ptr %6, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %6, align 4
br label %20, !llvm.loop !8
124: ; preds = %20
ret void
}
declare i32 @isalnum(i8 noundef signext) #1
declare i64 @isnumber(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp82cbz44f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cipher(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %15
br label %15
15: ; preds = %14
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %25
25: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %132
.lr.ph2: ; preds = %25
br label %29
29: ; preds = %.lr.ph2, %126
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = call i32 @isalnum(i8 noundef signext %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %29
br label %126
38: ; preds = %29
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = call i64 @isnumber(i8 noundef signext %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %98, label %46
46: ; preds = %38
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call i64 @isupper(i8 noundef signext %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %71
54: ; preds = %46
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = sub nsw i32 %60, 65
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %61, %62
%64 = srem i32 %63, 26
%65 = add nsw i32 %64, 65
%66 = trunc i32 %65 to i8
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %6, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store i8 %66, ptr %70, align 1
br label %97
71: ; preds = %46
%72 = load ptr, ptr %4, align 8
%73 = load i32, ptr %6, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = call i64 @islower(i8 noundef signext %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %96
79: ; preds = %71
%80 = load ptr, ptr %4, align 8
%81 = load i32, ptr %6, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = sub nsw i32 %85, 97
%87 = load i32, ptr %3, align 4
%88 = add nsw i32 %86, %87
%89 = srem i32 %88, 26
%90 = add nsw i32 %89, 97
%91 = trunc i32 %90 to i8
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %6, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
store i8 %91, ptr %95, align 1
br label %96
96: ; preds = %79, %71
br label %97
97: ; preds = %96, %54
br label %124
98: ; preds = %38
%99 = load ptr, ptr %4, align 8
%100 = load i32, ptr %6, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %99, i64 %101
%103 = load i8, ptr %102, align 1
%104 = call i64 @isnumber(i8 noundef signext %103)
%105 = icmp ne i64 %104, 0
br i1 %105, label %106, label %123
106: ; preds = %98
%107 = load ptr, ptr %4, align 8
%108 = load i32, ptr %6, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = sub nsw i32 %112, 48
%114 = load i32, ptr %3, align 4
%115 = add nsw i32 %113, %114
%116 = srem i32 %115, 26
%117 = add nsw i32 %116, 48
%118 = trunc i32 %117 to i8
%119 = load ptr, ptr %4, align 8
%120 = load i32, ptr %6, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %119, i64 %121
store i8 %118, ptr %122, align 1
br label %123
123: ; preds = %106, %98
br label %124
124: ; preds = %123, %97
br label %125
125: ; preds = %124
br label %126
126: ; preds = %125, %37
%127 = load i32, ptr %6, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %6, align 4
%129 = load i32, ptr %6, align 4
%130 = load i32, ptr %5, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %126
br label %132
132: ; preds = %._crit_edge3, %25
ret void
}
declare i32 @isalnum(i8 noundef signext) #1
declare i64 @isnumber(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpis113dum.c'
source_filename = "/tmp/tmpis113dum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @print(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8, %2
br label %27
12: ; preds = %8
br label %13
13: ; preds = %24, %12
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %13, !llvm.loop !6
27: ; preds = %11, %13
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/tmpis113dum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @print(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8, %2
br label %29
12: ; preds = %8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %23
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
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 %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %23
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %12
br label %29
29: ; preds = %.loopexit, %11
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/tmpvvr4ep9l.c'
source_filename = "/tmp/tmpvvr4ep9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle_from_three_points(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%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 ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
store double %0, ptr %11, align 8
store double %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store double %4, ptr %15, align 8
store double %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
%28 = load double, ptr %11, align 8
%29 = load double, ptr %12, align 8
%30 = load double, ptr %13, align 8
%31 = load double, ptr %14, align 8
%32 = call i32 @perpendicular_line_from_two_points(double noundef %28, double noundef %29, double noundef %30, double noundef %31, ptr noundef %20, ptr noundef %21, ptr noundef %22)
%33 = load double, ptr %13, align 8
%34 = load double, ptr %14, align 8
%35 = load double, ptr %15, align 8
%36 = load double, ptr %16, align 8
%37 = call i32 @perpendicular_line_from_two_points(double noundef %33, double noundef %34, double noundef %35, double noundef %36, ptr noundef %23, ptr noundef %24, ptr noundef %25)
%38 = load double, ptr %20, align 8
%39 = load double, ptr %21, align 8
%40 = load double, ptr %22, align 8
%41 = load double, ptr %23, align 8
%42 = load double, ptr %24, align 8
%43 = load double, ptr %25, align 8
%44 = load ptr, ptr %17, align 8
%45 = load ptr, ptr %18, align 8
%46 = call i64 @line_intersection(double noundef %38, double noundef %39, double noundef %40, double noundef %41, double noundef %42, double noundef %43, ptr noundef %44, ptr noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %9
store i32 -1, ptr %10, align 4
br label %66
49: ; preds = %9
%50 = load ptr, ptr %17, align 8
%51 = load double, ptr %50, align 8
%52 = load double, ptr %11, align 8
%53 = fsub double %51, %52
store double %53, ptr %26, align 8
%54 = load ptr, ptr %18, align 8
%55 = load double, ptr %54, align 8
%56 = load double, ptr %12, align 8
%57 = fsub double %55, %56
store double %57, ptr %27, align 8
%58 = load double, ptr %26, align 8
%59 = load double, ptr %26, align 8
%60 = load double, ptr %27, align 8
%61 = load double, ptr %27, align 8
%62 = fmul double %60, %61
%63 = call double @llvm.fmuladd.f64(double %58, double %59, double %62)
%64 = call double @sqrt(double noundef %63) #4
%65 = load ptr, ptr %19, align 8
store double %64, ptr %65, align 8
store i32 0, ptr %10, align 4
br label %66
66: ; preds = %49, %48
%67 = load i32, ptr %10, align 4
ret i32 %67
}
declare i32 @perpendicular_line_from_two_points(double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @line_intersection(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvr4ep9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle_from_three_points(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%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 ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
store double %0, ptr %11, align 8
store double %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store double %4, ptr %15, align 8
store double %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
%28 = load double, ptr %11, align 8
%29 = load double, ptr %12, align 8
%30 = load double, ptr %13, align 8
%31 = load double, ptr %14, align 8
%32 = call i32 @perpendicular_line_from_two_points(double noundef %28, double noundef %29, double noundef %30, double noundef %31, ptr noundef %20, ptr noundef %21, ptr noundef %22)
%33 = load double, ptr %13, align 8
%34 = load double, ptr %14, align 8
%35 = load double, ptr %15, align 8
%36 = load double, ptr %16, align 8
%37 = call i32 @perpendicular_line_from_two_points(double noundef %33, double noundef %34, double noundef %35, double noundef %36, ptr noundef %23, ptr noundef %24, ptr noundef %25)
%38 = load double, ptr %20, align 8
%39 = load double, ptr %21, align 8
%40 = load double, ptr %22, align 8
%41 = load double, ptr %23, align 8
%42 = load double, ptr %24, align 8
%43 = load double, ptr %25, align 8
%44 = load ptr, ptr %17, align 8
%45 = load ptr, ptr %18, align 8
%46 = call i64 @line_intersection(double noundef %38, double noundef %39, double noundef %40, double noundef %41, double noundef %42, double noundef %43, ptr noundef %44, ptr noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %9
store i32 -1, ptr %10, align 4
br label %66
49: ; preds = %9
%50 = load ptr, ptr %17, align 8
%51 = load double, ptr %50, align 8
%52 = load double, ptr %11, align 8
%53 = fsub double %51, %52
store double %53, ptr %26, align 8
%54 = load ptr, ptr %18, align 8
%55 = load double, ptr %54, align 8
%56 = load double, ptr %12, align 8
%57 = fsub double %55, %56
store double %57, ptr %27, align 8
%58 = load double, ptr %26, align 8
%59 = load double, ptr %26, align 8
%60 = load double, ptr %27, align 8
%61 = load double, ptr %27, align 8
%62 = fmul double %60, %61
%63 = call double @llvm.fmuladd.f64(double %58, double %59, double %62)
%64 = call double @sqrt(double noundef %63) #4
%65 = load ptr, ptr %19, align 8
store double %64, ptr %65, align 8
store i32 0, ptr %10, align 4
br label %66
66: ; preds = %49, %48
%67 = load i32, ptr %10, align 4
ret i32 %67
}
declare i32 @perpendicular_line_from_two_points(double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @line_intersection(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxs5hav4l.c'
source_filename = "/tmp/tmpxs5hav4l.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [10 x i8] c"time: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_time() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i64 @time(ptr noundef null)
%3 = trunc i64 %2 to i32
%4 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @time(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/tmpxs5hav4l.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [10 x i8] c"time: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_time() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i64 @time(ptr noundef null)
%3 = trunc i64 %2 to i32
%4 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @time(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/tmpi45q2q6x.c'
source_filename = "/tmp/tmpi45q2q6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RotatePoint(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load float, ptr %9, align 4
%11 = load float, ptr %6, align 4
%12 = call float @Cos(float noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = load float, ptr %13, align 4
%15 = load float, ptr %6, align 4
%16 = call float @Sin(float noundef %15)
%17 = fmul float %14, %16
%18 = fneg float %17
%19 = call float @llvm.fmuladd.f32(float %10, float %12, float %18)
store float %19, ptr %7, align 4
%20 = load ptr, ptr %5, align 8
%21 = load float, ptr %20, align 4
%22 = load float, ptr %6, align 4
%23 = call float @Cos(float noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = load float, ptr %24, align 4
%26 = load float, ptr %6, align 4
%27 = call float @Sin(float noundef %26)
%28 = fmul float %25, %27
%29 = call float @llvm.fmuladd.f32(float %21, float %23, float %28)
store float %29, ptr %8, align 4
%30 = load float, ptr %7, align 4
%31 = load ptr, ptr %4, align 8
store float %30, ptr %31, align 4
%32 = load float, ptr %8, align 4
%33 = load ptr, ptr %5, align 8
store float %32, ptr %33, align 4
ret void
}
declare float @Cos(float noundef) #1
declare float @Sin(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi45q2q6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RotatePoint(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load float, ptr %9, align 4
%11 = load float, ptr %6, align 4
%12 = call float @Cos(float noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = load float, ptr %13, align 4
%15 = load float, ptr %6, align 4
%16 = call float @Sin(float noundef %15)
%17 = fmul float %14, %16
%18 = fneg float %17
%19 = call float @llvm.fmuladd.f32(float %10, float %12, float %18)
store float %19, ptr %7, align 4
%20 = load ptr, ptr %5, align 8
%21 = load float, ptr %20, align 4
%22 = load float, ptr %6, align 4
%23 = call float @Cos(float noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = load float, ptr %24, align 4
%26 = load float, ptr %6, align 4
%27 = call float @Sin(float noundef %26)
%28 = fmul float %25, %27
%29 = call float @llvm.fmuladd.f32(float %21, float %23, float %28)
store float %29, ptr %8, align 4
%30 = load float, ptr %7, align 4
%31 = load ptr, ptr %4, align 8
store float %30, ptr %31, align 4
%32 = load float, ptr %8, align 4
%33 = load ptr, ptr %5, align 8
store float %32, ptr %33, align 4
ret void
}
declare float @Cos(float noundef) #1
declare float @Sin(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1wgokz2i.c'
source_filename = "/tmp/tmp1wgokz2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_get_contents_hex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%7 = call i64 @file_get_contents(ptr noundef %5, ptr noundef %6, i32 noundef 256)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %4)
br label %12
12: ; preds = %9, %1
%13 = load i32, ptr %4, align 4
ret i32 %13
}
declare i64 @file_get_contents(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1wgokz2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_get_contents_hex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%7 = call i64 @file_get_contents(ptr noundef %5, ptr noundef %6, i32 noundef 256)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %4)
br label %12
12: ; preds = %9, %1
%13 = load i32, ptr %4, align 4
ret i32 %13
}
declare i64 @file_get_contents(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4asx_g8m.c'
source_filename = "/tmp/tmp4asx_g8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %6
6: ; preds = %13, %0
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %7, 10
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, %10
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = load i32, ptr %2, align 4
%18 = call i32 @assertEq(i32 noundef %17, i32 noundef 55)
store i32 1, ptr %5, align 4
br label %19
19: ; preds = %23, %16
%20 = load i32, ptr %5, align 4
%21 = icmp sle i32 %20, 10
br i1 %21, label %23, label %22
22: ; preds = %19
br label %28
23: ; preds = %19
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, %24
store i32 %27, ptr %3, align 4
br label %19
28: ; preds = %22
%29 = load i32, ptr %3, align 4
%30 = call i32 @assertEq(i32 noundef %29, i32 noundef 55)
%31 = call i32 (...) @endTest()
%32 = load i32, ptr %1, align 4
ret i32 %32
}
declare i32 @assertEq(i32 noundef, i32 noundef) #1
declare i32 @endTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4asx_g8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sle i32 %6, 10
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %12
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, %9
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp sle i32 %15, 10
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %2, align 4
%19 = call i32 @assertEq(i32 noundef %18, i32 noundef 55)
store i32 1, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp sle i32 %20, 10
br i1 %21, label %.lr.ph2, label %22
.lr.ph2: ; preds = %17
br label %23
._crit_edge3: ; preds = %23
br label %22
22: ; preds = %._crit_edge3, %17
br label %30
23: ; preds = %.lr.ph2, %23
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, %24
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %28, 10
br i1 %29, label %23, label %._crit_edge3
30: ; preds = %22
%31 = load i32, ptr %3, align 4
%32 = call i32 @assertEq(i32 noundef %31, i32 noundef 55)
%33 = call i32 (...) @endTest()
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i32 @assertEq(i32 noundef, i32 noundef) #1
declare i32 @endTest(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpr8l09jhs.c'
source_filename = "/tmp/tmpr8l09jhs.c"
target datalayout = "e-m:e-p270: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/tmpr8l09jhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_kr8ic2j.c'
source_filename = "/tmp/tmp_kr8ic2j.c"
target datalayout = "e-m:e-p270: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_kr8ic2j.c"
target datalayout = "e-m:e-p270: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/tmp1pccggk0.c'
source_filename = "/tmp/tmp1pccggk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:26 \00", align 1
@.str.1 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:30 \00", align 1
@.str.2 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:34 \00", align 1
@.str.3 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:38 \00", align 1
@.str.4 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:43 \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 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @add64(i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 3
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @_fail(ptr noundef @.str)
br label %11
11: ; preds = %9, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @sub64(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 1
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 @_fail(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %11
%20 = load i32, ptr %2, align 4
%21 = call i32 @add64(i32 noundef %20, i32 noundef -4)
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, -3
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = call i32 @_fail(ptr noundef @.str.2)
br label %26
26: ; preds = %24, %19
%27 = load i32, ptr %2, align 4
%28 = call i32 @add64(i32 noundef %27, i32 noundef 3)
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 @_fail(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %26
store i32 0, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = call i32 @sub64(i32 noundef %34, i32 noundef 1)
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp ne i32 %36, -1
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = call i32 @_fail(ptr noundef @.str.4)
br label %40
40: ; preds = %38, %33
%41 = call i32 (...) @pass()
ret i32 0
}
declare i32 @add64(i32 noundef, i32 noundef) #1
declare i32 @_fail(ptr noundef) #1
declare i32 @sub64(i32 noundef, i32 noundef) #1
declare i32 @pass(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1pccggk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:26 \00", align 1
@.str.1 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:30 \00", align 1
@.str.2 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:34 \00", align 1
@.str.3 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:38 \00", align 1
@.str.4 = private unnamed_addr constant [169 x i8] c"at /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/tests/tcg/cris/check_int64.c:43 \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 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @add64(i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 3
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @_fail(ptr noundef @.str)
br label %11
11: ; preds = %9, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @sub64(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 1
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 @_fail(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %11
%20 = load i32, ptr %2, align 4
%21 = call i32 @add64(i32 noundef %20, i32 noundef -4)
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, -3
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = call i32 @_fail(ptr noundef @.str.2)
br label %26
26: ; preds = %24, %19
%27 = load i32, ptr %2, align 4
%28 = call i32 @add64(i32 noundef %27, i32 noundef 3)
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 @_fail(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %26
store i32 0, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = call i32 @sub64(i32 noundef %34, i32 noundef 1)
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp ne i32 %36, -1
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = call i32 @_fail(ptr noundef @.str.4)
br label %40
40: ; preds = %38, %33
%41 = call i32 (...) @pass()
ret i32 0
}
declare i32 @add64(i32 noundef, i32 noundef) #1
declare i32 @_fail(ptr noundef) #1
declare i32 @sub64(i32 noundef, i32 noundef) #1
declare i32 @pass(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3pd67r0j.c'
source_filename = "/tmp/tmp3pd67r0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [84 x i8] c"aubio was not compiled with aubio_source_undefined, failed running %s with %d args\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @base_main(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 ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @PRINT_ERR(ptr noundef @.str, ptr noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @PRINT_ERR(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3pd67r0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [84 x i8] c"aubio was not compiled with aubio_source_undefined, failed running %s with %d args\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @base_main(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 ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @PRINT_ERR(ptr noundef @.str, ptr noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @PRINT_ERR(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmtuf2dz2.c'
source_filename = "/tmp/tmpmtuf2dz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetOperator(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %94, %3
%12 = load i32, ptr %8, align 4
%13 = sext i32 %12 to i64
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %97
16: ; preds = %11
store i32 0, ptr %9, align 4
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %17, i64 %20
%22 = getelementptr inbounds i8, ptr %21, i64 -1
store ptr %22, ptr %10, align 8
br label %23
23: ; preds = %90, %16
%24 = load ptr, ptr %10, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %24, %25
br i1 %26, label %27, label %93
27: ; preds = %23
%28 = load ptr, ptr %10, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 41
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %9, align 4
br label %90
35: ; preds = %27
%36 = load ptr, ptr %10, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 40
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
br label %89
43: ; preds = %35
%44 = load i32, ptr %9, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %88
46: ; preds = %43
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load ptr, ptr %10, align 8
%53 = load i8, ptr %52, align 1
%54 = call ptr @strchr(ptr noundef %51, i8 noundef signext %53)
%55 = icmp ne ptr %54, null
br i1 %55, label %56, label %88
56: ; preds = %46
%57 = load ptr, ptr %10, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 45
br i1 %60, label %61, label %66
61: ; preds = %56
%62 = load ptr, ptr %10, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 43
br i1 %65, label %80, label %66
66: ; preds = %61, %56
%67 = load ptr, ptr %10, align 8
%68 = load ptr, ptr %5, align 8
%69 = icmp ne ptr %67, %68
br i1 %69, label %70, label %87
70: ; preds = %66
%71 = load ptr, ptr %10, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 -1
%73 = load i8, ptr %72, align 1
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %8, align 4
%76 = add nsw i32 %75, 1
%77 = load i64, ptr %7, align 8
%78 = call i64 @IsRightSign(i8 noundef signext %73, ptr noundef %74, i32 noundef %76, i64 noundef %77)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %87
80: ; preds = %70, %61
%81 = load ptr, ptr %10, align 8
%82 = load ptr, ptr %5, align 8
%83 = ptrtoint ptr %81 to i64
%84 = ptrtoint ptr %82 to i64
%85 = sub i64 %83, %84
%86 = trunc i64 %85 to i32
store i32 %86, ptr %4, align 4
br label %98
87: ; preds = %70, %66
br label %88
88: ; preds = %87, %46, %43
br label %89
89: ; preds = %88, %40
br label %90
90: ; preds = %89, %32
%91 = load ptr, ptr %10, align 8
%92 = getelementptr inbounds i8, ptr %91, i32 -1
store ptr %92, ptr %10, align 8
br label %23, !llvm.loop !6
93: ; preds = %23
br label %94
94: ; preds = %93
%95 = load i32, ptr %8, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %8, align 4
br label %11, !llvm.loop !8
97: ; preds = %11
store i32 -1, ptr %4, align 4
br label %98
98: ; preds = %97, %80
%99 = load i32, ptr %4, align 4
ret i32 %99
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @IsRightSign(i8 noundef signext, ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmtuf2dz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetOperator(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = sext i32 %11 to i64
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph2, label %102
.lr.ph2: ; preds = %3
br label %15
15: ; preds = %.lr.ph2, %95
store i32 0, ptr %9, align 4
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %16, i64 %19
%21 = getelementptr inbounds i8, ptr %20, i64 -1
store ptr %21, ptr %10, align 8
%22 = load ptr, ptr %10, align 8
%23 = load ptr, ptr %5, align 8
%24 = icmp ne ptr %22, %23
br i1 %24, label %.lr.ph, label %94
.lr.ph: ; preds = %15
br label %25
25: ; preds = %.lr.ph, %88
%26 = load ptr, ptr %10, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 41
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %9, align 4
br label %88
33: ; preds = %25
%34 = load ptr, ptr %10, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 40
br i1 %37, label %38, label %41
38: ; preds = %33
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %87
41: ; preds = %33
%42 = load i32, ptr %9, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %86
44: ; preds = %41
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %10, align 8
%51 = load i8, ptr %50, align 1
%52 = call ptr @strchr(ptr noundef %49, i8 noundef signext %51)
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %86
54: ; preds = %44
%55 = load ptr, ptr %10, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 45
br i1 %58, label %59, label %64
59: ; preds = %54
%60 = load ptr, ptr %10, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 43
br i1 %63, label %78, label %64
64: ; preds = %59, %54
%65 = load ptr, ptr %10, align 8
%66 = load ptr, ptr %5, align 8
%67 = icmp ne ptr %65, %66
br i1 %67, label %68, label %85
68: ; preds = %64
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 -1
%71 = load i8, ptr %70, align 1
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
%75 = load i64, ptr %7, align 8
%76 = call i64 @IsRightSign(i8 noundef signext %71, ptr noundef %72, i32 noundef %74, i64 noundef %75)
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %85
78: ; preds = %68, %59
%79 = load ptr, ptr %10, align 8
%80 = load ptr, ptr %5, align 8
%81 = ptrtoint ptr %79 to i64
%82 = ptrtoint ptr %80 to i64
%83 = sub i64 %81, %82
%84 = trunc i64 %83 to i32
store i32 %84, ptr %4, align 4
br label %103
85: ; preds = %68, %64
br label %86
86: ; preds = %85, %44, %41
br label %87
87: ; preds = %86, %38
br label %88
88: ; preds = %87, %30
%89 = load ptr, ptr %10, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 -1
store ptr %90, ptr %10, align 8
%91 = load ptr, ptr %10, align 8
%92 = load ptr, ptr %5, align 8
%93 = icmp ne ptr %91, %92
br i1 %93, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %88
br label %94
94: ; preds = %._crit_edge, %15
br label %95
95: ; preds = %94
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %8, align 4
%98 = load i32, ptr %8, align 4
%99 = sext i32 %98 to i64
%100 = load i64, ptr %7, align 8
%101 = icmp ult i64 %99, %100
br i1 %101, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %102
102: ; preds = %._crit_edge3, %3
store i32 -1, ptr %4, align 4
br label %103
103: ; preds = %102, %78
%104 = load i32, ptr %4, align 4
ret i32 %104
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @IsRightSign(i8 noundef signext, ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.