llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmph9zjfb5k.c'
source_filename = "/tmp/tmph9zjfb5k.c"
target datalayout = "e-m:e-p270: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/tmph9zjfb5k.c"
target datalayout = "e-m:e-p270: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/tmp9o5v0kgy.c'
source_filename = "/tmp/tmp9o5v0kgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"The radius of the circle is: %f.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @seventeen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sitofp i32 %3 to double
%5 = fdiv double %4, 2.000000e+00
%6 = fptosi double %5 to i32
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9o5v0kgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"The radius of the circle is: %f.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @seventeen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sitofp i32 %3 to double
%5 = fdiv double %4, 2.000000e+00
%6 = fptosi double %5 to i32
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %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"}
|
; ModuleID = '/tmp/tmpg7sgupd1.c'
source_filename = "/tmp/tmpg7sgupd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spy_mach_read_from_4(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 @assert(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = zext i8 %7 to i32
%9 = shl i32 %8, 24
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 16
%15 = or i32 %9, %14
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 2
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = shl i32 %19, 8
%21 = or i32 %15, %20
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 3
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = or i32 %21, %25
ret i32 %26
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg7sgupd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spy_mach_read_from_4(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 @assert(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = zext i8 %7 to i32
%9 = shl i32 %8, 24
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 16
%15 = or i32 %9, %14
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 2
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = shl i32 %19, 8
%21 = or i32 %15, %20
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 3
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = or i32 %21, %25
ret i32 %26
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2s3e1hu7.c'
source_filename = "/tmp/tmp2s3e1hu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [12 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 12, i1 false)
%2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @Mystrlen(ptr noundef %2)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @Mystrlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2s3e1hu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [12 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 12, i1 false)
%2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @Mystrlen(ptr noundef %2)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef 12)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @Mystrlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3cmx83dx.c'
source_filename = "/tmp/tmp3cmx83dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [3 x i32] [i32 3, i32 3, i32 3], align 4
@.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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.arr, i64 12, i1 false)
store i32 3, ptr %3, align 4
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @QuickSort(ptr noundef %5, i32 noundef 0, i32 noundef 2)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %17, %0
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @QuickSort(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3cmx83dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.arr = private unnamed_addr constant [3 x i32] [i32 3, i32 3, i32 3], align 4
@.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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.arr, i64 12, i1 false)
store i32 3, ptr %3, align 4
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @QuickSort(ptr noundef %5, i32 noundef 0, i32 noundef 2)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %16
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @QuickSort(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkfofh2y3.c'
source_filename = "/tmp/tmpkfofh2y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clr_n_exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @endwin()
%4 = load i32, ptr %2, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @endwin(...) #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/tmpkfofh2y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clr_n_exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @endwin()
%4 = load i32, ptr %2, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @endwin(...) #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/tmp5efjeqas.c'
source_filename = "/tmp/tmp5efjeqas.c"
target datalayout = "e-m:e-p270: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/tmp5efjeqas.c"
target datalayout = "e-m:e-p270: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/tmpydisql3p.c'
source_filename = "/tmp/tmpydisql3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %0, %3
%4 = call i32 @sleep(i32 noundef 1)
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%8 = call i32 (...) @test_func()
br label %3
}
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @test_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydisql3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %3, %0
%4 = call i32 @sleep(i32 noundef 1)
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%8 = call i32 (...) @test_func()
br label %3
}
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @test_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdkwly_zs.c'
source_filename = "/tmp/tmpdkwly_zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Usage: fallocate [-npt] [-o offset] -l length filename\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_FAILURE, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdkwly_zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Usage: fallocate [-npt] [-o offset] -l length filename\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_FAILURE, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd1a0ljyb.c'
source_filename = "/tmp/tmpd1a0ljyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @letter_count(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%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 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %26, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = sub nsw i32 %20, 97
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %14, i64 %22
%24 = load i32, ptr %23, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %23, align 4
br label %26
26: ; preds = %13
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd1a0ljyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @letter_count(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%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 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %25
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = sub nsw i32 %19, 97
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %13, i64 %21
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %22, align 4
br label %25
25: ; preds = %12
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %2
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpchti5knk.c'
source_filename = "/tmp/tmpchti5knk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [82 x i8] c"################################################################################\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Utility to access TI Performance's J3 programmer for the Ford EEC-IV/V\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Build date: %s %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Mar 19 2022\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"01:00:46\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_header() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpchti5knk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [82 x i8] c"################################################################################\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Utility to access TI Performance's J3 programmer for the Ford EEC-IV/V\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Build date: %s %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Mar 19 2022\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"01:00:46\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_header() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphtjvnizo.c'
source_filename = "/tmp/tmphtjvnizo.c"
target datalayout = "e-m:e-p270: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/tmphtjvnizo.c"
target datalayout = "e-m:e-p270: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/tmp07g4uzms.c'
source_filename = "/tmp/tmp07g4uzms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"(+/-)1 %\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"(+/-)0.5 %\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"(+/-)0.25 %\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"(+/-)0.10 %\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"(+/-)0.05 %\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"(+/-)5 %\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"(+/-)10 %\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"ERR no such tolerance\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @colorToTolerance(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %40
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %7
store ptr @.str, ptr %2, align 8
br label %40
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %11
store ptr @.str, ptr %2, align 8
br label %40
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 5
br i1 %17, label %18, label %19
18: ; preds = %15
store ptr @.str.1, ptr %2, align 8
br label %40
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = icmp eq i32 %20, 6
br i1 %21, label %22, label %23
22: ; preds = %19
store ptr @.str.2, ptr %2, align 8
br label %40
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = icmp eq i32 %24, 7
br i1 %25, label %26, label %27
26: ; preds = %23
store ptr @.str.3, ptr %2, align 8
br label %40
27: ; preds = %23
%28 = load i32, ptr %3, align 4
%29 = icmp eq i32 %28, 8
br i1 %29, label %30, label %31
30: ; preds = %27
store ptr @.str.4, ptr %2, align 8
br label %40
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %35
34: ; preds = %31
store ptr @.str.5, ptr %2, align 8
br label %40
35: ; preds = %31
%36 = load i32, ptr %3, align 4
%37 = icmp eq i32 %36, 11
br i1 %37, label %38, label %39
38: ; preds = %35
store ptr @.str.6, ptr %2, align 8
br label %40
39: ; preds = %35
store ptr @.str.7, ptr %2, align 8
br label %40
40: ; preds = %39, %38, %34, %30, %26, %22, %18, %14, %10, %6
%41 = load ptr, ptr %2, align 8
ret ptr %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp07g4uzms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"(+/-)1 %\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"(+/-)0.5 %\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"(+/-)0.25 %\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"(+/-)0.10 %\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"(+/-)0.05 %\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"(+/-)5 %\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"(+/-)10 %\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"ERR no such tolerance\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @colorToTolerance(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %40
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %7
store ptr @.str, ptr %2, align 8
br label %40
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %11
store ptr @.str, ptr %2, align 8
br label %40
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 5
br i1 %17, label %18, label %19
18: ; preds = %15
store ptr @.str.1, ptr %2, align 8
br label %40
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = icmp eq i32 %20, 6
br i1 %21, label %22, label %23
22: ; preds = %19
store ptr @.str.2, ptr %2, align 8
br label %40
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = icmp eq i32 %24, 7
br i1 %25, label %26, label %27
26: ; preds = %23
store ptr @.str.3, ptr %2, align 8
br label %40
27: ; preds = %23
%28 = load i32, ptr %3, align 4
%29 = icmp eq i32 %28, 8
br i1 %29, label %30, label %31
30: ; preds = %27
store ptr @.str.4, ptr %2, align 8
br label %40
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %35
34: ; preds = %31
store ptr @.str.5, ptr %2, align 8
br label %40
35: ; preds = %31
%36 = load i32, ptr %3, align 4
%37 = icmp eq i32 %36, 11
br i1 %37, label %38, label %39
38: ; preds = %35
store ptr @.str.6, ptr %2, align 8
br label %40
39: ; preds = %35
store ptr @.str.7, ptr %2, align 8
br label %40
40: ; preds = %39, %38, %34, %30, %26, %22, %18, %14, %10, %6
%41 = load ptr, ptr %2, align 8
ret ptr %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpedn3l69a.c'
source_filename = "/tmp/tmpedn3l69a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pentagonal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 24, %4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @perfect_square(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = sitofp i32 %11 to double
%13 = call i64 @sqrt(double noundef %12)
%14 = trunc i64 %13 to i32
%15 = srem i32 %14, 6
%16 = icmp eq i32 %15, 5
br label %17
17: ; preds = %10, %1
%18 = phi i1 [ false, %1 ], [ %16, %10 ]
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i64 @perfect_square(i32 noundef) #1
declare i64 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpedn3l69a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pentagonal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 24, %4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @perfect_square(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = sitofp i32 %11 to double
%13 = call i64 @sqrt(double noundef %12)
%14 = trunc i64 %13 to i32
%15 = srem i32 %14, 6
%16 = icmp eq i32 %15, 5
br label %17
17: ; preds = %10, %1
%18 = phi i1 [ false, %1 ], [ %16, %10 ]
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i64 @perfect_square(i32 noundef) #1
declare i64 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphpoxju26.c'
source_filename = "/tmp/tmphpoxju26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant <{ [11 x i32], [989 x i32] }> <{ [11 x i32] [i32 10, i32 5, i32 4, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 1, i32 1], [989 x i32] zeroinitializer }>, align 16
@__const.main.b = private unnamed_addr constant <{ [8 x i32], [992 x i32] }> <{ [8 x i32] [i32 7, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], [992 x i32] zeroinitializer }>, align 16
; 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 [1000 x i32], align 16
%7 = alloca [1000 x i32], align 16
%8 = alloca [1000 x i32], align 16
%9 = alloca [1000 x i32], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 4000, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.b, i64 4000, i1 false)
store i32 1234, ptr %10, align 4
store i32 0, ptr %11, align 4
store ptr %11, ptr %12, align 8
%13 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%14 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%15 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%16 = call i32 @bigplus(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%19 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%20 = call i32 @bigsub(ptr noundef %17, ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%22 = load i32, ptr %10, align 4
%23 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%24 = call i32 @bigmult(ptr noundef %21, i32 noundef %22, ptr noundef %23)
%25 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%26 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%28 = call i32 @bigmult2(ptr noundef %25, ptr noundef %26, ptr noundef %27)
%29 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%30 = load i32, ptr %10, align 4
%31 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%32 = load ptr, ptr %12, align 8
%33 = call i32 @bigdiv(ptr noundef %29, i32 noundef %30, ptr noundef %31, ptr noundef %32)
%34 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%35 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%36 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%37 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0
%38 = call i32 @bigdiv2(ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37)
%39 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @bigplus(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @bigsub(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @bigmult(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @bigmult2(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @bigdiv(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @bigdiv2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @getchar(...) #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/tmphpoxju26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant <{ [11 x i32], [989 x i32] }> <{ [11 x i32] [i32 10, i32 5, i32 4, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 1, i32 1], [989 x i32] zeroinitializer }>, align 16
@__const.main.b = private unnamed_addr constant <{ [8 x i32], [992 x i32] }> <{ [8 x i32] [i32 7, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], [992 x i32] zeroinitializer }>, align 16
; 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 [1000 x i32], align 16
%7 = alloca [1000 x i32], align 16
%8 = alloca [1000 x i32], align 16
%9 = alloca [1000 x i32], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 4000, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.b, i64 4000, i1 false)
store i32 1234, ptr %10, align 4
store i32 0, ptr %11, align 4
store ptr %11, ptr %12, align 8
%13 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%14 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%15 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%16 = call i32 @bigplus(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%19 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%20 = call i32 @bigsub(ptr noundef %17, ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%22 = load i32, ptr %10, align 4
%23 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%24 = call i32 @bigmult(ptr noundef %21, i32 noundef %22, ptr noundef %23)
%25 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%26 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%28 = call i32 @bigmult2(ptr noundef %25, ptr noundef %26, ptr noundef %27)
%29 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%30 = load i32, ptr %10, align 4
%31 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%32 = load ptr, ptr %12, align 8
%33 = call i32 @bigdiv(ptr noundef %29, i32 noundef %30, ptr noundef %31, ptr noundef %32)
%34 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
%35 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 0
%36 = getelementptr inbounds [1000 x i32], ptr %8, i64 0, i64 0
%37 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0
%38 = call i32 @bigdiv2(ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37)
%39 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @bigplus(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @bigsub(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @bigmult(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @bigmult2(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @bigdiv(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @bigdiv2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @getchar(...) #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/tmpe0haa65y.c'
source_filename = "/tmp/tmpe0haa65y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.0f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mp_sprintf(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 2
store ptr %17, ptr %15, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %4
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
store i8 45, ptr %23, align 1
br label %25
25: ; preds = %22, %4
%26 = load ptr, ptr %15, align 8
%27 = getelementptr inbounds i16, ptr %26, i64 0
%28 = load i16, ptr %27, align 2
%29 = sext i16 %28 to i32
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %6, align 4
store i32 %30, ptr %14, align 4
%31 = load i32, ptr %6, align 4
store i32 %31, ptr %10, align 4
br label %32
32: ; preds = %52, %25
%33 = load i32, ptr %10, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %55
35: ; preds = %32
%36 = load i32, ptr %11, align 4
%37 = srem i32 %36, 10
store i32 %37, ptr %12, align 4
%38 = load i32, ptr %11, align 4
%39 = sdiv i32 %38, 10
store i32 %39, ptr %11, align 4
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 48, %40
%42 = trunc i32 %41 to i8
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
%47 = load i32, ptr %12, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %35
%50 = load i32, ptr %10, align 4
store i32 %50, ptr %14, align 4
br label %51
51: ; preds = %49, %35
br label %52
52: ; preds = %51
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %10, align 4
br label %32, !llvm.loop !6
55: ; preds = %32
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %14, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
store i8 %60, ptr %62, align 1
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 1
store i8 46, ptr %64, align 1
store i32 1, ptr %10, align 4
br label %65
65: ; preds = %84, %55
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %14, align 4
%69 = sub nsw i32 %67, %68
%70 = icmp sle i32 %66, %69
br i1 %70, label %71, label %87
71: ; preds = %65
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %14, align 4
%75 = add nsw i32 %73, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %72, i64 %76
%78 = load i8, ptr %77, align 1
%79 = load ptr, ptr %8, align 8
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %79, i64 %82
store i8 %78, ptr %83, align 1
br label %84
84: ; preds = %71
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %10, align 4
br label %65, !llvm.loop !8
87: ; preds = %65
%88 = load i32, ptr %6, align 4
%89 = load i32, ptr %14, align 4
%90 = sub nsw i32 %88, %89
store i32 %90, ptr %13, align 4
%91 = load i32, ptr %13, align 4
%92 = add nsw i32 %91, 2
%93 = load ptr, ptr %8, align 8
%94 = sext i32 %92 to i64
%95 = getelementptr inbounds i8, ptr %93, i64 %94
store ptr %95, ptr %8, align 8
store i32 1, ptr %9, align 4
br label %96
96: ; preds = %132, %87
%97 = load i32, ptr %9, align 4
%98 = load i32, ptr %5, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %135
100: ; preds = %96
%101 = load ptr, ptr %15, align 8
%102 = load i32, ptr %9, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i16, ptr %101, i64 %103
%105 = load i16, ptr %104, align 2
%106 = sext i16 %105 to i32
store i32 %106, ptr %11, align 4
%107 = load i32, ptr %6, align 4
%108 = sub nsw i32 %107, 1
store i32 %108, ptr %10, align 4
br label %109
109: ; preds = %124, %100
%110 = load i32, ptr %10, align 4
%111 = icmp sge i32 %110, 0
br i1 %111, label %112, label %127
112: ; preds = %109
%113 = load i32, ptr %11, align 4
%114 = srem i32 %113, 10
store i32 %114, ptr %12, align 4
%115 = load i32, ptr %11, align 4
%116 = sdiv i32 %115, 10
store i32 %116, ptr %11, align 4
%117 = load i32, ptr %12, align 4
%118 = add nsw i32 48, %117
%119 = trunc i32 %118 to i8
%120 = load ptr, ptr %8, align 8
%121 = load i32, ptr %10, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
store i8 %119, ptr %123, align 1
br label %124
124: ; preds = %112
%125 = load i32, ptr %10, align 4
%126 = add nsw i32 %125, -1
store i32 %126, ptr %10, align 4
br label %109, !llvm.loop !9
127: ; preds = %109
%128 = load i32, ptr %6, align 4
%129 = load ptr, ptr %8, align 8
%130 = sext i32 %128 to i64
%131 = getelementptr inbounds i8, ptr %129, i64 %130
store ptr %131, ptr %8, align 8
br label %132
132: ; preds = %127
%133 = load i32, ptr %9, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %9, align 4
br label %96, !llvm.loop !10
135: ; preds = %96
%136 = load ptr, ptr %8, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %8, align 8
store i8 101, ptr %136, align 1
%138 = load i32, ptr %6, align 4
%139 = load ptr, ptr %7, align 8
%140 = getelementptr inbounds i32, ptr %139, i64 1
%141 = load i32, ptr %140, align 4
%142 = mul nsw i32 %138, %141
%143 = load i32, ptr %13, align 4
%144 = add nsw i32 %143, %142
store i32 %144, ptr %13, align 4
%145 = load ptr, ptr %8, align 8
%146 = load i32, ptr %13, align 4
%147 = sitofp i32 %146 to double
%148 = call i32 @sprintf(ptr noundef %145, ptr noundef @.str, double noundef %147)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpe0haa65y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.0f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mp_sprintf(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 2
store ptr %17, ptr %15, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %4
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
store i8 45, ptr %23, align 1
br label %25
25: ; preds = %22, %4
%26 = load ptr, ptr %15, align 8
%27 = getelementptr inbounds i16, ptr %26, i64 0
%28 = load i16, ptr %27, align 2
%29 = sext i16 %28 to i32
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %6, align 4
store i32 %30, ptr %14, align 4
%31 = load i32, ptr %6, align 4
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %.lr.ph, label %56
.lr.ph: ; preds = %25
br label %34
34: ; preds = %.lr.ph, %51
%35 = load i32, ptr %11, align 4
%36 = srem i32 %35, 10
store i32 %36, ptr %12, align 4
%37 = load i32, ptr %11, align 4
%38 = sdiv i32 %37, 10
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %12, align 4
%40 = add nsw i32 48, %39
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
%46 = load i32, ptr %12, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %34
%49 = load i32, ptr %10, align 4
store i32 %49, ptr %14, align 4
br label %50
50: ; preds = %48, %34
br label %51
51: ; preds = %50
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %10, align 4
%55 = icmp sgt i32 %54, 0
br i1 %55, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %56
56: ; preds = %._crit_edge, %25
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %14, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = load ptr, ptr %8, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 0
store i8 %61, ptr %63, align 1
%64 = load ptr, ptr %8, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 1
store i8 46, ptr %65, align 1
store i32 1, ptr %10, align 4
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %14, align 4
%69 = sub nsw i32 %67, %68
%70 = icmp sle i32 %66, %69
br i1 %70, label %.lr.ph2, label %92
.lr.ph2: ; preds = %56
br label %71
71: ; preds = %.lr.ph2, %84
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %14, align 4
%75 = add nsw i32 %73, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %72, i64 %76
%78 = load i8, ptr %77, align 1
%79 = load ptr, ptr %8, align 8
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %79, i64 %82
store i8 %78, ptr %83, align 1
br label %84
84: ; preds = %71
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %10, align 4
%87 = load i32, ptr %10, align 4
%88 = load i32, ptr %6, align 4
%89 = load i32, ptr %14, align 4
%90 = sub nsw i32 %88, %89
%91 = icmp sle i32 %87, %90
br i1 %91, label %71, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %92
92: ; preds = %._crit_edge3, %56
%93 = load i32, ptr %6, align 4
%94 = load i32, ptr %14, align 4
%95 = sub nsw i32 %93, %94
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = add nsw i32 %96, 2
%98 = load ptr, ptr %8, align 8
%99 = sext i32 %97 to i64
%100 = getelementptr inbounds i8, ptr %98, i64 %99
store ptr %100, ptr %8, align 8
store i32 1, ptr %9, align 4
%101 = load i32, ptr %9, align 4
%102 = load i32, ptr %5, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %.lr.ph8, label %143
.lr.ph8: ; preds = %92
br label %104
104: ; preds = %.lr.ph8, %137
%105 = load ptr, ptr %15, align 8
%106 = load i32, ptr %9, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i16, ptr %105, i64 %107
%109 = load i16, ptr %108, align 2
%110 = sext i16 %109 to i32
store i32 %110, ptr %11, align 4
%111 = load i32, ptr %6, align 4
%112 = sub nsw i32 %111, 1
store i32 %112, ptr %10, align 4
%113 = load i32, ptr %10, align 4
%114 = icmp sge i32 %113, 0
br i1 %114, label %.lr.ph5, label %132
.lr.ph5: ; preds = %104
br label %115
115: ; preds = %.lr.ph5, %127
%116 = load i32, ptr %11, align 4
%117 = srem i32 %116, 10
store i32 %117, ptr %12, align 4
%118 = load i32, ptr %11, align 4
%119 = sdiv i32 %118, 10
store i32 %119, ptr %11, align 4
%120 = load i32, ptr %12, align 4
%121 = add nsw i32 48, %120
%122 = trunc i32 %121 to i8
%123 = load ptr, ptr %8, align 8
%124 = load i32, ptr %10, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %123, i64 %125
store i8 %122, ptr %126, align 1
br label %127
127: ; preds = %115
%128 = load i32, ptr %10, align 4
%129 = add nsw i32 %128, -1
store i32 %129, ptr %10, align 4
%130 = load i32, ptr %10, align 4
%131 = icmp sge i32 %130, 0
br i1 %131, label %115, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %127
br label %132
132: ; preds = %._crit_edge6, %104
%133 = load i32, ptr %6, align 4
%134 = load ptr, ptr %8, align 8
%135 = sext i32 %133 to i64
%136 = getelementptr inbounds i8, ptr %134, i64 %135
store ptr %136, ptr %8, align 8
br label %137
137: ; preds = %132
%138 = load i32, ptr %9, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %9, align 4
%140 = load i32, ptr %9, align 4
%141 = load i32, ptr %5, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %104, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %137
br label %143
143: ; preds = %._crit_edge9, %92
%144 = load ptr, ptr %8, align 8
%145 = getelementptr inbounds i8, ptr %144, i32 1
store ptr %145, ptr %8, align 8
store i8 101, ptr %144, align 1
%146 = load i32, ptr %6, align 4
%147 = load ptr, ptr %7, align 8
%148 = getelementptr inbounds i32, ptr %147, i64 1
%149 = load i32, ptr %148, align 4
%150 = mul nsw i32 %146, %149
%151 = load i32, ptr %13, align 4
%152 = add nsw i32 %151, %150
store i32 %152, ptr %13, align 4
%153 = load ptr, ptr %8, align 8
%154 = load i32, ptr %13, align 4
%155 = sitofp i32 %154 to double
%156 = call i32 @sprintf(ptr noundef %153, ptr noundef @.str, double noundef %155)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpxpnj8gtf.c'
source_filename = "/tmp/tmpxpnj8gtf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FIND_MAX(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call ptr @pre_process(ptr noundef %8, i32 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %7, align 4
store i32 1, ptr %6, align 4
br label %14
14: ; preds = %33, %2
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %36
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %23, %24
br i1 %25, label %26, label %32
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %26, %18
br label %33
33: ; preds = %32
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %14, !llvm.loop !6
36: ; preds = %14
%37 = load ptr, ptr %5, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load i32, ptr %7, align 4
ret i32 %39
}
declare ptr @pre_process(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxpnj8gtf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FIND_MAX(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call ptr @pre_process(ptr noundef %8, i32 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %7, align 4
store i32 1, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %32
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %31
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %25, %17
br label %32
32: ; preds = %31
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %2
%39 = load ptr, ptr %5, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = load i32, ptr %7, align 4
ret i32 %41
}
declare ptr @pre_process(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbt0s5mbe.c'
source_filename = "/tmp/tmpbt0s5mbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main_() #0 {
%1 = call i32 @jiecheng(i32 noundef 3)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @jiecheng(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/tmpbt0s5mbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main_() #0 {
%1 = call i32 @jiecheng(i32 noundef 3)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @jiecheng(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/tmpxd0fe7v7.c'
source_filename = "/tmp/tmpxd0fe7v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smellslike_msn_messenger(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = call i64 @smellslike_httprequest(ptr noundef %10, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %125
15: ; preds = %2
br label %16
16: ; preds = %31, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ult i32 %17, %18
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef zeroext %25)
%27 = icmp ne i64 %26, 0
%28 = xor i1 %27, true
br label %29
29: ; preds = %20, %16
%30 = phi i1 [ false, %16 ], [ %28, %20 ]
br i1 %30, label %31, label %36
31: ; preds = %29
%32 = load i32, ptr %6, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %7, align 4
br label %16, !llvm.loop !6
36: ; preds = %29
br label %37
37: ; preds = %59, %36
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp ult i32 %38, %39
br i1 %40, label %41, label %57
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = icmp ne i32 %47, 10
br i1 %48, label %49, label %57
49: ; preds = %41
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %6, align 4
%52 = zext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = call i64 @isspace(i8 noundef zeroext %54)
%56 = icmp ne i64 %55, 0
br label %57
57: ; preds = %49, %41, %37
%58 = phi i1 [ false, %41 ], [ false, %37 ], [ %56, %49 ]
br i1 %58, label %59, label %62
59: ; preds = %57
%60 = load i32, ptr %6, align 4
%61 = add i32 %60, 1
store i32 %61, ptr %6, align 4
br label %37, !llvm.loop !8
62: ; preds = %57
br label %63
63: ; preds = %77, %62
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %5, align 4
%66 = icmp ult i32 %64, %65
br i1 %66, label %67, label %75
67: ; preds = %63
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %6, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = zext i8 %72 to i32
%74 = icmp ne i32 %73, 10
br label %75
75: ; preds = %67, %63
%76 = phi i1 [ false, %63 ], [ %74, %67 ]
br i1 %76, label %77, label %80
77: ; preds = %75
%78 = load i32, ptr %6, align 4
%79 = add i32 %78, 1
store i32 %79, ptr %6, align 4
br label %63, !llvm.loop !9
80: ; preds = %75
%81 = load i32, ptr %6, align 4
store i32 %81, ptr %9, align 4
store i32 0, ptr %6, align 4
br label %82
82: ; preds = %106, %80
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %5, align 4
%85 = icmp ult i32 %83, %84
br i1 %85, label %86, label %109
86: ; preds = %82
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %6, align 4
%89 = zext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
%91 = load i8, ptr %90, align 1
%92 = call i64 @isprint(i8 noundef zeroext %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %105, label %94
94: ; preds = %86
%95 = load ptr, ptr %4, align 8
%96 = load i32, ptr %6, align 4
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %95, i64 %97
%99 = load i8, ptr %98, align 1
%100 = call i64 @isspace(i8 noundef zeroext %99)
%101 = icmp ne i64 %100, 0
br i1 %101, label %105, label %102
102: ; preds = %94
%103 = load i32, ptr %8, align 4
%104 = add i32 %103, 1
store i32 %104, ptr %8, align 4
br label %105
105: ; preds = %102, %94, %86
br label %106
106: ; preds = %105
%107 = load i32, ptr %6, align 4
%108 = add i32 %107, 1
store i32 %108, ptr %6, align 4
br label %82, !llvm.loop !10
109: ; preds = %82
%110 = load i32, ptr %7, align 4
%111 = icmp eq i32 %110, 3
br i1 %111, label %112, label %124
112: ; preds = %109
%113 = load ptr, ptr %4, align 8
%114 = load i32, ptr %9, align 4
%115 = zext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
%117 = load i8, ptr %116, align 1
%118 = zext i8 %117 to i32
%119 = icmp eq i32 %118, 10
br i1 %119, label %120, label %124
120: ; preds = %112
%121 = load i32, ptr %8, align 4
%122 = icmp eq i32 %121, 0
br i1 %122, label %123, label %124
123: ; preds = %120
store i32 1, ptr %3, align 4
br label %125
124: ; preds = %120, %112, %109
store i32 0, ptr %3, align 4
br label %125
125: ; preds = %124, %123, %14
%126 = load i32, ptr %3, align 4
ret i32 %126
}
declare i64 @smellslike_httprequest(ptr noundef, i32 noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @isprint(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxd0fe7v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smellslike_msn_messenger(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = call i64 @smellslike_httprequest(ptr noundef %10, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %127
15: ; preds = %2
br label %16
16: ; preds = %31, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ult i32 %17, %18
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef zeroext %25)
%27 = icmp ne i64 %26, 0
%28 = xor i1 %27, true
br label %29
29: ; preds = %20, %16
%30 = phi i1 [ false, %16 ], [ %28, %20 ]
br i1 %30, label %31, label %36
31: ; preds = %29
%32 = load i32, ptr %6, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %7, align 4
br label %16, !llvm.loop !6
36: ; preds = %29
br label %37
37: ; preds = %59, %36
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp ult i32 %38, %39
br i1 %40, label %41, label %57
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = icmp ne i32 %47, 10
br i1 %48, label %49, label %57
49: ; preds = %41
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %6, align 4
%52 = zext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = call i64 @isspace(i8 noundef zeroext %54)
%56 = icmp ne i64 %55, 0
br label %57
57: ; preds = %49, %41, %37
%58 = phi i1 [ false, %41 ], [ false, %37 ], [ %56, %49 ]
br i1 %58, label %59, label %62
59: ; preds = %57
%60 = load i32, ptr %6, align 4
%61 = add i32 %60, 1
store i32 %61, ptr %6, align 4
br label %37, !llvm.loop !8
62: ; preds = %57
br label %63
63: ; preds = %77, %62
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %5, align 4
%66 = icmp ult i32 %64, %65
br i1 %66, label %67, label %75
67: ; preds = %63
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %6, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = zext i8 %72 to i32
%74 = icmp ne i32 %73, 10
br label %75
75: ; preds = %67, %63
%76 = phi i1 [ false, %63 ], [ %74, %67 ]
br i1 %76, label %77, label %80
77: ; preds = %75
%78 = load i32, ptr %6, align 4
%79 = add i32 %78, 1
store i32 %79, ptr %6, align 4
br label %63, !llvm.loop !9
80: ; preds = %75
%81 = load i32, ptr %6, align 4
store i32 %81, ptr %9, align 4
store i32 0, ptr %6, align 4
%82 = load i32, ptr %6, align 4
%83 = load i32, ptr %5, align 4
%84 = icmp ult i32 %82, %83
br i1 %84, label %.lr.ph, label %111
.lr.ph: ; preds = %80
br label %85
85: ; preds = %.lr.ph, %105
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %6, align 4
%88 = zext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = call i64 @isprint(i8 noundef zeroext %90)
%92 = icmp ne i64 %91, 0
br i1 %92, label %104, label %93
93: ; preds = %85
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %6, align 4
%96 = zext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
%98 = load i8, ptr %97, align 1
%99 = call i64 @isspace(i8 noundef zeroext %98)
%100 = icmp ne i64 %99, 0
br i1 %100, label %104, label %101
101: ; preds = %93
%102 = load i32, ptr %8, align 4
%103 = add i32 %102, 1
store i32 %103, ptr %8, align 4
br label %104
104: ; preds = %101, %93, %85
br label %105
105: ; preds = %104
%106 = load i32, ptr %6, align 4
%107 = add i32 %106, 1
store i32 %107, ptr %6, align 4
%108 = load i32, ptr %6, align 4
%109 = load i32, ptr %5, align 4
%110 = icmp ult i32 %108, %109
br i1 %110, label %85, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %105
br label %111
111: ; preds = %._crit_edge, %80
%112 = load i32, ptr %7, align 4
%113 = icmp eq i32 %112, 3
br i1 %113, label %114, label %126
114: ; preds = %111
%115 = load ptr, ptr %4, align 8
%116 = load i32, ptr %9, align 4
%117 = zext i32 %116 to i64
%118 = getelementptr inbounds i8, ptr %115, i64 %117
%119 = load i8, ptr %118, align 1
%120 = zext i8 %119 to i32
%121 = icmp eq i32 %120, 10
br i1 %121, label %122, label %126
122: ; preds = %114
%123 = load i32, ptr %8, align 4
%124 = icmp eq i32 %123, 0
br i1 %124, label %125, label %126
125: ; preds = %122
store i32 1, ptr %3, align 4
br label %127
126: ; preds = %122, %114, %111
store i32 0, ptr %3, align 4
br label %127
127: ; preds = %126, %125, %14
%128 = load i32, ptr %3, align 4
ret i32 %128
}
declare i64 @smellslike_httprequest(ptr noundef, i32 noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @isprint(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp4l224w7t.c'
source_filename = "/tmp/tmp4l224w7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmntent_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4l224w7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmntent_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4tq0gieg.c'
source_filename = "/tmp/tmp4tq0gieg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-cat/.libs/lt-fc-cat.c\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"(lt_update_lib_path) modifying '%s' by prepending '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lt_update_lib_path(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 = call i32 @nonnull(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @nonnull(ptr noundef %8)
%10 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 684, ptr noundef @.str.1, i32 noundef %7, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %42
13: ; preds = %2
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %42
21: ; preds = %18
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %42
26: ; preds = %21
%27 = load ptr, ptr %3, align 8
%28 = call i32 @getenv(ptr noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = call ptr @lt_extend_str(i32 noundef %28, ptr noundef %29, i32 noundef 0)
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %5, align 8
%33 = call i32 @lt_setenv(ptr noundef %31, ptr noundef %32)
br label %34
34: ; preds = %26
%35 = load ptr, ptr %5, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load ptr, ptr %5, align 8
%39 = call i32 @free(ptr noundef %38)
store ptr null, ptr %5, align 8
br label %40
40: ; preds = %37, %34
br label %41
41: ; preds = %40
br label %42
42: ; preds = %41, %21, %18, %13, %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 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4tq0gieg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-cat/.libs/lt-fc-cat.c\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"(lt_update_lib_path) modifying '%s' by prepending '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lt_update_lib_path(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 = call i32 @nonnull(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @nonnull(ptr noundef %8)
%10 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 684, ptr noundef @.str.1, i32 noundef %7, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %42
13: ; preds = %2
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %42
21: ; preds = %18
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %42
26: ; preds = %21
%27 = load ptr, ptr %3, align 8
%28 = call i32 @getenv(ptr noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = call ptr @lt_extend_str(i32 noundef %28, ptr noundef %29, i32 noundef 0)
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %5, align 8
%33 = call i32 @lt_setenv(ptr noundef %31, ptr noundef %32)
br label %34
34: ; preds = %26
%35 = load ptr, ptr %5, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load ptr, ptr %5, align 8
%39 = call i32 @free(ptr noundef %38)
store ptr null, ptr %5, align 8
br label %40
40: ; preds = %37, %34
br label %41
41: ; preds = %40
br label %42
42: ; preds = %41, %21, %18, %13, %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 @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"}
|
; ModuleID = '/tmp/tmps3k2sq7t.c'
source_filename = "/tmp/tmps3k2sq7t.c"
target datalayout = "e-m:e-p270: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/tmps3k2sq7t.c"
target datalayout = "e-m:e-p270: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/tmp3vof75qr.c'
source_filename = "/tmp/tmp3vof75qr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"ERROR: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i64, ptr @errno, align 8
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @perror(ptr noundef %6)
br label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
br label %11
11: ; preds = %8, %5
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr 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/tmp3vof75qr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"ERROR: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i64, ptr @errno, align 8
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @perror(ptr noundef %6)
br label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
br label %11
11: ; preds = %8, %5
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr 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/tmp9tc5yy1n.c'
source_filename = "/tmp/tmp9tc5yy1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vsubr_arithimm_0_int8_t(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 = %21, %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 %24
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 i64, ptr %11, i64 %13
%15 = load i64, ptr %14, align 8
%16 = sub nsw i64 0, %15
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i64, ptr %17, i64 %19
store i64 %16, ptr %20, align 8
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9tc5yy1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vsubr_arithimm_0_int8_t(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 %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %10, i64 %12
%14 = load i64, ptr %13, align 8
%15 = sub nsw i64 0, %14
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i64, ptr %16, i64 %18
store i64 %15, ptr %19, align 8
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc2gkhd_f.c'
source_filename = "/tmp/tmpc2gkhd_f.c"
target datalayout = "e-m:e-p270: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/tmpc2gkhd_f.c"
target datalayout = "e-m:e-p270: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/tmp05c1mw37.c'
source_filename = "/tmp/tmp05c1mw37.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"\0A?Panic in line %d of file %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Unespected UNIX error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @panic(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
%7 = call i32 @perror(ptr noundef @.str.1)
%8 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp05c1mw37.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"\0A?Panic in line %d of file %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Unespected UNIX error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @panic(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
%7 = call i32 @perror(ptr noundef @.str.1)
%8 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyh5gytcv.c'
source_filename = "/tmp/tmpyh5gytcv.c"
target datalayout = "e-m:e-p270: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/tmpyh5gytcv.c"
target datalayout = "e-m:e-p270: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/tmpstxjq_xw.c'
source_filename = "/tmp/tmpstxjq_xw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %20, %2
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = load ptr, ptr %4, align 8
%15 = call i32 @check_char(i8 noundef signext %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br label %18
18: ; preds = %11, %6
%19 = phi i1 [ false, %6 ], [ %17, %11 ]
br i1 %19, label %20, label %25
20: ; preds = %18
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
br label %6, !llvm.loop !6
25: ; preds = %18
%26 = load i32, ptr %5, align 4
ret i32 %26
}
declare i32 @check_char(i8 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpstxjq_xw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %20, %2
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = load ptr, ptr %4, align 8
%15 = call i32 @check_char(i8 noundef signext %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br label %18
18: ; preds = %11, %6
%19 = phi i1 [ false, %6 ], [ %17, %11 ]
br i1 %19, label %20, label %25
20: ; preds = %18
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
br label %6, !llvm.loop !6
25: ; preds = %18
%26 = load i32, ptr %5, align 4
ret i32 %26
}
declare i32 @check_char(i8 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0olmfto_.c'
source_filename = "/tmp/tmp0olmfto_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DISTCC_BACKOFF_PERIOD\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"backoff\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dcc_enjoyed_host(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = call ptr @getenv(ptr noundef @.str)
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = call i64 @atoi(ptr noundef %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %16
13: ; preds = %8, %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @dcc_remove_timefile(ptr noundef @.str.1, ptr noundef %14)
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %13, %12
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare ptr @getenv(ptr noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i32 @dcc_remove_timefile(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/tmp0olmfto_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DISTCC_BACKOFF_PERIOD\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"backoff\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dcc_enjoyed_host(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = call ptr @getenv(ptr noundef @.str)
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = call i64 @atoi(ptr noundef %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %16
13: ; preds = %8, %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @dcc_remove_timefile(ptr noundef @.str.1, ptr noundef %14)
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %13, %12
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare ptr @getenv(ptr noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i32 @dcc_remove_timefile(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/tmps8c3vojd.c'
source_filename = "/tmp/tmps8c3vojd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcalloc(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 %4, align 8
%7 = call i32 @assert(i64 noundef %6)
%8 = load i64, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = call ptr @calloc(i64 noundef %8, i64 noundef %9) #3
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @oom()
br label %15
15: ; preds = %13, %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
declare i32 @assert(i64 noundef) #1
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #2
declare i32 @oom(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(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 #3 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps8c3vojd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcalloc(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 %4, align 8
%7 = call i32 @assert(i64 noundef %6)
%8 = load i64, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = call ptr @calloc(i64 noundef %8, i64 noundef %9) #3
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @oom()
br label %15
15: ; preds = %13, %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
declare i32 @assert(i64 noundef) #1
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #2
declare i32 @oom(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(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 #3 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyf1jy130.c'
source_filename = "/tmp/tmpyf1jy130.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"wordlist.txt\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"error: Failed to load wordlist '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = call ptr @wlist_load(ptr noundef @.str)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef @.str)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %6, align 8
%15 = call i32 @wlist_show(ptr noundef %14)
ret i32 0
}
declare ptr @wlist_load(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @wlist_show(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyf1jy130.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"wordlist.txt\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"error: Failed to load wordlist '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = call ptr @wlist_load(ptr noundef @.str)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef @.str)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %6, align 8
%15 = call i32 @wlist_show(ptr noundef %14)
ret i32 0
}
declare ptr @wlist_load(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @wlist_show(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwvi7rrne.c'
source_filename = "/tmp/tmpwvi7rrne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Unable to allocate memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @emalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @fail(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fail(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwvi7rrne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Unable to allocate memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @emalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @fail(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fail(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplip7p4_c.c'
source_filename = "/tmp/tmplip7p4_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @time(ptr noundef null)
%4 = call i32 @srand(i32 noundef %3)
store ptr null, ptr %2, align 8
%5 = call ptr (...) @allocate()
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @generate(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @output(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @summary(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @deallocate(ptr noundef %12)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @allocate(...) #1
declare i32 @generate(ptr noundef) #1
declare i32 @output(ptr noundef) #1
declare i32 @summary(ptr noundef) #1
declare i32 @deallocate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplip7p4_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @time(ptr noundef null)
%4 = call i32 @srand(i32 noundef %3)
store ptr null, ptr %2, align 8
%5 = call ptr (...) @allocate()
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @generate(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @output(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @summary(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @deallocate(ptr noundef %12)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @allocate(...) #1
declare i32 @generate(ptr noundef) #1
declare i32 @output(ptr noundef) #1
declare i32 @summary(ptr noundef) #1
declare i32 @deallocate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzimm6jrk.c'
source_filename = "/tmp/tmpzimm6jrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Enter the number of elements in array\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Enter %d integer(s)\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Enter the number to search\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"%d is present at location %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"%d is not present in array.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %5, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %24, %0
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %12, i64 %21
%23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%29 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %47, %27
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %50
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %12, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %46
41: ; preds = %34
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42, i32 noundef %44)
br label %50
46: ; preds = %34
br label %47
47: ; preds = %46
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
br label %30, !llvm.loop !8
50: ; preds = %41, %30
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i32, ptr %2, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %55)
br label %57
57: ; preds = %54, %50
store i32 0, ptr %1, align 4
%58 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %58)
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; 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/tmpzimm6jrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Enter the number of elements in array\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Enter %d integer(s)\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Enter the number to search\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"%d is present at location %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"%d is not present in array.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %5, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
store i32 0, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %23
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %12, i64 %20
%22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%31 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %29
br label %35
35: ; preds = %.lr.ph2, %48
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %12, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %47
42: ; preds = %35
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43, i32 noundef %45)
br label %54
47: ; preds = %35
br label %48
48: ; preds = %47
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %35, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %48
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %29
br label %54
54: ; preds = %.loopexit, %42
%55 = load i32, ptr %3, align 4
%56 = load i32, ptr %4, align 4
%57 = icmp eq i32 %55, %56
br i1 %57, label %58, label %61
58: ; preds = %54
%59 = load i32, ptr %2, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %59)
br label %61
61: ; preds = %58, %54
store i32 0, ptr %1, align 4
%62 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %62)
%63 = load i32, ptr %1, align 4
ret i32 %63
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; 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/tmpv_i7udwx.c'
source_filename = "/tmp/tmpv_i7udwx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__filt_even(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load i32, ptr %7, align 4
%9 = srem i32 %8, 2
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
%12 = zext i1 %11 to i32
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv_i7udwx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__filt_even(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load i32, ptr %7, align 4
%9 = srem i32 %8, 2
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
%12 = zext i1 %11 to i32
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp75b4i2mt.c'
source_filename = "/tmp/tmp75b4i2mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsave(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 i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @mal_malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %11, %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare i64 @mal_malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp75b4i2mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsave(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 i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @mal_malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %11, %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare i64 @mal_malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprki30ky4.c'
source_filename = "/tmp/tmprki30ky4.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"comm: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"comm: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %13
7: ; preds = %2
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %11)
br label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %13, %7
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprki30ky4.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"comm: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"comm: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %13
7: ; preds = %2
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %11)
br label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %13, %7
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg7ev_vyr.c'
source_filename = "/tmp/tmpg7ev_vyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden i32 @SYS_Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sleep(i32 noundef %3)
ret i32 %4
}
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg7ev_vyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden i32 @SYS_Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sleep(i32 noundef %3)
ret i32 %4
}
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptzbte7ac.c'
source_filename = "/tmp/tmptzbte7ac.c"
target datalayout = "e-m:e-p270: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/tmptzbte7ac.c"
target datalayout = "e-m:e-p270: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/tmpmswxn4eg.c'
source_filename = "/tmp/tmpmswxn4eg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NormalizeVector(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %24, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
%22 = load double, ptr %6, align 8
%23 = call double @llvm.fmuladd.f64(double %16, double %21, double %22)
store double %23, ptr %6, align 8
br label %24
24: ; preds = %11
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
%28 = load double, ptr %6, align 8
%29 = call double @sqrt(double noundef %28) #3
store double %29, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %30
30: ; preds = %46, %27
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %49
34: ; preds = %30
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load double, ptr %6, align 8
%41 = fdiv double %39, %40
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
store double %41, ptr %45, align 8
br label %46
46: ; preds = %34
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
br label %30, !llvm.loop !8
49: ; preds = %30
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmswxn4eg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NormalizeVector(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %23
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = load double, ptr %6, align 8
%22 = call double @llvm.fmuladd.f64(double %15, double %20, double %21)
store double %22, ptr %6, align 8
br label %23
23: ; preds = %10
%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 %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = load double, ptr %6, align 8
%31 = call double @sqrt(double noundef %30) #3
store double %31, ptr %6, align 8
store i32 0, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %53
.lr.ph2: ; preds = %29
br label %35
35: ; preds = %.lr.ph2, %47
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
%41 = load double, ptr %6, align 8
%42 = fdiv double %40, %41
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %43, i64 %45
store double %42, ptr %46, align 8
br label %47
47: ; preds = %35
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %53
53: ; preds = %._crit_edge3, %29
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphtvhsymv.c'
source_filename = "/tmp/tmphtvhsymv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @density(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call float @eval(i32 noundef %6, i32 noundef %7)
store float %8, ptr %5, align 4
%9 = load float, ptr %5, align 4
%10 = fpext float %9 to double
%11 = fdiv double %10, 5.000000e+00
%12 = fptrunc double %11 to float
store float %12, ptr %5, align 4
%13 = load float, ptr %5, align 4
ret float %13
}
declare float @eval(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/tmphtvhsymv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @density(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call float @eval(i32 noundef %6, i32 noundef %7)
store float %8, ptr %5, align 4
%9 = load float, ptr %5, align 4
%10 = fpext float %9 to double
%11 = fdiv double %10, 5.000000e+00
%12 = fptrunc double %11 to float
store float %12, ptr %5, align 4
%13 = load float, ptr %5, align 4
ret float %13
}
declare float @eval(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/tmpbqgsllum.c'
source_filename = "/tmp/tmpbqgsllum.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i32, i32, ptr }
@SA_NODEFER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mysignal(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.sigaction, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 2
store ptr %6, ptr %7, align 8
%8 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 1
%9 = call i32 @sigemptyset(ptr noundef %8)
%10 = load i32, ptr @SA_NODEFER, align 4
%11 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
store i32 %10, ptr %11, align 8
%12 = load i32, ptr %3, align 4
%13 = call i32 @sigaction(i32 noundef %12, ptr noundef %5, i32 noundef 0)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbqgsllum.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i32, i32, ptr }
@SA_NODEFER = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mysignal(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.sigaction, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 2
store ptr %6, ptr %7, align 8
%8 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 1
%9 = call i32 @sigemptyset(ptr noundef %8)
%10 = load i32, ptr @SA_NODEFER, align 4
%11 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
store i32 %10, ptr %11, align 8
%12 = load i32, ptr %3, align 4
%13 = call i32 @sigaction(i32 noundef %12, ptr noundef %5, i32 noundef 0)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaction(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqjf7mfef.c'
source_filename = "/tmp/tmpqjf7mfef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"most\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_h(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store ptr @.str, ptr %13, align 8
store i32 -1, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %10, align 4
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %13, align 8
%20 = call i32 @f_help(i32 noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef null, ptr noundef %19)
%21 = call i32 @err_bin(i32 noundef 1)
%22 = call i32 @err_string(i32 noundef 1)
ret i32 1
}
declare i32 @f_help(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @err_bin(i32 noundef) #1
declare i32 @err_string(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/tmpqjf7mfef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"most\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_h(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store ptr @.str, ptr %13, align 8
store i32 -1, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %10, align 4
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %13, align 8
%20 = call i32 @f_help(i32 noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef null, ptr noundef %19)
%21 = call i32 @err_bin(i32 noundef 1)
%22 = call i32 @err_string(i32 noundef 1)
ret i32 1
}
declare i32 @f_help(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @err_bin(i32 noundef) #1
declare i32 @err_string(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/tmp6uvznkga.c'
source_filename = "/tmp/tmp6uvznkga.c"
target datalayout = "e-m:e-p270: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/tmp6uvznkga.c"
target datalayout = "e-m:e-p270: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/tmpzssotvyl.c'
source_filename = "/tmp/tmpzssotvyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iso_aa_get_acl_text(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i64 0, ptr %13, align 8
store ptr null, ptr %14, align 8
store ptr null, ptr %15, align 8
store ptr null, ptr %16, align 8
%17 = load i32, ptr %11, align 4
%18 = and i32 %17, 32768
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %5
%21 = load i64, ptr %13, align 8
%22 = load ptr, ptr %15, align 8
%23 = load ptr, ptr %14, align 8
%24 = load ptr, ptr %16, align 8
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %10, align 8
%28 = call i32 @iso_attr_get_acl_text(i64 noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, i32 noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef 32768)
store i32 1, ptr %6, align 4
br label %49
29: ; preds = %5
%30 = load ptr, ptr %7, align 8
%31 = call i32 @iso_aa_get_attrs(ptr noundef %30, ptr noundef %13, ptr noundef %15, ptr noundef %14, ptr noundef %16, i32 noundef 1)
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %12, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %29
br label %45
35: ; preds = %29
%36 = load i64, ptr %13, align 8
%37 = load ptr, ptr %15, align 8
%38 = load ptr, ptr %14, align 8
%39 = load ptr, ptr %16, align 8
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %9, align 8
%42 = load ptr, ptr %10, align 8
%43 = load i32, ptr %11, align 4
%44 = call i32 @iso_attr_get_acl_text(i64 noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43)
store i32 %44, ptr %12, align 4
br label %45
45: ; preds = %35, %34
%46 = load ptr, ptr %7, align 8
%47 = call i32 @iso_aa_get_attrs(ptr noundef %46, ptr noundef %13, ptr noundef %15, ptr noundef %14, ptr noundef %16, i32 noundef 32768)
%48 = load i32, ptr %12, align 4
store i32 %48, ptr %6, align 4
br label %49
49: ; preds = %45, %20
%50 = load i32, ptr %6, align 4
ret i32 %50
}
declare i32 @iso_attr_get_acl_text(i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iso_aa_get_attrs(ptr noundef, ptr noundef, ptr noundef, 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/tmpzssotvyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iso_aa_get_acl_text(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i64 0, ptr %13, align 8
store ptr null, ptr %14, align 8
store ptr null, ptr %15, align 8
store ptr null, ptr %16, align 8
%17 = load i32, ptr %11, align 4
%18 = and i32 %17, 32768
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %5
%21 = load i64, ptr %13, align 8
%22 = load ptr, ptr %15, align 8
%23 = load ptr, ptr %14, align 8
%24 = load ptr, ptr %16, align 8
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %10, align 8
%28 = call i32 @iso_attr_get_acl_text(i64 noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, i32 noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef 32768)
store i32 1, ptr %6, align 4
br label %49
29: ; preds = %5
%30 = load ptr, ptr %7, align 8
%31 = call i32 @iso_aa_get_attrs(ptr noundef %30, ptr noundef %13, ptr noundef %15, ptr noundef %14, ptr noundef %16, i32 noundef 1)
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %12, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %29
br label %45
35: ; preds = %29
%36 = load i64, ptr %13, align 8
%37 = load ptr, ptr %15, align 8
%38 = load ptr, ptr %14, align 8
%39 = load ptr, ptr %16, align 8
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %9, align 8
%42 = load ptr, ptr %10, align 8
%43 = load i32, ptr %11, align 4
%44 = call i32 @iso_attr_get_acl_text(i64 noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43)
store i32 %44, ptr %12, align 4
br label %45
45: ; preds = %35, %34
%46 = load ptr, ptr %7, align 8
%47 = call i32 @iso_aa_get_attrs(ptr noundef %46, ptr noundef %13, ptr noundef %15, ptr noundef %14, ptr noundef %16, i32 noundef 32768)
%48 = load i32, ptr %12, align 4
store i32 %48, ptr %6, align 4
br label %49
49: ; preds = %45, %20
%50 = load i32, ptr %6, align 4
ret i32 %50
}
declare i32 @iso_attr_get_acl_text(i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iso_aa_get_attrs(ptr noundef, ptr noundef, ptr noundef, 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/tmp2al8gb35.c'
source_filename = "/tmp/tmp2al8gb35.c"
target datalayout = "e-m:e-p270: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/tmp2al8gb35.c"
target datalayout = "e-m:e-p270: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/tmpf1jhcw43.c'
source_filename = "/tmp/tmpf1jhcw43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fspath_is_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf1jhcw43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fspath_is_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1t2rbd5y.c'
source_filename = "/tmp/tmp1t2rbd5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readlink(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1t2rbd5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readlink(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt0rd2ss6.c'
source_filename = "/tmp/tmpt0rd2ss6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"2147483647\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr_fd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 2147483647
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = call i32 @ft_putstr_fd(ptr noundef @.str, i32 noundef %8)
br label %29
10: ; preds = %2
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = icmp eq i64 %12, -2147483648
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = call i32 @ft_putstr_fd(ptr noundef @.str.1, i32 noundef %15)
br label %29
17: ; preds = %10
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %21, -1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @ft_putchar_fd(i8 noundef signext 45, i32 noundef %23)
br label %25
25: ; preds = %20, %17
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = call i32 @ft_putn_fd(i32 noundef %26, i32 noundef %27)
br label %29
29: ; preds = %25, %14, %7
ret void
}
declare i32 @ft_putstr_fd(ptr noundef, i32 noundef) #1
declare i32 @ft_putchar_fd(i8 noundef signext, i32 noundef) #1
declare i32 @ft_putn_fd(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/tmpt0rd2ss6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"2147483647\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr_fd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 2147483647
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = call i32 @ft_putstr_fd(ptr noundef @.str, i32 noundef %8)
br label %29
10: ; preds = %2
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = icmp eq i64 %12, -2147483648
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = call i32 @ft_putstr_fd(ptr noundef @.str.1, i32 noundef %15)
br label %29
17: ; preds = %10
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %21, -1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @ft_putchar_fd(i8 noundef signext 45, i32 noundef %23)
br label %25
25: ; preds = %20, %17
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = call i32 @ft_putn_fd(i32 noundef %26, i32 noundef %27)
br label %29
29: ; preds = %25, %14, %7
ret void
}
declare i32 @ft_putstr_fd(ptr noundef, i32 noundef) #1
declare i32 @ft_putchar_fd(i8 noundef signext, i32 noundef) #1
declare i32 @ft_putn_fd(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/tmpmy84n8s2.c'
source_filename = "/tmp/tmpmy84n8s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_getline(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %20, %2
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %4, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %7
%12 = call i32 (...) @getchar()
store i32 %12, ptr %5, align 4
%13 = load i32, ptr @EOF, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = icmp ne i32 %16, 10
br label %18
18: ; preds = %15, %11, %7
%19 = phi i1 [ false, %11 ], [ false, %7 ], [ %17, %15 ]
br i1 %19, label %20, label %28
20: ; preds = %18
%21 = load i32, ptr %5, align 4
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store i8 %22, ptr %27, align 1
br label %7, !llvm.loop !6
28: ; preds = %18
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 10
br i1 %30, label %31, label %39
31: ; preds = %28
%32 = load i32, ptr %5, align 4
%33 = trunc i32 %32 to i8
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 %33, ptr %38, align 1
br label %39
39: ; preds = %31, %28
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
%44 = load i32, ptr %6, align 4
ret i32 %44
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmy84n8s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_getline(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %20, %2
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %4, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %7
%12 = call i32 (...) @getchar()
store i32 %12, ptr %5, align 4
%13 = load i32, ptr @EOF, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = icmp ne i32 %16, 10
br label %18
18: ; preds = %15, %11, %7
%19 = phi i1 [ false, %11 ], [ false, %7 ], [ %17, %15 ]
br i1 %19, label %20, label %28
20: ; preds = %18
%21 = load i32, ptr %5, align 4
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store i8 %22, ptr %27, align 1
br label %7, !llvm.loop !6
28: ; preds = %18
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 10
br i1 %30, label %31, label %39
31: ; preds = %28
%32 = load i32, ptr %5, align 4
%33 = trunc i32 %32 to i8
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 %33, ptr %38, align 1
br label %39
39: ; preds = %31, %28
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
%44 = load i32, ptr %6, align 4
ret i32 %44
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqrjxrn2m.c'
source_filename = "/tmp/tmpqrjxrn2m.c"
target datalayout = "e-m:e-p270: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/tmpqrjxrn2m.c"
target datalayout = "e-m:e-p270: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/tmp24dqh2dk.c'
source_filename = "/tmp/tmp24dqh2dk.c"
target datalayout = "e-m:e-p270: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/tmp24dqh2dk.c"
target datalayout = "e-m:e-p270: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/tmpn8kqoqok.c'
source_filename = "/tmp/tmpn8kqoqok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ms_spin(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @CLOCK_REALTIME, align 4
%7 = call i32 @clock_gettime(i32 noundef %6, ptr noundef %3)
%8 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = mul nsw i32 %9, 1000
%11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = sdiv i32 %12, 1000000
%14 = add nsw i32 %10, %13
%15 = sext i32 %14 to i64
store i64 %15, ptr %4, align 8
%16 = load i64, ptr %4, align 8
store i64 %16, ptr %5, align 8
br label %17
17: ; preds = %24, %1
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = sub nsw i64 %18, %19
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = icmp slt i64 %20, %22
br i1 %23, label %24, label %35
24: ; preds = %17
%25 = load i32, ptr @CLOCK_REALTIME, align 4
%26 = call i32 @clock_gettime(i32 noundef %25, ptr noundef %3)
%27 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = mul nsw i32 %28, 1000
%30 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = sdiv i32 %31, 1000000
%33 = add nsw i32 %29, %32
%34 = sext i32 %33 to i64
store i64 %34, ptr %5, align 8
br label %17, !llvm.loop !6
35: ; preds = %17
ret void
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn8kqoqok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ms_spin(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @CLOCK_REALTIME, align 4
%7 = call i32 @clock_gettime(i32 noundef %6, ptr noundef %3)
%8 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = mul nsw i32 %9, 1000
%11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = sdiv i32 %12, 1000000
%14 = add nsw i32 %10, %13
%15 = sext i32 %14 to i64
store i64 %15, ptr %4, align 8
%16 = load i64, ptr %4, align 8
store i64 %16, ptr %5, align 8
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %4, align 8
%19 = sub nsw i64 %17, %18
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = icmp slt i64 %19, %21
br i1 %22, label %.lr.ph, label %40
.lr.ph: ; preds = %1
br label %23
23: ; preds = %.lr.ph, %23
%24 = load i32, ptr @CLOCK_REALTIME, align 4
%25 = call i32 @clock_gettime(i32 noundef %24, ptr noundef %3)
%26 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = mul nsw i32 %27, 1000
%29 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
%30 = load i32, ptr %29, align 4
%31 = sdiv i32 %30, 1000000
%32 = add nsw i32 %28, %31
%33 = sext i32 %32 to i64
store i64 %33, ptr %5, align 8
%34 = load i64, ptr %5, align 8
%35 = load i64, ptr %4, align 8
%36 = sub nsw i64 %34, %35
%37 = load i32, ptr %2, align 4
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %40
40: ; preds = %._crit_edge, %1
ret void
}
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy5b080t6.c'
source_filename = "/tmp/tmpy5b080t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2023406815, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @mul3div4(i32 noundef %7)
%9 = load i32, ptr %6, align 4
%10 = mul nsw i32 %9, 3
%11 = sdiv i32 %10, 4
%12 = icmp eq i32 %8, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @mul3div4(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/tmpy5b080t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2023406815, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @mul3div4(i32 noundef %7)
%9 = load i32, ptr %6, align 4
%10 = mul nsw i32 %9, 3
%11 = sdiv i32 %10, 4
%12 = icmp eq i32 %8, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @mul3div4(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/tmptdgsv4s2.c'
source_filename = "/tmp/tmptdgsv4s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_putc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
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 %3, align 4
%8 = call i32 @inreg(i32 noundef %7, i32 noundef 5)
%9 = and i32 %8, 32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %5, align 4
%14 = icmp slt i32 %12, 100
br label %15
15: ; preds = %11, %6
%16 = phi i1 [ false, %6 ], [ %14, %11 ]
br i1 %16, label %17, label %18
17: ; preds = %15
br label %6, !llvm.loop !6
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 @outreg(i32 noundef %19, i32 noundef 0, i32 noundef %20)
ret void
}
declare i32 @inreg(i32 noundef, i32 noundef) #1
declare i32 @outreg(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptdgsv4s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_putc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %15, %2
%7 = load i32, ptr %3, align 4
%8 = call i32 @inreg(i32 noundef %7, i32 noundef 5)
%9 = and i32 %8, 32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %5, align 4
%14 = icmp slt i32 %12, 100
br label %15
15: ; preds = %11, %6
%16 = phi i1 [ false, %6 ], [ %14, %11 ]
br i1 %16, label %6, label %17, !llvm.loop !6
17: ; preds = %15
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 @outreg(i32 noundef %18, i32 noundef 0, i32 noundef %19)
ret void
}
declare i32 @inreg(i32 noundef, i32 noundef) #1
declare i32 @outreg(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpezql930i.c'
source_filename = "/tmp/tmpezql930i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_quaddobl_container_to_target_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 266, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpezql930i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_quaddobl_container_to_target_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 266, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpy7k9js_p.c'
source_filename = "/tmp/tmpy7k9js_p.c"
target datalayout = "e-m:e-p270: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/tmpy7k9js_p.c"
target datalayout = "e-m:e-p270: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/tmpnjnfua4n.c'
source_filename = "/tmp/tmpnjnfua4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FirstWithinSymbolsExcept(ptr noundef %0, ptr noundef %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i8 noundef signext %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i8, align 1
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i8 %2, ptr %9, align 1
store i8 %3, ptr %10, align 1
store i8 %4, ptr %11, align 1
store i8 %5, ptr %12, align 1
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i8, ptr %9, align 1
%16 = load i8, ptr %10, align 1
%17 = load i8, ptr %11, align 1
%18 = load i8, ptr %12, align 1
%19 = call ptr @FirstWithinSymbols_internal(ptr noundef %13, ptr noundef %14, i8 noundef signext %15, i8 noundef signext %16, i8 noundef signext %17, i8 noundef signext %18)
ret ptr %19
}
declare ptr @FirstWithinSymbols_internal(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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/tmpnjnfua4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FirstWithinSymbolsExcept(ptr noundef %0, ptr noundef %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i8 noundef signext %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i8, align 1
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i8 %2, ptr %9, align 1
store i8 %3, ptr %10, align 1
store i8 %4, ptr %11, align 1
store i8 %5, ptr %12, align 1
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i8, ptr %9, align 1
%16 = load i8, ptr %10, align 1
%17 = load i8, ptr %11, align 1
%18 = load i8, ptr %12, align 1
%19 = call ptr @FirstWithinSymbols_internal(ptr noundef %13, ptr noundef %14, i8 noundef signext %15, i8 noundef signext %16, i8 noundef signext %17, i8 noundef signext %18)
ret ptr %19
}
declare ptr @FirstWithinSymbols_internal(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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/tmpoom63uf9.c'
source_filename = "/tmp/tmpoom63uf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mydup2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4096 x i32], align 16
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @dup(i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %73
14: ; preds = %2
%15 = load i32, ptr %6, align 4
%16 = call i32 @close(i32 noundef %15)
br label %17
17: ; preds = %14
store i32 0, ptr %7, align 4
%18 = getelementptr inbounds [4096 x i32], ptr %8, i64 0, i64 0
%19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 16384)
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = load i32, ptr %4, align 4
store i32 %24, ptr %3, align 4
br label %73
25: ; preds = %17
%26 = load i32, ptr %5, align 4
%27 = call i32 @close(i32 noundef %26)
store i32 0, ptr %7, align 4
br label %28
28: ; preds = %49, %25
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %33, %34
br label %36
36: ; preds = %32, %28
%37 = phi i1 [ false, %28 ], [ %35, %32 ]
br i1 %37, label %38, label %52
38: ; preds = %36
%39 = load i32, ptr %4, align 4
%40 = call i32 @dup(i32 noundef %39)
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %44
43: ; preds = %38
store i32 -1, ptr %3, align 4
br label %73
44: ; preds = %38
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [4096 x i32], ptr %8, i64 0, i64 %46
store i32 1, ptr %47, align 4
br label %48
48: ; preds = %44
br label %49
49: ; preds = %48
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %28, !llvm.loop !6
52: ; preds = %36
br label %53
53: ; preds = %52
store i32 0, ptr %7, align 4
br label %54
54: ; preds = %68, %53
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp sle i32 %55, %56
br i1 %57, label %58, label %71
58: ; preds = %54
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [4096 x i32], ptr %8, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %58
%65 = load i32, ptr %7, align 4
%66 = call i32 @close(i32 noundef %65)
br label %67
67: ; preds = %64, %58
br label %68
68: ; preds = %67
%69 = load i32, ptr %7, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %7, align 4
br label %54, !llvm.loop !8
71: ; preds = %54
%72 = load i32, ptr %6, align 4
store i32 %72, ptr %3, align 4
br label %73
73: ; preds = %71, %43, %23, %13
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @dup(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoom63uf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mydup2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4096 x i32], align 16
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @dup(i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %75
14: ; preds = %2
%15 = load i32, ptr %6, align 4
%16 = call i32 @close(i32 noundef %15)
br label %17
17: ; preds = %14
store i32 0, ptr %7, align 4
%18 = getelementptr inbounds [4096 x i32], ptr %8, i64 0, i64 0
%19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 16384)
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = load i32, ptr %4, align 4
store i32 %24, ptr %3, align 4
br label %75
25: ; preds = %17
%26 = load i32, ptr %5, align 4
%27 = call i32 @close(i32 noundef %26)
store i32 0, ptr %7, align 4
br label %28
28: ; preds = %49, %25
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %33, %34
br label %36
36: ; preds = %32, %28
%37 = phi i1 [ false, %28 ], [ %35, %32 ]
br i1 %37, label %38, label %52
38: ; preds = %36
%39 = load i32, ptr %4, align 4
%40 = call i32 @dup(i32 noundef %39)
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %44
43: ; preds = %38
store i32 -1, ptr %3, align 4
br label %75
44: ; preds = %38
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [4096 x i32], ptr %8, i64 0, i64 %46
store i32 1, ptr %47, align 4
br label %48
48: ; preds = %44
br label %49
49: ; preds = %48
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %28, !llvm.loop !6
52: ; preds = %36
br label %53
53: ; preds = %52
store i32 0, ptr %7, align 4
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %5, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %.lr.ph, label %73
.lr.ph: ; preds = %53
br label %57
57: ; preds = %.lr.ph, %67
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [4096 x i32], ptr %8, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %57
%64 = load i32, ptr %7, align 4
%65 = call i32 @close(i32 noundef %64)
br label %66
66: ; preds = %63, %57
br label %67
67: ; preds = %66
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %7, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %5, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %57, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %67
br label %73
73: ; preds = %._crit_edge, %53
%74 = load i32, ptr %6, align 4
store i32 %74, ptr %3, align 4
br label %75
75: ; preds = %73, %43, %23, %13
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare i32 @dup(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjc2pxm8s.c'
source_filename = "/tmp/tmpjc2pxm8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"unable to connect to display\0A\00", align 1
@ButtonPressMask = dso_local global i32 0, align 4
@StructureNotifyMask = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Size changed to: %d by %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca %struct.TYPE_5__, 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
%14 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %14, ptr %13, align 8
%15 = load ptr, ptr %13, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
store i32 7, ptr %3, align 4
br label %78
20: ; preds = %2
%21 = load ptr, ptr %13, align 8
%22 = call i32 @DefaultScreen(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %6, align 4
%25 = call i64 @BlackPixel(ptr noundef %23, i32 noundef %24)
store i64 %25, ptr %9, align 8
%26 = load ptr, ptr %13, align 8
%27 = load i32, ptr %6, align 4
%28 = call i64 @WhitePixel(ptr noundef %26, i32 noundef %27)
store i64 %28, ptr %10, align 8
store i32 400, ptr %7, align 4
store i32 400, ptr %8, align 4
%29 = load ptr, ptr %13, align 8
%30 = load ptr, ptr %13, align 8
%31 = call i32 @DefaultRootWindow(ptr noundef %30)
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = load i64, ptr %10, align 8
%35 = load i64, ptr %9, align 8
%36 = call i32 @XCreateSimpleWindow(ptr noundef %29, i32 noundef %31, i32 noundef 10, i32 noundef 10, i32 noundef %32, i32 noundef %33, i32 noundef 2, i64 noundef %34, i64 noundef %35)
store i32 %36, ptr %11, align 4
%37 = load ptr, ptr %13, align 8
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr @ButtonPressMask, align 4
%40 = load i32, ptr @StructureNotifyMask, align 4
%41 = or i32 %39, %40
%42 = call i32 @XSelectInput(ptr noundef %37, i32 noundef %38, i32 noundef %41)
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %11, align 4
%45 = call i32 @XMapWindow(ptr noundef %43, i32 noundef %44)
br label %46
46: ; preds = %20, %77
%47 = load ptr, ptr %13, align 8
%48 = call i32 @XNextEvent(ptr noundef %47, ptr noundef %12)
%49 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0
%50 = load i32, ptr %49, align 4
switch i32 %50, label %77 [
i32 128, label %51
i32 129, label %74
]
51: ; preds = %46
%52 = load i32, ptr %7, align 4
%53 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%54 = getelementptr inbounds %struct.TYPE_4__, ptr %53, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %52, %55
br i1 %56, label %63, label %57
57: ; preds = %51
%58 = load i32, ptr %8, align 4
%59 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%60 = getelementptr inbounds %struct.TYPE_4__, ptr %59, i32 0, i32 1
%61 = load i32, ptr %60, align 4
%62 = icmp ne i32 %58, %61
br i1 %62, label %63, label %73
63: ; preds = %57, %51
%64 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%65 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i32 0, i32 0
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %7, align 4
%67 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%68 = getelementptr inbounds %struct.TYPE_4__, ptr %67, i32 0, i32 1
%69 = load i32, ptr %68, align 4
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %8, align 4
%72 = call i32 @printf(ptr noundef @.str.1, i32 noundef %70, i32 noundef %71)
br label %73
73: ; preds = %63, %57
br label %77
74: ; preds = %46
%75 = load ptr, ptr %13, align 8
%76 = call i32 @XCloseDisplay(ptr noundef %75)
store i32 0, ptr %3, align 4
br label %78
77: ; preds = %46, %73
br label %46
78: ; preds = %74, %17
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @DefaultScreen(ptr noundef) #1
declare i64 @BlackPixel(ptr noundef, i32 noundef) #1
declare i64 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XCreateSimpleWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @DefaultRootWindow(ptr noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XNextEvent(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjc2pxm8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"unable to connect to display\0A\00", align 1
@ButtonPressMask = dso_local global i32 0, align 4
@StructureNotifyMask = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Size changed to: %d by %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca %struct.TYPE_5__, 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
%14 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %14, ptr %13, align 8
%15 = load ptr, ptr %13, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
store i32 7, ptr %3, align 4
br label %78
20: ; preds = %2
%21 = load ptr, ptr %13, align 8
%22 = call i32 @DefaultScreen(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %6, align 4
%25 = call i64 @BlackPixel(ptr noundef %23, i32 noundef %24)
store i64 %25, ptr %9, align 8
%26 = load ptr, ptr %13, align 8
%27 = load i32, ptr %6, align 4
%28 = call i64 @WhitePixel(ptr noundef %26, i32 noundef %27)
store i64 %28, ptr %10, align 8
store i32 400, ptr %7, align 4
store i32 400, ptr %8, align 4
%29 = load ptr, ptr %13, align 8
%30 = load ptr, ptr %13, align 8
%31 = call i32 @DefaultRootWindow(ptr noundef %30)
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = load i64, ptr %10, align 8
%35 = load i64, ptr %9, align 8
%36 = call i32 @XCreateSimpleWindow(ptr noundef %29, i32 noundef %31, i32 noundef 10, i32 noundef 10, i32 noundef %32, i32 noundef %33, i32 noundef 2, i64 noundef %34, i64 noundef %35)
store i32 %36, ptr %11, align 4
%37 = load ptr, ptr %13, align 8
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr @ButtonPressMask, align 4
%40 = load i32, ptr @StructureNotifyMask, align 4
%41 = or i32 %39, %40
%42 = call i32 @XSelectInput(ptr noundef %37, i32 noundef %38, i32 noundef %41)
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %11, align 4
%45 = call i32 @XMapWindow(ptr noundef %43, i32 noundef %44)
br label %46
46: ; preds = %77, %20
%47 = load ptr, ptr %13, align 8
%48 = call i32 @XNextEvent(ptr noundef %47, ptr noundef %12)
%49 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0
%50 = load i32, ptr %49, align 4
switch i32 %50, label %77 [
i32 128, label %51
i32 129, label %74
]
51: ; preds = %46
%52 = load i32, ptr %7, align 4
%53 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%54 = getelementptr inbounds %struct.TYPE_4__, ptr %53, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %52, %55
br i1 %56, label %63, label %57
57: ; preds = %51
%58 = load i32, ptr %8, align 4
%59 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%60 = getelementptr inbounds %struct.TYPE_4__, ptr %59, i32 0, i32 1
%61 = load i32, ptr %60, align 4
%62 = icmp ne i32 %58, %61
br i1 %62, label %63, label %73
63: ; preds = %57, %51
%64 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%65 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i32 0, i32 0
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %7, align 4
%67 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%68 = getelementptr inbounds %struct.TYPE_4__, ptr %67, i32 0, i32 1
%69 = load i32, ptr %68, align 4
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %8, align 4
%72 = call i32 @printf(ptr noundef @.str.1, i32 noundef %70, i32 noundef %71)
br label %73
73: ; preds = %63, %57
br label %77
74: ; preds = %46
%75 = load ptr, ptr %13, align 8
%76 = call i32 @XCloseDisplay(ptr noundef %75)
store i32 0, ptr %3, align 4
br label %78
77: ; preds = %73, %46
br label %46
78: ; preds = %74, %17
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @DefaultScreen(ptr noundef) #1
declare i64 @BlackPixel(ptr noundef, i32 noundef) #1
declare i64 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XCreateSimpleWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @DefaultRootWindow(ptr noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XNextEvent(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx25h9blq.c'
source_filename = "/tmp/tmpx25h9blq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__builtin_bsr(i32 noundef %3)
ret i32 %4
}
declare i32 @__builtin_bsr(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/tmpx25h9blq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__builtin_bsr(i32 noundef %3)
ret i32 %4
}
declare i32 @__builtin_bsr(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/tmpbor15khb.c'
source_filename = "/tmp/tmpbor15khb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @setup_matcher_engine()
%3 = call i32 (...) @init_hextable()
ret i32 0
}
declare i32 @setup_matcher_engine(...) #1
declare i32 @init_hextable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbor15khb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @setup_matcher_engine()
%3 = call i32 (...) @init_hextable()
ret i32 0
}
declare i32 @setup_matcher_engine(...) #1
declare i32 @init_hextable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqg0wdgix.c'
source_filename = "/tmp/tmpqg0wdgix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x15\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x15() #0 {
%1 = call i64 @isalpha(i32 noundef 21)
%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 110, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqg0wdgix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x15\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x15() #0 {
%1 = call i64 @isalpha(i32 noundef 21)
%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 110, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo9nzz261.c'
source_filename = "/tmp/tmpo9nzz261.c"
target datalayout = "e-m:e-p270: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_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 10)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @free(ptr noundef %4)
%6 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %6
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo9nzz261.c"
target datalayout = "e-m:e-p270: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_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 10)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @free(ptr noundef %4)
%6 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %6
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmporjo4fb4.c'
source_filename = "/tmp/tmporjo4fb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Forked %i children.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %7, %0
%4 = call i32 (...) @fork()
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
br label %7
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
br label %3
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmporjo4fb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Forked %i children.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %7, %0
%4 = call i32 (...) @fork()
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
br label %7
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
br label %3
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjaew4ebh.c'
source_filename = "/tmp/tmpjaew4ebh.c"
target datalayout = "e-m:e-p270: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/tmpjaew4ebh.c"
target datalayout = "e-m:e-p270: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/tmppw4r39iv.c'
source_filename = "/tmp/tmppw4r39iv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
store i64 %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i64, ptr %3, align 8
%8 = call ptr @string_init_data(ptr noundef %6, i64 noundef %7)
ret ptr %8
}
declare i64 @strlen(ptr noundef) #1
declare ptr @string_init_data(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppw4r39iv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
store i64 %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i64, ptr %3, align 8
%8 = call ptr @string_init_data(ptr noundef %6, i64 noundef %7)
ret ptr %8
}
declare i64 @strlen(ptr noundef) #1
declare ptr @string_init_data(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_kq6zehi.c'
source_filename = "/tmp/tmp_kq6zehi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @opencscad_init()
%7 = call i32 (...) @fivesides()
%8 = call i32 (...) @onion()
%9 = call i32 @pentacolumn(i32 noundef 150, i32 noundef 50)
%10 = call i32 (...) @endonion()
%11 = call i32 (...) @finalize()
ret i32 0
}
declare i32 @opencscad_init(...) #1
declare i32 @fivesides(...) #1
declare i32 @onion(...) #1
declare i32 @pentacolumn(i32 noundef, i32 noundef) #1
declare i32 @endonion(...) #1
declare i32 @finalize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_kq6zehi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @opencscad_init()
%7 = call i32 (...) @fivesides()
%8 = call i32 (...) @onion()
%9 = call i32 @pentacolumn(i32 noundef 150, i32 noundef 50)
%10 = call i32 (...) @endonion()
%11 = call i32 (...) @finalize()
ret i32 0
}
declare i32 @opencscad_init(...) #1
declare i32 @fivesides(...) #1
declare i32 @onion(...) #1
declare i32 @pentacolumn(i32 noundef, i32 noundef) #1
declare i32 @endonion(...) #1
declare i32 @finalize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeg_2lyng.c'
source_filename = "/tmp/tmpeg_2lyng.c"
target datalayout = "e-m:e-p270: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/tmpeg_2lyng.c"
target datalayout = "e-m:e-p270: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_wtex6ot.c'
source_filename = "/tmp/tmp_wtex6ot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_open(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @fopen(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @fopen(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/tmp_wtex6ot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_open(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @fopen(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @fopen(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/tmp7cq6bwrc.c'
source_filename = "/tmp/tmp7cq6bwrc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
store i32 24, ptr %4, align 4
%5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 1
store i32 10, ptr %5, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %15, %0
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 1
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
ret i32 0
}
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/tmp7cq6bwrc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
store i32 24, ptr %4, align 4
%5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 1
store i32 10, ptr %5, align 4
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 1
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %14
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %17, 1
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
ret i32 0
}
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/tmpo5q4jezn.c'
source_filename = "/tmp/tmpo5q4jezn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HC_to_polar2(i64 noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
store i64 %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load ptr, ptr %12, align 8
%17 = getelementptr inbounds double, ptr %16, i64 0
store double 0.000000e+00, ptr %17, align 8
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds double, ptr %18, i64 0
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds double, ptr %21, i64 0
%23 = load double, ptr %22, align 8
%24 = fmul double %20, %23
%25 = load double, ptr %10, align 8
%26 = fdiv double %24, %25
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds double, ptr %27, i64 0
store double %26, ptr %28, align 8
store i32 1, ptr %13, align 4
br label %29
29: ; preds = %94, %6
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %7, align 8
%33 = add nsw i64 %32, 1
%34 = sdiv i64 %33, 2
%35 = icmp slt i64 %31, %34
br i1 %35, label %36, label %97
36: ; preds = %29
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %13, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
store double %41, ptr %14, align 8
%42 = load ptr, ptr %8, align 8
%43 = load i64, ptr %7, align 8
%44 = load i32, ptr %13, align 4
%45 = sext i32 %44 to i64
%46 = sub nsw i64 %43, %45
%47 = getelementptr inbounds double, ptr %42, i64 %46
%48 = load double, ptr %47, align 8
store double %48, ptr %15, align 8
%49 = load double, ptr %14, align 8
%50 = load double, ptr %14, align 8
%51 = load double, ptr %15, align 8
%52 = load double, ptr %15, align 8
%53 = fmul double %51, %52
%54 = call double @llvm.fmuladd.f64(double %49, double %50, double %53)
%55 = load double, ptr %10, align 8
%56 = fdiv double %54, %55
%57 = load ptr, ptr %11, align 8
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
store double %56, ptr %60, align 8
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = fcmp ogt double %65, 0.000000e+00
br i1 %66, label %67, label %88
67: ; preds = %36
%68 = load i32, ptr %9, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %78
70: ; preds = %67
%71 = load double, ptr %15, align 8
%72 = load double, ptr %14, align 8
%73 = call double @atan2(double noundef %71, double noundef %72) #3
%74 = load ptr, ptr %12, align 8
%75 = load i32, ptr %13, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
store double %73, ptr %77, align 8
br label %87
78: ; preds = %67
%79 = load double, ptr %15, align 8
%80 = fneg double %79
%81 = load double, ptr %14, align 8
%82 = call double @atan2(double noundef %80, double noundef %81) #3
%83 = load ptr, ptr %12, align 8
%84 = load i32, ptr %13, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %83, i64 %85
store double %82, ptr %86, align 8
br label %87
87: ; preds = %78, %70
br label %93
88: ; preds = %36
%89 = load ptr, ptr %12, align 8
%90 = load i32, ptr %13, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %89, i64 %91
store double 0.000000e+00, ptr %92, align 8
br label %93
93: ; preds = %88, %87
br label %94
94: ; preds = %93
%95 = load i32, ptr %13, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %13, align 4
br label %29, !llvm.loop !6
97: ; preds = %29
%98 = load i64, ptr %7, align 8
%99 = srem i64 %98, 2
%100 = icmp eq i64 %99, 0
br i1 %100, label %101, label %123
101: ; preds = %97
%102 = load ptr, ptr %12, align 8
%103 = load i64, ptr %7, align 8
%104 = sdiv i64 %103, 2
%105 = getelementptr inbounds double, ptr %102, i64 %104
store double 0.000000e+00, ptr %105, align 8
%106 = load ptr, ptr %8, align 8
%107 = load i64, ptr %7, align 8
%108 = sdiv i64 %107, 2
%109 = getelementptr inbounds double, ptr %106, i64 %108
%110 = load double, ptr %109, align 8
%111 = load ptr, ptr %8, align 8
%112 = load i64, ptr %7, align 8
%113 = sdiv i64 %112, 2
%114 = getelementptr inbounds double, ptr %111, i64 %113
%115 = load double, ptr %114, align 8
%116 = fmul double %110, %115
%117 = load double, ptr %10, align 8
%118 = fdiv double %116, %117
%119 = load ptr, ptr %11, align 8
%120 = load i64, ptr %7, align 8
%121 = sdiv i64 %120, 2
%122 = getelementptr inbounds double, ptr %119, i64 %121
store double %118, ptr %122, align 8
br label %123
123: ; preds = %101, %97
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5q4jezn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HC_to_polar2(i64 noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
store i64 %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load ptr, ptr %12, align 8
%17 = getelementptr inbounds double, ptr %16, i64 0
store double 0.000000e+00, ptr %17, align 8
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds double, ptr %18, i64 0
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds double, ptr %21, i64 0
%23 = load double, ptr %22, align 8
%24 = fmul double %20, %23
%25 = load double, ptr %10, align 8
%26 = fdiv double %24, %25
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds double, ptr %27, i64 0
store double %26, ptr %28, align 8
store i32 1, ptr %13, align 4
%29 = load i32, ptr %13, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %7, align 8
%32 = add nsw i64 %31, 1
%33 = sdiv i64 %32, 2
%34 = icmp slt i64 %30, %33
br i1 %34, label %.lr.ph, label %102
.lr.ph: ; preds = %6
br label %35
35: ; preds = %.lr.ph, %93
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %13, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
store double %40, ptr %14, align 8
%41 = load ptr, ptr %8, align 8
%42 = load i64, ptr %7, align 8
%43 = load i32, ptr %13, align 4
%44 = sext i32 %43 to i64
%45 = sub nsw i64 %42, %44
%46 = getelementptr inbounds double, ptr %41, i64 %45
%47 = load double, ptr %46, align 8
store double %47, ptr %15, align 8
%48 = load double, ptr %14, align 8
%49 = load double, ptr %14, align 8
%50 = load double, ptr %15, align 8
%51 = load double, ptr %15, align 8
%52 = fmul double %50, %51
%53 = call double @llvm.fmuladd.f64(double %48, double %49, double %52)
%54 = load double, ptr %10, align 8
%55 = fdiv double %53, %54
%56 = load ptr, ptr %11, align 8
%57 = load i32, ptr %13, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
store double %55, ptr %59, align 8
%60 = load ptr, ptr %11, align 8
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load double, ptr %63, align 8
%65 = fcmp ogt double %64, 0.000000e+00
br i1 %65, label %66, label %87
66: ; preds = %35
%67 = load i32, ptr %9, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %77
69: ; preds = %66
%70 = load double, ptr %15, align 8
%71 = load double, ptr %14, align 8
%72 = call double @atan2(double noundef %70, double noundef %71) #3
%73 = load ptr, ptr %12, align 8
%74 = load i32, ptr %13, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
store double %72, ptr %76, align 8
br label %86
77: ; preds = %66
%78 = load double, ptr %15, align 8
%79 = fneg double %78
%80 = load double, ptr %14, align 8
%81 = call double @atan2(double noundef %79, double noundef %80) #3
%82 = load ptr, ptr %12, align 8
%83 = load i32, ptr %13, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %82, i64 %84
store double %81, ptr %85, align 8
br label %86
86: ; preds = %77, %69
br label %92
87: ; preds = %35
%88 = load ptr, ptr %12, align 8
%89 = load i32, ptr %13, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %88, i64 %90
store double 0.000000e+00, ptr %91, align 8
br label %92
92: ; preds = %87, %86
br label %93
93: ; preds = %92
%94 = load i32, ptr %13, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = sext i32 %96 to i64
%98 = load i64, ptr %7, align 8
%99 = add nsw i64 %98, 1
%100 = sdiv i64 %99, 2
%101 = icmp slt i64 %97, %100
br i1 %101, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %93
br label %102
102: ; preds = %._crit_edge, %6
%103 = load i64, ptr %7, align 8
%104 = srem i64 %103, 2
%105 = icmp eq i64 %104, 0
br i1 %105, label %106, label %128
106: ; preds = %102
%107 = load ptr, ptr %12, align 8
%108 = load i64, ptr %7, align 8
%109 = sdiv i64 %108, 2
%110 = getelementptr inbounds double, ptr %107, i64 %109
store double 0.000000e+00, ptr %110, align 8
%111 = load ptr, ptr %8, align 8
%112 = load i64, ptr %7, align 8
%113 = sdiv i64 %112, 2
%114 = getelementptr inbounds double, ptr %111, i64 %113
%115 = load double, ptr %114, align 8
%116 = load ptr, ptr %8, align 8
%117 = load i64, ptr %7, align 8
%118 = sdiv i64 %117, 2
%119 = getelementptr inbounds double, ptr %116, i64 %118
%120 = load double, ptr %119, align 8
%121 = fmul double %115, %120
%122 = load double, ptr %10, align 8
%123 = fdiv double %121, %122
%124 = load ptr, ptr %11, align 8
%125 = load i64, ptr %7, align 8
%126 = sdiv i64 %125, 2
%127 = getelementptr inbounds double, ptr %124, i64 %126
store double %123, ptr %127, align 8
br label %128
128: ; preds = %106, %102
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpunm5l_p8.c'
source_filename = "/tmp/tmpunm5l_p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TCOFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @UART_Send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %23, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %26
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = call i32 @write(i32 noundef %14, ptr noundef %18, i32 noundef 1)
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr @TCOFLUSH, align 4
%22 = call i32 @tcflush(i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %13
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
%27 = load i32, ptr %4, align 4
ret i32 %27
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @tcflush(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpunm5l_p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TCOFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @UART_Send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %22
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = call i32 @write(i32 noundef %13, ptr noundef %17, i32 noundef 1)
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr @TCOFLUSH, align 4
%21 = call i32 @tcflush(i32 noundef %19, i32 noundef %20)
br label %22
22: ; preds = %12
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
%29 = load i32, ptr %4, align 4
ret i32 %29
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @tcflush(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqdo2bndf.c'
source_filename = "/tmp/tmpqdo2bndf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @vsnprintf(ptr noundef %9, i64 noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @vsnprintf(ptr noundef, i64 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/tmpqdo2bndf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @vsnprintf(ptr noundef %9, i64 noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @vsnprintf(ptr noundef, i64 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/tmpux4s1h_x.c'
source_filename = "/tmp/tmpux4s1h_x.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"lpd: something is wrong with %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"can't remove it\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @joberr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i64 @unlink(ptr noundef %6)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @fatal(ptr noundef @.str.1)
br label %11
11: ; preds = %9, %1
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @unlink(ptr noundef) #1
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpux4s1h_x.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"lpd: something is wrong with %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"can't remove it\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @joberr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i64 @unlink(ptr noundef %6)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @fatal(ptr noundef @.str.1)
br label %11
11: ; preds = %9, %1
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @unlink(ptr noundef) #1
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0lgaimwp.c'
source_filename = "/tmp/tmp0lgaimwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_split(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %17, %1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %4
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isspace(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
store i8 0, ptr %14, align 1
%15 = load i32, ptr %3, align 4
%16 = add i32 %15, 1
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %13, %8
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %2, align 8
br label %4, !llvm.loop !6
20: ; preds = %4
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0lgaimwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_split(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %16
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = call i64 @isspace(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %7
%13 = load ptr, ptr %2, align 8
store i8 0, ptr %13, align 1
%14 = load i32, ptr %3, align 4
%15 = add i32 %14, 1
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %12, %7
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %1
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxrpjx9fx.c'
source_filename = "/tmp/tmpxrpjx9fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interpolation(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%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 ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%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
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store i32 %3, ptr %12, align 4
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
%36 = load ptr, ptr %16, align 8
%37 = getelementptr inbounds double, ptr %36, i64 0
store double 0.000000e+00, ptr %37, align 8
%38 = load ptr, ptr %15, align 8
%39 = getelementptr inbounds double, ptr %38, i64 0
store double 0.000000e+00, ptr %39, align 8
store i32 1, ptr %17, align 4
br label %40
40: ; preds = %178, %8
%41 = load i32, ptr %17, align 4
%42 = load i32, ptr %12, align 4
%43 = sub nsw i32 %42, 1
%44 = icmp slt i32 %41, %43
br i1 %44, label %45, label %181
45: ; preds = %40
%46 = load ptr, ptr %10, align 8
%47 = load i32, ptr %17, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %10, align 8
%52 = load i32, ptr %17, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %51, i64 %54
%56 = load double, ptr %55, align 8
%57 = fsub double %50, %56
%58 = load ptr, ptr %10, align 8
%59 = load i32, ptr %17, align 4
%60 = add nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %58, i64 %61
%63 = load double, ptr %62, align 8
%64 = load ptr, ptr %10, align 8
%65 = load i32, ptr %17, align 4
%66 = sub nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %64, i64 %67
%69 = load double, ptr %68, align 8
%70 = fsub double %63, %69
%71 = fdiv double %57, %70
store double %71, ptr %23, align 8
%72 = load double, ptr %23, align 8
%73 = load ptr, ptr %15, align 8
%74 = load i32, ptr %17, align 4
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %73, i64 %76
%78 = load double, ptr %77, align 8
%79 = call double @llvm.fmuladd.f64(double %72, double %78, double 2.000000e+00)
store double %79, ptr %22, align 8
%80 = load double, ptr %23, align 8
%81 = fsub double %80, 1.000000e+00
%82 = load double, ptr %22, align 8
%83 = fdiv double %81, %82
%84 = load ptr, ptr %15, align 8
%85 = load i32, ptr %17, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %84, i64 %86
store double %83, ptr %87, align 8
%88 = load ptr, ptr %11, align 8
%89 = load i32, ptr %17, align 4
%90 = add nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %88, i64 %91
%93 = load double, ptr %92, align 8
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %17, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %94, i64 %96
%98 = load double, ptr %97, align 8
%99 = fsub double %93, %98
%100 = load ptr, ptr %10, align 8
%101 = load i32, ptr %17, align 4
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %100, i64 %103
%105 = load double, ptr %104, align 8
%106 = load ptr, ptr %10, align 8
%107 = load i32, ptr %17, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, ptr %106, i64 %108
%110 = load double, ptr %109, align 8
%111 = fsub double %105, %110
%112 = fdiv double %99, %111
%113 = load ptr, ptr %11, align 8
%114 = load i32, ptr %17, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
%117 = load double, ptr %116, align 8
%118 = load ptr, ptr %11, align 8
%119 = load i32, ptr %17, align 4
%120 = sub nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %118, i64 %121
%123 = load double, ptr %122, align 8
%124 = fsub double %117, %123
%125 = load ptr, ptr %10, align 8
%126 = load i32, ptr %17, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %125, i64 %127
%129 = load double, ptr %128, align 8
%130 = load ptr, ptr %10, align 8
%131 = load i32, ptr %17, align 4
%132 = sub nsw i32 %131, 1
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, ptr %130, i64 %133
%135 = load double, ptr %134, align 8
%136 = fsub double %129, %135
%137 = fdiv double %124, %136
%138 = fsub double %112, %137
%139 = load ptr, ptr %16, align 8
%140 = load i32, ptr %17, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %139, i64 %141
store double %138, ptr %142, align 8
%143 = load ptr, ptr %16, align 8
%144 = load i32, ptr %17, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds double, ptr %143, i64 %145
%147 = load double, ptr %146, align 8
%148 = fmul double 6.000000e+00, %147
%149 = load ptr, ptr %10, align 8
%150 = load i32, ptr %17, align 4
%151 = add nsw i32 %150, 1
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, ptr %149, i64 %152
%154 = load double, ptr %153, align 8
%155 = load ptr, ptr %10, align 8
%156 = load i32, ptr %17, align 4
%157 = sub nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, ptr %155, i64 %158
%160 = load double, ptr %159, align 8
%161 = fsub double %154, %160
%162 = fdiv double %148, %161
%163 = load double, ptr %23, align 8
%164 = load ptr, ptr %16, align 8
%165 = load i32, ptr %17, align 4
%166 = sub nsw i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %164, i64 %167
%169 = load double, ptr %168, align 8
%170 = fneg double %163
%171 = call double @llvm.fmuladd.f64(double %170, double %169, double %162)
%172 = load double, ptr %22, align 8
%173 = fdiv double %171, %172
%174 = load ptr, ptr %16, align 8
%175 = load i32, ptr %17, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds double, ptr %174, i64 %176
store double %173, ptr %177, align 8
br label %178
178: ; preds = %45
%179 = load i32, ptr %17, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %17, align 4
br label %40, !llvm.loop !6
181: ; preds = %40
%182 = load ptr, ptr %15, align 8
%183 = load i32, ptr %12, align 4
%184 = sub nsw i32 %183, 1
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %182, i64 %185
store double 0.000000e+00, ptr %186, align 8
%187 = load i32, ptr %12, align 4
%188 = sub nsw i32 %187, 2
store i32 %188, ptr %18, align 4
br label %189
189: ; preds = %214, %181
%190 = load i32, ptr %18, align 4
%191 = icmp sge i32 %190, 0
br i1 %191, label %192, label %217
192: ; preds = %189
%193 = load ptr, ptr %15, align 8
%194 = load i32, ptr %18, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds double, ptr %193, i64 %195
%197 = load double, ptr %196, align 8
%198 = load ptr, ptr %15, align 8
%199 = load i32, ptr %18, align 4
%200 = add nsw i32 %199, 1
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, ptr %198, i64 %201
%203 = load double, ptr %202, align 8
%204 = load ptr, ptr %16, align 8
%205 = load i32, ptr %18, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, ptr %204, i64 %206
%208 = load double, ptr %207, align 8
%209 = call double @llvm.fmuladd.f64(double %197, double %203, double %208)
%210 = load ptr, ptr %15, align 8
%211 = load i32, ptr %18, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %210, i64 %212
store double %209, ptr %213, align 8
br label %214
214: ; preds = %192
%215 = load i32, ptr %18, align 4
%216 = add nsw i32 %215, -1
store i32 %216, ptr %18, align 4
br label %189, !llvm.loop !8
217: ; preds = %189
store i32 0, ptr %20, align 4
store i32 0, ptr %18, align 4
%218 = load i32, ptr %12, align 4
%219 = sub nsw i32 %218, 1
store i32 %219, ptr %19, align 4
br label %220
220: ; preds = %231, %217
%221 = load ptr, ptr %10, align 8
%222 = load i32, ptr %18, align 4
%223 = add nsw i32 %222, 2
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds double, ptr %221, i64 %224
%226 = load double, ptr %225, align 8
%227 = load ptr, ptr %13, align 8
%228 = getelementptr inbounds double, ptr %227, i64 0
%229 = load double, ptr %228, align 8
%230 = fcmp olt double %226, %229
br i1 %230, label %231, label %234
231: ; preds = %220
%232 = load i32, ptr %18, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %18, align 4
br label %220, !llvm.loop !9
234: ; preds = %220
br label %235
235: ; preds = %248, %234
%236 = load ptr, ptr %10, align 8
%237 = load i32, ptr %19, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds double, ptr %236, i64 %238
%240 = load double, ptr %239, align 8
%241 = load ptr, ptr %13, align 8
%242 = load i32, ptr %14, align 4
%243 = sub nsw i32 %242, 1
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds double, ptr %241, i64 %244
%246 = load double, ptr %245, align 8
%247 = fcmp ogt double %240, %246
br i1 %247, label %248, label %251
248: ; preds = %235
%249 = load i32, ptr %19, align 4
%250 = add nsw i32 %249, -1
store i32 %250, ptr %19, align 4
br label %235, !llvm.loop !10
251: ; preds = %235
br label %252
252: ; preds = %426, %251
%253 = load i32, ptr %18, align 4
%254 = load i32, ptr %19, align 4
%255 = icmp sle i32 %253, %254
br i1 %255, label %256, label %429
256: ; preds = %252
%257 = load ptr, ptr %10, align 8
%258 = load i32, ptr %18, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds double, ptr %257, i64 %259
%261 = load double, ptr %260, align 8
store double %261, ptr %24, align 8
%262 = load ptr, ptr %10, align 8
%263 = load i32, ptr %18, align 4
%264 = add nsw i32 %263, 1
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double, ptr %262, i64 %265
%267 = load double, ptr %266, align 8
store double %267, ptr %25, align 8
%268 = load double, ptr %25, align 8
%269 = load double, ptr %24, align 8
%270 = fsub double %268, %269
store double %270, ptr %26, align 8
%271 = load ptr, ptr %11, align 8
%272 = load i32, ptr %18, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds double, ptr %271, i64 %273
%275 = load double, ptr %274, align 8
store double %275, ptr %27, align 8
%276 = load ptr, ptr %11, align 8
%277 = load i32, ptr %18, align 4
%278 = add nsw i32 %277, 1
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds double, ptr %276, i64 %279
%281 = load double, ptr %280, align 8
store double %281, ptr %28, align 8
%282 = load ptr, ptr %15, align 8
%283 = load i32, ptr %18, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds double, ptr %282, i64 %284
%286 = load double, ptr %285, align 8
store double %286, ptr %29, align 8
%287 = load ptr, ptr %15, align 8
%288 = load i32, ptr %18, align 4
%289 = add nsw i32 %288, 1
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds double, ptr %287, i64 %290
%292 = load double, ptr %291, align 8
store double %292, ptr %30, align 8
%293 = load double, ptr %25, align 8
%294 = load double, ptr %27, align 8
%295 = load double, ptr %24, align 8
%296 = load double, ptr %28, align 8
%297 = fmul double %295, %296
%298 = fneg double %297
%299 = call double @llvm.fmuladd.f64(double %293, double %294, double %298)
%300 = load double, ptr %25, align 8
%301 = call double @CUBE(double noundef %300)
%302 = load double, ptr %29, align 8
%303 = fmul double %301, %302
%304 = fdiv double %303, 6.000000e+00
%305 = fadd double %299, %304
%306 = load double, ptr %24, align 8
%307 = call double @CUBE(double noundef %306)
%308 = load double, ptr %30, align 8
%309 = fmul double %307, %308
%310 = fdiv double %309, 6.000000e+00
%311 = fsub double %305, %310
%312 = load double, ptr %26, align 8
%313 = fdiv double %311, %312
%314 = load double, ptr %26, align 8
%315 = load double, ptr %24, align 8
%316 = load double, ptr %30, align 8
%317 = load double, ptr %25, align 8
%318 = load double, ptr %29, align 8
%319 = fmul double %317, %318
%320 = fneg double %319
%321 = call double @llvm.fmuladd.f64(double %315, double %316, double %320)
%322 = fmul double %314, %321
%323 = fdiv double %322, 6.000000e+00
%324 = fadd double %313, %323
store double %324, ptr %31, align 8
%325 = load double, ptr %28, align 8
%326 = load double, ptr %27, align 8
%327 = fsub double %325, %326
%328 = load double, ptr %25, align 8
%329 = call double @SQUARE(double noundef %328)
%330 = load double, ptr %29, align 8
%331 = fmul double %329, %330
%332 = fdiv double %331, 2.000000e+00
%333 = fsub double %327, %332
%334 = load double, ptr %24, align 8
%335 = call double @SQUARE(double noundef %334)
%336 = load double, ptr %30, align 8
%337 = fmul double %335, %336
%338 = fdiv double %337, 2.000000e+00
%339 = fadd double %333, %338
%340 = load double, ptr %26, align 8
%341 = fdiv double %339, %340
%342 = load double, ptr %26, align 8
%343 = load double, ptr %29, align 8
%344 = load double, ptr %30, align 8
%345 = fsub double %343, %344
%346 = fmul double %342, %345
%347 = fdiv double %346, 6.000000e+00
%348 = fadd double %341, %347
store double %348, ptr %32, align 8
%349 = load double, ptr %25, align 8
%350 = load double, ptr %29, align 8
%351 = load double, ptr %24, align 8
%352 = load double, ptr %30, align 8
%353 = fmul double %351, %352
%354 = fneg double %353
%355 = call double @llvm.fmuladd.f64(double %349, double %350, double %354)
%356 = load double, ptr %26, align 8
%357 = fmul double 2.000000e+00, %356
%358 = fdiv double %355, %357
store double %358, ptr %33, align 8
%359 = load double, ptr %30, align 8
%360 = load double, ptr %29, align 8
%361 = fsub double %359, %360
%362 = load double, ptr %26, align 8
%363 = fmul double 6.000000e+00, %362
%364 = fdiv double %361, %363
store double %364, ptr %34, align 8
%365 = load i32, ptr %20, align 4
store i32 %365, ptr %21, align 4
br label %366
366: ; preds = %391, %256
%367 = load i32, ptr %20, align 4
%368 = load i32, ptr %14, align 4
%369 = icmp slt i32 %367, %368
br i1 %369, label %370, label %389
370: ; preds = %366
%371 = load i32, ptr %18, align 4
%372 = load i32, ptr %19, align 4
%373 = icmp eq i32 %371, %372
br i1 %373, label %387, label %374
374: ; preds = %370
%375 = load ptr, ptr %13, align 8
%376 = load i32, ptr %20, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds double, ptr %375, i64 %377
%379 = load double, ptr %378, align 8
%380 = load ptr, ptr %10, align 8
%381 = load i32, ptr %18, align 4
%382 = add nsw i32 %381, 1
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds double, ptr %380, i64 %383
%385 = load double, ptr %384, align 8
%386 = fcmp olt double %379, %385
br label %387
387: ; preds = %374, %370
%388 = phi i1 [ true, %370 ], [ %386, %374 ]
br label %389
389: ; preds = %387, %366
%390 = phi i1 [ false, %366 ], [ %388, %387 ]
br i1 %390, label %391, label %394
391: ; preds = %389
%392 = load i32, ptr %20, align 4
%393 = add nsw i32 %392, 1
store i32 %393, ptr %20, align 4
br label %366, !llvm.loop !11
394: ; preds = %389
%395 = load i32, ptr %21, align 4
store i32 %395, ptr %17, align 4
br label %396
396: ; preds = %422, %394
%397 = load i32, ptr %17, align 4
%398 = load i32, ptr %20, align 4
%399 = icmp slt i32 %397, %398
br i1 %399, label %400, label %425
400: ; preds = %396
%401 = load ptr, ptr %13, align 8
%402 = load i32, ptr %17, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds double, ptr %401, i64 %403
%405 = load double, ptr %404, align 8
store double %405, ptr %35, align 8
%406 = load double, ptr %31, align 8
%407 = load double, ptr %32, align 8
%408 = load double, ptr %35, align 8
%409 = call double @llvm.fmuladd.f64(double %407, double %408, double %406)
%410 = load double, ptr %33, align 8
%411 = load double, ptr %35, align 8
%412 = call double @SQUARE(double noundef %411)
%413 = call double @llvm.fmuladd.f64(double %410, double %412, double %409)
%414 = load double, ptr %34, align 8
%415 = load double, ptr %35, align 8
%416 = call double @CUBE(double noundef %415)
%417 = call double @llvm.fmuladd.f64(double %414, double %416, double %413)
%418 = load ptr, ptr %9, align 8
%419 = load i32, ptr %17, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds double, ptr %418, i64 %420
store double %417, ptr %421, align 8
br label %422
422: ; preds = %400
%423 = load i32, ptr %17, align 4
%424 = add nsw i32 %423, 1
store i32 %424, ptr %17, align 4
br label %396, !llvm.loop !12
425: ; preds = %396
br label %426
426: ; preds = %425
%427 = load i32, ptr %18, align 4
%428 = add nsw i32 %427, 1
store i32 %428, ptr %18, align 4
br label %252, !llvm.loop !13
429: ; preds = %252
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @CUBE(double noundef) #2
declare double @SQUARE(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxrpjx9fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interpolation(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%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 ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%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
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store i32 %3, ptr %12, align 4
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
%36 = load ptr, ptr %16, align 8
%37 = getelementptr inbounds double, ptr %36, i64 0
store double 0.000000e+00, ptr %37, align 8
%38 = load ptr, ptr %15, align 8
%39 = getelementptr inbounds double, ptr %38, i64 0
store double 0.000000e+00, ptr %39, align 8
store i32 1, ptr %17, align 4
%40 = load i32, ptr %17, align 4
%41 = load i32, ptr %12, align 4
%42 = sub nsw i32 %41, 1
%43 = icmp slt i32 %40, %42
br i1 %43, label %.lr.ph, label %184
.lr.ph: ; preds = %8
br label %44
44: ; preds = %.lr.ph, %177
%45 = load ptr, ptr %10, align 8
%46 = load i32, ptr %17, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = load ptr, ptr %10, align 8
%51 = load i32, ptr %17, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %50, i64 %53
%55 = load double, ptr %54, align 8
%56 = fsub double %49, %55
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %17, align 4
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %57, i64 %60
%62 = load double, ptr %61, align 8
%63 = load ptr, ptr %10, align 8
%64 = load i32, ptr %17, align 4
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %63, i64 %66
%68 = load double, ptr %67, align 8
%69 = fsub double %62, %68
%70 = fdiv double %56, %69
store double %70, ptr %23, align 8
%71 = load double, ptr %23, align 8
%72 = load ptr, ptr %15, align 8
%73 = load i32, ptr %17, align 4
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %72, i64 %75
%77 = load double, ptr %76, align 8
%78 = call double @llvm.fmuladd.f64(double %71, double %77, double 2.000000e+00)
store double %78, ptr %22, align 8
%79 = load double, ptr %23, align 8
%80 = fsub double %79, 1.000000e+00
%81 = load double, ptr %22, align 8
%82 = fdiv double %80, %81
%83 = load ptr, ptr %15, align 8
%84 = load i32, ptr %17, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %83, i64 %85
store double %82, ptr %86, align 8
%87 = load ptr, ptr %11, align 8
%88 = load i32, ptr %17, align 4
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %87, i64 %90
%92 = load double, ptr %91, align 8
%93 = load ptr, ptr %11, align 8
%94 = load i32, ptr %17, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
%97 = load double, ptr %96, align 8
%98 = fsub double %92, %97
%99 = load ptr, ptr %10, align 8
%100 = load i32, ptr %17, align 4
%101 = add nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %99, i64 %102
%104 = load double, ptr %103, align 8
%105 = load ptr, ptr %10, align 8
%106 = load i32, ptr %17, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %105, i64 %107
%109 = load double, ptr %108, align 8
%110 = fsub double %104, %109
%111 = fdiv double %98, %110
%112 = load ptr, ptr %11, align 8
%113 = load i32, ptr %17, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = load ptr, ptr %11, align 8
%118 = load i32, ptr %17, align 4
%119 = sub nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %117, i64 %120
%122 = load double, ptr %121, align 8
%123 = fsub double %116, %122
%124 = load ptr, ptr %10, align 8
%125 = load i32, ptr %17, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
%128 = load double, ptr %127, align 8
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %17, align 4
%131 = sub nsw i32 %130, 1
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, ptr %129, i64 %132
%134 = load double, ptr %133, align 8
%135 = fsub double %128, %134
%136 = fdiv double %123, %135
%137 = fsub double %111, %136
%138 = load ptr, ptr %16, align 8
%139 = load i32, ptr %17, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %138, i64 %140
store double %137, ptr %141, align 8
%142 = load ptr, ptr %16, align 8
%143 = load i32, ptr %17, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds double, ptr %142, i64 %144
%146 = load double, ptr %145, align 8
%147 = fmul double 6.000000e+00, %146
%148 = load ptr, ptr %10, align 8
%149 = load i32, ptr %17, align 4
%150 = add nsw i32 %149, 1
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds double, ptr %148, i64 %151
%153 = load double, ptr %152, align 8
%154 = load ptr, ptr %10, align 8
%155 = load i32, ptr %17, align 4
%156 = sub nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds double, ptr %154, i64 %157
%159 = load double, ptr %158, align 8
%160 = fsub double %153, %159
%161 = fdiv double %147, %160
%162 = load double, ptr %23, align 8
%163 = load ptr, ptr %16, align 8
%164 = load i32, ptr %17, align 4
%165 = sub nsw i32 %164, 1
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, ptr %163, i64 %166
%168 = load double, ptr %167, align 8
%169 = fneg double %162
%170 = call double @llvm.fmuladd.f64(double %169, double %168, double %161)
%171 = load double, ptr %22, align 8
%172 = fdiv double %170, %171
%173 = load ptr, ptr %16, align 8
%174 = load i32, ptr %17, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %173, i64 %175
store double %172, ptr %176, align 8
br label %177
177: ; preds = %44
%178 = load i32, ptr %17, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %17, align 4
%180 = load i32, ptr %17, align 4
%181 = load i32, ptr %12, align 4
%182 = sub nsw i32 %181, 1
%183 = icmp slt i32 %180, %182
br i1 %183, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %177
br label %184
184: ; preds = %._crit_edge, %8
%185 = load ptr, ptr %15, align 8
%186 = load i32, ptr %12, align 4
%187 = sub nsw i32 %186, 1
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, ptr %185, i64 %188
store double 0.000000e+00, ptr %189, align 8
%190 = load i32, ptr %12, align 4
%191 = sub nsw i32 %190, 2
store i32 %191, ptr %18, align 4
%192 = load i32, ptr %18, align 4
%193 = icmp sge i32 %192, 0
br i1 %193, label %.lr.ph2, label %221
.lr.ph2: ; preds = %184
br label %194
194: ; preds = %.lr.ph2, %216
%195 = load ptr, ptr %15, align 8
%196 = load i32, ptr %18, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, ptr %195, i64 %197
%199 = load double, ptr %198, align 8
%200 = load ptr, ptr %15, align 8
%201 = load i32, ptr %18, align 4
%202 = add nsw i32 %201, 1
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds double, ptr %200, i64 %203
%205 = load double, ptr %204, align 8
%206 = load ptr, ptr %16, align 8
%207 = load i32, ptr %18, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds double, ptr %206, i64 %208
%210 = load double, ptr %209, align 8
%211 = call double @llvm.fmuladd.f64(double %199, double %205, double %210)
%212 = load ptr, ptr %15, align 8
%213 = load i32, ptr %18, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds double, ptr %212, i64 %214
store double %211, ptr %215, align 8
br label %216
216: ; preds = %194
%217 = load i32, ptr %18, align 4
%218 = add nsw i32 %217, -1
store i32 %218, ptr %18, align 4
%219 = load i32, ptr %18, align 4
%220 = icmp sge i32 %219, 0
br i1 %220, label %194, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %216
br label %221
221: ; preds = %._crit_edge3, %184
store i32 0, ptr %20, align 4
store i32 0, ptr %18, align 4
%222 = load i32, ptr %12, align 4
%223 = sub nsw i32 %222, 1
store i32 %223, ptr %19, align 4
%224 = load ptr, ptr %10, align 8
%225 = load i32, ptr %18, align 4
%226 = add nsw i32 %225, 2
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds double, ptr %224, i64 %227
%229 = load double, ptr %228, align 8
%230 = load ptr, ptr %13, align 8
%231 = load double, ptr %230, align 8
%232 = fcmp olt double %229, %231
br i1 %232, label %.lr.ph5, label %246
.lr.ph5: ; preds = %221
br label %233
233: ; preds = %.lr.ph5, %233
%234 = load i32, ptr %18, align 4
%235 = add nsw i32 %234, 1
store i32 %235, ptr %18, align 4
%236 = load ptr, ptr %10, align 8
%237 = load i32, ptr %18, align 4
%238 = add nsw i32 %237, 2
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds double, ptr %236, i64 %239
%241 = load double, ptr %240, align 8
%242 = load ptr, ptr %13, align 8
%243 = getelementptr inbounds double, ptr %242, i64 0
%244 = load double, ptr %243, align 8
%245 = fcmp olt double %241, %244
br i1 %245, label %233, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %233
br label %246
246: ; preds = %._crit_edge6, %221
%247 = load ptr, ptr %10, align 8
%248 = load i32, ptr %19, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds double, ptr %247, i64 %249
%251 = load double, ptr %250, align 8
%252 = load ptr, ptr %13, align 8
%253 = load i32, ptr %14, align 4
%254 = sub nsw i32 %253, 1
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, ptr %252, i64 %255
%257 = load double, ptr %256, align 8
%258 = fcmp ogt double %251, %257
br i1 %258, label %.lr.ph8, label %274
.lr.ph8: ; preds = %246
br label %259
259: ; preds = %.lr.ph8, %259
%260 = load i32, ptr %19, align 4
%261 = add nsw i32 %260, -1
store i32 %261, ptr %19, align 4
%262 = load ptr, ptr %10, align 8
%263 = load i32, ptr %19, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds double, ptr %262, i64 %264
%266 = load double, ptr %265, align 8
%267 = load ptr, ptr %13, align 8
%268 = load i32, ptr %14, align 4
%269 = sub nsw i32 %268, 1
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds double, ptr %267, i64 %270
%272 = load double, ptr %271, align 8
%273 = fcmp ogt double %266, %272
br i1 %273, label %259, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %259
br label %274
274: ; preds = %._crit_edge9, %246
%275 = load i32, ptr %18, align 4
%276 = load i32, ptr %19, align 4
%277 = icmp sle i32 %275, %276
br i1 %277, label %.lr.ph14, label %456
.lr.ph14: ; preds = %274
br label %278
278: ; preds = %.lr.ph14, %450
%279 = load ptr, ptr %10, align 8
%280 = load i32, ptr %18, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds double, ptr %279, i64 %281
%283 = load double, ptr %282, align 8
store double %283, ptr %24, align 8
%284 = load ptr, ptr %10, align 8
%285 = load i32, ptr %18, align 4
%286 = add nsw i32 %285, 1
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, ptr %284, i64 %287
%289 = load double, ptr %288, align 8
store double %289, ptr %25, align 8
%290 = load double, ptr %25, align 8
%291 = load double, ptr %24, align 8
%292 = fsub double %290, %291
store double %292, ptr %26, align 8
%293 = load ptr, ptr %11, align 8
%294 = load i32, ptr %18, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds double, ptr %293, i64 %295
%297 = load double, ptr %296, align 8
store double %297, ptr %27, align 8
%298 = load ptr, ptr %11, align 8
%299 = load i32, ptr %18, align 4
%300 = add nsw i32 %299, 1
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds double, ptr %298, i64 %301
%303 = load double, ptr %302, align 8
store double %303, ptr %28, align 8
%304 = load ptr, ptr %15, align 8
%305 = load i32, ptr %18, align 4
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds double, ptr %304, i64 %306
%308 = load double, ptr %307, align 8
store double %308, ptr %29, align 8
%309 = load ptr, ptr %15, align 8
%310 = load i32, ptr %18, align 4
%311 = add nsw i32 %310, 1
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, ptr %309, i64 %312
%314 = load double, ptr %313, align 8
store double %314, ptr %30, align 8
%315 = load double, ptr %25, align 8
%316 = load double, ptr %27, align 8
%317 = load double, ptr %24, align 8
%318 = load double, ptr %28, align 8
%319 = fmul double %317, %318
%320 = fneg double %319
%321 = call double @llvm.fmuladd.f64(double %315, double %316, double %320)
%322 = load double, ptr %25, align 8
%323 = call double @CUBE(double noundef %322)
%324 = load double, ptr %29, align 8
%325 = fmul double %323, %324
%326 = fdiv double %325, 6.000000e+00
%327 = fadd double %321, %326
%328 = load double, ptr %24, align 8
%329 = call double @CUBE(double noundef %328)
%330 = load double, ptr %30, align 8
%331 = fmul double %329, %330
%332 = fdiv double %331, 6.000000e+00
%333 = fsub double %327, %332
%334 = load double, ptr %26, align 8
%335 = fdiv double %333, %334
%336 = load double, ptr %26, align 8
%337 = load double, ptr %24, align 8
%338 = load double, ptr %30, align 8
%339 = load double, ptr %25, align 8
%340 = load double, ptr %29, align 8
%341 = fmul double %339, %340
%342 = fneg double %341
%343 = call double @llvm.fmuladd.f64(double %337, double %338, double %342)
%344 = fmul double %336, %343
%345 = fdiv double %344, 6.000000e+00
%346 = fadd double %335, %345
store double %346, ptr %31, align 8
%347 = load double, ptr %28, align 8
%348 = load double, ptr %27, align 8
%349 = fsub double %347, %348
%350 = load double, ptr %25, align 8
%351 = call double @SQUARE(double noundef %350)
%352 = load double, ptr %29, align 8
%353 = fmul double %351, %352
%354 = fdiv double %353, 2.000000e+00
%355 = fsub double %349, %354
%356 = load double, ptr %24, align 8
%357 = call double @SQUARE(double noundef %356)
%358 = load double, ptr %30, align 8
%359 = fmul double %357, %358
%360 = fdiv double %359, 2.000000e+00
%361 = fadd double %355, %360
%362 = load double, ptr %26, align 8
%363 = fdiv double %361, %362
%364 = load double, ptr %26, align 8
%365 = load double, ptr %29, align 8
%366 = load double, ptr %30, align 8
%367 = fsub double %365, %366
%368 = fmul double %364, %367
%369 = fdiv double %368, 6.000000e+00
%370 = fadd double %363, %369
store double %370, ptr %32, align 8
%371 = load double, ptr %25, align 8
%372 = load double, ptr %29, align 8
%373 = load double, ptr %24, align 8
%374 = load double, ptr %30, align 8
%375 = fmul double %373, %374
%376 = fneg double %375
%377 = call double @llvm.fmuladd.f64(double %371, double %372, double %376)
%378 = load double, ptr %26, align 8
%379 = fmul double 2.000000e+00, %378
%380 = fdiv double %377, %379
store double %380, ptr %33, align 8
%381 = load double, ptr %30, align 8
%382 = load double, ptr %29, align 8
%383 = fsub double %381, %382
%384 = load double, ptr %26, align 8
%385 = fmul double 6.000000e+00, %384
%386 = fdiv double %383, %385
store double %386, ptr %34, align 8
%387 = load i32, ptr %20, align 4
store i32 %387, ptr %21, align 4
br label %388
388: ; preds = %413, %278
%389 = load i32, ptr %20, align 4
%390 = load i32, ptr %14, align 4
%391 = icmp slt i32 %389, %390
br i1 %391, label %392, label %411
392: ; preds = %388
%393 = load i32, ptr %18, align 4
%394 = load i32, ptr %19, align 4
%395 = icmp eq i32 %393, %394
br i1 %395, label %409, label %396
396: ; preds = %392
%397 = load ptr, ptr %13, align 8
%398 = load i32, ptr %20, align 4
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds double, ptr %397, i64 %399
%401 = load double, ptr %400, align 8
%402 = load ptr, ptr %10, align 8
%403 = load i32, ptr %18, align 4
%404 = add nsw i32 %403, 1
%405 = sext i32 %404 to i64
%406 = getelementptr inbounds double, ptr %402, i64 %405
%407 = load double, ptr %406, align 8
%408 = fcmp olt double %401, %407
br label %409
409: ; preds = %396, %392
%410 = phi i1 [ true, %392 ], [ %408, %396 ]
br label %411
411: ; preds = %409, %388
%412 = phi i1 [ false, %388 ], [ %410, %409 ]
br i1 %412, label %413, label %416
413: ; preds = %411
%414 = load i32, ptr %20, align 4
%415 = add nsw i32 %414, 1
store i32 %415, ptr %20, align 4
br label %388, !llvm.loop !11
416: ; preds = %411
%417 = load i32, ptr %21, align 4
store i32 %417, ptr %17, align 4
%418 = load i32, ptr %17, align 4
%419 = load i32, ptr %20, align 4
%420 = icmp slt i32 %418, %419
br i1 %420, label %.lr.ph11, label %449
.lr.ph11: ; preds = %416
br label %421
421: ; preds = %.lr.ph11, %443
%422 = load ptr, ptr %13, align 8
%423 = load i32, ptr %17, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds double, ptr %422, i64 %424
%426 = load double, ptr %425, align 8
store double %426, ptr %35, align 8
%427 = load double, ptr %31, align 8
%428 = load double, ptr %32, align 8
%429 = load double, ptr %35, align 8
%430 = call double @llvm.fmuladd.f64(double %428, double %429, double %427)
%431 = load double, ptr %33, align 8
%432 = load double, ptr %35, align 8
%433 = call double @SQUARE(double noundef %432)
%434 = call double @llvm.fmuladd.f64(double %431, double %433, double %430)
%435 = load double, ptr %34, align 8
%436 = load double, ptr %35, align 8
%437 = call double @CUBE(double noundef %436)
%438 = call double @llvm.fmuladd.f64(double %435, double %437, double %434)
%439 = load ptr, ptr %9, align 8
%440 = load i32, ptr %17, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds double, ptr %439, i64 %441
store double %438, ptr %442, align 8
br label %443
443: ; preds = %421
%444 = load i32, ptr %17, align 4
%445 = add nsw i32 %444, 1
store i32 %445, ptr %17, align 4
%446 = load i32, ptr %17, align 4
%447 = load i32, ptr %20, align 4
%448 = icmp slt i32 %446, %447
br i1 %448, label %421, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %443
br label %449
449: ; preds = %._crit_edge12, %416
br label %450
450: ; preds = %449
%451 = load i32, ptr %18, align 4
%452 = add nsw i32 %451, 1
store i32 %452, ptr %18, align 4
%453 = load i32, ptr %18, align 4
%454 = load i32, ptr %19, align 4
%455 = icmp sle i32 %453, %454
br i1 %455, label %278, label %._crit_edge15, !llvm.loop !13
._crit_edge15: ; preds = %450
br label %456
456: ; preds = %._crit_edge15, %274
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @CUBE(double noundef) #2
declare double @SQUARE(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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}
|
; ModuleID = '/tmp/tmp9k8ie4it.c'
source_filename = "/tmp/tmp9k8ie4it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getMaxPalindromeLengthOptimised(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %17
17: ; preds = %31, %2
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %6, align 4
%25 = mul nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %22, i64 %26
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 1, ptr %30, align 4
br label %31
31: ; preds = %21
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %17, !llvm.loop !6
34: ; preds = %17
store i32 0, ptr %6, align 4
br label %35
35: ; preds = %73, %34
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %76
39: ; preds = %35
store i32 0, ptr %8, align 4
br label %40
40: ; preds = %69, %39
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %72
44: ; preds = %40
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %58
48: ; preds = %44
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %6, align 4
%52 = mul nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %49, i64 %53
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
store i32 1, ptr %57, align 4
br label %68
58: ; preds = %44
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr %6, align 4
%62 = mul nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %59, i64 %63
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
store i32 -1, ptr %67, align 4
br label %68
68: ; preds = %58, %48
br label %69
69: ; preds = %68
%70 = load i32, ptr %8, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %8, align 4
br label %40, !llvm.loop !8
72: ; preds = %40
br label %73
73: ; preds = %72
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %6, align 4
br label %35, !llvm.loop !9
76: ; preds = %35
store i32 2, ptr %7, align 4
br label %77
77: ; preds = %192, %76
%78 = load i32, ptr %7, align 4
%79 = load i32, ptr %4, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %81, label %195
81: ; preds = %77
store i32 0, ptr %6, align 4
br label %82
82: ; preds = %188, %81
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %4, align 4
%85 = load i32, ptr %7, align 4
%86 = sub nsw i32 %84, %85
%87 = add nsw i32 %86, 1
%88 = icmp slt i32 %83, %87
br i1 %88, label %89, label %191
89: ; preds = %82
%90 = load i32, ptr %6, align 4
%91 = load i32, ptr %7, align 4
%92 = add nsw i32 %90, %91
%93 = sub nsw i32 %92, 1
store i32 %93, ptr %8, align 4
%94 = load ptr, ptr %3, align 8
%95 = load i32, ptr %6, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %3, align 8
%100 = load i32, ptr %8, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %102, align 4
%104 = icmp eq i32 %98, %103
br i1 %104, label %105, label %118
105: ; preds = %89
%106 = load i32, ptr %7, align 4
%107 = icmp eq i32 %106, 2
br i1 %107, label %108, label %118
108: ; preds = %105
%109 = load ptr, ptr %5, align 8
%110 = load i32, ptr %6, align 4
%111 = load i32, ptr %4, align 4
%112 = mul nsw i32 %110, %111
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %109, i64 %113
%115 = load i32, ptr %8, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
store i32 2, ptr %117, align 4
br label %187
118: ; preds = %105, %89
%119 = load ptr, ptr %3, align 8
%120 = load i32, ptr %6, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = load ptr, ptr %3, align 8
%125 = load i32, ptr %8, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %124, i64 %126
%128 = load i32, ptr %127, align 4
%129 = icmp eq i32 %123, %128
br i1 %129, label %130, label %153
130: ; preds = %118
%131 = load ptr, ptr %5, align 8
%132 = load i32, ptr %6, align 4
%133 = add nsw i32 %132, 1
%134 = load i32, ptr %4, align 4
%135 = mul nsw i32 %133, %134
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %131, i64 %136
%138 = load i32, ptr %8, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i32, ptr %137, i64 %139
%141 = getelementptr inbounds i32, ptr %140, i64 -1
%142 = load i32, ptr %141, align 4
%143 = add nsw i32 2, %142
%144 = load ptr, ptr %5, align 8
%145 = load i32, ptr %6, align 4
%146 = load i32, ptr %4, align 4
%147 = mul nsw i32 %145, %146
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %144, i64 %148
%150 = load i32, ptr %8, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
store i32 %143, ptr %152, align 4
br label %186
153: ; preds = %118
%154 = load ptr, ptr %5, align 8
%155 = load i32, ptr %6, align 4
%156 = load i32, ptr %4, align 4
%157 = mul nsw i32 %155, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %154, i64 %158
%160 = load i32, ptr %8, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i32, ptr %159, i64 %161
%163 = getelementptr inbounds i32, ptr %162, i64 -1
%164 = load i32, ptr %163, align 4
%165 = load ptr, ptr %5, align 8
%166 = load i32, ptr %6, align 4
%167 = add nsw i32 %166, 1
%168 = load i32, ptr %4, align 4
%169 = mul nsw i32 %167, %168
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i32, ptr %165, i64 %170
%172 = load i32, ptr %8, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i32, ptr %171, i64 %173
%175 = load i32, ptr %174, align 4
%176 = call i32 @getMax(i32 noundef %164, i32 noundef %175)
%177 = load ptr, ptr %5, align 8
%178 = load i32, ptr %6, align 4
%179 = load i32, ptr %4, align 4
%180 = mul nsw i32 %178, %179
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i32, ptr %177, i64 %181
%183 = load i32, ptr %8, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i32, ptr %182, i64 %184
store i32 %176, ptr %185, align 4
br label %186
186: ; preds = %153, %130
br label %187
187: ; preds = %186, %108
br label %188
188: ; preds = %187
%189 = load i32, ptr %6, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %6, align 4
br label %82, !llvm.loop !10
191: ; preds = %82
br label %192
192: ; preds = %191
%193 = load i32, ptr %7, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %7, align 4
br label %77, !llvm.loop !11
195: ; preds = %77
%196 = load ptr, ptr %5, align 8
%197 = load i32, ptr %4, align 4
%198 = mul nsw i32 0, %197
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds i32, ptr %196, i64 %199
%201 = load i32, ptr %4, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i32, ptr %200, i64 %202
%204 = getelementptr inbounds i32, ptr %203, i64 -1
%205 = load i32, ptr %204, align 4
ret i32 %205
}
declare i64 @malloc(i32 noundef) #1
declare i32 @getMax(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9k8ie4it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getMaxPalindromeLengthOptimised(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %5, align 8
store i32 0, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %30
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %6, align 4
%24 = mul nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %21, i64 %25
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 1, ptr %29, align 4
br label %30
30: ; preds = %20
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph5, label %82
.lr.ph5: ; preds = %36
br label %40
40: ; preds = %.lr.ph5, %76
store i32 0, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %75
.lr.ph2: ; preds = %40
br label %44
44: ; preds = %.lr.ph2, %69
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %58
48: ; preds = %44
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %6, align 4
%52 = mul nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %49, i64 %53
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
store i32 1, ptr %57, align 4
br label %68
58: ; preds = %44
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr %6, align 4
%62 = mul nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %59, i64 %63
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
store i32 -1, ptr %67, align 4
br label %68
68: ; preds = %58, %48
br label %69
69: ; preds = %68
%70 = load i32, ptr %8, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %8, align 4
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %40
br label %76
76: ; preds = %75
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %40, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %36
store i32 2, ptr %7, align 4
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %4, align 4
%85 = icmp sle i32 %83, %84
br i1 %85, label %.lr.ph11, label %208
.lr.ph11: ; preds = %82
br label %86
86: ; preds = %.lr.ph11, %202
store i32 0, ptr %6, align 4
%87 = load i32, ptr %6, align 4
%88 = load i32, ptr %4, align 4
%89 = load i32, ptr %7, align 4
%90 = sub nsw i32 %88, %89
%91 = add nsw i32 %90, 1
%92 = icmp slt i32 %87, %91
br i1 %92, label %.lr.ph8, label %201
.lr.ph8: ; preds = %86
br label %93
93: ; preds = %.lr.ph8, %192
%94 = load i32, ptr %6, align 4
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %94, %95
%97 = sub nsw i32 %96, 1
store i32 %97, ptr %8, align 4
%98 = load ptr, ptr %3, align 8
%99 = load i32, ptr %6, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = load ptr, ptr %3, align 8
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %103, i64 %105
%107 = load i32, ptr %106, align 4
%108 = icmp eq i32 %102, %107
br i1 %108, label %109, label %122
109: ; preds = %93
%110 = load i32, ptr %7, align 4
%111 = icmp eq i32 %110, 2
br i1 %111, label %112, label %122
112: ; preds = %109
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr %6, align 4
%115 = load i32, ptr %4, align 4
%116 = mul nsw i32 %114, %115
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i32, ptr %113, i64 %117
%119 = load i32, ptr %8, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %118, i64 %120
store i32 2, ptr %121, align 4
br label %191
122: ; preds = %109, %93
%123 = load ptr, ptr %3, align 8
%124 = load i32, ptr %6, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %123, i64 %125
%127 = load i32, ptr %126, align 4
%128 = load ptr, ptr %3, align 8
%129 = load i32, ptr %8, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %128, i64 %130
%132 = load i32, ptr %131, align 4
%133 = icmp eq i32 %127, %132
br i1 %133, label %134, label %157
134: ; preds = %122
%135 = load ptr, ptr %5, align 8
%136 = load i32, ptr %6, align 4
%137 = add nsw i32 %136, 1
%138 = load i32, ptr %4, align 4
%139 = mul nsw i32 %137, %138
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i32, ptr %135, i64 %140
%142 = load i32, ptr %8, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i32, ptr %141, i64 %143
%145 = getelementptr inbounds i32, ptr %144, i64 -1
%146 = load i32, ptr %145, align 4
%147 = add nsw i32 2, %146
%148 = load ptr, ptr %5, align 8
%149 = load i32, ptr %6, align 4
%150 = load i32, ptr %4, align 4
%151 = mul nsw i32 %149, %150
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i32, ptr %148, i64 %152
%154 = load i32, ptr %8, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i32, ptr %153, i64 %155
store i32 %147, ptr %156, align 4
br label %190
157: ; preds = %122
%158 = load ptr, ptr %5, align 8
%159 = load i32, ptr %6, align 4
%160 = load i32, ptr %4, align 4
%161 = mul nsw i32 %159, %160
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i32, ptr %158, i64 %162
%164 = load i32, ptr %8, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i32, ptr %163, i64 %165
%167 = getelementptr inbounds i32, ptr %166, i64 -1
%168 = load i32, ptr %167, align 4
%169 = load ptr, ptr %5, align 8
%170 = load i32, ptr %6, align 4
%171 = add nsw i32 %170, 1
%172 = load i32, ptr %4, align 4
%173 = mul nsw i32 %171, %172
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i32, ptr %169, i64 %174
%176 = load i32, ptr %8, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds i32, ptr %175, i64 %177
%179 = load i32, ptr %178, align 4
%180 = call i32 @getMax(i32 noundef %168, i32 noundef %179)
%181 = load ptr, ptr %5, align 8
%182 = load i32, ptr %6, align 4
%183 = load i32, ptr %4, align 4
%184 = mul nsw i32 %182, %183
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i32, ptr %181, i64 %185
%187 = load i32, ptr %8, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i32, ptr %186, i64 %188
store i32 %180, ptr %189, align 4
br label %190
190: ; preds = %157, %134
br label %191
191: ; preds = %190, %112
br label %192
192: ; preds = %191
%193 = load i32, ptr %6, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %6, align 4
%195 = load i32, ptr %6, align 4
%196 = load i32, ptr %4, align 4
%197 = load i32, ptr %7, align 4
%198 = sub nsw i32 %196, %197
%199 = add nsw i32 %198, 1
%200 = icmp slt i32 %195, %199
br i1 %200, label %93, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %192
br label %201
201: ; preds = %._crit_edge9, %86
br label %202
202: ; preds = %201
%203 = load i32, ptr %7, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %7, align 4
%205 = load i32, ptr %7, align 4
%206 = load i32, ptr %4, align 4
%207 = icmp sle i32 %205, %206
br i1 %207, label %86, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %202
br label %208
208: ; preds = %._crit_edge12, %82
%209 = load ptr, ptr %5, align 8
%210 = load i32, ptr %4, align 4
%211 = mul nsw i32 0, %210
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds i32, ptr %209, i64 %212
%214 = load i32, ptr %4, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i32, ptr %213, i64 %215
%217 = getelementptr inbounds i32, ptr %216, i64 -1
%218 = load i32, ptr %217, align 4
ret i32 %218
}
declare i64 @malloc(i32 noundef) #1
declare i32 @getMax(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp9roow6hc.c'
source_filename = "/tmp/tmp9roow6hc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
br label %4
4: ; preds = %8, %0
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = call i32 @putchar(i32 noundef %9)
%11 = call i32 (...) @getchar()
store i32 %11, ptr %2, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9roow6hc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %2, align 4
%9 = call i32 @putchar(i32 noundef %8)
%10 = call i32 (...) @getchar()
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @EOF, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %14
14: ; preds = %._crit_edge, %0
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkhvimnbm.c'
source_filename = "/tmp/tmpkhvimnbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CSharp_qtMain(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %8, align 4
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %10, align 8
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i64 @qtMain(i32 noundef %15, ptr noundef %16, ptr noundef %17)
%19 = trunc i64 %18 to i32
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
ret i32 %21
}
declare i64 @qtMain(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkhvimnbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CSharp_qtMain(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %8, align 4
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %10, align 8
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i64 @qtMain(i32 noundef %15, ptr noundef %16, ptr noundef %17)
%19 = trunc i64 %18 to i32
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
ret i32 %21
}
declare i64 @qtMain(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpouwvrgke.c'
source_filename = "/tmp/tmpouwvrgke.c"
target datalayout = "e-m:e-p270: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/tmpouwvrgke.c"
target datalayout = "e-m:e-p270: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/tmpfem647zu.c'
source_filename = "/tmp/tmpfem647zu.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_directory(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i32 @S_ISDIR(i32 noundef %11)
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %9, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @S_ISDIR(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/tmpfem647zu.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_directory(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i32 @S_ISDIR(i32 noundef %11)
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %9, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @S_ISDIR(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/tmpbxn4tkwz.c'
source_filename = "/tmp/tmpbxn4tkwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copy_temp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load i8, ptr @EOF, align 1
%8 = sext i8 %7 to i32
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %33
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %33
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr @SEEK_SET, align 4
%17 = call i32 @fseek(ptr noundef %15, i32 noundef 0, i32 noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call signext i8 @fgetc(ptr noundef %18)
store i8 %19, ptr %6, align 1
br label %20
20: ; preds = %26, %14
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr @EOF, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %22, %24
br i1 %25, label %26, label %32
26: ; preds = %20
%27 = load i8, ptr %6, align 1
%28 = load ptr, ptr %4, align 8
%29 = call i32 @fputc(i8 noundef signext %27, ptr noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = call signext i8 @fgetc(ptr noundef %30)
store i8 %31, ptr %6, align 1
br label %20, !llvm.loop !6
32: ; preds = %20
store i32 0, ptr %5, align 4
br label %33
33: ; preds = %32, %11, %2
%34 = load i32, ptr %5, align 4
ret i32 %34
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbxn4tkwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copy_temp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load i8, ptr @EOF, align 1
%8 = sext i8 %7 to i32
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %37
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %37
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr @SEEK_SET, align 4
%17 = call i32 @fseek(ptr noundef %15, i32 noundef 0, i32 noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call signext i8 @fgetc(ptr noundef %18)
store i8 %19, ptr %6, align 1
%20 = load i8, ptr %6, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr @EOF, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %21, %23
br i1 %24, label %.lr.ph, label %36
.lr.ph: ; preds = %14
br label %25
25: ; preds = %.lr.ph, %25
%26 = load i8, ptr %6, align 1
%27 = load ptr, ptr %4, align 8
%28 = call i32 @fputc(i8 noundef signext %26, ptr noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = call signext i8 @fgetc(ptr noundef %29)
store i8 %30, ptr %6, align 1
%31 = load i8, ptr %6, align 1
%32 = sext i8 %31 to i32
%33 = load i8, ptr @EOF, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %32, %34
br i1 %35, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %36
36: ; preds = %._crit_edge, %14
store i32 0, ptr %5, align 4
br label %37
37: ; preds = %36, %11, %2
%38 = load i32, ptr %5, align 4
ret i32 %38
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpue_ej146.c'
source_filename = "/tmp/tmpue_ej146.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @csv_get_field_int32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %4, align 4
%12 = call ptr @csv_get_field_string(ptr noundef %10, i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare ptr @strdup(ptr noundef) #1
declare ptr @csv_get_field_string(ptr noundef, i32 noundef) #1
declare i32 @sscanf(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/tmpue_ej146.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @csv_get_field_int32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %4, align 4
%12 = call ptr @csv_get_field_string(ptr noundef %10, i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare ptr @strdup(ptr noundef) #1
declare ptr @csv_get_field_string(ptr noundef, i32 noundef) #1
declare i32 @sscanf(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/tmpxoerble4.c'
source_filename = "/tmp/tmpxoerble4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2097152, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @compareOvf(i32 noundef %3, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 2
%10 = call i32 @divideOvf(i32 noundef %7, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 2
%15 = call i32 @divideNeg(i32 noundef %12, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 2
%20 = call i32 @subtractOvf(i32 noundef %17, i32 noundef %19)
ret i32 0
}
declare i32 @compareOvf(i32 noundef, i32 noundef) #1
declare i32 @divideOvf(i32 noundef, i32 noundef) #1
declare i32 @divideNeg(i32 noundef, i32 noundef) #1
declare i32 @subtractOvf(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/tmpxoerble4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2097152, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @compareOvf(i32 noundef %3, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 2
%10 = call i32 @divideOvf(i32 noundef %7, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 2
%15 = call i32 @divideNeg(i32 noundef %12, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 2
%20 = call i32 @subtractOvf(i32 noundef %17, i32 noundef %19)
ret i32 0
}
declare i32 @compareOvf(i32 noundef, i32 noundef) #1
declare i32 @divideOvf(i32 noundef, i32 noundef) #1
declare i32 @divideNeg(i32 noundef, i32 noundef) #1
declare i32 @subtractOvf(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/tmpnyj96lq3.c'
source_filename = "/tmp/tmpnyj96lq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
@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/tmpnyj96lq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
@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/tmpwxv3r7p1.c'
source_filename = "/tmp/tmpwxv3r7p1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timespecDiff(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = mul nsw i32 %9, 1000
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
%13 = load i32, ptr %12, align 4
%14 = add nsw i32 %10, %13
%15 = sext i32 %14 to i64
store i64 %15, ptr %5, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = mul nsw i32 %18, 1000
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %19, %22
%24 = sext i32 %23 to i64
store i64 %24, ptr %6, align 8
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = sub nsw i64 %25, %26
ret i64 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwxv3r7p1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timespecDiff(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = mul nsw i32 %9, 1000
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
%13 = load i32, ptr %12, align 4
%14 = add nsw i32 %10, %13
%15 = sext i32 %14 to i64
store i64 %15, ptr %5, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = mul nsw i32 %18, 1000
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.timeval, ptr %20, i32 0, i32 1
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %19, %22
%24 = sext i32 %23 to i64
store i64 %24, ptr %6, align 8
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = sub nsw i64 %25, %26
ret i64 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0l0qcqui.c'
source_filename = "/tmp/tmp0l0qcqui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printString(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 @pios_uart_puts(ptr noundef %3)
ret void
}
declare i32 @pios_uart_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0l0qcqui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printString(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 @pios_uart_puts(ptr noundef %3)
ret void
}
declare i32 @pios_uart_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpotj5081l.c'
source_filename = "/tmp/tmpotj5081l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"save to %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"wb+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @serialsave(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 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str.1)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i32 noundef 64, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @fclose(ptr noundef %13)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpotj5081l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"save to %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"wb+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @serialsave(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 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str.1)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i32 noundef 64, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @fclose(ptr noundef %13)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmylrd3ju.c'
source_filename = "/tmp/tmpmylrd3ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"HTIME.1234\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"str: %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"str: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"res : %p\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"res : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"sizeof('.') %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"sizeof(int) %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 46)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
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/tmpmylrd3ju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"HTIME.1234\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"str: %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"str: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"res : %p\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"res : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"sizeof('.') %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"sizeof(int) %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 46)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
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/tmp6u5kmen8.c'
source_filename = "/tmp/tmp6u5kmen8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_server_udp(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @create_server(ptr noundef %7, i32 noundef %8, i32 noundef 2, i32 noundef %9)
ret i32 %10
}
declare i32 @create_server(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/tmp6u5kmen8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_server_udp(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @create_server(ptr noundef %7, i32 noundef %8, i32 noundef 2, i32 noundef %9)
ret i32 %10
}
declare i32 @create_server(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/tmp9skhsk5_.c'
source_filename = "/tmp/tmp9skhsk5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Welcom to C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmp9skhsk5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Welcom to C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmp44h4nbie.c'
source_filename = "/tmp/tmp44h4nbie.c"
target datalayout = "e-m:e-p270: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/tmp44h4nbie.c"
target datalayout = "e-m:e-p270: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/tmpjky2ankg.c'
source_filename = "/tmp/tmpjky2ankg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeGate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @enable_servo(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 2
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = call i32 @set_servo_position(i32 noundef %8, i32 noundef 300)
br label %17
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = call i32 @set_servo_position(i32 noundef %14, i32 noundef 1250)
br label %16
16: ; preds = %13, %10
br label %17
17: ; preds = %16, %7
%18 = load i32, ptr %2, align 4
%19 = call i32 @disable_servo(i32 noundef %18)
ret void
}
declare i32 @enable_servo(i32 noundef) #1
declare i32 @set_servo_position(i32 noundef, i32 noundef) #1
declare i32 @disable_servo(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/tmpjky2ankg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeGate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @enable_servo(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 2
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = call i32 @set_servo_position(i32 noundef %8, i32 noundef 300)
br label %17
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = call i32 @set_servo_position(i32 noundef %14, i32 noundef 1250)
br label %16
16: ; preds = %13, %10
br label %17
17: ; preds = %16, %7
%18 = load i32, ptr %2, align 4
%19 = call i32 @disable_servo(i32 noundef %18)
ret void
}
declare i32 @enable_servo(i32 noundef) #1
declare i32 @set_servo_position(i32 noundef, i32 noundef) #1
declare i32 @disable_servo(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/tmpmyaa93zz.c'
source_filename = "/tmp/tmpmyaa93zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Memory allocation error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EOF = dso_local global i8 0, align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Input too long! Memory error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_input(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 80, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @terminate(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %12, %1
br label %16
16: ; preds = %44, %15
%17 = call signext i8 (...) @getchar()
store i8 %17, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 10
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr @EOF, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %22, %24
br label %26
26: ; preds = %20, %16
%27 = phi i1 [ false, %16 ], [ %25, %20 ]
br i1 %27, label %28, label %51
28: ; preds = %26
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %32, label %44
32: ; preds = %28
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %34, %35
%37 = call ptr @realloc(ptr noundef %33, i32 noundef %36)
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %6, align 8
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = call i32 @terminate(ptr noundef @.str.1, i32 noundef %41)
br label %43
43: ; preds = %40, %32
br label %44
44: ; preds = %43, %28
%45 = load i8, ptr %5, align 1
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 %45, ptr %50, align 1
br label %16, !llvm.loop !6
51: ; preds = %26
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %3, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %6, align 8
%57 = load ptr, ptr %2, align 8
store ptr %56, ptr %57, align 8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @terminate(ptr noundef, i32 noundef) #1
declare signext i8 @getchar(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmyaa93zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Memory allocation error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EOF = dso_local global i8 0, align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Input too long! Memory error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_input(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 80, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @terminate(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %12, %1
br label %16
16: ; preds = %44, %15
%17 = call signext i8 (...) @getchar()
store i8 %17, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 10
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr @EOF, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %22, %24
br label %26
26: ; preds = %20, %16
%27 = phi i1 [ false, %16 ], [ %25, %20 ]
br i1 %27, label %28, label %51
28: ; preds = %26
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %32, label %44
32: ; preds = %28
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %34, %35
%37 = call ptr @realloc(ptr noundef %33, i32 noundef %36)
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %6, align 8
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = call i32 @terminate(ptr noundef @.str.1, i32 noundef %41)
br label %43
43: ; preds = %40, %32
br label %44
44: ; preds = %43, %28
%45 = load i8, ptr %5, align 1
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 %45, ptr %50, align 1
br label %16, !llvm.loop !6
51: ; preds = %26
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %3, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %6, align 8
%57 = load ptr, ptr %2, align 8
store ptr %56, ptr %57, align 8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @terminate(ptr noundef, i32 noundef) #1
declare signext i8 @getchar(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp86k1oltn.c'
source_filename = "/tmp/tmp86k1oltn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = call i32 @hash(i32 noundef 1)
%8 = call i32 @hash(i32 noundef 0)
%9 = call i32 @hash(i32 noundef 0)
%10 = call i32 @hash(i32 noundef 2)
%11 = call i32 @hash(i32 noundef 1)
%12 = call i32 @hash(i32 noundef 0)
%13 = call i32 @hash(i32 noundef 3)
%14 = call i32 @hash(i32 noundef 1)
%15 = call i32 @hash(i32 noundef 1)
store i32 2, ptr %5, align 4
br label %16
16: ; preds = %45, %2
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %48
20: ; preds = %16
%21 = call i32 @hash(i32 noundef 2)
%22 = load i32, ptr %5, align 4
%23 = call i32 @hash(i32 noundef %22)
%24 = call i32 @hash(i32 noundef 0)
store i32 1, ptr %6, align 4
br label %25
25: ; preds = %36, %20
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp sle i32 %26, %28
br i1 %29, label %30, label %39
30: ; preds = %25
%31 = call i32 @hash(i32 noundef 6)
%32 = load i32, ptr %5, align 4
%33 = call i32 @hash(i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = call i32 @hash(i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %25, !llvm.loop !6
39: ; preds = %25
%40 = call i32 @hash(i32 noundef 3)
%41 = load i32, ptr %5, align 4
%42 = call i32 @hash(i32 noundef %41)
%43 = load i32, ptr %5, align 4
%44 = call i32 @hash(i32 noundef %43)
br label %45
45: ; preds = %39
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
br label %16, !llvm.loop !8
48: ; preds = %16
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
%51 = call i32 @hash(i32 noundef 7)
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
%54 = call i32 @hash(i32 noundef %53)
%55 = call i32 @hash(i32 noundef 0)
store i32 1, ptr %6, align 4
br label %56
56: ; preds = %73, %48
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %4, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %60, label %76
60: ; preds = %56
%61 = call i32 @hash(i32 noundef 6)
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, 1
%64 = call i32 @hash(i32 noundef %63)
%65 = load i32, ptr %6, align 4
%66 = call i32 @hash(i32 noundef %65)
%67 = call i32 @hash(i32 noundef 8)
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
%70 = call i32 @hash(i32 noundef %69)
%71 = load i32, ptr %6, align 4
%72 = call i32 @hash(i32 noundef %71)
br label %73
73: ; preds = %60
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %6, align 4
br label %56, !llvm.loop !9
76: ; preds = %56
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 2
store i32 %78, ptr %5, align 4
br label %79
79: ; preds = %234, %76
%80 = load i32, ptr %5, align 4
%81 = load i32, ptr %3, align 4
%82 = mul nsw i32 2, %81
%83 = load i32, ptr %4, align 4
%84 = sub nsw i32 %82, %83
%85 = sub nsw i32 %84, 2
%86 = icmp sle i32 %80, %85
br i1 %86, label %87, label %237
87: ; preds = %79
%88 = load i32, ptr %5, align 4
%89 = load i32, ptr %4, align 4
%90 = sub nsw i32 %88, %89
%91 = sub nsw i32 %90, 1
%92 = icmp slt i32 %91, 0
br i1 %92, label %93, label %103
93: ; preds = %87
%94 = load i32, ptr %5, align 4
%95 = load i32, ptr %4, align 4
%96 = sub nsw i32 %94, %95
%97 = sub nsw i32 %96, 1
%98 = sub nsw i32 0, %97
%99 = add nsw i32 %98, 2
%100 = sub nsw i32 %99, 1
%101 = sdiv i32 %100, 2
%102 = sub nsw i32 0, %101
br label %109
103: ; preds = %87
%104 = load i32, ptr %5, align 4
%105 = load i32, ptr %4, align 4
%106 = sub nsw i32 %104, %105
%107 = sub nsw i32 %106, 1
%108 = sdiv i32 %107, 2
br label %109
109: ; preds = %103, %93
%110 = phi i32 [ %102, %93 ], [ %108, %103 ]
store i32 %110, ptr %6, align 4
%111 = call i32 @hash(i32 noundef 7)
%112 = load i32, ptr %5, align 4
%113 = call i32 @hash(i32 noundef %112)
%114 = load i32, ptr %6, align 4
%115 = call i32 @hash(i32 noundef %114)
%116 = load i32, ptr %5, align 4
%117 = load i32, ptr %4, align 4
%118 = add nsw i32 %116, %117
%119 = srem i32 %118, 2
%120 = icmp eq i32 %119, 0
br i1 %120, label %121, label %142
121: ; preds = %109
%122 = load i32, ptr %5, align 4
%123 = load i32, ptr %4, align 4
%124 = sub nsw i32 %122, %123
%125 = sdiv i32 %124, 2
store i32 %125, ptr %6, align 4
%126 = call i32 @hash(i32 noundef 5)
%127 = load i32, ptr %5, align 4
%128 = call i32 @hash(i32 noundef %127)
%129 = load i32, ptr %5, align 4
%130 = load i32, ptr %4, align 4
%131 = sub nsw i32 %129, %130
%132 = sdiv i32 %131, 2
%133 = call i32 @hash(i32 noundef %132)
%134 = call i32 @hash(i32 noundef 8)
%135 = load i32, ptr %5, align 4
%136 = call i32 @hash(i32 noundef %135)
%137 = load i32, ptr %5, align 4
%138 = load i32, ptr %4, align 4
%139 = sub nsw i32 %137, %138
%140 = sdiv i32 %139, 2
%141 = call i32 @hash(i32 noundef %140)
br label %142
142: ; preds = %121, %109
%143 = load i32, ptr %5, align 4
%144 = load i32, ptr %4, align 4
%145 = sub nsw i32 %143, %144
%146 = add nsw i32 %145, 1
%147 = icmp slt i32 %146, 0
br i1 %147, label %148, label %156
148: ; preds = %142
%149 = load i32, ptr %5, align 4
%150 = load i32, ptr %4, align 4
%151 = sub nsw i32 %149, %150
%152 = add nsw i32 %151, 1
%153 = sub nsw i32 0, %152
%154 = sdiv i32 %153, 2
%155 = sub nsw i32 0, %154
br label %164
156: ; preds = %142
%157 = load i32, ptr %5, align 4
%158 = load i32, ptr %4, align 4
%159 = sub nsw i32 %157, %158
%160 = add nsw i32 %159, 1
%161 = add nsw i32 %160, 2
%162 = sub nsw i32 %161, 1
%163 = sdiv i32 %162, 2
br label %164
164: ; preds = %156, %148
%165 = phi i32 [ %155, %148 ], [ %163, %156 ]
store i32 %165, ptr %6, align 4
br label %166
166: ; preds = %203, %164
%167 = load i32, ptr %6, align 4
%168 = load i32, ptr %5, align 4
%169 = load i32, ptr %4, align 4
%170 = add nsw i32 %168, %169
%171 = sub nsw i32 %170, 1
%172 = icmp slt i32 %171, 0
br i1 %172, label %173, label %183
173: ; preds = %166
%174 = load i32, ptr %5, align 4
%175 = load i32, ptr %4, align 4
%176 = add nsw i32 %174, %175
%177 = sub nsw i32 %176, 1
%178 = sub nsw i32 0, %177
%179 = add nsw i32 %178, 2
%180 = sub nsw i32 %179, 1
%181 = sdiv i32 %180, 2
%182 = sub nsw i32 0, %181
br label %189
183: ; preds = %166
%184 = load i32, ptr %5, align 4
%185 = load i32, ptr %4, align 4
%186 = add nsw i32 %184, %185
%187 = sub nsw i32 %186, 1
%188 = sdiv i32 %187, 2
br label %189
189: ; preds = %183, %173
%190 = phi i32 [ %182, %173 ], [ %188, %183 ]
%191 = icmp sle i32 %167, %190
br i1 %191, label %192, label %206
192: ; preds = %189
%193 = call i32 @hash(i32 noundef 6)
%194 = load i32, ptr %5, align 4
%195 = call i32 @hash(i32 noundef %194)
%196 = load i32, ptr %6, align 4
%197 = call i32 @hash(i32 noundef %196)
%198 = call i32 @hash(i32 noundef 8)
%199 = load i32, ptr %5, align 4
%200 = call i32 @hash(i32 noundef %199)
%201 = load i32, ptr %6, align 4
%202 = call i32 @hash(i32 noundef %201)
br label %203
203: ; preds = %192
%204 = load i32, ptr %6, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %6, align 4
br label %166, !llvm.loop !10
206: ; preds = %189
%207 = load i32, ptr %5, align 4
%208 = load i32, ptr %4, align 4
%209 = add nsw i32 %207, %208
%210 = srem i32 %209, 2
%211 = icmp eq i32 %210, 0
br i1 %211, label %212, label %233
212: ; preds = %206
%213 = load i32, ptr %5, align 4
%214 = load i32, ptr %4, align 4
%215 = add nsw i32 %213, %214
%216 = sdiv i32 %215, 2
store i32 %216, ptr %6, align 4
%217 = call i32 @hash(i32 noundef 4)
%218 = load i32, ptr %5, align 4
%219 = call i32 @hash(i32 noundef %218)
%220 = load i32, ptr %5, align 4
%221 = load i32, ptr %4, align 4
%222 = add nsw i32 %220, %221
%223 = sdiv i32 %222, 2
%224 = call i32 @hash(i32 noundef %223)
%225 = call i32 @hash(i32 noundef 8)
%226 = load i32, ptr %5, align 4
%227 = call i32 @hash(i32 noundef %226)
%228 = load i32, ptr %5, align 4
%229 = load i32, ptr %4, align 4
%230 = add nsw i32 %228, %229
%231 = sdiv i32 %230, 2
%232 = call i32 @hash(i32 noundef %231)
br label %233
233: ; preds = %212, %206
br label %234
234: ; preds = %233
%235 = load i32, ptr %5, align 4
%236 = add nsw i32 %235, 1
store i32 %236, ptr %5, align 4
br label %79, !llvm.loop !11
237: ; preds = %79
%238 = load i32, ptr %3, align 4
%239 = mul nsw i32 2, %238
%240 = load i32, ptr %4, align 4
%241 = sub nsw i32 %239, %240
%242 = sub nsw i32 %241, 1
store i32 %242, ptr %5, align 4
br label %243
243: ; preds = %269, %237
%244 = load i32, ptr %5, align 4
%245 = load i32, ptr %3, align 4
%246 = mul nsw i32 2, %245
%247 = sub nsw i32 %246, 2
%248 = icmp sle i32 %244, %247
br i1 %248, label %249, label %272
249: ; preds = %243
%250 = load i32, ptr %5, align 4
%251 = load i32, ptr %3, align 4
%252 = sub nsw i32 %250, %251
%253 = add nsw i32 %252, 1
store i32 %253, ptr %6, align 4
br label %254
254: ; preds = %265, %249
%255 = load i32, ptr %6, align 4
%256 = load i32, ptr %3, align 4
%257 = sub nsw i32 %256, 1
%258 = icmp sle i32 %255, %257
br i1 %258, label %259, label %268
259: ; preds = %254
%260 = call i32 @hash(i32 noundef 6)
%261 = load i32, ptr %5, align 4
%262 = call i32 @hash(i32 noundef %261)
%263 = load i32, ptr %6, align 4
%264 = call i32 @hash(i32 noundef %263)
br label %265
265: ; preds = %259
%266 = load i32, ptr %6, align 4
%267 = add nsw i32 %266, 1
store i32 %267, ptr %6, align 4
br label %254, !llvm.loop !12
268: ; preds = %254
br label %269
269: ; preds = %268
%270 = load i32, ptr %5, align 4
%271 = add nsw i32 %270, 1
store i32 %271, ptr %5, align 4
br label %243, !llvm.loop !13
272: ; preds = %243
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp86k1oltn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = call i32 @hash(i32 noundef 1)
%8 = call i32 @hash(i32 noundef 0)
%9 = call i32 @hash(i32 noundef 0)
%10 = call i32 @hash(i32 noundef 2)
%11 = call i32 @hash(i32 noundef 1)
%12 = call i32 @hash(i32 noundef 0)
%13 = call i32 @hash(i32 noundef 3)
%14 = call i32 @hash(i32 noundef 1)
%15 = call i32 @hash(i32 noundef 1)
store i32 2, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph2, label %53
.lr.ph2: ; preds = %2
br label %19
19: ; preds = %.lr.ph2, %47
%20 = call i32 @hash(i32 noundef 2)
%21 = load i32, ptr %5, align 4
%22 = call i32 @hash(i32 noundef %21)
%23 = call i32 @hash(i32 noundef 0)
store i32 1, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = sub nsw i32 %25, 1
%27 = icmp sle i32 %24, %26
br i1 %27, label %.lr.ph, label %41
.lr.ph: ; preds = %19
br label %28
28: ; preds = %.lr.ph, %34
%29 = call i32 @hash(i32 noundef 6)
%30 = load i32, ptr %5, align 4
%31 = call i32 @hash(i32 noundef %30)
%32 = load i32, ptr %6, align 4
%33 = call i32 @hash(i32 noundef %32)
br label %34
34: ; preds = %28
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %38, 1
%40 = icmp sle i32 %37, %39
br i1 %40, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %41
41: ; preds = %._crit_edge, %19
%42 = call i32 @hash(i32 noundef 3)
%43 = load i32, ptr %5, align 4
%44 = call i32 @hash(i32 noundef %43)
%45 = load i32, ptr %5, align 4
%46 = call i32 @hash(i32 noundef %45)
br label %47
47: ; preds = %41
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %53
53: ; preds = %._crit_edge3, %2
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
%56 = call i32 @hash(i32 noundef 7)
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 1
%59 = call i32 @hash(i32 noundef %58)
%60 = call i32 @hash(i32 noundef 0)
store i32 1, ptr %6, align 4
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp sle i32 %61, %62
br i1 %63, label %.lr.ph5, label %83
.lr.ph5: ; preds = %53
br label %64
64: ; preds = %.lr.ph5, %77
%65 = call i32 @hash(i32 noundef 6)
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
%68 = call i32 @hash(i32 noundef %67)
%69 = load i32, ptr %6, align 4
%70 = call i32 @hash(i32 noundef %69)
%71 = call i32 @hash(i32 noundef 8)
%72 = load i32, ptr %4, align 4
%73 = add nsw i32 %72, 1
%74 = call i32 @hash(i32 noundef %73)
%75 = load i32, ptr %6, align 4
%76 = call i32 @hash(i32 noundef %75)
br label %77
77: ; preds = %64
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %6, align 4
%80 = load i32, ptr %6, align 4
%81 = load i32, ptr %4, align 4
%82 = icmp sle i32 %80, %81
br i1 %82, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %77
br label %83
83: ; preds = %._crit_edge6, %53
%84 = load i32, ptr %4, align 4
%85 = add nsw i32 %84, 2
store i32 %85, ptr %5, align 4
%86 = load i32, ptr %5, align 4
%87 = load i32, ptr %3, align 4
%88 = mul nsw i32 2, %87
%89 = load i32, ptr %4, align 4
%90 = sub nsw i32 %88, %89
%91 = sub nsw i32 %90, 2
%92 = icmp sle i32 %86, %91
br i1 %92, label %.lr.ph8, label %250
.lr.ph8: ; preds = %83
br label %93
93: ; preds = %.lr.ph8, %240
%94 = load i32, ptr %5, align 4
%95 = load i32, ptr %4, align 4
%96 = sub nsw i32 %94, %95
%97 = sub nsw i32 %96, 1
%98 = icmp slt i32 %97, 0
br i1 %98, label %99, label %109
99: ; preds = %93
%100 = load i32, ptr %5, align 4
%101 = load i32, ptr %4, align 4
%102 = sub nsw i32 %100, %101
%103 = sub nsw i32 %102, 1
%104 = sub nsw i32 0, %103
%105 = add nsw i32 %104, 2
%106 = sub nsw i32 %105, 1
%107 = sdiv i32 %106, 2
%108 = sub nsw i32 0, %107
br label %115
109: ; preds = %93
%110 = load i32, ptr %5, align 4
%111 = load i32, ptr %4, align 4
%112 = sub nsw i32 %110, %111
%113 = sub nsw i32 %112, 1
%114 = sdiv i32 %113, 2
br label %115
115: ; preds = %109, %99
%116 = phi i32 [ %108, %99 ], [ %114, %109 ]
store i32 %116, ptr %6, align 4
%117 = call i32 @hash(i32 noundef 7)
%118 = load i32, ptr %5, align 4
%119 = call i32 @hash(i32 noundef %118)
%120 = load i32, ptr %6, align 4
%121 = call i32 @hash(i32 noundef %120)
%122 = load i32, ptr %5, align 4
%123 = load i32, ptr %4, align 4
%124 = add nsw i32 %122, %123
%125 = srem i32 %124, 2
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %148
127: ; preds = %115
%128 = load i32, ptr %5, align 4
%129 = load i32, ptr %4, align 4
%130 = sub nsw i32 %128, %129
%131 = sdiv i32 %130, 2
store i32 %131, ptr %6, align 4
%132 = call i32 @hash(i32 noundef 5)
%133 = load i32, ptr %5, align 4
%134 = call i32 @hash(i32 noundef %133)
%135 = load i32, ptr %5, align 4
%136 = load i32, ptr %4, align 4
%137 = sub nsw i32 %135, %136
%138 = sdiv i32 %137, 2
%139 = call i32 @hash(i32 noundef %138)
%140 = call i32 @hash(i32 noundef 8)
%141 = load i32, ptr %5, align 4
%142 = call i32 @hash(i32 noundef %141)
%143 = load i32, ptr %5, align 4
%144 = load i32, ptr %4, align 4
%145 = sub nsw i32 %143, %144
%146 = sdiv i32 %145, 2
%147 = call i32 @hash(i32 noundef %146)
br label %148
148: ; preds = %127, %115
%149 = load i32, ptr %5, align 4
%150 = load i32, ptr %4, align 4
%151 = sub nsw i32 %149, %150
%152 = add nsw i32 %151, 1
%153 = icmp slt i32 %152, 0
br i1 %153, label %154, label %162
154: ; preds = %148
%155 = load i32, ptr %5, align 4
%156 = load i32, ptr %4, align 4
%157 = sub nsw i32 %155, %156
%158 = add nsw i32 %157, 1
%159 = sub nsw i32 0, %158
%160 = sdiv i32 %159, 2
%161 = sub nsw i32 0, %160
br label %170
162: ; preds = %148
%163 = load i32, ptr %5, align 4
%164 = load i32, ptr %4, align 4
%165 = sub nsw i32 %163, %164
%166 = add nsw i32 %165, 1
%167 = add nsw i32 %166, 2
%168 = sub nsw i32 %167, 1
%169 = sdiv i32 %168, 2
br label %170
170: ; preds = %162, %154
%171 = phi i32 [ %161, %154 ], [ %169, %162 ]
store i32 %171, ptr %6, align 4
br label %172
172: ; preds = %209, %170
%173 = load i32, ptr %6, align 4
%174 = load i32, ptr %5, align 4
%175 = load i32, ptr %4, align 4
%176 = add nsw i32 %174, %175
%177 = sub nsw i32 %176, 1
%178 = icmp slt i32 %177, 0
br i1 %178, label %179, label %189
179: ; preds = %172
%180 = load i32, ptr %5, align 4
%181 = load i32, ptr %4, align 4
%182 = add nsw i32 %180, %181
%183 = sub nsw i32 %182, 1
%184 = sub nsw i32 0, %183
%185 = add nsw i32 %184, 2
%186 = sub nsw i32 %185, 1
%187 = sdiv i32 %186, 2
%188 = sub nsw i32 0, %187
br label %195
189: ; preds = %172
%190 = load i32, ptr %5, align 4
%191 = load i32, ptr %4, align 4
%192 = add nsw i32 %190, %191
%193 = sub nsw i32 %192, 1
%194 = sdiv i32 %193, 2
br label %195
195: ; preds = %189, %179
%196 = phi i32 [ %188, %179 ], [ %194, %189 ]
%197 = icmp sle i32 %173, %196
br i1 %197, label %198, label %212
198: ; preds = %195
%199 = call i32 @hash(i32 noundef 6)
%200 = load i32, ptr %5, align 4
%201 = call i32 @hash(i32 noundef %200)
%202 = load i32, ptr %6, align 4
%203 = call i32 @hash(i32 noundef %202)
%204 = call i32 @hash(i32 noundef 8)
%205 = load i32, ptr %5, align 4
%206 = call i32 @hash(i32 noundef %205)
%207 = load i32, ptr %6, align 4
%208 = call i32 @hash(i32 noundef %207)
br label %209
209: ; preds = %198
%210 = load i32, ptr %6, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %6, align 4
br label %172, !llvm.loop !10
212: ; preds = %195
%213 = load i32, ptr %5, align 4
%214 = load i32, ptr %4, align 4
%215 = add nsw i32 %213, %214
%216 = srem i32 %215, 2
%217 = icmp eq i32 %216, 0
br i1 %217, label %218, label %239
218: ; preds = %212
%219 = load i32, ptr %5, align 4
%220 = load i32, ptr %4, align 4
%221 = add nsw i32 %219, %220
%222 = sdiv i32 %221, 2
store i32 %222, ptr %6, align 4
%223 = call i32 @hash(i32 noundef 4)
%224 = load i32, ptr %5, align 4
%225 = call i32 @hash(i32 noundef %224)
%226 = load i32, ptr %5, align 4
%227 = load i32, ptr %4, align 4
%228 = add nsw i32 %226, %227
%229 = sdiv i32 %228, 2
%230 = call i32 @hash(i32 noundef %229)
%231 = call i32 @hash(i32 noundef 8)
%232 = load i32, ptr %5, align 4
%233 = call i32 @hash(i32 noundef %232)
%234 = load i32, ptr %5, align 4
%235 = load i32, ptr %4, align 4
%236 = add nsw i32 %234, %235
%237 = sdiv i32 %236, 2
%238 = call i32 @hash(i32 noundef %237)
br label %239
239: ; preds = %218, %212
br label %240
240: ; preds = %239
%241 = load i32, ptr %5, align 4
%242 = add nsw i32 %241, 1
store i32 %242, ptr %5, align 4
%243 = load i32, ptr %5, align 4
%244 = load i32, ptr %3, align 4
%245 = mul nsw i32 2, %244
%246 = load i32, ptr %4, align 4
%247 = sub nsw i32 %245, %246
%248 = sub nsw i32 %247, 2
%249 = icmp sle i32 %243, %248
br i1 %249, label %93, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %240
br label %250
250: ; preds = %._crit_edge9, %83
%251 = load i32, ptr %3, align 4
%252 = mul nsw i32 2, %251
%253 = load i32, ptr %4, align 4
%254 = sub nsw i32 %252, %253
%255 = sub nsw i32 %254, 1
store i32 %255, ptr %5, align 4
%256 = load i32, ptr %5, align 4
%257 = load i32, ptr %3, align 4
%258 = mul nsw i32 2, %257
%259 = sub nsw i32 %258, 2
%260 = icmp sle i32 %256, %259
br i1 %260, label %.lr.ph14, label %292
.lr.ph14: ; preds = %250
br label %261
261: ; preds = %.lr.ph14, %284
%262 = load i32, ptr %5, align 4
%263 = load i32, ptr %3, align 4
%264 = sub nsw i32 %262, %263
%265 = add nsw i32 %264, 1
store i32 %265, ptr %6, align 4
%266 = load i32, ptr %6, align 4
%267 = load i32, ptr %3, align 4
%268 = sub nsw i32 %267, 1
%269 = icmp sle i32 %266, %268
br i1 %269, label %.lr.ph11, label %283
.lr.ph11: ; preds = %261
br label %270
270: ; preds = %.lr.ph11, %276
%271 = call i32 @hash(i32 noundef 6)
%272 = load i32, ptr %5, align 4
%273 = call i32 @hash(i32 noundef %272)
%274 = load i32, ptr %6, align 4
%275 = call i32 @hash(i32 noundef %274)
br label %276
276: ; preds = %270
%277 = load i32, ptr %6, align 4
%278 = add nsw i32 %277, 1
store i32 %278, ptr %6, align 4
%279 = load i32, ptr %6, align 4
%280 = load i32, ptr %3, align 4
%281 = sub nsw i32 %280, 1
%282 = icmp sle i32 %279, %281
br i1 %282, label %270, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %276
br label %283
283: ; preds = %._crit_edge12, %261
br label %284
284: ; preds = %283
%285 = load i32, ptr %5, align 4
%286 = add nsw i32 %285, 1
store i32 %286, ptr %5, align 4
%287 = load i32, ptr %5, align 4
%288 = load i32, ptr %3, align 4
%289 = mul nsw i32 2, %288
%290 = sub nsw i32 %289, 2
%291 = icmp sle i32 %287, %290
br i1 %291, label %261, label %._crit_edge15, !llvm.loop !13
._crit_edge15: ; preds = %284
br label %292
292: ; preds = %._crit_edge15, %250
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpmaqtkdxy.c'
source_filename = "/tmp/tmpmaqtkdxy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Creating child %d.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"fork failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"Hello from the parent.\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"wait failed: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Child %d exited with error code %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Elapsed time = %f seconds.\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 double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %11, align 4
br label %20
19: ; preds = %2
store i32 1, ptr %11, align 4
br label %20
20: ; preds = %19, %14
%21 = call double (...) @get_seconds()
store double %21, ptr %8, align 8
store i32 0, ptr %10, align 4
br label %22
22: ; preds = %43, %20
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %46
26: ; preds = %22
%27 = load i32, ptr %10, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
%29 = call i32 (...) @fork()
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %42
32: ; preds = %26
%33 = load i32, ptr @stderr, align 4
%34 = load i32, ptr @errno, align 4
%35 = call ptr @strerror(i32 noundef %34)
%36 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.1, ptr noundef %35)
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = call i32 @perror(ptr noundef %39)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %26
br label %43
43: ; preds = %42
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %10, align 4
br label %22, !llvm.loop !6
46: ; preds = %22
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %10, align 4
br label %48
48: ; preds = %72, %46
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %11, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %75
52: ; preds = %48
%53 = call i32 @wait(ptr noundef %6)
store i32 %53, ptr %7, align 4
%54 = load i32, ptr %7, align 4
%55 = icmp eq i32 %54, -1
br i1 %55, label %56, label %66
56: ; preds = %52
%57 = load i32, ptr @stderr, align 4
%58 = load i32, ptr @errno, align 4
%59 = call ptr @strerror(i32 noundef %58)
%60 = call i32 @fprintf(i32 noundef %57, ptr noundef @.str.3, ptr noundef %59)
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = call i32 @perror(ptr noundef %63)
%65 = call i32 @exit(i32 noundef 1) #3
unreachable
66: ; preds = %52
%67 = load i32, ptr %6, align 4
%68 = call i32 @WEXITSTATUS(i32 noundef %67)
store i32 %68, ptr %6, align 4
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %6, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69, i32 noundef %70)
br label %72
72: ; preds = %66
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %10, align 4
br label %48, !llvm.loop !8
75: ; preds = %48
%76 = call double (...) @get_seconds()
store double %76, ptr %9, align 8
%77 = load double, ptr %9, align 8
%78 = load double, ptr %8, align 8
%79 = fsub double %77, %78
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %79)
%81 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare double @get_seconds(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fork(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait(ptr noundef) #1
declare i32 @WEXITSTATUS(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/tmpmaqtkdxy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Creating child %d.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"fork failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"Hello from the parent.\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"wait failed: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Child %d exited with error code %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Elapsed time = %f seconds.\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 double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %11, align 4
br label %20
19: ; preds = %2
store i32 1, ptr %11, align 4
br label %20
20: ; preds = %19, %14
%21 = call double (...) @get_seconds()
store double %21, ptr %8, align 8
store i32 0, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %11, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %48
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %42
%26 = load i32, ptr %10, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
%28 = call i32 (...) @fork()
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %41
31: ; preds = %25
%32 = load i32, ptr @stderr, align 4
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.1, ptr noundef %34)
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 0
%38 = load ptr, ptr %37, align 8
%39 = call i32 @perror(ptr noundef %38)
%40 = call i32 @exit(i32 noundef 1) #3
unreachable
41: ; preds = %25
br label %42
42: ; preds = %41
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %10, align 4
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %11, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %20
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %11, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph2, label %79
.lr.ph2: ; preds = %48
br label %53
53: ; preds = %.lr.ph2, %73
%54 = call i32 @wait(ptr noundef %6)
store i32 %54, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %67
57: ; preds = %53
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr @errno, align 4
%60 = call ptr @strerror(i32 noundef %59)
%61 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.3, ptr noundef %60)
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 0
%64 = load ptr, ptr %63, align 8
%65 = call i32 @perror(ptr noundef %64)
%66 = call i32 @exit(i32 noundef 1) #3
unreachable
67: ; preds = %53
%68 = load i32, ptr %6, align 4
%69 = call i32 @WEXITSTATUS(i32 noundef %68)
store i32 %69, ptr %6, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %6, align 4
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %70, i32 noundef %71)
br label %73
73: ; preds = %67
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %10, align 4
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %11, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %79
79: ; preds = %._crit_edge3, %48
%80 = call double (...) @get_seconds()
store double %80, ptr %9, align 8
%81 = load double, ptr %9, align 8
%82 = load double, ptr %8, align 8
%83 = fsub double %81, %82
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %83)
%85 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare double @get_seconds(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fork(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait(ptr noundef) #1
declare i32 @WEXITSTATUS(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/tmppzd14_gl.c'
source_filename = "/tmp/tmppzd14_gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"conf\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"mount\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"umount\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"premount\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"postumount\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"start\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @move_config(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @__move_config(i32 noundef %5, i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @__move_config(i32 noundef %8, i32 noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @__move_config(i32 noundef %11, i32 noundef %12, ptr noundef @.str.2)
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @__move_config(i32 noundef %14, i32 noundef %15, ptr noundef @.str.3)
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @__move_config(i32 noundef %17, i32 noundef %18, ptr noundef @.str.4)
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @__move_config(i32 noundef %20, i32 noundef %21, ptr noundef @.str.5)
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 @__move_config(i32 noundef %23, i32 noundef %24, ptr noundef @.str.6)
ret i32 0
}
declare i32 @__move_config(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/tmppzd14_gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"conf\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"mount\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"umount\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"premount\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"postumount\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"start\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @move_config(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @__move_config(i32 noundef %5, i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @__move_config(i32 noundef %8, i32 noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @__move_config(i32 noundef %11, i32 noundef %12, ptr noundef @.str.2)
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @__move_config(i32 noundef %14, i32 noundef %15, ptr noundef @.str.3)
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @__move_config(i32 noundef %17, i32 noundef %18, ptr noundef @.str.4)
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @__move_config(i32 noundef %20, i32 noundef %21, ptr noundef @.str.5)
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 @__move_config(i32 noundef %23, i32 noundef %24, ptr noundef @.str.6)
ret i32 0
}
declare i32 @__move_config(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/tmpv7m0umb_.c'
source_filename = "/tmp/tmpv7m0umb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"tabe_interp: x value %g is not in table, your program is buggy.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @table_interp(double noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store double %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %59, %4
%12 = load i32, ptr %10, align 4
%13 = load i32, ptr %9, align 4
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %62
16: ; preds = %11
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %10, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
%22 = load double, ptr %6, align 8
%23 = fcmp ole double %21, %22
br i1 %23, label %24, label %58
24: ; preds = %16
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %10, align 4
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %25, i64 %28
%30 = load double, ptr %29, align 8
%31 = load double, ptr %6, align 8
%32 = fcmp ogt double %30, %31
br i1 %32, label %33, label %58
33: ; preds = %24
%34 = load double, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %45, i64 %48
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %51, i64 %54
%56 = load double, ptr %55, align 8
%57 = call double @interpolate(double noundef %34, double noundef %39, double noundef %44, double noundef %50, double noundef %56)
store double %57, ptr %5, align 8
br label %65
58: ; preds = %24, %16
br label %59
59: ; preds = %58
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
br label %11, !llvm.loop !6
62: ; preds = %11
%63 = load double, ptr %6, align 8
%64 = call i32 @printf(ptr noundef @.str, double noundef %63)
store double 0.000000e+00, ptr %5, align 8
br label %65
65: ; preds = %62, %33
%66 = load double, ptr %5, align 8
ret double %66
}
declare double @interpolate(double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv7m0umb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"tabe_interp: x value %g is not in table, your program is buggy.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @table_interp(double noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store double %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %9, align 4
%13 = sub nsw i32 %12, 1
%14 = icmp slt i32 %11, %13
br i1 %14, label %.lr.ph, label %65
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %58
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %10, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = load double, ptr %6, align 8
%22 = fcmp ole double %20, %21
br i1 %22, label %23, label %57
23: ; preds = %15
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %10, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %24, i64 %27
%29 = load double, ptr %28, align 8
%30 = load double, ptr %6, align 8
%31 = fcmp ogt double %29, %30
br i1 %31, label %32, label %57
32: ; preds = %23
%33 = load double, ptr %6, align 8
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
%38 = load double, ptr %37, align 8
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %44, i64 %47
%49 = load double, ptr %48, align 8
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %50, i64 %53
%55 = load double, ptr %54, align 8
%56 = call double @interpolate(double noundef %33, double noundef %38, double noundef %43, double noundef %49, double noundef %55)
store double %56, ptr %5, align 8
br label %68
57: ; preds = %23, %15
br label %58
58: ; preds = %57
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = load i32, ptr %9, align 4
%63 = sub nsw i32 %62, 1
%64 = icmp slt i32 %61, %63
br i1 %64, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %65
65: ; preds = %._crit_edge, %4
%66 = load double, ptr %6, align 8
%67 = call i32 @printf(ptr noundef @.str, double noundef %66)
store double 0.000000e+00, ptr %5, align 8
br label %68
68: ; preds = %65, %32
%69 = load double, ptr %5, align 8
ret double %69
}
declare double @interpolate(double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppvfj7a82.c'
source_filename = "/tmp/tmppvfj7a82.c"
target datalayout = "e-m:e-p270: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/tmppvfj7a82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.