llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpbun_46ep.c'
source_filename = "/tmp/tmpbun_46ep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcb_get_setup(ptr noundef null)
ret i32 0
}
declare i32 @xcb_get_setup(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/tmpbun_46ep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcb_get_setup(ptr noundef null)
ret i32 0
}
declare i32 @xcb_get_setup(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/tmp2jagjyoe.c'
source_filename = "/tmp/tmp2jagjyoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %15
5: ; preds = %1
%6 = call i32 @f(i32 noundef 0)
%7 = call i32 @f(i32 noundef 0)
%8 = call i32 @f(i32 noundef 0)
%9 = call i32 @h(i32 noundef 2)
%10 = call i32 @h(i32 noundef 2)
%11 = call i32 @h(i32 noundef 2)
%12 = call i32 @h(i32 noundef 2)
%13 = call i32 @h(i32 noundef 2)
%14 = call i32 @h(i32 noundef 0)
br label %15
15: ; preds = %5, %1
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @h(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/tmp2jagjyoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %15
5: ; preds = %1
%6 = call i32 @f(i32 noundef 0)
%7 = call i32 @f(i32 noundef 0)
%8 = call i32 @f(i32 noundef 0)
%9 = call i32 @h(i32 noundef 2)
%10 = call i32 @h(i32 noundef 2)
%11 = call i32 @h(i32 noundef 2)
%12 = call i32 @h(i32 noundef 2)
%13 = call i32 @h(i32 noundef 2)
%14 = call i32 @h(i32 noundef 0)
br label %15
15: ; preds = %5, %1
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @h(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/tmp9y2pblvo.c'
source_filename = "/tmp/tmp9y2pblvo.c"
target datalayout = "e-m:e-p270: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/tmp9y2pblvo.c"
target datalayout = "e-m:e-p270: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/tmpmnwc0_q7.c'
source_filename = "/tmp/tmpmnwc0_q7.c"
target datalayout = "e-m:e-p270: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/tmpmnwc0_q7.c"
target datalayout = "e-m:e-p270: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/tmp12wb6uog.c'
source_filename = "/tmp/tmp12wb6uog.c"
target datalayout = "e-m:e-p270: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/tmp12wb6uog.c"
target datalayout = "e-m:e-p270: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/tmp14ag13db.c'
source_filename = "/tmp/tmp14ag13db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 123, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
%10 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp14ag13db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 123, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
%10 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2k86jv4q.c'
source_filename = "/tmp/tmp2k86jv4q.c"
target datalayout = "e-m:e-p270: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/tmp2k86jv4q.c"
target datalayout = "e-m:e-p270: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/tmpjt_iae7b.c'
source_filename = "/tmp/tmpjt_iae7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @max(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @INT_MIN, align 4
store i32 %7, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %27, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %30
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp sgt i32 %17, %18
br i1 %19, label %20, label %26
20: ; preds = %12
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
store i32 %25, ptr %5, align 4
br label %26
26: ; preds = %20, %12
br label %27
27: ; preds = %26
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %8, !llvm.loop !6
30: ; preds = %8
%31 = load i32, ptr %5, align 4
ret i32 %31
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjt_iae7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @max(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @INT_MIN, align 4
store i32 %7, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %26
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp sgt i32 %16, %17
br i1 %18, label %19, label %25
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %19, %11
br label %26
26: ; preds = %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %2
%33 = load i32, ptr %5, align 4
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6volfnin.c'
source_filename = "/tmp/tmp6volfnin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"arg_handler2 val:[%d %s %s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg2_handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6volfnin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"arg_handler2 val:[%d %s %s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg2_handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9hfo9r6l.c'
source_filename = "/tmp/tmp9hfo9r6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CurrentTime = 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/tmp9hfo9r6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CurrentTime = 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/tmpvsw35_gb.c'
source_filename = "/tmp/tmpvsw35_gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sge i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 200
br label %8
8: ; preds = %5, %0
%9 = phi i1 [ false, %0 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @assume(i32 noundef %10)
br label %12
12: ; preds = %15, %8
%13 = load i32, ptr %2, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %2, align 4
br label %12, !llvm.loop !6
18: ; preds = %12
%19 = load i32, ptr %2, align 4
%20 = icmp sge i32 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvsw35_gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sge i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 200
br label %8
8: ; preds = %5, %0
%9 = phi i1 [ false, %0 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @assume(i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph, label %19
.lr.ph: ; preds = %8
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %8
%20 = load i32, ptr %2, align 4
%21 = icmp sge i32 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpktpztpm0.c'
source_filename = "/tmp/tmpktpztpm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmFract3f_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @glmFract3f(ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @glmFract3f(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/tmpktpztpm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmFract3f_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @glmFract3f(ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @glmFract3f(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/tmpu_qdpgfb.c'
source_filename = "/tmp/tmpu_qdpgfb.c"
target datalayout = "e-m:e-p270: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/tmpu_qdpgfb.c"
target datalayout = "e-m:e-p270: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/tmpqyg1x9zm.c'
source_filename = "/tmp/tmpqyg1x9zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = zext i32 %5 to i64
%7 = call ptr @llvm.stacksave()
store ptr %7, ptr %3, align 8
%8 = alloca i32, i64 %6, align 16
store i64 %6, ptr %4, align 8
%9 = load i32, ptr %2, align 4
%10 = call i32 @next_row(i32 noundef %9, ptr noundef %8)
%11 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %11, ptr %1, align 4
%12 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %12)
%13 = load i32, ptr %1, align 4
ret i32 %13
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @next_row(i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqyg1x9zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = zext i32 %5 to i64
%7 = call ptr @llvm.stacksave()
store ptr %7, ptr %3, align 8
%8 = alloca i32, i64 %6, align 16
store i64 %6, ptr %4, align 8
%9 = load i32, ptr %2, align 4
%10 = call i32 @next_row(i32 noundef %9, ptr noundef %8)
%11 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %11, ptr %1, align 4
%12 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %12)
%13 = load i32, ptr %1, align 4
ret i32 %13
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @next_row(i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppii5y30s.c'
source_filename = "/tmp/tmppii5y30s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ecvtbuf(double noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store double %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load double, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call ptr @cvt(double noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 1)
ret ptr %16
}
declare ptr @cvt(double noundef, 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/tmppii5y30s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ecvtbuf(double noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store double %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load double, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call ptr @cvt(double noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 1)
ret ptr %16
}
declare ptr @cvt(double noundef, 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/tmpaf9l8rhd.c'
source_filename = "/tmp/tmpaf9l8rhd.c"
target datalayout = "e-m:e-p270: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.data1 = private unnamed_addr constant [299 x i8] c"\05\10$\81M\F6\A7R\BD\83\EC\E9\88\BC\CC\0F\90\F4\99\97\B0\F6\AE\A3\9B\99\98\B6\F7\FBU\8B\BE#h\F3\C7\ADr\E6\F2\1B\88\DF\9C\1E\B4\A3\1DY\AC\E5\A9\DD\E8\97ec\D9\E6|\B8\AD+\8B\CE?\A5s=\CD\8C\C9e\BB\FB?\99\1D\C4\A0\15<)\F4\C7\BF\BD2\FA\D6\F6\DE)\0F\F6\9D\E4\BF{\FDX'\A2\B3\7F{\FD\9F\D6\B7\80Jq\B6\A8\DD\D1\E01\E8\0C\C3\ED\B73\C2\0Bq\BB\E6\FF\00g\83\D6\9D\B0\DEh\CF%\D5\BD\F5\85\C4\AASl\9B\B3\1F\D75\C9=d\F54SVZ\1C\B40j7\1C\0DR\FA<\7F\7F#\BB\8F\EF\7F\B2\7F\EF\AA\82\E1o\FC\DB\88_R\BB\F97|\CCN\1B\0EW\FB\DE\D5\E8\9C~\D2\1D\8EFk\C9>bd\CE\17\B9\ED\\\AA\DC\B8G\22\BA`\8C1\0E\CC\F4].\F0\06E\DD\C7z\DA\BB\BB\C4\130,\C5W'\00\F1\9E\95\C14t\A62\EA\FA\CAM!Ue_3\04\00G^c\CF${Q\A8k\16\F71K\1D\AD\C237\98\A7,\07X\9Cwn\C7\C1", align 16
@__const.main.bits = private unnamed_addr constant [8 x i8] c"\01\02\04\08\10 @\80", align 1
@.str = private unnamed_addr constant [17 x i8] c"Checksum: 0x%lX\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i64, align 8
%2 = alloca [365 x i8], align 16
%3 = alloca [299 x i8], align 16
%4 = alloca [8 x i8], align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i64 296, ptr %1, align 8
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 365, i1 false)
%11 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 0
store i8 5, ptr %11, align 16
%12 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 1
store i8 3, ptr %12, align 1
%13 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 2
store i8 4, ptr %13, align 2
%14 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 4
store i8 1, ptr %14, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.data1, i64 299, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.bits, i64 8, i1 false)
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %15
15: ; preds = %54, %0
%16 = load i64, ptr %6, align 8
%17 = load i64, ptr %1, align 8
%18 = icmp slt i64 %16, %17
br i1 %18, label %19, label %57
19: ; preds = %15
store i64 0, ptr %7, align 8
br label %20
20: ; preds = %50, %19
%21 = load i64, ptr %7, align 8
%22 = icmp sle i64 %21, 7
br i1 %22, label %23, label %53
23: ; preds = %20
%24 = load i64, ptr %5, align 8
%25 = and i64 %24, 1
%26 = trunc i64 %25 to i32
store i32 %26, ptr %9, align 4
%27 = load i64, ptr %5, align 8
%28 = ashr i64 %27, 1
store i64 %28, ptr %5, align 8
%29 = load i64, ptr %6, align 8
%30 = getelementptr inbounds [365 x i8], ptr %2, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load i64, ptr %7, align 8
%34 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = and i32 %32, %36
%38 = icmp ne i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, i32 1, i32 0
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %9, align 4
%43 = xor i32 %41, %42
store i32 %43, ptr %10, align 4
%44 = load i32, ptr %10, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %23
%47 = load i64, ptr %5, align 8
%48 = xor i64 %47, 33800
store i64 %48, ptr %5, align 8
br label %49
49: ; preds = %46, %23
br label %50
50: ; preds = %49
%51 = load i64, ptr %7, align 8
%52 = add nsw i64 %51, 1
store i64 %52, ptr %7, align 8
br label %20, !llvm.loop !6
53: ; preds = %20
br label %54
54: ; preds = %53
%55 = load i64, ptr %6, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %6, align 8
br label %15, !llvm.loop !8
57: ; preds = %15
%58 = load i64, ptr %5, align 8
%59 = call i32 @printf(ptr noundef @.str, i64 noundef %58)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i64 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaf9l8rhd.c"
target datalayout = "e-m:e-p270: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.data1 = private unnamed_addr constant [299 x i8] c"\05\10$\81M\F6\A7R\BD\83\EC\E9\88\BC\CC\0F\90\F4\99\97\B0\F6\AE\A3\9B\99\98\B6\F7\FBU\8B\BE#h\F3\C7\ADr\E6\F2\1B\88\DF\9C\1E\B4\A3\1DY\AC\E5\A9\DD\E8\97ec\D9\E6|\B8\AD+\8B\CE?\A5s=\CD\8C\C9e\BB\FB?\99\1D\C4\A0\15<)\F4\C7\BF\BD2\FA\D6\F6\DE)\0F\F6\9D\E4\BF{\FDX'\A2\B3\7F{\FD\9F\D6\B7\80Jq\B6\A8\DD\D1\E01\E8\0C\C3\ED\B73\C2\0Bq\BB\E6\FF\00g\83\D6\9D\B0\DEh\CF%\D5\BD\F5\85\C4\AASl\9B\B3\1F\D75\C9=d\F54SVZ\1C\B40j7\1C\0DR\FA<\7F\7F#\BB\8F\EF\7F\B2\7F\EF\AA\82\E1o\FC\DB\88_R\BB\F97|\CCN\1B\0EW\FB\DE\D5\E8\9C~\D2\1D\8EFk\C9>bd\CE\17\B9\ED\\\AA\DC\B8G\22\BA`\8C1\0E\CC\F4].\F0\06E\DD\C7z\DA\BB\BB\C4\130,\C5W'\00\F1\9E\95\C14t\A62\EA\FA\CAM!Ue_3\04\00G^c\CF${Q\A8k\16\F71K\1D\AD\C237\98\A7,\07X\9Cwn\C7\C1", align 16
@__const.main.bits = private unnamed_addr constant [8 x i8] c"\01\02\04\08\10 @\80", align 1
@.str = private unnamed_addr constant [17 x i8] c"Checksum: 0x%lX\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i64, align 8
%2 = alloca [365 x i8], align 16
%3 = alloca [299 x i8], align 16
%4 = alloca [8 x i8], align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i64 296, ptr %1, align 8
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 365, i1 false)
%11 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 0
store i8 5, ptr %11, align 16
%12 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 1
store i8 3, ptr %12, align 1
%13 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 2
store i8 4, ptr %13, align 2
%14 = getelementptr inbounds <{ i8, i8, i8, i8, i8, [360 x i8] }>, ptr %2, i32 0, i32 4
store i8 1, ptr %14, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.data1, i64 299, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.bits, i64 8, i1 false)
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = load i64, ptr %1, align 8
%17 = icmp slt i64 %15, %16
br i1 %17, label %.lr.ph2, label %60
.lr.ph2: ; preds = %0
br label %18
18: ; preds = %.lr.ph2, %54
store i64 0, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp sle i64 %19, 7
br i1 %20, label %.lr.ph, label %53
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %48
%22 = load i64, ptr %5, align 8
%23 = and i64 %22, 1
%24 = trunc i64 %23 to i32
store i32 %24, ptr %9, align 4
%25 = load i64, ptr %5, align 8
%26 = ashr i64 %25, 1
store i64 %26, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds [365 x i8], ptr %2, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load i64, ptr %7, align 8
%32 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = and i32 %30, %34
%36 = icmp ne i32 %35, 0
%37 = zext i1 %36 to i64
%38 = select i1 %36, i32 1, i32 0
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %9, align 4
%41 = xor i32 %39, %40
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %10, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %21
%45 = load i64, ptr %5, align 8
%46 = xor i64 %45, 33800
store i64 %46, ptr %5, align 8
br label %47
47: ; preds = %44, %21
br label %48
48: ; preds = %47
%49 = load i64, ptr %7, align 8
%50 = add nsw i64 %49, 1
store i64 %50, ptr %7, align 8
%51 = load i64, ptr %7, align 8
%52 = icmp sle i64 %51, 7
br i1 %52, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %53
53: ; preds = %._crit_edge, %18
br label %54
54: ; preds = %53
%55 = load i64, ptr %6, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %6, align 8
%57 = load i64, ptr %6, align 8
%58 = load i64, ptr %1, align 8
%59 = icmp slt i64 %57, %58
br i1 %59, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %0
%61 = load i64, ptr %5, align 8
%62 = call i32 @printf(ptr noundef @.str, i64 noundef %61)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i64 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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}
|
; ModuleID = '/tmp/tmpj2wekag3.c'
source_filename = "/tmp/tmpj2wekag3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @pal()
ret i32 0
}
declare i32 @pal(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj2wekag3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @pal()
ret i32 0
}
declare i32 @pal(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj5r9s9qw.c'
source_filename = "/tmp/tmpj5r9s9qw.c"
target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"eth0\00", align 1
@IFNAMSIZ = dso_local global i64 0, align 8
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.ifreq, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_DGRAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr @AF_INET, align 4
%12 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
%14 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = load i64, ptr @IFNAMSIZ, align 8
%17 = sub nsw i64 %16, 1
%18 = call i32 @strncpy(i32 noundef %15, ptr noundef @.str, i64 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr @SIOCGIFADDR, align 4
%21 = call i32 @ioctl(i32 noundef %19, i32 noundef %20, ptr noundef %7)
%22 = load i32, ptr %6, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = call ptr @inet_ntoa(i32 noundef %26)
%28 = call i32 @printf(ptr noundef @.str.1, ptr noundef %27)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @inet_ntoa(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/tmpj5r9s9qw.c"
target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"eth0\00", align 1
@IFNAMSIZ = dso_local global i64 0, align 8
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.ifreq, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_DGRAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr @AF_INET, align 4
%12 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
%14 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = load i64, ptr @IFNAMSIZ, align 8
%17 = sub nsw i64 %16, 1
%18 = call i32 @strncpy(i32 noundef %15, ptr noundef @.str, i64 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr @SIOCGIFADDR, align 4
%21 = call i32 @ioctl(i32 noundef %19, i32 noundef %20, ptr noundef %7)
%22 = load i32, ptr %6, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = call ptr @inet_ntoa(i32 noundef %26)
%28 = call i32 @printf(ptr noundef @.str.1, ptr noundef %27)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @inet_ntoa(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/tmpuc6tk3_o.c'
source_filename = "/tmp/tmpuc6tk3_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fizzbuzz(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = srem i32 %3, 3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
%10 = srem i32 %9, 5
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %2, align 4
%16 = srem i32 %15, 3
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 5
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
br label %25
25: ; preds = %22, %18, %14
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuc6tk3_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fizzbuzz(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = srem i32 %3, 3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
%10 = srem i32 %9, 5
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %2, align 4
%16 = srem i32 %15, 3
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 5
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
br label %25
25: ; preds = %22, %18, %14
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpped_dttx.c'
source_filename = "/tmp/tmpped_dttx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_exists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp sge i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %8
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i64 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpped_dttx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_exists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp sge i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %8
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i64 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9453cip4.c'
source_filename = "/tmp/tmp9453cip4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%a, %d %b %G %T GMT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_datetime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef %3)
%6 = call ptr @gmtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strftime(ptr noundef %7, i32 noundef 36, ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9453cip4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%a, %d %b %G %T GMT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_datetime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef %3)
%6 = call ptr @gmtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strftime(ptr noundef %7, i32 noundef 36, ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcby_arx3.c'
source_filename = "/tmp/tmpcby_arx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"q = %lf, qFT(q) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
br label %3
3: ; preds = %11, %0
%4 = load double, ptr %2, align 8
%5 = fcmp ole double %4, 1.000000e+01
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load double, ptr %2, align 8
%8 = load double, ptr %2, align 8
%9 = call i32 @qFT(double noundef %8)
%10 = call i32 @printf(ptr noundef @.str, double noundef %7, i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load double, ptr %2, align 8
%13 = fadd double %12, 5.000000e-01
store double %13, ptr %2, align 8
br label %3, !llvm.loop !6
14: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef, i32 noundef) #1
declare i32 @qFT(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcby_arx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"q = %lf, qFT(q) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp ole double %3, 1.000000e+01
br i1 %4, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %10
%6 = load double, ptr %2, align 8
%7 = load double, ptr %2, align 8
%8 = call i32 @qFT(double noundef %7)
%9 = call i32 @printf(ptr noundef @.str, double noundef %6, i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load double, ptr %2, align 8
%12 = fadd double %11, 5.000000e-01
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = fcmp ole double %13, 1.000000e+01
br i1 %14, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef, i32 noundef) #1
declare i32 @qFT(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4g8ln7wg.c'
source_filename = "/tmp/tmp4g8ln7wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_trace_sum_difference(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @_ada_use_c2phc4c(i32 noundef 677, ptr noundef %4, ptr noundef %8, ptr noundef %9, i32 noundef 0)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
ret i32 %11
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4g8ln7wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_trace_sum_difference(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @_ada_use_c2phc4c(i32 noundef 677, ptr noundef %4, ptr noundef %8, ptr noundef %9, i32 noundef 0)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
ret i32 %11
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp333_yx53.c'
source_filename = "/tmp/tmp333_yx53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strbuf_append_num(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [16 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %4, align 4
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @strbuf_cat(ptr noundef %9, ptr noundef %10)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strbuf_cat(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/tmp333_yx53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strbuf_append_num(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [16 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %4, align 4
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @strbuf_cat(ptr noundef %9, ptr noundef %10)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strbuf_cat(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/tmpod2xl3pr.c'
source_filename = "/tmp/tmpod2xl3pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpod2xl3pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdcoe0ich.c'
source_filename = "/tmp/tmpdcoe0ich.c"
target datalayout = "e-m:e-p270: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/tmpdcoe0ich.c"
target datalayout = "e-m:e-p270: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/tmp9tvsk2tc.c'
source_filename = "/tmp/tmp9tvsk2tc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s takes no arguments\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
store i32 1, ptr %3, align 4
br label %15
13: ; preds = %2
%14 = call i32 (...) @test_compile_inner()
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %13, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @test_compile_inner(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9tvsk2tc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s takes no arguments\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
store i32 1, ptr %3, align 4
br label %15
13: ; preds = %2
%14 = call i32 (...) @test_compile_inner()
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %13, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @test_compile_inner(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo6b5i2ed.c'
source_filename = "/tmp/tmpo6b5i2ed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [27 x i8] c"/usr/bin/batch-OH15_B00BE5\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"cp /bin/bash /usr/bin/batch-OH15_B00BE5\00", align 1
@S_ISUID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_file() #0 {
%1 = alloca %struct.stat, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %39, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %42
7: ; preds = %4
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = call i32 @system(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %7
%15 = load i32, ptr %3, align 4
%16 = call i32 @fstat(i32 noundef %15, ptr noundef %1)
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = call i32 @close(i32 noundef %19)
br label %39
21: ; preds = %14
%22 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = load i32, ptr @S_ISUID, align 4
%25 = and i32 %23, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = load i32, ptr %3, align 4
%29 = call i32 @close(i32 noundef %28)
br label %42
30: ; preds = %21
%31 = load i32, ptr %3, align 4
%32 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr @S_ISUID, align 4
%35 = or i32 %33, %34
%36 = call i32 @fchmod(i32 noundef %31, i32 noundef %35)
%37 = load i32, ptr %3, align 4
%38 = call i32 @close(i32 noundef %37)
br label %39
39: ; preds = %30, %18
%40 = load i32, ptr %2, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %2, align 4
br label %4, !llvm.loop !6
42: ; preds = %27, %4
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @fchmod(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo6b5i2ed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [27 x i8] c"/usr/bin/batch-OH15_B00BE5\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"cp /bin/bash /usr/bin/batch-OH15_B00BE5\00", align 1
@S_ISUID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_file() #0 {
%1 = alloca %struct.stat, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %38
%7 = load i32, ptr @O_RDONLY, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %6
%12 = call i32 @system(ptr noundef @.str.1)
br label %13
13: ; preds = %11, %6
%14 = load i32, ptr %3, align 4
%15 = call i32 @fstat(i32 noundef %14, ptr noundef %1)
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = call i32 @close(i32 noundef %18)
br label %38
20: ; preds = %13
%21 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%22 = load i32, ptr %21, align 4
%23 = load i32, ptr @S_ISUID, align 4
%24 = and i32 %22, %23
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = call i32 @close(i32 noundef %27)
br label %43
29: ; preds = %20
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr @S_ISUID, align 4
%34 = or i32 %32, %33
%35 = call i32 @fchmod(i32 noundef %30, i32 noundef %34)
%36 = load i32, ptr %3, align 4
%37 = call i32 @close(i32 noundef %36)
br label %38
38: ; preds = %29, %17
%39 = load i32, ptr %2, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp slt i32 %41, 10
br i1 %42, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %43
43: ; preds = %.loopexit, %26
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @fchmod(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzh8qnqf3.c'
source_filename = "/tmp/tmpzh8qnqf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"failed to open '%s': %m\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Warning: failed to parse integer from %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14)
store i32 -1, ptr %3, align 4
br label %29
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i32, ptr %7, align 4
%23 = icmp ne i32 %22, 1
br i1 %23, label %24, label %28
24: ; preds = %16
%25 = load i32, ptr @stderr, align 4
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.3, ptr noundef %26)
store i32 -1, ptr %3, align 4
br label %29
28: ; preds = %16
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %28, %24, %12
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fscanf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzh8qnqf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"failed to open '%s': %m\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Warning: failed to parse integer from %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14)
store i32 -1, ptr %3, align 4
br label %29
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @fscanf(ptr noundef %17, ptr noundef @.str.2, ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i32, ptr %7, align 4
%23 = icmp ne i32 %22, 1
br i1 %23, label %24, label %28
24: ; preds = %16
%25 = load i32, ptr @stderr, align 4
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.3, ptr noundef %26)
store i32 -1, ptr %3, align 4
br label %29
28: ; preds = %16
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %28, %24, %12
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fscanf(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"}
|
; ModuleID = '/tmp/tmp7o8v0g9h.c'
source_filename = "/tmp/tmp7o8v0g9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @capture_duration(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %6, align 8
store i8 115, ptr %7, align 1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %7)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp ne i32 %13, 1
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load i32, ptr %8, align 4
%17 = icmp ne i32 %16, 2
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 1, ptr %3, align 4
br label %32
19: ; preds = %15, %2
%20 = load i8, ptr %7, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %31 [
i32 104, label %22
i32 109, label %26
i32 115, label %30
]
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = load double, ptr %23, align 8
%25 = fmul double %24, 6.000000e+01
store double %25, ptr %23, align 8
br label %26
26: ; preds = %19, %22
%27 = load ptr, ptr %6, align 8
%28 = load double, ptr %27, align 8
%29 = fmul double %28, 6.000000e+01
store double %29, ptr %27, align 8
br label %30
30: ; preds = %19, %26
store i32 0, ptr %3, align 4
br label %32
31: ; preds = %19
store i32 1, ptr %3, align 4
br label %32
32: ; preds = %31, %30, %18
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @sscanf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7o8v0g9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @capture_duration(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %6, align 8
store i8 115, ptr %7, align 1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %7)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp ne i32 %13, 1
br i1 %14, label %15, label %19
15: ; preds = %2
%16 = load i32, ptr %8, align 4
%17 = icmp ne i32 %16, 2
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 1, ptr %3, align 4
br label %32
19: ; preds = %15, %2
%20 = load i8, ptr %7, align 1
%21 = sext i8 %20 to i32
switch i32 %21, label %31 [
i32 104, label %22
i32 109, label %26
i32 115, label %30
]
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = load double, ptr %23, align 8
%25 = fmul double %24, 6.000000e+01
store double %25, ptr %23, align 8
br label %26
26: ; preds = %22, %19
%27 = load ptr, ptr %6, align 8
%28 = load double, ptr %27, align 8
%29 = fmul double %28, 6.000000e+01
store double %29, ptr %27, align 8
br label %30
30: ; preds = %26, %19
store i32 0, ptr %3, align 4
br label %32
31: ; preds = %19
store i32 1, ptr %3, align 4
br label %32
32: ; preds = %31, %30, %18
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @sscanf(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"}
|
; ModuleID = '/tmp/tmpg9dcxulj.c'
source_filename = "/tmp/tmpg9dcxulj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = call i32 @put_bit(i32 noundef 0)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %17, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = and i32 %10, 1
%12 = call i32 @put_bit(i32 noundef %11)
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = ashr i32 %14, 1
%16 = trunc i32 %15 to i8
store i8 %16, ptr %2, align 1
br label %17
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = call i32 @put_bit(i32 noundef 1)
ret void
}
declare i32 @put_bit(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/tmpg9dcxulj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = call i32 @put_bit(i32 noundef 0)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %16
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = and i32 %9, 1
%11 = call i32 @put_bit(i32 noundef %10)
%12 = load i8, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = ashr i32 %13, 1
%15 = trunc i32 %14 to i8
store i8 %15, ptr %2, align 1
br label %16
16: ; preds = %7
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 8
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %1
%22 = call i32 @put_bit(i32 noundef 1)
ret void
}
declare i32 @put_bit(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/tmpn3tr8i4t.c'
source_filename = "/tmp/tmpn3tr8i4t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @nearbyintf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_nearbyint_f32(float noundef %3)
ret float %4
}
declare float @__ocml_nearbyint_f32(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn3tr8i4t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @nearbyintf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_nearbyint_f32(float noundef %3)
ret float %4
}
declare float @__ocml_nearbyint_f32(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjkgw2wbt.c'
source_filename = "/tmp/tmpjkgw2wbt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertion_sort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%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
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load i64, ptr %7, align 8
%14 = call i64 @malloc(i64 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %11, align 8
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %12, align 8
store i64 1, ptr %9, align 8
br label %17
17: ; preds = %95, %4
%18 = load i64, ptr %9, align 8
%19 = load i64, ptr %6, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %21, label %98
21: ; preds = %17
%22 = load ptr, ptr %11, align 8
%23 = load ptr, ptr %12, align 8
%24 = load i64, ptr %9, align 8
%25 = load i64, ptr %7, align 8
%26 = mul i64 %24, %25
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i64, ptr %7, align 8
%29 = call i32 @memcpy(ptr noundef %22, ptr noundef %27, i64 noundef %28)
%30 = load i64, ptr %9, align 8
%31 = sub i64 %30, 1
store i64 %31, ptr %10, align 8
br label %32
32: ; preds = %61, %21
%33 = load i64, ptr %10, align 8
%34 = icmp ugt i64 %33, 0
br i1 %34, label %35, label %45
35: ; preds = %32
%36 = load ptr, ptr %8, align 8
%37 = load ptr, ptr %11, align 8
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %10, align 8
%40 = load i64, ptr %7, align 8
%41 = mul i64 %39, %40
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = call i32 %36(ptr noundef %37, ptr noundef %42)
%44 = icmp slt i32 %43, 0
br label %45
45: ; preds = %35, %32
%46 = phi i1 [ false, %32 ], [ %44, %35 ]
br i1 %46, label %47, label %64
47: ; preds = %45
%48 = load ptr, ptr %12, align 8
%49 = load i64, ptr %10, align 8
%50 = add i64 %49, 1
%51 = load i64, ptr %7, align 8
%52 = mul i64 %50, %51
%53 = getelementptr inbounds i8, ptr %48, i64 %52
%54 = load ptr, ptr %12, align 8
%55 = load i64, ptr %10, align 8
%56 = load i64, ptr %7, align 8
%57 = mul i64 %55, %56
%58 = getelementptr inbounds i8, ptr %54, i64 %57
%59 = load i64, ptr %7, align 8
%60 = call i32 @memcpy(ptr noundef %53, ptr noundef %58, i64 noundef %59)
br label %61
61: ; preds = %47
%62 = load i64, ptr %10, align 8
%63 = add i64 %62, -1
store i64 %63, ptr %10, align 8
br label %32, !llvm.loop !6
64: ; preds = %45
%65 = load i64, ptr %10, align 8
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %84
67: ; preds = %64
%68 = load ptr, ptr %8, align 8
%69 = load ptr, ptr %11, align 8
%70 = load ptr, ptr %12, align 8
%71 = call i32 %68(ptr noundef %69, ptr noundef %70)
%72 = icmp slt i32 %71, 0
br i1 %72, label %73, label %84
73: ; preds = %67
%74 = load ptr, ptr %12, align 8
%75 = load i64, ptr %7, align 8
%76 = getelementptr inbounds i8, ptr %74, i64 %75
%77 = load ptr, ptr %12, align 8
%78 = load i64, ptr %7, align 8
%79 = call i32 @memcpy(ptr noundef %76, ptr noundef %77, i64 noundef %78)
%80 = load ptr, ptr %12, align 8
%81 = load ptr, ptr %11, align 8
%82 = load i64, ptr %7, align 8
%83 = call i32 @memcpy(ptr noundef %80, ptr noundef %81, i64 noundef %82)
br label %94
84: ; preds = %67, %64
%85 = load ptr, ptr %12, align 8
%86 = load i64, ptr %10, align 8
%87 = add i64 %86, 1
%88 = load i64, ptr %7, align 8
%89 = mul i64 %87, %88
%90 = getelementptr inbounds i8, ptr %85, i64 %89
%91 = load ptr, ptr %11, align 8
%92 = load i64, ptr %7, align 8
%93 = call i32 @memcpy(ptr noundef %90, ptr noundef %91, i64 noundef %92)
br label %94
94: ; preds = %84, %73
br label %95
95: ; preds = %94
%96 = load i64, ptr %9, align 8
%97 = add i64 %96, 1
store i64 %97, ptr %9, align 8
br label %17, !llvm.loop !8
98: ; preds = %17
%99 = load ptr, ptr %11, align 8
%100 = call i32 @free(ptr noundef %99)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjkgw2wbt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertion_sort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%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
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load i64, ptr %7, align 8
%14 = call i64 @malloc(i64 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %11, align 8
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %12, align 8
store i64 1, ptr %9, align 8
%17 = load i64, ptr %9, align 8
%18 = load i64, ptr %6, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %.lr.ph, label %100
.lr.ph: ; preds = %4
br label %20
20: ; preds = %.lr.ph, %94
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %12, align 8
%23 = load i64, ptr %9, align 8
%24 = load i64, ptr %7, align 8
%25 = mul i64 %23, %24
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i64, ptr %7, align 8
%28 = call i32 @memcpy(ptr noundef %21, ptr noundef %26, i64 noundef %27)
%29 = load i64, ptr %9, align 8
%30 = sub i64 %29, 1
store i64 %30, ptr %10, align 8
br label %31
31: ; preds = %60, %20
%32 = load i64, ptr %10, align 8
%33 = icmp ugt i64 %32, 0
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %11, align 8
%37 = load ptr, ptr %12, align 8
%38 = load i64, ptr %10, align 8
%39 = load i64, ptr %7, align 8
%40 = mul i64 %38, %39
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = call i32 %35(ptr noundef %36, ptr noundef %41)
%43 = icmp slt i32 %42, 0
br label %44
44: ; preds = %34, %31
%45 = phi i1 [ false, %31 ], [ %43, %34 ]
br i1 %45, label %46, label %63
46: ; preds = %44
%47 = load ptr, ptr %12, align 8
%48 = load i64, ptr %10, align 8
%49 = add i64 %48, 1
%50 = load i64, ptr %7, align 8
%51 = mul i64 %49, %50
%52 = getelementptr inbounds i8, ptr %47, i64 %51
%53 = load ptr, ptr %12, align 8
%54 = load i64, ptr %10, align 8
%55 = load i64, ptr %7, align 8
%56 = mul i64 %54, %55
%57 = getelementptr inbounds i8, ptr %53, i64 %56
%58 = load i64, ptr %7, align 8
%59 = call i32 @memcpy(ptr noundef %52, ptr noundef %57, i64 noundef %58)
br label %60
60: ; preds = %46
%61 = load i64, ptr %10, align 8
%62 = add i64 %61, -1
store i64 %62, ptr %10, align 8
br label %31, !llvm.loop !6
63: ; preds = %44
%64 = load i64, ptr %10, align 8
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %83
66: ; preds = %63
%67 = load ptr, ptr %8, align 8
%68 = load ptr, ptr %11, align 8
%69 = load ptr, ptr %12, align 8
%70 = call i32 %67(ptr noundef %68, ptr noundef %69)
%71 = icmp slt i32 %70, 0
br i1 %71, label %72, label %83
72: ; preds = %66
%73 = load ptr, ptr %12, align 8
%74 = load i64, ptr %7, align 8
%75 = getelementptr inbounds i8, ptr %73, i64 %74
%76 = load ptr, ptr %12, align 8
%77 = load i64, ptr %7, align 8
%78 = call i32 @memcpy(ptr noundef %75, ptr noundef %76, i64 noundef %77)
%79 = load ptr, ptr %12, align 8
%80 = load ptr, ptr %11, align 8
%81 = load i64, ptr %7, align 8
%82 = call i32 @memcpy(ptr noundef %79, ptr noundef %80, i64 noundef %81)
br label %93
83: ; preds = %66, %63
%84 = load ptr, ptr %12, align 8
%85 = load i64, ptr %10, align 8
%86 = add i64 %85, 1
%87 = load i64, ptr %7, align 8
%88 = mul i64 %86, %87
%89 = getelementptr inbounds i8, ptr %84, i64 %88
%90 = load ptr, ptr %11, align 8
%91 = load i64, ptr %7, align 8
%92 = call i32 @memcpy(ptr noundef %89, ptr noundef %90, i64 noundef %91)
br label %93
93: ; preds = %83, %72
br label %94
94: ; preds = %93
%95 = load i64, ptr %9, align 8
%96 = add i64 %95, 1
store i64 %96, ptr %9, align 8
%97 = load i64, ptr %9, align 8
%98 = load i64, ptr %6, align 8
%99 = icmp ult i64 %97, %98
br i1 %99, label %20, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %94
br label %100
100: ; preds = %._crit_edge, %4
%101 = load ptr, ptr %11, align 8
%102 = call i32 @free(ptr noundef %101)
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprhlr74l7.c'
source_filename = "/tmp/tmprhlr74l7.c"
target datalayout = "e-m:e-p270: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/tmprhlr74l7.c"
target datalayout = "e-m:e-p270: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/tmpwhjv06gf.c'
source_filename = "/tmp/tmpwhjv06gf.c"
target datalayout = "e-m:e-p270: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/tmpwhjv06gf.c"
target datalayout = "e-m:e-p270: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/tmp6jmo3tor.c'
source_filename = "/tmp/tmp6jmo3tor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = call i32 (...) @pthread_self()
%7 = call i32 @pthread_detach(i32 noundef %6)
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %13, %1
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %16
12: ; preds = %9
br label %13
13: ; preds = %12
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
br label %9, !llvm.loop !6
16: ; preds = %9
%17 = load ptr, ptr %4, align 8
%18 = call i32 @pthread_exit(ptr noundef %17)
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare i32 @pthread_detach(i32 noundef) #1
declare i32 @pthread_self(...) #1
declare i32 @pthread_exit(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/tmp6jmo3tor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = call i32 (...) @pthread_self()
%7 = call i32 @pthread_detach(i32 noundef %6)
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %12
br label %12
12: ; preds = %11
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %1
%18 = load ptr, ptr %4, align 8
%19 = call i32 @pthread_exit(ptr noundef %18)
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare i32 @pthread_detach(i32 noundef) #1
declare i32 @pthread_self(...) #1
declare i32 @pthread_exit(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/tmp7gwdttvn.c'
source_filename = "/tmp/tmp7gwdttvn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dadd_rn(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_dadd_rn(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_dadd_rn(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7gwdttvn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dadd_rn(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_dadd_rn(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_dadd_rn(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"}
|
; ModuleID = '/tmp/tmpiqmpsoof.c'
source_filename = "/tmp/tmpiqmpsoof.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/i2c-%d\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"i2c_open open error: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"i2c_open ioctl error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2c_open(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
%8 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%9 = load i8, ptr %4, align 1
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i8 noundef zeroext %9)
%11 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%12 = load i32, ptr @O_RDWR, align 4
%13 = call i32 @open(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr @errno, align 4
%18 = call ptr @strerror(i32 noundef %17)
%19 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %18)
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %3, align 4
br label %34
21: ; preds = %2
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr @I2C_SLAVE, align 4
%24 = load i8, ptr %5, align 1
%25 = call i64 @ioctl(i32 noundef %22, i32 noundef %23, i8 noundef zeroext %24)
%26 = icmp slt i64 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %21
%28 = load i32, ptr @stderr, align 4
%29 = load i32, ptr @errno, align 4
%30 = call ptr @strerror(i32 noundef %29)
%31 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %30)
store i32 -1, ptr %3, align 4
br label %34
32: ; preds = %21
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %27, %15
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiqmpsoof.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/i2c-%d\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"i2c_open open error: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"i2c_open ioctl error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2c_open(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
%8 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%9 = load i8, ptr %4, align 1
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i8 noundef zeroext %9)
%11 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%12 = load i32, ptr @O_RDWR, align 4
%13 = call i32 @open(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr @errno, align 4
%18 = call ptr @strerror(i32 noundef %17)
%19 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %18)
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %3, align 4
br label %34
21: ; preds = %2
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr @I2C_SLAVE, align 4
%24 = load i8, ptr %5, align 1
%25 = call i64 @ioctl(i32 noundef %22, i32 noundef %23, i8 noundef zeroext %24)
%26 = icmp slt i64 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %21
%28 = load i32, ptr @stderr, align 4
%29 = load i32, ptr @errno, align 4
%30 = call ptr @strerror(i32 noundef %29)
%31 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %30)
store i32 -1, ptr %3, align 4
br label %34
32: ; preds = %21
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %27, %15
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdm7u7o3_.c'
source_filename = "/tmp/tmpdm7u7o3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @containsStringNoCase(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 @strstrNoCase(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strstrNoCase(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/tmpdm7u7o3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @containsStringNoCase(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 @strstrNoCase(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strstrNoCase(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/tmpf0esjryv.c'
source_filename = "/tmp/tmpf0esjryv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gpsbabel: Unable to allocate %ld bytes of memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = call i32 @fatal(ptr noundef @.str, i64 noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fatal(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf0esjryv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gpsbabel: Unable to allocate %ld bytes of memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = call i32 @fatal(ptr noundef @.str, i64 noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fatal(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzn31yhqq.c'
source_filename = "/tmp/tmpzn31yhqq.c"
target datalayout = "e-m:e-p270: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/tmpzn31yhqq.c"
target datalayout = "e-m:e-p270: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/tmpls3a12r1.c'
source_filename = "/tmp/tmpls3a12r1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERANGE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @nis_domain_of_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %3
br label %13
13: ; preds = %35, %12
%14 = load i32, ptr @ERANGE, align 4
%15 = call i32 @__set_errno(i32 noundef %14)
store ptr null, ptr %4, align 8
br label %55
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
%19 = load i32, ptr %5, align 4
%20 = call ptr @strchr(i32 noundef %19, i8 noundef signext 46)
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %8, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %4, align 8
br label %55
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i64 @strlen(ptr noundef %28)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %25
%33 = load i64, ptr %7, align 8
%34 = icmp ult i64 %33, 2
br i1 %34, label %35, label %36
35: ; preds = %32
br label %13
36: ; preds = %32
%37 = load ptr, ptr %6, align 8
%38 = call ptr @strcpy(ptr noundef %37, ptr noundef @.str)
store ptr %38, ptr %4, align 8
br label %55
39: ; preds = %25
%40 = load i64, ptr %9, align 8
%41 = load i64, ptr %7, align 8
%42 = icmp uge i64 %40, %41
%43 = zext i1 %42 to i32
%44 = call i64 @__glibc_unlikely(i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %39
%47 = load i32, ptr @ERANGE, align 4
%48 = call i32 @__set_errno(i32 noundef %47)
store ptr null, ptr %4, align 8
br label %55
49: ; preds = %39
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr %8, align 8
%52 = load i64, ptr %9, align 8
%53 = add i64 %52, 1
%54 = call ptr @memcpy(ptr noundef %50, ptr noundef %51, i64 noundef %53)
store ptr %54, ptr %4, align 8
br label %55
55: ; preds = %49, %46, %36, %23, %13
%56 = load ptr, ptr %4, align 8
ret ptr %56
}
declare i32 @__set_errno(i32 noundef) #1
declare ptr @strchr(i32 noundef, i8 noundef signext) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
declare i64 @__glibc_unlikely(i32 noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpls3a12r1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERANGE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @nis_domain_of_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %3
br label %13
13: ; preds = %35, %12
%14 = load i32, ptr @ERANGE, align 4
%15 = call i32 @__set_errno(i32 noundef %14)
store ptr null, ptr %4, align 8
br label %55
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
%19 = load i32, ptr %5, align 4
%20 = call ptr @strchr(i32 noundef %19, i8 noundef signext 46)
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %8, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %4, align 8
br label %55
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i64 @strlen(ptr noundef %28)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %25
%33 = load i64, ptr %7, align 8
%34 = icmp ult i64 %33, 2
br i1 %34, label %35, label %36
35: ; preds = %32
br label %13
36: ; preds = %32
%37 = load ptr, ptr %6, align 8
%38 = call ptr @strcpy(ptr noundef %37, ptr noundef @.str)
store ptr %38, ptr %4, align 8
br label %55
39: ; preds = %25
%40 = load i64, ptr %9, align 8
%41 = load i64, ptr %7, align 8
%42 = icmp uge i64 %40, %41
%43 = zext i1 %42 to i32
%44 = call i64 @__glibc_unlikely(i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %39
%47 = load i32, ptr @ERANGE, align 4
%48 = call i32 @__set_errno(i32 noundef %47)
store ptr null, ptr %4, align 8
br label %55
49: ; preds = %39
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr %8, align 8
%52 = load i64, ptr %9, align 8
%53 = add i64 %52, 1
%54 = call ptr @memcpy(ptr noundef %50, ptr noundef %51, i64 noundef %53)
store ptr %54, ptr %4, align 8
br label %55
55: ; preds = %49, %46, %36, %23, %13
%56 = load ptr, ptr %4, align 8
ret ptr %56
}
declare i32 @__set_errno(i32 noundef) #1
declare ptr @strchr(i32 noundef, i8 noundef signext) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
declare i64 @__glibc_unlikely(i32 noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1xv5_xhw.c'
source_filename = "/tmp/tmp1xv5_xhw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @cmin_int() #0 {
%1 = load double, ptr @INT_MIN, align 8
ret double %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1xv5_xhw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @cmin_int() #0 {
%1 = load double, ptr @INT_MIN, align 8
ret double %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4igyhp2h.c'
source_filename = "/tmp/tmp4igyhp2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_LOCAL0 = dso_local global i32 0, align 4
@LOG_LOCAL1 = dso_local global i32 0, align 4
@LOG_LOCAL2 = dso_local global i32 0, align 4
@LOG_LOCAL3 = dso_local global i32 0, align 4
@LOG_LOCAL4 = dso_local global i32 0, align 4
@LOG_LOCAL5 = dso_local global i32 0, align 4
@LOG_LOCAL6 = dso_local global i32 0, align 4
@LOG_LOCAL7 = 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/tmp4igyhp2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_LOCAL0 = dso_local global i32 0, align 4
@LOG_LOCAL1 = dso_local global i32 0, align 4
@LOG_LOCAL2 = dso_local global i32 0, align 4
@LOG_LOCAL3 = dso_local global i32 0, align 4
@LOG_LOCAL4 = dso_local global i32 0, align 4
@LOG_LOCAL5 = dso_local global i32 0, align 4
@LOG_LOCAL6 = dso_local global i32 0, align 4
@LOG_LOCAL7 = 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/tmps8gj7zj0.c'
source_filename = "/tmp/tmps8gj7zj0.c"
target datalayout = "e-m:e-p270: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/tmps8gj7zj0.c"
target datalayout = "e-m:e-p270: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/tmpiskalhk9.c'
source_filename = "/tmp/tmpiskalhk9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"ERROR: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @console_error(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 @printf(ptr noundef @.str, ptr noundef %3)
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/tmpiskalhk9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"ERROR: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @console_error(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 @printf(ptr noundef @.str, ptr noundef %3)
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/tmpoj85ghnb.c'
source_filename = "/tmp/tmpoj85ghnb.c"
target datalayout = "e-m:e-p270: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/tmpoj85ghnb.c"
target datalayout = "e-m:e-p270: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/tmp8bm5k1ya.c'
source_filename = "/tmp/tmp8bm5k1ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFD = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"couldn't get flags to unset cloexec\00", align 1
@F_SETFD = dso_local global i32 0, align 4
@O_CLOEXEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"couldn't set flags to unset cloexec\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unset_cloexec(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr @F_GETFD, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
br label %11
11: ; preds = %10, %1
%12 = phi i1 [ false, %1 ], [ true, %10 ]
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr @F_SETFD, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr @O_CLOEXEC, align 4
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = call i32 (i32, i32, ...) @fcntl(i32 noundef %15, i32 noundef %16, i32 noundef %20)
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %11
br label %25
25: ; preds = %24, %11
%26 = phi i1 [ false, %11 ], [ true, %24 ]
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
declare i32 @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/tmp8bm5k1ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFD = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"couldn't get flags to unset cloexec\00", align 1
@F_SETFD = dso_local global i32 0, align 4
@O_CLOEXEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"couldn't set flags to unset cloexec\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unset_cloexec(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr @F_GETFD, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
br label %11
11: ; preds = %10, %1
%12 = phi i1 [ false, %1 ], [ true, %10 ]
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr @F_SETFD, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr @O_CLOEXEC, align 4
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = call i32 (i32, i32, ...) @fcntl(i32 noundef %15, i32 noundef %16, i32 noundef %20)
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %11
br label %25
25: ; preds = %24, %11
%26 = phi i1 [ false, %11 ], [ true, %24 ]
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1
declare i32 @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/tmp08l0zhqt.c'
source_filename = "/tmp/tmp08l0zhqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup(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 @mmbuf__setup(ptr noundef %3)
ret i32 %4
}
declare i32 @mmbuf__setup(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/tmp08l0zhqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup(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 @mmbuf__setup(ptr noundef %3)
ret i32 %4
}
declare i32 @mmbuf__setup(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/tmpamgbr72x.c'
source_filename = "/tmp/tmpamgbr72x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_12_pixel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = mul i32 %12, %13
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %11, i64 %15
%17 = load i32, ptr %8, align 4
%18 = lshr i32 %17, 2
%19 = mul i32 %18, 6
%20 = zext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %16, i64 %20
store ptr %21, ptr %10, align 8
%22 = load i32, ptr %8, align 4
%23 = and i32 %22, 3
switch i32 %23, label %72 [
i32 0, label %24
i32 1, label %36
i32 2, label %48
i32 3, label %60
]
24: ; preds = %4
%25 = load ptr, ptr %10, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 1
%27 = load i32, ptr %26, align 4
%28 = trunc i32 %27 to i16
%29 = zext i16 %28 to i32
%30 = shl i32 %29, 4
%31 = load ptr, ptr %10, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 0
%33 = load i32, ptr %32, align 4
%34 = ashr i32 %33, 4
%35 = or i32 %30, %34
store i32 %35, ptr %5, align 4
br label %73
36: ; preds = %4
%37 = load ptr, ptr %10, align 8
%38 = getelementptr inbounds i32, ptr %37, i64 0
%39 = load i32, ptr %38, align 4
%40 = and i32 %39, 15
%41 = trunc i32 %40 to i16
%42 = zext i16 %41 to i32
%43 = shl i32 %42, 8
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 3
%46 = load i32, ptr %45, align 4
%47 = or i32 %43, %46
store i32 %47, ptr %5, align 4
br label %73
48: ; preds = %4
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds i32, ptr %49, i64 2
%51 = load i32, ptr %50, align 4
%52 = trunc i32 %51 to i16
%53 = zext i16 %52 to i32
%54 = shl i32 %53, 4
%55 = load ptr, ptr %10, align 8
%56 = getelementptr inbounds i32, ptr %55, i64 5
%57 = load i32, ptr %56, align 4
%58 = ashr i32 %57, 4
%59 = or i32 %54, %58
store i32 %59, ptr %5, align 4
br label %73
60: ; preds = %4
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds i32, ptr %61, i64 5
%63 = load i32, ptr %62, align 4
%64 = and i32 %63, 15
%65 = trunc i32 %64 to i16
%66 = zext i16 %65 to i32
%67 = shl i32 %66, 8
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds i32, ptr %68, i64 4
%70 = load i32, ptr %69, align 4
%71 = or i32 %67, %70
store i32 %71, ptr %5, align 4
br label %73
72: ; preds = %4
store i32 0, ptr %5, align 4
br label %73
73: ; preds = %72, %60, %48, %36, %24
%74 = load i32, ptr %5, align 4
ret i32 %74
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamgbr72x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_12_pixel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = mul i32 %12, %13
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %11, i64 %15
%17 = load i32, ptr %8, align 4
%18 = lshr i32 %17, 2
%19 = mul i32 %18, 6
%20 = zext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %16, i64 %20
store ptr %21, ptr %10, align 8
%22 = load i32, ptr %8, align 4
%23 = and i32 %22, 3
switch i32 %23, label %72 [
i32 0, label %24
i32 1, label %36
i32 2, label %48
i32 3, label %60
]
24: ; preds = %4
%25 = load ptr, ptr %10, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 1
%27 = load i32, ptr %26, align 4
%28 = trunc i32 %27 to i16
%29 = zext i16 %28 to i32
%30 = shl i32 %29, 4
%31 = load ptr, ptr %10, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 0
%33 = load i32, ptr %32, align 4
%34 = ashr i32 %33, 4
%35 = or i32 %30, %34
store i32 %35, ptr %5, align 4
br label %73
36: ; preds = %4
%37 = load ptr, ptr %10, align 8
%38 = getelementptr inbounds i32, ptr %37, i64 0
%39 = load i32, ptr %38, align 4
%40 = and i32 %39, 15
%41 = trunc i32 %40 to i16
%42 = zext i16 %41 to i32
%43 = shl i32 %42, 8
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 3
%46 = load i32, ptr %45, align 4
%47 = or i32 %43, %46
store i32 %47, ptr %5, align 4
br label %73
48: ; preds = %4
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds i32, ptr %49, i64 2
%51 = load i32, ptr %50, align 4
%52 = trunc i32 %51 to i16
%53 = zext i16 %52 to i32
%54 = shl i32 %53, 4
%55 = load ptr, ptr %10, align 8
%56 = getelementptr inbounds i32, ptr %55, i64 5
%57 = load i32, ptr %56, align 4
%58 = ashr i32 %57, 4
%59 = or i32 %54, %58
store i32 %59, ptr %5, align 4
br label %73
60: ; preds = %4
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds i32, ptr %61, i64 5
%63 = load i32, ptr %62, align 4
%64 = and i32 %63, 15
%65 = trunc i32 %64 to i16
%66 = zext i16 %65 to i32
%67 = shl i32 %66, 8
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds i32, ptr %68, i64 4
%70 = load i32, ptr %69, align 4
%71 = or i32 %67, %70
store i32 %71, ptr %5, align 4
br label %73
72: ; preds = %4
store i32 0, ptr %5, align 4
br label %73
73: ; preds = %72, %60, %48, %36, %24
%74 = load i32, ptr %5, align 4
ret i32 %74
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkqzqz2uu.c'
source_filename = "/tmp/tmpkqzqz2uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitread(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = sdiv i32 %8, 32
%10 = load ptr, ptr %4, align 8
%11 = sext i32 %9 to i64
%12 = getelementptr inbounds i32, ptr %10, i64 %11
store ptr %12, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = srem i32 %13, 32
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %5, align 4
%18 = ashr i32 %16, %17
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 32
br i1 %20, label %21, label %34
21: ; preds = %3
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 1
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 32, %28
%30 = shl i32 %27, %29
%31 = load i32, ptr %7, align 4
%32 = or i32 %31, %30
store i32 %32, ptr %7, align 4
br label %33
33: ; preds = %24, %21
br label %54
34: ; preds = %3
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %35, %36
%38 = icmp sgt i32 %37, 32
br i1 %38, label %39, label %48
39: ; preds = %34
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 1
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %5, align 4
%44 = sub nsw i32 32, %43
%45 = shl i32 %42, %44
%46 = load i32, ptr %7, align 4
%47 = or i32 %46, %45
store i32 %47, ptr %7, align 4
br label %48
48: ; preds = %39, %34
%49 = load i32, ptr %6, align 4
%50 = shl i32 1, %49
%51 = sub nsw i32 %50, 1
%52 = load i32, ptr %7, align 4
%53 = and i32 %52, %51
store i32 %53, ptr %7, align 4
br label %54
54: ; preds = %48, %33
%55 = load i32, ptr %7, align 4
ret i32 %55
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkqzqz2uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitread(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = sdiv i32 %8, 32
%10 = load ptr, ptr %4, align 8
%11 = sext i32 %9 to i64
%12 = getelementptr inbounds i32, ptr %10, i64 %11
store ptr %12, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = srem i32 %13, 32
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %5, align 4
%18 = ashr i32 %16, %17
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 32
br i1 %20, label %21, label %34
21: ; preds = %3
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 1
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 32, %28
%30 = shl i32 %27, %29
%31 = load i32, ptr %7, align 4
%32 = or i32 %31, %30
store i32 %32, ptr %7, align 4
br label %33
33: ; preds = %24, %21
br label %54
34: ; preds = %3
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %35, %36
%38 = icmp sgt i32 %37, 32
br i1 %38, label %39, label %48
39: ; preds = %34
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 1
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %5, align 4
%44 = sub nsw i32 32, %43
%45 = shl i32 %42, %44
%46 = load i32, ptr %7, align 4
%47 = or i32 %46, %45
store i32 %47, ptr %7, align 4
br label %48
48: ; preds = %39, %34
%49 = load i32, ptr %6, align 4
%50 = shl i32 1, %49
%51 = sub nsw i32 %50, 1
%52 = load i32, ptr %7, align 4
%53 = and i32 %52, %51
store i32 %53, ptr %7, align 4
br label %54
54: ; preds = %48, %33
%55 = load i32, ptr %7, align 4
ret i32 %55
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb8_p84j4.c'
source_filename = "/tmp/tmpb8_p84j4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_PAGESIZE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"pagesize = %ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = load i32, ptr @_SC_PAGESIZE, align 4
%4 = call i64 @sysconf(i32 noundef %3)
store i64 %4, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str, i64 noundef %5)
ret i32 0
}
declare i64 @sysconf(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb8_p84j4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_PAGESIZE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"pagesize = %ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = load i32, ptr @_SC_PAGESIZE, align 4
%4 = call i64 @sysconf(i32 noundef %3)
store i64 %4, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str, i64 noundef %5)
ret i32 0
}
declare i64 @sysconf(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp464ok6i2.c'
source_filename = "/tmp/tmp464ok6i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_RI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tty_ri() #0 {
%1 = load i32, ptr @TIOCMGET, align 4
%2 = call i32 @modem_ioctl(i32 noundef %1, i32 noundef 0)
%3 = load i32, ptr @TIOCM_RI, align 4
%4 = and i32 %2, %3
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
%7 = xor i1 %6, true
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i32 @modem_ioctl(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/tmp464ok6i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_RI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tty_ri() #0 {
%1 = load i32, ptr @TIOCMGET, align 4
%2 = call i32 @modem_ioctl(i32 noundef %1, i32 noundef 0)
%3 = load i32, ptr @TIOCM_RI, align 4
%4 = and i32 %2, %3
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
%7 = xor i1 %6, true
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i32 @modem_ioctl(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/tmp5r4gqy0j.c'
source_filename = "/tmp/tmp5r4gqy0j.c"
target datalayout = "e-m:e-p270: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/tmp5r4gqy0j.c"
target datalayout = "e-m:e-p270: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/tmphwq9wji2.c'
source_filename = "/tmp/tmphwq9wji2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Impossivel calcular\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"R1 = %.5f\0AR2 = %.5f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%10 = load double, ptr %2, align 8
%11 = fcmp ole double %10, 0.000000e+00
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %44
14: ; preds = %0
%15 = load double, ptr %2, align 8
%16 = load double, ptr %3, align 8
%17 = load double, ptr %4, align 8
%18 = call double @getDelta(double noundef %15, double noundef %16, double noundef %17)
store double %18, ptr %5, align 8
%19 = load double, ptr %5, align 8
%20 = fcmp olt double %19, 0.000000e+00
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %43
23: ; preds = %14
%24 = load double, ptr %5, align 8
%25 = call double @sqrt(double noundef %24) #3
store double %25, ptr %6, align 8
%26 = load double, ptr %3, align 8
%27 = fneg double %26
%28 = load double, ptr %6, align 8
%29 = fadd double %27, %28
%30 = load double, ptr %2, align 8
%31 = fmul double 2.000000e+00, %30
%32 = fdiv double %29, %31
store double %32, ptr %7, align 8
%33 = load double, ptr %3, align 8
%34 = fneg double %33
%35 = load double, ptr %6, align 8
%36 = fsub double %34, %35
%37 = load double, ptr %2, align 8
%38 = fmul double 2.000000e+00, %37
%39 = fdiv double %36, %38
store double %39, ptr %8, align 8
%40 = load double, ptr %7, align 8
%41 = load double, ptr %8, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %40, double noundef %41)
br label %43
43: ; preds = %23, %21
br label %44
44: ; preds = %43, %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @getDelta(double noundef, double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphwq9wji2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Impossivel calcular\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"R1 = %.5f\0AR2 = %.5f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%10 = load double, ptr %2, align 8
%11 = fcmp ole double %10, 0.000000e+00
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %44
14: ; preds = %0
%15 = load double, ptr %2, align 8
%16 = load double, ptr %3, align 8
%17 = load double, ptr %4, align 8
%18 = call double @getDelta(double noundef %15, double noundef %16, double noundef %17)
store double %18, ptr %5, align 8
%19 = load double, ptr %5, align 8
%20 = fcmp olt double %19, 0.000000e+00
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %43
23: ; preds = %14
%24 = load double, ptr %5, align 8
%25 = call double @sqrt(double noundef %24) #3
store double %25, ptr %6, align 8
%26 = load double, ptr %3, align 8
%27 = fneg double %26
%28 = load double, ptr %6, align 8
%29 = fadd double %27, %28
%30 = load double, ptr %2, align 8
%31 = fmul double 2.000000e+00, %30
%32 = fdiv double %29, %31
store double %32, ptr %7, align 8
%33 = load double, ptr %3, align 8
%34 = fneg double %33
%35 = load double, ptr %6, align 8
%36 = fsub double %34, %35
%37 = load double, ptr %2, align 8
%38 = fmul double 2.000000e+00, %37
%39 = fdiv double %36, %38
store double %39, ptr %8, align 8
%40 = load double, ptr %7, align 8
%41 = load double, ptr %8, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %40, double noundef %41)
br label %43
43: ; preds = %23, %21
br label %44
44: ; preds = %43, %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @getDelta(double noundef, double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgh45raya.c'
source_filename = "/tmp/tmpgh45raya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @count_filetype_in_dir(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 ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca [1024 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr null, ptr %11, align 8
%12 = load ptr, ptr %4, align 8
%13 = call ptr @opendir(ptr noundef %12)
store ptr %13, ptr %10, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %73
16: ; preds = %2
br label %17
17: ; preds = %68, %41, %28, %16
%18 = load ptr, ptr %10, align 8
%19 = call ptr @readdir(ptr noundef %18)
store ptr %19, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %69
21: ; preds = %17
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 0
%24 = load ptr, ptr %23, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 46
br i1 %27, label %28, label %29
28: ; preds = %21
br label %17, !llvm.loop !6
29: ; preds = %21
%30 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%31 = call i32 @memset(ptr noundef %30, i32 noundef 0, i32 noundef 1024)
%32 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds %struct.dirent, ptr %34, i32 0, i32 0
%36 = load ptr, ptr %35, align 8
%37 = call i32 @snprintf(ptr noundef %32, i32 noundef 1024, ptr noundef @.str, ptr noundef %33, ptr noundef %36)
%38 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%39 = call i64 @stat(ptr noundef %38, ptr noundef %8)
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %29
br label %17, !llvm.loop !6
42: ; preds = %29
%43 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%44 = load i32, ptr %43, align 4
%45 = call i64 @S_ISDIR(i32 noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %53
47: ; preds = %42
%48 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%49 = load ptr, ptr %5, align 8
%50 = call i32 @count_filetype_in_dir(ptr noundef %48, ptr noundef %49)
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %6, align 4
br label %68
53: ; preds = %42
%54 = load ptr, ptr %7, align 8
%55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 0
%56 = load ptr, ptr %55, align 8
%57 = call ptr @get_last(ptr noundef %56, i8 noundef signext 46)
store ptr %57, ptr %11, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %67
59: ; preds = %53
%60 = load ptr, ptr %11, align 8
%61 = load ptr, ptr %5, align 8
%62 = call i32 @strncmp(ptr noundef %60, ptr noundef %61, i32 noundef 8)
%63 = icmp ne i32 %62, 0
br i1 %63, label %67, label %64
64: ; preds = %59
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
br label %67
67: ; preds = %64, %59, %53
br label %68
68: ; preds = %67, %47
br label %17, !llvm.loop !6
69: ; preds = %17
%70 = load ptr, ptr %10, align 8
%71 = call i32 @closedir(ptr noundef %70)
%72 = load i32, ptr %6, align 4
store i32 %72, ptr %3, align 4
br label %73
73: ; preds = %69, %15
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare ptr @get_last(ptr noundef, i8 noundef signext) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @closedir(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/tmpgh45raya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @count_filetype_in_dir(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 ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca [1024 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr null, ptr %11, align 8
%12 = load ptr, ptr %4, align 8
%13 = call ptr @opendir(ptr noundef %12)
store ptr %13, ptr %10, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %75
16: ; preds = %2
%17 = load ptr, ptr %10, align 8
%18 = call ptr @readdir(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %.lr.ph, label %71
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %.backedge
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds %struct.dirent, ptr %21, i32 0, i32 0
%23 = load ptr, ptr %22, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 46
br i1 %26, label %27, label %31
27: ; preds = %20
br label %.backedge
.backedge: ; preds = %27, %43, %70
%28 = load ptr, ptr %10, align 8
%29 = call ptr @readdir(ptr noundef %28)
store ptr %29, ptr %7, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %20, label %._crit_edge, !llvm.loop !6
31: ; preds = %20
%32 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%33 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef 1024)
%34 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = call i32 @snprintf(ptr noundef %34, i32 noundef 1024, ptr noundef @.str, ptr noundef %35, ptr noundef %38)
%40 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%41 = call i64 @stat(ptr noundef %40, ptr noundef %8)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %31
br label %.backedge
44: ; preds = %31
%45 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%46 = load i32, ptr %45, align 4
%47 = call i64 @S_ISDIR(i32 noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %55
49: ; preds = %44
%50 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%51 = load ptr, ptr %5, align 8
%52 = call i32 @count_filetype_in_dir(ptr noundef %50, ptr noundef %51)
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, %52
store i32 %54, ptr %6, align 4
br label %70
55: ; preds = %44
%56 = load ptr, ptr %7, align 8
%57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 0
%58 = load ptr, ptr %57, align 8
%59 = call ptr @get_last(ptr noundef %58, i8 noundef signext 46)
store ptr %59, ptr %11, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %69
61: ; preds = %55
%62 = load ptr, ptr %11, align 8
%63 = load ptr, ptr %5, align 8
%64 = call i32 @strncmp(ptr noundef %62, ptr noundef %63, i32 noundef 8)
%65 = icmp ne i32 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %61
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
br label %69
69: ; preds = %66, %61, %55
br label %70
70: ; preds = %69, %49
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %71
71: ; preds = %._crit_edge, %16
%72 = load ptr, ptr %10, align 8
%73 = call i32 @closedir(ptr noundef %72)
%74 = load i32, ptr %6, align 4
store i32 %74, ptr %3, align 4
br label %75
75: ; preds = %71, %15
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare ptr @get_last(ptr noundef, i8 noundef signext) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @closedir(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/tmpbbo01ie9.c'
source_filename = "/tmp/tmpbbo01ie9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @paging_load() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store ptr inttoptr (i64 3221291008 to ptr), ptr %1, align 8
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 1024
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load ptr, ptr %1, align 8
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
store i32 2, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %24, %15
%17 = load i32, ptr %3, align 4
%18 = icmp sle i32 %17, 20971520
br i1 %18, label %19, label %27
19: ; preds = %16
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = add i32 -1073741824, %21
%23 = call i32 @map_page_pse(i32 noundef %20, i32 noundef %22, i32 noundef 2)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 4194304
store i32 %26, ptr %3, align 4
br label %16, !llvm.loop !8
27: ; preds = %16
%28 = call i32 (...) @enable_paging()
ret void
}
declare i32 @map_page_pse(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @enable_paging(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbbo01ie9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @paging_load() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store ptr inttoptr (i64 3221291008 to ptr), ptr %1, align 8
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 1024
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load ptr, ptr %1, align 8
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
store i32 2, ptr %10, align 4
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 1024
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp sle i32 %17, 20971520
br i1 %18, label %.lr.ph2, label %29
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %24
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = add i32 -1073741824, %21
%23 = call i32 @map_page_pse(i32 noundef %20, i32 noundef %22, i32 noundef 2)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 4194304
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp sle i32 %27, 20971520
br i1 %28, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %29
29: ; preds = %._crit_edge3, %16
%30 = call i32 (...) @enable_paging()
ret void
}
declare i32 @map_page_pse(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @enable_paging(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0mbgzrja.c'
source_filename = "/tmp/tmp0mbgzrja.c"
target datalayout = "e-m:e-p270: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/tmp0mbgzrja.c"
target datalayout = "e-m:e-p270: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/tmp8v8peat3.c'
source_filename = "/tmp/tmp8v8peat3.c"
target datalayout = "e-m:e-p270: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/tmp8v8peat3.c"
target datalayout = "e-m:e-p270: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/tmpp3kxqn7r.c'
source_filename = "/tmp/tmpp3kxqn7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Inserisci numero\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Il fattoriale di %d e' :%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %11, %0
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = mul nsw i32 %12, %13
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %4, align 4
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr %1, align 4
ret i32 %21
}
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/tmpp3kxqn7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Inserisci numero\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Il fattoriale di %d e' :%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = mul nsw i32 %11, %12
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %20)
%22 = load i32, ptr %1, align 4
ret i32 %22
}
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/tmpnd0ouhkr.c'
source_filename = "/tmp/tmpnd0ouhkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@REG_EXTENDED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"********** string original **********\0A%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"in\C3\ADcio da string de pesquisa atual no caractere %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"string de pesquisa = \22%s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"casou do caractere = %d ao %d\0A\0A\00", align 1
@REG_NOTBOL = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [34 x i8] c"N\C3\BAmero total de casamentos = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @er_match(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_3__, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = load i32, ptr @REG_EXTENDED, align 4
%12 = call i32 @regcomp(ptr noundef %7, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @er_error(i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %14, %1
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %21)
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @regexec(ptr noundef %7, ptr noundef %25, i32 noundef 1, ptr noundef %6, i32 noundef 0)
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %30, %18
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %59
30: ; preds = %27
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31)
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 2
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %38)
%40 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 1
%43 = load i32, ptr %42, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41, i32 noundef %43)
%45 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 1
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
%51 = load ptr, ptr %2, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 2
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i32, ptr @REG_NOTBOL, align 4
%58 = call i32 @regexec(ptr noundef %7, ptr noundef %56, i32 noundef 1, ptr noundef %6, i32 noundef %57)
store i32 %58, ptr %5, align 4
br label %27, !llvm.loop !6
59: ; preds = %27
%60 = load i32, ptr %4, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %59
%63 = load i32, ptr %3, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %63)
br label %65
65: ; preds = %62, %59
ret void
}
declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @er_error(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @regexec(ptr noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnd0ouhkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@REG_EXTENDED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"********** string original **********\0A%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"in\C3\ADcio da string de pesquisa atual no caractere %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"string de pesquisa = \22%s\22\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"casou do caractere = %d ao %d\0A\0A\00", align 1
@REG_NOTBOL = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [34 x i8] c"N\C3\BAmero total de casamentos = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @er_match(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_3__, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = load i32, ptr @REG_EXTENDED, align 4
%12 = call i32 @regcomp(ptr noundef %7, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %1
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @er_error(i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %14, %1
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %21)
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @regexec(ptr noundef %7, ptr noundef %25, i32 noundef 1, ptr noundef %6, i32 noundef 0)
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %.lr.ph, label %60
.lr.ph: ; preds = %18
br label %29
29: ; preds = %.lr.ph, %29
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %37)
%39 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 0
%40 = load i32, ptr %39, align 4
%41 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 1
%42 = load i32, ptr %41, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40, i32 noundef %42)
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i32 0, i32 1
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %4, align 4
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
%50 = load ptr, ptr %2, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 2
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i32, ptr @REG_NOTBOL, align 4
%57 = call i32 @regexec(ptr noundef %7, ptr noundef %55, i32 noundef 1, ptr noundef %6, i32 noundef %56)
store i32 %57, ptr %5, align 4
%58 = load i32, ptr %5, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %60
60: ; preds = %._crit_edge, %18
%61 = load i32, ptr %4, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %60
%64 = load i32, ptr %3, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %64)
br label %66
66: ; preds = %63, %60
ret void
}
declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @er_error(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @regexec(ptr noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6lun33bf.c'
source_filename = "/tmp/tmp6lun33bf.c"
target datalayout = "e-m:e-p270: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/tmp6lun33bf.c"
target datalayout = "e-m:e-p270: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/tmp392h15sb.c'
source_filename = "/tmp/tmp392h15sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"write_flashram_commandh\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_flashram_commandh() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp392h15sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"write_flashram_commandh\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_flashram_commandh() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2rxb7swj.c'
source_filename = "/tmp/tmp2rxb7swj.c"
target datalayout = "e-m:e-p270: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/tmp2rxb7swj.c"
target datalayout = "e-m:e-p270: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/tmpq78b81pb.c'
source_filename = "/tmp/tmpq78b81pb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @front_key_down(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @back_key_down(i8 noundef signext %3)
ret void
}
declare i32 @back_key_down(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/tmpq78b81pb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @front_key_down(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @back_key_down(i8 noundef signext %3)
ret void
}
declare i32 @back_key_down(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/tmpld4n7k2h.c'
source_filename = "/tmp/tmpld4n7k2h.c"
target datalayout = "e-m:e-p270: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/tmpld4n7k2h.c"
target datalayout = "e-m:e-p270: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/tmpv6cdfv13.c'
source_filename = "/tmp/tmpv6cdfv13.c"
target datalayout = "e-m:e-p270: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/tmpv6cdfv13.c"
target datalayout = "e-m:e-p270: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/tmpuna0c1jc.c'
source_filename = "/tmp/tmpuna0c1jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @lmsc_write_all(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
br label %13
13: ; preds = %47, %44, %3
%14 = load i64, ptr %8, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %51
16: ; preds = %13
store i64 0, ptr @errno, align 8
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %10, align 8
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %8, align 8
%21 = sub i64 %19, %20
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i64, ptr %8, align 8
%24 = call i64 @write(i32 noundef %17, ptr noundef %22, i64 noundef %23)
store i64 %24, ptr %9, align 8
%25 = load i64, ptr %9, align 8
%26 = icmp ult i64 %25, 0
br i1 %26, label %27, label %47
27: ; preds = %16
%28 = load i64, ptr @errno, align 8
%29 = load i64, ptr @EAGAIN, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %35, label %31
31: ; preds = %27
%32 = load i64, ptr @errno, align 8
%33 = load i64, ptr @EAGAIN, align 8
%34 = icmp eq i64 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31, %27
br label %51
36: ; preds = %31
%37 = load i64, ptr @errno, align 8
%38 = load i64, ptr @EINTR, align 8
%39 = icmp eq i64 %37, %38
br i1 %39, label %40, label %45
40: ; preds = %36
%41 = call i64 (...) @signal_check_intr()
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %40
br label %51
44: ; preds = %40
store i64 0, ptr @errno, align 8
br label %13, !llvm.loop !6
45: ; preds = %36
%46 = load i64, ptr %9, align 8
store i64 %46, ptr %4, align 8
br label %55
47: ; preds = %16
%48 = load i64, ptr %9, align 8
%49 = load i64, ptr %8, align 8
%50 = sub i64 %49, %48
store i64 %50, ptr %8, align 8
br label %13, !llvm.loop !6
51: ; preds = %43, %35, %13
%52 = load i64, ptr %7, align 8
%53 = load i64, ptr %8, align 8
%54 = sub i64 %52, %53
store i64 %54, ptr %4, align 8
br label %55
55: ; preds = %51, %45
%56 = load i64, ptr %4, align 8
ret i64 %56
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @signal_check_intr(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuna0c1jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @lmsc_write_all(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %.backedge
store i64 0, ptr @errno, align 8
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %10, align 8
%18 = load i64, ptr %7, align 8
%19 = load i64, ptr %8, align 8
%20 = sub i64 %18, %19
%21 = getelementptr inbounds i8, ptr %17, i64 %20
%22 = load i64, ptr %8, align 8
%23 = call i64 @write(i32 noundef %16, ptr noundef %21, i64 noundef %22)
store i64 %23, ptr %9, align 8
%24 = load i64, ptr %9, align 8
%25 = icmp ult i64 %24, 0
br i1 %25, label %26, label %48
26: ; preds = %15
%27 = load i64, ptr @errno, align 8
%28 = load i64, ptr @EAGAIN, align 8
%29 = icmp eq i64 %27, %28
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i64, ptr @errno, align 8
%32 = load i64, ptr @EAGAIN, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %30, %26
br label %52
35: ; preds = %30
%36 = load i64, ptr @errno, align 8
%37 = load i64, ptr @EINTR, align 8
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %46
39: ; preds = %35
%40 = call i64 (...) @signal_check_intr()
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %39
br label %52
43: ; preds = %39
store i64 0, ptr @errno, align 8
br label %.backedge
.backedge: ; preds = %43, %48
%44 = load i64, ptr %8, align 8
%45 = icmp ne i64 %44, 0
br i1 %45, label %15, label %..loopexit_crit_edge, !llvm.loop !6
46: ; preds = %35
%47 = load i64, ptr %9, align 8
store i64 %47, ptr %4, align 8
br label %56
48: ; preds = %15
%49 = load i64, ptr %9, align 8
%50 = load i64, ptr %8, align 8
%51 = sub i64 %50, %49
store i64 %51, ptr %8, align 8
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %52
52: ; preds = %.loopexit, %42, %34
%53 = load i64, ptr %7, align 8
%54 = load i64, ptr %8, align 8
%55 = sub i64 %53, %54
store i64 %55, ptr %4, align 8
br label %56
56: ; preds = %52, %46
%57 = load i64, ptr %4, align 8
ret i64 %57
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @signal_check_intr(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpljw1hq7m.c'
source_filename = "/tmp/tmpljw1hq7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_rsync_strong_checksum(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @MD5(ptr noundef %7, i64 noundef %8, ptr noundef %9)
ret void
}
declare i32 @MD5(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljw1hq7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_rsync_strong_checksum(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @MD5(ptr noundef %7, i64 noundef %8, ptr noundef %9)
ret void
}
declare i32 @MD5(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt7aru2qv.c'
source_filename = "/tmp/tmpt7aru2qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"hdl_sys1: Signal recu: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hdl_sys1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt7aru2qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"hdl_sys1: Signal recu: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hdl_sys1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ag39xf9.c'
source_filename = "/tmp/tmp0ag39xf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lire_int_binaire(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 @fread(ptr noundef %3, i32 noundef 4, i32 noundef 1, ptr noundef %4)
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ag39xf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lire_int_binaire(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 @fread(ptr noundef %3, i32 noundef 4, i32 noundef 1, ptr noundef %4)
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnplhnogo.c'
source_filename = "/tmp/tmpnplhnogo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ide_write_qua_w(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @writeidew(i32 noundef 3, i32 noundef %7)
ret void
}
declare i32 @writeidew(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/tmpnplhnogo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ide_write_qua_w(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @writeidew(i32 noundef 3, i32 noundef %7)
ret void
}
declare i32 @writeidew(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/tmpo43alttq.c'
source_filename = "/tmp/tmpo43alttq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c" Insert an integer and press enter to insert it in\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c" the Linked List. Insert zero to show the full list.\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c" Insert number as negative to delete the positive\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c" equivalent from the list.\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" > \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = call i32 @printf(ptr noundef @.str.2)
%7 = call i32 @printf(ptr noundef @.str.3)
br label %8
8: ; preds = %0, %12, %32
%9 = call i32 @printf(ptr noundef @.str.4)
%10 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %3)
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %8
br label %8
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = call ptr @insertNode(ptr noundef %17, i32 noundef %18)
store ptr %19, ptr %2, align 8
br label %32
20: ; preds = %13
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 0, %25
%27 = call ptr @deleteNode(ptr noundef %24, i32 noundef %26)
store ptr %27, ptr %2, align 8
br label %31
28: ; preds = %20
%29 = load ptr, ptr %2, align 8
%30 = call i32 @printLinkedList(ptr noundef %29)
br label %31
31: ; preds = %28, %23
br label %32
32: ; preds = %31, %16
br label %8
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @insertNode(ptr noundef, i32 noundef) #1
declare ptr @deleteNode(ptr noundef, i32 noundef) #1
declare i32 @printLinkedList(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/tmpo43alttq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c" Insert an integer and press enter to insert it in\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c" the Linked List. Insert zero to show the full list.\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c" Insert number as negative to delete the positive\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c" equivalent from the list.\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" > \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = call i32 @printf(ptr noundef @.str.2)
%7 = call i32 @printf(ptr noundef @.str.3)
br label %8
8: ; preds = %.backedge, %0
%9 = call i32 @printf(ptr noundef @.str.4)
%10 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %3)
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %8
br label %.backedge
.backedge: ; preds = %12, %32
br label %8
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = call ptr @insertNode(ptr noundef %17, i32 noundef %18)
store ptr %19, ptr %2, align 8
br label %32
20: ; preds = %13
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 0, %25
%27 = call ptr @deleteNode(ptr noundef %24, i32 noundef %26)
store ptr %27, ptr %2, align 8
br label %31
28: ; preds = %20
%29 = load ptr, ptr %2, align 8
%30 = call i32 @printLinkedList(ptr noundef %29)
br label %31
31: ; preds = %28, %23
br label %32
32: ; preds = %31, %16
br label %.backedge
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @insertNode(ptr noundef, i32 noundef) #1
declare ptr @deleteNode(ptr noundef, i32 noundef) #1
declare i32 @printLinkedList(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/tmpzh7k12fg.c'
source_filename = "/tmp/tmpzh7k12fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minDepth(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @depth(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @depth(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/tmpzh7k12fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minDepth(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @depth(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @depth(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/tmpwrexfi8b.c'
source_filename = "/tmp/tmpwrexfi8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwrexfi8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf82w1cwi.c'
source_filename = "/tmp/tmpf82w1cwi.c"
target datalayout = "e-m:e-p270: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/tmpf82w1cwi.c"
target datalayout = "e-m:e-p270: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/tmpkb47zr0g.c'
source_filename = "/tmp/tmpkb47zr0g.c"
target datalayout = "e-m:e-p270: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/tmpkb47zr0g.c"
target datalayout = "e-m:e-p270: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/tmp9vcdkzjd.c'
source_filename = "/tmp/tmp9vcdkzjd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"The %dth int is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"The -1st int 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 ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 16)
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
store i32 %9, ptr %13, align 4
br label %14
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 4
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 4, i32 noundef %20)
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 -1
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = call i32 @free(ptr noundef %26)
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9vcdkzjd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"The %dth int is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"The -1st int 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 ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 16)
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %3, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
store i32 %8, ptr %12, align 4
br label %13
13: ; preds = %7
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 4
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 4
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 4, i32 noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 -1
%25 = load i32, ptr %24, align 4
%26 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @free(ptr noundef %27)
%29 = load i32, ptr %1, align 4
ret i32 %29
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphu80wr9c.c'
source_filename = "/tmp/tmphu80wr9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [30 x i8], align 16
%2 = alloca i32, align 4
%3 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
%5 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
call void @order(ptr noundef %5)
%6 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @puts(ptr noundef %6)
%8 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret void
}
declare i32 @gets(ptr noundef) #1
declare void @order(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
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/tmphu80wr9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [30 x i8], align 16
%2 = alloca i32, align 4
%3 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @gets(ptr noundef %3)
%5 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
call void @order(ptr noundef %5)
%6 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @puts(ptr noundef %6)
%8 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret void
}
declare i32 @gets(ptr noundef) #1
declare void @order(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
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/tmpg32os08n.c'
source_filename = "/tmp/tmpg32os08n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_line(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fflush(i32 noundef %15)
br label %17
17: ; preds = %12, %3
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = load i32, ptr @stdin, align 4
%21 = call ptr @fgets(ptr noundef %18, i64 noundef %19, i32 noundef %20)
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 1, ptr %4, align 4
br label %57
24: ; preds = %17
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %25, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 10
br i1 %33, label %34, label %50
34: ; preds = %24
store i32 0, ptr %9, align 4
br label %35
35: ; preds = %44, %34
%36 = call i32 (...) @getchar()
store i32 %36, ptr %8, align 4
%37 = icmp ne i32 %36, 10
br i1 %37, label %38, label %42
38: ; preds = %35
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr @EOF, align 4
%41 = icmp ne i32 %39, %40
br label %42
42: ; preds = %38, %35
%43 = phi i1 [ false, %35 ], [ %41, %38 ]
br i1 %43, label %44, label %45
44: ; preds = %42
store i32 1, ptr %9, align 4
br label %35, !llvm.loop !6
45: ; preds = %42
%46 = load i32, ptr %9, align 4
%47 = icmp eq i32 %46, 1
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 2, i32 0
store i32 %49, ptr %4, align 4
br label %57
50: ; preds = %24
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
%53 = call i32 @strlen(ptr noundef %52)
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %51, i64 %55
store i8 0, ptr %56, align 1
store i32 0, ptr %4, align 4
br label %57
57: ; preds = %50, %45, %23
%58 = load i32, ptr %4, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare ptr @fgets(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @strlen(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg32os08n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_line(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fflush(i32 noundef %15)
br label %17
17: ; preds = %12, %3
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = load i32, ptr @stdin, align 4
%21 = call ptr @fgets(ptr noundef %18, i64 noundef %19, i32 noundef %20)
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 1, ptr %4, align 4
br label %57
24: ; preds = %17
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %25, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 10
br i1 %33, label %34, label %50
34: ; preds = %24
store i32 0, ptr %9, align 4
br label %35
35: ; preds = %44, %34
%36 = call i32 (...) @getchar()
store i32 %36, ptr %8, align 4
%37 = icmp ne i32 %36, 10
br i1 %37, label %38, label %42
38: ; preds = %35
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr @EOF, align 4
%41 = icmp ne i32 %39, %40
br label %42
42: ; preds = %38, %35
%43 = phi i1 [ false, %35 ], [ %41, %38 ]
br i1 %43, label %44, label %45
44: ; preds = %42
store i32 1, ptr %9, align 4
br label %35, !llvm.loop !6
45: ; preds = %42
%46 = load i32, ptr %9, align 4
%47 = icmp eq i32 %46, 1
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 2, i32 0
store i32 %49, ptr %4, align 4
br label %57
50: ; preds = %24
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
%53 = call i32 @strlen(ptr noundef %52)
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %51, i64 %55
store i8 0, ptr %56, align 1
store i32 0, ptr %4, align 4
br label %57
57: ; preds = %50, %45, %23
%58 = load i32, ptr %4, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare ptr @fgets(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @strlen(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph5sqb6j7.c'
source_filename = "/tmp/tmph5sqb6j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randommove() #0 {
%1 = alloca i32, align 4
%2 = call i64 @time(ptr noundef null)
%3 = trunc i64 %2 to i32
%4 = call i32 @abs(i32 noundef %3) #3
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = srem i32 %5, 9
ret i32 %6
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
declare i64 @time(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph5sqb6j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randommove() #0 {
%1 = alloca i32, align 4
%2 = call i64 @time(ptr noundef null)
%3 = trunc i64 %2 to i32
%4 = call i32 @abs(i32 noundef %3) #3
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = srem i32 %5, 9
ret i32 %6
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
declare i64 @time(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq1djbc9c.c'
source_filename = "/tmp/tmpq1djbc9c.c"
target datalayout = "e-m:e-p270: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/tmpq1djbc9c.c"
target datalayout = "e-m:e-p270: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/tmpo48s_078.c'
source_filename = "/tmp/tmpo48s_078.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Squareing\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dsquare(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fmul double %4, %5
ret double %6
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo48s_078.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Squareing\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dsquare(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fmul double %4, %5
ret double %6
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqwkh6lz7.c'
source_filename = "/tmp/tmpqwkh6lz7.c"
target datalayout = "e-m:e-p270: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/tmpqwkh6lz7.c"
target datalayout = "e-m:e-p270: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/tmpls9mei17.c'
source_filename = "/tmp/tmpls9mei17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AFMT_U8 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wmt_sw_u2s(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr @AFMT_U8, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %29
11: ; preds = %3
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %25, %11
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp ult i32 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = zext 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 = xor i32 %22, 128
%24 = trunc i32 %23 to i8
store i8 %24, ptr %20, align 1
br label %25
25: ; preds = %16
%26 = load i32, ptr %7, align 4
%27 = add i32 %26, 1
store i32 %27, ptr %7, align 4
br label %12, !llvm.loop !6
28: ; preds = %12
br label %29
29: ; preds = %28, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpls9mei17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AFMT_U8 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wmt_sw_u2s(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr @AFMT_U8, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %31
11: ; preds = %3
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ult i32 %12, %13
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %24
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %7, align 4
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = xor i32 %21, 128
%23 = trunc i32 %22 to i8
store i8 %23, ptr %19, align 1
br label %24
24: ; preds = %15
%25 = load i32, ptr %7, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp ult i32 %27, %28
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %11
br label %31
31: ; preds = %30, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcu4fqa75.c'
source_filename = "/tmp/tmpcu4fqa75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"sm64.split/bin/font_graphics.bin\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"^ Hex ^ A ^ Index ^ Seg Addr ^ T \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"^\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%%%%%c%%%%\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"| %02X | %s | \00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c" - | - | \00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c" %02X | %08X | \00", align 1
@.str.8 = private unnamed_addr constant [98 x i8] c" %02X | %08X | {{http://queueram.com/n64/sm64/textures/textures/font_graphics.0x%05X.png}} \00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca [8 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = call i64 @read_file(ptr noundef @.str, ptr noundef %6)
store i64 %16, ptr %7, align 8
store i32 0, ptr %9, align 4
br label %17
17: ; preds = %22, %2
%18 = load i32, ptr %9, align 4
%19 = icmp ult i32 %18, 3
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %22
22: ; preds = %20
%23 = load i32, ptr %9, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %9, align 4
br label %17, !llvm.loop !6
25: ; preds = %17
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %8, align 4
br label %27
27: ; preds = %134, %25
%28 = load i32, ptr %8, align 4
%29 = icmp ult i32 %28, 32
br i1 %29, label %30, label %137
30: ; preds = %27
store i32 1, ptr %9, align 4
br label %31
31: ; preds = %129, %30
%32 = load i32, ptr %9, align 4
%33 = icmp ult i32 %32, 4
br i1 %33, label %34, label %132
34: ; preds = %31
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = mul i32 32, %36
%38 = add i32 %35, %37
store i32 %38, ptr %10, align 4
%39 = load i32, ptr %10, align 4
%40 = call i32 @convertchar(i32 noundef %39)
store i32 %40, ptr %11, align 4
%41 = load i32, ptr %11, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %44
43: ; preds = %34
store i32 0, ptr %12, align 4
br label %87
44: ; preds = %34
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %11, align 4
%47 = mul nsw i32 4, %46
%48 = add nsw i32 30464, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %45, i64 %49
%51 = getelementptr inbounds i8, ptr %50, i64 0
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = shl i32 %53, 24
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %11, align 4
%57 = mul nsw i32 4, %56
%58 = add nsw i32 30464, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %55, i64 %59
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = load i8, ptr %61, align 1
%63 = zext i8 %62 to i32
%64 = shl i32 %63, 16
%65 = add nsw i32 %54, %64
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %11, align 4
%68 = mul nsw i32 4, %67
%69 = add nsw i32 30464, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %66, i64 %70
%72 = getelementptr inbounds i8, ptr %71, i64 2
%73 = load i8, ptr %72, align 1
%74 = zext i8 %73 to i32
%75 = shl i32 %74, 8
%76 = add nsw i32 %65, %75
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %11, align 4
%79 = mul nsw i32 4, %78
%80 = add nsw i32 30464, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %77, i64 %81
%83 = getelementptr inbounds i8, ptr %82, i64 3
%84 = load i8, ptr %83, align 1
%85 = zext i8 %84 to i32
%86 = add nsw i32 %76, %85
store i32 %86, ptr %12, align 4
br label %87
87: ; preds = %44, %43
%88 = load i32, ptr %12, align 4
%89 = and i32 16777215, %88
store i32 %89, ptr %13, align 4
%90 = load i32, ptr %10, align 4
%91 = call signext i8 @lookupchar(i32 noundef %90)
store i8 %91, ptr %14, align 1
%92 = load i8, ptr %14, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 124
br i1 %94, label %99, label %95
95: ; preds = %87
%96 = load i8, ptr %14, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 94
br i1 %98, label %99, label %103
99: ; preds = %95, %87
%100 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
%101 = load i8, ptr %14, align 1
%102 = call i32 @sprintf(ptr noundef %100, ptr noundef @.str.3, i8 noundef signext %101)
br label %107
103: ; preds = %95
%104 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
%105 = load i8, ptr %14, align 1
%106 = call i32 @sprintf(ptr noundef %104, ptr noundef @.str.4, i8 noundef signext %105)
br label %107
107: ; preds = %103, %99
%108 = load i32, ptr %10, align 4
%109 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %108, ptr noundef %109)
%111 = load i32, ptr %12, align 4
%112 = icmp eq i32 %111, 0
br i1 %112, label %113, label %123
113: ; preds = %107
%114 = load i32, ptr %11, align 4
%115 = icmp eq i32 %114, -1
br i1 %115, label %116, label %118
116: ; preds = %113
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %122
118: ; preds = %113
%119 = load i32, ptr %11, align 4
%120 = load i32, ptr %12, align 4
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %119, i32 noundef %120)
br label %122
122: ; preds = %118, %116
br label %128
123: ; preds = %107
%124 = load i32, ptr %11, align 4
%125 = load i32, ptr %12, align 4
%126 = load i32, ptr %13, align 4
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %124, i32 noundef %125, i32 noundef %126)
br label %128
128: ; preds = %123, %122
br label %129
129: ; preds = %128
%130 = load i32, ptr %9, align 4
%131 = add i32 %130, 1
store i32 %131, ptr %9, align 4
br label %31, !llvm.loop !8
132: ; preds = %31
%133 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %134
134: ; preds = %132
%135 = load i32, ptr %8, align 4
%136 = add i32 %135, 1
store i32 %136, ptr %8, align 4
br label %27, !llvm.loop !9
137: ; preds = %27
%138 = load ptr, ptr %6, align 8
%139 = call i32 @free(ptr noundef %138)
ret i32 0
}
declare i64 @read_file(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @convertchar(i32 noundef) #1
declare signext i8 @lookupchar(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcu4fqa75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"sm64.split/bin/font_graphics.bin\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"^ Hex ^ A ^ Index ^ Seg Addr ^ T \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"^\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%%%%%c%%%%\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"| %02X | %s | \00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c" - | - | \00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c" %02X | %08X | \00", align 1
@.str.8 = private unnamed_addr constant [98 x i8] c" %02X | %08X | {{http://queueram.com/n64/sm64/textures/textures/font_graphics.0x%05X.png}} \00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca [8 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = call i64 @read_file(ptr noundef @.str, ptr noundef %6)
store i64 %16, ptr %7, align 8
store i32 0, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp ult i32 %17, 3
br i1 %18, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %21
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %21
21: ; preds = %19
%22 = load i32, ptr %9, align 4
%23 = add i32 %22, 1
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp ult i32 %24, 3
br i1 %25, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %2
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp ult i32 %28, 32
br i1 %29, label %.lr.ph5, label %140
.lr.ph5: ; preds = %26
br label %30
30: ; preds = %.lr.ph5, %135
store i32 1, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = icmp ult i32 %31, 4
br i1 %32, label %.lr.ph2, label %133
.lr.ph2: ; preds = %30
br label %33
33: ; preds = %.lr.ph2, %128
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %9, align 4
%36 = mul i32 32, %35
%37 = add i32 %34, %36
store i32 %37, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = call i32 @convertchar(i32 noundef %38)
store i32 %39, ptr %11, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %43
42: ; preds = %33
store i32 0, ptr %12, align 4
br label %86
43: ; preds = %33
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %11, align 4
%46 = mul nsw i32 4, %45
%47 = add nsw i32 30464, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %44, i64 %48
%50 = getelementptr inbounds i8, ptr %49, i64 0
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = shl i32 %52, 24
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %11, align 4
%56 = mul nsw i32 4, %55
%57 = add nsw i32 30464, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %54, i64 %58
%60 = getelementptr inbounds i8, ptr %59, i64 1
%61 = load i8, ptr %60, align 1
%62 = zext i8 %61 to i32
%63 = shl i32 %62, 16
%64 = add nsw i32 %53, %63
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %11, align 4
%67 = mul nsw i32 4, %66
%68 = add nsw i32 30464, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %65, i64 %69
%71 = getelementptr inbounds i8, ptr %70, i64 2
%72 = load i8, ptr %71, align 1
%73 = zext i8 %72 to i32
%74 = shl i32 %73, 8
%75 = add nsw i32 %64, %74
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr %11, align 4
%78 = mul nsw i32 4, %77
%79 = add nsw i32 30464, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %76, i64 %80
%82 = getelementptr inbounds i8, ptr %81, i64 3
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = add nsw i32 %75, %84
store i32 %85, ptr %12, align 4
br label %86
86: ; preds = %43, %42
%87 = load i32, ptr %12, align 4
%88 = and i32 16777215, %87
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %10, align 4
%90 = call signext i8 @lookupchar(i32 noundef %89)
store i8 %90, ptr %14, align 1
%91 = load i8, ptr %14, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 124
br i1 %93, label %98, label %94
94: ; preds = %86
%95 = load i8, ptr %14, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 94
br i1 %97, label %98, label %102
98: ; preds = %94, %86
%99 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
%100 = load i8, ptr %14, align 1
%101 = call i32 @sprintf(ptr noundef %99, ptr noundef @.str.3, i8 noundef signext %100)
br label %106
102: ; preds = %94
%103 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
%104 = load i8, ptr %14, align 1
%105 = call i32 @sprintf(ptr noundef %103, ptr noundef @.str.4, i8 noundef signext %104)
br label %106
106: ; preds = %102, %98
%107 = load i32, ptr %10, align 4
%108 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %107, ptr noundef %108)
%110 = load i32, ptr %12, align 4
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %122
112: ; preds = %106
%113 = load i32, ptr %11, align 4
%114 = icmp eq i32 %113, -1
br i1 %114, label %115, label %117
115: ; preds = %112
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %121
117: ; preds = %112
%118 = load i32, ptr %11, align 4
%119 = load i32, ptr %12, align 4
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %118, i32 noundef %119)
br label %121
121: ; preds = %117, %115
br label %127
122: ; preds = %106
%123 = load i32, ptr %11, align 4
%124 = load i32, ptr %12, align 4
%125 = load i32, ptr %13, align 4
%126 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %123, i32 noundef %124, i32 noundef %125)
br label %127
127: ; preds = %122, %121
br label %128
128: ; preds = %127
%129 = load i32, ptr %9, align 4
%130 = add i32 %129, 1
store i32 %130, ptr %9, align 4
%131 = load i32, ptr %9, align 4
%132 = icmp ult i32 %131, 4
br i1 %132, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %128
br label %133
133: ; preds = %._crit_edge3, %30
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %135
135: ; preds = %133
%136 = load i32, ptr %8, align 4
%137 = add i32 %136, 1
store i32 %137, ptr %8, align 4
%138 = load i32, ptr %8, align 4
%139 = icmp ult i32 %138, 32
br i1 %139, label %30, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %135
br label %140
140: ; preds = %._crit_edge6, %26
%141 = load ptr, ptr %6, align 8
%142 = call i32 @free(ptr noundef %141)
ret i32 0
}
declare i64 @read_file(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @convertchar(i32 noundef) #1
declare signext i8 @lookupchar(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7vi70btu.c'
source_filename = "/tmp/tmp7vi70btu.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Bad key length %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @ANT_SetNetworkKeya(i8 noundef zeroext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca [9 x i8], align 1
%7 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp ne i32 %9, 16
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13)
store i8 0, ptr %3, align 1
br label %117
15: ; preds = %2
%16 = load i8, ptr %4, align 1
%17 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
store i8 %16, ptr %17, align 1
store i32 0, ptr %7, align 4
br label %18
18: ; preds = %111, %15
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %19, 8
br i1 %20, label %21, label %114
21: ; preds = %18
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = mul nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = icmp sge i32 %28, 48
br i1 %29, label %30, label %48
30: ; preds = %21
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %7, align 4
%33 = mul nsw i32 %32, 2
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
%38 = icmp sle i32 %37, 57
br i1 %38, label %39, label %48
39: ; preds = %30
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %7, align 4
%42 = mul nsw i32 %41, 2
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = sub nsw i32 %46, 48
br label %59
48: ; preds = %30, %21
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %7, align 4
%51 = mul nsw i32 %50, 2
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %49, i64 %52
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = and i32 %55, 223
%57 = sub nsw i32 %56, 65
%58 = add nsw i32 %57, 10
br label %59
59: ; preds = %48, %39
%60 = phi i32 [ %47, %39 ], [ %58, %48 ]
%61 = mul nsw i32 %60, 16
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %7, align 4
%64 = mul nsw i32 %63, 2
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %62, i64 %66
%68 = load i8, ptr %67, align 1
%69 = zext i8 %68 to i32
%70 = icmp sge i32 %69, 48
br i1 %70, label %71, label %91
71: ; preds = %59
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %7, align 4
%74 = mul nsw i32 %73, 2
%75 = add nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %72, i64 %76
%78 = load i8, ptr %77, align 1
%79 = zext i8 %78 to i32
%80 = icmp sle i32 %79, 57
br i1 %80, label %81, label %91
81: ; preds = %71
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %7, align 4
%84 = mul nsw i32 %83, 2
%85 = add nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %82, i64 %86
%88 = load i8, ptr %87, align 1
%89 = zext i8 %88 to i32
%90 = sub nsw i32 %89, 48
br label %103
91: ; preds = %71, %59
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %7, align 4
%94 = mul nsw i32 %93, 2
%95 = add nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %92, i64 %96
%98 = load i8, ptr %97, align 1
%99 = zext i8 %98 to i32
%100 = and i32 %99, 223
%101 = sub nsw i32 %100, 65
%102 = add nsw i32 %101, 10
br label %103
103: ; preds = %91, %81
%104 = phi i32 [ %90, %81 ], [ %102, %91 ]
%105 = add nsw i32 %61, %104
%106 = trunc i32 %105 to i8
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 1, %107
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 %109
store i8 %106, ptr %110, align 1
br label %111
111: ; preds = %103
%112 = load i32, ptr %7, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %7, align 4
br label %18, !llvm.loop !6
114: ; preds = %18
%115 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
%116 = call zeroext i8 @msg_send(i32 noundef 70, ptr noundef %115, i32 noundef 9)
store i8 %116, ptr %3, align 1
br label %117
117: ; preds = %114, %11
%118 = load i8, ptr %3, align 1
ret i8 %118
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare zeroext i8 @msg_send(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7vi70btu.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Bad key length %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @ANT_SetNetworkKeya(i8 noundef zeroext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca [9 x i8], align 1
%7 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp ne i32 %9, 16
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13)
store i8 0, ptr %3, align 1
br label %118
15: ; preds = %2
%16 = load i8, ptr %4, align 1
%17 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
store i8 %16, ptr %17, align 1
store i32 0, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 8
br i1 %19, label %.lr.ph, label %115
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %110
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %7, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = icmp sge i32 %27, 48
br i1 %28, label %29, label %47
29: ; preds = %20
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = mul nsw i32 %31, 2
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = icmp sle i32 %36, 57
br i1 %37, label %38, label %47
38: ; preds = %29
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = mul nsw i32 %40, 2
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = sub nsw i32 %45, 48
br label %58
47: ; preds = %29, %20
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %49, 2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
%53 = load i8, ptr %52, align 1
%54 = zext i8 %53 to i32
%55 = and i32 %54, 223
%56 = sub nsw i32 %55, 65
%57 = add nsw i32 %56, 10
br label %58
58: ; preds = %47, %38
%59 = phi i32 [ %46, %38 ], [ %57, %47 ]
%60 = mul nsw i32 %59, 16
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %7, align 4
%63 = mul nsw i32 %62, 2
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %61, i64 %65
%67 = load i8, ptr %66, align 1
%68 = zext i8 %67 to i32
%69 = icmp sge i32 %68, 48
br i1 %69, label %70, label %90
70: ; preds = %58
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %7, align 4
%73 = mul nsw i32 %72, 2
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %71, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = icmp sle i32 %78, 57
br i1 %79, label %80, label %90
80: ; preds = %70
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %7, align 4
%83 = mul nsw i32 %82, 2
%84 = add nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %81, i64 %85
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i32
%89 = sub nsw i32 %88, 48
br label %102
90: ; preds = %70, %58
%91 = load ptr, ptr %5, align 8
%92 = load i32, ptr %7, align 4
%93 = mul nsw i32 %92, 2
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %91, i64 %95
%97 = load i8, ptr %96, align 1
%98 = zext i8 %97 to i32
%99 = and i32 %98, 223
%100 = sub nsw i32 %99, 65
%101 = add nsw i32 %100, 10
br label %102
102: ; preds = %90, %80
%103 = phi i32 [ %89, %80 ], [ %101, %90 ]
%104 = add nsw i32 %60, %103
%105 = trunc i32 %104 to i8
%106 = load i32, ptr %7, align 4
%107 = add nsw i32 1, %106
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 %108
store i8 %105, ptr %109, align 1
br label %110
110: ; preds = %102
%111 = load i32, ptr %7, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %7, align 4
%113 = load i32, ptr %7, align 4
%114 = icmp slt i32 %113, 8
br i1 %114, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %110
br label %115
115: ; preds = %._crit_edge, %15
%116 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
%117 = call zeroext i8 @msg_send(i32 noundef 70, ptr noundef %116, i32 noundef 9)
store i8 %117, ptr %3, align 1
br label %118
118: ; preds = %115, %11
%119 = load i8, ptr %3, align 1
ret i8 %119
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare zeroext i8 @msg_send(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg7p996fx.c'
source_filename = "/tmp/tmpg7p996fx.c"
target datalayout = "e-m:e-p270: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/tmpg7p996fx.c"
target datalayout = "e-m:e-p270: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/tmpi3p72oed.c'
source_filename = "/tmp/tmpi3p72oed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi3p72oed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfe3vsij4.c'
source_filename = "/tmp/tmpfe3vsij4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\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 void @ce_print_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 32, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 31, ptr %4, align 4
br label %5
5: ; preds = %25, %1
%6 = load i32, ptr %4, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %28
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = shl i32 1, %9
%11 = load i32, ptr %2, align 4
%12 = and i32 %10, %11
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = call i32 @printf(ptr noundef @.str)
br label %18
16: ; preds = %8
%17 = call i32 @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %14
%19 = load i32, ptr %4, align 4
%20 = srem i32 %19, 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 @printf(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %18
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %4, align 4
br label %5, !llvm.loop !6
28: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfe3vsij4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\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 void @ce_print_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 32, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 31, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %24
%8 = load i32, ptr %4, align 4
%9 = shl i32 1, %8
%10 = load i32, ptr %2, align 4
%11 = and i32 %9, %10
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = call i32 @printf(ptr noundef @.str)
br label %17
15: ; preds = %7
%16 = call i32 @printf(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %13
%18 = load i32, ptr %4, align 4
%19 = srem i32 %18, 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %17
br label %24
24: ; preds = %23
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sge i32 %27, 0
br i1 %28, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmponcdmuk8.c'
source_filename = "/tmp/tmponcdmuk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @daemonize()
%7 = call i32 @tcpserver(i32 noundef 6123)
%8 = call i32 (...) @terminate()
ret i32 0
}
declare i32 @daemonize(...) #1
declare i32 @tcpserver(i32 noundef) #1
declare i32 @terminate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmponcdmuk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @daemonize()
%7 = call i32 @tcpserver(i32 noundef 6123)
%8 = call i32 (...) @terminate()
ret i32 0
}
declare i32 @daemonize(...) #1
declare i32 @tcpserver(i32 noundef) #1
declare i32 @terminate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmkv9vi7t.c'
source_filename = "/tmp/tmpmkv9vi7t.c"
target datalayout = "e-m:e-p270: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/tmpmkv9vi7t.c"
target datalayout = "e-m:e-p270: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/tmp7ijofpzf.c'
source_filename = "/tmp/tmp7ijofpzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clubs\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"diamonds\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"hearts\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"spades\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"Jack\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"Queen\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"King\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"%s of %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getCard() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca ptr, align 8
%4 = call i32 (...) @randomize()
%5 = call i32 @randomInteger(i32 noundef 1, i32 noundef 4)
switch i32 %5, label %10 [
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
]
6: ; preds = %0
store ptr @.str, ptr %3, align 8
br label %11
7: ; preds = %0
store ptr @.str.1, ptr %3, align 8
br label %11
8: ; preds = %0
store ptr @.str.2, ptr %3, align 8
br label %11
9: ; preds = %0
store ptr @.str.3, ptr %3, align 8
br label %11
10: ; preds = %0
br label %11
11: ; preds = %10, %9, %8, %7, %6
%12 = call i32 @randomInteger(i32 noundef 1, i32 noundef 13)
store i32 %12, ptr %1, align 4
switch i32 %12, label %25 [
i32 1, label %13
i32 11, label %16
i32 12, label %19
i32 13, label %22
]
13: ; preds = %11
%14 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.4)
br label %29
16: ; preds = %11
%17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str.5)
br label %29
19: ; preds = %11
%20 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.6)
br label %29
22: ; preds = %11
%23 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.7)
br label %29
25: ; preds = %11
%26 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%27 = load i32, ptr %1, align 4
%28 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.8, i32 noundef %27)
br label %29
29: ; preds = %25, %22, %19, %16, %13
%30 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%31 = load ptr, ptr %3, align 8
%32 = call i32 @printf(ptr noundef @.str.9, ptr noundef %30, ptr noundef %31)
ret void
}
declare i32 @randomize(...) #1
declare i32 @randomInteger(i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ijofpzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clubs\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"diamonds\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"hearts\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"spades\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"Jack\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"Queen\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"King\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"%s of %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getCard() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca ptr, align 8
%4 = call i32 (...) @randomize()
%5 = call i32 @randomInteger(i32 noundef 1, i32 noundef 4)
switch i32 %5, label %10 [
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
]
6: ; preds = %0
store ptr @.str, ptr %3, align 8
br label %11
7: ; preds = %0
store ptr @.str.1, ptr %3, align 8
br label %11
8: ; preds = %0
store ptr @.str.2, ptr %3, align 8
br label %11
9: ; preds = %0
store ptr @.str.3, ptr %3, align 8
br label %11
10: ; preds = %0
br label %11
11: ; preds = %10, %9, %8, %7, %6
%12 = call i32 @randomInteger(i32 noundef 1, i32 noundef 13)
store i32 %12, ptr %1, align 4
switch i32 %12, label %25 [
i32 1, label %13
i32 11, label %16
i32 12, label %19
i32 13, label %22
]
13: ; preds = %11
%14 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.4)
br label %29
16: ; preds = %11
%17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str.5)
br label %29
19: ; preds = %11
%20 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.6)
br label %29
22: ; preds = %11
%23 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%24 = call i32 @strcpy(ptr noundef %23, ptr noundef @.str.7)
br label %29
25: ; preds = %11
%26 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%27 = load i32, ptr %1, align 4
%28 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.8, i32 noundef %27)
br label %29
29: ; preds = %25, %22, %19, %16, %13
%30 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%31 = load ptr, ptr %3, align 8
%32 = call i32 @printf(ptr noundef @.str.9, ptr noundef %30, ptr noundef %31)
ret void
}
declare i32 @randomize(...) #1
declare i32 @randomInteger(i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplmqs2vbo.c'
source_filename = "/tmp/tmplmqs2vbo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eu_log_exit() #0 {
%1 = call i32 (...) @closelog()
ret i32 0
}
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplmqs2vbo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eu_log_exit() #0 {
%1 = call i32 (...) @closelog()
ret i32 0
}
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8as2nuvo.c'
source_filename = "/tmp/tmp8as2nuvo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @enumSample()
ret i32 0
}
declare i32 @enumSample(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8as2nuvo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @enumSample()
ret i32 0
}
declare i32 @enumSample(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplkezd8nw.c'
source_filename = "/tmp/tmplkezd8nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"main_preinit3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_preinit3() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplkezd8nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"main_preinit3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_preinit3() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzr30g_y3.c'
source_filename = "/tmp/tmpzr30g_y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @is_mkv(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 @real_open(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %4, align 4
br label %31
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr @S_IRUSR, align 4
%20 = load i32, ptr @S_IWUSR, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IRGRP, align 4
%23 = or i32 %21, %22
%24 = load i32, ptr @S_IWGRP, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @S_IROTH, align 4
%27 = or i32 %25, %26
%28 = load i32, ptr @S_IWOTH, align 4
%29 = or i32 %27, %28
%30 = call i32 @real_open(ptr noundef %17, i32 noundef %18, i32 noundef %29)
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %16, %11
%32 = load i32, ptr %4, align 4
ret i32 %32
}
declare i32 @is_mkv(ptr noundef) #1
declare i32 @real_open(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/tmpzr30g_y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @is_mkv(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 @real_open(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %4, align 4
br label %31
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr @S_IRUSR, align 4
%20 = load i32, ptr @S_IWUSR, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IRGRP, align 4
%23 = or i32 %21, %22
%24 = load i32, ptr @S_IWGRP, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @S_IROTH, align 4
%27 = or i32 %25, %26
%28 = load i32, ptr @S_IWOTH, align 4
%29 = or i32 %27, %28
%30 = call i32 @real_open(ptr noundef %17, i32 noundef %18, i32 noundef %29)
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %16, %11
%32 = load i32, ptr %4, align 4
ret i32 %32
}
declare i32 @is_mkv(ptr noundef) #1
declare i32 @real_open(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/tmp_bue2h4u.c'
source_filename = "/tmp/tmp_bue2h4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bit_AES = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bue2h4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bit_AES = 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/tmpgn9f2y82.c'
source_filename = "/tmp/tmpgn9f2y82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strxfrm(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @__strxfrm_l(ptr noundef %7, ptr noundef %8, i64 noundef %9, i32 noundef 0)
ret i64 %10
}
declare i64 @__strxfrm_l(ptr noundef, 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/tmpgn9f2y82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strxfrm(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @__strxfrm_l(ptr noundef %7, ptr noundef %8, i64 noundef %9, i32 noundef 0)
ret i64 %10
}
declare i64 @__strxfrm_l(ptr noundef, 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/tmpvat9ea10.c'
source_filename = "/tmp/tmpvat9ea10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_dup_var(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @env_get_var(ptr noundef %5, ptr noundef %6)
%8 = call ptr @ft_strdup(i32 noundef %7)
ret ptr %8
}
declare ptr @ft_strdup(i32 noundef) #1
declare i32 @env_get_var(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/tmpvat9ea10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_dup_var(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @env_get_var(ptr noundef %5, ptr noundef %6)
%8 = call ptr @ft_strdup(i32 noundef %7)
ret ptr %8
}
declare ptr @ft_strdup(i32 noundef) #1
declare i32 @env_get_var(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.