llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpbv8ugq3k.c'
source_filename = "/tmp/tmpbv8ugq3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_iochannel_set_noclose\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_iochannel_set_noclose() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpbv8ugq3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_iochannel_set_noclose\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_iochannel_set_noclose() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpyl0iy2r3.c'
source_filename = "/tmp/tmpyl0iy2r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syspool_quaddobl_clear() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 699, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyl0iy2r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syspool_quaddobl_clear() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 699, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpafua69p0.c'
source_filename = "/tmp/tmpafua69p0.c"
target datalayout = "e-m:e-p270: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/tmpafua69p0.c"
target datalayout = "e-m:e-p270: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/tmpvmv9qas1.c'
source_filename = "/tmp/tmpvmv9qas1.c"
target datalayout = "e-m:e-p270: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/tmpvmv9qas1.c"
target datalayout = "e-m:e-p270: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/tmpv8f70cqo.c'
source_filename = "/tmp/tmpv8f70cqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @renderer_flush_queues() #0 {
%1 = call i32 (...) @real_renderer_flush_queues()
ret void
}
declare i32 @real_renderer_flush_queues(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv8f70cqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @renderer_flush_queues() #0 {
%1 = call i32 (...) @real_renderer_flush_queues()
ret void
}
declare i32 @real_renderer_flush_queues(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4jn6966a.c'
source_filename = "/tmp/tmp4jn6966a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pexit(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 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4jn6966a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pexit(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 @perror(ptr noundef %3)
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @exit(i32 noundef %5) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpih28cj6l.c'
source_filename = "/tmp/tmpih28cj6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_array_dup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %11, align 8
%13 = add i64 %12, 7
%14 = lshr i64 %13, 3
%15 = add i64 %14, 8
store i64 %15, ptr %5, align 8
%16 = load i64, ptr %5, align 8
%17 = call ptr @malloc(i64 noundef %16) #3
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %25
20: ; preds = %9
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %5, align 8
%24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i64 noundef %23)
br label %25
25: ; preds = %20, %9
%26 = load ptr, ptr %6, align 8
store ptr %26, ptr %2, align 8
br label %28
27: ; preds = %1
store ptr null, ptr %2, align 8
br label %28
28: ; preds = %27, %25
%29 = load ptr, ptr %2, align 8
ret ptr %29
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, 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/tmpih28cj6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_array_dup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %11, align 8
%13 = add i64 %12, 7
%14 = lshr i64 %13, 3
%15 = add i64 %14, 8
store i64 %15, ptr %5, align 8
%16 = load i64, ptr %5, align 8
%17 = call ptr @malloc(i64 noundef %16) #3
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %25
20: ; preds = %9
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %5, align 8
%24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i64 noundef %23)
br label %25
25: ; preds = %20, %9
%26 = load ptr, ptr %6, align 8
store ptr %26, ptr %2, align 8
br label %28
27: ; preds = %1
store ptr null, ptr %2, align 8
br label %28
28: ; preds = %27, %25
%29 = load ptr, ptr %2, align 8
ret ptr %29
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, 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/tmpo6g0z9tc.c'
source_filename = "/tmp/tmpo6g0z9tc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSearch(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%15 = load i64, ptr %8, align 8
%16 = icmp ult i64 %15, 2
br i1 %16, label %17, label %19
17: ; preds = %5
%18 = load ptr, ptr %7, align 8
store ptr %18, ptr %6, align 8
br label %137
19: ; preds = %5
%20 = call i64 (...) @rand()
%21 = load i64, ptr %8, align 8
%22 = urem i64 %20, %21
%23 = trunc i64 %22 to i32
store i32 %23, ptr %14, align 4
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %14, align 4
%27 = sext i32 %26 to i64
%28 = load i64, ptr %9, align 8
%29 = mul i64 %27, %28
%30 = getelementptr i8, ptr %25, i64 %29
%31 = load i64, ptr %9, align 8
%32 = call i32 @swap(ptr noundef %24, ptr noundef %30, i64 noundef %31)
store i32 1, ptr %12, align 4
%33 = load i64, ptr %8, align 8
%34 = sub i64 %33, 1
%35 = trunc i64 %34 to i32
store i32 %35, ptr %13, align 4
br label %36
36: ; preds = %71, %19
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %13, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %72
40: ; preds = %36
%41 = load ptr, ptr %11, align 8
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %12, align 4
%44 = sext i32 %43 to i64
%45 = load i64, ptr %9, align 8
%46 = mul i64 %44, %45
%47 = getelementptr i8, ptr %42, i64 %46
%48 = load ptr, ptr %7, align 8
%49 = call i32 %41(ptr noundef %47, ptr noundef %48)
%50 = icmp sgt i32 %49, 0
br i1 %50, label %51, label %68
51: ; preds = %40
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %12, align 4
%54 = sext i32 %53 to i64
%55 = load i64, ptr %9, align 8
%56 = mul i64 %54, %55
%57 = getelementptr i8, ptr %52, i64 %56
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = load i64, ptr %9, align 8
%62 = mul i64 %60, %61
%63 = getelementptr i8, ptr %58, i64 %62
%64 = load i64, ptr %9, align 8
%65 = call i32 @swap(ptr noundef %57, ptr noundef %63, i64 noundef %64)
%66 = load i32, ptr %13, align 4
%67 = add nsw i32 %66, -1
store i32 %67, ptr %13, align 4
br label %71
68: ; preds = %40
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
br label %71
71: ; preds = %68, %51
br label %36, !llvm.loop !6
72: ; preds = %36
%73 = load ptr, ptr %11, align 8
%74 = load ptr, ptr %7, align 8
%75 = load ptr, ptr %7, align 8
%76 = load i32, ptr %12, align 4
%77 = sext i32 %76 to i64
%78 = load i64, ptr %9, align 8
%79 = mul i64 %77, %78
%80 = getelementptr i8, ptr %75, i64 %79
%81 = call i32 %73(ptr noundef %74, ptr noundef %80)
%82 = icmp sgt i32 %81, 0
br i1 %82, label %83, label %93
83: ; preds = %72
%84 = load ptr, ptr %7, align 8
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %12, align 4
%87 = sext i32 %86 to i64
%88 = load i64, ptr %9, align 8
%89 = mul i64 %87, %88
%90 = getelementptr i8, ptr %85, i64 %89
%91 = load i64, ptr %9, align 8
%92 = call i32 @swap(ptr noundef %84, ptr noundef %90, i64 noundef %91)
br label %93
93: ; preds = %83, %72
%94 = load i32, ptr %12, align 4
%95 = sext i32 %94 to i64
%96 = load i64, ptr %10, align 8
%97 = icmp eq i64 %95, %96
br i1 %97, label %98, label %106
98: ; preds = %93
%99 = load ptr, ptr %7, align 8
%100 = load i32, ptr %12, align 4
%101 = sub nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = load i64, ptr %9, align 8
%104 = mul i64 %102, %103
%105 = getelementptr i8, ptr %99, i64 %104
store ptr %105, ptr %6, align 8
br label %137
106: ; preds = %93
%107 = load i32, ptr %12, align 4
%108 = sext i32 %107 to i64
%109 = load i64, ptr %10, align 8
%110 = icmp ugt i64 %108, %109
br i1 %110, label %111, label %119
111: ; preds = %106
%112 = load ptr, ptr %7, align 8
%113 = load i32, ptr %12, align 4
%114 = sext i32 %113 to i64
%115 = load i64, ptr %9, align 8
%116 = load i64, ptr %10, align 8
%117 = load ptr, ptr %11, align 8
%118 = call ptr @quickSearch(ptr noundef %112, i64 noundef %114, i64 noundef %115, i64 noundef %116, ptr noundef %117)
store ptr %118, ptr %6, align 8
br label %137
119: ; preds = %106
%120 = load ptr, ptr %7, align 8
%121 = load i32, ptr %12, align 4
%122 = sext i32 %121 to i64
%123 = load i64, ptr %9, align 8
%124 = mul i64 %122, %123
%125 = getelementptr i8, ptr %120, i64 %124
%126 = load i64, ptr %8, align 8
%127 = load i32, ptr %12, align 4
%128 = sext i32 %127 to i64
%129 = sub i64 %126, %128
%130 = load i64, ptr %9, align 8
%131 = load i64, ptr %10, align 8
%132 = load i32, ptr %12, align 4
%133 = sext i32 %132 to i64
%134 = sub i64 %131, %133
%135 = load ptr, ptr %11, align 8
%136 = call ptr @quickSearch(ptr noundef %125, i64 noundef %129, i64 noundef %130, i64 noundef %134, ptr noundef %135)
store ptr %136, ptr %6, align 8
br label %137
137: ; preds = %119, %111, %98, %17
%138 = load ptr, ptr %6, align 8
ret ptr %138
}
declare i64 @rand(...) #1
declare i32 @swap(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo6g0z9tc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSearch(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%15 = load i64, ptr %8, align 8
%16 = icmp ult i64 %15, 2
br i1 %16, label %17, label %19
17: ; preds = %5
%18 = load ptr, ptr %7, align 8
store ptr %18, ptr %6, align 8
br label %139
19: ; preds = %5
%20 = call i64 (...) @rand()
%21 = load i64, ptr %8, align 8
%22 = urem i64 %20, %21
%23 = trunc i64 %22 to i32
store i32 %23, ptr %14, align 4
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %14, align 4
%27 = sext i32 %26 to i64
%28 = load i64, ptr %9, align 8
%29 = mul i64 %27, %28
%30 = getelementptr i8, ptr %25, i64 %29
%31 = load i64, ptr %9, align 8
%32 = call i32 @swap(ptr noundef %24, ptr noundef %30, i64 noundef %31)
store i32 1, ptr %12, align 4
%33 = load i64, ptr %8, align 8
%34 = sub i64 %33, 1
%35 = trunc i64 %34 to i32
store i32 %35, ptr %13, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %13, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph, label %74
.lr.ph: ; preds = %19
br label %39
39: ; preds = %.lr.ph, %70
%40 = load ptr, ptr %11, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = load i64, ptr %9, align 8
%45 = mul i64 %43, %44
%46 = getelementptr i8, ptr %41, i64 %45
%47 = load ptr, ptr %7, align 8
%48 = call i32 %40(ptr noundef %46, ptr noundef %47)
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %67
50: ; preds = %39
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %12, align 4
%53 = sext i32 %52 to i64
%54 = load i64, ptr %9, align 8
%55 = mul i64 %53, %54
%56 = getelementptr i8, ptr %51, i64 %55
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = load i64, ptr %9, align 8
%61 = mul i64 %59, %60
%62 = getelementptr i8, ptr %57, i64 %61
%63 = load i64, ptr %9, align 8
%64 = call i32 @swap(ptr noundef %56, ptr noundef %62, i64 noundef %63)
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %65, -1
store i32 %66, ptr %13, align 4
br label %70
67: ; preds = %39
%68 = load i32, ptr %12, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %12, align 4
br label %70
70: ; preds = %67, %50
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %13, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %74
74: ; preds = %._crit_edge, %19
%75 = load ptr, ptr %11, align 8
%76 = load ptr, ptr %7, align 8
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %12, align 4
%79 = sext i32 %78 to i64
%80 = load i64, ptr %9, align 8
%81 = mul i64 %79, %80
%82 = getelementptr i8, ptr %77, i64 %81
%83 = call i32 %75(ptr noundef %76, ptr noundef %82)
%84 = icmp sgt i32 %83, 0
br i1 %84, label %85, label %95
85: ; preds = %74
%86 = load ptr, ptr %7, align 8
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %12, align 4
%89 = sext i32 %88 to i64
%90 = load i64, ptr %9, align 8
%91 = mul i64 %89, %90
%92 = getelementptr i8, ptr %87, i64 %91
%93 = load i64, ptr %9, align 8
%94 = call i32 @swap(ptr noundef %86, ptr noundef %92, i64 noundef %93)
br label %95
95: ; preds = %85, %74
%96 = load i32, ptr %12, align 4
%97 = sext i32 %96 to i64
%98 = load i64, ptr %10, align 8
%99 = icmp eq i64 %97, %98
br i1 %99, label %100, label %108
100: ; preds = %95
%101 = load ptr, ptr %7, align 8
%102 = load i32, ptr %12, align 4
%103 = sub nsw i32 %102, 1
%104 = sext i32 %103 to i64
%105 = load i64, ptr %9, align 8
%106 = mul i64 %104, %105
%107 = getelementptr i8, ptr %101, i64 %106
store ptr %107, ptr %6, align 8
br label %139
108: ; preds = %95
%109 = load i32, ptr %12, align 4
%110 = sext i32 %109 to i64
%111 = load i64, ptr %10, align 8
%112 = icmp ugt i64 %110, %111
br i1 %112, label %113, label %121
113: ; preds = %108
%114 = load ptr, ptr %7, align 8
%115 = load i32, ptr %12, align 4
%116 = sext i32 %115 to i64
%117 = load i64, ptr %9, align 8
%118 = load i64, ptr %10, align 8
%119 = load ptr, ptr %11, align 8
%120 = call ptr @quickSearch(ptr noundef %114, i64 noundef %116, i64 noundef %117, i64 noundef %118, ptr noundef %119)
store ptr %120, ptr %6, align 8
br label %139
121: ; preds = %108
%122 = load ptr, ptr %7, align 8
%123 = load i32, ptr %12, align 4
%124 = sext i32 %123 to i64
%125 = load i64, ptr %9, align 8
%126 = mul i64 %124, %125
%127 = getelementptr i8, ptr %122, i64 %126
%128 = load i64, ptr %8, align 8
%129 = load i32, ptr %12, align 4
%130 = sext i32 %129 to i64
%131 = sub i64 %128, %130
%132 = load i64, ptr %9, align 8
%133 = load i64, ptr %10, align 8
%134 = load i32, ptr %12, align 4
%135 = sext i32 %134 to i64
%136 = sub i64 %133, %135
%137 = load ptr, ptr %11, align 8
%138 = call ptr @quickSearch(ptr noundef %127, i64 noundef %131, i64 noundef %132, i64 noundef %136, ptr noundef %137)
store ptr %138, ptr %6, align 8
br label %139
139: ; preds = %121, %113, %100, %17
%140 = load ptr, ptr %6, align 8
ret ptr %140
}
declare i64 @rand(...) #1
declare i32 @swap(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw36t0xod.c'
source_filename = "/tmp/tmpw36t0xod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @core_cpu_i_op_cc(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 @core_cpu_i__call(ptr noundef %5, ptr noundef %6, i32 noundef 2)
ret void
}
declare i32 @core_cpu_i__call(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/tmpw36t0xod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @core_cpu_i_op_cc(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 @core_cpu_i__call(ptr noundef %5, ptr noundef %6, i32 noundef 2)
ret void
}
declare i32 @core_cpu_i__call(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/tmp0jk8z5rm.c'
source_filename = "/tmp/tmp0jk8z5rm.c"
target datalayout = "e-m:e-p270: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/tmp0jk8z5rm.c"
target datalayout = "e-m:e-p270: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/tmpnrka0mq0.c'
source_filename = "/tmp/tmpnrka0mq0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [92 x i8] c"tb=\\St:na=\\SX: lf=\\Sn:cr=\\Sr:\09: \09\09\09 ff=\\Sf:cc=\\SC:uk=\\S :::ul=\\N^: \09\09\09 hb=\\N-:vb=\\N|:ll=\\N`\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"GRAPHICSMAP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_genv() #0 {
%1 = alloca ptr, align 8
%2 = call i32 @read_graphics(ptr noundef @.str)
%3 = call ptr @getenv(ptr noundef @.str.1)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
br label %10
7: ; preds = %0
%8 = load ptr, ptr %1, align 8
%9 = call i32 @read_graphics(ptr noundef %8)
br label %10
10: ; preds = %7, %6
ret void
}
declare i32 @read_graphics(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnrka0mq0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [92 x i8] c"tb=\\St:na=\\SX: lf=\\Sn:cr=\\Sr:\09: \09\09\09 ff=\\Sf:cc=\\SC:uk=\\S :::ul=\\N^: \09\09\09 hb=\\N-:vb=\\N|:ll=\\N`\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"GRAPHICSMAP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_genv() #0 {
%1 = alloca ptr, align 8
%2 = call i32 @read_graphics(ptr noundef @.str)
%3 = call ptr @getenv(ptr noundef @.str.1)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
br label %10
7: ; preds = %0
%8 = load ptr, ptr %1, align 8
%9 = call i32 @read_graphics(ptr noundef %8)
br label %10
10: ; preds = %7, %6
ret void
}
declare i32 @read_graphics(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo8kwdcci.c'
source_filename = "/tmp/tmpo8kwdcci.c"
target datalayout = "e-m:e-p270: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/tmpo8kwdcci.c"
target datalayout = "e-m:e-p270: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/tmp9t74eum9.c'
source_filename = "/tmp/tmp9t74eum9.c"
target datalayout = "e-m:e-p270: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/tmp9t74eum9.c"
target datalayout = "e-m:e-p270: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/tmpytv3t7in.c'
source_filename = "/tmp/tmpytv3t7in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"No response from CPU to read_blank_video.\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"CCD black level: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkhoffset(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [1024 x i8], align 16
%7 = alloca [1024 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [4 x i8], align 1
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%12 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
store i8 1, ptr %12, align 1
%13 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 1
store i8 0, ptr %13, align 1
%14 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 2
%15 = load i32, ptr %5, align 4
%16 = call i32 @convint(ptr noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
%19 = call i32 @buildpacket(ptr noundef %17, ptr noundef %8, i32 noundef 18, ptr noundef %18, i32 noundef 4)
%20 = load i32, ptr %4, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%22 = load i32, ptr %8, align 4
%23 = call i32 @write(i32 noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%26 = call i32 @listen(i32 noundef %24, ptr noundef %25)
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp sgt i32 %27, 1
br i1 %28, label %29, label %32
29: ; preds = %2
%30 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 4
%31 = call i32 @getint(ptr noundef %30)
store i32 %31, ptr %10, align 4
br label %34
32: ; preds = %2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %44
34: ; preds = %29
%35 = load i32, ptr %10, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %10, align 4
%38 = icmp sge i32 %37, 1000
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i32, ptr %10, align 4
%41 = icmp sle i32 %40, 10000
br i1 %41, label %42, label %43
42: ; preds = %39
store i32 1, ptr %3, align 4
br label %44
43: ; preds = %39, %34
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %43, %42, %32
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @convint(ptr noundef, i32 noundef) #1
declare i32 @buildpacket(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, ptr noundef) #1
declare i32 @getint(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpytv3t7in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"No response from CPU to read_blank_video.\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"CCD black level: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkhoffset(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [1024 x i8], align 16
%7 = alloca [1024 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [4 x i8], align 1
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%12 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
store i8 1, ptr %12, align 1
%13 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 1
store i8 0, ptr %13, align 1
%14 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 2
%15 = load i32, ptr %5, align 4
%16 = call i32 @convint(ptr noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
%19 = call i32 @buildpacket(ptr noundef %17, ptr noundef %8, i32 noundef 18, ptr noundef %18, i32 noundef 4)
%20 = load i32, ptr %4, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%22 = load i32, ptr %8, align 4
%23 = call i32 @write(i32 noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%26 = call i32 @listen(i32 noundef %24, ptr noundef %25)
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp sgt i32 %27, 1
br i1 %28, label %29, label %32
29: ; preds = %2
%30 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 4
%31 = call i32 @getint(ptr noundef %30)
store i32 %31, ptr %10, align 4
br label %34
32: ; preds = %2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %44
34: ; preds = %29
%35 = load i32, ptr %10, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %10, align 4
%38 = icmp sge i32 %37, 1000
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i32, ptr %10, align 4
%41 = icmp sle i32 %40, 10000
br i1 %41, label %42, label %43
42: ; preds = %39
store i32 1, ptr %3, align 4
br label %44
43: ; preds = %39, %34
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %43, %42, %32
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @convint(ptr noundef, i32 noundef) #1
declare i32 @buildpacket(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, ptr noundef) #1
declare i32 @getint(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr7632gzb.c'
source_filename = "/tmp/tmpr7632gzb.c"
target datalayout = "e-m:e-p270: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/tmpr7632gzb.c"
target datalayout = "e-m:e-p270: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/tmp2gsuszst.c'
source_filename = "/tmp/tmp2gsuszst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt_genrand_res53() #0 {
%1 = call double (...) @genrand_res53()
ret double %1
}
declare double @genrand_res53(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2gsuszst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt_genrand_res53() #0 {
%1 = call double (...) @genrand_res53()
ret double %1
}
declare double @genrand_res53(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn2w792x4.c'
source_filename = "/tmp/tmpn2w792x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_CHECK_TLEN = dso_local global i32 0, align 4
@ASN1_R_BAD_OBJECT_HEADER = dso_local global i32 0, align 4
@ASN1_R_TOO_LONG = dso_local global i32 0, align 4
@ASN1_R_WRONG_TAG = dso_local global i32 0, align 4
@V_ASN1_CONSTRUCTED = 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/tmpn2w792x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_CHECK_TLEN = dso_local global i32 0, align 4
@ASN1_R_BAD_OBJECT_HEADER = dso_local global i32 0, align 4
@ASN1_R_TOO_LONG = dso_local global i32 0, align 4
@ASN1_R_WRONG_TAG = dso_local global i32 0, align 4
@V_ASN1_CONSTRUCTED = 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/tmpqnnf234j.c'
source_filename = "/tmp/tmpqnnf234j.c"
target datalayout = "e-m:e-p270: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/tmpqnnf234j.c"
target datalayout = "e-m:e-p270: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/tmp139tpbks.c'
source_filename = "/tmp/tmp139tpbks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %3)
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i32, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %24, %0
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %14, i64 %21
%23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
%28 = load i32, ptr %3, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %47
30: ; preds = %27
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %47
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %14, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %40
store i32 %38, ptr %41, align 4
%42 = load i32, ptr %3, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45)
br label %106
47: ; preds = %30, %27
store i32 0, ptr %9, align 4
br label %48
48: ; preds = %60, %47
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %63
52: ; preds = %48
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %14, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %9, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %58
store i32 %56, ptr %59, align 4
br label %60
60: ; preds = %52
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
br label %48, !llvm.loop !8
63: ; preds = %48
%64 = load i32, ptr %4, align 4
store i32 %64, ptr %9, align 4
br label %65
65: ; preds = %97, %63
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %100
69: ; preds = %65
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %71
store i32 0, ptr %72, align 4
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %4, align 4
%75 = sub nsw i32 %73, %74
store i32 %75, ptr %8, align 4
br label %76
76: ; preds = %93, %69
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %9, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %96
80: ; preds = %76
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %9, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %86
%88 = load i32, ptr %87, align 4
%89 = add nsw i32 %84, %88
%90 = load i32, ptr %9, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %91
store i32 %89, ptr %92, align 4
br label %93
93: ; preds = %80
%94 = load i32, ptr %8, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %8, align 4
br label %76, !llvm.loop !9
96: ; preds = %76
br label %97
97: ; preds = %96
%98 = load i32, ptr %9, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %9, align 4
br label %65, !llvm.loop !10
100: ; preds = %65
%101 = load i32, ptr %3, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %102
%104 = load i32, ptr %103, align 4
%105 = call i32 @printf(ptr noundef @.str.1, i32 noundef %104)
br label %106
106: ; preds = %100, %34
store i32 0, ptr %1, align 4
%107 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %107)
%108 = load i32, ptr %1, align 4
ret i32 %108
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp139tpbks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %3)
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i32, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %23
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %14, i64 %20
%22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
%30 = load i32, ptr %3, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %32, label %49
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %49
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %14, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %42
store i32 %40, ptr %43, align 4
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47)
br label %114
49: ; preds = %32, %29
store i32 0, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph2, label %67
.lr.ph2: ; preds = %49
br label %53
53: ; preds = %.lr.ph2, %61
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %14, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %59
store i32 %57, ptr %60, align 4
br label %61
61: ; preds = %53
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %67
67: ; preds = %._crit_edge3, %49
%68 = load i32, ptr %4, align 4
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %3, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %.lr.ph8, label %108
.lr.ph8: ; preds = %67
br label %72
72: ; preds = %.lr.ph8, %102
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %74
store i32 0, ptr %75, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %4, align 4
%78 = sub nsw i32 %76, %77
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %.lr.ph5, label %101
.lr.ph5: ; preds = %72
br label %82
82: ; preds = %.lr.ph5, %95
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load i32, ptr %9, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %88
%90 = load i32, ptr %89, align 4
%91 = add nsw i32 %86, %90
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %93
store i32 %91, ptr %94, align 4
br label %95
95: ; preds = %82
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %8, align 4
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %9, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %82, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %95
br label %101
101: ; preds = %._crit_edge6, %72
br label %102
102: ; preds = %101
%103 = load i32, ptr %9, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %9, align 4
%105 = load i32, ptr %9, align 4
%106 = load i32, ptr %3, align 4
%107 = icmp sle i32 %105, %106
br i1 %107, label %72, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %102
br label %108
108: ; preds = %._crit_edge9, %67
%109 = load i32, ptr %3, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %110
%112 = load i32, ptr %111, align 4
%113 = call i32 @printf(ptr noundef @.str.1, i32 noundef %112)
br label %114
114: ; preds = %108, %36
store i32 0, ptr %1, align 4
%115 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %115)
%116 = load i32, ptr %1, align 4
ret i32 %116
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp_kcnpf8i.c'
source_filename = "/tmp/tmp_kcnpf8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcstrskipspc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @assert(ptr noundef %3)
br label %5
5: ; preds = %17, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp sle i32 %13, 32
br label %15
15: ; preds = %10, %5
%16 = phi i1 [ false, %5 ], [ %14, %10 ]
br i1 %16, label %17, label %20
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %2, align 8
br label %5, !llvm.loop !6
20: ; preds = %15
%21 = load ptr, ptr %2, align 8
ret ptr %21
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kcnpf8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcstrskipspc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @assert(ptr noundef %3)
br label %5
5: ; preds = %17, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp sle i32 %13, 32
br label %15
15: ; preds = %10, %5
%16 = phi i1 [ false, %5 ], [ %14, %10 ]
br i1 %16, label %17, label %20
17: ; preds = %15
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %2, align 8
br label %5, !llvm.loop !6
20: ; preds = %15
%21 = load ptr, ptr %2, align 8
ret ptr %21
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdby5katd.c'
source_filename = "/tmp/tmpdby5katd.c"
target datalayout = "e-m:e-p270: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/tmpdby5katd.c"
target datalayout = "e-m:e-p270: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/tmp3lbamfbt.c'
source_filename = "/tmp/tmp3lbamfbt.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Error: Argument \22%s\22 is wrong: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @invalid_arg(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 i32, ptr @stderr, align 4
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3lbamfbt.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Error: Argument \22%s\22 is wrong: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @invalid_arg(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 i32, ptr @stderr, align 4
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp90ej2xz3.c'
source_filename = "/tmp/tmp90ej2xz3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_time_now_string(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = call i32 @time(ptr noundef null)
store i32 %8, ptr %5, align 4
%9 = call ptr @ctime(ptr noundef %5)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %4, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ugt i64 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %7, align 8
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 0, ptr %22, align 1
br label %33
23: ; preds = %2
%24 = load ptr, ptr %3, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i64, ptr %4, align 8
%27 = sub i64 %26, 1
%28 = call i32 @strncpy(ptr noundef %24, ptr noundef %25, i64 noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = load i64, ptr %4, align 8
%31 = sub i64 %30, 1
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
br label %33
33: ; preds = %23, %15
%34 = load ptr, ptr %3, align 8
%35 = call i32 @trim_end_lf(ptr noundef %34)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @trim_end_lf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp90ej2xz3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_time_now_string(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = call i32 @time(ptr noundef null)
store i32 %8, ptr %5, align 4
%9 = call ptr @ctime(ptr noundef %5)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %4, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ugt i64 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %7, align 8
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 0, ptr %22, align 1
br label %33
23: ; preds = %2
%24 = load ptr, ptr %3, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i64, ptr %4, align 8
%27 = sub i64 %26, 1
%28 = call i32 @strncpy(ptr noundef %24, ptr noundef %25, i64 noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = load i64, ptr %4, align 8
%31 = sub i64 %30, 1
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
br label %33
33: ; preds = %23, %15
%34 = load ptr, ptr %3, align 8
%35 = call i32 @trim_end_lf(ptr noundef %34)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @trim_end_lf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph8z57gmv.c'
source_filename = "/tmp/tmph8z57gmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@optind = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@EX_DATAERR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"chdir to %s failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
store i8 0, ptr %8, align 16
br label %9
9: ; preds = %19, %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str)
store i32 %12, ptr %7, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %20
14: ; preds = %9
%15 = load i32, ptr %7, align 4
switch i32 %15, label %19 [
i32 63, label %16
]
16: ; preds = %14
%17 = load ptr, ptr %5, align 8
%18 = call i32 @usage(ptr noundef %17)
br label %19
19: ; preds = %16, %14
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = load i32, ptr @optind, align 4
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp eq i32 %21, %23
br i1 %24, label %25, label %33
25: ; preds = %20
%26 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr @optind, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strncpy(ptr noundef %26, ptr noundef %31, i32 noundef 254)
br label %45
33: ; preds = %20
%34 = load i32, ptr @optind, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%39 = call ptr @getenv(ptr noundef @.str.1)
%40 = call i32 @strncpy(ptr noundef %38, ptr noundef %39, i32 noundef 254)
br label %44
41: ; preds = %33
%42 = load ptr, ptr %5, align 8
%43 = call i32 @usage(ptr noundef %42)
br label %44
44: ; preds = %41, %37
br label %45
45: ; preds = %44, %25
%46 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 255
store i8 0, ptr %46, align 1
%47 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%48 = call i64 @ensure_db_root(ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %45
%51 = load i32, ptr @EX_DATAERR, align 4
%52 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%53 = call i32 @err(i32 noundef %51, ptr noundef @.str.2, ptr noundef %52)
br label %54
54: ; preds = %50, %45
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i64 @ensure_db_root(ptr noundef) #1
declare i32 @err(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph8z57gmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@optind = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@EX_DATAERR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"chdir to %s failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
store i8 0, ptr %8, align 16
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %7, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %18
%14 = load i32, ptr %7, align 4
switch i32 %14, label %18 [
i32 63, label %15
]
15: ; preds = %13
%16 = load ptr, ptr %5, align 8
%17 = call i32 @usage(ptr noundef %16)
br label %18
18: ; preds = %15, %13
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call i32 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str)
store i32 %21, ptr %7, align 4
%22 = icmp ne i32 %21, -1
br i1 %22, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
%24 = load i32, ptr @optind, align 4
%25 = load i32, ptr %4, align 4
%26 = sub nsw i32 %25, 1
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %36
28: ; preds = %23
%29 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr @optind, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call i32 @strncpy(ptr noundef %29, ptr noundef %34, i32 noundef 254)
br label %48
36: ; preds = %23
%37 = load i32, ptr @optind, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%42 = call ptr @getenv(ptr noundef @.str.1)
%43 = call i32 @strncpy(ptr noundef %41, ptr noundef %42, i32 noundef 254)
br label %47
44: ; preds = %36
%45 = load ptr, ptr %5, align 8
%46 = call i32 @usage(ptr noundef %45)
br label %47
47: ; preds = %44, %40
br label %48
48: ; preds = %47, %28
%49 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 255
store i8 0, ptr %49, align 1
%50 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%51 = call i64 @ensure_db_root(ptr noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %48
%54 = load i32, ptr @EX_DATAERR, align 4
%55 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%56 = call i32 @err(i32 noundef %54, ptr noundef @.str.2, ptr noundef %55)
br label %57
57: ; preds = %53, %48
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i64 @ensure_db_root(ptr noundef) #1
declare i32 @err(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptwklxavj.c'
source_filename = "/tmp/tmptwklxavj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmptwklxavj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmpudfjma0x.c'
source_filename = "/tmp/tmpudfjma0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c" Error creating socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c" Error binding socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sv_create_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %30
13: ; preds = %1
%14 = load i32, ptr @AF_INET, align 4
%15 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @htons(i32 noundef %16)
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = call i32 @htonl(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = load i32, ptr %4, align 4
%24 = call i64 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 12)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %13
%27 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %30
28: ; preds = %13
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %28, %26, %11
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudfjma0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c" Error creating socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c" Error binding socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sv_create_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %30
13: ; preds = %1
%14 = load i32, ptr @AF_INET, align 4
%15 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @htons(i32 noundef %16)
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = call i32 @htonl(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = load i32, ptr %4, align 4
%24 = call i64 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 12)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %13
%27 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %30
28: ; preds = %13
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %28, %26, %11
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8y87beua.c'
source_filename = "/tmp/tmp8y87beua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ExtendibleWriter(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store i32 %0, ptr %10, align 4
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store double %5, ptr %15, align 8
store double %6, ptr %16, align 8
store double %7, ptr %17, align 8
store double %8, ptr %18, align 8
%27 = load double, ptr %18, align 8
%28 = load double, ptr %18, align 8
%29 = fmul double %27, %28
store double %29, ptr %19, align 8
%30 = load double, ptr %14, align 8
%31 = load double, ptr %15, align 8
%32 = fdiv double %30, %31
%33 = call double @sqrt(double noundef %32) #4
store double %33, ptr %20, align 8
%34 = load double, ptr %11, align 8
%35 = load double, ptr %13, align 8
%36 = fdiv double %34, %35
%37 = call double @log(double noundef %36) #4
%38 = load double, ptr %17, align 8
%39 = load double, ptr %19, align 8
%40 = fdiv double %39, 2.000000e+00
%41 = fadd double %38, %40
%42 = load double, ptr %15, align 8
%43 = call double @llvm.fmuladd.f64(double %41, double %42, double %37)
%44 = load double, ptr %18, align 8
%45 = load double, ptr %15, align 8
%46 = call double @sqrt(double noundef %45) #4
%47 = fmul double %44, %46
%48 = fdiv double %43, %47
store double %48, ptr %21, align 8
%49 = load double, ptr %11, align 8
%50 = load double, ptr %12, align 8
%51 = fdiv double %49, %50
%52 = call double @log(double noundef %51) #4
%53 = load double, ptr %17, align 8
%54 = load double, ptr %19, align 8
%55 = fdiv double %54, 2.000000e+00
%56 = fadd double %53, %55
%57 = load double, ptr %14, align 8
%58 = call double @llvm.fmuladd.f64(double %56, double %57, double %52)
%59 = load double, ptr %18, align 8
%60 = load double, ptr %14, align 8
%61 = call double @sqrt(double noundef %60) #4
%62 = fmul double %59, %61
%63 = fdiv double %58, %62
store double %63, ptr %22, align 8
%64 = load double, ptr %19, align 8
%65 = load double, ptr %14, align 8
%66 = fmul double %64, %65
%67 = call double @sqrt(double noundef %66) #4
store double %67, ptr %23, align 8
%68 = load double, ptr %19, align 8
%69 = load double, ptr %15, align 8
%70 = fmul double %68, %69
%71 = call double @sqrt(double noundef %70) #4
store double %71, ptr %24, align 8
%72 = load i32, ptr %10, align 4
%73 = load double, ptr %11, align 8
%74 = load double, ptr %12, align 8
%75 = load double, ptr %14, align 8
%76 = load double, ptr %16, align 8
%77 = load double, ptr %17, align 8
%78 = load double, ptr %18, align 8
%79 = call double @gbs(i32 noundef %72, double noundef %73, double noundef %74, double noundef %75, double noundef %76, double noundef %77, double noundef %78)
store double %79, ptr %25, align 8
%80 = load i32, ptr %10, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %118
82: ; preds = %9
%83 = load double, ptr %25, align 8
%84 = load double, ptr %11, align 8
%85 = load double, ptr %17, align 8
%86 = load double, ptr %16, align 8
%87 = fsub double %85, %86
%88 = load double, ptr %15, align 8
%89 = fmul double %87, %88
%90 = call double @exp(double noundef %89) #4
%91 = fmul double %84, %90
%92 = load double, ptr %21, align 8
%93 = load double, ptr %22, align 8
%94 = fneg double %93
%95 = load double, ptr %20, align 8
%96 = fneg double %95
%97 = call double @cbnd(double noundef %92, double noundef %94, double noundef %96)
%98 = call double @llvm.fmuladd.f64(double %91, double %97, double %83)
%99 = load double, ptr %13, align 8
%100 = load double, ptr %16, align 8
%101 = fneg double %100
%102 = load double, ptr %15, align 8
%103 = fmul double %101, %102
%104 = call double @exp(double noundef %103) #4
%105 = fmul double %99, %104
%106 = load double, ptr %21, align 8
%107 = load double, ptr %24, align 8
%108 = fsub double %106, %107
%109 = load double, ptr %22, align 8
%110 = fneg double %109
%111 = load double, ptr %23, align 8
%112 = fadd double %110, %111
%113 = load double, ptr %20, align 8
%114 = fneg double %113
%115 = call double @cbnd(double noundef %108, double noundef %112, double noundef %114)
%116 = fneg double %105
%117 = call double @llvm.fmuladd.f64(double %116, double %115, double %98)
store double %117, ptr %26, align 8
br label %154
118: ; preds = %9
%119 = load double, ptr %25, align 8
%120 = load double, ptr %13, align 8
%121 = load double, ptr %16, align 8
%122 = fneg double %121
%123 = load double, ptr %15, align 8
%124 = fmul double %122, %123
%125 = call double @exp(double noundef %124) #4
%126 = fmul double %120, %125
%127 = load double, ptr %21, align 8
%128 = fneg double %127
%129 = load double, ptr %24, align 8
%130 = fadd double %128, %129
%131 = load double, ptr %22, align 8
%132 = load double, ptr %23, align 8
%133 = fsub double %131, %132
%134 = load double, ptr %20, align 8
%135 = fneg double %134
%136 = call double @cbnd(double noundef %130, double noundef %133, double noundef %135)
%137 = call double @llvm.fmuladd.f64(double %126, double %136, double %119)
%138 = load double, ptr %11, align 8
%139 = load double, ptr %17, align 8
%140 = load double, ptr %16, align 8
%141 = fsub double %139, %140
%142 = load double, ptr %15, align 8
%143 = fmul double %141, %142
%144 = call double @exp(double noundef %143) #4
%145 = fmul double %138, %144
%146 = load double, ptr %21, align 8
%147 = fneg double %146
%148 = load double, ptr %22, align 8
%149 = load double, ptr %20, align 8
%150 = fneg double %149
%151 = call double @cbnd(double noundef %147, double noundef %148, double noundef %150)
%152 = fneg double %145
%153 = call double @llvm.fmuladd.f64(double %152, double %151, double %137)
store double %153, ptr %26, align 8
br label %154
154: ; preds = %118, %82
%155 = load double, ptr %26, align 8
ret double %155
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @gbs(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #1
declare double @cbnd(double noundef, double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8y87beua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ExtendibleWriter(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store i32 %0, ptr %10, align 4
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store double %5, ptr %15, align 8
store double %6, ptr %16, align 8
store double %7, ptr %17, align 8
store double %8, ptr %18, align 8
%27 = load double, ptr %18, align 8
%28 = load double, ptr %18, align 8
%29 = fmul double %27, %28
store double %29, ptr %19, align 8
%30 = load double, ptr %14, align 8
%31 = load double, ptr %15, align 8
%32 = fdiv double %30, %31
%33 = call double @sqrt(double noundef %32) #4
store double %33, ptr %20, align 8
%34 = load double, ptr %11, align 8
%35 = load double, ptr %13, align 8
%36 = fdiv double %34, %35
%37 = call double @log(double noundef %36) #4
%38 = load double, ptr %17, align 8
%39 = load double, ptr %19, align 8
%40 = fdiv double %39, 2.000000e+00
%41 = fadd double %38, %40
%42 = load double, ptr %15, align 8
%43 = call double @llvm.fmuladd.f64(double %41, double %42, double %37)
%44 = load double, ptr %18, align 8
%45 = load double, ptr %15, align 8
%46 = call double @sqrt(double noundef %45) #4
%47 = fmul double %44, %46
%48 = fdiv double %43, %47
store double %48, ptr %21, align 8
%49 = load double, ptr %11, align 8
%50 = load double, ptr %12, align 8
%51 = fdiv double %49, %50
%52 = call double @log(double noundef %51) #4
%53 = load double, ptr %17, align 8
%54 = load double, ptr %19, align 8
%55 = fdiv double %54, 2.000000e+00
%56 = fadd double %53, %55
%57 = load double, ptr %14, align 8
%58 = call double @llvm.fmuladd.f64(double %56, double %57, double %52)
%59 = load double, ptr %18, align 8
%60 = load double, ptr %14, align 8
%61 = call double @sqrt(double noundef %60) #4
%62 = fmul double %59, %61
%63 = fdiv double %58, %62
store double %63, ptr %22, align 8
%64 = load double, ptr %19, align 8
%65 = load double, ptr %14, align 8
%66 = fmul double %64, %65
%67 = call double @sqrt(double noundef %66) #4
store double %67, ptr %23, align 8
%68 = load double, ptr %19, align 8
%69 = load double, ptr %15, align 8
%70 = fmul double %68, %69
%71 = call double @sqrt(double noundef %70) #4
store double %71, ptr %24, align 8
%72 = load i32, ptr %10, align 4
%73 = load double, ptr %11, align 8
%74 = load double, ptr %12, align 8
%75 = load double, ptr %14, align 8
%76 = load double, ptr %16, align 8
%77 = load double, ptr %17, align 8
%78 = load double, ptr %18, align 8
%79 = call double @gbs(i32 noundef %72, double noundef %73, double noundef %74, double noundef %75, double noundef %76, double noundef %77, double noundef %78)
store double %79, ptr %25, align 8
%80 = load i32, ptr %10, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %118
82: ; preds = %9
%83 = load double, ptr %25, align 8
%84 = load double, ptr %11, align 8
%85 = load double, ptr %17, align 8
%86 = load double, ptr %16, align 8
%87 = fsub double %85, %86
%88 = load double, ptr %15, align 8
%89 = fmul double %87, %88
%90 = call double @exp(double noundef %89) #4
%91 = fmul double %84, %90
%92 = load double, ptr %21, align 8
%93 = load double, ptr %22, align 8
%94 = fneg double %93
%95 = load double, ptr %20, align 8
%96 = fneg double %95
%97 = call double @cbnd(double noundef %92, double noundef %94, double noundef %96)
%98 = call double @llvm.fmuladd.f64(double %91, double %97, double %83)
%99 = load double, ptr %13, align 8
%100 = load double, ptr %16, align 8
%101 = fneg double %100
%102 = load double, ptr %15, align 8
%103 = fmul double %101, %102
%104 = call double @exp(double noundef %103) #4
%105 = fmul double %99, %104
%106 = load double, ptr %21, align 8
%107 = load double, ptr %24, align 8
%108 = fsub double %106, %107
%109 = load double, ptr %22, align 8
%110 = fneg double %109
%111 = load double, ptr %23, align 8
%112 = fadd double %110, %111
%113 = load double, ptr %20, align 8
%114 = fneg double %113
%115 = call double @cbnd(double noundef %108, double noundef %112, double noundef %114)
%116 = fneg double %105
%117 = call double @llvm.fmuladd.f64(double %116, double %115, double %98)
store double %117, ptr %26, align 8
br label %154
118: ; preds = %9
%119 = load double, ptr %25, align 8
%120 = load double, ptr %13, align 8
%121 = load double, ptr %16, align 8
%122 = fneg double %121
%123 = load double, ptr %15, align 8
%124 = fmul double %122, %123
%125 = call double @exp(double noundef %124) #4
%126 = fmul double %120, %125
%127 = load double, ptr %21, align 8
%128 = fneg double %127
%129 = load double, ptr %24, align 8
%130 = fadd double %128, %129
%131 = load double, ptr %22, align 8
%132 = load double, ptr %23, align 8
%133 = fsub double %131, %132
%134 = load double, ptr %20, align 8
%135 = fneg double %134
%136 = call double @cbnd(double noundef %130, double noundef %133, double noundef %135)
%137 = call double @llvm.fmuladd.f64(double %126, double %136, double %119)
%138 = load double, ptr %11, align 8
%139 = load double, ptr %17, align 8
%140 = load double, ptr %16, align 8
%141 = fsub double %139, %140
%142 = load double, ptr %15, align 8
%143 = fmul double %141, %142
%144 = call double @exp(double noundef %143) #4
%145 = fmul double %138, %144
%146 = load double, ptr %21, align 8
%147 = fneg double %146
%148 = load double, ptr %22, align 8
%149 = load double, ptr %20, align 8
%150 = fneg double %149
%151 = call double @cbnd(double noundef %147, double noundef %148, double noundef %150)
%152 = fneg double %145
%153 = call double @llvm.fmuladd.f64(double %152, double %151, double %137)
store double %153, ptr %26, align 8
br label %154
154: ; preds = %118, %82
%155 = load double, ptr %26, align 8
ret double %155
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @gbs(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #1
declare double @cbnd(double noundef, double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphmzi1v1r.c'
source_filename = "/tmp/tmphmzi1v1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"cd\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"whoami\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"export\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @execute_Command(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp ne i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %2
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @ls(i32 noundef %11, ptr noundef %12)
br label %72
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp ne i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = load ptr, ptr %4, align 8
%23 = call i32 @cd(i32 noundef %21, ptr noundef %22)
br label %71
24: ; preds = %14
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.2)
%29 = icmp ne i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = load ptr, ptr %4, align 8
%33 = call i32 @pwd(i32 noundef %31, ptr noundef %32)
br label %70
34: ; preds = %24
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 0
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.3)
%39 = icmp ne i32 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %34
%41 = load i32, ptr %3, align 4
%42 = load ptr, ptr %4, align 8
%43 = call i32 @echo(i32 noundef %41, ptr noundef %42)
br label %69
44: ; preds = %34
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = call i32 @strcmp(ptr noundef %47, ptr noundef @.str.4)
%49 = icmp ne i32 %48, 0
br i1 %49, label %54, label %50
50: ; preds = %44
%51 = load i32, ptr %3, align 4
%52 = load ptr, ptr %4, align 8
%53 = call i32 @whoami(i32 noundef %51, ptr noundef %52)
br label %68
54: ; preds = %44
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds ptr, ptr %55, i64 0
%57 = load ptr, ptr %56, align 8
%58 = call i32 @strcmp(ptr noundef %57, ptr noundef @.str.5)
%59 = icmp ne i32 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %54
%61 = load i32, ptr %3, align 4
%62 = load ptr, ptr %4, align 8
%63 = call i32 @export(i32 noundef %61, ptr noundef %62)
br label %67
64: ; preds = %54
%65 = load ptr, ptr %4, align 8
%66 = call i32 @execute_External(ptr noundef %65)
br label %67
67: ; preds = %64, %60
br label %68
68: ; preds = %67, %50
br label %69
69: ; preds = %68, %40
br label %70
70: ; preds = %69, %30
br label %71
71: ; preds = %70, %20
br label %72
72: ; preds = %71, %10
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ls(i32 noundef, ptr noundef) #1
declare i32 @cd(i32 noundef, ptr noundef) #1
declare i32 @pwd(i32 noundef, ptr noundef) #1
declare i32 @echo(i32 noundef, ptr noundef) #1
declare i32 @whoami(i32 noundef, ptr noundef) #1
declare i32 @export(i32 noundef, ptr noundef) #1
declare i32 @execute_External(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmzi1v1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"cd\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"whoami\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"export\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @execute_Command(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp ne i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %2
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @ls(i32 noundef %11, ptr noundef %12)
br label %72
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp ne i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = load ptr, ptr %4, align 8
%23 = call i32 @cd(i32 noundef %21, ptr noundef %22)
br label %71
24: ; preds = %14
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.2)
%29 = icmp ne i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = load ptr, ptr %4, align 8
%33 = call i32 @pwd(i32 noundef %31, ptr noundef %32)
br label %70
34: ; preds = %24
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 0
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.3)
%39 = icmp ne i32 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %34
%41 = load i32, ptr %3, align 4
%42 = load ptr, ptr %4, align 8
%43 = call i32 @echo(i32 noundef %41, ptr noundef %42)
br label %69
44: ; preds = %34
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = call i32 @strcmp(ptr noundef %47, ptr noundef @.str.4)
%49 = icmp ne i32 %48, 0
br i1 %49, label %54, label %50
50: ; preds = %44
%51 = load i32, ptr %3, align 4
%52 = load ptr, ptr %4, align 8
%53 = call i32 @whoami(i32 noundef %51, ptr noundef %52)
br label %68
54: ; preds = %44
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds ptr, ptr %55, i64 0
%57 = load ptr, ptr %56, align 8
%58 = call i32 @strcmp(ptr noundef %57, ptr noundef @.str.5)
%59 = icmp ne i32 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %54
%61 = load i32, ptr %3, align 4
%62 = load ptr, ptr %4, align 8
%63 = call i32 @export(i32 noundef %61, ptr noundef %62)
br label %67
64: ; preds = %54
%65 = load ptr, ptr %4, align 8
%66 = call i32 @execute_External(ptr noundef %65)
br label %67
67: ; preds = %64, %60
br label %68
68: ; preds = %67, %50
br label %69
69: ; preds = %68, %40
br label %70
70: ; preds = %69, %30
br label %71
71: ; preds = %70, %20
br label %72
72: ; preds = %71, %10
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ls(i32 noundef, ptr noundef) #1
declare i32 @cd(i32 noundef, ptr noundef) #1
declare i32 @pwd(i32 noundef, ptr noundef) #1
declare i32 @echo(i32 noundef, ptr noundef) #1
declare i32 @whoami(i32 noundef, ptr noundef) #1
declare i32 @export(i32 noundef, ptr noundef) #1
declare i32 @execute_External(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5tcroiss.c'
source_filename = "/tmp/tmp5tcroiss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a fraction:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d/%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"In lowest terms:%d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %6, align 4
br label %11
11: ; preds = %14, %0
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = srem i32 %15, %16
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %4, align 4
store i32 %19, ptr %6, align 4
br label %11, !llvm.loop !6
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %5, align 4
%23 = sdiv i32 %21, %22
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %5, align 4
%26 = sdiv i32 %24, %25
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %26)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5tcroiss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a fraction:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d/%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"In lowest terms:%d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = srem i32 %14, %15
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %6, align 4
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %5, align 4
%24 = sdiv i32 %22, %23
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %5, align 4
%27 = sdiv i32 %25, %26
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, i32 noundef %27)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp86sei9pr.c'
source_filename = "/tmp/tmp86sei9pr.c"
target datalayout = "e-m:e-p270: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/tmp86sei9pr.c"
target datalayout = "e-m:e-p270: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/tmpya419s71.c'
source_filename = "/tmp/tmpya419s71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPartitionIndex(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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %5, align 4
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %7, align 4
br label %18
18: ; preds = %43, %3
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %46
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %42
30: ; preds = %22
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = call i32 @swap(ptr noundef %34, ptr noundef %38)
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %10, align 4
br label %42
42: ; preds = %30, %22
br label %43
43: ; preds = %42
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %18, !llvm.loop !6
46: ; preds = %18
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %6, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = call i32 @swap(ptr noundef %50, ptr noundef %54)
%56 = load i32, ptr %10, align 4
ret i32 %56
}
declare i32 @swap(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/tmpya419s71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPartitionIndex(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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %5, align 4
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %48
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %42
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %29, label %41
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = call i32 @swap(ptr noundef %33, ptr noundef %37)
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
br label %41
41: ; preds = %29, %21
br label %42
42: ; preds = %41
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %3
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = call i32 @swap(ptr noundef %52, ptr noundef %56)
%58 = load i32, ptr %10, align 4
ret i32 %58
}
declare i32 @swap(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/tmpqfg6bx3r.c'
source_filename = "/tmp/tmpqfg6bx3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%d minutos\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 %4, 2
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqfg6bx3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%d minutos\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 %4, 2
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1w5u1t6p.c'
source_filename = "/tmp/tmp1w5u1t6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OUTPORT32(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @outl(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @outl(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/tmp1w5u1t6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OUTPORT32(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @outl(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @outl(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/tmp1zfl8vky.c'
source_filename = "/tmp/tmp1zfl8vky.c"
target datalayout = "e-m:e-p270: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.ether_addr = type { ptr }
@ether_aton.ep = internal global ptr null, align 8
@.str = private unnamed_addr constant [19 x i8] c" %x:%x:%x:%x:%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ether_aton(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [6 x i32], align 16
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr @ether_aton.ep, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %15
8: ; preds = %1
%9 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr @ether_aton.ep, align 8
%11 = load ptr, ptr @ether_aton.ep, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %8
store ptr null, ptr %2, align 8
br label %47
14: ; preds = %8
br label %15
15: ; preds = %14, %1
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 1
%19 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 2
%20 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 3
%21 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4
%22 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 5
%23 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 6
br i1 %25, label %26, label %27
26: ; preds = %15
store ptr null, ptr %2, align 8
br label %47
27: ; preds = %15
store i32 0, ptr %4, align 4
br label %28
28: ; preds = %42, %27
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %29, 6
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr @ether_aton.ep, align 8
%37 = getelementptr inbounds %struct.ether_addr, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %35, ptr %41, align 4
br label %42
42: ; preds = %31
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %28, !llvm.loop !6
45: ; preds = %28
%46 = load ptr, ptr @ether_aton.ep, align 8
store ptr %46, ptr %2, align 8
br label %47
47: ; preds = %45, %26, %13
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1zfl8vky.c"
target datalayout = "e-m:e-p270: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.ether_addr = type { ptr }
@ether_aton.ep = internal global ptr null, align 8
@.str = private unnamed_addr constant [19 x i8] c" %x:%x:%x:%x:%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ether_aton(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [6 x i32], align 16
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr @ether_aton.ep, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %15
8: ; preds = %1
%9 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr @ether_aton.ep, align 8
%11 = load ptr, ptr @ether_aton.ep, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %8
store ptr null, ptr %2, align 8
br label %48
14: ; preds = %8
br label %15
15: ; preds = %14, %1
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 1
%19 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 2
%20 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 3
%21 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4
%22 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 5
%23 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 6
br i1 %25, label %26, label %27
26: ; preds = %15
store ptr null, ptr %2, align 8
br label %48
27: ; preds = %15
store i32 0, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 6
br i1 %29, label %.lr.ph, label %46
.lr.ph: ; preds = %27
br label %30
30: ; preds = %.lr.ph, %41
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr @ether_aton.ep, align 8
%36 = getelementptr inbounds %struct.ether_addr, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %34, ptr %40, align 4
br label %41
41: ; preds = %30
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %44, 6
br i1 %45, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %27
%47 = load ptr, ptr @ether_aton.ep, align 8
store ptr %47, ptr %2, align 8
br label %48
48: ; preds = %46, %26, %13
%49 = load ptr, ptr %2, align 8
ret ptr %49
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcca3iefv.c'
source_filename = "/tmp/tmpcca3iefv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sa_log_abort(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @dump_stack()
%4 = load ptr, ptr %2, align 8
%5 = call i32 @panic(ptr noundef %4)
ret void
}
declare i32 @dump_stack(...) #1
declare i32 @panic(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcca3iefv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sa_log_abort(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @dump_stack()
%4 = load ptr, ptr %2, align 8
%5 = call i32 @panic(ptr noundef %4)
ret void
}
declare i32 @dump_stack(...) #1
declare i32 @panic(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjy674i0u.c'
source_filename = "/tmp/tmpjy674i0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @debloquerProchainJeux() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %18, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %7, label %21
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i64 @estDansListeDeJeux(i32 noundef %8)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %1, align 4
br label %21
16: ; preds = %11
br label %21
17: ; preds = %7
br label %18
18: ; preds = %17
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %4, !llvm.loop !6
21: ; preds = %14, %16, %4
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare i64 @estDansListeDeJeux(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/tmpjy674i0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @debloquerProchainJeux() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 8
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %17
%7 = load i32, ptr %2, align 4
%8 = call i64 @estDansListeDeJeux(i32 noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = load i32, ptr %2, align 4
store i32 %14, ptr %1, align 4
br label %22
15: ; preds = %10
br label %22
16: ; preds = %6
br label %17
17: ; preds = %16
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 8
br i1 %21, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %17
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %22
22: ; preds = %.loopexit, %15, %13
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i64 @estDansListeDeJeux(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/tmpokk8mcf5.c'
source_filename = "/tmp/tmpokk8mcf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"/etc/ld.so.preload\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @unlink(ptr noundef @.str)
ret i32 0
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokk8mcf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"/etc/ld.so.preload\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @unlink(ptr noundef @.str)
ret i32 0
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4gui6osf.c'
source_filename = "/tmp/tmp4gui6osf.c"
target datalayout = "e-m:e-p270: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/tmp4gui6osf.c"
target datalayout = "e-m:e-p270: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/tmp7rkp2k_w.c'
source_filename = "/tmp/tmp7rkp2k_w.c"
target datalayout = "e-m:e-p270: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/tmp7rkp2k_w.c"
target datalayout = "e-m:e-p270: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/tmpd0ukr0ry.c'
source_filename = "/tmp/tmpd0ukr0ry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"nSense : %s Error Comment not properly close.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comment(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %111, %2
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %15, label %114
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 47
br i1 %22, label %23, label %111
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 47
br i1 %33, label %43, label %34
34: ; preds = %23
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 42
br i1 %42, label %43, label %110
43: ; preds = %34, %23
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %44, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 47
br i1 %51, label %52, label %67
52: ; preds = %43
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %8, align 4
br label %55
55: ; preds = %63, %52
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %6, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 10
br i1 %62, label %63, label %66
63: ; preds = %55
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
br label %55, !llvm.loop !6
66: ; preds = %55
br label %67
67: ; preds = %66, %43
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 42
br i1 %75, label %76, label %109
76: ; preds = %67
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 2
store i32 %78, ptr %6, align 4
br label %79
79: ; preds = %105, %76
%80 = load i32, ptr %6, align 4
%81 = load i32, ptr %5, align 4
%82 = icmp ne i32 %80, %81
br i1 %82, label %83, label %108
83: ; preds = %79
%84 = load ptr, ptr %3, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 42
br i1 %90, label %91, label %105
91: ; preds = %83
%92 = load ptr, ptr %3, align 8
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %92, i64 %95
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 47
br i1 %99, label %100, label %105
100: ; preds = %91
%101 = load i32, ptr %6, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %6, align 4
%103 = load i32, ptr %8, align 4
%104 = add nsw i32 %103, -1
store i32 %104, ptr %8, align 4
br label %108
105: ; preds = %91, %83
%106 = load i32, ptr %6, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %6, align 4
br label %79, !llvm.loop !8
108: ; preds = %100, %79
br label %109
109: ; preds = %108, %67
br label %110
110: ; preds = %109, %34
br label %111
111: ; preds = %110, %15
%112 = load i32, ptr %6, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %6, align 4
br label %11, !llvm.loop !9
114: ; preds = %11
%115 = load i32, ptr %8, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %120
117: ; preds = %114
%118 = load ptr, ptr %4, align 8
%119 = call i32 @printf(ptr noundef @.str, ptr noundef %118)
br label %120
120: ; preds = %117, %114
ret void
}
declare i32 @strlen(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0ukr0ry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"nSense : %s Error Comment not properly close.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comment(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %.lr.ph4, label %124
.lr.ph4: ; preds = %2
br label %14
14: ; preds = %.lr.ph4, %118
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 47
br i1 %21, label %22, label %118
22: ; preds = %14
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %42, label %33
33: ; preds = %22
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 42
br i1 %41, label %42, label %117
42: ; preds = %33, %22
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 47
br i1 %50, label %51, label %72
51: ; preds = %42
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %8, align 4
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %6, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 10
br i1 %60, label %.lr.ph, label %71
.lr.ph: ; preds = %51
br label %61
61: ; preds = %.lr.ph, %61
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
%64 = load ptr, ptr %3, align 8
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 10
br i1 %70, label %61, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %71
71: ; preds = %._crit_edge, %51
br label %72
72: ; preds = %71, %42
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %73, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 42
br i1 %80, label %81, label %116
81: ; preds = %72
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 2
store i32 %83, ptr %6, align 4
%84 = load i32, ptr %6, align 4
%85 = load i32, ptr %5, align 4
%86 = icmp ne i32 %84, %85
br i1 %86, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %81
br label %87
87: ; preds = %.lr.ph2, %109
%88 = load ptr, ptr %3, align 8
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 42
br i1 %94, label %95, label %109
95: ; preds = %87
%96 = load ptr, ptr %3, align 8
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %96, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 47
br i1 %103, label %104, label %109
104: ; preds = %95
%105 = load i32, ptr %6, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %6, align 4
%107 = load i32, ptr %8, align 4
%108 = add nsw i32 %107, -1
store i32 %108, ptr %8, align 4
br label %115
109: ; preds = %95, %87
%110 = load i32, ptr %6, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %6, align 4
%112 = load i32, ptr %6, align 4
%113 = load i32, ptr %5, align 4
%114 = icmp ne i32 %112, %113
br i1 %114, label %87, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %109
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %81
br label %115
115: ; preds = %.loopexit, %104
br label %116
116: ; preds = %115, %72
br label %117
117: ; preds = %116, %33
br label %118
118: ; preds = %117, %14
%119 = load i32, ptr %6, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %6, align 4
%121 = load i32, ptr %6, align 4
%122 = load i32, ptr %5, align 4
%123 = icmp sle i32 %121, %122
br i1 %123, label %14, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %118
br label %124
124: ; preds = %._crit_edge5, %2
%125 = load i32, ptr %8, align 4
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %130
127: ; preds = %124
%128 = load ptr, ptr %4, align 8
%129 = call i32 @printf(ptr noundef @.str, ptr noundef %128)
br label %130
130: ; preds = %127, %124
ret void
}
declare i32 @strlen(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmppiryrsud.c'
source_filename = "/tmp/tmppiryrsud.c"
target datalayout = "e-m:e-p270: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/tmppiryrsud.c"
target datalayout = "e-m:e-p270: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/tmptz1fk23e.c'
source_filename = "/tmp/tmptz1fk23e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %37
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
br label %14
14: ; preds = %32, %11
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %8, align 8
%17 = load i8, ptr %15, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
store i8 %17, ptr %18, align 1
%20 = sext i8 %17 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %31
22: ; preds = %14
br label %23
23: ; preds = %27, %22
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %6, align 8
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
store i8 0, ptr %28, align 1
br label %23, !llvm.loop !6
30: ; preds = %23
br label %36
31: ; preds = %14
br label %32
32: ; preds = %31
%33 = load i64, ptr %6, align 8
%34 = add i64 %33, -1
store i64 %34, ptr %6, align 8
%35 = icmp ne i64 %34, 0
br i1 %35, label %14, label %36, !llvm.loop !8
36: ; preds = %32, %30
br label %37
37: ; preds = %36, %3
%38 = load ptr, ptr %4, align 8
ret ptr %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptz1fk23e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %39
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
br label %14
14: ; preds = %34, %11
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %8, align 8
%17 = load i8, ptr %15, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
store i8 %17, ptr %18, align 1
%20 = sext i8 %17 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %14
%23 = load i64, ptr %6, align 8
%24 = add i64 %23, -1
store i64 %24, ptr %6, align 8
%25 = icmp ne i64 %24, 0
br i1 %25, label %.lr.ph, label %32
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %26
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %7, align 8
store i8 0, ptr %27, align 1
%29 = load i64, ptr %6, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %6, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %22
br label %38
33: ; preds = %14
br label %34
34: ; preds = %33
%35 = load i64, ptr %6, align 8
%36 = add i64 %35, -1
store i64 %36, ptr %6, align 8
%37 = icmp ne i64 %36, 0
br i1 %37, label %14, label %.loopexit, !llvm.loop !8
.loopexit: ; preds = %34
br label %38
38: ; preds = %.loopexit, %32
br label %39
39: ; preds = %38, %3
%40 = load ptr, ptr %4, align 8
ret ptr %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpn8e2p733.c'
source_filename = "/tmp/tmpn8e2p733.c"
target datalayout = "e-m:e-p270: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/tmpn8e2p733.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_xq__pam.c'
source_filename = "/tmp/tmp_xq__pam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Value checked array[%d] = [%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @linear_search(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i64 0, ptr %8, align 8
br label %9
9: ; preds = %41, %3
%10 = load i64, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %42
13: ; preds = %9
%14 = load i64, ptr %8, align 8
%15 = trunc i64 %14 to i32
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %8, align 8
%18 = getelementptr inbounds i32, ptr %16, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %8, align 8
%23 = getelementptr inbounds i32, ptr %21, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %30
27: ; preds = %13
%28 = load i64, ptr %8, align 8
%29 = trunc i64 %28 to i32
store i32 %29, ptr %4, align 4
br label %43
30: ; preds = %13
%31 = load ptr, ptr %5, align 8
%32 = load i64, ptr %8, align 8
%33 = getelementptr inbounds i32, ptr %31, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp ne i32 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %30
%38 = load i64, ptr %8, align 8
%39 = add i64 %38, 1
store i64 %39, ptr %8, align 8
br label %40
40: ; preds = %37, %30
br label %41
41: ; preds = %40
br label %9, !llvm.loop !6
42: ; preds = %9
store i32 -1, ptr %4, align 4
br label %43
43: ; preds = %42, %27
%44 = load i32, ptr %4, align 4
ret i32 %44
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xq__pam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Value checked array[%d] = [%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @linear_search(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i64 0, ptr %8, align 8
%9 = load i64, ptr %8, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %.lr.ph, label %44
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %40
%13 = load i64, ptr %8, align 8
%14 = trunc i64 %13 to i32
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %8, align 8
%17 = getelementptr inbounds i32, ptr %15, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %8, align 8
%22 = getelementptr inbounds i32, ptr %20, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %12
%27 = load i64, ptr %8, align 8
%28 = trunc i64 %27 to i32
store i32 %28, ptr %4, align 4
br label %45
29: ; preds = %12
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %8, align 8
%32 = getelementptr inbounds i32, ptr %30, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %39
36: ; preds = %29
%37 = load i64, ptr %8, align 8
%38 = add i64 %37, 1
store i64 %38, ptr %8, align 8
br label %39
39: ; preds = %36, %29
br label %40
40: ; preds = %39
%41 = load i64, ptr %8, align 8
%42 = load i64, ptr %6, align 8
%43 = icmp ult i64 %41, %42
br i1 %43, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %44
44: ; preds = %._crit_edge, %3
store i32 -1, ptr %4, align 4
br label %45
45: ; preds = %44, %26
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbqe7_ekp.c'
source_filename = "/tmp/tmpbqe7_ekp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [9 x i32] [i32 4, i32 6, i32 3, i32 21, i32 3, i32 5, i32 1, i32 9, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 36, i1 false)
store i32 9, ptr %2, align 4
%3 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%4 = load i32, ptr %2, align 4
%5 = call i32 @remove_all_occ(ptr noundef %3, i32 noundef %4)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @remove_all_occ(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbqe7_ekp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [9 x i32] [i32 4, i32 6, i32 3, i32 21, i32 3, i32 5, i32 1, i32 9, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 36, i1 false)
store i32 9, ptr %2, align 4
%3 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%4 = load i32, ptr %2, align 4
%5 = call i32 @remove_all_occ(ptr noundef %3, i32 noundef %4)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @remove_all_occ(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqusz0dm7.c'
source_filename = "/tmp/tmpqusz0dm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"default_cb_audio_data1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @default_cb_audio_data1(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = 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/tmpqusz0dm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"default_cb_audio_data1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @default_cb_audio_data1(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = 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/tmplju6w9m9.c'
source_filename = "/tmp/tmplju6w9m9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_strchr_not(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
br label %6
6: ; preds = %19, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %22
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %3, align 8
br label %23
19: ; preds = %11
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %6, !llvm.loop !6
22: ; preds = %6
store ptr null, ptr %3, align 8
br label %23
23: ; preds = %22, %17
%24 = load ptr, ptr %3, align 8
ret ptr %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplju6w9m9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_strchr_not(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %18
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load i32, ptr %5, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %3, align 8
br label %26
18: ; preds = %10
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %25
25: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %26
26: ; preds = %25, %16
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0i583y_b.c'
source_filename = "/tmp/tmp0i583y_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@COLS = dso_local global i16 0, align 2
@M_PI = dso_local global double 0.000000e+00, align 8
@LINES = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printwave(double noundef %0, double noundef %1, i16 noundef signext %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i16 %2, ptr %7, align 2
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %9, align 8
br label %12
12: ; preds = %55, %4
%13 = load double, ptr %9, align 8
%14 = load i16, ptr @COLS, align 2
%15 = sext i16 %14 to i32
%16 = load i16, ptr %7, align 2
%17 = sext i16 %16 to i32
%18 = add nsw i32 %15, %17
%19 = sitofp i32 %18 to double
%20 = fcmp olt double %13, %19
br i1 %20, label %21, label %58
21: ; preds = %12
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = srem i32 %24, 6
%26 = add nsw i32 %25, 1
%27 = call i32 @COLOR_PAIR(i32 noundef %26)
%28 = call i32 @attron(i32 noundef %27)
%29 = load double, ptr @M_PI, align 8
%30 = fmul double 2.000000e+00, %29
%31 = load double, ptr @LINES, align 8
%32 = fdiv double %30, %31
store double %32, ptr %10, align 8
%33 = load double, ptr %6, align 8
%34 = load double, ptr %9, align 8
%35 = fmul double %33, %34
%36 = load double, ptr %10, align 8
%37 = fmul double %35, %36
%38 = call double @sin(double noundef %37) #3
store double %38, ptr %11, align 8
%39 = load double, ptr %5, align 8
%40 = load double, ptr %11, align 8
%41 = fmul double %40, %39
store double %41, ptr %11, align 8
%42 = load double, ptr @LINES, align 8
%43 = fdiv double %42, 2.000000e+00
%44 = load double, ptr %11, align 8
%45 = fadd double %44, %43
store double %45, ptr %11, align 8
%46 = load double, ptr %11, align 8
%47 = fptosi double %46 to i32
%48 = load double, ptr %9, align 8
%49 = load i16, ptr %7, align 2
%50 = sext i16 %49 to i32
%51 = sitofp i32 %50 to double
%52 = fsub double %48, %51
%53 = fptosi double %52 to i32
%54 = call i32 @mvprintw(i32 noundef %47, i32 noundef %53, ptr noundef @.str)
br label %55
55: ; preds = %21
%56 = load double, ptr %9, align 8
%57 = fadd double %56, 1.000000e+00
store double %57, ptr %9, align 8
br label %12, !llvm.loop !6
58: ; preds = %12
%59 = load i32, ptr %8, align 4
ret i32 %59
}
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
declare i32 @mvprintw(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" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0i583y_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@COLS = dso_local global i16 0, align 2
@M_PI = dso_local global double 0.000000e+00, align 8
@LINES = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printwave(double noundef %0, double noundef %1, i16 noundef signext %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store i16 %2, ptr %7, align 2
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %9, align 8
%12 = load double, ptr %9, align 8
%13 = load i16, ptr @COLS, align 2
%14 = sext i16 %13 to i32
%15 = load i16, ptr %7, align 2
%16 = sext i16 %15 to i32
%17 = add nsw i32 %14, %16
%18 = sitofp i32 %17 to double
%19 = fcmp olt double %12, %18
br i1 %19, label %.lr.ph, label %65
.lr.ph: ; preds = %4
br label %20
20: ; preds = %.lr.ph, %54
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = srem i32 %23, 6
%25 = add nsw i32 %24, 1
%26 = call i32 @COLOR_PAIR(i32 noundef %25)
%27 = call i32 @attron(i32 noundef %26)
%28 = load double, ptr @M_PI, align 8
%29 = fmul double 2.000000e+00, %28
%30 = load double, ptr @LINES, align 8
%31 = fdiv double %29, %30
store double %31, ptr %10, align 8
%32 = load double, ptr %6, align 8
%33 = load double, ptr %9, align 8
%34 = fmul double %32, %33
%35 = load double, ptr %10, align 8
%36 = fmul double %34, %35
%37 = call double @sin(double noundef %36) #3
store double %37, ptr %11, align 8
%38 = load double, ptr %5, align 8
%39 = load double, ptr %11, align 8
%40 = fmul double %39, %38
store double %40, ptr %11, align 8
%41 = load double, ptr @LINES, align 8
%42 = fdiv double %41, 2.000000e+00
%43 = load double, ptr %11, align 8
%44 = fadd double %43, %42
store double %44, ptr %11, align 8
%45 = load double, ptr %11, align 8
%46 = fptosi double %45 to i32
%47 = load double, ptr %9, align 8
%48 = load i16, ptr %7, align 2
%49 = sext i16 %48 to i32
%50 = sitofp i32 %49 to double
%51 = fsub double %47, %50
%52 = fptosi double %51 to i32
%53 = call i32 @mvprintw(i32 noundef %46, i32 noundef %52, ptr noundef @.str)
br label %54
54: ; preds = %20
%55 = load double, ptr %9, align 8
%56 = fadd double %55, 1.000000e+00
store double %56, ptr %9, align 8
%57 = load double, ptr %9, align 8
%58 = load i16, ptr @COLS, align 2
%59 = sext i16 %58 to i32
%60 = load i16, ptr %7, align 2
%61 = sext i16 %60 to i32
%62 = add nsw i32 %59, %61
%63 = sitofp i32 %62 to double
%64 = fcmp olt double %57, %63
br i1 %64, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %65
65: ; preds = %._crit_edge, %4
%66 = load i32, ptr %8, align 4
ret i32 %66
}
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
declare i32 @mvprintw(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" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzsvjzqi5.c'
source_filename = "/tmp/tmpzsvjzqi5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"mempool\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btcmsg_craft_mempool(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 @btcmsg_craft_msgheader(ptr noundef %3, ptr noundef @.str, ptr noundef null)
ret i32 %4
}
declare i32 @btcmsg_craft_msgheader(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/tmpzsvjzqi5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"mempool\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btcmsg_craft_mempool(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 @btcmsg_craft_msgheader(ptr noundef %3, ptr noundef @.str, ptr noundef null)
ret i32 %4
}
declare i32 @btcmsg_craft_msgheader(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/tmp2sov_zki.c'
source_filename = "/tmp/tmp2sov_zki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"/dev/vga/videomode\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"r+b\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Current resolution: %dx%d, %d BPP\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"640 480 8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prepare_videomode() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fscanf(ptr noundef %7, ptr noundef @.str.2, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.3, i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = load ptr, ptr %1, align 8
%14 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.4)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %1, align 8
%20 = call i32 @fclose(ptr noundef %19)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2sov_zki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"/dev/vga/videomode\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"r+b\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Current resolution: %dx%d, %d BPP\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"640 480 8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prepare_videomode() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fscanf(ptr noundef %7, ptr noundef @.str.2, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.3, i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = load ptr, ptr %1, align 8
%14 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.4)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %1, align 8
%20 = call i32 @fclose(ptr noundef %19)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_duli3mj.c'
source_filename = "/tmp/tmp_duli3mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@FLT_MAX = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculate_confusion_penalties_matrix(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [1001 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %16, align 4
store i32 1, ptr %17, align 4
store float 0.000000e+00, ptr %18, align 4
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %27, label %21
21: ; preds = %3
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = load ptr, ptr %7, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %24, %21, %3
store i32 0, ptr %4, align 4
br label %288
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %4, align 4
br label %288
34: ; preds = %28
store i32 0, ptr %12, align 4
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
%39 = mul nsw i32 %36, %38
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 4
%42 = trunc i64 %41 to i32
%43 = call ptr @malloc(i32 noundef %42)
store ptr %43, ptr %9, align 8
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
%49 = mul nsw i32 %46, %48
%50 = sext i32 %49 to i64
%51 = mul i64 %50, 4
%52 = trunc i64 %51 to i32
%53 = call i32 @memset(ptr noundef %44, i32 noundef 0, i32 noundef %52)
br label %54
54: ; preds = %145, %65, %34
%55 = load ptr, ptr %8, align 8
%56 = call i32 @feof(ptr noundef %55)
%57 = icmp ne i32 %56, 0
%58 = xor i1 %57, true
br i1 %58, label %59, label %148
59: ; preds = %54
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds [1001 x i8], ptr %10, i64 0, i64 0
%62 = call i32 @read_string(ptr noundef %60, ptr noundef %61)
store i32 %62, ptr %15, align 4
%63 = load i32, ptr %15, align 4
%64 = icmp sle i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %59
br label %54, !llvm.loop !6
66: ; preds = %59
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp sgt i32 %67, %68
br i1 %69, label %70, label %71
70: ; preds = %66
store i32 0, ptr %17, align 4
br label %148
71: ; preds = %66
store i32 0, ptr %13, align 4
%72 = getelementptr inbounds [1001 x i8], ptr %10, i64 0, i64 0
%73 = call ptr @strtok(ptr noundef %72, ptr noundef @.str.1)
store ptr %73, ptr %11, align 8
%74 = load ptr, ptr %11, align 8
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %77
76: ; preds = %71
store i32 0, ptr %17, align 4
br label %148
77: ; preds = %71
%78 = load ptr, ptr %11, align 8
%79 = call i32 @sscanf(ptr noundef %78, ptr noundef @.str.2, ptr noundef %16)
%80 = icmp ne i32 %79, 1
br i1 %80, label %81, label %82
81: ; preds = %77
store i32 0, ptr %17, align 4
br label %148
82: ; preds = %77
%83 = load i32, ptr %16, align 4
%84 = icmp slt i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %82
store i32 0, ptr %17, align 4
br label %148
86: ; preds = %82
%87 = load i32, ptr %16, align 4
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %12, align 4
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
%92 = mul nsw i32 %89, %91
%93 = load i32, ptr %13, align 4
%94 = add nsw i32 %92, %93
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %88, i64 %95
store i32 %87, ptr %96, align 4
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %13, align 4
%99 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %99, ptr %11, align 8
br label %100
100: ; preds = %117, %86
%101 = load ptr, ptr %11, align 8
%102 = icmp ne ptr %101, null
br i1 %102, label %103, label %131
103: ; preds = %100
%104 = load i32, ptr %13, align 4
%105 = load i32, ptr %6, align 4
%106 = icmp sgt i32 %104, %105
br i1 %106, label %107, label %108
107: ; preds = %103
store i32 0, ptr %17, align 4
br label %131
108: ; preds = %103
%109 = load ptr, ptr %11, align 8
%110 = call i32 @sscanf(ptr noundef %109, ptr noundef @.str.2, ptr noundef %16)
%111 = icmp ne i32 %110, 1
br i1 %111, label %112, label %113
112: ; preds = %108
store i32 0, ptr %17, align 4
br label %131
113: ; preds = %108
%114 = load i32, ptr %16, align 4
%115 = icmp slt i32 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %113
store i32 0, ptr %17, align 4
br label %131
117: ; preds = %113
%118 = load i32, ptr %16, align 4
%119 = load ptr, ptr %9, align 8
%120 = load i32, ptr %12, align 4
%121 = load i32, ptr %6, align 4
%122 = add nsw i32 %121, 1
%123 = mul nsw i32 %120, %122
%124 = load i32, ptr %13, align 4
%125 = add nsw i32 %123, %124
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %119, i64 %126
store i32 %118, ptr %127, align 4
%128 = load i32, ptr %13, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %13, align 4
%130 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %130, ptr %11, align 8
br label %100, !llvm.loop !8
131: ; preds = %116, %112, %107, %100
%132 = load i32, ptr %17, align 4
%133 = icmp ne i32 %132, 0
br i1 %133, label %134, label %141
134: ; preds = %131
%135 = load i32, ptr %13, align 4
%136 = load i32, ptr %6, align 4
%137 = add nsw i32 %136, 1
%138 = icmp ne i32 %135, %137
br i1 %138, label %139, label %140
139: ; preds = %134
store i32 0, ptr %17, align 4
br label %140
140: ; preds = %139, %134
br label %141
141: ; preds = %140, %131
%142 = load i32, ptr %17, align 4
%143 = icmp ne i32 %142, 0
br i1 %143, label %145, label %144
144: ; preds = %141
br label %148
145: ; preds = %141
%146 = load i32, ptr %12, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %12, align 4
br label %54, !llvm.loop !6
148: ; preds = %144, %85, %81, %76, %70, %54
%149 = load i32, ptr %17, align 4
%150 = icmp ne i32 %149, 0
br i1 %150, label %151, label %158
151: ; preds = %148
%152 = load i32, ptr %12, align 4
%153 = load i32, ptr %6, align 4
%154 = add nsw i32 %153, 1
%155 = icmp ne i32 %152, %154
br i1 %155, label %156, label %157
156: ; preds = %151
store i32 0, ptr %17, align 4
br label %157
157: ; preds = %156, %151
br label %158
158: ; preds = %157, %148
%159 = load ptr, ptr %8, align 8
%160 = call i32 @fclose(ptr noundef %159)
%161 = load i32, ptr %17, align 4
%162 = icmp ne i32 %161, 0
br i1 %162, label %166, label %163
163: ; preds = %158
%164 = load ptr, ptr %9, align 8
%165 = call i32 @free(ptr noundef %164)
store i32 0, ptr %4, align 4
br label %288
166: ; preds = %158
store i32 0, ptr %12, align 4
br label %167
167: ; preds = %229, %166
%168 = load i32, ptr %12, align 4
%169 = load i32, ptr %6, align 4
%170 = icmp slt i32 %168, %169
br i1 %170, label %171, label %232
171: ; preds = %167
store float 0.000000e+00, ptr %18, align 4
store i32 0, ptr %13, align 4
br label %172
172: ; preds = %190, %171
%173 = load i32, ptr %13, align 4
%174 = load i32, ptr %6, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %176, label %193
176: ; preds = %172
%177 = load ptr, ptr %9, align 8
%178 = load i32, ptr %12, align 4
%179 = load i32, ptr %6, align 4
%180 = add nsw i32 %179, 1
%181 = mul nsw i32 %178, %180
%182 = load i32, ptr %13, align 4
%183 = add nsw i32 %181, %182
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i32, ptr %177, i64 %184
%186 = load i32, ptr %185, align 4
%187 = sitofp i32 %186 to float
%188 = load float, ptr %18, align 4
%189 = fadd float %188, %187
store float %189, ptr %18, align 4
br label %190
190: ; preds = %176
%191 = load i32, ptr %13, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %13, align 4
br label %172, !llvm.loop !9
193: ; preds = %172
%194 = load float, ptr %18, align 4
%195 = fcmp ogt float %194, 0.000000e+00
br i1 %195, label %196, label %227
196: ; preds = %193
store i32 0, ptr %13, align 4
br label %197
197: ; preds = %223, %196
%198 = load i32, ptr %13, align 4
%199 = load i32, ptr %6, align 4
%200 = icmp slt i32 %198, %199
br i1 %200, label %201, label %226
201: ; preds = %197
%202 = load ptr, ptr %9, align 8
%203 = load i32, ptr %12, align 4
%204 = load i32, ptr %6, align 4
%205 = add nsw i32 %204, 1
%206 = mul nsw i32 %203, %205
%207 = load i32, ptr %13, align 4
%208 = add nsw i32 %206, %207
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %202, i64 %209
%211 = load i32, ptr %210, align 4
%212 = sitofp i32 %211 to float
%213 = load float, ptr %18, align 4
%214 = fdiv float %212, %213
%215 = load ptr, ptr %7, align 8
%216 = load i32, ptr %12, align 4
%217 = load i32, ptr %6, align 4
%218 = mul nsw i32 %216, %217
%219 = load i32, ptr %13, align 4
%220 = add nsw i32 %218, %219
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds float, ptr %215, i64 %221
store float %214, ptr %222, align 4
br label %223
223: ; preds = %201
%224 = load i32, ptr %13, align 4
%225 = add nsw i32 %224, 1
store i32 %225, ptr %13, align 4
br label %197, !llvm.loop !10
226: ; preds = %197
br label %228
227: ; preds = %193
store i32 0, ptr %17, align 4
br label %232
228: ; preds = %226
br label %229
229: ; preds = %228
%230 = load i32, ptr %12, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %12, align 4
br label %167, !llvm.loop !11
232: ; preds = %227, %167
%233 = load ptr, ptr %9, align 8
%234 = call i32 @free(ptr noundef %233)
%235 = load i32, ptr %17, align 4
%236 = icmp ne i32 %235, 0
br i1 %236, label %238, label %237
237: ; preds = %232
store i32 0, ptr %4, align 4
br label %288
238: ; preds = %232
store i32 0, ptr %12, align 4
br label %239
239: ; preds = %284, %238
%240 = load i32, ptr %12, align 4
%241 = load i32, ptr %6, align 4
%242 = icmp slt i32 %240, %241
br i1 %242, label %243, label %287
243: ; preds = %239
store i32 0, ptr %13, align 4
br label %244
244: ; preds = %280, %243
%245 = load i32, ptr %13, align 4
%246 = load i32, ptr %6, align 4
%247 = icmp slt i32 %245, %246
br i1 %247, label %248, label %283
248: ; preds = %244
%249 = load i32, ptr %12, align 4
%250 = load i32, ptr %6, align 4
%251 = mul nsw i32 %249, %250
%252 = load i32, ptr %13, align 4
%253 = add nsw i32 %251, %252
store i32 %253, ptr %14, align 4
%254 = load ptr, ptr %7, align 8
%255 = load i32, ptr %14, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds float, ptr %254, i64 %256
%258 = load float, ptr %257, align 4
%259 = fpext float %258 to double
%260 = fcmp ogt double %259, 0.000000e+00
br i1 %260, label %261, label %272
261: ; preds = %248
%262 = load ptr, ptr %7, align 8
%263 = load i32, ptr %14, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds float, ptr %262, i64 %264
%266 = load float, ptr %265, align 4
%267 = call float @log10(float noundef %266)
%268 = load ptr, ptr %7, align 8
%269 = load i32, ptr %14, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds float, ptr %268, i64 %270
store float %267, ptr %271, align 4
br label %279
272: ; preds = %248
%273 = load float, ptr @FLT_MAX, align 4
%274 = fneg float %273
%275 = load ptr, ptr %7, align 8
%276 = load i32, ptr %14, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds float, ptr %275, i64 %277
store float %274, ptr %278, align 4
br label %279
279: ; preds = %272, %261
br label %280
280: ; preds = %279
%281 = load i32, ptr %13, align 4
%282 = add nsw i32 %281, 1
store i32 %282, ptr %13, align 4
br label %244, !llvm.loop !12
283: ; preds = %244
br label %284
284: ; preds = %283
%285 = load i32, ptr %12, align 4
%286 = add nsw i32 %285, 1
store i32 %286, ptr %12, align 4
br label %239, !llvm.loop !13
287: ; preds = %239
store i32 1, ptr %4, align 4
br label %288
288: ; preds = %287, %237, %163, %33, %27
%289 = load i32, ptr %4, align 4
ret i32 %289
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @read_string(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare float @log10(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_duli3mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@FLT_MAX = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @calculate_confusion_penalties_matrix(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [1001 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %16, align 4
store i32 1, ptr %17, align 4
store float 0.000000e+00, ptr %18, align 4
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %27, label %21
21: ; preds = %3
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = load ptr, ptr %7, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %28
27: ; preds = %24, %21, %3
store i32 0, ptr %4, align 4
br label %302
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %4, align 4
br label %302
34: ; preds = %28
store i32 0, ptr %12, align 4
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
%39 = mul nsw i32 %36, %38
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 4
%42 = trunc i64 %41 to i32
%43 = call ptr @malloc(i32 noundef %42)
store ptr %43, ptr %9, align 8
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
%49 = mul nsw i32 %46, %48
%50 = sext i32 %49 to i64
%51 = mul i64 %50, 4
%52 = trunc i64 %51 to i32
%53 = call i32 @memset(ptr noundef %44, i32 noundef 0, i32 noundef %52)
%54 = load ptr, ptr %8, align 8
%55 = call i32 @feof(ptr noundef %54)
%56 = icmp ne i32 %55, 0
%57 = xor i1 %56, true
br i1 %57, label %.lr.ph3, label %.loopexit2
.lr.ph3: ; preds = %34
br label %58
58: ; preds = %.lr.ph3, %.backedge
%59 = load ptr, ptr %8, align 8
%60 = getelementptr inbounds [1001 x i8], ptr %10, i64 0, i64 0
%61 = call i32 @read_string(ptr noundef %59, ptr noundef %60)
store i32 %61, ptr %15, align 4
%62 = load i32, ptr %15, align 4
%63 = icmp sle i32 %62, 0
br i1 %63, label %64, label %69
64: ; preds = %58
br label %.backedge
.backedge: ; preds = %64, %149
%65 = load ptr, ptr %8, align 8
%66 = call i32 @feof(ptr noundef %65)
%67 = icmp ne i32 %66, 0
%68 = xor i1 %67, true
br i1 %68, label %58, label %..loopexit2_crit_edge, !llvm.loop !6
69: ; preds = %58
%70 = load i32, ptr %12, align 4
%71 = load i32, ptr %6, align 4
%72 = icmp sgt i32 %70, %71
br i1 %72, label %73, label %74
73: ; preds = %69
store i32 0, ptr %17, align 4
br label %152
74: ; preds = %69
store i32 0, ptr %13, align 4
%75 = getelementptr inbounds [1001 x i8], ptr %10, i64 0, i64 0
%76 = call ptr @strtok(ptr noundef %75, ptr noundef @.str.1)
store ptr %76, ptr %11, align 8
%77 = load ptr, ptr %11, align 8
%78 = icmp eq ptr %77, null
br i1 %78, label %79, label %80
79: ; preds = %74
store i32 0, ptr %17, align 4
br label %152
80: ; preds = %74
%81 = load ptr, ptr %11, align 8
%82 = call i32 @sscanf(ptr noundef %81, ptr noundef @.str.2, ptr noundef %16)
%83 = icmp ne i32 %82, 1
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 0, ptr %17, align 4
br label %152
85: ; preds = %80
%86 = load i32, ptr %16, align 4
%87 = icmp slt i32 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %85
store i32 0, ptr %17, align 4
br label %152
89: ; preds = %85
%90 = load i32, ptr %16, align 4
%91 = load ptr, ptr %9, align 8
%92 = load i32, ptr %12, align 4
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 1
%95 = mul nsw i32 %92, %94
%96 = load i32, ptr %13, align 4
%97 = add nsw i32 %95, %96
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %91, i64 %98
store i32 %90, ptr %99, align 4
%100 = load i32, ptr %13, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %13, align 4
%102 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %102, ptr %11, align 8
%103 = load ptr, ptr %11, align 8
%104 = icmp ne ptr %103, null
br i1 %104, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %89
br label %105
105: ; preds = %.lr.ph, %119
%106 = load i32, ptr %13, align 4
%107 = load i32, ptr %6, align 4
%108 = icmp sgt i32 %106, %107
br i1 %108, label %109, label %110
109: ; preds = %105
store i32 0, ptr %17, align 4
br label %135
110: ; preds = %105
%111 = load ptr, ptr %11, align 8
%112 = call i32 @sscanf(ptr noundef %111, ptr noundef @.str.2, ptr noundef %16)
%113 = icmp ne i32 %112, 1
br i1 %113, label %114, label %115
114: ; preds = %110
store i32 0, ptr %17, align 4
br label %135
115: ; preds = %110
%116 = load i32, ptr %16, align 4
%117 = icmp slt i32 %116, 0
br i1 %117, label %118, label %119
118: ; preds = %115
store i32 0, ptr %17, align 4
br label %135
119: ; preds = %115
%120 = load i32, ptr %16, align 4
%121 = load ptr, ptr %9, align 8
%122 = load i32, ptr %12, align 4
%123 = load i32, ptr %6, align 4
%124 = add nsw i32 %123, 1
%125 = mul nsw i32 %122, %124
%126 = load i32, ptr %13, align 4
%127 = add nsw i32 %125, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, ptr %121, i64 %128
store i32 %120, ptr %129, align 4
%130 = load i32, ptr %13, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %13, align 4
%132 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %132, ptr %11, align 8
%133 = load ptr, ptr %11, align 8
%134 = icmp ne ptr %133, null
br i1 %134, label %105, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %119
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %89
br label %135
135: ; preds = %.loopexit1, %118, %114, %109
%136 = load i32, ptr %17, align 4
%137 = icmp ne i32 %136, 0
br i1 %137, label %138, label %145
138: ; preds = %135
%139 = load i32, ptr %13, align 4
%140 = load i32, ptr %6, align 4
%141 = add nsw i32 %140, 1
%142 = icmp ne i32 %139, %141
br i1 %142, label %143, label %144
143: ; preds = %138
store i32 0, ptr %17, align 4
br label %144
144: ; preds = %143, %138
br label %145
145: ; preds = %144, %135
%146 = load i32, ptr %17, align 4
%147 = icmp ne i32 %146, 0
br i1 %147, label %149, label %148
148: ; preds = %145
br label %152
149: ; preds = %145
%150 = load i32, ptr %12, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %12, align 4
br label %.backedge
..loopexit2_crit_edge: ; preds = %.backedge
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %34
br label %152
152: ; preds = %.loopexit2, %148, %88, %84, %79, %73
%153 = load i32, ptr %17, align 4
%154 = icmp ne i32 %153, 0
br i1 %154, label %155, label %162
155: ; preds = %152
%156 = load i32, ptr %12, align 4
%157 = load i32, ptr %6, align 4
%158 = add nsw i32 %157, 1
%159 = icmp ne i32 %156, %158
br i1 %159, label %160, label %161
160: ; preds = %155
store i32 0, ptr %17, align 4
br label %161
161: ; preds = %160, %155
br label %162
162: ; preds = %161, %152
%163 = load ptr, ptr %8, align 8
%164 = call i32 @fclose(ptr noundef %163)
%165 = load i32, ptr %17, align 4
%166 = icmp ne i32 %165, 0
br i1 %166, label %170, label %167
167: ; preds = %162
%168 = load ptr, ptr %9, align 8
%169 = call i32 @free(ptr noundef %168)
store i32 0, ptr %4, align 4
br label %302
170: ; preds = %162
store i32 0, ptr %12, align 4
%171 = load i32, ptr %12, align 4
%172 = load i32, ptr %6, align 4
%173 = icmp slt i32 %171, %172
br i1 %173, label %.lr.ph9, label %.loopexit
.lr.ph9: ; preds = %170
br label %174
174: ; preds = %.lr.ph9, %236
store float 0.000000e+00, ptr %18, align 4
store i32 0, ptr %13, align 4
%175 = load i32, ptr %13, align 4
%176 = load i32, ptr %6, align 4
%177 = icmp slt i32 %175, %176
br i1 %177, label %.lr.ph4, label %198
.lr.ph4: ; preds = %174
br label %178
178: ; preds = %.lr.ph4, %192
%179 = load ptr, ptr %9, align 8
%180 = load i32, ptr %12, align 4
%181 = load i32, ptr %6, align 4
%182 = add nsw i32 %181, 1
%183 = mul nsw i32 %180, %182
%184 = load i32, ptr %13, align 4
%185 = add nsw i32 %183, %184
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i32, ptr %179, i64 %186
%188 = load i32, ptr %187, align 4
%189 = sitofp i32 %188 to float
%190 = load float, ptr %18, align 4
%191 = fadd float %190, %189
store float %191, ptr %18, align 4
br label %192
192: ; preds = %178
%193 = load i32, ptr %13, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %13, align 4
%195 = load i32, ptr %13, align 4
%196 = load i32, ptr %6, align 4
%197 = icmp slt i32 %195, %196
br i1 %197, label %178, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %192
br label %198
198: ; preds = %._crit_edge, %174
%199 = load float, ptr %18, align 4
%200 = fcmp ogt float %199, 0.000000e+00
br i1 %200, label %201, label %234
201: ; preds = %198
store i32 0, ptr %13, align 4
%202 = load i32, ptr %13, align 4
%203 = load i32, ptr %6, align 4
%204 = icmp slt i32 %202, %203
br i1 %204, label %.lr.ph6, label %233
.lr.ph6: ; preds = %201
br label %205
205: ; preds = %.lr.ph6, %227
%206 = load ptr, ptr %9, align 8
%207 = load i32, ptr %12, align 4
%208 = load i32, ptr %6, align 4
%209 = add nsw i32 %208, 1
%210 = mul nsw i32 %207, %209
%211 = load i32, ptr %13, align 4
%212 = add nsw i32 %210, %211
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds i32, ptr %206, i64 %213
%215 = load i32, ptr %214, align 4
%216 = sitofp i32 %215 to float
%217 = load float, ptr %18, align 4
%218 = fdiv float %216, %217
%219 = load ptr, ptr %7, align 8
%220 = load i32, ptr %12, align 4
%221 = load i32, ptr %6, align 4
%222 = mul nsw i32 %220, %221
%223 = load i32, ptr %13, align 4
%224 = add nsw i32 %222, %223
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds float, ptr %219, i64 %225
store float %218, ptr %226, align 4
br label %227
227: ; preds = %205
%228 = load i32, ptr %13, align 4
%229 = add nsw i32 %228, 1
store i32 %229, ptr %13, align 4
%230 = load i32, ptr %13, align 4
%231 = load i32, ptr %6, align 4
%232 = icmp slt i32 %230, %231
br i1 %232, label %205, label %._crit_edge7, !llvm.loop !10
._crit_edge7: ; preds = %227
br label %233
233: ; preds = %._crit_edge7, %201
br label %235
234: ; preds = %198
store i32 0, ptr %17, align 4
br label %242
235: ; preds = %233
br label %236
236: ; preds = %235
%237 = load i32, ptr %12, align 4
%238 = add nsw i32 %237, 1
store i32 %238, ptr %12, align 4
%239 = load i32, ptr %12, align 4
%240 = load i32, ptr %6, align 4
%241 = icmp slt i32 %239, %240
br i1 %241, label %174, label %..loopexit_crit_edge, !llvm.loop !11
..loopexit_crit_edge: ; preds = %236
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %170
br label %242
242: ; preds = %.loopexit, %234
%243 = load ptr, ptr %9, align 8
%244 = call i32 @free(ptr noundef %243)
%245 = load i32, ptr %17, align 4
%246 = icmp ne i32 %245, 0
br i1 %246, label %248, label %247
247: ; preds = %242
store i32 0, ptr %4, align 4
br label %302
248: ; preds = %242
store i32 0, ptr %12, align 4
%249 = load i32, ptr %12, align 4
%250 = load i32, ptr %6, align 4
%251 = icmp slt i32 %249, %250
br i1 %251, label %.lr.ph14, label %301
.lr.ph14: ; preds = %248
br label %252
252: ; preds = %.lr.ph14, %295
store i32 0, ptr %13, align 4
%253 = load i32, ptr %13, align 4
%254 = load i32, ptr %6, align 4
%255 = icmp slt i32 %253, %254
br i1 %255, label %.lr.ph11, label %294
.lr.ph11: ; preds = %252
br label %256
256: ; preds = %.lr.ph11, %288
%257 = load i32, ptr %12, align 4
%258 = load i32, ptr %6, align 4
%259 = mul nsw i32 %257, %258
%260 = load i32, ptr %13, align 4
%261 = add nsw i32 %259, %260
store i32 %261, ptr %14, align 4
%262 = load ptr, ptr %7, align 8
%263 = load i32, ptr %14, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds float, ptr %262, i64 %264
%266 = load float, ptr %265, align 4
%267 = fpext float %266 to double
%268 = fcmp ogt double %267, 0.000000e+00
br i1 %268, label %269, label %280
269: ; preds = %256
%270 = load ptr, ptr %7, align 8
%271 = load i32, ptr %14, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds float, ptr %270, i64 %272
%274 = load float, ptr %273, align 4
%275 = call float @log10(float noundef %274)
%276 = load ptr, ptr %7, align 8
%277 = load i32, ptr %14, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds float, ptr %276, i64 %278
store float %275, ptr %279, align 4
br label %287
280: ; preds = %256
%281 = load float, ptr @FLT_MAX, align 4
%282 = fneg float %281
%283 = load ptr, ptr %7, align 8
%284 = load i32, ptr %14, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds float, ptr %283, i64 %285
store float %282, ptr %286, align 4
br label %287
287: ; preds = %280, %269
br label %288
288: ; preds = %287
%289 = load i32, ptr %13, align 4
%290 = add nsw i32 %289, 1
store i32 %290, ptr %13, align 4
%291 = load i32, ptr %13, align 4
%292 = load i32, ptr %6, align 4
%293 = icmp slt i32 %291, %292
br i1 %293, label %256, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %288
br label %294
294: ; preds = %._crit_edge12, %252
br label %295
295: ; preds = %294
%296 = load i32, ptr %12, align 4
%297 = add nsw i32 %296, 1
store i32 %297, ptr %12, align 4
%298 = load i32, ptr %12, align 4
%299 = load i32, ptr %6, align 4
%300 = icmp slt i32 %298, %299
br i1 %300, label %252, label %._crit_edge15, !llvm.loop !13
._crit_edge15: ; preds = %295
br label %301
301: ; preds = %._crit_edge15, %248
store i32 1, ptr %4, align 4
br label %302
302: ; preds = %301, %247, %167, %33, %27
%303 = load i32, ptr %4, align 4
ret i32 %303
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @read_string(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare float @log10(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpjj5e0wbi.c'
source_filename = "/tmp/tmpjj5e0wbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRD5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRD5_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjj5e0wbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRD5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRD5_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0h7rxzz4.c'
source_filename = "/tmp/tmp0h7rxzz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"argc = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Error: too many arguments passed to the program.\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Use 'copy -h' for help\0A\00", align 1
@opterr = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [3 x i8] c"hm\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Error: inappropriate argument passed\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"optind before read = %d\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [19 x i8] c"argv[optind] = %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"optind after read = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"Error: to few arguments.\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"Too many arguments. The rest args will be dropped out.\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"Trying to execute...\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [47 x i8] c"Printf of example:\0Amflag = %d, old_fname = %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [24 x i8] c"Non-option argument %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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
%19 = call i32 (...) @show_help()
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 4
br i1 %23, label %24, label %30
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %21
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
store i32 0, ptr %6, align 4
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
store i64 0, ptr @opterr, align 8
br label %33
33: ; preds = %49, %30
%34 = load i32, ptr %4, align 4
%35 = load ptr, ptr %5, align 8
%36 = call i32 @getopt(i32 noundef %34, ptr noundef %35, ptr noundef @.str.3)
store i32 %36, ptr %11, align 4
%37 = icmp ne i32 %36, -1
br i1 %37, label %38, label %50
38: ; preds = %33
%39 = load i32, ptr %11, align 4
switch i32 %39, label %47 [
i32 104, label %40
i32 109, label %43
i32 63, label %44
]
40: ; preds = %38
%41 = call i32 (...) @show_help()
%42 = call i32 @exit(i32 noundef 0) #3
unreachable
43: ; preds = %38
store i32 1, ptr %6, align 4
br label %49
44: ; preds = %38
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %120
47: ; preds = %38
%48 = call i32 (...) @abort() #3
unreachable
49: ; preds = %43
br label %33, !llvm.loop !6
50: ; preds = %33
%51 = load i32, ptr @optind, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %51)
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr @optind, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %57)
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr @optind, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr @optind, align 4
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds ptr, ptr %59, i64 %62
%64 = load ptr, ptr %63, align 8
store ptr %64, ptr %7, align 8
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr @optind, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr @optind, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds ptr, ptr %65, i64 %68
%70 = load ptr, ptr %69, align 8
store ptr %70, ptr %8, align 8
%71 = load i32, ptr @optind, align 4
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %71)
%73 = load ptr, ptr %7, align 8
%74 = icmp eq ptr %73, null
br i1 %74, label %78, label %75
75: ; preds = %50
%76 = load ptr, ptr %8, align 8
%77 = icmp eq ptr %76, null
br i1 %77, label %78, label %81
78: ; preds = %75, %50
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%80 = call i32 @exit(i32 noundef 1) #3
unreachable
81: ; preds = %75
%82 = load i32, ptr @optind, align 4
%83 = load i32, ptr %4, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %88
85: ; preds = %81
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %88
88: ; preds = %85, %81
%89 = load ptr, ptr %7, align 8
%90 = load i32, ptr @O_RDONLY, align 4
%91 = call i32 @open(ptr noundef %89, i32 noundef %90)
store i32 %91, ptr %12, align 4
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr @O_WRONLY, align 4
%94 = load i32, ptr @O_WRONLY, align 4
%95 = or i32 %93, %94
%96 = call i32 @open(ptr noundef %92, i32 noundef %95)
store i32 %96, ptr %13, align 4
%97 = load i32, ptr %12, align 4
%98 = call i32 @close(i32 noundef %97)
%99 = load i32, ptr %13, align 4
%100 = call i32 @close(i32 noundef %99)
%101 = load i32, ptr %6, align 4
%102 = load ptr, ptr %7, align 8
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %101, ptr noundef %102)
%104 = load i32, ptr @optind, align 4
store i32 %104, ptr %9, align 4
br label %105
105: ; preds = %116, %88
%106 = load i32, ptr %9, align 4
%107 = load i32, ptr %4, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %119
109: ; preds = %105
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %9, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds ptr, ptr %110, i64 %112
%114 = load ptr, ptr %113, align 8
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %114)
br label %116
116: ; preds = %109
%117 = load i32, ptr %9, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %9, align 4
br label %105, !llvm.loop !8
119: ; preds = %105
store i32 0, ptr %3, align 4
br label %120
120: ; preds = %119, %44
%121 = load i32, ptr %3, align 4
ret i32 %121
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @show_help(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0h7rxzz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"argc = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Error: too many arguments passed to the program.\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Use 'copy -h' for help\0A\00", align 1
@opterr = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [3 x i8] c"hm\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Error: inappropriate argument passed\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"optind before read = %d\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [19 x i8] c"argv[optind] = %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"optind after read = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"Error: to few arguments.\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"Too many arguments. The rest args will be dropped out.\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"Trying to execute...\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [47 x i8] c"Printf of example:\0Amflag = %d, old_fname = %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [24 x i8] c"Non-option argument %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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
%19 = call i32 (...) @show_help()
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 4
br i1 %23, label %24, label %30
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %21
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
store i32 0, ptr %6, align 4
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
store i64 0, ptr @opterr, align 8
%33 = load i32, ptr %4, align 4
%34 = load ptr, ptr %5, align 8
%35 = call i32 @getopt(i32 noundef %33, ptr noundef %34, ptr noundef @.str.3)
store i32 %35, ptr %11, align 4
%36 = icmp ne i32 %35, -1
br i1 %36, label %.lr.ph, label %53
.lr.ph: ; preds = %30
br label %37
37: ; preds = %.lr.ph, %48
%38 = load i32, ptr %11, align 4
switch i32 %38, label %46 [
i32 104, label %39
i32 109, label %42
i32 63, label %43
]
39: ; preds = %37
%40 = call i32 (...) @show_help()
%41 = call i32 @exit(i32 noundef 0) #3
unreachable
42: ; preds = %37
store i32 1, ptr %6, align 4
br label %48
43: ; preds = %37
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %125
46: ; preds = %37
%47 = call i32 (...) @abort() #3
unreachable
48: ; preds = %42
%49 = load i32, ptr %4, align 4
%50 = load ptr, ptr %5, align 8
%51 = call i32 @getopt(i32 noundef %49, ptr noundef %50, ptr noundef @.str.3)
store i32 %51, ptr %11, align 4
%52 = icmp ne i32 %51, -1
br i1 %52, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %53
53: ; preds = %._crit_edge, %30
%54 = load i32, ptr @optind, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %54)
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr @optind, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %60)
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr @optind, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr @optind, align 4
%65 = sext i32 %63 to i64
%66 = getelementptr inbounds ptr, ptr %62, i64 %65
%67 = load ptr, ptr %66, align 8
store ptr %67, ptr %7, align 8
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr @optind, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr @optind, align 4
%71 = sext i32 %69 to i64
%72 = getelementptr inbounds ptr, ptr %68, i64 %71
%73 = load ptr, ptr %72, align 8
store ptr %73, ptr %8, align 8
%74 = load i32, ptr @optind, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %74)
%76 = load ptr, ptr %7, align 8
%77 = icmp eq ptr %76, null
br i1 %77, label %81, label %78
78: ; preds = %53
%79 = load ptr, ptr %8, align 8
%80 = icmp eq ptr %79, null
br i1 %80, label %81, label %84
81: ; preds = %78, %53
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%83 = call i32 @exit(i32 noundef 1) #3
unreachable
84: ; preds = %78
%85 = load i32, ptr @optind, align 4
%86 = load i32, ptr %4, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %91
88: ; preds = %84
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %91
91: ; preds = %88, %84
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr @O_RDONLY, align 4
%94 = call i32 @open(ptr noundef %92, i32 noundef %93)
store i32 %94, ptr %12, align 4
%95 = load ptr, ptr %8, align 8
%96 = load i32, ptr @O_WRONLY, align 4
%97 = load i32, ptr @O_WRONLY, align 4
%98 = or i32 %96, %97
%99 = call i32 @open(ptr noundef %95, i32 noundef %98)
store i32 %99, ptr %13, align 4
%100 = load i32, ptr %12, align 4
%101 = call i32 @close(i32 noundef %100)
%102 = load i32, ptr %13, align 4
%103 = call i32 @close(i32 noundef %102)
%104 = load i32, ptr %6, align 4
%105 = load ptr, ptr %7, align 8
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %104, ptr noundef %105)
%107 = load i32, ptr @optind, align 4
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %9, align 4
%109 = load i32, ptr %4, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %.lr.ph2, label %124
.lr.ph2: ; preds = %91
br label %111
111: ; preds = %.lr.ph2, %118
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %9, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds ptr, ptr %112, i64 %114
%116 = load ptr, ptr %115, align 8
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %116)
br label %118
118: ; preds = %111
%119 = load i32, ptr %9, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %9, align 4
%121 = load i32, ptr %9, align 4
%122 = load i32, ptr %4, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %111, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %118
br label %124
124: ; preds = %._crit_edge3, %91
store i32 0, ptr %3, align 4
br label %125
125: ; preds = %124, %43
%126 = load i32, ptr %3, align 4
ret i32 %126
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @show_help(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1w56y8mz.c'
source_filename = "/tmp/tmp1w56y8mz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"String: %s\0AInteger: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @functionToCall(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, i32 noundef %9)
br label %11
11: ; preds = %7, %2
ret void
}
declare i32 @printf(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/tmp1w56y8mz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"String: %s\0AInteger: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @functionToCall(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, i32 noundef %9)
br label %11
11: ; preds = %7, %2
ret void
}
declare i32 @printf(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/tmpud6smy2f.c'
source_filename = "/tmp/tmpud6smy2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/rlstr.c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"1ab\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"9abcdef\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"3af\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @check(ptr noundef @.str, i32 noundef 36, i32 noundef 16, ptr noundef @.str.1, i32 noundef 2)
%3 = call i32 @check(ptr noundef @.str, i32 noundef 37, i32 noundef 16, ptr noundef @.str.2, i32 noundef 3074)
%4 = call i32 @check(ptr noundef @.str, i32 noundef 38, i32 noundef 16, ptr noundef @.str.3, i32 noundef 65024)
%5 = call i32 @check(ptr noundef @.str, i32 noundef 39, i32 noundef 16, ptr noundef @.str.4, i32 noundef 1)
%6 = call i32 @check(ptr noundef @.str, i32 noundef 40, i32 noundef 16, ptr noundef @.str.5, i32 noundef 33800)
ret i32 0
}
declare i32 @check(ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpud6smy2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/rlstr.c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"1ab\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"9abcdef\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"3af\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @check(ptr noundef @.str, i32 noundef 36, i32 noundef 16, ptr noundef @.str.1, i32 noundef 2)
%3 = call i32 @check(ptr noundef @.str, i32 noundef 37, i32 noundef 16, ptr noundef @.str.2, i32 noundef 3074)
%4 = call i32 @check(ptr noundef @.str, i32 noundef 38, i32 noundef 16, ptr noundef @.str.3, i32 noundef 65024)
%5 = call i32 @check(ptr noundef @.str, i32 noundef 39, i32 noundef 16, ptr noundef @.str.4, i32 noundef 1)
%6 = call i32 @check(ptr noundef @.str, i32 noundef 40, i32 noundef 16, ptr noundef @.str.5, i32 noundef 33800)
ret i32 0
}
declare i32 @check(ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmpgngsga7n.c'
source_filename = "/tmp/tmpgngsga7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in imatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in imatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 1
%23 = mul i64 %22, 8
%24 = call i64 @malloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %4
%29 = call i32 @nrerror(ptr noundef @.str)
br label %30
30: ; preds = %28, %4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
store ptr %32, ptr %12, align 8
%33 = load i64, ptr %5, align 8
%34 = load ptr, ptr %12, align 8
%35 = sub i64 0, %33
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %36, ptr %12, align 8
%37 = load i64, ptr %10, align 8
%38 = load i64, ptr %11, align 8
%39 = mul nsw i64 %37, %38
%40 = add nsw i64 %39, 1
%41 = mul i64 %40, 4
%42 = call i64 @malloc(i64 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %12, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %44, i64 %45
store ptr %43, ptr %46, align 8
%47 = load ptr, ptr %12, align 8
%48 = load i64, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %54, label %52
52: ; preds = %30
%53 = call i32 @nrerror(ptr noundef @.str.1)
br label %54
54: ; preds = %52, %30
%55 = load ptr, ptr %12, align 8
%56 = load i64, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 1
store ptr %59, ptr %57, align 8
%60 = load i64, ptr %7, align 8
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %61, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = sub i64 0, %60
%66 = getelementptr inbounds i32, ptr %64, i64 %65
store ptr %66, ptr %63, align 8
%67 = load i64, ptr %5, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %9, align 8
br label %69
69: ; preds = %84, %54
%70 = load i64, ptr %9, align 8
%71 = load i64, ptr %6, align 8
%72 = icmp sle i64 %70, %71
br i1 %72, label %73, label %87
73: ; preds = %69
%74 = load ptr, ptr %12, align 8
%75 = load i64, ptr %9, align 8
%76 = sub nsw i64 %75, 1
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = load i64, ptr %11, align 8
%80 = getelementptr inbounds i32, ptr %78, i64 %79
%81 = load ptr, ptr %12, align 8
%82 = load i64, ptr %9, align 8
%83 = getelementptr inbounds ptr, ptr %81, i64 %82
store ptr %80, ptr %83, align 8
br label %84
84: ; preds = %73
%85 = load i64, ptr %9, align 8
%86 = add nsw i64 %85, 1
store i64 %86, ptr %9, align 8
br label %69, !llvm.loop !6
87: ; preds = %69
%88 = load ptr, ptr %12, align 8
ret ptr %88
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgngsga7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in imatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in imatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 1
%23 = mul i64 %22, 8
%24 = call i64 @malloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %4
%29 = call i32 @nrerror(ptr noundef @.str)
br label %30
30: ; preds = %28, %4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
store ptr %32, ptr %12, align 8
%33 = load i64, ptr %5, align 8
%34 = load ptr, ptr %12, align 8
%35 = sub i64 0, %33
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %36, ptr %12, align 8
%37 = load i64, ptr %10, align 8
%38 = load i64, ptr %11, align 8
%39 = mul nsw i64 %37, %38
%40 = add nsw i64 %39, 1
%41 = mul i64 %40, 4
%42 = call i64 @malloc(i64 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %12, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %44, i64 %45
store ptr %43, ptr %46, align 8
%47 = load ptr, ptr %12, align 8
%48 = load i64, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %54, label %52
52: ; preds = %30
%53 = call i32 @nrerror(ptr noundef @.str.1)
br label %54
54: ; preds = %52, %30
%55 = load ptr, ptr %12, align 8
%56 = load i64, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 1
store ptr %59, ptr %57, align 8
%60 = load i64, ptr %7, align 8
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %61, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = sub i64 0, %60
%66 = getelementptr inbounds i32, ptr %64, i64 %65
store ptr %66, ptr %63, align 8
%67 = load i64, ptr %5, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %9, align 8
%69 = load i64, ptr %9, align 8
%70 = load i64, ptr %6, align 8
%71 = icmp sle i64 %69, %70
br i1 %71, label %.lr.ph, label %89
.lr.ph: ; preds = %54
br label %72
72: ; preds = %.lr.ph, %83
%73 = load ptr, ptr %12, align 8
%74 = load i64, ptr %9, align 8
%75 = sub nsw i64 %74, 1
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i64, ptr %11, align 8
%79 = getelementptr inbounds i32, ptr %77, i64 %78
%80 = load ptr, ptr %12, align 8
%81 = load i64, ptr %9, align 8
%82 = getelementptr inbounds ptr, ptr %80, i64 %81
store ptr %79, ptr %82, align 8
br label %83
83: ; preds = %72
%84 = load i64, ptr %9, align 8
%85 = add nsw i64 %84, 1
store i64 %85, ptr %9, align 8
%86 = load i64, ptr %9, align 8
%87 = load i64, ptr %6, align 8
%88 = icmp sle i64 %86, %87
br i1 %88, label %72, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %54
%90 = load ptr, ptr %12, align 8
ret ptr %90
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0_7n1_lt.c'
source_filename = "/tmp/tmp0_7n1_lt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"%d\0A%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 200, i1 false)
%7 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0
store ptr %7, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %20, %0
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %10
%12 = call i64 @scanf(ptr noundef @.str, ptr noundef %11)
%13 = load i64, ptr @EOF, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 50
br label %18
18: ; preds = %15, %8
%19 = phi i1 [ false, %8 ], [ %17, %15 ]
br i1 %19, label %20, label %23
20: ; preds = %18
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %8, !llvm.loop !6
23: ; preds = %18
%24 = load i32, ptr %3, align 4
store i32 %24, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %41, %23
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %26, 50
br i1 %27, label %28, label %34
28: ; preds = %25
%29 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0
%30 = load i32, ptr %4, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i64 @is_in_bound(ptr noundef %29, i32 noundef %30, ptr noundef %31)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %28, %25
%35 = phi i1 [ false, %25 ], [ %33, %28 ]
br i1 %35, label %36, label %46
36: ; preds = %34
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %36
store i32 1, ptr %6, align 4
br label %46
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
%43 = call ptr @hop(ptr noundef %42)
store ptr %43, ptr %5, align 8
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
br label %25, !llvm.loop !8
46: ; preds = %40, %34
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47, i32 noundef %48)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @scanf(ptr noundef, ptr noundef) #2
declare i64 @is_in_bound(ptr noundef, i32 noundef, ptr noundef) #2
declare ptr @hop(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0_7n1_lt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"%d\0A%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 200, i1 false)
%7 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0
store ptr %7, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %20, %0
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %10
%12 = call i64 @scanf(ptr noundef @.str, ptr noundef %11)
%13 = load i64, ptr @EOF, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 50
br label %18
18: ; preds = %15, %8
%19 = phi i1 [ false, %8 ], [ %17, %15 ]
br i1 %19, label %20, label %23
20: ; preds = %18
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %8, !llvm.loop !6
23: ; preds = %18
%24 = load i32, ptr %3, align 4
store i32 %24, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %41, %23
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %26, 50
br i1 %27, label %28, label %34
28: ; preds = %25
%29 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0
%30 = load i32, ptr %4, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i64 @is_in_bound(ptr noundef %29, i32 noundef %30, ptr noundef %31)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %28, %25
%35 = phi i1 [ false, %25 ], [ %33, %28 ]
br i1 %35, label %36, label %.loopexit
36: ; preds = %34
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %36
store i32 1, ptr %6, align 4
br label %46
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
%43 = call ptr @hop(ptr noundef %42)
store ptr %43, ptr %5, align 8
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
br label %25, !llvm.loop !8
.loopexit: ; preds = %34
br label %46
46: ; preds = %.loopexit, %40
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47, i32 noundef %48)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @scanf(ptr noundef, ptr noundef) #2
declare i64 @is_in_bound(ptr noundef, i32 noundef, ptr noundef) #2
declare ptr @hop(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7apawr1r.c'
source_filename = "/tmp/tmp7apawr1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_is_empty(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 -24
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i64, ptr %5, align 8
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 1, i32 0
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7apawr1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_is_empty(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 -24
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i64, ptr %5, align 8
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 1, i32 0
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjjhsbjmc.c'
source_filename = "/tmp/tmpjjhsbjmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strdup(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
ret ptr %6
}
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjhsbjmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strdup(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
ret ptr %6
}
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr5kahnzh.c'
source_filename = "/tmp/tmpr5kahnzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %12, %0
%4 = call i32 @read(i32 noundef 0, ptr noundef %2, i32 noundef 1)
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i8, ptr %2, align 1
%8 = zext i8 %7 to i32
%9 = icmp ne i32 %8, 10
br label %10
10: ; preds = %6, %3
%11 = phi i1 [ false, %3 ], [ %9, %6 ]
br i1 %11, label %12, label %14
12: ; preds = %10
%13 = call i32 (i32, ...) @write(i32 noundef 1, ptr noundef %2, i32 noundef 1)
br label %3, !llvm.loop !6
14: ; preds = %10
%15 = call i32 (i32, ...) @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
%16 = load i8, ptr %2, align 1
%17 = zext i8 %16 to i32
%18 = icmp ne i32 %17, 10
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(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/tmpr5kahnzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %12, %0
%4 = call i32 @read(i32 noundef 0, ptr noundef %2, i32 noundef 1)
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i8, ptr %2, align 1
%8 = zext i8 %7 to i32
%9 = icmp ne i32 %8, 10
br label %10
10: ; preds = %6, %3
%11 = phi i1 [ false, %3 ], [ %9, %6 ]
br i1 %11, label %12, label %14
12: ; preds = %10
%13 = call i32 (i32, ...) @write(i32 noundef 1, ptr noundef %2, i32 noundef 1)
br label %3, !llvm.loop !6
14: ; preds = %10
%15 = call i32 (i32, ...) @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
%16 = load i8, ptr %2, align 1
%17 = zext i8 %16 to i32
%18 = icmp ne i32 %17, 10
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(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/tmpctzi_s6i.c'
source_filename = "/tmp/tmpctzi_s6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBEndpointDMADisable(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = and i32 %7, 8192
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %22
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %12, 16
%14 = add nsw i32 %11, %13
%15 = add nsw i32 %14, 275
%16 = sext i32 %15 to i64
%17 = inttoptr i64 %16 to ptr
%18 = load volatile i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = and i32 %19, -17
%21 = trunc i32 %20 to i8
store volatile i8 %21, ptr %17, align 1
br label %34
22: ; preds = %3
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 16
%26 = add nsw i32 %23, %25
%27 = add nsw i32 %26, 279
%28 = sext i32 %27 to i64
%29 = inttoptr i64 %28 to ptr
%30 = load volatile i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = and i32 %31, -33
%33 = trunc i32 %32 to i8
store volatile i8 %33, ptr %29, align 1
br label %34
34: ; preds = %22, %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpctzi_s6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBEndpointDMADisable(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = and i32 %7, 8192
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %22
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %12, 16
%14 = add nsw i32 %11, %13
%15 = add nsw i32 %14, 275
%16 = sext i32 %15 to i64
%17 = inttoptr i64 %16 to ptr
%18 = load volatile i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = and i32 %19, -17
%21 = trunc i32 %20 to i8
store volatile i8 %21, ptr %17, align 1
br label %34
22: ; preds = %3
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 16
%26 = add nsw i32 %23, %25
%27 = add nsw i32 %26, 279
%28 = sext i32 %27 to i64
%29 = inttoptr i64 %28 to ptr
%30 = load volatile i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = and i32 %31, -33
%33 = trunc i32 %32 to i8
store volatile i8 %33, ptr %29, align 1
br label %34
34: ; preds = %22, %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjswfmc6q.c'
source_filename = "/tmp/tmpjswfmc6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjswfmc6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpavsaftke.c'
source_filename = "/tmp/tmpavsaftke.c"
target datalayout = "e-m:e-p270: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.num1 = private unnamed_addr constant [3 x i8] c"12\00", align 1
@__const.main.num2 = private unnamed_addr constant [3 x i8] c"23\00", align 1
@.str = private unnamed_addr constant [14 x i8] c"%s * %s = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca [3 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.num1, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.num2, i64 3, i1 false)
%4 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%6 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%8 = call ptr @multiply(ptr noundef %6, ptr noundef %7)
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare ptr @multiply(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpavsaftke.c"
target datalayout = "e-m:e-p270: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.num1 = private unnamed_addr constant [3 x i8] c"12\00", align 1
@__const.main.num2 = private unnamed_addr constant [3 x i8] c"23\00", align 1
@.str = private unnamed_addr constant [14 x i8] c"%s * %s = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca [3 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.num1, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.num2, i64 3, i1 false)
%4 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%6 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%8 = call ptr @multiply(ptr noundef %6, ptr noundef %7)
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare ptr @multiply(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4pw2icwf.c'
source_filename = "/tmp/tmp4pw2icwf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dilate_erode_3D(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [27 x i32], align 16
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %19, %4
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %13, 27
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [27 x i32], ptr %10, i64 0, i64 %17
store i32 1, ptr %18, align 4
br label %19
19: ; preds = %15
%20 = load i32, ptr %9, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %9, align 4
br label %12, !llvm.loop !6
22: ; preds = %12
%23 = getelementptr inbounds [27 x i32], ptr %10, i64 0, i64 13
store i32 9, ptr %23, align 4
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 1
%27 = trunc i64 %26 to i32
%28 = call i64 @malloc(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %11, align 8
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %39, %22
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %42
34: ; preds = %30
%35 = load ptr, ptr %11, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %34
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %9, align 4
br label %30, !llvm.loop !8
42: ; preds = %30
%43 = load ptr, ptr %11, align 8
%44 = call i32 @free(ptr noundef %43)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4pw2icwf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dilate_erode_3D(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [27 x i32], align 16
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp slt i32 %12, 27
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %18
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [27 x i32], ptr %10, i64 0, i64 %16
store i32 1, ptr %17, align 4
br label %18
18: ; preds = %14
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %21, 27
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %4
%24 = getelementptr inbounds [27 x i32], ptr %10, i64 0, i64 13
store i32 9, ptr %24, align 4
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 1
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %11, align 8
store i32 0, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %45
.lr.ph2: ; preds = %23
br label %34
34: ; preds = %.lr.ph2, %39
%35 = load ptr, ptr %11, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %34
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %23
%46 = load ptr, ptr %11, align 8
%47 = call i32 @free(ptr noundef %46)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5whls2kb.c'
source_filename = "/tmp/tmp5whls2kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseutils_buf2int(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 [20 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp uge i64 %9, 20
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 -1, ptr %4, align 4
br label %20
12: ; preds = %3
%13 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%14 = load ptr, ptr %6, align 8
%15 = load i64, ptr %7, align 8
%16 = call i32 @parseutils_buf2str(ptr noundef %13, ptr noundef %14, i64 noundef %15)
%17 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%18 = call i32 @strtol(ptr noundef %17, ptr noundef null, i32 noundef 10)
%19 = load ptr, ptr %5, align 8
store i32 %18, ptr %19, align 4
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %12, %11
%21 = load i32, ptr %4, align 4
ret i32 %21
}
declare i32 @parseutils_buf2str(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strtol(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/tmp5whls2kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseutils_buf2int(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 [20 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp uge i64 %9, 20
br i1 %10, label %11, label %12
11: ; preds = %3
store i32 -1, ptr %4, align 4
br label %20
12: ; preds = %3
%13 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%14 = load ptr, ptr %6, align 8
%15 = load i64, ptr %7, align 8
%16 = call i32 @parseutils_buf2str(ptr noundef %13, ptr noundef %14, i64 noundef %15)
%17 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%18 = call i32 @strtol(ptr noundef %17, ptr noundef null, i32 noundef 10)
%19 = load ptr, ptr %5, align 8
store i32 %18, ptr %19, align 4
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %12, %11
%21 = load i32, ptr %4, align 4
ret i32 %21
}
declare i32 @parseutils_buf2str(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strtol(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/tmpl29tyn_9.c'
source_filename = "/tmp/tmpl29tyn_9.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"Paging Mario Brothers. Pipe problem: %m\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Failed to fork a new process\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"tr\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"[:lower:]\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"[:upper:]\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [2 x i32], align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = call i32 (...) @fork()
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
switch i32 %17, label %33 [
i32 -1, label %18
i32 0, label %22
]
18: ; preds = %15
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %15
%23 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @dup2(i32 noundef %27, i32 noundef 0)
%29 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%30 = load i32, ptr %29, align 4
%31 = call i32 @close(i32 noundef %30)
%32 = call i32 (ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef null)
br label %44
33: ; preds = %15
%34 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%35 = load i32, ptr %34, align 4
%36 = call i32 @close(i32 noundef %35)
%37 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%38 = load i32, ptr %37, align 4
%39 = call i32 @dup2(i32 noundef %38, i32 noundef 1)
%40 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%41 = load i32, ptr %40, align 4
%42 = call i32 @close(i32 noundef %41)
%43 = call i32 (ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.5, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef null)
br label %44
44: ; preds = %33, %22
ret i32 0
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execlp(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl29tyn_9.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"Paging Mario Brothers. Pipe problem: %m\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Failed to fork a new process\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"tr\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"[:lower:]\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"[:upper:]\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [2 x i32], align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = call i32 (...) @fork()
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
switch i32 %17, label %33 [
i32 -1, label %18
i32 0, label %22
]
18: ; preds = %15
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %15
%23 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @dup2(i32 noundef %27, i32 noundef 0)
%29 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%30 = load i32, ptr %29, align 4
%31 = call i32 @close(i32 noundef %30)
%32 = call i32 (ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef null)
br label %44
33: ; preds = %15
%34 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%35 = load i32, ptr %34, align 4
%36 = call i32 @close(i32 noundef %35)
%37 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%38 = load i32, ptr %37, align 4
%39 = call i32 @dup2(i32 noundef %38, i32 noundef 1)
%40 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%41 = load i32, ptr %40, align 4
%42 = call i32 @close(i32 noundef %41)
%43 = call i32 (ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.5, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef null)
br label %44
44: ; preds = %33, %22
ret i32 0
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execlp(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp__g94drh.c'
source_filename = "/tmp/tmp__g94drh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_3499444699_sub_420192188731145490_3536714472(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
%10 = alloca [24 x i8], align 16
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca i8, align 1
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
br label %40
40: ; preds = %4
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 12
store ptr %42, ptr %14, align 8
%43 = load ptr, ptr %14, align 8
%44 = load i32, ptr %43, align 4
store i32 %44, ptr %15, align 4
%45 = load i32, ptr %15, align 4
%46 = mul i32 %45, 1
store i32 %46, ptr %15, align 4
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
store ptr %48, ptr %16, align 8
%49 = load ptr, ptr %16, align 8
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %17, align 4
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 4
store ptr %52, ptr %18, align 8
%53 = load ptr, ptr %18, align 8
%54 = load i32, ptr %53, align 4
store i32 %54, ptr %19, align 4
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 8
store ptr %56, ptr %20, align 8
%57 = load ptr, ptr %20, align 8
%58 = load i32, ptr %57, align 4
store i32 %58, ptr %21, align 4
%59 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%60 = getelementptr inbounds i8, ptr %59, i64 0
store ptr %60, ptr %22, align 8
%61 = load ptr, ptr %22, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
store ptr %62, ptr %23, align 8
%63 = load i32, ptr %17, align 4
%64 = load ptr, ptr %23, align 8
store i32 %63, ptr %64, align 4
%65 = load ptr, ptr %22, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 4
store ptr %66, ptr %23, align 8
%67 = load i32, ptr %19, align 4
%68 = load ptr, ptr %23, align 8
store i32 %67, ptr %68, align 4
%69 = load ptr, ptr %22, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 8
store ptr %70, ptr %23, align 8
%71 = load i32, ptr %21, align 4
%72 = load ptr, ptr %23, align 8
store i32 %71, ptr %72, align 4
%73 = load i32, ptr %19, align 4
%74 = load i32, ptr %17, align 4
%75 = sub nsw i32 %73, %74
store i32 %75, ptr %24, align 4
%76 = load i32, ptr %24, align 4
%77 = load i32, ptr %21, align 4
%78 = mul nsw i32 %76, %77
store i32 %78, ptr %25, align 4
%79 = load i32, ptr %25, align 4
%80 = add i32 %79, 1
store i32 %80, ptr %25, align 4
%81 = load ptr, ptr %22, align 8
%82 = getelementptr inbounds i8, ptr %81, i64 12
store ptr %82, ptr %23, align 8
%83 = load i32, ptr %25, align 4
%84 = load ptr, ptr %23, align 8
store i32 %83, ptr %84, align 4
%85 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%86 = getelementptr inbounds i8, ptr %85, i64 4
store ptr %86, ptr %23, align 8
%87 = load ptr, ptr %5, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 2704
store ptr %88, ptr %26, align 8
%89 = load ptr, ptr %23, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 88
store ptr %90, ptr %27, align 8
%91 = load ptr, ptr %26, align 8
%92 = load ptr, ptr %27, align 8
store ptr %91, ptr %92, align 8
%93 = load i32, ptr %15, align 4
%94 = call i64 @alloca(i32 noundef %93)
%95 = inttoptr i64 %94 to ptr
store ptr %95, ptr %28, align 8
%96 = load ptr, ptr %23, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 56
store ptr %97, ptr %29, align 8
%98 = load ptr, ptr %28, align 8
%99 = load ptr, ptr %29, align 8
store ptr %98, ptr %99, align 8
%100 = load ptr, ptr %26, align 8
%101 = load ptr, ptr %28, align 8
%102 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%103 = call i32 @xsi_type_set_default_value(ptr noundef %100, ptr noundef %101, ptr noundef %102)
%104 = load ptr, ptr %23, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 64
store ptr %105, ptr %30, align 8
%106 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%107 = load ptr, ptr %30, align 8
store ptr %106, ptr %107, align 8
%108 = load ptr, ptr %23, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 80
store ptr %109, ptr %31, align 8
%110 = load i32, ptr %15, align 4
%111 = load ptr, ptr %31, align 8
store i32 %110, ptr %111, align 4
%112 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%113 = getelementptr inbounds i8, ptr %112, i64 4
store ptr %113, ptr %32, align 8
%114 = load ptr, ptr %7, align 8
%115 = icmp ne ptr %114, null
%116 = zext i1 %115 to i32
%117 = trunc i32 %116 to i8
store i8 %117, ptr %33, align 1
%118 = load i8, ptr %33, align 1
%119 = zext i8 %118 to i32
%120 = icmp eq i32 %119, 1
br i1 %120, label %121, label %122
121: ; preds = %40
br label %205
122: ; preds = %40
br label %123
123: ; preds = %205, %122
%124 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%125 = getelementptr inbounds i8, ptr %124, i64 12
store ptr %125, ptr %34, align 8
%126 = load ptr, ptr %8, align 8
%127 = load ptr, ptr %34, align 8
store ptr %126, ptr %127, align 8
%128 = load ptr, ptr %5, align 8
%129 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%130 = load ptr, ptr %7, align 8
%131 = load ptr, ptr %8, align 8
%132 = call ptr @ieee_p_3499444699_sub_3760106476388108256_3536714472(ptr noundef %128, ptr noundef %129, i32 noundef 0, ptr noundef %130, ptr noundef %131)
store ptr %132, ptr %35, align 8
%133 = load ptr, ptr %23, align 8
%134 = getelementptr inbounds i8, ptr %133, i64 56
store ptr %134, ptr %36, align 8
%135 = load ptr, ptr %36, align 8
%136 = load ptr, ptr %135, align 8
store ptr %136, ptr %37, align 8
%137 = load ptr, ptr %37, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 0
store ptr %138, ptr %36, align 8
%139 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%140 = getelementptr inbounds i8, ptr %139, i64 12
store ptr %140, ptr %38, align 8
%141 = load ptr, ptr %38, align 8
%142 = load i32, ptr %141, align 4
store i32 %142, ptr %25, align 4
%143 = load i32, ptr %25, align 4
%144 = mul i32 1, %143
store i32 %144, ptr %39, align 4
%145 = load ptr, ptr %36, align 8
%146 = load ptr, ptr %35, align 8
%147 = load i32, ptr %39, align 4
%148 = call i32 @memcpy(ptr noundef %145, ptr noundef %146, i32 noundef %147)
%149 = load ptr, ptr %23, align 8
%150 = getelementptr inbounds i8, ptr %149, i64 56
store ptr %150, ptr %14, align 8
%151 = load ptr, ptr %14, align 8
%152 = load ptr, ptr %151, align 8
store ptr %152, ptr %16, align 8
%153 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%154 = getelementptr inbounds i8, ptr %153, i64 12
store ptr %154, ptr %14, align 8
%155 = load ptr, ptr %14, align 8
%156 = load i32, ptr %155, align 4
store i32 %156, ptr %15, align 4
%157 = load i32, ptr %15, align 4
%158 = mul i32 %157, 1
store i32 %158, ptr %15, align 4
%159 = load i32, ptr %15, align 4
%160 = call ptr @xsi_get_transient_memory(i32 noundef %159)
store ptr %160, ptr %13, align 8
%161 = load ptr, ptr %13, align 8
%162 = load ptr, ptr %16, align 8
%163 = load i32, ptr %15, align 4
%164 = call i32 @memcpy(ptr noundef %161, ptr noundef %162, i32 noundef %163)
%165 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%166 = getelementptr inbounds i8, ptr %165, i64 0
store ptr %166, ptr %18, align 8
%167 = load ptr, ptr %18, align 8
%168 = load i32, ptr %167, align 4
store i32 %168, ptr %17, align 4
%169 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%170 = getelementptr inbounds i8, ptr %169, i64 4
store ptr %170, ptr %20, align 8
%171 = load ptr, ptr %20, align 8
%172 = load i32, ptr %171, align 4
store i32 %172, ptr %19, align 4
%173 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%174 = getelementptr inbounds i8, ptr %173, i64 8
store ptr %174, ptr %22, align 8
%175 = load ptr, ptr %22, align 8
%176 = load i32, ptr %175, align 4
store i32 %176, ptr %21, align 4
%177 = load ptr, ptr %6, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 0
store ptr %178, ptr %26, align 8
%179 = load ptr, ptr %26, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 0
store ptr %180, ptr %27, align 8
%181 = load i32, ptr %17, align 4
%182 = load ptr, ptr %27, align 8
store i32 %181, ptr %182, align 4
%183 = load ptr, ptr %26, align 8
%184 = getelementptr inbounds i8, ptr %183, i64 4
store ptr %184, ptr %27, align 8
%185 = load i32, ptr %19, align 4
%186 = load ptr, ptr %27, align 8
store i32 %185, ptr %186, align 4
%187 = load ptr, ptr %26, align 8
%188 = getelementptr inbounds i8, ptr %187, i64 8
store ptr %188, ptr %27, align 8
%189 = load i32, ptr %21, align 4
%190 = load ptr, ptr %27, align 8
store i32 %189, ptr %190, align 4
%191 = load i32, ptr %19, align 4
%192 = load i32, ptr %17, align 4
%193 = sub nsw i32 %191, %192
store i32 %193, ptr %24, align 4
%194 = load i32, ptr %24, align 4
%195 = load i32, ptr %21, align 4
%196 = mul nsw i32 %194, %195
store i32 %196, ptr %25, align 4
%197 = load i32, ptr %25, align 4
%198 = add i32 %197, 1
store i32 %198, ptr %25, align 4
%199 = load ptr, ptr %26, align 8
%200 = getelementptr inbounds i8, ptr %199, i64 12
store ptr %200, ptr %27, align 8
%201 = load i32, ptr %25, align 4
%202 = load ptr, ptr %27, align 8
store i32 %201, ptr %202, align 4
br label %203
203: ; preds = %123
%204 = load ptr, ptr %13, align 8
br label %208
205: ; preds = %121
%206 = load ptr, ptr %7, align 8
%207 = load ptr, ptr %32, align 8
store ptr %206, ptr %207, align 8
br label %123
208: ; preds = %203
ret ptr %204
}
declare i64 @alloca(i32 noundef) #1
declare i32 @xsi_type_set_default_value(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @ieee_p_3499444699_sub_3760106476388108256_3536714472(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @xsi_get_transient_memory(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__g94drh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_3499444699_sub_420192188731145490_3536714472(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
%10 = alloca [24 x i8], align 16
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca i8, align 1
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
br label %40
40: ; preds = %4
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 12
store ptr %42, ptr %14, align 8
%43 = load ptr, ptr %14, align 8
%44 = load i32, ptr %43, align 4
store i32 %44, ptr %15, align 4
%45 = load i32, ptr %15, align 4
%46 = mul i32 %45, 1
store i32 %46, ptr %15, align 4
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
store ptr %48, ptr %16, align 8
%49 = load ptr, ptr %16, align 8
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %17, align 4
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 4
store ptr %52, ptr %18, align 8
%53 = load ptr, ptr %18, align 8
%54 = load i32, ptr %53, align 4
store i32 %54, ptr %19, align 4
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 8
store ptr %56, ptr %20, align 8
%57 = load ptr, ptr %20, align 8
%58 = load i32, ptr %57, align 4
store i32 %58, ptr %21, align 4
%59 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%60 = getelementptr inbounds i8, ptr %59, i64 0
store ptr %60, ptr %22, align 8
%61 = load ptr, ptr %22, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
store ptr %62, ptr %23, align 8
%63 = load i32, ptr %17, align 4
%64 = load ptr, ptr %23, align 8
store i32 %63, ptr %64, align 4
%65 = load ptr, ptr %22, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 4
store ptr %66, ptr %23, align 8
%67 = load i32, ptr %19, align 4
%68 = load ptr, ptr %23, align 8
store i32 %67, ptr %68, align 4
%69 = load ptr, ptr %22, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 8
store ptr %70, ptr %23, align 8
%71 = load i32, ptr %21, align 4
%72 = load ptr, ptr %23, align 8
store i32 %71, ptr %72, align 4
%73 = load i32, ptr %19, align 4
%74 = load i32, ptr %17, align 4
%75 = sub nsw i32 %73, %74
store i32 %75, ptr %24, align 4
%76 = load i32, ptr %24, align 4
%77 = load i32, ptr %21, align 4
%78 = mul nsw i32 %76, %77
store i32 %78, ptr %25, align 4
%79 = load i32, ptr %25, align 4
%80 = add i32 %79, 1
store i32 %80, ptr %25, align 4
%81 = load ptr, ptr %22, align 8
%82 = getelementptr inbounds i8, ptr %81, i64 12
store ptr %82, ptr %23, align 8
%83 = load i32, ptr %25, align 4
%84 = load ptr, ptr %23, align 8
store i32 %83, ptr %84, align 4
%85 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%86 = getelementptr inbounds i8, ptr %85, i64 4
store ptr %86, ptr %23, align 8
%87 = load ptr, ptr %5, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 2704
store ptr %88, ptr %26, align 8
%89 = load ptr, ptr %23, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 88
store ptr %90, ptr %27, align 8
%91 = load ptr, ptr %26, align 8
%92 = load ptr, ptr %27, align 8
store ptr %91, ptr %92, align 8
%93 = load i32, ptr %15, align 4
%94 = call i64 @alloca(i32 noundef %93)
%95 = inttoptr i64 %94 to ptr
store ptr %95, ptr %28, align 8
%96 = load ptr, ptr %23, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 56
store ptr %97, ptr %29, align 8
%98 = load ptr, ptr %28, align 8
%99 = load ptr, ptr %29, align 8
store ptr %98, ptr %99, align 8
%100 = load ptr, ptr %26, align 8
%101 = load ptr, ptr %28, align 8
%102 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%103 = call i32 @xsi_type_set_default_value(ptr noundef %100, ptr noundef %101, ptr noundef %102)
%104 = load ptr, ptr %23, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 64
store ptr %105, ptr %30, align 8
%106 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%107 = load ptr, ptr %30, align 8
store ptr %106, ptr %107, align 8
%108 = load ptr, ptr %23, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 80
store ptr %109, ptr %31, align 8
%110 = load i32, ptr %15, align 4
%111 = load ptr, ptr %31, align 8
store i32 %110, ptr %111, align 4
%112 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%113 = getelementptr inbounds i8, ptr %112, i64 4
store ptr %113, ptr %32, align 8
%114 = load ptr, ptr %7, align 8
%115 = icmp ne ptr %114, null
%116 = zext i1 %115 to i32
%117 = trunc i32 %116 to i8
store i8 %117, ptr %33, align 1
%118 = load i8, ptr %33, align 1
%119 = zext i8 %118 to i32
%120 = icmp eq i32 %119, 1
br i1 %120, label %121, label %122
121: ; preds = %40
br label %205
122: ; preds = %40
br label %123
123: ; preds = %205, %122
%124 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%125 = getelementptr inbounds i8, ptr %124, i64 12
store ptr %125, ptr %34, align 8
%126 = load ptr, ptr %8, align 8
%127 = load ptr, ptr %34, align 8
store ptr %126, ptr %127, align 8
%128 = load ptr, ptr %5, align 8
%129 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%130 = load ptr, ptr %7, align 8
%131 = load ptr, ptr %8, align 8
%132 = call ptr @ieee_p_3499444699_sub_3760106476388108256_3536714472(ptr noundef %128, ptr noundef %129, i32 noundef 0, ptr noundef %130, ptr noundef %131)
store ptr %132, ptr %35, align 8
%133 = load ptr, ptr %23, align 8
%134 = getelementptr inbounds i8, ptr %133, i64 56
store ptr %134, ptr %36, align 8
%135 = load ptr, ptr %36, align 8
%136 = load ptr, ptr %135, align 8
store ptr %136, ptr %37, align 8
%137 = load ptr, ptr %37, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 0
store ptr %138, ptr %36, align 8
%139 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%140 = getelementptr inbounds i8, ptr %139, i64 12
store ptr %140, ptr %38, align 8
%141 = load ptr, ptr %38, align 8
%142 = load i32, ptr %141, align 4
store i32 %142, ptr %25, align 4
%143 = load i32, ptr %25, align 4
%144 = mul i32 1, %143
store i32 %144, ptr %39, align 4
%145 = load ptr, ptr %36, align 8
%146 = load ptr, ptr %35, align 8
%147 = load i32, ptr %39, align 4
%148 = call i32 @memcpy(ptr noundef %145, ptr noundef %146, i32 noundef %147)
%149 = load ptr, ptr %23, align 8
%150 = getelementptr inbounds i8, ptr %149, i64 56
store ptr %150, ptr %14, align 8
%151 = load ptr, ptr %14, align 8
%152 = load ptr, ptr %151, align 8
store ptr %152, ptr %16, align 8
%153 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%154 = getelementptr inbounds i8, ptr %153, i64 12
store ptr %154, ptr %14, align 8
%155 = load ptr, ptr %14, align 8
%156 = load i32, ptr %155, align 4
store i32 %156, ptr %15, align 4
%157 = load i32, ptr %15, align 4
%158 = mul i32 %157, 1
store i32 %158, ptr %15, align 4
%159 = load i32, ptr %15, align 4
%160 = call ptr @xsi_get_transient_memory(i32 noundef %159)
store ptr %160, ptr %13, align 8
%161 = load ptr, ptr %13, align 8
%162 = load ptr, ptr %16, align 8
%163 = load i32, ptr %15, align 4
%164 = call i32 @memcpy(ptr noundef %161, ptr noundef %162, i32 noundef %163)
%165 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%166 = getelementptr inbounds i8, ptr %165, i64 0
store ptr %166, ptr %18, align 8
%167 = load ptr, ptr %18, align 8
%168 = load i32, ptr %167, align 4
store i32 %168, ptr %17, align 4
%169 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%170 = getelementptr inbounds i8, ptr %169, i64 4
store ptr %170, ptr %20, align 8
%171 = load ptr, ptr %20, align 8
%172 = load i32, ptr %171, align 4
store i32 %172, ptr %19, align 4
%173 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%174 = getelementptr inbounds i8, ptr %173, i64 8
store ptr %174, ptr %22, align 8
%175 = load ptr, ptr %22, align 8
%176 = load i32, ptr %175, align 4
store i32 %176, ptr %21, align 4
%177 = load ptr, ptr %6, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 0
store ptr %178, ptr %26, align 8
%179 = load ptr, ptr %26, align 8
%180 = getelementptr inbounds i8, ptr %179, i64 0
store ptr %180, ptr %27, align 8
%181 = load i32, ptr %17, align 4
%182 = load ptr, ptr %27, align 8
store i32 %181, ptr %182, align 4
%183 = load ptr, ptr %26, align 8
%184 = getelementptr inbounds i8, ptr %183, i64 4
store ptr %184, ptr %27, align 8
%185 = load i32, ptr %19, align 4
%186 = load ptr, ptr %27, align 8
store i32 %185, ptr %186, align 4
%187 = load ptr, ptr %26, align 8
%188 = getelementptr inbounds i8, ptr %187, i64 8
store ptr %188, ptr %27, align 8
%189 = load i32, ptr %21, align 4
%190 = load ptr, ptr %27, align 8
store i32 %189, ptr %190, align 4
%191 = load i32, ptr %19, align 4
%192 = load i32, ptr %17, align 4
%193 = sub nsw i32 %191, %192
store i32 %193, ptr %24, align 4
%194 = load i32, ptr %24, align 4
%195 = load i32, ptr %21, align 4
%196 = mul nsw i32 %194, %195
store i32 %196, ptr %25, align 4
%197 = load i32, ptr %25, align 4
%198 = add i32 %197, 1
store i32 %198, ptr %25, align 4
%199 = load ptr, ptr %26, align 8
%200 = getelementptr inbounds i8, ptr %199, i64 12
store ptr %200, ptr %27, align 8
%201 = load i32, ptr %25, align 4
%202 = load ptr, ptr %27, align 8
store i32 %201, ptr %202, align 4
br label %203
203: ; preds = %123
%204 = load ptr, ptr %13, align 8
br label %208
205: ; preds = %121
%206 = load ptr, ptr %7, align 8
%207 = load ptr, ptr %32, align 8
store ptr %206, ptr %207, align 8
br label %123
208: ; preds = %203
ret ptr %204
}
declare i64 @alloca(i32 noundef) #1
declare i32 @xsi_type_set_default_value(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @ieee_p_3499444699_sub_3760106476388108256_3536714472(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @xsi_get_transient_memory(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/tmp89er8y0c.c'
source_filename = "/tmp/tmp89er8y0c.c"
target datalayout = "e-m:e-p270: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/tmp89er8y0c.c"
target datalayout = "e-m:e-p270: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/tmpjbuqy0ws.c'
source_filename = "/tmp/tmpjbuqy0ws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@advnst.g = internal global i64 0, align 8
@advnst.i = internal global i64 0, align 8
@advnst.ib1 = internal global i64 0, align 8
@advnst.ib2 = internal global i64 0, align 8
@advnst.qrgnin = internal global i64 0, align 8
@.str = private unnamed_addr constant [60 x i8] c" ADVNST called before random generator initialized - ABORT\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@Xa1 = external global i64, align 8
@Xa2 = external global i64, align 8
@Xm1 = external global i64, align 8
@Xm2 = external global i64, align 8
@Xcg1 = external global [0 x i64], align 8
@Xcg2 = external global [0 x i64], align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @advnst(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
call void @gsrgs(i64 noundef 0, ptr noundef @advnst.qrgnin)
%3 = load i64, ptr @advnst.qrgnin, align 8
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %5
call void @gscgn(i64 noundef 0, ptr noundef @advnst.g)
%11 = load i64, ptr @Xa1, align 8
store i64 %11, ptr @advnst.ib1, align 8
%12 = load i64, ptr @Xa2, align 8
store i64 %12, ptr @advnst.ib2, align 8
store i64 1, ptr @advnst.i, align 8
br label %13
13: ; preds = %26, %10
%14 = load i64, ptr @advnst.i, align 8
%15 = load i64, ptr %2, align 8
%16 = icmp sle i64 %14, %15
br i1 %16, label %17, label %29
17: ; preds = %13
%18 = load i64, ptr @advnst.ib1, align 8
%19 = load i64, ptr @advnst.ib1, align 8
%20 = load i64, ptr @Xm1, align 8
%21 = call i64 @mltmod(i64 noundef %18, i64 noundef %19, i64 noundef %20)
store i64 %21, ptr @advnst.ib1, align 8
%22 = load i64, ptr @advnst.ib2, align 8
%23 = load i64, ptr @advnst.ib2, align 8
%24 = load i64, ptr @Xm2, align 8
%25 = call i64 @mltmod(i64 noundef %22, i64 noundef %23, i64 noundef %24)
store i64 %25, ptr @advnst.ib2, align 8
br label %26
26: ; preds = %17
%27 = load i64, ptr @advnst.i, align 8
%28 = add nsw i64 %27, 1
store i64 %28, ptr @advnst.i, align 8
br label %13, !llvm.loop !6
29: ; preds = %13
%30 = load i64, ptr @advnst.ib1, align 8
%31 = load i64, ptr @advnst.g, align 8
%32 = getelementptr inbounds i64, ptr @Xcg1, i64 %31
%33 = getelementptr inbounds i64, ptr %32, i64 -1
%34 = load i64, ptr %33, align 8
%35 = load i64, ptr @Xm1, align 8
%36 = call i64 @mltmod(i64 noundef %30, i64 noundef %34, i64 noundef %35)
%37 = load i64, ptr @advnst.ib2, align 8
%38 = load i64, ptr @advnst.g, align 8
%39 = getelementptr inbounds i64, ptr @Xcg2, i64 %38
%40 = getelementptr inbounds i64, ptr %39, i64 -1
%41 = load i64, ptr %40, align 8
%42 = load i64, ptr @Xm2, align 8
%43 = call i64 @mltmod(i64 noundef %37, i64 noundef %41, i64 noundef %42)
%44 = call i32 @setsd(i64 noundef %36, i64 noundef %43)
ret void
}
declare void @gsrgs(i64 noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare void @gscgn(i64 noundef, ptr noundef) #1
declare i64 @mltmod(i64 noundef, i64 noundef, i64 noundef) #1
declare i32 @setsd(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjbuqy0ws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@advnst.g = internal global i64 0, align 8
@advnst.i = internal global i64 0, align 8
@advnst.ib1 = internal global i64 0, align 8
@advnst.ib2 = internal global i64 0, align 8
@advnst.qrgnin = internal global i64 0, align 8
@.str = private unnamed_addr constant [60 x i8] c" ADVNST called before random generator initialized - ABORT\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@Xa1 = external global i64, align 8
@Xa2 = external global i64, align 8
@Xm1 = external global i64, align 8
@Xm2 = external global i64, align 8
@Xcg1 = external global [0 x i64], align 8
@Xcg2 = external global [0 x i64], align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @advnst(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
call void @gsrgs(i64 noundef 0, ptr noundef @advnst.qrgnin)
%3 = load i64, ptr @advnst.qrgnin, align 8
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %5
call void @gscgn(i64 noundef 0, ptr noundef @advnst.g)
%11 = load i64, ptr @Xa1, align 8
store i64 %11, ptr @advnst.ib1, align 8
%12 = load i64, ptr @Xa2, align 8
store i64 %12, ptr @advnst.ib2, align 8
store i64 1, ptr @advnst.i, align 8
%13 = load i64, ptr @advnst.i, align 8
%14 = load i64, ptr %2, align 8
%15 = icmp sle i64 %13, %14
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %10
br label %16
16: ; preds = %.lr.ph, %25
%17 = load i64, ptr @advnst.ib1, align 8
%18 = load i64, ptr @advnst.ib1, align 8
%19 = load i64, ptr @Xm1, align 8
%20 = call i64 @mltmod(i64 noundef %17, i64 noundef %18, i64 noundef %19)
store i64 %20, ptr @advnst.ib1, align 8
%21 = load i64, ptr @advnst.ib2, align 8
%22 = load i64, ptr @advnst.ib2, align 8
%23 = load i64, ptr @Xm2, align 8
%24 = call i64 @mltmod(i64 noundef %21, i64 noundef %22, i64 noundef %23)
store i64 %24, ptr @advnst.ib2, align 8
br label %25
25: ; preds = %16
%26 = load i64, ptr @advnst.i, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr @advnst.i, align 8
%28 = load i64, ptr @advnst.i, align 8
%29 = load i64, ptr %2, align 8
%30 = icmp sle i64 %28, %29
br i1 %30, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %10
%32 = load i64, ptr @advnst.ib1, align 8
%33 = load i64, ptr @advnst.g, align 8
%34 = getelementptr inbounds i64, ptr @Xcg1, i64 %33
%35 = getelementptr inbounds i64, ptr %34, i64 -1
%36 = load i64, ptr %35, align 8
%37 = load i64, ptr @Xm1, align 8
%38 = call i64 @mltmod(i64 noundef %32, i64 noundef %36, i64 noundef %37)
%39 = load i64, ptr @advnst.ib2, align 8
%40 = load i64, ptr @advnst.g, align 8
%41 = getelementptr inbounds i64, ptr @Xcg2, i64 %40
%42 = getelementptr inbounds i64, ptr %41, i64 -1
%43 = load i64, ptr %42, align 8
%44 = load i64, ptr @Xm2, align 8
%45 = call i64 @mltmod(i64 noundef %39, i64 noundef %43, i64 noundef %44)
%46 = call i32 @setsd(i64 noundef %38, i64 noundef %45)
ret void
}
declare void @gsrgs(i64 noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare void @gscgn(i64 noundef, ptr noundef) #1
declare i64 @mltmod(i64 noundef, i64 noundef, i64 noundef) #1
declare i32 @setsd(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3n7e82qq.c'
source_filename = "/tmp/tmp3n7e82qq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Supports IPv4\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Supports IPv6\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"No valid result\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @get_address_family(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
switch i32 %11, label %16 [
i32 3, label %12
i32 4, label %14
]
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
br label %18
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str.1)
br label %18
16: ; preds = %2
%17 = call i32 @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %14, %12
ret i32 0
}
declare i32 @get_address_family(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3n7e82qq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Supports IPv4\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Supports IPv6\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"No valid result\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @get_address_family(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
switch i32 %11, label %16 [
i32 3, label %12
i32 4, label %14
]
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
br label %18
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str.1)
br label %18
16: ; preds = %2
%17 = call i32 @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %14, %12
ret i32 0
}
declare i32 @get_address_family(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfbxux0yu.c'
source_filename = "/tmp/tmpfbxux0yu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Unable to call clock_gettime()\00", align 1
@EX_OSERR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__pfpanic_clock_gettime(i16 noundef zeroext %0, i16 noundef zeroext %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i16 %0, ptr %7, align 2
store i16 %1, ptr %8, align 2
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i16, ptr %7, align 2
%14 = load i16, ptr %8, align 2
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = load i32, ptr @EX_OSERR, align 4
%20 = call i32 @pfpanic(ptr noundef @.str, i16 noundef zeroext %13, i16 noundef zeroext %14, ptr noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @pfpanic(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfbxux0yu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Unable to call clock_gettime()\00", align 1
@EX_OSERR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__pfpanic_clock_gettime(i16 noundef zeroext %0, i16 noundef zeroext %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i16 %0, ptr %7, align 2
store i16 %1, ptr %8, align 2
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i16, ptr %7, align 2
%14 = load i16, ptr %8, align 2
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = load i32, ptr @EX_OSERR, align 4
%20 = call i32 @pfpanic(ptr noundef @.str, i16 noundef zeroext %13, i16 noundef zeroext %14, ptr noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @pfpanic(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbfd447s7.c'
source_filename = "/tmp/tmpbfd447s7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_path_to(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca [256 x i8], align 16
store i64 %0, ptr %2, align 8
%5 = call i64 @get_inode(ptr noundef @.str)
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %5, %6
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = call i32 @chdir(ptr noundef @.str)
%10 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%11 = load i64, ptr %2, align 8
%12 = call i32 @inode_to_name(i64 noundef %11)
%13 = call i32 @strncpy(ptr noundef %10, i32 noundef %12, i32 noundef 255)
%14 = call i64 @get_inode(ptr noundef @.str.1)
store i64 %14, ptr %3, align 8
%15 = load i64, ptr %3, align 8
call void @print_path_to(i64 noundef %15)
%16 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str.2, ptr noundef %16)
br label %19
18: ; preds = %1
br label %19
19: ; preds = %18, %8
ret void
}
declare i64 @get_inode(ptr noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inode_to_name(i64 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/tmpbfd447s7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_path_to(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca [256 x i8], align 16
store i64 %0, ptr %2, align 8
%5 = call i64 @get_inode(ptr noundef @.str)
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %5, %6
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = call i32 @chdir(ptr noundef @.str)
%10 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%11 = load i64, ptr %2, align 8
%12 = call i32 @inode_to_name(i64 noundef %11)
%13 = call i32 @strncpy(ptr noundef %10, i32 noundef %12, i32 noundef 255)
%14 = call i64 @get_inode(ptr noundef @.str.1)
store i64 %14, ptr %3, align 8
%15 = load i64, ptr %3, align 8
call void @print_path_to(i64 noundef %15)
%16 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str.2, ptr noundef %16)
br label %19
18: ; preds = %1
br label %19
19: ; preds = %18, %8
ret void
}
declare i64 @get_inode(ptr noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inode_to_name(i64 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/tmphweic38v.c'
source_filename = "/tmp/tmphweic38v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"NOT IMPLEMENTED:pa_pstream_enable_shm\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_pstream_enable_shm() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmphweic38v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"NOT IMPLEMENTED:pa_pstream_enable_shm\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_pstream_enable_shm() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpfqzpqlkw.c'
source_filename = "/tmp/tmpfqzpqlkw.c"
target datalayout = "e-m:e-p270: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/tmpfqzpqlkw.c"
target datalayout = "e-m:e-p270: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/tmp2leut39f.c'
source_filename = "/tmp/tmp2leut39f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %8, align 4
store i32 0, ptr %9, align 4
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
%20 = load i8, ptr %18, align 1
%21 = sext i8 %20 to i32
store i32 %21, ptr %10, align 4
br label %22
22: ; preds = %46, %2
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %52
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = call i32 @puts(ptr noundef %28)
br label %30
30: ; preds = %45, %26
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %43
34: ; preds = %30
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %7, align 8
%39 = load i8, ptr %37, align 1
%40 = sext i8 %39 to i32
store i32 %40, ptr %11, align 4
%41 = load i32, ptr %10, align 4
%42 = icmp eq i32 %40, %41
br label %43
43: ; preds = %34, %30
%44 = phi i1 [ false, %30 ], [ %42, %34 ]
br i1 %44, label %45, label %46
45: ; preds = %43
br label %30, !llvm.loop !6
46: ; preds = %43
%47 = load i32, ptr %10, align 4
%48 = trunc i32 %47 to i8
%49 = load ptr, ptr %7, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 -1
store i8 %48, ptr %50, align 1
%51 = load i32, ptr %11, align 4
store i32 %51, ptr %10, align 4
br label %22, !llvm.loop !8
52: ; preds = %22
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2leut39f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %8, align 4
store i32 0, ptr %9, align 4
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
%20 = load i8, ptr %18, align 1
%21 = sext i8 %20 to i32
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %53
.lr.ph: ; preds = %2
br label %25
25: ; preds = %.lr.ph, %44
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
%28 = call i32 @puts(ptr noundef %27)
br label %29
29: ; preds = %42, %25
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %42
33: ; preds = %29
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
%39 = sext i8 %38 to i32
store i32 %39, ptr %11, align 4
%40 = load i32, ptr %10, align 4
%41 = icmp eq i32 %39, %40
br label %42
42: ; preds = %33, %29
%43 = phi i1 [ false, %29 ], [ %41, %33 ]
br i1 %43, label %29, label %44, !llvm.loop !6
44: ; preds = %42
%45 = load i32, ptr %10, align 4
%46 = trunc i32 %45 to i8
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 -1
store i8 %46, ptr %48, align 1
%49 = load i32, ptr %11, align 4
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %25, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %44
br label %53
53: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9tnev563.c'
source_filename = "/tmp/tmp9tnev563.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnequ(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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %46
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %46
13: ; preds = %10
br label %14
14: ; preds = %38, %13
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19, %14
%25 = load i64, ptr %7, align 8
%26 = icmp ne i64 %25, 0
br label %27
27: ; preds = %24, %19
%28 = phi i1 [ false, %19 ], [ %26, %24 ]
br i1 %28, label %29, label %45
29: ; preds = %27
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load ptr, ptr %6, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %32, %35
br i1 %36, label %37, label %38
37: ; preds = %29
store i32 0, ptr %4, align 4
br label %47
38: ; preds = %29
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %6, align 8
%43 = load i64, ptr %7, align 8
%44 = add i64 %43, -1
store i64 %44, ptr %7, align 8
br label %14, !llvm.loop !6
45: ; preds = %27
store i32 1, ptr %4, align 4
br label %47
46: ; preds = %10, %3
store i32 0, ptr %4, align 4
br label %47
47: ; preds = %46, %45, %37
%48 = load i32, ptr %4, align 4
ret i32 %48
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9tnev563.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnequ(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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %46
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %46
13: ; preds = %10
br label %14
14: ; preds = %38, %13
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19, %14
%25 = load i64, ptr %7, align 8
%26 = icmp ne i64 %25, 0
br label %27
27: ; preds = %24, %19
%28 = phi i1 [ false, %19 ], [ %26, %24 ]
br i1 %28, label %29, label %45
29: ; preds = %27
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load ptr, ptr %6, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %32, %35
br i1 %36, label %37, label %38
37: ; preds = %29
store i32 0, ptr %4, align 4
br label %47
38: ; preds = %29
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %6, align 8
%43 = load i64, ptr %7, align 8
%44 = add i64 %43, -1
store i64 %44, ptr %7, align 8
br label %14, !llvm.loop !6
45: ; preds = %27
store i32 1, ptr %4, align 4
br label %47
46: ; preds = %10, %3
store i32 0, ptr %4, align 4
br label %47
47: ; preds = %46, %45, %37
%48 = load i32, ptr %4, align 4
ret i32 %48
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj3wwfh4w.c'
source_filename = "/tmp/tmpj3wwfh4w.c"
target datalayout = "e-m:e-p270: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.coins = private unnamed_addr constant [8 x i32] [i32 1, i32 2, i32 5, i32 10, i32 20, i32 50, i32 100, i32 200], align 16
@.str = private unnamed_addr constant [42 x i8] c"ways to break %d with british coins: \09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.coins, i64 32, i1 false)
store i32 200, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @dynamic_programming(i32 noundef 200, i32 noundef 8, ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @dynamic_programming(i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj3wwfh4w.c"
target datalayout = "e-m:e-p270: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.coins = private unnamed_addr constant [8 x i32] [i32 1, i32 2, i32 5, i32 10, i32 20, i32 50, i32 100, i32 200], align 16
@.str = private unnamed_addr constant [42 x i8] c"ways to break %d with british coins: \09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.coins, i64 32, i1 false)
store i32 200, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @dynamic_programming(i32 noundef 200, i32 noundef 8, ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @dynamic_programming(i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9mx0hz0c.c'
source_filename = "/tmp/tmp9mx0hz0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printChar(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %13, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load i8, ptr %3, align 1
%12 = call i32 @putchar(i8 noundef signext %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9mx0hz0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printChar(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %12
%10 = load i8, ptr %3, align 1
%11 = call i32 @putchar(i8 noundef signext %10)
br label %12
12: ; preds = %9
%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 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %18
18: ; preds = %._crit_edge, %2
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5zcfzwms.c'
source_filename = "/tmp/tmp5zcfzwms.c"
target datalayout = "e-m:e-p270: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.passwd = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @linux_map_uid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = call ptr @getpwuid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %25
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.passwd, ptr %15, i32 0, i32 0
%17 = load ptr, ptr %16, align 8
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.passwd, ptr %21, i32 0, i32 0
%23 = load ptr, ptr %22, align 8
%24 = call ptr @utils_strdup(ptr noundef %23)
store ptr %24, ptr %3, align 8
br label %28
25: ; preds = %14, %9, %1
%26 = load i32, ptr %2, align 4
%27 = call ptr @_utoa(i32 noundef %26)
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %25, %20
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
declare ptr @getpwuid(i32 noundef) #1
declare ptr @utils_strdup(ptr noundef) #1
declare ptr @_utoa(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/tmp5zcfzwms.c"
target datalayout = "e-m:e-p270: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.passwd = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @linux_map_uid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = call ptr @getpwuid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %25
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.passwd, ptr %15, i32 0, i32 0
%17 = load ptr, ptr %16, align 8
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.passwd, ptr %21, i32 0, i32 0
%23 = load ptr, ptr %22, align 8
%24 = call ptr @utils_strdup(ptr noundef %23)
store ptr %24, ptr %3, align 8
br label %28
25: ; preds = %14, %9, %1
%26 = load i32, ptr %2, align 4
%27 = call ptr @_utoa(i32 noundef %26)
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %25, %20
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
declare ptr @getpwuid(i32 noundef) #1
declare ptr @utils_strdup(ptr noundef) #1
declare ptr @_utoa(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/tmplbs85vis.c'
source_filename = "/tmp/tmplbs85vis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 77, ptr %2, align 4
store i32 51, ptr %3, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplbs85vis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 77, ptr %2, align 4
store i32 51, ptr %3, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl22_ysmi.c'
source_filename = "/tmp/tmpl22_ysmi.c"
target datalayout = "e-m:e-p270: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/tmpl22_ysmi.c"
target datalayout = "e-m:e-p270: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/tmp02vr47ih.c'
source_filename = "/tmp/tmp02vr47ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [20 x i8] c"could not open file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @file_open(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp02vr47ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [20 x i8] c"could not open file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @file_open(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp19u7iv9u.c'
source_filename = "/tmp/tmp19u7iv9u.c"
target datalayout = "e-m:e-p270: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/tmp19u7iv9u.c"
target datalayout = "e-m:e-p270: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/tmpxr24x76d.c'
source_filename = "/tmp/tmpxr24x76d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_blob(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 @dfs_alloc(i32 noundef %3)
ret i32 %4
}
declare i32 @dfs_alloc(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/tmpxr24x76d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_blob(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 @dfs_alloc(i32 noundef %3)
ret i32 %4
}
declare i32 @dfs_alloc(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/tmp685z8bas.c'
source_filename = "/tmp/tmp685z8bas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load float, ptr %1, align 4
%6 = load float, ptr %2, align 4
%7 = fmul float %5, %6
%8 = fpext float %7 to double
%9 = fdiv double %8, 1.200000e+01
%10 = fptrunc double %9 to float
%11 = call i32 @printf(ptr noundef @.str.1, float noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp685z8bas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load float, ptr %1, align 4
%6 = load float, ptr %2, align 4
%7 = fmul float %5, %6
%8 = fpext float %7 to double
%9 = fdiv double %8, 1.200000e+01
%10 = fptrunc double %9 to float
%11 = call i32 @printf(ptr noundef @.str.1, float noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphk_z4cy_.c'
source_filename = "/tmp/tmphk_z4cy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [0 x i8], align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
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/tmphk_z4cy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [0 x i8], align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
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/tmp5tgbtvuy.c'
source_filename = "/tmp/tmp5tgbtvuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M666_f(const char *s) is not yet implemented!\0A\00", align 1
@.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 @M666_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5tgbtvuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M666_f(const char *s) is not yet implemented!\0A\00", align 1
@.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 @M666_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq3fkgvew.c'
source_filename = "/tmp/tmpq3fkgvew.c"
target datalayout = "e-m:e-p270: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/tmpq3fkgvew.c"
target datalayout = "e-m:e-p270: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/tmpxo_79ag6.c'
source_filename = "/tmp/tmpxo_79ag6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @GetScreenResolutionAdaptiveScaleFactor(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%12 = load float, ptr %7, align 4
%13 = load float, ptr %8, align 4
%14 = fmul float %12, %13
store float %14, ptr %9, align 4
%15 = load float, ptr %5, align 4
%16 = load float, ptr %6, align 4
%17 = fmul float %15, %16
store float %17, ptr %10, align 4
%18 = load float, ptr %10, align 4
%19 = load float, ptr %9, align 4
%20 = fdiv float %18, %19
%21 = call float @saturate(float noundef %20)
store float %21, ptr %11, align 4
%22 = load float, ptr %11, align 4
ret float %22
}
declare float @saturate(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxo_79ag6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @GetScreenResolutionAdaptiveScaleFactor(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%12 = load float, ptr %7, align 4
%13 = load float, ptr %8, align 4
%14 = fmul float %12, %13
store float %14, ptr %9, align 4
%15 = load float, ptr %5, align 4
%16 = load float, ptr %6, align 4
%17 = fmul float %15, %16
store float %17, ptr %10, align 4
%18 = load float, ptr %10, align 4
%19 = load float, ptr %9, align 4
%20 = fdiv float %18, %19
%21 = call float @saturate(float noundef %20)
store float %21, ptr %11, align 4
%22 = load float, ptr %11, align 4
ret float %22
}
declare float @saturate(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphw4pjkq_.c'
source_filename = "/tmp/tmphw4pjkq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inv_quaternion_to_rotation(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 = getelementptr inbounds i64, ptr %5, i64 1
%7 = load i64, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i64, ptr %8, i64 1
%10 = load i64, ptr %9, align 8
%11 = call i64 @inv_q29_mult(i64 noundef %7, i64 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
%14 = load i64, ptr %13, align 8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i64, ptr %15, i64 0
%17 = load i64, ptr %16, align 8
%18 = call i64 @inv_q29_mult(i64 noundef %14, i64 noundef %17)
%19 = add nsw i64 %11, %18
%20 = sub nsw i64 %19, 1073741824
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i64, ptr %21, i64 0
store i64 %20, ptr %22, align 8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 1
%25 = load i64, ptr %24, align 8
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i64, ptr %26, i64 2
%28 = load i64, ptr %27, align 8
%29 = call i64 @inv_q29_mult(i64 noundef %25, i64 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds i64, ptr %30, i64 3
%32 = load i64, ptr %31, align 8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i64, ptr %33, i64 0
%35 = load i64, ptr %34, align 8
%36 = call i64 @inv_q29_mult(i64 noundef %32, i64 noundef %35)
%37 = sub nsw i64 %29, %36
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i64, ptr %38, i64 1
store i64 %37, ptr %39, align 8
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i64, ptr %40, i64 1
%42 = load i64, ptr %41, align 8
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i64, ptr %43, i64 3
%45 = load i64, ptr %44, align 8
%46 = call i64 @inv_q29_mult(i64 noundef %42, i64 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds i64, ptr %47, i64 2
%49 = load i64, ptr %48, align 8
%50 = load ptr, ptr %3, align 8
%51 = getelementptr inbounds i64, ptr %50, i64 0
%52 = load i64, ptr %51, align 8
%53 = call i64 @inv_q29_mult(i64 noundef %49, i64 noundef %52)
%54 = add nsw i64 %46, %53
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i64, ptr %55, i64 2
store i64 %54, ptr %56, align 8
%57 = load ptr, ptr %3, align 8
%58 = getelementptr inbounds i64, ptr %57, i64 1
%59 = load i64, ptr %58, align 8
%60 = load ptr, ptr %3, align 8
%61 = getelementptr inbounds i64, ptr %60, i64 2
%62 = load i64, ptr %61, align 8
%63 = call i64 @inv_q29_mult(i64 noundef %59, i64 noundef %62)
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i64, ptr %64, i64 3
%66 = load i64, ptr %65, align 8
%67 = load ptr, ptr %3, align 8
%68 = getelementptr inbounds i64, ptr %67, i64 0
%69 = load i64, ptr %68, align 8
%70 = call i64 @inv_q29_mult(i64 noundef %66, i64 noundef %69)
%71 = add nsw i64 %63, %70
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i64, ptr %72, i64 3
store i64 %71, ptr %73, align 8
%74 = load ptr, ptr %3, align 8
%75 = getelementptr inbounds i64, ptr %74, i64 2
%76 = load i64, ptr %75, align 8
%77 = load ptr, ptr %3, align 8
%78 = getelementptr inbounds i64, ptr %77, i64 2
%79 = load i64, ptr %78, align 8
%80 = call i64 @inv_q29_mult(i64 noundef %76, i64 noundef %79)
%81 = load ptr, ptr %3, align 8
%82 = getelementptr inbounds i64, ptr %81, i64 0
%83 = load i64, ptr %82, align 8
%84 = load ptr, ptr %3, align 8
%85 = getelementptr inbounds i64, ptr %84, i64 0
%86 = load i64, ptr %85, align 8
%87 = call i64 @inv_q29_mult(i64 noundef %83, i64 noundef %86)
%88 = add nsw i64 %80, %87
%89 = sub nsw i64 %88, 1073741824
%90 = load ptr, ptr %4, align 8
%91 = getelementptr inbounds i64, ptr %90, i64 4
store i64 %89, ptr %91, align 8
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i64, ptr %92, i64 2
%94 = load i64, ptr %93, align 8
%95 = load ptr, ptr %3, align 8
%96 = getelementptr inbounds i64, ptr %95, i64 3
%97 = load i64, ptr %96, align 8
%98 = call i64 @inv_q29_mult(i64 noundef %94, i64 noundef %97)
%99 = load ptr, ptr %3, align 8
%100 = getelementptr inbounds i64, ptr %99, i64 1
%101 = load i64, ptr %100, align 8
%102 = load ptr, ptr %3, align 8
%103 = getelementptr inbounds i64, ptr %102, i64 0
%104 = load i64, ptr %103, align 8
%105 = call i64 @inv_q29_mult(i64 noundef %101, i64 noundef %104)
%106 = sub nsw i64 %98, %105
%107 = load ptr, ptr %4, align 8
%108 = getelementptr inbounds i64, ptr %107, i64 5
store i64 %106, ptr %108, align 8
%109 = load ptr, ptr %3, align 8
%110 = getelementptr inbounds i64, ptr %109, i64 1
%111 = load i64, ptr %110, align 8
%112 = load ptr, ptr %3, align 8
%113 = getelementptr inbounds i64, ptr %112, i64 3
%114 = load i64, ptr %113, align 8
%115 = call i64 @inv_q29_mult(i64 noundef %111, i64 noundef %114)
%116 = load ptr, ptr %3, align 8
%117 = getelementptr inbounds i64, ptr %116, i64 2
%118 = load i64, ptr %117, align 8
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds i64, ptr %119, i64 0
%121 = load i64, ptr %120, align 8
%122 = call i64 @inv_q29_mult(i64 noundef %118, i64 noundef %121)
%123 = sub nsw i64 %115, %122
%124 = load ptr, ptr %4, align 8
%125 = getelementptr inbounds i64, ptr %124, i64 6
store i64 %123, ptr %125, align 8
%126 = load ptr, ptr %3, align 8
%127 = getelementptr inbounds i64, ptr %126, i64 2
%128 = load i64, ptr %127, align 8
%129 = load ptr, ptr %3, align 8
%130 = getelementptr inbounds i64, ptr %129, i64 3
%131 = load i64, ptr %130, align 8
%132 = call i64 @inv_q29_mult(i64 noundef %128, i64 noundef %131)
%133 = load ptr, ptr %3, align 8
%134 = getelementptr inbounds i64, ptr %133, i64 1
%135 = load i64, ptr %134, align 8
%136 = load ptr, ptr %3, align 8
%137 = getelementptr inbounds i64, ptr %136, i64 0
%138 = load i64, ptr %137, align 8
%139 = call i64 @inv_q29_mult(i64 noundef %135, i64 noundef %138)
%140 = add nsw i64 %132, %139
%141 = load ptr, ptr %4, align 8
%142 = getelementptr inbounds i64, ptr %141, i64 7
store i64 %140, ptr %142, align 8
%143 = load ptr, ptr %3, align 8
%144 = getelementptr inbounds i64, ptr %143, i64 3
%145 = load i64, ptr %144, align 8
%146 = load ptr, ptr %3, align 8
%147 = getelementptr inbounds i64, ptr %146, i64 3
%148 = load i64, ptr %147, align 8
%149 = call i64 @inv_q29_mult(i64 noundef %145, i64 noundef %148)
%150 = load ptr, ptr %3, align 8
%151 = getelementptr inbounds i64, ptr %150, i64 0
%152 = load i64, ptr %151, align 8
%153 = load ptr, ptr %3, align 8
%154 = getelementptr inbounds i64, ptr %153, i64 0
%155 = load i64, ptr %154, align 8
%156 = call i64 @inv_q29_mult(i64 noundef %152, i64 noundef %155)
%157 = add nsw i64 %149, %156
%158 = sub nsw i64 %157, 1073741824
%159 = load ptr, ptr %4, align 8
%160 = getelementptr inbounds i64, ptr %159, i64 8
store i64 %158, ptr %160, align 8
ret void
}
declare i64 @inv_q29_mult(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphw4pjkq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inv_quaternion_to_rotation(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 = getelementptr inbounds i64, ptr %5, i64 1
%7 = load i64, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i64, ptr %8, i64 1
%10 = load i64, ptr %9, align 8
%11 = call i64 @inv_q29_mult(i64 noundef %7, i64 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
%14 = load i64, ptr %13, align 8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i64, ptr %15, i64 0
%17 = load i64, ptr %16, align 8
%18 = call i64 @inv_q29_mult(i64 noundef %14, i64 noundef %17)
%19 = add nsw i64 %11, %18
%20 = sub nsw i64 %19, 1073741824
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i64, ptr %21, i64 0
store i64 %20, ptr %22, align 8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 1
%25 = load i64, ptr %24, align 8
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i64, ptr %26, i64 2
%28 = load i64, ptr %27, align 8
%29 = call i64 @inv_q29_mult(i64 noundef %25, i64 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds i64, ptr %30, i64 3
%32 = load i64, ptr %31, align 8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i64, ptr %33, i64 0
%35 = load i64, ptr %34, align 8
%36 = call i64 @inv_q29_mult(i64 noundef %32, i64 noundef %35)
%37 = sub nsw i64 %29, %36
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i64, ptr %38, i64 1
store i64 %37, ptr %39, align 8
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i64, ptr %40, i64 1
%42 = load i64, ptr %41, align 8
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i64, ptr %43, i64 3
%45 = load i64, ptr %44, align 8
%46 = call i64 @inv_q29_mult(i64 noundef %42, i64 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds i64, ptr %47, i64 2
%49 = load i64, ptr %48, align 8
%50 = load ptr, ptr %3, align 8
%51 = getelementptr inbounds i64, ptr %50, i64 0
%52 = load i64, ptr %51, align 8
%53 = call i64 @inv_q29_mult(i64 noundef %49, i64 noundef %52)
%54 = add nsw i64 %46, %53
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i64, ptr %55, i64 2
store i64 %54, ptr %56, align 8
%57 = load ptr, ptr %3, align 8
%58 = getelementptr inbounds i64, ptr %57, i64 1
%59 = load i64, ptr %58, align 8
%60 = load ptr, ptr %3, align 8
%61 = getelementptr inbounds i64, ptr %60, i64 2
%62 = load i64, ptr %61, align 8
%63 = call i64 @inv_q29_mult(i64 noundef %59, i64 noundef %62)
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i64, ptr %64, i64 3
%66 = load i64, ptr %65, align 8
%67 = load ptr, ptr %3, align 8
%68 = getelementptr inbounds i64, ptr %67, i64 0
%69 = load i64, ptr %68, align 8
%70 = call i64 @inv_q29_mult(i64 noundef %66, i64 noundef %69)
%71 = add nsw i64 %63, %70
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i64, ptr %72, i64 3
store i64 %71, ptr %73, align 8
%74 = load ptr, ptr %3, align 8
%75 = getelementptr inbounds i64, ptr %74, i64 2
%76 = load i64, ptr %75, align 8
%77 = load ptr, ptr %3, align 8
%78 = getelementptr inbounds i64, ptr %77, i64 2
%79 = load i64, ptr %78, align 8
%80 = call i64 @inv_q29_mult(i64 noundef %76, i64 noundef %79)
%81 = load ptr, ptr %3, align 8
%82 = getelementptr inbounds i64, ptr %81, i64 0
%83 = load i64, ptr %82, align 8
%84 = load ptr, ptr %3, align 8
%85 = getelementptr inbounds i64, ptr %84, i64 0
%86 = load i64, ptr %85, align 8
%87 = call i64 @inv_q29_mult(i64 noundef %83, i64 noundef %86)
%88 = add nsw i64 %80, %87
%89 = sub nsw i64 %88, 1073741824
%90 = load ptr, ptr %4, align 8
%91 = getelementptr inbounds i64, ptr %90, i64 4
store i64 %89, ptr %91, align 8
%92 = load ptr, ptr %3, align 8
%93 = getelementptr inbounds i64, ptr %92, i64 2
%94 = load i64, ptr %93, align 8
%95 = load ptr, ptr %3, align 8
%96 = getelementptr inbounds i64, ptr %95, i64 3
%97 = load i64, ptr %96, align 8
%98 = call i64 @inv_q29_mult(i64 noundef %94, i64 noundef %97)
%99 = load ptr, ptr %3, align 8
%100 = getelementptr inbounds i64, ptr %99, i64 1
%101 = load i64, ptr %100, align 8
%102 = load ptr, ptr %3, align 8
%103 = getelementptr inbounds i64, ptr %102, i64 0
%104 = load i64, ptr %103, align 8
%105 = call i64 @inv_q29_mult(i64 noundef %101, i64 noundef %104)
%106 = sub nsw i64 %98, %105
%107 = load ptr, ptr %4, align 8
%108 = getelementptr inbounds i64, ptr %107, i64 5
store i64 %106, ptr %108, align 8
%109 = load ptr, ptr %3, align 8
%110 = getelementptr inbounds i64, ptr %109, i64 1
%111 = load i64, ptr %110, align 8
%112 = load ptr, ptr %3, align 8
%113 = getelementptr inbounds i64, ptr %112, i64 3
%114 = load i64, ptr %113, align 8
%115 = call i64 @inv_q29_mult(i64 noundef %111, i64 noundef %114)
%116 = load ptr, ptr %3, align 8
%117 = getelementptr inbounds i64, ptr %116, i64 2
%118 = load i64, ptr %117, align 8
%119 = load ptr, ptr %3, align 8
%120 = getelementptr inbounds i64, ptr %119, i64 0
%121 = load i64, ptr %120, align 8
%122 = call i64 @inv_q29_mult(i64 noundef %118, i64 noundef %121)
%123 = sub nsw i64 %115, %122
%124 = load ptr, ptr %4, align 8
%125 = getelementptr inbounds i64, ptr %124, i64 6
store i64 %123, ptr %125, align 8
%126 = load ptr, ptr %3, align 8
%127 = getelementptr inbounds i64, ptr %126, i64 2
%128 = load i64, ptr %127, align 8
%129 = load ptr, ptr %3, align 8
%130 = getelementptr inbounds i64, ptr %129, i64 3
%131 = load i64, ptr %130, align 8
%132 = call i64 @inv_q29_mult(i64 noundef %128, i64 noundef %131)
%133 = load ptr, ptr %3, align 8
%134 = getelementptr inbounds i64, ptr %133, i64 1
%135 = load i64, ptr %134, align 8
%136 = load ptr, ptr %3, align 8
%137 = getelementptr inbounds i64, ptr %136, i64 0
%138 = load i64, ptr %137, align 8
%139 = call i64 @inv_q29_mult(i64 noundef %135, i64 noundef %138)
%140 = add nsw i64 %132, %139
%141 = load ptr, ptr %4, align 8
%142 = getelementptr inbounds i64, ptr %141, i64 7
store i64 %140, ptr %142, align 8
%143 = load ptr, ptr %3, align 8
%144 = getelementptr inbounds i64, ptr %143, i64 3
%145 = load i64, ptr %144, align 8
%146 = load ptr, ptr %3, align 8
%147 = getelementptr inbounds i64, ptr %146, i64 3
%148 = load i64, ptr %147, align 8
%149 = call i64 @inv_q29_mult(i64 noundef %145, i64 noundef %148)
%150 = load ptr, ptr %3, align 8
%151 = getelementptr inbounds i64, ptr %150, i64 0
%152 = load i64, ptr %151, align 8
%153 = load ptr, ptr %3, align 8
%154 = getelementptr inbounds i64, ptr %153, i64 0
%155 = load i64, ptr %154, align 8
%156 = call i64 @inv_q29_mult(i64 noundef %152, i64 noundef %155)
%157 = add nsw i64 %149, %156
%158 = sub nsw i64 %157, 1073741824
%159 = load ptr, ptr %4, align 8
%160 = getelementptr inbounds i64, ptr %159, i64 8
store i64 %158, ptr %160, align 8
ret void
}
declare i64 @inv_q29_mult(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpigdqfdew.c'
source_filename = "/tmp/tmpigdqfdew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_vprintf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @vprintf(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @vprintf(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/tmpigdqfdew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_vprintf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @vprintf(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @vprintf(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/tmpiqoelh45.c'
source_filename = "/tmp/tmpiqoelh45.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hi MakeFile !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printingHiMake() #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/tmpiqoelh45.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hi MakeFile !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printingHiMake() #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/tmp2tmz58pg.c'
source_filename = "/tmp/tmp2tmz58pg.c"
target datalayout = "e-m:e-p270: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/tmp2tmz58pg.c"
target datalayout = "e-m:e-p270: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/tmp4ov6fff6.c'
source_filename = "/tmp/tmp4ov6fff6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 262144
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @a0(i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %21, %12
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 100000
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = call i32 @a1(i32 noundef 234)
%18 = call i32 @free(i32 noundef %17)
%19 = call i32 @a2(i32 noundef 111)
%20 = call i32 @free(i32 noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %13, !llvm.loop !8
24: ; preds = %13
ret i32 0
}
declare i32 @a0(i32 noundef) #1
declare i32 @free(i32 noundef) #1
declare i32 @a1(i32 noundef) #1
declare i32 @a2(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ov6fff6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 262144
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %2, align 4
%7 = call i32 @a0(i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 262144
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 100000
br i1 %15, label %.lr.ph2, label %26
.lr.ph2: ; preds = %13
br label %16
16: ; preds = %.lr.ph2, %21
%17 = call i32 @a1(i32 noundef 234)
%18 = call i32 @free(i32 noundef %17)
%19 = call i32 @a2(i32 noundef 111)
%20 = call i32 @free(i32 noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 100000
br i1 %25, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %21
br label %26
26: ; preds = %._crit_edge3, %13
ret i32 0
}
declare i32 @a0(i32 noundef) #1
declare i32 @free(i32 noundef) #1
declare i32 @a1(i32 noundef) #1
declare i32 @a2(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5wg3dkcw.c'
source_filename = "/tmp/tmp5wg3dkcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @verifnom(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %62, %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %65
13: ; preds = %5
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 32
br i1 %18, label %19, label %20
19: ; preds = %13
store i32 1, ptr %4, align 4
br label %65
20: ; preds = %13
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp sgt i32 %26, 65
br i1 %27, label %36, label %28
28: ; preds = %20
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp slt i32 %34, 90
br i1 %35, label %36, label %37
36: ; preds = %28, %20
store i32 0, ptr %4, align 4
br label %37
37: ; preds = %36, %28
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp slt i32 %43, 65
br i1 %44, label %45, label %53
45: ; preds = %37
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 32
br i1 %52, label %61, label %53
53: ; preds = %45, %37
%54 = load ptr, ptr %2, align 8
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp sgt i32 %59, 90
br i1 %60, label %61, label %62
61: ; preds = %53, %45
store i32 1, ptr %4, align 4
br label %65
62: ; preds = %53
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
br label %5, !llvm.loop !6
65: ; preds = %61, %19, %5
%66 = load i32, ptr %4, align 4
%67 = call i32 @printf(ptr noundef @.str, i32 noundef %66)
ret i32 %67
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5wg3dkcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @verifnom(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %61
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %18, label %19
18: ; preds = %12
store i32 1, ptr %4, align 4
br label %71
19: ; preds = %12
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp sgt i32 %25, 65
br i1 %26, label %35, label %27
27: ; preds = %19
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp slt i32 %33, 90
br i1 %34, label %35, label %36
35: ; preds = %27, %19
store i32 0, ptr %4, align 4
br label %36
36: ; preds = %35, %27
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp slt i32 %42, 65
br i1 %43, label %44, label %52
44: ; preds = %36
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %3, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 32
br i1 %51, label %60, label %52
52: ; preds = %44, %36
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %3, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp sgt i32 %58, 90
br i1 %59, label %60, label %61
60: ; preds = %52, %44
store i32 1, ptr %4, align 4
br label %71
61: ; preds = %52
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
%64 = load ptr, ptr %2, align 8
%65 = load i32, ptr %3, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %61
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %71
71: ; preds = %.loopexit, %60, %18
%72 = load i32, ptr %4, align 4
%73 = call i32 @printf(ptr noundef @.str, i32 noundef %72)
ret i32 %73
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplf8d81iu.c'
source_filename = "/tmp/tmplf8d81iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCLINUX = dso_local global i32 0, align 4
@TIOCL_GETFGCONSOLE = dso_local global i8 0, align 1
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplf8d81iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCLINUX = dso_local global i32 0, align 4
@TIOCL_GETFGCONSOLE = dso_local global i8 0, align 1
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_q0cox8.c'
source_filename = "/tmp/tmp4_q0cox8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elfrw_read_Sword(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 @elfrw_read_Word(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @elfrw_read_Word(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/tmp4_q0cox8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elfrw_read_Sword(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 @elfrw_read_Word(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @elfrw_read_Word(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/tmp7xla6umr.c'
source_filename = "/tmp/tmp7xla6umr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LP\00", align 1
@optind = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @builtin_cd(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @_getopt_reset(i32 noundef %8, ptr noundef %9)
br label %11
11: ; preds = %22, %2
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str)
store i32 %14, ptr %6, align 4
%15 = icmp ne i32 %14, -1
br i1 %15, label %16, label %23
16: ; preds = %11
%17 = load i32, ptr %6, align 4
switch i32 %17, label %20 [
i32 76, label %18
i32 80, label %19
]
18: ; preds = %16
store i32 0, ptr %7, align 4
br label %22
19: ; preds = %16
store i32 1, ptr %7, align 4
br label %22
20: ; preds = %16
%21 = call i32 (...) @_cd_usage()
store i32 %21, ptr %3, align 4
br label %54
22: ; preds = %19, %18
br label %11, !llvm.loop !6
23: ; preds = %11
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr @optind, align 4
%26 = sub nsw i32 %24, %25
%27 = icmp sgt i32 %26, 1
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 (...) @_cd_usage()
store i32 %29, ptr %3, align 4
br label %54
30: ; preds = %23
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr @optind, align 4
%33 = sub nsw i32 %31, %32
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 (...) @_cd_home()
store i32 %36, ptr %3, align 4
br label %54
37: ; preds = %30
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr @optind, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %42)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (...) @_cd_previous()
store i32 %46, ptr %3, align 4
br label %54
47: ; preds = %37
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr @optind, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = call i32 @_cd_chdir(ptr noundef %7, ptr noundef %52)
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %47, %45, %35, %28, %20
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @_getopt_reset(i32 noundef, ptr noundef) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @_cd_usage(...) #1
declare i32 @_cd_home(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @_cd_previous(...) #1
declare i32 @_cd_chdir(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/tmp7xla6umr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LP\00", align 1
@optind = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @builtin_cd(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @_getopt_reset(i32 noundef %8, ptr noundef %9)
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr %6, align 4
%14 = icmp ne i32 %13, -1
br i1 %14, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %21
%16 = load i32, ptr %6, align 4
switch i32 %16, label %19 [
i32 76, label %17
i32 80, label %18
]
17: ; preds = %15
store i32 0, ptr %7, align 4
br label %21
18: ; preds = %15
store i32 1, ptr %7, align 4
br label %21
19: ; preds = %15
%20 = call i32 (...) @_cd_usage()
store i32 %20, ptr %3, align 4
br label %57
21: ; preds = %18, %17
%22 = load i32, ptr %4, align 4
%23 = load ptr, ptr %5, align 8
%24 = call i32 @getopt(i32 noundef %22, ptr noundef %23, ptr noundef @.str)
store i32 %24, ptr %6, align 4
%25 = icmp ne i32 %24, -1
br i1 %25, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %2
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr @optind, align 4
%29 = sub nsw i32 %27, %28
%30 = icmp sgt i32 %29, 1
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 (...) @_cd_usage()
store i32 %32, ptr %3, align 4
br label %57
33: ; preds = %26
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr @optind, align 4
%36 = sub nsw i32 %34, %35
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = call i32 (...) @_cd_home()
store i32 %39, ptr %3, align 4
br label %57
40: ; preds = %33
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr @optind, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %45)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = call i32 (...) @_cd_previous()
store i32 %49, ptr %3, align 4
br label %57
50: ; preds = %40
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr @optind, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
%56 = call i32 @_cd_chdir(ptr noundef %7, ptr noundef %55)
store i32 %56, ptr %3, align 4
br label %57
57: ; preds = %50, %48, %38, %31, %19
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i32 @_getopt_reset(i32 noundef, ptr noundef) #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @_cd_usage(...) #1
declare i32 @_cd_home(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @_cd_previous(...) #1
declare i32 @_cd_chdir(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/tmpbvt3ly7y.c'
source_filename = "/tmp/tmpbvt3ly7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIIntDisable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1074593792
%7 = zext i1 %6 to i32
%8 = call i32 @ASSERT(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 17
%11 = zext i1 %10 to i32
%12 = call i32 @ASSERT(i32 noundef %11)
%13 = load i32, ptr %4, align 4
%14 = xor i32 %13, -1
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 528
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
%19 = load volatile i32, ptr %18, align 4
%20 = and i32 %19, %14
store volatile i32 %20, ptr %18, align 4
ret void
}
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/tmpbvt3ly7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIIntDisable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1074593792
%7 = zext i1 %6 to i32
%8 = call i32 @ASSERT(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 17
%11 = zext i1 %10 to i32
%12 = call i32 @ASSERT(i32 noundef %11)
%13 = load i32, ptr %4, align 4
%14 = xor i32 %13, -1
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 528
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
%19 = load volatile i32, ptr %18, align 4
%20 = and i32 %19, %14
store volatile i32 %20, ptr %18, align 4
ret void
}
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/tmp4en4rucb.c'
source_filename = "/tmp/tmp4en4rucb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_openssl_init() #0 {
%1 = alloca [64 x ptr], align 16
%2 = call i32 (...) @SSLeay_add_all_algorithms()
%3 = call i32 (...) @SSL_library_init()
%4 = call i32 (...) @SSL_load_error_strings()
%5 = call i32 (...) @ERR_load_crypto_strings()
ret void
}
declare i32 @SSLeay_add_all_algorithms(...) #1
declare i32 @SSL_library_init(...) #1
declare i32 @SSL_load_error_strings(...) #1
declare i32 @ERR_load_crypto_strings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4en4rucb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_openssl_init() #0 {
%1 = alloca [64 x ptr], align 16
%2 = call i32 (...) @SSLeay_add_all_algorithms()
%3 = call i32 (...) @SSL_library_init()
%4 = call i32 (...) @SSL_load_error_strings()
%5 = call i32 (...) @ERR_load_crypto_strings()
ret void
}
declare i32 @SSLeay_add_all_algorithms(...) #1
declare i32 @SSL_library_init(...) #1
declare i32 @SSL_load_error_strings(...) #1
declare i32 @ERR_load_crypto_strings(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.