llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpigz47ile.c'
source_filename = "/tmp/tmpigz47ile.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_negative() #0 {
%1 = call i64 @count(i32 noundef -1)
%2 = icmp eq i64 0, %1
br i1 %2, label %3, label %9
3: ; preds = %0
%4 = call i64 @count(i32 noundef -10)
%5 = icmp eq i64 0, %4
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = call i64 @count(i32 noundef -100)
%8 = icmp eq i64 0, %7
br label %9
9: ; preds = %6, %3, %0
%10 = phi i1 [ false, %3 ], [ false, %0 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @count(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/tmpigz47ile.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_negative() #0 {
%1 = call i64 @count(i32 noundef -1)
%2 = icmp eq i64 0, %1
br i1 %2, label %3, label %9
3: ; preds = %0
%4 = call i64 @count(i32 noundef -10)
%5 = icmp eq i64 0, %4
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = call i64 @count(i32 noundef -100)
%8 = icmp eq i64 0, %7
br label %9
9: ; preds = %6, %3, %0
%10 = phi i1 [ false, %3 ], [ false, %0 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @count(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/tmp8vqrcnet.c'
source_filename = "/tmp/tmp8vqrcnet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ListHistoryItem_helper_function_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8vqrcnet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ListHistoryItem_helper_function_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptr3x_b0t.c'
source_filename = "/tmp/tmptr3x_b0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Called func2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @xyz()
%5 = call i32 (...) @abc()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @xyz(...) #1
declare i32 @abc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptr3x_b0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Called func2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @xyz()
%5 = call i32 (...) @abc()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @xyz(...) #1
declare i32 @abc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp90addt37.c'
source_filename = "/tmp/tmp90addt37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tapGap(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 1200, %3
%5 = sdiv i32 %4, 8
%6 = call i32 @sounder(i32 noundef 0, i32 noundef %5)
ret void
}
declare i32 @sounder(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/tmp90addt37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tapGap(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 1200, %3
%5 = sdiv i32 %4, 8
%6 = call i32 @sounder(i32 noundef 0, i32 noundef %5)
ret void
}
declare i32 @sounder(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/tmpegmv6jbn.c'
source_filename = "/tmp/tmpegmv6jbn.c"
target datalayout = "e-m:e-p270: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/tmpegmv6jbn.c"
target datalayout = "e-m:e-p270: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/tmp7plivr4o.c'
source_filename = "/tmp/tmp7plivr4o.c"
target datalayout = "e-m:e-p270: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/tmp7plivr4o.c"
target datalayout = "e-m:e-p270: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/tmpom7b04_x.c'
source_filename = "/tmp/tmpom7b04_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpom7b04_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj9c329ij.c'
source_filename = "/tmp/tmpj9c329ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @setjmp(i32 noundef %4) #3
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = call i32 @exception_handling(i32 noundef %9)
br label %11
11: ; preds = %8, %0
ret i32 0
}
; Function Attrs: returns_twice
declare i32 @setjmp(i32 noundef) #1
declare i32 @exception_handling(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { returns_twice }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9c329ij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @setjmp(i32 noundef %4) #3
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = call i32 @exception_handling(i32 noundef %9)
br label %11
11: ; preds = %8, %0
ret i32 0
}
; Function Attrs: returns_twice
declare i32 @setjmp(i32 noundef) #1
declare i32 @exception_handling(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { returns_twice }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph_y8mbj2.c'
source_filename = "/tmp/tmph_y8mbj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @specialKeyReleased(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %13 [
i32 128, label %8
i32 132, label %9
i32 130, label %10
i32 129, label %11
i32 131, label %12
]
8: ; preds = %3
br label %14
9: ; preds = %3
br label %14
10: ; preds = %3
br label %14
11: ; preds = %3
br label %14
12: ; preds = %3
br label %14
13: ; preds = %3
br label %14
14: ; preds = %13, %12, %11, %10, %9, %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_y8mbj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @specialKeyReleased(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %13 [
i32 128, label %8
i32 132, label %9
i32 130, label %10
i32 129, label %11
i32 131, label %12
]
8: ; preds = %3
br label %14
9: ; preds = %3
br label %14
10: ; preds = %3
br label %14
11: ; preds = %3
br label %14
12: ; preds = %3
br label %14
13: ; preds = %3
br label %14
14: ; preds = %13, %12, %11, %10, %9, %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvf1slbar.c'
source_filename = "/tmp/tmpvf1slbar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart0_init() #0 {
%1 = call i32 (...) @clock_init_uart()
store volatile i64 128, ptr inttoptr (i64 29523980 to ptr), align 8
store volatile i64 0, ptr inttoptr (i64 29523972 to ptr), align 8
store volatile i64 13, ptr inttoptr (i64 29523968 to ptr), align 8
store volatile i64 3, ptr inttoptr (i64 29523980 to ptr), align 8
ret void
}
declare i32 @clock_init_uart(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvf1slbar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart0_init() #0 {
%1 = call i32 (...) @clock_init_uart()
store volatile i64 128, ptr inttoptr (i64 29523980 to ptr), align 8
store volatile i64 0, ptr inttoptr (i64 29523972 to ptr), align 8
store volatile i64 13, ptr inttoptr (i64 29523968 to ptr), align 8
store volatile i64 3, ptr inttoptr (i64 29523980 to ptr), align 8
ret void
}
declare i32 @clock_init_uart(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmparelh8e6.c'
source_filename = "/tmp/tmparelh8e6.c"
target datalayout = "e-m:e-p270: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/tmparelh8e6.c"
target datalayout = "e-m:e-p270: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/tmpv4jo8hu6.c'
source_filename = "/tmp/tmpv4jo8hu6.c"
target datalayout = "e-m:e-p270: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/tmpv4jo8hu6.c"
target datalayout = "e-m:e-p270: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/tmpb86utgfs.c'
source_filename = "/tmp/tmpb86utgfs.c"
target datalayout = "e-m:e-p270: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/tmpb86utgfs.c"
target datalayout = "e-m:e-p270: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/tmp3zh0091f.c'
source_filename = "/tmp/tmp3zh0091f.c"
target datalayout = "e-m:e-p270: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/tmp3zh0091f.c"
target datalayout = "e-m:e-p270: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/tmpvf6oal4g.c'
source_filename = "/tmp/tmpvf6oal4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @find_next_zero_bit(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %7, align 8
%13 = udiv i64 %12, 64
%14 = getelementptr inbounds i64, ptr %11, i64 %13
store ptr %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = and i64 %15, -64
store i64 %16, ptr %9, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %6, align 8
%19 = icmp uge i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %3
%21 = load i64, ptr %6, align 8
store i64 %21, ptr %4, align 8
br label %95
22: ; preds = %3
%23 = load i64, ptr %9, align 8
%24 = load i64, ptr %6, align 8
%25 = sub i64 %24, %23
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = urem i64 %26, 64
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %52
30: ; preds = %22
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i64, ptr %31, i32 1
store ptr %32, ptr %8, align 8
%33 = load i64, ptr %31, align 8
store i64 %33, ptr %10, align 8
%34 = load i64, ptr %7, align 8
%35 = sub i64 64, %34
%36 = lshr i64 -1, %35
%37 = load i64, ptr %10, align 8
%38 = or i64 %37, %36
store i64 %38, ptr %10, align 8
%39 = load i64, ptr %6, align 8
%40 = icmp ult i64 %39, 64
br i1 %40, label %41, label %42
41: ; preds = %30
br label %77
42: ; preds = %30
%43 = load i64, ptr %10, align 8
%44 = xor i64 %43, -1
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
br label %89
47: ; preds = %42
%48 = load i64, ptr %6, align 8
%49 = sub i64 %48, 64
store i64 %49, ptr %6, align 8
%50 = load i64, ptr %9, align 8
%51 = add i64 %50, 64
store i64 %51, ptr %9, align 8
br label %52
52: ; preds = %47, %22
br label %53
53: ; preds = %64, %52
%54 = load i64, ptr %6, align 8
%55 = and i64 %54, -64
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %69
57: ; preds = %53
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i64, ptr %58, i32 1
store ptr %59, ptr %8, align 8
%60 = load i64, ptr %58, align 8
store i64 %60, ptr %10, align 8
%61 = xor i64 %60, -1
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %57
br label %89
64: ; preds = %57
%65 = load i64, ptr %9, align 8
%66 = add i64 %65, 64
store i64 %66, ptr %9, align 8
%67 = load i64, ptr %6, align 8
%68 = sub i64 %67, 64
store i64 %68, ptr %6, align 8
br label %53, !llvm.loop !6
69: ; preds = %53
%70 = load i64, ptr %6, align 8
%71 = icmp ne i64 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %69
%73 = load i64, ptr %9, align 8
store i64 %73, ptr %4, align 8
br label %95
74: ; preds = %69
%75 = load ptr, ptr %8, align 8
%76 = load i64, ptr %75, align 8
store i64 %76, ptr %10, align 8
br label %77
77: ; preds = %74, %41
%78 = load i64, ptr %6, align 8
%79 = shl i64 -1, %78
%80 = load i64, ptr %10, align 8
%81 = or i64 %80, %79
store i64 %81, ptr %10, align 8
%82 = load i64, ptr %10, align 8
%83 = icmp eq i64 %82, -1
br i1 %83, label %84, label %88
84: ; preds = %77
%85 = load i64, ptr %9, align 8
%86 = load i64, ptr %6, align 8
%87 = add i64 %85, %86
store i64 %87, ptr %4, align 8
br label %95
88: ; preds = %77
br label %89
89: ; preds = %88, %63, %46
%90 = load i64, ptr %9, align 8
%91 = load i64, ptr %10, align 8
%92 = xor i64 %91, -1
%93 = call i64 @ctz64(i64 noundef %92)
%94 = add i64 %90, %93
store i64 %94, ptr %4, align 8
br label %95
95: ; preds = %89, %84, %72, %20
%96 = load i64, ptr %4, align 8
ret i64 %96
}
declare i64 @ctz64(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvf6oal4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @find_next_zero_bit(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %7, align 8
%13 = udiv i64 %12, 64
%14 = getelementptr inbounds i64, ptr %11, i64 %13
store ptr %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = and i64 %15, -64
store i64 %16, ptr %9, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %6, align 8
%19 = icmp uge i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %3
%21 = load i64, ptr %6, align 8
store i64 %21, ptr %4, align 8
br label %97
22: ; preds = %3
%23 = load i64, ptr %9, align 8
%24 = load i64, ptr %6, align 8
%25 = sub i64 %24, %23
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %7, align 8
%27 = urem i64 %26, 64
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %52
30: ; preds = %22
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i64, ptr %31, i32 1
store ptr %32, ptr %8, align 8
%33 = load i64, ptr %31, align 8
store i64 %33, ptr %10, align 8
%34 = load i64, ptr %7, align 8
%35 = sub i64 64, %34
%36 = lshr i64 -1, %35
%37 = load i64, ptr %10, align 8
%38 = or i64 %37, %36
store i64 %38, ptr %10, align 8
%39 = load i64, ptr %6, align 8
%40 = icmp ult i64 %39, 64
br i1 %40, label %41, label %42
41: ; preds = %30
br label %79
42: ; preds = %30
%43 = load i64, ptr %10, align 8
%44 = xor i64 %43, -1
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
br label %91
47: ; preds = %42
%48 = load i64, ptr %6, align 8
%49 = sub i64 %48, 64
store i64 %49, ptr %6, align 8
%50 = load i64, ptr %9, align 8
%51 = add i64 %50, 64
store i64 %51, ptr %9, align 8
br label %52
52: ; preds = %47, %22
%53 = load i64, ptr %6, align 8
%54 = and i64 %53, -64
%55 = icmp ne i64 %54, 0
br i1 %55, label %.lr.ph, label %71
.lr.ph: ; preds = %52
br label %56
56: ; preds = %.lr.ph, %63
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds i64, ptr %57, i32 1
store ptr %58, ptr %8, align 8
%59 = load i64, ptr %57, align 8
store i64 %59, ptr %10, align 8
%60 = xor i64 %59, -1
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %56
br label %91
63: ; preds = %56
%64 = load i64, ptr %9, align 8
%65 = add i64 %64, 64
store i64 %65, ptr %9, align 8
%66 = load i64, ptr %6, align 8
%67 = sub i64 %66, 64
store i64 %67, ptr %6, align 8
%68 = load i64, ptr %6, align 8
%69 = and i64 %68, -64
%70 = icmp ne i64 %69, 0
br i1 %70, label %56, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %71
71: ; preds = %._crit_edge, %52
%72 = load i64, ptr %6, align 8
%73 = icmp ne i64 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %71
%75 = load i64, ptr %9, align 8
store i64 %75, ptr %4, align 8
br label %97
76: ; preds = %71
%77 = load ptr, ptr %8, align 8
%78 = load i64, ptr %77, align 8
store i64 %78, ptr %10, align 8
br label %79
79: ; preds = %76, %41
%80 = load i64, ptr %6, align 8
%81 = shl i64 -1, %80
%82 = load i64, ptr %10, align 8
%83 = or i64 %82, %81
store i64 %83, ptr %10, align 8
%84 = load i64, ptr %10, align 8
%85 = icmp eq i64 %84, -1
br i1 %85, label %86, label %90
86: ; preds = %79
%87 = load i64, ptr %9, align 8
%88 = load i64, ptr %6, align 8
%89 = add i64 %87, %88
store i64 %89, ptr %4, align 8
br label %97
90: ; preds = %79
br label %91
91: ; preds = %90, %62, %46
%92 = load i64, ptr %9, align 8
%93 = load i64, ptr %10, align 8
%94 = xor i64 %93, -1
%95 = call i64 @ctz64(i64 noundef %94)
%96 = add i64 %92, %95
store i64 %96, ptr %4, align 8
br label %97
97: ; preds = %91, %86, %74, %20
%98 = load i64, ptr %4, align 8
ret i64 %98
}
declare i64 @ctz64(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpipl3gl0k.c'
source_filename = "/tmp/tmpipl3gl0k.c"
target datalayout = "e-m:e-p270: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/tmpipl3gl0k.c"
target datalayout = "e-m:e-p270: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/tmpi0zdsbed.c'
source_filename = "/tmp/tmpi0zdsbed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"\E6\B1\89\E5\AD\97\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"12\E4\B8\AD\E5\9B\BD\E8\AF\9DAB\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 @puts(ptr noundef @.str)
%3 = call i32 @strdump(ptr noundef @.str)
%4 = call i32 @putchar(i8 noundef signext 10)
%5 = call i32 @puts(ptr noundef @.str.1)
%6 = call i32 @strdump(ptr noundef @.str.1)
%7 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @strdump(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi0zdsbed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"\E6\B1\89\E5\AD\97\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"12\E4\B8\AD\E5\9B\BD\E8\AF\9DAB\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 @puts(ptr noundef @.str)
%3 = call i32 @strdump(ptr noundef @.str)
%4 = call i32 @putchar(i8 noundef signext 10)
%5 = call i32 @puts(ptr noundef @.str.1)
%6 = call i32 @strdump(ptr noundef @.str.1)
%7 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @strdump(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4vaxeh3f.c'
source_filename = "/tmp/tmp4vaxeh3f.c"
target datalayout = "e-m:e-p270: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/tmp4vaxeh3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd_0yrrje.c'
source_filename = "/tmp/tmpd_0yrrje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createGtExpression(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 @createExpression(i32 noundef 8, ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @createExpression(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/tmpd_0yrrje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createGtExpression(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 @createExpression(i32 noundef 8, ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @createExpression(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/tmp5kpv7xg1.c'
source_filename = "/tmp/tmp5kpv7xg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getpixel(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i64 @GetPixel148(i64 noundef %5, i64 noundef %6)
ret i64 %7
}
declare i64 @GetPixel148(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5kpv7xg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getpixel(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i64 @GetPixel148(i64 noundef %5, i64 noundef %6)
ret i64 %7
}
declare i64 @GetPixel148(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps44q1mpz.c'
source_filename = "/tmp/tmps44q1mpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%6.3f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Print_matrix(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %38, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %41
17: ; preds = %13
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %33, %17
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %36
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %8, align 4
%26 = mul nsw i32 %24, %25
%27 = load i32, ptr %10, align 4
%28 = add nsw i32 %26, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %23, i64 %29
%31 = load double, ptr %30, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %31)
br label %33
33: ; preds = %22
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %10, align 4
br label %18, !llvm.loop !6
36: ; preds = %18
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %38
38: ; preds = %36
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %13, !llvm.loop !8
41: ; preds = %13
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps44q1mpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%6.3f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Print_matrix(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph2, label %45
.lr.ph2: ; preds = %4
br label %16
16: ; preds = %.lr.ph2, %39
store i32 0, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %37
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %31
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %8, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %10, align 4
%26 = add nsw i32 %24, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %21, i64 %27
%29 = load double, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %29)
br label %31
31: ; preds = %20
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %16
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %4
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpt4j7n7r6.c'
source_filename = "/tmp/tmpt4j7n7r6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @r8mat_norm_li(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %10, align 8
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %40, %3
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %43
15: ; preds = %11
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %8, align 4
br label %16
16: ; preds = %33, %15
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %36
20: ; preds = %16
%21 = load double, ptr %9, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %4, align 4
%26 = mul nsw i32 %24, %25
%27 = add nsw i32 %23, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %22, i64 %28
%30 = load double, ptr %29, align 8
%31 = call double @r8_abs(double noundef %30)
%32 = fadd double %21, %31
store double %32, ptr %9, align 8
br label %33
33: ; preds = %20
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %16, !llvm.loop !6
36: ; preds = %16
%37 = load double, ptr %10, align 8
%38 = load double, ptr %9, align 8
%39 = call double @r8_max(double noundef %37, double noundef %38)
store double %39, ptr %10, align 8
br label %40
40: ; preds = %36
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
br label %11, !llvm.loop !8
43: ; preds = %11
%44 = load double, ptr %10, align 8
ret double %44
}
declare double @r8_abs(double noundef) #1
declare double @r8_max(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt4j7n7r6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @r8mat_norm_li(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %10, align 8
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %47
.lr.ph2: ; preds = %3
br label %14
14: ; preds = %.lr.ph2, %41
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %37
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %31
%19 = load double, ptr %9, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %4, align 4
%24 = mul nsw i32 %22, %23
%25 = add nsw i32 %21, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %20, i64 %26
%28 = load double, ptr %27, align 8
%29 = call double @r8_abs(double noundef %28)
%30 = fadd double %19, %29
store double %30, ptr %9, align 8
br label %31
31: ; preds = %18
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %14
%38 = load double, ptr %10, align 8
%39 = load double, ptr %9, align 8
%40 = call double @r8_max(double noundef %38, double noundef %39)
store double %40, ptr %10, align 8
br label %41
41: ; preds = %37
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %3
%48 = load double, ptr %10, align 8
ret double %48
}
declare double @r8_abs(double noundef) #1
declare double @r8_max(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqhzp_zp0.c'
source_filename = "/tmp/tmpqhzp_zp0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@db_get_channel.stmt = internal global ptr null, align 8
@db_get_channel.query = internal constant [44 x i8] c"SELECT * FROM channel WHERE id_channel = ?;\00", align 16
@SQLITE_OK = dso_local global i32 0, align 4
@SQLITE_ROW = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_get_channel(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
br label %9
9: ; preds = %3
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load ptr, ptr @db_get_channel.stmt, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load ptr, ptr @db_get_channel.stmt, align 8
%17 = call i32 @sqlite3_finalize(ptr noundef %16)
store ptr null, ptr @db_get_channel.stmt, align 8
br label %18
18: ; preds = %15, %12
store i32 0, ptr %4, align 4
br label %54
19: ; preds = %9
br label %20
20: ; preds = %19
br label %21
21: ; preds = %20
%22 = load ptr, ptr @db_get_channel.stmt, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load ptr, ptr %5, align 8
%26 = call i32 @strlen(ptr noundef @db_get_channel.query)
%27 = call i32 @sqlite3_prepare_v2(ptr noundef %25, ptr noundef @db_get_channel.query, i32 noundef %26, ptr noundef @db_get_channel.stmt, ptr noundef null)
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr @SQLITE_OK, align 4
%30 = icmp eq i32 %28, %29
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
br label %33
33: ; preds = %24, %21
br label %34
34: ; preds = %33
%35 = load ptr, ptr @db_get_channel.stmt, align 8
%36 = call i32 @sqlite3_reset(ptr noundef %35)
%37 = load ptr, ptr @db_get_channel.stmt, align 8
%38 = load i32, ptr %6, align 4
%39 = call i32 @sqlite3_bind_int64(ptr noundef %37, i32 noundef 1, i32 noundef %38)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr @SQLITE_OK, align 4
%42 = icmp eq i32 %40, %41
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = load ptr, ptr @db_get_channel.stmt, align 8
%46 = call i64 @sqlite3_step(ptr noundef %45)
%47 = load i64, ptr @SQLITE_ROW, align 8
%48 = icmp ne i64 %46, %47
br i1 %48, label %49, label %50
49: ; preds = %34
store i32 1, ptr %4, align 4
br label %54
50: ; preds = %34
%51 = load ptr, ptr @db_get_channel.stmt, align 8
%52 = load ptr, ptr %7, align 8
%53 = call i32 @db_fill_channel_from_row(ptr noundef %51, ptr noundef %52, i32 noundef 0)
store i32 0, ptr %4, align 4
br label %54
54: ; preds = %50, %49, %18
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @sqlite3_reset(ptr noundef) #1
declare i32 @sqlite3_bind_int64(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @sqlite3_step(ptr noundef) #1
declare i32 @db_fill_channel_from_row(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/tmpqhzp_zp0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@db_get_channel.stmt = internal global ptr null, align 8
@db_get_channel.query = internal constant [44 x i8] c"SELECT * FROM channel WHERE id_channel = ?;\00", align 16
@SQLITE_OK = dso_local global i32 0, align 4
@SQLITE_ROW = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_get_channel(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
br label %9
9: ; preds = %3
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load ptr, ptr @db_get_channel.stmt, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load ptr, ptr @db_get_channel.stmt, align 8
%17 = call i32 @sqlite3_finalize(ptr noundef %16)
store ptr null, ptr @db_get_channel.stmt, align 8
br label %18
18: ; preds = %15, %12
store i32 0, ptr %4, align 4
br label %54
19: ; preds = %9
br label %20
20: ; preds = %19
br label %21
21: ; preds = %20
%22 = load ptr, ptr @db_get_channel.stmt, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load ptr, ptr %5, align 8
%26 = call i32 @strlen(ptr noundef @db_get_channel.query)
%27 = call i32 @sqlite3_prepare_v2(ptr noundef %25, ptr noundef @db_get_channel.query, i32 noundef %26, ptr noundef @db_get_channel.stmt, ptr noundef null)
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr @SQLITE_OK, align 4
%30 = icmp eq i32 %28, %29
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
br label %33
33: ; preds = %24, %21
br label %34
34: ; preds = %33
%35 = load ptr, ptr @db_get_channel.stmt, align 8
%36 = call i32 @sqlite3_reset(ptr noundef %35)
%37 = load ptr, ptr @db_get_channel.stmt, align 8
%38 = load i32, ptr %6, align 4
%39 = call i32 @sqlite3_bind_int64(ptr noundef %37, i32 noundef 1, i32 noundef %38)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr @SQLITE_OK, align 4
%42 = icmp eq i32 %40, %41
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = load ptr, ptr @db_get_channel.stmt, align 8
%46 = call i64 @sqlite3_step(ptr noundef %45)
%47 = load i64, ptr @SQLITE_ROW, align 8
%48 = icmp ne i64 %46, %47
br i1 %48, label %49, label %50
49: ; preds = %34
store i32 1, ptr %4, align 4
br label %54
50: ; preds = %34
%51 = load ptr, ptr @db_get_channel.stmt, align 8
%52 = load ptr, ptr %7, align 8
%53 = call i32 @db_fill_channel_from_row(ptr noundef %51, ptr noundef %52, i32 noundef 0)
store i32 0, ptr %4, align 4
br label %54
54: ; preds = %50, %49, %18
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @sqlite3_reset(ptr noundef) #1
declare i32 @sqlite3_bind_int64(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @sqlite3_step(ptr noundef) #1
declare i32 @db_fill_channel_from_row(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/tmprb6yp5qx.c'
source_filename = "/tmp/tmprb6yp5qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"The new string is %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcopy(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
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %15, %2
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %7
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
br label %7, !llvm.loop !6
18: ; preds = %7
br label %19
19: ; preds = %27, %18
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %39
27: ; preds = %19
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %19, !llvm.loop !8
39: ; preds = %19
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %5, 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 ptr, ptr %3, align 8
%45 = call i32 @printf(ptr noundef @.str, ptr noundef %44)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprb6yp5qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"The new string is %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcopy(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
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %24
24: ; preds = %._crit_edge, %2
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %.lr.ph2, label %51
.lr.ph2: ; preds = %24
br label %32
32: ; preds = %.lr.ph2, %32
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 %37, ptr %41, align 1
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 0
br i1 %50, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %51
51: ; preds = %._crit_edge3, %24
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %5, 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 %3, align 8
%57 = call i32 @printf(ptr noundef @.str, ptr noundef %56)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplg_sl_li.c'
source_filename = "/tmp/tmplg_sl_li.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"server: [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @server_read(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %7, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplg_sl_li.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"server: [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @server_read(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %7, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9kafcshp.c'
source_filename = "/tmp/tmp9kafcshp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f228(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 @f227(ptr noundef %3)
ret i32 %4
}
declare i32 @f227(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9kafcshp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f228(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 @f227(ptr noundef %3)
ret i32 %4
}
declare i32 @f227(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3k79rank.c'
source_filename = "/tmp/tmp3k79rank.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"String [%s] is not a valid integer, will use [%ld]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @opt_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @atof(ptr noundef %6)
store i64 %7, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @opt_isvalidnumber(ptr noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = and i32 %13, 2
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %12, %1
br label %17
17: ; preds = %16
%18 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%19 = load ptr, ptr %2, align 8
%20 = load i64, ptr %4, align 8
%21 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %19, i64 noundef %20)
%22 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @opt_warning(ptr noundef %22)
br label %24
24: ; preds = %17
br label %25
25: ; preds = %24, %12
%26 = load i64, ptr %4, align 8
ret i64 %26
}
declare i64 @atof(ptr noundef) #1
declare i32 @opt_isvalidnumber(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @opt_warning(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3k79rank.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"String [%s] is not a valid integer, will use [%ld]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @opt_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @atof(ptr noundef %6)
store i64 %7, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @opt_isvalidnumber(ptr noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = and i32 %13, 2
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %12, %1
br label %17
17: ; preds = %16
%18 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%19 = load ptr, ptr %2, align 8
%20 = load i64, ptr %4, align 8
%21 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %19, i64 noundef %20)
%22 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @opt_warning(ptr noundef %22)
br label %24
24: ; preds = %17
br label %25
25: ; preds = %24, %12
%26 = load i64, ptr %4, align 8
ret i64 %26
}
declare i64 @atof(ptr noundef) #1
declare i32 @opt_isvalidnumber(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @opt_warning(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp73hm6azo.c'
source_filename = "/tmp/tmp73hm6azo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_homotopy() #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_c2phc(i32 noundef 154, 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_c2phc(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/tmp73hm6azo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_homotopy() #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_c2phc(i32 noundef 154, 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_c2phc(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/tmpp4tywao3.c'
source_filename = "/tmp/tmpp4tywao3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scarymonsters5() #0 {
%1 = call i32 @tone(i32 noundef 5, double noundef 0.000000e+00, double noundef 3.461540e+02)
%2 = call i32 @delay(i32 noundef 346)
%3 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 1.153850e+02)
%4 = call i32 @delay(i32 noundef 115)
%5 = call i32 @delay(i32 noundef 40)
%6 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%7 = call i32 @delay(i32 noundef 230)
%8 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%9 = call i32 @delay(i32 noundef 230)
%10 = call i32 @delay(i32 noundef 40)
%11 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 4.615380e+02)
%12 = call i32 @delay(i32 noundef 461)
%13 = call i32 @delay(i32 noundef 40)
%14 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%15 = call i32 @delay(i32 noundef 230)
%16 = call i32 @tone(i32 noundef 5, double noundef 1.174660e+03, double noundef 2.307690e+02)
%17 = call i32 @delay(i32 noundef 230)
%18 = call i32 @delay(i32 noundef 40)
%19 = call i32 @tone(i32 noundef 5, double noundef 1.046500e+03, double noundef 2.307690e+02)
%20 = call i32 @delay(i32 noundef 230)
%21 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 2.307690e+02)
%22 = call i32 @delay(i32 noundef 230)
%23 = call i32 @delay(i32 noundef 40)
%24 = call i32 @tone(i32 noundef 5, double noundef 3.492300e+02, double noundef 4.615380e+02)
%25 = call i32 @delay(i32 noundef 461)
%26 = call i32 @delay(i32 noundef 40)
%27 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%28 = call i32 @delay(i32 noundef 230)
%29 = call i32 @tone(i32 noundef 5, double noundef 4.400000e+02, double noundef 2.307690e+02)
%30 = call i32 @delay(i32 noundef 230)
%31 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%32 = call i32 @delay(i32 noundef 230)
%33 = call i32 @tone(i32 noundef 5, double noundef 6.592600e+02, double noundef 2.307690e+02)
%34 = call i32 @delay(i32 noundef 230)
%35 = call i32 @delay(i32 noundef 40)
%36 = call i32 @tone(i32 noundef 5, double noundef 5.873300e+02, double noundef 2.307690e+02)
%37 = call i32 @delay(i32 noundef 230)
%38 = call i32 @tone(i32 noundef 5, double noundef 5.232500e+02, double noundef 2.307690e+02)
%39 = call i32 @delay(i32 noundef 230)
%40 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%41 = call i32 @delay(i32 noundef 230)
%42 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%43 = call i32 @delay(i32 noundef 230)
%44 = call i32 @delay(i32 noundef 40)
%45 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%46 = call i32 @delay(i32 noundef 230)
%47 = call i32 @tone(i32 noundef 5, double noundef 3.920000e+02, double noundef 2.307690e+02)
%48 = call i32 @delay(i32 noundef 230)
%49 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%50 = call i32 @delay(i32 noundef 230)
%51 = call i32 @tone(i32 noundef 5, double noundef 5.873300e+02, double noundef 2.307690e+02)
%52 = call i32 @delay(i32 noundef 230)
%53 = call i32 @delay(i32 noundef 40)
%54 = call i32 @tone(i32 noundef 5, double noundef 1.567980e+03, double noundef 2.307690e+02)
%55 = call i32 @delay(i32 noundef 230)
%56 = call i32 @tone(i32 noundef 5, double noundef 1.174660e+03, double noundef 2.307690e+02)
%57 = call i32 @delay(i32 noundef 230)
%58 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 2.307690e+02)
%59 = call i32 @delay(i32 noundef 230)
%60 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%61 = call i32 @delay(i32 noundef 230)
%62 = call i32 @delay(i32 noundef 40)
%63 = call i32 @tone(i32 noundef 5, double noundef 1.398910e+03, double noundef 2.307690e+02)
%64 = call i32 @delay(i32 noundef 230)
%65 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 2.307690e+02)
%66 = call i32 @delay(i32 noundef 230)
%67 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%68 = call i32 @delay(i32 noundef 230)
%69 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%70 = call i32 @delay(i32 noundef 230)
%71 = call i32 @delay(i32 noundef 40)
ret void
}
declare i32 @tone(i32 noundef, double noundef, double noundef) #1
declare i32 @delay(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/tmpp4tywao3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scarymonsters5() #0 {
%1 = call i32 @tone(i32 noundef 5, double noundef 0.000000e+00, double noundef 3.461540e+02)
%2 = call i32 @delay(i32 noundef 346)
%3 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 1.153850e+02)
%4 = call i32 @delay(i32 noundef 115)
%5 = call i32 @delay(i32 noundef 40)
%6 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%7 = call i32 @delay(i32 noundef 230)
%8 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%9 = call i32 @delay(i32 noundef 230)
%10 = call i32 @delay(i32 noundef 40)
%11 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 4.615380e+02)
%12 = call i32 @delay(i32 noundef 461)
%13 = call i32 @delay(i32 noundef 40)
%14 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%15 = call i32 @delay(i32 noundef 230)
%16 = call i32 @tone(i32 noundef 5, double noundef 1.174660e+03, double noundef 2.307690e+02)
%17 = call i32 @delay(i32 noundef 230)
%18 = call i32 @delay(i32 noundef 40)
%19 = call i32 @tone(i32 noundef 5, double noundef 1.046500e+03, double noundef 2.307690e+02)
%20 = call i32 @delay(i32 noundef 230)
%21 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 2.307690e+02)
%22 = call i32 @delay(i32 noundef 230)
%23 = call i32 @delay(i32 noundef 40)
%24 = call i32 @tone(i32 noundef 5, double noundef 3.492300e+02, double noundef 4.615380e+02)
%25 = call i32 @delay(i32 noundef 461)
%26 = call i32 @delay(i32 noundef 40)
%27 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%28 = call i32 @delay(i32 noundef 230)
%29 = call i32 @tone(i32 noundef 5, double noundef 4.400000e+02, double noundef 2.307690e+02)
%30 = call i32 @delay(i32 noundef 230)
%31 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%32 = call i32 @delay(i32 noundef 230)
%33 = call i32 @tone(i32 noundef 5, double noundef 6.592600e+02, double noundef 2.307690e+02)
%34 = call i32 @delay(i32 noundef 230)
%35 = call i32 @delay(i32 noundef 40)
%36 = call i32 @tone(i32 noundef 5, double noundef 5.873300e+02, double noundef 2.307690e+02)
%37 = call i32 @delay(i32 noundef 230)
%38 = call i32 @tone(i32 noundef 5, double noundef 5.232500e+02, double noundef 2.307690e+02)
%39 = call i32 @delay(i32 noundef 230)
%40 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%41 = call i32 @delay(i32 noundef 230)
%42 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%43 = call i32 @delay(i32 noundef 230)
%44 = call i32 @delay(i32 noundef 40)
%45 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%46 = call i32 @delay(i32 noundef 230)
%47 = call i32 @tone(i32 noundef 5, double noundef 3.920000e+02, double noundef 2.307690e+02)
%48 = call i32 @delay(i32 noundef 230)
%49 = call i32 @tone(i32 noundef 5, double noundef 4.938800e+02, double noundef 2.307690e+02)
%50 = call i32 @delay(i32 noundef 230)
%51 = call i32 @tone(i32 noundef 5, double noundef 5.873300e+02, double noundef 2.307690e+02)
%52 = call i32 @delay(i32 noundef 230)
%53 = call i32 @delay(i32 noundef 40)
%54 = call i32 @tone(i32 noundef 5, double noundef 1.567980e+03, double noundef 2.307690e+02)
%55 = call i32 @delay(i32 noundef 230)
%56 = call i32 @tone(i32 noundef 5, double noundef 1.174660e+03, double noundef 2.307690e+02)
%57 = call i32 @delay(i32 noundef 230)
%58 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 2.307690e+02)
%59 = call i32 @delay(i32 noundef 230)
%60 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%61 = call i32 @delay(i32 noundef 230)
%62 = call i32 @delay(i32 noundef 40)
%63 = call i32 @tone(i32 noundef 5, double noundef 1.398910e+03, double noundef 2.307690e+02)
%64 = call i32 @delay(i32 noundef 230)
%65 = call i32 @tone(i32 noundef 5, double noundef 0x408EDE28F5C28F5C, double noundef 2.307690e+02)
%66 = call i32 @delay(i32 noundef 230)
%67 = call i32 @tone(i32 noundef 5, double noundef 7.839900e+02, double noundef 2.307690e+02)
%68 = call i32 @delay(i32 noundef 230)
%69 = call i32 @tone(i32 noundef 5, double noundef 6.984600e+02, double noundef 2.307690e+02)
%70 = call i32 @delay(i32 noundef 230)
%71 = call i32 @delay(i32 noundef 40)
ret void
}
declare i32 @tone(i32 noundef, double noundef, double noundef) #1
declare i32 @delay(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/tmp6s_h5mhu.c'
source_filename = "/tmp/tmp6s_h5mhu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsep(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %49
15: ; preds = %2
%16 = load ptr, ptr %8, align 8
store ptr %16, ptr %6, align 8
br label %17
17: ; preds = %45, %15
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %6, align 8
%20 = load i8, ptr %18, align 1
%21 = sext i8 %20 to i32
store i32 %21, ptr %9, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %46
23: ; preds = %17
%24 = load ptr, ptr %5, align 8
store ptr %24, ptr %7, align 8
br label %25
25: ; preds = %42, %23
%26 = load ptr, ptr %7, align 8
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %29, label %45
29: ; preds = %25
%30 = load i32, ptr %9, align 4
%31 = load ptr, ptr %7, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %30, %33
br i1 %34, label %35, label %41
35: ; preds = %29
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 -1
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %4, align 8
store ptr %38, ptr %39, align 8
%40 = load ptr, ptr %8, align 8
store ptr %40, ptr %3, align 8
br label %49
41: ; preds = %29
br label %42
42: ; preds = %41
%43 = load ptr, ptr %7, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %7, align 8
br label %25, !llvm.loop !6
45: ; preds = %25
br label %17, !llvm.loop !8
46: ; preds = %17
%47 = load ptr, ptr %4, align 8
store ptr null, ptr %47, align 8
%48 = load ptr, ptr %8, align 8
store ptr %48, ptr %3, align 8
br label %49
49: ; preds = %46, %35, %14
%50 = load ptr, ptr %3, align 8
ret ptr %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6s_h5mhu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsep(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %55
15: ; preds = %2
%16 = load ptr, ptr %8, align 8
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %6, align 8
%19 = load i8, ptr %17, align 1
%20 = sext i8 %19 to i32
store i32 %20, ptr %9, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %.lr.ph2, label %52
.lr.ph2: ; preds = %15
br label %22
22: ; preds = %.lr.ph2, %46
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %.lr.ph, label %46
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %40
%28 = load i32, ptr %9, align 4
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %28, %31
br i1 %32, label %33, label %39
33: ; preds = %27
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 -1
store i8 0, ptr %35, align 1
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %4, align 8
store ptr %36, ptr %37, align 8
%38 = load ptr, ptr %8, align 8
store ptr %38, ptr %3, align 8
br label %55
39: ; preds = %27
br label %40
40: ; preds = %39
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %7, align 8
%43 = load ptr, ptr %7, align 8
%44 = load i8, ptr %43, align 1
%45 = icmp ne i8 %44, 0
br i1 %45, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %22
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %6, align 8
%49 = load i8, ptr %47, align 1
%50 = sext i8 %49 to i32
store i32 %50, ptr %9, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %15
%53 = load ptr, ptr %4, align 8
store ptr null, ptr %53, align 8
%54 = load ptr, ptr %8, align 8
store ptr %54, ptr %3, align 8
br label %55
55: ; preds = %52, %33, %14
%56 = load ptr, ptr %3, align 8
ret ptr %56
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpev8iwqkw.c'
source_filename = "/tmp/tmpev8iwqkw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v %d %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GP_add_vertex_f(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = load double, ptr %6, align 8
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, double noundef %8)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpev8iwqkw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v %d %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GP_add_vertex_f(ptr noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = load double, ptr %6, align 8
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, double noundef %8)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwn3awkye.c'
source_filename = "/tmp/tmpwn3awkye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vm_op_tle() #0 {
%1 = call i32 (...) @op_tle()
ret void
}
declare i32 @op_tle(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwn3awkye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vm_op_tle() #0 {
%1 = call i32 (...) @op_tle()
ret void
}
declare i32 @op_tle(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7yee2v5o.c'
source_filename = "/tmp/tmp7yee2v5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\0A\091.Insert Node.\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"\0A\092.Append Node.\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0A\093.Delete Node.\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"\0A\094.Print Node.\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"\0A\095.Exit.\0A->\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @print2() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %1)
%8 = call i32 (...) @getchar()
%9 = load i8, ptr %1, align 1
ret i8 %9
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7yee2v5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\0A\091.Insert Node.\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"\0A\092.Append Node.\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0A\093.Delete Node.\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"\0A\094.Print Node.\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"\0A\095.Exit.\0A->\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @print2() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %1)
%8 = call i32 (...) @getchar()
%9 = load i8, ptr %1, align 1
ret i8 %9
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmpd3szgcwy.c'
source_filename = "/tmp/tmpd3szgcwy.c"
target datalayout = "e-m:e-p270: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/tmpd3szgcwy.c"
target datalayout = "e-m:e-p270: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/tmpw78arx4q.c'
source_filename = "/tmp/tmpw78arx4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exact_square(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call float @sqrt(i32 noundef %5)
store float %6, ptr %4, align 4
%7 = load float, ptr %4, align 4
%8 = fdiv float %7, 1.000000e+00
%9 = load float, ptr %4, align 4
%10 = fptosi float %9 to i32
%11 = sitofp i32 %10 to float
%12 = fcmp oeq float %8, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %13
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare float @sqrt(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/tmpw78arx4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exact_square(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call float @sqrt(i32 noundef %5)
store float %6, ptr %4, align 4
%7 = load float, ptr %4, align 4
%8 = fdiv float %7, 1.000000e+00
%9 = load float, ptr %4, align 4
%10 = fptosi float %9 to i32
%11 = sitofp i32 %10 to float
%12 = fcmp oeq float %8, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %13
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare float @sqrt(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/tmpya3l6iux.c'
source_filename = "/tmp/tmpya3l6iux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SuperFastHash(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @hashlittle(ptr noundef %7, i64 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @hashlittle(ptr noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpya3l6iux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SuperFastHash(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @hashlittle(ptr noundef %7, i64 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @hashlittle(ptr noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsvo37ekz.c'
source_filename = "/tmp/tmpsvo37ekz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"\0AA solu\C3\A7\C3\A3o do sistema ser\C3\A1:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"x%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c":%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @solucao(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %5, align 8
%13 = alloca double, i64 %11, align 16
store i64 %11, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %14, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %19, i64 %23
%25 = load double, ptr %24, align 8
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %26, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
%34 = sub nsw i32 %33, 2
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %31, i64 %35
%37 = load double, ptr %36, align 8
%38 = fdiv double %25, %37
%39 = load i32, ptr %4, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %13, i64 %41
store double %38, ptr %42, align 8
%43 = load i32, ptr %4, align 4
%44 = sub nsw i32 %43, 2
store i32 %44, ptr %8, align 4
br label %45
45: ; preds = %99, %2
%46 = load i32, ptr %8, align 4
%47 = icmp sge i32 %46, 0
br i1 %47, label %48, label %102
48: ; preds = %45
store double 0.000000e+00, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
br label %51
51: ; preds = %71, %48
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %4, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %74
55: ; preds = %51
%56 = load double, ptr %7, align 8
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %13, i64 %67
%69 = load double, ptr %68, align 8
%70 = call double @llvm.fmuladd.f64(double %65, double %69, double %56)
store double %70, ptr %7, align 8
br label %71
71: ; preds = %55
%72 = load i32, ptr %9, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %9, align 4
br label %51, !llvm.loop !6
74: ; preds = %51
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %8, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %79, i64 %81
%83 = load double, ptr %82, align 8
%84 = load double, ptr %7, align 8
%85 = fsub double %83, %84
%86 = load ptr, ptr %3, align 8
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds ptr, ptr %86, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = load i32, ptr %8, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %90, i64 %92
%94 = load double, ptr %93, align 8
%95 = fdiv double %85, %94
%96 = load i32, ptr %8, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %13, i64 %97
store double %95, ptr %98, align 8
br label %99
99: ; preds = %74
%100 = load i32, ptr %8, align 4
%101 = add nsw i32 %100, -1
store i32 %101, ptr %8, align 4
br label %45, !llvm.loop !8
102: ; preds = %45
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
br label %104
104: ; preds = %117, %102
%105 = load i32, ptr %8, align 4
%106 = load i32, ptr %4, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %108, label %120
108: ; preds = %104
%109 = load i32, ptr %8, align 4
%110 = add nsw i32 %109, 1
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %110)
%112 = load i32, ptr %8, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, ptr %13, i64 %113
%115 = load double, ptr %114, align 8
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %115)
br label %117
117: ; preds = %108
%118 = load i32, ptr %8, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %8, align 4
br label %104, !llvm.loop !9
120: ; preds = %104
%121 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %121)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, ...) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsvo37ekz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"\0AA solu\C3\A7\C3\A3o do sistema ser\C3\A1:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"x%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c":%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @solucao(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %5, align 8
%13 = alloca double, i64 %11, align 16
store i64 %11, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %14, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %19, i64 %23
%25 = load double, ptr %24, align 8
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %26, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
%34 = sub nsw i32 %33, 2
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %31, i64 %35
%37 = load double, ptr %36, align 8
%38 = fdiv double %25, %37
%39 = load i32, ptr %4, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %13, i64 %41
store double %38, ptr %42, align 8
%43 = load i32, ptr %4, align 4
%44 = sub nsw i32 %43, 2
store i32 %44, ptr %8, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp sge i32 %45, 0
br i1 %46, label %.lr.ph2, label %105
.lr.ph2: ; preds = %2
br label %47
47: ; preds = %.lr.ph2, %100
store double 0.000000e+00, ptr %7, align 8
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph, label %75
.lr.ph: ; preds = %47
br label %53
53: ; preds = %.lr.ph, %69
%54 = load double, ptr %7, align 8
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %13, i64 %65
%67 = load double, ptr %66, align 8
%68 = call double @llvm.fmuladd.f64(double %63, double %67, double %54)
store double %68, ptr %7, align 8
br label %69
69: ; preds = %53
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %53, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %75
75: ; preds = %._crit_edge, %47
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %4, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %80, i64 %82
%84 = load double, ptr %83, align 8
%85 = load double, ptr %7, align 8
%86 = fsub double %84, %85
%87 = load ptr, ptr %3, align 8
%88 = load i32, ptr %8, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds ptr, ptr %87, i64 %89
%91 = load ptr, ptr %90, align 8
%92 = load i32, ptr %8, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = fdiv double %86, %95
%97 = load i32, ptr %8, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %13, i64 %98
store double %96, ptr %99, align 8
br label %100
100: ; preds = %75
%101 = load i32, ptr %8, align 4
%102 = add nsw i32 %101, -1
store i32 %102, ptr %8, align 4
%103 = load i32, ptr %8, align 4
%104 = icmp sge i32 %103, 0
br i1 %104, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %100
br label %105
105: ; preds = %._crit_edge3, %2
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
%107 = load i32, ptr %8, align 4
%108 = load i32, ptr %4, align 4
%109 = icmp slt i32 %107, %108
br i1 %109, label %.lr.ph5, label %125
.lr.ph5: ; preds = %105
br label %110
110: ; preds = %.lr.ph5, %119
%111 = load i32, ptr %8, align 4
%112 = add nsw i32 %111, 1
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %112)
%114 = load i32, ptr %8, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %13, i64 %115
%117 = load double, ptr %116, align 8
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %117)
br label %119
119: ; preds = %110
%120 = load i32, ptr %8, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %8, align 4
%122 = load i32, ptr %8, align 4
%123 = load i32, ptr %4, align 4
%124 = icmp slt i32 %122, %123
br i1 %124, label %110, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %119
br label %125
125: ; preds = %._crit_edge6, %105
%126 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %126)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, ...) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpzqxo0l9l.c'
source_filename = "/tmp/tmpzqxo0l9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cbm_iec_set(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 = call i32 @_IO(i32 noundef 203, i32 noundef 13)
%7 = load i32, ptr %4, align 4
%8 = call i32 @ioctl(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_IO(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/tmpzqxo0l9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cbm_iec_set(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 = call i32 @_IO(i32 noundef 203, i32 noundef 13)
%7 = load i32, ptr %4, align 4
%8 = call i32 @ioctl(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_IO(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/tmp4t4zmica.c'
source_filename = "/tmp/tmp4t4zmica.c"
target datalayout = "e-m:e-p270: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/tmp4t4zmica.c"
target datalayout = "e-m:e-p270: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/tmp49iwyfcj.c'
source_filename = "/tmp/tmp49iwyfcj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwsgi_stats_keylong_comma(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = call i32 @uwsgi_stats_keylong(ptr noundef %9, ptr noundef %10, i64 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 -1, ptr %4, align 4
br label %19
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = call i32 @uwsgi_stats_comma(ptr noundef %17)
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %16, %15
%20 = load i32, ptr %4, align 4
ret i32 %20
}
declare i32 @uwsgi_stats_keylong(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @uwsgi_stats_comma(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp49iwyfcj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwsgi_stats_keylong_comma(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = call i32 @uwsgi_stats_keylong(ptr noundef %9, ptr noundef %10, i64 noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 -1, ptr %4, align 4
br label %19
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = call i32 @uwsgi_stats_comma(ptr noundef %17)
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %16, %15
%20 = load i32, ptr %4, align 4
ret i32 %20
}
declare i32 @uwsgi_stats_keylong(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @uwsgi_stats_comma(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyfoe9j64.c'
source_filename = "/tmp/tmpyfoe9j64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_add_position()
ret i32 0
}
declare i32 @test_add_position(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyfoe9j64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_add_position()
ret i32 0
}
declare i32 @test_add_position(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3cx8wcy.c'
source_filename = "/tmp/tmpg3cx8wcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CmdLO_GetInt(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 @CmdLO_Get(ptr noundef %3)
%5 = call i32 @atoi(i32 noundef %4)
ret i32 %5
}
declare i32 @atoi(i32 noundef) #1
declare i32 @CmdLO_Get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg3cx8wcy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CmdLO_GetInt(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 @CmdLO_Get(ptr noundef %3)
%5 = call i32 @atoi(i32 noundef %4)
ret i32 %5
}
declare i32 @atoi(i32 noundef) #1
declare i32 @CmdLO_Get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplg1wy7sw.c'
source_filename = "/tmp/tmplg1wy7sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR allocating %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Currently allocating %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 ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = call i64 @malloc(i32 noundef 1048576000)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str, i32 noundef 1048576000)
br label %14
14: ; preds = %12, %2
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1048576000)
%16 = load ptr, ptr %6, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(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/tmplg1wy7sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR allocating %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Currently allocating %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 ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = call i64 @malloc(i32 noundef 1048576000)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str, i32 noundef 1048576000)
br label %14
14: ; preds = %12, %2
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1048576000)
%16 = load ptr, ptr %6, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(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/tmpu8wjkcgv.c'
source_filename = "/tmp/tmpu8wjkcgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stringToInt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @atoi(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %3, align 4
ret i32 %8
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu8wjkcgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stringToInt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @atoi(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %3, align 4
ret i32 %8
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpin763wqa.c'
source_filename = "/tmp/tmpin763wqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @countLines(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 10, ptr %6, align 4
br label %9
9: ; preds = %23, %1
%10 = load i32, ptr @EOF, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @fgetc(ptr noundef %11)
store i32 %12, ptr %5, align 4
%13 = icmp ne i32 %10, %12
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 10
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = icmp ne i32 %18, 10
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = add i32 %21, 1
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %20, %17, %14
%24 = load i32, ptr %5, align 4
store i32 %24, ptr %6, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = load ptr, ptr %3, align 8
%27 = call i32 @fclose(ptr noundef %26)
%28 = load i32, ptr %4, align 4
ret i32 %28
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpin763wqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @countLines(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 10, ptr %6, align 4
%9 = load i32, ptr @EOF, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fgetc(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = icmp ne i32 %9, %11
br i1 %12, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %17, 10
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = load i32, ptr %4, align 4
%21 = add i32 %20, 1
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %19, %16, %13
%23 = load i32, ptr %5, align 4
store i32 %23, ptr %6, align 4
%24 = load i32, ptr @EOF, align 4
%25 = load ptr, ptr %3, align 8
%26 = call i32 @fgetc(ptr noundef %25)
store i32 %26, ptr %5, align 4
%27 = icmp ne i32 %24, %26
br i1 %27, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %1
%29 = load ptr, ptr %3, align 8
%30 = call i32 @fclose(ptr noundef %29)
%31 = load i32, ptr %4, align 4
ret i32 %31
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo50kr8do.c'
source_filename = "/tmp/tmpo50kr8do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Color4sv(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 @glColor4sv(ptr noundef %3)
ret void
}
declare i32 @glColor4sv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo50kr8do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Color4sv(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 @glColor4sv(ptr noundef %3)
ret void
}
declare i32 @glColor4sv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1vqeeppy.c'
source_filename = "/tmp/tmp1vqeeppy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"fun_stub_base_2_stub:a = %d, b = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fun_stub_base_2_stub(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 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
ret i32 %10
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vqeeppy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"fun_stub_base_2_stub:a = %d, b = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fun_stub_base_2_stub(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 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
ret i32 %10
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjm1m5jde.c'
source_filename = "/tmp/tmpjm1m5jde.c"
target datalayout = "e-m:e-p270: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/tmpjm1m5jde.c"
target datalayout = "e-m:e-p270: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/tmpktcga2q0.c'
source_filename = "/tmp/tmpktcga2q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"# Empty value for parameter %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LogStringParam(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 = call i64 @strlen(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call i32 @fflush(ptr noundef %15)
br label %21
17: ; preds = %3
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.1, ptr noundef %19)
br label %21
21: ; preds = %17, %10
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpktcga2q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"# Empty value for parameter %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LogStringParam(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 = call i64 @strlen(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call i32 @fflush(ptr noundef %15)
br label %21
17: ; preds = %3
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.1, ptr noundef %19)
br label %21
21: ; preds = %17, %10
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaal07t8n.c'
source_filename = "/tmp/tmpaal07t8n.c"
target datalayout = "e-m:e-p270: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/tmpaal07t8n.c"
target datalayout = "e-m:e-p270: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/tmpp03kd6lu.c'
source_filename = "/tmp/tmpp03kd6lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Student has an A grade\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"Student has an B grade\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Student has an C grade\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Student has an D grade\0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"Student has failed the course\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%11 = load float, ptr %6, align 4
%12 = load float, ptr %2, align 4
%13 = fcmp oge float %11, %12
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.4)
br label %16
16: ; preds = %14, %0
%17 = load float, ptr %6, align 4
%18 = load float, ptr %2, align 4
%19 = fcmp olt float %17, %18
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load float, ptr %6, align 4
%22 = load float, ptr %3, align 4
%23 = fcmp oge float %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.5)
br label %26
26: ; preds = %24, %20, %16
%27 = load float, ptr %6, align 4
%28 = load float, ptr %3, align 4
%29 = fcmp olt float %27, %28
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load float, ptr %6, align 4
%32 = load float, ptr %4, align 4
%33 = fcmp oge float %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 @printf(ptr noundef @.str.6)
br label %36
36: ; preds = %34, %30, %26
%37 = load float, ptr %6, align 4
%38 = load float, ptr %4, align 4
%39 = fcmp olt float %37, %38
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load float, ptr %6, align 4
%42 = load float, ptr %5, align 4
%43 = fcmp oge float %41, %42
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = call i32 @printf(ptr noundef @.str.7)
br label %46
46: ; preds = %44, %40, %36
%47 = load float, ptr %6, align 4
%48 = load float, ptr %5, align 4
%49 = fcmp olt float %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = call i32 @printf(ptr noundef @.str.8)
br label %52
52: ; preds = %50, %46
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp03kd6lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Student has an A grade\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"Student has an B grade\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Student has an C grade\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Student has an D grade\0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"Student has failed the course\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%11 = load float, ptr %6, align 4
%12 = load float, ptr %2, align 4
%13 = fcmp oge float %11, %12
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.4)
br label %16
16: ; preds = %14, %0
%17 = load float, ptr %6, align 4
%18 = load float, ptr %2, align 4
%19 = fcmp olt float %17, %18
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load float, ptr %6, align 4
%22 = load float, ptr %3, align 4
%23 = fcmp oge float %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.5)
br label %26
26: ; preds = %24, %20, %16
%27 = load float, ptr %6, align 4
%28 = load float, ptr %3, align 4
%29 = fcmp olt float %27, %28
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load float, ptr %6, align 4
%32 = load float, ptr %4, align 4
%33 = fcmp oge float %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 @printf(ptr noundef @.str.6)
br label %36
36: ; preds = %34, %30, %26
%37 = load float, ptr %6, align 4
%38 = load float, ptr %4, align 4
%39 = fcmp olt float %37, %38
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load float, ptr %6, align 4
%42 = load float, ptr %5, align 4
%43 = fcmp oge float %41, %42
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = call i32 @printf(ptr noundef @.str.7)
br label %46
46: ; preds = %44, %40, %36
%47 = load float, ptr %6, align 4
%48 = load float, ptr %5, align 4
%49 = fcmp olt float %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = call i32 @printf(ptr noundef @.str.8)
br label %52
52: ; preds = %50, %46
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwkhfielo.c'
source_filename = "/tmp/tmpwkhfielo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@acc_device_not_host = 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
%3 = alloca [262144 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr @acc_device_not_host, align 4
%5 = call i32 @acc_on_device(i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %0
store i32 0, ptr %1, align 4
br label %55
9: ; preds = %0
%10 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%11 = call i64 @gang_vector_1(ptr noundef %10, i32 noundef 262144)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 1, ptr %1, align 4
br label %55
14: ; preds = %9
%15 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%16 = call i64 @gang_vector_2a(ptr noundef %15, i32 noundef 262144)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
store i32 1, ptr %1, align 4
br label %55
19: ; preds = %14
%20 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%21 = call i64 @worker_vector_2a(ptr noundef %20, i32 noundef 262144)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
store i32 1, ptr %1, align 4
br label %55
24: ; preds = %19
%25 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%26 = call i64 @gang_worker_vector_2a(ptr noundef %25, i32 noundef 262144)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 1, ptr %1, align 4
br label %55
29: ; preds = %24
%30 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%31 = call i64 @gang_worker_vector_star_2a(ptr noundef %30, i32 noundef 262144)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %29
store i32 1, ptr %1, align 4
br label %55
34: ; preds = %29
%35 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%36 = call i64 @gang_vector_2b(ptr noundef %35, i32 noundef 262144)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
store i32 1, ptr %1, align 4
br label %55
39: ; preds = %34
%40 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%41 = call i64 @worker_vector_2b(ptr noundef %40, i32 noundef 262144)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 1, ptr %1, align 4
br label %55
44: ; preds = %39
%45 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%46 = call i64 @gang_worker_vector_2b(ptr noundef %45, i32 noundef 262144)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
store i32 1, ptr %1, align 4
br label %55
49: ; preds = %44
%50 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%51 = call i64 @gang_worker_vector_star_2b(ptr noundef %50, i32 noundef 262144)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %49
store i32 1, ptr %1, align 4
br label %55
54: ; preds = %49
store i32 0, ptr %1, align 4
br label %55
55: ; preds = %54, %53, %48, %43, %38, %33, %28, %23, %18, %13, %8
%56 = load i32, ptr %1, align 4
ret i32 %56
}
declare i32 @acc_on_device(i32 noundef) #1
declare i64 @gang_vector_1(ptr noundef, i32 noundef) #1
declare i64 @gang_vector_2a(ptr noundef, i32 noundef) #1
declare i64 @worker_vector_2a(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_2a(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_star_2a(ptr noundef, i32 noundef) #1
declare i64 @gang_vector_2b(ptr noundef, i32 noundef) #1
declare i64 @worker_vector_2b(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_2b(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_star_2b(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/tmpwkhfielo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@acc_device_not_host = 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
%3 = alloca [262144 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr @acc_device_not_host, align 4
%5 = call i32 @acc_on_device(i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %0
store i32 0, ptr %1, align 4
br label %55
9: ; preds = %0
%10 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%11 = call i64 @gang_vector_1(ptr noundef %10, i32 noundef 262144)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 1, ptr %1, align 4
br label %55
14: ; preds = %9
%15 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%16 = call i64 @gang_vector_2a(ptr noundef %15, i32 noundef 262144)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
store i32 1, ptr %1, align 4
br label %55
19: ; preds = %14
%20 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%21 = call i64 @worker_vector_2a(ptr noundef %20, i32 noundef 262144)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
store i32 1, ptr %1, align 4
br label %55
24: ; preds = %19
%25 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%26 = call i64 @gang_worker_vector_2a(ptr noundef %25, i32 noundef 262144)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 1, ptr %1, align 4
br label %55
29: ; preds = %24
%30 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%31 = call i64 @gang_worker_vector_star_2a(ptr noundef %30, i32 noundef 262144)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %29
store i32 1, ptr %1, align 4
br label %55
34: ; preds = %29
%35 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%36 = call i64 @gang_vector_2b(ptr noundef %35, i32 noundef 262144)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
store i32 1, ptr %1, align 4
br label %55
39: ; preds = %34
%40 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%41 = call i64 @worker_vector_2b(ptr noundef %40, i32 noundef 262144)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 1, ptr %1, align 4
br label %55
44: ; preds = %39
%45 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%46 = call i64 @gang_worker_vector_2b(ptr noundef %45, i32 noundef 262144)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
store i32 1, ptr %1, align 4
br label %55
49: ; preds = %44
%50 = getelementptr inbounds [262144 x i32], ptr %3, i64 0, i64 0
%51 = call i64 @gang_worker_vector_star_2b(ptr noundef %50, i32 noundef 262144)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %49
store i32 1, ptr %1, align 4
br label %55
54: ; preds = %49
store i32 0, ptr %1, align 4
br label %55
55: ; preds = %54, %53, %48, %43, %38, %33, %28, %23, %18, %13, %8
%56 = load i32, ptr %1, align 4
ret i32 %56
}
declare i32 @acc_on_device(i32 noundef) #1
declare i64 @gang_vector_1(ptr noundef, i32 noundef) #1
declare i64 @gang_vector_2a(ptr noundef, i32 noundef) #1
declare i64 @worker_vector_2a(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_2a(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_star_2a(ptr noundef, i32 noundef) #1
declare i64 @gang_vector_2b(ptr noundef, i32 noundef) #1
declare i64 @worker_vector_2b(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_2b(ptr noundef, i32 noundef) #1
declare i64 @gang_worker_vector_star_2b(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/tmp57_6jngh.c'
source_filename = "/tmp/tmp57_6jngh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Op_cat(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 @astrcat(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @astrcat(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/tmp57_6jngh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Op_cat(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 @astrcat(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @astrcat(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/tmpxs7a445w.c'
source_filename = "/tmp/tmpxs7a445w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_qs(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %11, align 8
%20 = load ptr, ptr %11, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = call ptr @multiply_double_vector_matrix(ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23)
store ptr %24, ptr %12, align 8
%25 = load ptr, ptr %12, align 8
%26 = load i32, ptr %8, align 4
%27 = call double @dmodule(ptr noundef %25, i32 noundef %26)
store double %27, ptr %13, align 8
store i32 0, ptr %14, align 4
%28 = load double, ptr %13, align 8
%29 = fcmp ogt double %28, 0.000000e+00
br i1 %29, label %30, label %51
30: ; preds = %5
store i32 1, ptr %14, align 4
br label %31
31: ; preds = %47, %30
%32 = load i32, ptr %14, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %50
35: ; preds = %31
%36 = load ptr, ptr %12, align 8
%37 = load i32, ptr %14, 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 %13, align 8
%42 = fdiv double %40, %41
%43 = load ptr, ptr %12, align 8
%44 = load i32, ptr %14, 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 %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
br label %31, !llvm.loop !6
50: ; preds = %31
br label %51
51: ; preds = %50, %5
%52 = load ptr, ptr %12, align 8
ret ptr %52
}
declare ptr @multiply_double_vector_matrix(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare double @dmodule(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/tmpxs7a445w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_qs(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %11, align 8
%20 = load ptr, ptr %11, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = call ptr @multiply_double_vector_matrix(ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23)
store ptr %24, ptr %12, align 8
%25 = load ptr, ptr %12, align 8
%26 = load i32, ptr %8, align 4
%27 = call double @dmodule(ptr noundef %25, i32 noundef %26)
store double %27, ptr %13, align 8
store i32 0, ptr %14, align 4
%28 = load double, ptr %13, align 8
%29 = fcmp ogt double %28, 0.000000e+00
br i1 %29, label %30, label %53
30: ; preds = %5
store i32 1, ptr %14, align 4
%31 = load i32, ptr %14, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph, label %52
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %46
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %14, 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 %13, align 8
%41 = fdiv double %39, %40
%42 = load ptr, ptr %12, align 8
%43 = load i32, ptr %14, 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 %14, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %14, align 4
%49 = load i32, ptr %14, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %30
br label %53
53: ; preds = %52, %5
%54 = load ptr, ptr %12, align 8
ret ptr %54
}
declare ptr @multiply_double_vector_matrix(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare double @dmodule(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/tmp0exd0k0l.c'
source_filename = "/tmp/tmp0exd0k0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Result-A: %.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Result-B: %.2f\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
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str.1, double noundef 1.000000e-01)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.2, double noundef 3.000000e-01)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fclose(ptr noundef %19)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double 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/tmp0exd0k0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Result-A: %.2f\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Result-B: %.2f\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
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str.1, double noundef 1.000000e-01)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.2, double noundef 3.000000e-01)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fclose(ptr noundef %19)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double 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/tmp3epgqfdf.c'
source_filename = "/tmp/tmp3epgqfdf.c"
target datalayout = "e-m:e-p270: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.strncat_no_overflow_1.x = private unnamed_addr constant [5 x i8] c"12\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strncat_no_overflow_1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [5 x i8], align 1
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.strncat_no_overflow_1.x, i64 5, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp eq i32 %5, 2
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = call i32 @strncat(ptr noundef %8, ptr noundef %9, i32 noundef %11)
br label %13
13: ; preds = %7, %1
ret void
}
; 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 @strlen(ptr noundef) #2
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmp3epgqfdf.c"
target datalayout = "e-m:e-p270: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.strncat_no_overflow_1.x = private unnamed_addr constant [5 x i8] c"12\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strncat_no_overflow_1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [5 x i8], align 1
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.strncat_no_overflow_1.x, i64 5, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp eq i32 %5, 2
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = call i32 @strncat(ptr noundef %8, ptr noundef %9, i32 noundef %11)
br label %13
13: ; preds = %7, %1
ret void
}
; 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 @strlen(ptr noundef) #2
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpw3w_gkbc.c'
source_filename = "/tmp/tmpw3w_gkbc.c"
target datalayout = "e-m:e-p270: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/tmpw3w_gkbc.c"
target datalayout = "e-m:e-p270: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/tmpgr4hvp9q.c'
source_filename = "/tmp/tmpgr4hvp9q.c"
target datalayout = "e-m:e-p270: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/tmpgr4hvp9q.c"
target datalayout = "e-m:e-p270: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/tmp269i_uvr.c'
source_filename = "/tmp/tmp269i_uvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Empty table!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"index is error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Delete chain record error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ipPortFilterDel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = call i32 @mib_chain_total(i32 noundef 351)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %28
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ugt i32 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14, %10
%18 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %28
19: ; preds = %14
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 %20, 1
%22 = call i32 @mib_chain_delete(i32 noundef 351, i32 noundef %21)
%23 = icmp ne i32 %22, 1
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %28
26: ; preds = %19
%27 = call i32 (...) @restart_IPFilter_DMZ_MACFilter()
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %26, %24, %17, %8
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @mib_chain_total(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @mib_chain_delete(i32 noundef, i32 noundef) #1
declare i32 @restart_IPFilter_DMZ_MACFilter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp269i_uvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Empty table!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"index is error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Delete chain record error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ipPortFilterDel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = call i32 @mib_chain_total(i32 noundef 351)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %28
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ugt i32 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14, %10
%18 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %28
19: ; preds = %14
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 %20, 1
%22 = call i32 @mib_chain_delete(i32 noundef 351, i32 noundef %21)
%23 = icmp ne i32 %22, 1
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %28
26: ; preds = %19
%27 = call i32 (...) @restart_IPFilter_DMZ_MACFilter()
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %26, %24, %17, %8
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @mib_chain_total(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @mib_chain_delete(i32 noundef, i32 noundef) #1
declare i32 @restart_IPFilter_DMZ_MACFilter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeou24znh.c'
source_filename = "/tmp/tmpeou24znh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ec_double_256(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 %4, align 8
%6 = getelementptr inbounds i64, ptr %5, i64 2
%7 = load i64, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i64, ptr %8, i64 6
%10 = load i64, ptr %9, align 8
%11 = add nsw i64 %7, %10
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
store i64 %11, ptr %13, align 8
ret i64 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/tmpeou24znh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ec_double_256(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 %4, align 8
%6 = getelementptr inbounds i64, ptr %5, i64 2
%7 = load i64, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i64, ptr %8, i64 6
%10 = load i64, ptr %9, align 8
%11 = add nsw i64 %7, %10
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
store i64 %11, ptr %13, align 8
ret i64 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/tmpyhc_rwfw.c'
source_filename = "/tmp/tmpyhc_rwfw.c"
target datalayout = "e-m:e-p270: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.sched_param = type { i32 }
@SCHED_FIFO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"sched_setscheduler failed\00", align 1
@MCL_CURRENT = dso_local global i32 0, align 4
@MCL_FUTURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"mlockall failed\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 %struct.sched_param, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds %struct.sched_param, ptr %6, i32 0, i32 0
store i32 99, ptr %7, align 4
%8 = load i32, ptr @SCHED_FIFO, align 4
%9 = call i32 @sched_setscheduler(i32 noundef 0, i32 noundef %8, ptr noundef %6)
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %2
%15 = load i32, ptr @MCL_CURRENT, align 4
%16 = load i32, ptr @MCL_FUTURE, align 4
%17 = or i32 %15, %16
%18 = call i32 @mlockall(i32 noundef %17)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 @perror(ptr noundef @.str.1)
%22 = call i32 @exit(i32 noundef -2) #3
unreachable
23: ; preds = %14
%24 = call i32 (...) @stack_prefault()
br label %25
25: ; preds = %23, %25
%26 = call i32 (...) @fork()
br label %25
}
declare i32 @sched_setscheduler(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @mlockall(i32 noundef) #1
declare i32 @stack_prefault(...) #1
declare i32 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpyhc_rwfw.c"
target datalayout = "e-m:e-p270: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.sched_param = type { i32 }
@SCHED_FIFO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"sched_setscheduler failed\00", align 1
@MCL_CURRENT = dso_local global i32 0, align 4
@MCL_FUTURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"mlockall failed\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 %struct.sched_param, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds %struct.sched_param, ptr %6, i32 0, i32 0
store i32 99, ptr %7, align 4
%8 = load i32, ptr @SCHED_FIFO, align 4
%9 = call i32 @sched_setscheduler(i32 noundef 0, i32 noundef %8, ptr noundef %6)
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %2
%15 = load i32, ptr @MCL_CURRENT, align 4
%16 = load i32, ptr @MCL_FUTURE, align 4
%17 = or i32 %15, %16
%18 = call i32 @mlockall(i32 noundef %17)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 @perror(ptr noundef @.str.1)
%22 = call i32 @exit(i32 noundef -2) #3
unreachable
23: ; preds = %14
%24 = call i32 (...) @stack_prefault()
br label %25
25: ; preds = %25, %23
%26 = call i32 (...) @fork()
br label %25
}
declare i32 @sched_setscheduler(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @mlockall(i32 noundef) #1
declare i32 @stack_prefault(...) #1
declare i32 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp2id82o9z.c'
source_filename = "/tmp/tmp2id82o9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_up() #0 {
br label %1
1: ; preds = %5, %0
%2 = call signext i8 (...) @getchar()
%3 = sext i8 %2 to i32
%4 = icmp ne i32 %3, 10
br i1 %4, label %5, label %6
5: ; preds = %1
br label %1, !llvm.loop !6
6: ; preds = %1
ret void
}
declare signext i8 @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/tmp2id82o9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_up() #0 {
br label %1
1: ; preds = %1, %0
%2 = call signext i8 (...) @getchar()
%3 = sext i8 %2 to i32
%4 = icmp ne i32 %3, 10
br i1 %4, label %1, label %5, !llvm.loop !6
5: ; preds = %1
ret void
}
declare signext i8 @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/tmpuc54koem.c'
source_filename = "/tmp/tmpuc54koem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuc54koem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3gu37_ss.c'
source_filename = "/tmp/tmp3gu37_ss.c"
target datalayout = "e-m:e-p270: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/tmp3gu37_ss.c"
target datalayout = "e-m:e-p270: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/tmpsi4mmrb5.c'
source_filename = "/tmp/tmpsi4mmrb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsi4mmrb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphhr3qzd6.c'
source_filename = "/tmp/tmphhr3qzd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @math_cot(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @tan(double noundef %3)
%5 = sdiv i32 1, %4
%6 = sitofp i32 %5 to double
ret double %6
}
declare i32 @tan(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/tmphhr3qzd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @math_cot(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @tan(double noundef %3)
%5 = sdiv i32 1, %4
%6 = sitofp i32 %5 to double
ret double %6
}
declare i32 @tan(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/tmppexwn9_q.c'
source_filename = "/tmp/tmppexwn9_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"The result is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 10, ptr %3, align 4
store i32 15, ptr %4, align 4
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, %6
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, %9
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %16, %15
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppexwn9_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"The result is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 10, ptr %3, align 4
store i32 15, ptr %4, align 4
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, %6
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, %9
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %16, %15
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
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"}
|
; ModuleID = '/tmp/tmpc8vpdu14.c'
source_filename = "/tmp/tmpc8vpdu14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @potential_float(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [3 x double], align 16
%12 = alloca [3 x double], align 16
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %15, align 4
br label %16
16: ; preds = %31, %5
%17 = load i32, ptr %15, align 4
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %18, align 4
%20 = icmp slt i32 %17, %19
br i1 %20, label %21, label %34
21: ; preds = %16
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %15, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %22, i64 %24
%26 = load float, ptr %25, align 4
%27 = fpext float %26 to double
%28 = load i32, ptr %15, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 %29
store double %27, ptr %30, align 8
br label %31
31: ; preds = %21
%32 = load i32, ptr %15, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %15, align 4
br label %16, !llvm.loop !6
34: ; preds = %16
%35 = load ptr, ptr %10, align 8
%36 = load float, ptr %35, align 4
%37 = fpext float %36 to double
store double %37, ptr %14, align 8
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0
%40 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%41 = call i32 @potential_double(ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %13, ptr noundef %14)
store i32 0, ptr %15, align 4
br label %42
42: ; preds = %57, %34
%43 = load i32, ptr %15, align 4
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %44, align 4
%46 = icmp slt i32 %43, %45
br i1 %46, label %47, label %60
47: ; preds = %42
%48 = load i32, ptr %15, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %49
%51 = load double, ptr %50, align 8
%52 = fptrunc double %51 to float
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %15, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds float, ptr %53, i64 %55
store float %52, ptr %56, align 4
br label %57
57: ; preds = %47
%58 = load i32, ptr %15, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %15, align 4
br label %42, !llvm.loop !8
60: ; preds = %42
%61 = load double, ptr %13, align 8
%62 = fptrunc double %61 to float
%63 = load ptr, ptr %9, align 8
store float %62, ptr %63, align 4
ret void
}
declare i32 @potential_double(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc8vpdu14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @potential_float(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [3 x double], align 16
%12 = alloca [3 x double], align 16
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %15, align 4
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %16, %18
br i1 %19, label %.lr.ph, label %37
.lr.ph: ; preds = %5
br label %20
20: ; preds = %.lr.ph, %30
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %15, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %21, i64 %23
%25 = load float, ptr %24, align 4
%26 = fpext float %25 to double
%27 = load i32, ptr %15, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 %28
store double %26, ptr %29, align 8
br label %30
30: ; preds = %20
%31 = load i32, ptr %15, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %15, align 4
%33 = load i32, ptr %15, align 4
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %34, align 4
%36 = icmp slt i32 %33, %35
br i1 %36, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %37
37: ; preds = %._crit_edge, %5
%38 = load ptr, ptr %10, align 8
%39 = load float, ptr %38, align 4
%40 = fpext float %39 to double
store double %40, ptr %14, align 8
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0
%43 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%44 = call i32 @potential_double(ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %13, ptr noundef %14)
store i32 0, ptr %15, align 4
%45 = load i32, ptr %15, align 4
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %46, align 4
%48 = icmp slt i32 %45, %47
br i1 %48, label %.lr.ph2, label %66
.lr.ph2: ; preds = %37
br label %49
49: ; preds = %.lr.ph2, %59
%50 = load i32, ptr %15, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %51
%53 = load double, ptr %52, align 8
%54 = fptrunc double %53 to float
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %15, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds float, ptr %55, i64 %57
store float %54, ptr %58, align 4
br label %59
59: ; preds = %49
%60 = load i32, ptr %15, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %15, align 4
%62 = load i32, ptr %15, align 4
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %63, align 4
%65 = icmp slt i32 %62, %64
br i1 %65, label %49, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %66
66: ; preds = %._crit_edge3, %37
%67 = load double, ptr %13, align 8
%68 = fptrunc double %67 to float
%69 = load ptr, ptr %9, align 8
store float %68, ptr %69, align 4
ret void
}
declare i32 @potential_double(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpdg7ykr9o.c'
source_filename = "/tmp/tmpdg7ykr9o.c"
target datalayout = "e-m:e-p270: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/tmpdg7ykr9o.c"
target datalayout = "e-m:e-p270: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/tmpywrgj68a.c'
source_filename = "/tmp/tmpywrgj68a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TESTIMGS.IMG\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %191, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 8
br i1 %9, label %10, label %194
10: ; preds = %7
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %17, %10
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 1024
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load ptr, ptr %2, align 8
%16 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str.2, i32 noundef 0, i32 noundef 248)
br label %17
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %11, !llvm.loop !6
20: ; preds = %11
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %27, %20
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 1024
br i1 %23, label %24, label %30
24: ; preds = %21
%25 = load ptr, ptr %2, align 8
%26 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.2, i32 noundef 255, i32 noundef 255)
br label %27
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %21, !llvm.loop !8
30: ; preds = %21
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %37, %30
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 1024
br i1 %33, label %34, label %40
34: ; preds = %31
%35 = load ptr, ptr %2, align 8
%36 = call i32 @fprintf(ptr noundef %35, ptr noundef @.str.2, i32 noundef 31, i32 noundef 0)
br label %37
37: ; preds = %34
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %31, !llvm.loop !9
40: ; preds = %31
store i32 0, ptr %3, align 4
br label %41
41: ; preds = %47, %40
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %42, 1024
br i1 %43, label %44, label %50
44: ; preds = %41
%45 = load ptr, ptr %2, align 8
%46 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str.2, i32 noundef 224, i32 noundef 7)
br label %47
47: ; preds = %44
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
br label %41, !llvm.loop !10
50: ; preds = %41
store i32 0, ptr %3, align 4
br label %51
51: ; preds = %57, %50
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %52, 1024
br i1 %53, label %54, label %60
54: ; preds = %51
%55 = load ptr, ptr %2, align 8
%56 = call i32 @fprintf(ptr noundef %55, ptr noundef @.str.2, i32 noundef 15, i32 noundef 0)
br label %57
57: ; preds = %54
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
br label %51, !llvm.loop !11
60: ; preds = %51
store i32 0, ptr %3, align 4
br label %61
61: ; preds = %67, %60
%62 = load i32, ptr %3, align 4
%63 = icmp slt i32 %62, 1024
br i1 %63, label %64, label %70
64: ; preds = %61
%65 = load ptr, ptr %2, align 8
%66 = call i32 @fprintf(ptr noundef %65, ptr noundef @.str.2, i32 noundef 224, i32 noundef 123)
br label %67
67: ; preds = %64
%68 = load i32, ptr %3, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %3, align 4
br label %61, !llvm.loop !12
70: ; preds = %61
store i32 0, ptr %3, align 4
br label %71
71: ; preds = %77, %70
%72 = load i32, ptr %3, align 4
%73 = icmp slt i32 %72, 1024
br i1 %73, label %74, label %80
74: ; preds = %71
%75 = load ptr, ptr %2, align 8
%76 = call i32 @fprintf(ptr noundef %75, ptr noundef @.str.2, i32 noundef 229, i32 noundef 175)
br label %77
77: ; preds = %74
%78 = load i32, ptr %3, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %3, align 4
br label %71, !llvm.loop !13
80: ; preds = %71
store i32 0, ptr %3, align 4
br label %81
81: ; preds = %87, %80
%82 = load i32, ptr %3, align 4
%83 = icmp slt i32 %82, 1024
br i1 %83, label %84, label %90
84: ; preds = %81
%85 = load ptr, ptr %2, align 8
%86 = call i32 @fprintf(ptr noundef %85, ptr noundef @.str.2, i32 noundef 32, i32 noundef 253)
br label %87
87: ; preds = %84
%88 = load i32, ptr %3, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %3, align 4
br label %81, !llvm.loop !14
90: ; preds = %81
store i32 0, ptr %3, align 4
br label %91
91: ; preds = %97, %90
%92 = load i32, ptr %3, align 4
%93 = icmp slt i32 %92, 1024
br i1 %93, label %94, label %100
94: ; preds = %91
%95 = load ptr, ptr %2, align 8
%96 = call i32 @fprintf(ptr noundef %95, ptr noundef @.str.2, i32 noundef 15, i32 noundef 62)
br label %97
97: ; preds = %94
%98 = load i32, ptr %3, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %3, align 4
br label %91, !llvm.loop !15
100: ; preds = %91
store i32 0, ptr %3, align 4
br label %101
101: ; preds = %107, %100
%102 = load i32, ptr %3, align 4
%103 = icmp slt i32 %102, 1024
br i1 %103, label %104, label %110
104: ; preds = %101
%105 = load ptr, ptr %2, align 8
%106 = call i32 @fprintf(ptr noundef %105, ptr noundef @.str.2, i32 noundef 241, i32 noundef 248)
br label %107
107: ; preds = %104
%108 = load i32, ptr %3, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %3, align 4
br label %101, !llvm.loop !16
110: ; preds = %101
store i32 0, ptr %3, align 4
br label %111
111: ; preds = %117, %110
%112 = load i32, ptr %3, align 4
%113 = icmp slt i32 %112, 1024
br i1 %113, label %114, label %120
114: ; preds = %111
%115 = load ptr, ptr %2, align 8
%116 = call i32 @fprintf(ptr noundef %115, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0)
br label %117
117: ; preds = %114
%118 = load i32, ptr %3, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %3, align 4
br label %111, !llvm.loop !17
120: ; preds = %111
store i32 0, ptr %3, align 4
br label %121
121: ; preds = %127, %120
%122 = load i32, ptr %3, align 4
%123 = icmp slt i32 %122, 1024
br i1 %123, label %124, label %130
124: ; preds = %121
%125 = load ptr, ptr %2, align 8
%126 = call i32 @fprintf(ptr noundef %125, ptr noundef @.str.2, i32 noundef 15, i32 noundef 120)
br label %127
127: ; preds = %124
%128 = load i32, ptr %3, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %3, align 4
br label %121, !llvm.loop !18
130: ; preds = %121
store i32 0, ptr %3, align 4
br label %131
131: ; preds = %137, %130
%132 = load i32, ptr %3, align 4
%133 = icmp slt i32 %132, 1024
br i1 %133, label %134, label %140
134: ; preds = %131
%135 = load ptr, ptr %2, align 8
%136 = call i32 @fprintf(ptr noundef %135, ptr noundef @.str.2, i32 noundef 170, i32 noundef 85)
br label %137
137: ; preds = %134
%138 = load i32, ptr %3, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %3, align 4
br label %131, !llvm.loop !19
140: ; preds = %131
store i32 0, ptr %3, align 4
br label %141
141: ; preds = %147, %140
%142 = load i32, ptr %3, align 4
%143 = icmp slt i32 %142, 1024
br i1 %143, label %144, label %150
144: ; preds = %141
%145 = load ptr, ptr %2, align 8
%146 = call i32 @fprintf(ptr noundef %145, ptr noundef @.str.2, i32 noundef 85, i32 noundef 170)
br label %147
147: ; preds = %144
%148 = load i32, ptr %3, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %3, align 4
br label %141, !llvm.loop !20
150: ; preds = %141
store i32 0, ptr %3, align 4
br label %151
151: ; preds = %157, %150
%152 = load i32, ptr %3, align 4
%153 = icmp slt i32 %152, 1024
br i1 %153, label %154, label %160
154: ; preds = %151
%155 = load ptr, ptr %2, align 8
%156 = call i32 @fprintf(ptr noundef %155, ptr noundef @.str.2, i32 noundef 165, i32 noundef 90)
br label %157
157: ; preds = %154
%158 = load i32, ptr %3, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %3, align 4
br label %151, !llvm.loop !21
160: ; preds = %151
store i32 0, ptr %3, align 4
br label %161
161: ; preds = %167, %160
%162 = load i32, ptr %3, align 4
%163 = icmp slt i32 %162, 1024
br i1 %163, label %164, label %170
164: ; preds = %161
%165 = load ptr, ptr %2, align 8
%166 = call i32 @fprintf(ptr noundef %165, ptr noundef @.str.2, i32 noundef 90, i32 noundef 165)
br label %167
167: ; preds = %164
%168 = load i32, ptr %3, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %3, align 4
br label %161, !llvm.loop !22
170: ; preds = %161
store i32 0, ptr %3, align 4
br label %171
171: ; preds = %177, %170
%172 = load i32, ptr %3, align 4
%173 = icmp slt i32 %172, 1024
br i1 %173, label %174, label %180
174: ; preds = %171
%175 = load ptr, ptr %2, align 8
%176 = call i32 @fprintf(ptr noundef %175, ptr noundef @.str.2, i32 noundef 165, i32 noundef 165)
br label %177
177: ; preds = %174
%178 = load i32, ptr %3, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %3, align 4
br label %171, !llvm.loop !23
180: ; preds = %171
store i32 0, ptr %3, align 4
br label %181
181: ; preds = %187, %180
%182 = load i32, ptr %3, align 4
%183 = icmp slt i32 %182, 1024
br i1 %183, label %184, label %190
184: ; preds = %181
%185 = load ptr, ptr %2, align 8
%186 = call i32 @fprintf(ptr noundef %185, ptr noundef @.str.2, i32 noundef 90, i32 noundef 90)
br label %187
187: ; preds = %184
%188 = load i32, ptr %3, align 4
%189 = add nsw i32 %188, 1
store i32 %189, ptr %3, align 4
br label %181, !llvm.loop !24
190: ; preds = %181
br label %191
191: ; preds = %190
%192 = load i32, ptr %4, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %4, align 4
br label %7, !llvm.loop !25
194: ; preds = %7
%195 = load ptr, ptr %2, align 8
%196 = call i32 @fclose(ptr noundef %195)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpywrgj68a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TESTIMGS.IMG\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %.lr.ph53, label %213
.lr.ph53: ; preds = %0
br label %9
9: ; preds = %.lr.ph53, %208
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 1024
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %15
%13 = load ptr, ptr %2, align 8
%14 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.2, i32 noundef 0, i32 noundef 248)
br label %15
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 1024
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %9
store i32 0, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 1024
br i1 %22, label %.lr.ph2, label %31
.lr.ph2: ; preds = %20
br label %23
23: ; preds = %.lr.ph2, %26
%24 = load ptr, ptr %2, align 8
%25 = call i32 @fprintf(ptr noundef %24, ptr noundef @.str.2, i32 noundef 255, i32 noundef 255)
br label %26
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 1024
br i1 %30, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %31
31: ; preds = %._crit_edge3, %20
store i32 0, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 1024
br i1 %33, label %.lr.ph5, label %42
.lr.ph5: ; preds = %31
br label %34
34: ; preds = %.lr.ph5, %37
%35 = load ptr, ptr %2, align 8
%36 = call i32 @fprintf(ptr noundef %35, ptr noundef @.str.2, i32 noundef 31, i32 noundef 0)
br label %37
37: ; preds = %34
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp slt i32 %40, 1024
br i1 %41, label %34, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %37
br label %42
42: ; preds = %._crit_edge6, %31
store i32 0, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %43, 1024
br i1 %44, label %.lr.ph8, label %53
.lr.ph8: ; preds = %42
br label %45
45: ; preds = %.lr.ph8, %48
%46 = load ptr, ptr %2, align 8
%47 = call i32 @fprintf(ptr noundef %46, ptr noundef @.str.2, i32 noundef 224, i32 noundef 7)
br label %48
48: ; preds = %45
%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 = icmp slt i32 %51, 1024
br i1 %52, label %45, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %48
br label %53
53: ; preds = %._crit_edge9, %42
store i32 0, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp slt i32 %54, 1024
br i1 %55, label %.lr.ph11, label %64
.lr.ph11: ; preds = %53
br label %56
56: ; preds = %.lr.ph11, %59
%57 = load ptr, ptr %2, align 8
%58 = call i32 @fprintf(ptr noundef %57, ptr noundef @.str.2, i32 noundef 15, i32 noundef 0)
br label %59
59: ; preds = %56
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %3, align 4
%62 = load i32, ptr %3, align 4
%63 = icmp slt i32 %62, 1024
br i1 %63, label %56, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %59
br label %64
64: ; preds = %._crit_edge12, %53
store i32 0, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp slt i32 %65, 1024
br i1 %66, label %.lr.ph14, label %75
.lr.ph14: ; preds = %64
br label %67
67: ; preds = %.lr.ph14, %70
%68 = load ptr, ptr %2, align 8
%69 = call i32 @fprintf(ptr noundef %68, ptr noundef @.str.2, i32 noundef 224, i32 noundef 123)
br label %70
70: ; preds = %67
%71 = load i32, ptr %3, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %3, align 4
%73 = load i32, ptr %3, align 4
%74 = icmp slt i32 %73, 1024
br i1 %74, label %67, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %70
br label %75
75: ; preds = %._crit_edge15, %64
store i32 0, ptr %3, align 4
%76 = load i32, ptr %3, align 4
%77 = icmp slt i32 %76, 1024
br i1 %77, label %.lr.ph17, label %86
.lr.ph17: ; preds = %75
br label %78
78: ; preds = %.lr.ph17, %81
%79 = load ptr, ptr %2, align 8
%80 = call i32 @fprintf(ptr noundef %79, ptr noundef @.str.2, i32 noundef 229, i32 noundef 175)
br label %81
81: ; preds = %78
%82 = load i32, ptr %3, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %3, align 4
%84 = load i32, ptr %3, align 4
%85 = icmp slt i32 %84, 1024
br i1 %85, label %78, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %81
br label %86
86: ; preds = %._crit_edge18, %75
store i32 0, ptr %3, align 4
%87 = load i32, ptr %3, align 4
%88 = icmp slt i32 %87, 1024
br i1 %88, label %.lr.ph20, label %97
.lr.ph20: ; preds = %86
br label %89
89: ; preds = %.lr.ph20, %92
%90 = load ptr, ptr %2, align 8
%91 = call i32 @fprintf(ptr noundef %90, ptr noundef @.str.2, i32 noundef 32, i32 noundef 253)
br label %92
92: ; preds = %89
%93 = load i32, ptr %3, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %3, align 4
%95 = load i32, ptr %3, align 4
%96 = icmp slt i32 %95, 1024
br i1 %96, label %89, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %92
br label %97
97: ; preds = %._crit_edge21, %86
store i32 0, ptr %3, align 4
%98 = load i32, ptr %3, align 4
%99 = icmp slt i32 %98, 1024
br i1 %99, label %.lr.ph23, label %108
.lr.ph23: ; preds = %97
br label %100
100: ; preds = %.lr.ph23, %103
%101 = load ptr, ptr %2, align 8
%102 = call i32 @fprintf(ptr noundef %101, ptr noundef @.str.2, i32 noundef 15, i32 noundef 62)
br label %103
103: ; preds = %100
%104 = load i32, ptr %3, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %3, align 4
%106 = load i32, ptr %3, align 4
%107 = icmp slt i32 %106, 1024
br i1 %107, label %100, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %103
br label %108
108: ; preds = %._crit_edge24, %97
store i32 0, ptr %3, align 4
%109 = load i32, ptr %3, align 4
%110 = icmp slt i32 %109, 1024
br i1 %110, label %.lr.ph26, label %119
.lr.ph26: ; preds = %108
br label %111
111: ; preds = %.lr.ph26, %114
%112 = load ptr, ptr %2, align 8
%113 = call i32 @fprintf(ptr noundef %112, ptr noundef @.str.2, i32 noundef 241, i32 noundef 248)
br label %114
114: ; preds = %111
%115 = load i32, ptr %3, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %3, align 4
%117 = load i32, ptr %3, align 4
%118 = icmp slt i32 %117, 1024
br i1 %118, label %111, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %114
br label %119
119: ; preds = %._crit_edge27, %108
store i32 0, ptr %3, align 4
%120 = load i32, ptr %3, align 4
%121 = icmp slt i32 %120, 1024
br i1 %121, label %.lr.ph29, label %130
.lr.ph29: ; preds = %119
br label %122
122: ; preds = %.lr.ph29, %125
%123 = load ptr, ptr %2, align 8
%124 = call i32 @fprintf(ptr noundef %123, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0)
br label %125
125: ; preds = %122
%126 = load i32, ptr %3, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %3, align 4
%128 = load i32, ptr %3, align 4
%129 = icmp slt i32 %128, 1024
br i1 %129, label %122, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %125
br label %130
130: ; preds = %._crit_edge30, %119
store i32 0, ptr %3, align 4
%131 = load i32, ptr %3, align 4
%132 = icmp slt i32 %131, 1024
br i1 %132, label %.lr.ph32, label %141
.lr.ph32: ; preds = %130
br label %133
133: ; preds = %.lr.ph32, %136
%134 = load ptr, ptr %2, align 8
%135 = call i32 @fprintf(ptr noundef %134, ptr noundef @.str.2, i32 noundef 15, i32 noundef 120)
br label %136
136: ; preds = %133
%137 = load i32, ptr %3, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %3, align 4
%139 = load i32, ptr %3, align 4
%140 = icmp slt i32 %139, 1024
br i1 %140, label %133, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %136
br label %141
141: ; preds = %._crit_edge33, %130
store i32 0, ptr %3, align 4
%142 = load i32, ptr %3, align 4
%143 = icmp slt i32 %142, 1024
br i1 %143, label %.lr.ph35, label %152
.lr.ph35: ; preds = %141
br label %144
144: ; preds = %.lr.ph35, %147
%145 = load ptr, ptr %2, align 8
%146 = call i32 @fprintf(ptr noundef %145, ptr noundef @.str.2, i32 noundef 170, i32 noundef 85)
br label %147
147: ; preds = %144
%148 = load i32, ptr %3, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %3, align 4
%150 = load i32, ptr %3, align 4
%151 = icmp slt i32 %150, 1024
br i1 %151, label %144, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %147
br label %152
152: ; preds = %._crit_edge36, %141
store i32 0, ptr %3, align 4
%153 = load i32, ptr %3, align 4
%154 = icmp slt i32 %153, 1024
br i1 %154, label %.lr.ph38, label %163
.lr.ph38: ; preds = %152
br label %155
155: ; preds = %.lr.ph38, %158
%156 = load ptr, ptr %2, align 8
%157 = call i32 @fprintf(ptr noundef %156, ptr noundef @.str.2, i32 noundef 85, i32 noundef 170)
br label %158
158: ; preds = %155
%159 = load i32, ptr %3, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %3, align 4
%161 = load i32, ptr %3, align 4
%162 = icmp slt i32 %161, 1024
br i1 %162, label %155, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %158
br label %163
163: ; preds = %._crit_edge39, %152
store i32 0, ptr %3, align 4
%164 = load i32, ptr %3, align 4
%165 = icmp slt i32 %164, 1024
br i1 %165, label %.lr.ph41, label %174
.lr.ph41: ; preds = %163
br label %166
166: ; preds = %.lr.ph41, %169
%167 = load ptr, ptr %2, align 8
%168 = call i32 @fprintf(ptr noundef %167, ptr noundef @.str.2, i32 noundef 165, i32 noundef 90)
br label %169
169: ; preds = %166
%170 = load i32, ptr %3, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %3, align 4
%172 = load i32, ptr %3, align 4
%173 = icmp slt i32 %172, 1024
br i1 %173, label %166, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %169
br label %174
174: ; preds = %._crit_edge42, %163
store i32 0, ptr %3, align 4
%175 = load i32, ptr %3, align 4
%176 = icmp slt i32 %175, 1024
br i1 %176, label %.lr.ph44, label %185
.lr.ph44: ; preds = %174
br label %177
177: ; preds = %.lr.ph44, %180
%178 = load ptr, ptr %2, align 8
%179 = call i32 @fprintf(ptr noundef %178, ptr noundef @.str.2, i32 noundef 90, i32 noundef 165)
br label %180
180: ; preds = %177
%181 = load i32, ptr %3, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %3, align 4
%183 = load i32, ptr %3, align 4
%184 = icmp slt i32 %183, 1024
br i1 %184, label %177, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %180
br label %185
185: ; preds = %._crit_edge45, %174
store i32 0, ptr %3, align 4
%186 = load i32, ptr %3, align 4
%187 = icmp slt i32 %186, 1024
br i1 %187, label %.lr.ph47, label %196
.lr.ph47: ; preds = %185
br label %188
188: ; preds = %.lr.ph47, %191
%189 = load ptr, ptr %2, align 8
%190 = call i32 @fprintf(ptr noundef %189, ptr noundef @.str.2, i32 noundef 165, i32 noundef 165)
br label %191
191: ; preds = %188
%192 = load i32, ptr %3, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %3, align 4
%194 = load i32, ptr %3, align 4
%195 = icmp slt i32 %194, 1024
br i1 %195, label %188, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %191
br label %196
196: ; preds = %._crit_edge48, %185
store i32 0, ptr %3, align 4
%197 = load i32, ptr %3, align 4
%198 = icmp slt i32 %197, 1024
br i1 %198, label %.lr.ph50, label %207
.lr.ph50: ; preds = %196
br label %199
199: ; preds = %.lr.ph50, %202
%200 = load ptr, ptr %2, align 8
%201 = call i32 @fprintf(ptr noundef %200, ptr noundef @.str.2, i32 noundef 90, i32 noundef 90)
br label %202
202: ; preds = %199
%203 = load i32, ptr %3, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %3, align 4
%205 = load i32, ptr %3, align 4
%206 = icmp slt i32 %205, 1024
br i1 %206, label %199, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %202
br label %207
207: ; preds = %._crit_edge51, %196
br label %208
208: ; preds = %207
%209 = load i32, ptr %4, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %4, align 4
%211 = load i32, ptr %4, align 4
%212 = icmp slt i32 %211, 8
br i1 %212, label %9, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %208
br label %213
213: ; preds = %._crit_edge54, %0
%214 = load ptr, ptr %2, align 8
%215 = call i32 @fclose(ptr noundef %214)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
|
; ModuleID = '/tmp/tmplg4shn8g.c'
source_filename = "/tmp/tmplg4shn8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"returned from do_nothing.\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"returned from nothing_doing.\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
%7 = call i64 @malloc(i32 noundef 64)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str)
%11 = load ptr, ptr %6, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = call i32 (...) @do_nothing()
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 (...) @nothing_doing()
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @free(ptr noundef %17)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @do_nothing(...) #1
declare i32 @nothing_doing(...) #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/tmplg4shn8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"returned from do_nothing.\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"returned from nothing_doing.\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
%7 = call i64 @malloc(i32 noundef 64)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str)
%11 = load ptr, ptr %6, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = call i32 (...) @do_nothing()
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 (...) @nothing_doing()
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @free(ptr noundef %17)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @do_nothing(...) #1
declare i32 @nothing_doing(...) #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/tmpfthn1w1s.c'
source_filename = "/tmp/tmpfthn1w1s.c"
target datalayout = "e-m:e-p270: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 [39 x i8] c"Error: bad domain for fp_log: log(%g)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fp_log(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = uitofp i32 %10 to double
%12 = call double @llvm.fmuladd.f64(double %11, double 3.322000e+00, double 5.000000e+01)
store double %12, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load double, ptr %7, align 8
%15 = call i32 @mpf_init2(i32 noundef %13, double noundef %14)
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @mpf_set(i32 noundef %16, i32 noundef %17)
store i32 0, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = call i64 @mpf_cmp_ui(i32 noundef %19, i32 noundef 0)
%21 = icmp sle i64 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %3
%23 = load i32, ptr @stderr, align 4
%24 = load i32, ptr %8, align 4
%25 = call double @mpf_get_d(i32 noundef %24)
%26 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, double noundef %25)
%27 = load i32, ptr %8, align 4
%28 = call i32 @mpf_clear(i32 noundef %27)
%29 = call i32 @exit(i32 noundef 1) #4
unreachable
30: ; preds = %3
br label %31
31: ; preds = %35, %30
%32 = load i32, ptr %8, align 4
%33 = call i64 @mpf_cmp_ui(i32 noundef %32, i32 noundef 2)
%34 = icmp sgt i64 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = call i32 @mpf_div_ui(i32 noundef %38, i32 noundef %39, i32 noundef 2)
br label %31, !llvm.loop !6
41: ; preds = %31
br label %42
42: ; preds = %46, %41
%43 = load i32, ptr %8, align 4
%44 = call i64 @mpf_cmp_ui(i32 noundef %43, i32 noundef 1)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %52
46: ; preds = %42
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %9, align 4
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = call i32 @mpf_mul_ui(i32 noundef %49, i32 noundef %50, i32 noundef 2)
br label %42, !llvm.loop !8
52: ; preds = %42
%53 = load i32, ptr %8, align 4
%54 = call i64 @mpf_cmp_d(i32 noundef %53, double noundef 1.618000e+00)
%55 = icmp sgt i64 %54, 0
br i1 %55, label %56, label %67
56: ; preds = %52
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = call i32 @mpf_ui_div(i32 noundef %57, i32 noundef 1, i32 noundef %58)
%60 = load i32, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = call i32 @mpf_ui_sub(i32 noundef %60, i32 noundef 1, i32 noundef %61)
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %6, align 4
%66 = call i32 @fp_log_m1(i32 noundef %63, i32 noundef %64, i32 noundef %65)
br label %78
67: ; preds = %52
%68 = load i32, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = call i32 @mpf_ui_sub(i32 noundef %68, i32 noundef 1, i32 noundef %69)
%71 = load i32, ptr %4, align 4
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %6, align 4
%74 = call i32 @fp_log_m1(i32 noundef %71, i32 noundef %72, i32 noundef %73)
%75 = load i32, ptr %4, align 4
%76 = load i32, ptr %4, align 4
%77 = call i32 @mpf_neg(i32 noundef %75, i32 noundef %76)
br label %78
78: ; preds = %67, %56
%79 = load i32, ptr %9, align 4
%80 = icmp ne i32 0, %79
br i1 %80, label %81, label %106
81: ; preds = %78
%82 = load i32, ptr %8, align 4
%83 = load i32, ptr %6, align 4
%84 = call i32 @fp_log2(i32 noundef %82, i32 noundef %83)
%85 = load i32, ptr %9, align 4
%86 = icmp sgt i32 0, %85
br i1 %86, label %87, label %96
87: ; preds = %81
%88 = load i32, ptr %8, align 4
%89 = load i32, ptr %8, align 4
%90 = load i32, ptr %9, align 4
%91 = sub nsw i32 0, %90
%92 = call i32 @mpf_mul_ui(i32 noundef %88, i32 noundef %89, i32 noundef %91)
%93 = load i32, ptr %8, align 4
%94 = load i32, ptr %8, align 4
%95 = call i32 @mpf_neg(i32 noundef %93, i32 noundef %94)
br label %101
96: ; preds = %81
%97 = load i32, ptr %8, align 4
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %9, align 4
%100 = call i32 @mpf_mul_ui(i32 noundef %97, i32 noundef %98, i32 noundef %99)
br label %101
101: ; preds = %96, %87
%102 = load i32, ptr %4, align 4
%103 = load i32, ptr %4, align 4
%104 = load i32, ptr %8, align 4
%105 = call i32 @mpf_add(i32 noundef %102, i32 noundef %103, i32 noundef %104)
br label %106
106: ; preds = %101, %78
%107 = load i32, ptr %8, align 4
%108 = call i32 @mpf_clear(i32 noundef %107)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @mpf_init2(i32 noundef, double noundef) #2
declare i32 @mpf_set(i32 noundef, i32 noundef) #2
declare i64 @mpf_cmp_ui(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, double noundef) #2
declare double @mpf_get_d(i32 noundef) #2
declare i32 @mpf_clear(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @mpf_div_ui(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpf_mul_ui(i32 noundef, i32 noundef, i32 noundef) #2
declare i64 @mpf_cmp_d(i32 noundef, double noundef) #2
declare i32 @mpf_ui_div(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpf_ui_sub(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @fp_log_m1(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpf_neg(i32 noundef, i32 noundef) #2
declare i32 @fp_log2(i32 noundef, i32 noundef) #2
declare i32 @mpf_add(i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmpfthn1w1s.c"
target datalayout = "e-m:e-p270: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 [39 x i8] c"Error: bad domain for fp_log: log(%g)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fp_log(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = uitofp i32 %10 to double
%12 = call double @llvm.fmuladd.f64(double %11, double 3.322000e+00, double 5.000000e+01)
store double %12, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = load double, ptr %7, align 8
%15 = call i32 @mpf_init2(i32 noundef %13, double noundef %14)
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @mpf_set(i32 noundef %16, i32 noundef %17)
store i32 0, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = call i64 @mpf_cmp_ui(i32 noundef %19, i32 noundef 0)
%21 = icmp sle i64 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %3
%23 = load i32, ptr @stderr, align 4
%24 = load i32, ptr %8, align 4
%25 = call double @mpf_get_d(i32 noundef %24)
%26 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, double noundef %25)
%27 = load i32, ptr %8, align 4
%28 = call i32 @mpf_clear(i32 noundef %27)
%29 = call i32 @exit(i32 noundef 1) #4
unreachable
30: ; preds = %3
%31 = load i32, ptr %8, align 4
%32 = call i64 @mpf_cmp_ui(i32 noundef %31, i32 noundef 2)
%33 = icmp sgt i64 %32, 0
br i1 %33, label %.lr.ph, label %43
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %34
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = call i32 @mpf_div_ui(i32 noundef %37, i32 noundef %38, i32 noundef 2)
%40 = load i32, ptr %8, align 4
%41 = call i64 @mpf_cmp_ui(i32 noundef %40, i32 noundef 2)
%42 = icmp sgt i64 %41, 0
br i1 %42, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %43
43: ; preds = %._crit_edge, %30
%44 = load i32, ptr %8, align 4
%45 = call i64 @mpf_cmp_ui(i32 noundef %44, i32 noundef 1)
%46 = icmp slt i64 %45, 0
br i1 %46, label %.lr.ph2, label %56
.lr.ph2: ; preds = %43
br label %47
47: ; preds = %.lr.ph2, %47
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = call i32 @mpf_mul_ui(i32 noundef %50, i32 noundef %51, i32 noundef 2)
%53 = load i32, ptr %8, align 4
%54 = call i64 @mpf_cmp_ui(i32 noundef %53, i32 noundef 1)
%55 = icmp slt i64 %54, 0
br i1 %55, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %56
56: ; preds = %._crit_edge3, %43
%57 = load i32, ptr %8, align 4
%58 = call i64 @mpf_cmp_d(i32 noundef %57, double noundef 1.618000e+00)
%59 = icmp sgt i64 %58, 0
br i1 %59, label %60, label %71
60: ; preds = %56
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = call i32 @mpf_ui_div(i32 noundef %61, i32 noundef 1, i32 noundef %62)
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = call i32 @mpf_ui_sub(i32 noundef %64, i32 noundef 1, i32 noundef %65)
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr %8, align 4
%69 = load i32, ptr %6, align 4
%70 = call i32 @fp_log_m1(i32 noundef %67, i32 noundef %68, i32 noundef %69)
br label %82
71: ; preds = %56
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %8, align 4
%74 = call i32 @mpf_ui_sub(i32 noundef %72, i32 noundef 1, i32 noundef %73)
%75 = load i32, ptr %4, align 4
%76 = load i32, ptr %8, align 4
%77 = load i32, ptr %6, align 4
%78 = call i32 @fp_log_m1(i32 noundef %75, i32 noundef %76, i32 noundef %77)
%79 = load i32, ptr %4, align 4
%80 = load i32, ptr %4, align 4
%81 = call i32 @mpf_neg(i32 noundef %79, i32 noundef %80)
br label %82
82: ; preds = %71, %60
%83 = load i32, ptr %9, align 4
%84 = icmp ne i32 0, %83
br i1 %84, label %85, label %110
85: ; preds = %82
%86 = load i32, ptr %8, align 4
%87 = load i32, ptr %6, align 4
%88 = call i32 @fp_log2(i32 noundef %86, i32 noundef %87)
%89 = load i32, ptr %9, align 4
%90 = icmp sgt i32 0, %89
br i1 %90, label %91, label %100
91: ; preds = %85
%92 = load i32, ptr %8, align 4
%93 = load i32, ptr %8, align 4
%94 = load i32, ptr %9, align 4
%95 = sub nsw i32 0, %94
%96 = call i32 @mpf_mul_ui(i32 noundef %92, i32 noundef %93, i32 noundef %95)
%97 = load i32, ptr %8, align 4
%98 = load i32, ptr %8, align 4
%99 = call i32 @mpf_neg(i32 noundef %97, i32 noundef %98)
br label %105
100: ; preds = %85
%101 = load i32, ptr %8, align 4
%102 = load i32, ptr %8, align 4
%103 = load i32, ptr %9, align 4
%104 = call i32 @mpf_mul_ui(i32 noundef %101, i32 noundef %102, i32 noundef %103)
br label %105
105: ; preds = %100, %91
%106 = load i32, ptr %4, align 4
%107 = load i32, ptr %4, align 4
%108 = load i32, ptr %8, align 4
%109 = call i32 @mpf_add(i32 noundef %106, i32 noundef %107, i32 noundef %108)
br label %110
110: ; preds = %105, %82
%111 = load i32, ptr %8, align 4
%112 = call i32 @mpf_clear(i32 noundef %111)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @mpf_init2(i32 noundef, double noundef) #2
declare i32 @mpf_set(i32 noundef, i32 noundef) #2
declare i64 @mpf_cmp_ui(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, double noundef) #2
declare double @mpf_get_d(i32 noundef) #2
declare i32 @mpf_clear(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @mpf_div_ui(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpf_mul_ui(i32 noundef, i32 noundef, i32 noundef) #2
declare i64 @mpf_cmp_d(i32 noundef, double noundef) #2
declare i32 @mpf_ui_div(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpf_ui_sub(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @fp_log_m1(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpf_neg(i32 noundef, i32 noundef) #2
declare i32 @fp_log2(i32 noundef, i32 noundef) #2
declare i32 @mpf_add(i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmp6w6cpr_3.c'
source_filename = "/tmp/tmp6w6cpr_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Press Enter to continue \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @next() #0 {
%1 = alloca i8, align 1
%2 = call i32 @printf(ptr noundef @.str)
br label %3
3: ; preds = %5, %0
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %5
5: ; preds = %3
%6 = load i8, ptr %1, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 10
br i1 %8, label %3, label %9, !llvm.loop !6
9: ; preds = %5
%10 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6w6cpr_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Press Enter to continue \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @next() #0 {
%1 = alloca i8, align 1
%2 = call i32 @printf(ptr noundef @.str)
br label %3
3: ; preds = %5, %0
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %5
5: ; preds = %3
%6 = load i8, ptr %1, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 10
br i1 %8, label %3, label %9, !llvm.loop !6
9: ; preds = %5
%10 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1f4nusqb.c'
source_filename = "/tmp/tmp1f4nusqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A Swap cant_change: %p \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cant_change(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 %4, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1f4nusqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A Swap cant_change: %p \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cant_change(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 %4, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc57lh1ec.c'
source_filename = "/tmp/tmpc57lh1ec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"password\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"salt\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Password hashing failed!\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Password update got wrong answer!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @verifyGarlic() #0 {
%1 = alloca i32, align 4
%2 = alloca [32 x i32], align 16
%3 = alloca [32 x i32], align 16
%4 = getelementptr inbounds [32 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @TigerKDF_HashPassword(ptr noundef %4, i32 noundef 32, ptr noundef @.str, i32 noundef 8, ptr noundef @.str.1, i32 noundef 4, i32 noundef 1024, i32 noundef 4096, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef 16384, i32 noundef 1, i32 noundef 1)
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %0
store i32 1, ptr %1, align 4
br label %12
12: ; preds = %44, %11
%13 = load i32, ptr %1, align 4
%14 = icmp slt i32 %13, 10
br i1 %14, label %15, label %47
15: ; preds = %12
%16 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%17 = load i32, ptr %1, align 4
%18 = call i32 @TigerKDF_HashPassword(ptr noundef %16, i32 noundef 32, ptr noundef @.str, i32 noundef 8, ptr noundef @.str.1, i32 noundef 4, i32 noundef 1024, i32 noundef 4096, i32 noundef %17, ptr noundef null, i32 noundef 0, i32 noundef 16384, i32 noundef 1, i32 noundef 1)
%19 = icmp ne i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %15
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.2)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %15
%25 = getelementptr inbounds [32 x i32], ptr %2, i64 0, i64 0
%26 = load i32, ptr %1, align 4
%27 = load i32, ptr %1, align 4
%28 = call i32 @TigerKDF_UpdatePasswordHash(ptr noundef %25, i32 noundef 32, i32 noundef 1024, i32 noundef 4096, i32 noundef %26, i32 noundef %27, i32 noundef 16384, i32 noundef 1, i32 noundef 1)
%29 = icmp ne i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %24
%31 = load i32, ptr @stderr, align 4
%32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.2)
%33 = call i32 @exit(i32 noundef 1) #3
unreachable
34: ; preds = %24
%35 = getelementptr inbounds [32 x i32], ptr %2, i64 0, i64 0
%36 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%37 = call i64 @memcmp(ptr noundef %35, ptr noundef %36, i32 noundef 32)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i32, ptr @stderr, align 4
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.3)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
43: ; preds = %34
br label %44
44: ; preds = %43
%45 = load i32, ptr %1, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %1, align 4
br label %12, !llvm.loop !6
47: ; preds = %12
ret void
}
declare i32 @TigerKDF_HashPassword(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @TigerKDF_UpdatePasswordHash(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @memcmp(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc57lh1ec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"password\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"salt\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Password hashing failed!\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Password update got wrong answer!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @verifyGarlic() #0 {
%1 = alloca i32, align 4
%2 = alloca [32 x i32], align 16
%3 = alloca [32 x i32], align 16
%4 = getelementptr inbounds [32 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @TigerKDF_HashPassword(ptr noundef %4, i32 noundef 32, ptr noundef @.str, i32 noundef 8, ptr noundef @.str.1, i32 noundef 4, i32 noundef 1024, i32 noundef 4096, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef 16384, i32 noundef 1, i32 noundef 1)
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %0
store i32 1, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %.lr.ph, label %48
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %43
%15 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%16 = load i32, ptr %1, align 4
%17 = call i32 @TigerKDF_HashPassword(ptr noundef %15, i32 noundef 32, ptr noundef @.str, i32 noundef 8, ptr noundef @.str.1, i32 noundef 4, i32 noundef 1024, i32 noundef 4096, i32 noundef %16, ptr noundef null, i32 noundef 0, i32 noundef 16384, i32 noundef 1, i32 noundef 1)
%18 = icmp ne i32 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %14
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %14
%24 = getelementptr inbounds [32 x i32], ptr %2, i64 0, i64 0
%25 = load i32, ptr %1, align 4
%26 = load i32, ptr %1, align 4
%27 = call i32 @TigerKDF_UpdatePasswordHash(ptr noundef %24, i32 noundef 32, i32 noundef 1024, i32 noundef 4096, i32 noundef %25, i32 noundef %26, i32 noundef 16384, i32 noundef 1, i32 noundef 1)
%28 = icmp ne i32 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %23
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %23
%34 = getelementptr inbounds [32 x i32], ptr %2, i64 0, i64 0
%35 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%36 = call i64 @memcmp(ptr noundef %34, ptr noundef %35, i32 noundef 32)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %33
%39 = load i32, ptr @stderr, align 4
%40 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str.3)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %33
br label %43
43: ; preds = %42
%44 = load i32, ptr %1, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %1, align 4
%46 = load i32, ptr %1, align 4
%47 = icmp slt i32 %46, 10
br i1 %47, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %48
48: ; preds = %._crit_edge, %11
ret void
}
declare i32 @TigerKDF_HashPassword(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @TigerKDF_UpdatePasswordHash(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @memcmp(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj7q3eh8u.c'
source_filename = "/tmp/tmpj7q3eh8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_cell(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store ptr %35, ptr %9, align 8
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %36, align 4
%38 = call i64 @isempty(i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %4
%41 = load ptr, ptr %10, align 8
%42 = call i32 @changebit(ptr noundef %41, i32 noundef 10, i32 noundef 0)
%43 = load ptr, ptr %10, align 8
%44 = call i32 @changebit(ptr noundef %43, i32 noundef 11, i32 noundef 1)
br label %67
45: ; preds = %4
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %46, align 4
%48 = call i64 @isfluid(i32 noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %45
%51 = load ptr, ptr %10, align 8
%52 = call i32 @changebit(ptr noundef %51, i32 noundef 10, i32 noundef 1)
%53 = load ptr, ptr %10, align 8
%54 = call i32 @changebit(ptr noundef %53, i32 noundef 11, i32 noundef 0)
br label %66
55: ; preds = %45
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %56, align 4
%58 = call i64 @isboundary(i32 noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %55
%61 = load ptr, ptr %10, align 8
%62 = call i32 @changebit(ptr noundef %61, i32 noundef 10, i32 noundef 1)
%63 = load ptr, ptr %10, align 8
%64 = call i32 @changebit(ptr noundef %63, i32 noundef 11, i32 noundef 1)
br label %65
65: ; preds = %60, %55
br label %66
66: ; preds = %65, %50
br label %67
67: ; preds = %66, %40
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %6, align 4
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %68, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
store ptr %80, ptr %9, align 8
%81 = load ptr, ptr %9, align 8
%82 = load i32, ptr %81, align 4
%83 = call i64 @isempty(i32 noundef %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %85, label %90
85: ; preds = %67
%86 = load ptr, ptr %10, align 8
%87 = call i32 @changebit(ptr noundef %86, i32 noundef 8, i32 noundef 0)
%88 = load ptr, ptr %10, align 8
%89 = call i32 @changebit(ptr noundef %88, i32 noundef 9, i32 noundef 1)
br label %112
90: ; preds = %67
%91 = load ptr, ptr %9, align 8
%92 = load i32, ptr %91, align 4
%93 = call i64 @isfluid(i32 noundef %92)
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %100
95: ; preds = %90
%96 = load ptr, ptr %10, align 8
%97 = call i32 @changebit(ptr noundef %96, i32 noundef 8, i32 noundef 1)
%98 = load ptr, ptr %10, align 8
%99 = call i32 @changebit(ptr noundef %98, i32 noundef 9, i32 noundef 0)
br label %111
100: ; preds = %90
%101 = load ptr, ptr %9, align 8
%102 = load i32, ptr %101, align 4
%103 = call i64 @isboundary(i32 noundef %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %110
105: ; preds = %100
%106 = load ptr, ptr %10, align 8
%107 = call i32 @changebit(ptr noundef %106, i32 noundef 8, i32 noundef 1)
%108 = load ptr, ptr %10, align 8
%109 = call i32 @changebit(ptr noundef %108, i32 noundef 9, i32 noundef 1)
br label %110
110: ; preds = %105, %100
br label %111
111: ; preds = %110, %95
br label %112
112: ; preds = %111, %85
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr %6, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds ptr, ptr %113, i64 %115
%117 = load ptr, ptr %116, align 8
%118 = load i32, ptr %7, align 4
%119 = add nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %117, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr %8, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %122, i64 %124
store ptr %125, ptr %9, align 8
%126 = load ptr, ptr %9, align 8
%127 = load i32, ptr %126, align 4
%128 = call i64 @isempty(i32 noundef %127)
%129 = icmp ne i64 %128, 0
br i1 %129, label %130, label %135
130: ; preds = %112
%131 = load ptr, ptr %10, align 8
%132 = call i32 @changebit(ptr noundef %131, i32 noundef 6, i32 noundef 0)
%133 = load ptr, ptr %10, align 8
%134 = call i32 @changebit(ptr noundef %133, i32 noundef 7, i32 noundef 1)
br label %157
135: ; preds = %112
%136 = load ptr, ptr %9, align 8
%137 = load i32, ptr %136, align 4
%138 = call i64 @isfluid(i32 noundef %137)
%139 = icmp ne i64 %138, 0
br i1 %139, label %140, label %145
140: ; preds = %135
%141 = load ptr, ptr %10, align 8
%142 = call i32 @changebit(ptr noundef %141, i32 noundef 6, i32 noundef 1)
%143 = load ptr, ptr %10, align 8
%144 = call i32 @changebit(ptr noundef %143, i32 noundef 7, i32 noundef 0)
br label %156
145: ; preds = %135
%146 = load ptr, ptr %9, align 8
%147 = load i32, ptr %146, align 4
%148 = call i64 @isboundary(i32 noundef %147)
%149 = icmp ne i64 %148, 0
br i1 %149, label %150, label %155
150: ; preds = %145
%151 = load ptr, ptr %10, align 8
%152 = call i32 @changebit(ptr noundef %151, i32 noundef 6, i32 noundef 1)
%153 = load ptr, ptr %10, align 8
%154 = call i32 @changebit(ptr noundef %153, i32 noundef 7, i32 noundef 1)
br label %155
155: ; preds = %150, %145
br label %156
156: ; preds = %155, %140
br label %157
157: ; preds = %156, %130
%158 = load ptr, ptr %5, align 8
%159 = load i32, ptr %6, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds ptr, ptr %158, i64 %160
%162 = load ptr, ptr %161, align 8
%163 = load i32, ptr %7, align 4
%164 = sub nsw i32 %163, 1
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds ptr, ptr %162, i64 %165
%167 = load ptr, ptr %166, align 8
%168 = load i32, ptr %8, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i32, ptr %167, i64 %169
store ptr %170, ptr %9, align 8
%171 = load ptr, ptr %9, align 8
%172 = load i32, ptr %171, align 4
%173 = call i64 @isempty(i32 noundef %172)
%174 = icmp ne i64 %173, 0
br i1 %174, label %175, label %180
175: ; preds = %157
%176 = load ptr, ptr %10, align 8
%177 = call i32 @changebit(ptr noundef %176, i32 noundef 4, i32 noundef 0)
%178 = load ptr, ptr %10, align 8
%179 = call i32 @changebit(ptr noundef %178, i32 noundef 5, i32 noundef 1)
br label %202
180: ; preds = %157
%181 = load ptr, ptr %9, align 8
%182 = load i32, ptr %181, align 4
%183 = call i64 @isfluid(i32 noundef %182)
%184 = icmp ne i64 %183, 0
br i1 %184, label %185, label %190
185: ; preds = %180
%186 = load ptr, ptr %10, align 8
%187 = call i32 @changebit(ptr noundef %186, i32 noundef 4, i32 noundef 1)
%188 = load ptr, ptr %10, align 8
%189 = call i32 @changebit(ptr noundef %188, i32 noundef 5, i32 noundef 0)
br label %201
190: ; preds = %180
%191 = load ptr, ptr %9, align 8
%192 = load i32, ptr %191, align 4
%193 = call i64 @isboundary(i32 noundef %192)
%194 = icmp ne i64 %193, 0
br i1 %194, label %195, label %200
195: ; preds = %190
%196 = load ptr, ptr %10, align 8
%197 = call i32 @changebit(ptr noundef %196, i32 noundef 4, i32 noundef 1)
%198 = load ptr, ptr %10, align 8
%199 = call i32 @changebit(ptr noundef %198, i32 noundef 5, i32 noundef 1)
br label %200
200: ; preds = %195, %190
br label %201
201: ; preds = %200, %185
br label %202
202: ; preds = %201, %175
%203 = load ptr, ptr %5, align 8
%204 = load i32, ptr %6, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds ptr, ptr %203, i64 %205
%207 = load ptr, ptr %206, align 8
%208 = load i32, ptr %7, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds ptr, ptr %207, i64 %209
%211 = load ptr, ptr %210, align 8
%212 = load i32, ptr %8, align 4
%213 = sub nsw i32 %212, 1
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i32, ptr %211, i64 %214
store ptr %215, ptr %9, align 8
%216 = load ptr, ptr %9, align 8
%217 = load i32, ptr %216, align 4
%218 = call i64 @isempty(i32 noundef %217)
%219 = icmp ne i64 %218, 0
br i1 %219, label %220, label %225
220: ; preds = %202
%221 = load ptr, ptr %10, align 8
%222 = call i32 @changebit(ptr noundef %221, i32 noundef 2, i32 noundef 0)
%223 = load ptr, ptr %10, align 8
%224 = call i32 @changebit(ptr noundef %223, i32 noundef 3, i32 noundef 1)
br label %247
225: ; preds = %202
%226 = load ptr, ptr %9, align 8
%227 = load i32, ptr %226, align 4
%228 = call i64 @isfluid(i32 noundef %227)
%229 = icmp ne i64 %228, 0
br i1 %229, label %230, label %235
230: ; preds = %225
%231 = load ptr, ptr %10, align 8
%232 = call i32 @changebit(ptr noundef %231, i32 noundef 2, i32 noundef 1)
%233 = load ptr, ptr %10, align 8
%234 = call i32 @changebit(ptr noundef %233, i32 noundef 3, i32 noundef 0)
br label %246
235: ; preds = %225
%236 = load ptr, ptr %9, align 8
%237 = load i32, ptr %236, align 4
%238 = call i64 @isboundary(i32 noundef %237)
%239 = icmp ne i64 %238, 0
br i1 %239, label %240, label %245
240: ; preds = %235
%241 = load ptr, ptr %10, align 8
%242 = call i32 @changebit(ptr noundef %241, i32 noundef 2, i32 noundef 1)
%243 = load ptr, ptr %10, align 8
%244 = call i32 @changebit(ptr noundef %243, i32 noundef 3, i32 noundef 1)
br label %245
245: ; preds = %240, %235
br label %246
246: ; preds = %245, %230
br label %247
247: ; preds = %246, %220
%248 = load ptr, ptr %5, align 8
%249 = load i32, ptr %6, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = load i32, ptr %7, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds ptr, ptr %252, i64 %254
%256 = load ptr, ptr %255, align 8
%257 = load i32, ptr %8, align 4
%258 = add nsw i32 %257, 1
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i32, ptr %256, i64 %259
store ptr %260, ptr %9, align 8
%261 = load ptr, ptr %9, align 8
%262 = load i32, ptr %261, align 4
%263 = call i64 @isempty(i32 noundef %262)
%264 = icmp ne i64 %263, 0
br i1 %264, label %265, label %270
265: ; preds = %247
%266 = load ptr, ptr %10, align 8
%267 = call i32 @changebit(ptr noundef %266, i32 noundef 0, i32 noundef 0)
%268 = load ptr, ptr %10, align 8
%269 = call i32 @changebit(ptr noundef %268, i32 noundef 1, i32 noundef 1)
br label %292
270: ; preds = %247
%271 = load ptr, ptr %9, align 8
%272 = load i32, ptr %271, align 4
%273 = call i64 @isfluid(i32 noundef %272)
%274 = icmp ne i64 %273, 0
br i1 %274, label %275, label %280
275: ; preds = %270
%276 = load ptr, ptr %10, align 8
%277 = call i32 @changebit(ptr noundef %276, i32 noundef 0, i32 noundef 1)
%278 = load ptr, ptr %10, align 8
%279 = call i32 @changebit(ptr noundef %278, i32 noundef 1, i32 noundef 0)
br label %291
280: ; preds = %270
%281 = load ptr, ptr %9, align 8
%282 = load i32, ptr %281, align 4
%283 = call i64 @isboundary(i32 noundef %282)
%284 = icmp ne i64 %283, 0
br i1 %284, label %285, label %290
285: ; preds = %280
%286 = load ptr, ptr %10, align 8
%287 = call i32 @changebit(ptr noundef %286, i32 noundef 0, i32 noundef 1)
%288 = load ptr, ptr %10, align 8
%289 = call i32 @changebit(ptr noundef %288, i32 noundef 1, i32 noundef 1)
br label %290
290: ; preds = %285, %280
br label %291
291: ; preds = %290, %275
br label %292
292: ; preds = %291, %265
ret void
}
declare i64 @isempty(i32 noundef) #1
declare i32 @changebit(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @isfluid(i32 noundef) #1
declare i64 @isboundary(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/tmpj7q3eh8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_cell(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %10, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store ptr %22, ptr %10, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store ptr %35, ptr %9, align 8
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %36, align 4
%38 = call i64 @isempty(i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %4
%41 = load ptr, ptr %10, align 8
%42 = call i32 @changebit(ptr noundef %41, i32 noundef 10, i32 noundef 0)
%43 = load ptr, ptr %10, align 8
%44 = call i32 @changebit(ptr noundef %43, i32 noundef 11, i32 noundef 1)
br label %67
45: ; preds = %4
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %46, align 4
%48 = call i64 @isfluid(i32 noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %45
%51 = load ptr, ptr %10, align 8
%52 = call i32 @changebit(ptr noundef %51, i32 noundef 10, i32 noundef 1)
%53 = load ptr, ptr %10, align 8
%54 = call i32 @changebit(ptr noundef %53, i32 noundef 11, i32 noundef 0)
br label %66
55: ; preds = %45
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %56, align 4
%58 = call i64 @isboundary(i32 noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %55
%61 = load ptr, ptr %10, align 8
%62 = call i32 @changebit(ptr noundef %61, i32 noundef 10, i32 noundef 1)
%63 = load ptr, ptr %10, align 8
%64 = call i32 @changebit(ptr noundef %63, i32 noundef 11, i32 noundef 1)
br label %65
65: ; preds = %60, %55
br label %66
66: ; preds = %65, %50
br label %67
67: ; preds = %66, %40
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %6, align 4
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %68, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
store ptr %80, ptr %9, align 8
%81 = load ptr, ptr %9, align 8
%82 = load i32, ptr %81, align 4
%83 = call i64 @isempty(i32 noundef %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %85, label %90
85: ; preds = %67
%86 = load ptr, ptr %10, align 8
%87 = call i32 @changebit(ptr noundef %86, i32 noundef 8, i32 noundef 0)
%88 = load ptr, ptr %10, align 8
%89 = call i32 @changebit(ptr noundef %88, i32 noundef 9, i32 noundef 1)
br label %112
90: ; preds = %67
%91 = load ptr, ptr %9, align 8
%92 = load i32, ptr %91, align 4
%93 = call i64 @isfluid(i32 noundef %92)
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %100
95: ; preds = %90
%96 = load ptr, ptr %10, align 8
%97 = call i32 @changebit(ptr noundef %96, i32 noundef 8, i32 noundef 1)
%98 = load ptr, ptr %10, align 8
%99 = call i32 @changebit(ptr noundef %98, i32 noundef 9, i32 noundef 0)
br label %111
100: ; preds = %90
%101 = load ptr, ptr %9, align 8
%102 = load i32, ptr %101, align 4
%103 = call i64 @isboundary(i32 noundef %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %110
105: ; preds = %100
%106 = load ptr, ptr %10, align 8
%107 = call i32 @changebit(ptr noundef %106, i32 noundef 8, i32 noundef 1)
%108 = load ptr, ptr %10, align 8
%109 = call i32 @changebit(ptr noundef %108, i32 noundef 9, i32 noundef 1)
br label %110
110: ; preds = %105, %100
br label %111
111: ; preds = %110, %95
br label %112
112: ; preds = %111, %85
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr %6, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds ptr, ptr %113, i64 %115
%117 = load ptr, ptr %116, align 8
%118 = load i32, ptr %7, align 4
%119 = add nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %117, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr %8, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %122, i64 %124
store ptr %125, ptr %9, align 8
%126 = load ptr, ptr %9, align 8
%127 = load i32, ptr %126, align 4
%128 = call i64 @isempty(i32 noundef %127)
%129 = icmp ne i64 %128, 0
br i1 %129, label %130, label %135
130: ; preds = %112
%131 = load ptr, ptr %10, align 8
%132 = call i32 @changebit(ptr noundef %131, i32 noundef 6, i32 noundef 0)
%133 = load ptr, ptr %10, align 8
%134 = call i32 @changebit(ptr noundef %133, i32 noundef 7, i32 noundef 1)
br label %157
135: ; preds = %112
%136 = load ptr, ptr %9, align 8
%137 = load i32, ptr %136, align 4
%138 = call i64 @isfluid(i32 noundef %137)
%139 = icmp ne i64 %138, 0
br i1 %139, label %140, label %145
140: ; preds = %135
%141 = load ptr, ptr %10, align 8
%142 = call i32 @changebit(ptr noundef %141, i32 noundef 6, i32 noundef 1)
%143 = load ptr, ptr %10, align 8
%144 = call i32 @changebit(ptr noundef %143, i32 noundef 7, i32 noundef 0)
br label %156
145: ; preds = %135
%146 = load ptr, ptr %9, align 8
%147 = load i32, ptr %146, align 4
%148 = call i64 @isboundary(i32 noundef %147)
%149 = icmp ne i64 %148, 0
br i1 %149, label %150, label %155
150: ; preds = %145
%151 = load ptr, ptr %10, align 8
%152 = call i32 @changebit(ptr noundef %151, i32 noundef 6, i32 noundef 1)
%153 = load ptr, ptr %10, align 8
%154 = call i32 @changebit(ptr noundef %153, i32 noundef 7, i32 noundef 1)
br label %155
155: ; preds = %150, %145
br label %156
156: ; preds = %155, %140
br label %157
157: ; preds = %156, %130
%158 = load ptr, ptr %5, align 8
%159 = load i32, ptr %6, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds ptr, ptr %158, i64 %160
%162 = load ptr, ptr %161, align 8
%163 = load i32, ptr %7, align 4
%164 = sub nsw i32 %163, 1
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds ptr, ptr %162, i64 %165
%167 = load ptr, ptr %166, align 8
%168 = load i32, ptr %8, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i32, ptr %167, i64 %169
store ptr %170, ptr %9, align 8
%171 = load ptr, ptr %9, align 8
%172 = load i32, ptr %171, align 4
%173 = call i64 @isempty(i32 noundef %172)
%174 = icmp ne i64 %173, 0
br i1 %174, label %175, label %180
175: ; preds = %157
%176 = load ptr, ptr %10, align 8
%177 = call i32 @changebit(ptr noundef %176, i32 noundef 4, i32 noundef 0)
%178 = load ptr, ptr %10, align 8
%179 = call i32 @changebit(ptr noundef %178, i32 noundef 5, i32 noundef 1)
br label %202
180: ; preds = %157
%181 = load ptr, ptr %9, align 8
%182 = load i32, ptr %181, align 4
%183 = call i64 @isfluid(i32 noundef %182)
%184 = icmp ne i64 %183, 0
br i1 %184, label %185, label %190
185: ; preds = %180
%186 = load ptr, ptr %10, align 8
%187 = call i32 @changebit(ptr noundef %186, i32 noundef 4, i32 noundef 1)
%188 = load ptr, ptr %10, align 8
%189 = call i32 @changebit(ptr noundef %188, i32 noundef 5, i32 noundef 0)
br label %201
190: ; preds = %180
%191 = load ptr, ptr %9, align 8
%192 = load i32, ptr %191, align 4
%193 = call i64 @isboundary(i32 noundef %192)
%194 = icmp ne i64 %193, 0
br i1 %194, label %195, label %200
195: ; preds = %190
%196 = load ptr, ptr %10, align 8
%197 = call i32 @changebit(ptr noundef %196, i32 noundef 4, i32 noundef 1)
%198 = load ptr, ptr %10, align 8
%199 = call i32 @changebit(ptr noundef %198, i32 noundef 5, i32 noundef 1)
br label %200
200: ; preds = %195, %190
br label %201
201: ; preds = %200, %185
br label %202
202: ; preds = %201, %175
%203 = load ptr, ptr %5, align 8
%204 = load i32, ptr %6, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds ptr, ptr %203, i64 %205
%207 = load ptr, ptr %206, align 8
%208 = load i32, ptr %7, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds ptr, ptr %207, i64 %209
%211 = load ptr, ptr %210, align 8
%212 = load i32, ptr %8, align 4
%213 = sub nsw i32 %212, 1
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i32, ptr %211, i64 %214
store ptr %215, ptr %9, align 8
%216 = load ptr, ptr %9, align 8
%217 = load i32, ptr %216, align 4
%218 = call i64 @isempty(i32 noundef %217)
%219 = icmp ne i64 %218, 0
br i1 %219, label %220, label %225
220: ; preds = %202
%221 = load ptr, ptr %10, align 8
%222 = call i32 @changebit(ptr noundef %221, i32 noundef 2, i32 noundef 0)
%223 = load ptr, ptr %10, align 8
%224 = call i32 @changebit(ptr noundef %223, i32 noundef 3, i32 noundef 1)
br label %247
225: ; preds = %202
%226 = load ptr, ptr %9, align 8
%227 = load i32, ptr %226, align 4
%228 = call i64 @isfluid(i32 noundef %227)
%229 = icmp ne i64 %228, 0
br i1 %229, label %230, label %235
230: ; preds = %225
%231 = load ptr, ptr %10, align 8
%232 = call i32 @changebit(ptr noundef %231, i32 noundef 2, i32 noundef 1)
%233 = load ptr, ptr %10, align 8
%234 = call i32 @changebit(ptr noundef %233, i32 noundef 3, i32 noundef 0)
br label %246
235: ; preds = %225
%236 = load ptr, ptr %9, align 8
%237 = load i32, ptr %236, align 4
%238 = call i64 @isboundary(i32 noundef %237)
%239 = icmp ne i64 %238, 0
br i1 %239, label %240, label %245
240: ; preds = %235
%241 = load ptr, ptr %10, align 8
%242 = call i32 @changebit(ptr noundef %241, i32 noundef 2, i32 noundef 1)
%243 = load ptr, ptr %10, align 8
%244 = call i32 @changebit(ptr noundef %243, i32 noundef 3, i32 noundef 1)
br label %245
245: ; preds = %240, %235
br label %246
246: ; preds = %245, %230
br label %247
247: ; preds = %246, %220
%248 = load ptr, ptr %5, align 8
%249 = load i32, ptr %6, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = load i32, ptr %7, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds ptr, ptr %252, i64 %254
%256 = load ptr, ptr %255, align 8
%257 = load i32, ptr %8, align 4
%258 = add nsw i32 %257, 1
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i32, ptr %256, i64 %259
store ptr %260, ptr %9, align 8
%261 = load ptr, ptr %9, align 8
%262 = load i32, ptr %261, align 4
%263 = call i64 @isempty(i32 noundef %262)
%264 = icmp ne i64 %263, 0
br i1 %264, label %265, label %270
265: ; preds = %247
%266 = load ptr, ptr %10, align 8
%267 = call i32 @changebit(ptr noundef %266, i32 noundef 0, i32 noundef 0)
%268 = load ptr, ptr %10, align 8
%269 = call i32 @changebit(ptr noundef %268, i32 noundef 1, i32 noundef 1)
br label %292
270: ; preds = %247
%271 = load ptr, ptr %9, align 8
%272 = load i32, ptr %271, align 4
%273 = call i64 @isfluid(i32 noundef %272)
%274 = icmp ne i64 %273, 0
br i1 %274, label %275, label %280
275: ; preds = %270
%276 = load ptr, ptr %10, align 8
%277 = call i32 @changebit(ptr noundef %276, i32 noundef 0, i32 noundef 1)
%278 = load ptr, ptr %10, align 8
%279 = call i32 @changebit(ptr noundef %278, i32 noundef 1, i32 noundef 0)
br label %291
280: ; preds = %270
%281 = load ptr, ptr %9, align 8
%282 = load i32, ptr %281, align 4
%283 = call i64 @isboundary(i32 noundef %282)
%284 = icmp ne i64 %283, 0
br i1 %284, label %285, label %290
285: ; preds = %280
%286 = load ptr, ptr %10, align 8
%287 = call i32 @changebit(ptr noundef %286, i32 noundef 0, i32 noundef 1)
%288 = load ptr, ptr %10, align 8
%289 = call i32 @changebit(ptr noundef %288, i32 noundef 1, i32 noundef 1)
br label %290
290: ; preds = %285, %280
br label %291
291: ; preds = %290, %275
br label %292
292: ; preds = %291, %265
ret void
}
declare i64 @isempty(i32 noundef) #1
declare i32 @changebit(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @isfluid(i32 noundef) #1
declare i64 @isboundary(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/tmppo579hgt.c'
source_filename = "/tmp/tmppo579hgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 128)
%3 = icmp ne i32 %2, 1
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppo579hgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 128)
%3 = icmp ne i32 %2, 1
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp46fdqezq.c'
source_filename = "/tmp/tmp46fdqezq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.*e\0A\00", align 1
@DBL_DIG = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @saveMatrix(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %35
15: ; preds = %3
store i64 0, ptr %8, align 8
br label %16
16: ; preds = %29, %15
%17 = load i64, ptr %8, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = icmp slt i64 %17, %19
br i1 %20, label %21, label %32
21: ; preds = %16
%22 = load ptr, ptr %9, align 8
%23 = load double, ptr @DBL_DIG, align 8
%24 = load ptr, ptr %6, align 8
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds double, ptr %24, i64 %25
%27 = load double, ptr %26, align 8
%28 = call i32 @fprintf(ptr noundef %22, ptr noundef @.str.1, double noundef %23, double noundef %27)
br label %29
29: ; preds = %21
%30 = load i64, ptr %8, align 8
%31 = add nsw i64 %30, 1
store i64 %31, ptr %8, align 8
br label %16, !llvm.loop !6
32: ; preds = %16
%33 = load ptr, ptr %9, align 8
%34 = call i32 @fclose(ptr noundef %33)
store i32 0, ptr %4, align 4
br label %35
35: ; preds = %32, %14
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46fdqezq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.*e\0A\00", align 1
@DBL_DIG = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @saveMatrix(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %38
15: ; preds = %3
store i64 0, ptr %8, align 8
%16 = load i64, ptr %8, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %16, %18
br i1 %19, label %.lr.ph, label %35
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %28
%21 = load ptr, ptr %9, align 8
%22 = load double, ptr @DBL_DIG, align 8
%23 = load ptr, ptr %6, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds double, ptr %23, i64 %24
%26 = load double, ptr %25, align 8
%27 = call i32 @fprintf(ptr noundef %21, ptr noundef @.str.1, double noundef %22, double noundef %26)
br label %28
28: ; preds = %20
%29 = load i64, ptr %8, align 8
%30 = add nsw i64 %29, 1
store i64 %30, ptr %8, align 8
%31 = load i64, ptr %8, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = icmp slt i64 %31, %33
br i1 %34, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %35
35: ; preds = %._crit_edge, %15
%36 = load ptr, ptr %9, align 8
%37 = call i32 @fclose(ptr noundef %36)
store i32 0, ptr %4, align 4
br label %38
38: ; preds = %35, %14
%39 = load i32, ptr %4, align 4
ret i32 %39
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz52adedq.c'
source_filename = "/tmp/tmpz52adedq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix_ipv4_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @prefix_free(ptr noundef %3)
ret void
}
declare i32 @prefix_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/tmpz52adedq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix_ipv4_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @prefix_free(ptr noundef %3)
ret void
}
declare i32 @prefix_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/tmprgxp22xe.c'
source_filename = "/tmp/tmprgxp22xe.c"
target datalayout = "e-m:e-p270: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/tmprgxp22xe.c"
target datalayout = "e-m:e-p270: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/tmp6oxu0hd1.c'
source_filename = "/tmp/tmp6oxu0hd1.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_chars_bin(ptr noundef %0, ptr noundef %1, i32 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
store ptr %0, ptr %5, align 8
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 = %25, %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 %28
13: ; preds = %9
%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 = load i8, ptr %17, align 1
%19 = load ptr, ptr %5, align 8
%20 = call i64 @fputc(i8 noundef signext %18, ptr noundef %19)
%21 = load i64, ptr @EOF, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %13
store i32 -1, ptr %4, align 4
br label %29
24: ; preds = %13
br label %25
25: ; preds = %24
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %8, align 4
br label %9, !llvm.loop !6
28: ; preds = %9
store i32 0, ptr %4, align 4
br label %29
29: ; preds = %28, %23
%30 = load i32, ptr %4, align 4
ret i32 %30
}
declare i64 @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/tmp6oxu0hd1.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_chars_bin(ptr noundef %0, ptr noundef %1, i32 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
store ptr %0, ptr %5, align 8
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 %30
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %24
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %5, align 8
%19 = call i64 @fputc(i8 noundef signext %17, ptr noundef %18)
%20 = load i64, ptr @EOF, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %12
store i32 -1, ptr %4, align 4
br label %31
23: ; preds = %12
br label %24
24: ; preds = %23
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %31
31: ; preds = %30, %22
%32 = load i32, ptr %4, align 4
ret i32 %32
}
declare i64 @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/tmp6qb8e4xl.c'
source_filename = "/tmp/tmp6qb8e4xl.c"
target datalayout = "e-m:e-p270: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/tmp6qb8e4xl.c"
target datalayout = "e-m:e-p270: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/tmpfwq360vl.c'
source_filename = "/tmp/tmpfwq360vl.c"
target datalayout = "e-m:e-p270: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(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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @test_execute_Inquiry(ptr noundef %8, i32 noundef 0, i32 noundef 0)
%10 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %10
}
declare i32 @test_execute_Inquiry(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfwq360vl.c"
target datalayout = "e-m:e-p270: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(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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @test_execute_Inquiry(ptr noundef %8, i32 noundef 0, i32 noundef 0)
%10 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %10
}
declare i32 @test_execute_Inquiry(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcjs3k44u.c'
source_filename = "/tmp/tmpcjs3k44u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"/etc/olla.conf\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @expand_domain(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %73
17: ; preds = %2
store i32 -1, ptr %6, align 4
%18 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %22, label %21
21: ; preds = %17
store i32 -1, ptr %3, align 4
br label %73
22: ; preds = %17
store i32 1, ptr %9, align 4
br label %23
23: ; preds = %68, %22
%24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%25 = load ptr, ptr %8, align 8
%26 = call ptr @fgets(ptr noundef %24, i32 noundef 256, ptr noundef %25)
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i32, ptr %9, align 4
%30 = icmp ne i32 %29, 0
br label %31
31: ; preds = %28, %23
%32 = phi i1 [ false, %23 ], [ %30, %28 ]
br i1 %32, label %33, label %69
33: ; preds = %31
%34 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%35 = call ptr @strtok(ptr noundef %34, ptr noundef @.str.2)
store ptr %35, ptr %10, align 8
%36 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %36, ptr %11, align 8
%37 = load ptr, ptr %10, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %68
39: ; preds = %33
%40 = load ptr, ptr %11, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %68
42: ; preds = %39
%43 = load ptr, ptr %11, align 8
%44 = call i32 @strlen(ptr noundef %43)
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %12, align 4
%46 = load ptr, ptr %11, align 8
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 10
br i1 %52, label %53, label %58
53: ; preds = %42
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
br label %58
58: ; preds = %53, %42
%59 = load ptr, ptr %4, align 8
%60 = load ptr, ptr %5, align 8
%61 = load ptr, ptr %10, align 8
%62 = load ptr, ptr %11, align 8
%63 = call i32 @_inner_expand(ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62)
store i32 %63, ptr %13, align 4
%64 = load i32, ptr %13, align 4
%65 = icmp sgt i32 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %58
store i32 0, ptr %9, align 4
store i32 1, ptr %6, align 4
br label %67
67: ; preds = %66, %58
br label %68
68: ; preds = %67, %39, %33
br label %23, !llvm.loop !6
69: ; preds = %31
%70 = load ptr, ptr %8, align 8
%71 = call i32 @fclose(ptr noundef %70)
%72 = load i32, ptr %6, align 4
store i32 %72, ptr %3, align 4
br label %73
73: ; preds = %69, %21, %16
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @_inner_expand(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcjs3k44u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"/etc/olla.conf\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @expand_domain(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %73
17: ; preds = %2
store i32 -1, ptr %6, align 4
%18 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %22, label %21
21: ; preds = %17
store i32 -1, ptr %3, align 4
br label %73
22: ; preds = %17
store i32 1, ptr %9, align 4
br label %23
23: ; preds = %68, %22
%24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%25 = load ptr, ptr %8, align 8
%26 = call ptr @fgets(ptr noundef %24, i32 noundef 256, ptr noundef %25)
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i32, ptr %9, align 4
%30 = icmp ne i32 %29, 0
br label %31
31: ; preds = %28, %23
%32 = phi i1 [ false, %23 ], [ %30, %28 ]
br i1 %32, label %33, label %69
33: ; preds = %31
%34 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%35 = call ptr @strtok(ptr noundef %34, ptr noundef @.str.2)
store ptr %35, ptr %10, align 8
%36 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %36, ptr %11, align 8
%37 = load ptr, ptr %10, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %68
39: ; preds = %33
%40 = load ptr, ptr %11, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %68
42: ; preds = %39
%43 = load ptr, ptr %11, align 8
%44 = call i32 @strlen(ptr noundef %43)
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %12, align 4
%46 = load ptr, ptr %11, align 8
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 10
br i1 %52, label %53, label %58
53: ; preds = %42
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
br label %58
58: ; preds = %53, %42
%59 = load ptr, ptr %4, align 8
%60 = load ptr, ptr %5, align 8
%61 = load ptr, ptr %10, align 8
%62 = load ptr, ptr %11, align 8
%63 = call i32 @_inner_expand(ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62)
store i32 %63, ptr %13, align 4
%64 = load i32, ptr %13, align 4
%65 = icmp sgt i32 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %58
store i32 0, ptr %9, align 4
store i32 1, ptr %6, align 4
br label %67
67: ; preds = %66, %58
br label %68
68: ; preds = %67, %39, %33
br label %23, !llvm.loop !6
69: ; preds = %31
%70 = load ptr, ptr %8, align 8
%71 = call i32 @fclose(ptr noundef %70)
%72 = load i32, ptr %6, align 4
store i32 %72, ptr %3, align 4
br label %73
73: ; preds = %69, %21, %16
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @_inner_expand(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkkasn4s6.c'
source_filename = "/tmp/tmpkkasn4s6.c"
target datalayout = "e-m:e-p270: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 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%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/tmpkkasn4s6.c"
target datalayout = "e-m:e-p270: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 @lseek(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%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/tmp03_0z3bz.c'
source_filename = "/tmp/tmp03_0z3bz.c"
target datalayout = "e-m:e-p270: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/tmp03_0z3bz.c"
target datalayout = "e-m:e-p270: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/tmp4dmq_75f.c'
source_filename = "/tmp/tmp4dmq_75f.c"
target datalayout = "e-m:e-p270: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.str1 = private unnamed_addr constant [11 x i8] c"Who are u?\00", align 1
@__const.main.str2 = private unnamed_addr constant [11 x i8] c"Thank you!\00", align 1
@.str = private unnamed_addr constant [15 x i8] c"Child Out: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Parent Out: %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 [2 x i32], align 4
%7 = alloca [11 x i8], align 1
%8 = alloca [11 x i8], align 1
%9 = alloca [40 x i8], align 16
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.str1, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.str2, i64 11, i1 false)
%11 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%12 = call i32 @pipe(ptr noundef %11)
%13 = call i64 (...) @fork()
store i64 %13, ptr %10, align 8
%14 = load i64, ptr %10, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %28
16: ; preds = %2
%17 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%18 = load i32, ptr %17, align 4
%19 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef 11)
%21 = call i32 @sleep(i32 noundef 2)
%22 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%23 = load i32, ptr %22, align 4
%24 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%25 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef 40)
%26 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%27 = call i32 @printf(ptr noundef @.str, ptr noundef %26)
br label %40
28: ; preds = %2
%29 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%30 = load i32, ptr %29, align 4
%31 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 40)
%33 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str.1, ptr noundef %33)
%35 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef 11)
%39 = call i32 @sleep(i32 noundef 3)
br label %40
40: ; preds = %28, %16
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 @pipe(ptr noundef) #2
declare i64 @fork(...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sleep(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, 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/tmp4dmq_75f.c"
target datalayout = "e-m:e-p270: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.str1 = private unnamed_addr constant [11 x i8] c"Who are u?\00", align 1
@__const.main.str2 = private unnamed_addr constant [11 x i8] c"Thank you!\00", align 1
@.str = private unnamed_addr constant [15 x i8] c"Child Out: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Parent Out: %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 [2 x i32], align 4
%7 = alloca [11 x i8], align 1
%8 = alloca [11 x i8], align 1
%9 = alloca [40 x i8], align 16
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.str1, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.str2, i64 11, i1 false)
%11 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%12 = call i32 @pipe(ptr noundef %11)
%13 = call i64 (...) @fork()
store i64 %13, ptr %10, align 8
%14 = load i64, ptr %10, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %28
16: ; preds = %2
%17 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%18 = load i32, ptr %17, align 4
%19 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef 11)
%21 = call i32 @sleep(i32 noundef 2)
%22 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%23 = load i32, ptr %22, align 4
%24 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%25 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef 40)
%26 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%27 = call i32 @printf(ptr noundef @.str, ptr noundef %26)
br label %40
28: ; preds = %2
%29 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%30 = load i32, ptr %29, align 4
%31 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 40)
%33 = getelementptr inbounds [40 x i8], ptr %9, i64 0, i64 0
%34 = call i32 @printf(ptr noundef @.str.1, ptr noundef %33)
%35 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef 11)
%39 = call i32 @sleep(i32 noundef 3)
br label %40
40: ; preds = %28, %16
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 @pipe(ptr noundef) #2
declare i64 @fork(...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sleep(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, 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/tmpbreptx5f.c'
source_filename = "/tmp/tmpbreptx5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newline() #0 {
%1 = alloca ptr, align 8
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store ptr inttoptr (i64 320 to ptr), ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = load i8, ptr %4, align 1
%6 = zext i8 %5 to i32
%7 = sub nsw i32 64, %6
%8 = trunc i32 %7 to i8
store i8 %8, ptr %2, align 1
store i8 0, ptr %3, align 1
br label %9
9: ; preds = %17, %0
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = load i8, ptr %2, align 1
%13 = zext i8 %12 to i32
%14 = icmp slt i32 %11, %13
br i1 %14, label %15, label %20
15: ; preds = %9
%16 = call i32 @print(ptr noundef @.str)
br label %17
17: ; preds = %15
%18 = load i8, ptr %3, align 1
%19 = add i8 %18, 1
store i8 %19, ptr %3, align 1
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load ptr, ptr %1, align 8
store i8 0, ptr %21, align 1
ret void
}
declare i32 @print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbreptx5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newline() #0 {
%1 = alloca ptr, align 8
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store ptr inttoptr (i64 320 to ptr), ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = load i8, ptr %4, align 1
%6 = zext i8 %5 to i32
%7 = sub nsw i32 64, %6
%8 = trunc i32 %7 to i8
store i8 %8, ptr %2, align 1
store i8 0, ptr %3, align 1
%9 = load i8, ptr %3, align 1
%10 = zext i8 %9 to i32
%11 = load i8, ptr %2, align 1
%12 = zext i8 %11 to i32
%13 = icmp slt i32 %10, %12
br i1 %13, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %16
%15 = call i32 @print(ptr noundef @.str)
br label %16
16: ; preds = %14
%17 = load i8, ptr %3, align 1
%18 = add i8 %17, 1
store i8 %18, ptr %3, align 1
%19 = load i8, ptr %3, align 1
%20 = zext i8 %19 to i32
%21 = load i8, ptr %2, align 1
%22 = zext i8 %21 to i32
%23 = icmp slt i32 %20, %22
br i1 %23, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %0
%25 = load ptr, ptr %1, align 8
store i8 0, ptr %25, align 1
ret void
}
declare i32 @print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1ip0cbla.c'
source_filename = "/tmp/tmp1ip0cbla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @waitpid(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
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = ptrtoint ptr %10 to i32
%12 = load i32, ptr %7, align 4
%13 = call i32 @syscall(i32 noundef 104, i32 noundef %9, i32 noundef %11, i32 noundef %12, i32 noundef 0, i32 noundef 0)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 0, %17
store i32 %18, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %21
19: ; preds = %3
%20 = load i32, ptr %8, align 4
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %19, %16
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ip0cbla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @waitpid(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
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = ptrtoint ptr %10 to i32
%12 = load i32, ptr %7, align 4
%13 = call i32 @syscall(i32 noundef 104, i32 noundef %9, i32 noundef %11, i32 noundef %12, i32 noundef 0, i32 noundef 0)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 0, %17
store i32 %18, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %21
19: ; preds = %3
%20 = load i32, ptr %8, align 4
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %19, %16
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcq5zqz60.c'
source_filename = "/tmp/tmpcq5zqz60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_EMRINTERSECTCLIPRECT_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @core4_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @core4_swap(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcq5zqz60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_EMRINTERSECTCLIPRECT_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @core4_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @core4_swap(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbi6574ip.c'
source_filename = "/tmp/tmpbi6574ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [10 x i32], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%6 = getelementptr inbounds i32, ptr %5, i64 1
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 -1
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%11 = load i32, ptr %10, align 16
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @test_assert(i32 noundef %13)
ret i32 0
}
declare i32 @test_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbi6574ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [10 x i32], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%6 = getelementptr inbounds i32, ptr %5, i64 1
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 -1
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%11 = load i32, ptr %10, align 16
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @test_assert(i32 noundef %13)
ret i32 0
}
declare i32 @test_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp574u9g7k.c'
source_filename = "/tmp/tmp574u9g7k.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"longjmp botch.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @longjmperror() #0 {
%1 = load i32, ptr @STDERR_FILENO, align 4
%2 = call i32 @_write(i32 noundef %1, ptr noundef @.str, i32 noundef 15)
ret void
}
declare i32 @_write(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/tmp574u9g7k.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"longjmp botch.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @longjmperror() #0 {
%1 = load i32, ptr @STDERR_FILENO, align 4
%2 = call i32 @_write(i32 noundef %1, ptr noundef @.str, i32 noundef 15)
ret void
}
declare i32 @_write(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/tmplct82ixo.c'
source_filename = "/tmp/tmplct82ixo.c"
target datalayout = "e-m:e-p270: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/tmplct82ixo.c"
target datalayout = "e-m:e-p270: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/tmpo3cjvdch.c'
source_filename = "/tmp/tmpo3cjvdch.c"
target datalayout = "e-m:e-p270: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/tmpo3cjvdch.c"
target datalayout = "e-m:e-p270: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/tmpxl56ysr7.c'
source_filename = "/tmp/tmpxl56ysr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fucomip_fpreg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 223)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 232, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmpxl56ysr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fucomip_fpreg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 223)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 232, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmp1vw72_kj.c'
source_filename = "/tmp/tmp1vw72_kj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [98 x i8] c"Statistics generated with VISITORS version %s\0Ahttp://www.hping.org/visitors for more information\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"0.7\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @om_text_print_credits(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vw72_kj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [98 x i8] c"Statistics generated with VISITORS version %s\0Ahttp://www.hping.org/visitors for more information\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"0.7\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @om_text_print_credits(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5rvg70wo.c'
source_filename = "/tmp/tmp5rvg70wo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hal_stop() #0 {
%1 = call i32 (...) @stop_rt()
%2 = call i32 (...) @stop_frt()
ret void
}
declare i32 @stop_rt(...) #1
declare i32 @stop_frt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5rvg70wo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hal_stop() #0 {
%1 = call i32 (...) @stop_rt()
%2 = call i32 (...) @stop_frt()
ret void
}
declare i32 @stop_rt(...) #1
declare i32 @stop_frt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8acrqkue.c'
source_filename = "/tmp/tmp8acrqkue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cmusfm.cache\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_cmusfm_cache_file() #0 {
%1 = call ptr @get_cmus_home_file(ptr noundef @.str)
ret ptr %1
}
declare ptr @get_cmus_home_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8acrqkue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cmusfm.cache\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_cmusfm_cache_file() #0 {
%1 = call ptr @get_cmus_home_file(ptr noundef @.str)
ret ptr %1
}
declare ptr @get_cmus_home_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg6ll3wy2.c'
source_filename = "/tmp/tmpg6ll3wy2.c"
target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [64 x i8] c"\01|0\00\E1}\00\10 \00\03x\00\10\0D\C0\C1}\1A\00a\A8\01|\00 a!\00 c\84m\80\C1}\0D\001\90\10|\18\00\C1}\1A\007\90\C1a\C1}\1A\00\FF\FF\FF\FF\FF\FF\FF\FF", align 16
@.str = private unnamed_addr constant [9 x i8] c" %d %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"set a, 0x30\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"len=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [32 x i8], align 16
%7 = alloca [64 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [32 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %39
17: ; preds = %2
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.buf, i64 64, i1 false)
store i32 63, ptr %8, align 4
%18 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
store ptr %18, ptr %9, align 8
br label %19
19: ; preds = %35, %17
%20 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %8, align 4
%23 = call i32 @dcpu16_disasm(ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef null)
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %8, align 4
%26 = sub nsw i32 %25, %24
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %10, align 4
%28 = sdiv i32 %27, 2
%29 = load ptr, ptr %9, align 8
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds i16, ptr %29, i64 %30
store ptr %31, ptr %9, align 8
%32 = load i32, ptr %10, align 4
%33 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32, ptr noundef %33)
br label %35
35: ; preds = %19
%36 = load i32, ptr %8, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %19, label %38, !llvm.loop !6
38: ; preds = %35
br label %61
39: ; preds = %2
store ptr @.str.1, ptr %12, align 8
%40 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
%41 = load ptr, ptr %12, align 8
%42 = call i32 @dcpu16_assemble(ptr noundef %40, ptr noundef %41)
store i32 %42, ptr %14, align 4
%43 = load i32, ptr %14, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43)
store i32 0, ptr %13, align 4
br label %45
45: ; preds = %56, %39
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr %14, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %59
49: ; preds = %45
%50 = load i32, ptr %13, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 %51
%53 = load i8, ptr %52, align 1
%54 = zext i8 %53 to i32
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %54)
br label %56
56: ; preds = %49
%57 = load i32, ptr %13, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %13, align 4
br label %45, !llvm.loop !8
59: ; preds = %45
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %61
61: ; preds = %59, %38
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 @dcpu16_disasm(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @dcpu16_assemble(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg6ll3wy2.c"
target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [64 x i8] c"\01|0\00\E1}\00\10 \00\03x\00\10\0D\C0\C1}\1A\00a\A8\01|\00 a!\00 c\84m\80\C1}\0D\001\90\10|\18\00\C1}\1A\007\90\C1a\C1}\1A\00\FF\FF\FF\FF\FF\FF\FF\FF", align 16
@.str = private unnamed_addr constant [9 x i8] c" %d %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"set a, 0x30\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"len=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [32 x i8], align 16
%7 = alloca [64 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [32 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %39
17: ; preds = %2
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.buf, i64 64, i1 false)
store i32 63, ptr %8, align 4
%18 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
store ptr %18, ptr %9, align 8
br label %19
19: ; preds = %35, %17
%20 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %8, align 4
%23 = call i32 @dcpu16_disasm(ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef null)
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %8, align 4
%26 = sub nsw i32 %25, %24
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %10, align 4
%28 = sdiv i32 %27, 2
%29 = load ptr, ptr %9, align 8
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds i16, ptr %29, i64 %30
store ptr %31, ptr %9, align 8
%32 = load i32, ptr %10, align 4
%33 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32, ptr noundef %33)
br label %35
35: ; preds = %19
%36 = load i32, ptr %8, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %19, label %38, !llvm.loop !6
38: ; preds = %35
br label %63
39: ; preds = %2
store ptr @.str.1, ptr %12, align 8
%40 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
%41 = load ptr, ptr %12, align 8
%42 = call i32 @dcpu16_assemble(ptr noundef %40, ptr noundef %41)
store i32 %42, ptr %14, align 4
%43 = load i32, ptr %14, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43)
store i32 0, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %14, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph, label %61
.lr.ph: ; preds = %39
br label %48
48: ; preds = %.lr.ph, %55
%49 = load i32, ptr %13, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53)
br label %55
55: ; preds = %48
%56 = load i32, ptr %13, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %13, align 4
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %14, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %48, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %39
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %63
63: ; preds = %61, %38
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 @dcpu16_disasm(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @dcpu16_assemble(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyryfh_u1.c'
source_filename = "/tmp/tmpyryfh_u1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"x > 0\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"x < 33000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_uint16_comparison() #0 {
%1 = alloca i32, align 4
store i32 32799, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sgt i32 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 33000
%8 = zext i1 %7 to i32
%9 = call i32 @assertTrue(ptr noundef @.str.1, i32 noundef %8)
ret void
}
declare i32 @assertTrue(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/tmpyryfh_u1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"x > 0\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"x < 33000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_uint16_comparison() #0 {
%1 = alloca i32, align 4
store i32 32799, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sgt i32 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 33000
%8 = zext i1 %7 to i32
%9 = call i32 @assertTrue(ptr noundef @.str.1, i32 noundef %8)
ret void
}
declare i32 @assertTrue(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.