llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp2kk8k1iz.c'
source_filename = "/tmp/tmp2kk8k1iz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The Day # for %d/%d/%d is %d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_day_number(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2kk8k1iz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The Day # for %d/%d/%d is %d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_day_number(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt8fd556z.c'
source_filename = "/tmp/tmpt8fd556z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @TestPLS1()
ret i32 0
}
declare i32 @TestPLS1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt8fd556z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @TestPLS1()
ret i32 0
}
declare i32 @TestPLS1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7lrvg5q2.c'
source_filename = "/tmp/tmp7lrvg5q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrusage(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @runtime_rusage(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @runtime_rusage(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7lrvg5q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrusage(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @runtime_rusage(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @runtime_rusage(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn2scfjet.c'
source_filename = "/tmp/tmpn2scfjet.c"
target datalayout = "e-m:e-p270: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/tmpn2scfjet.c"
target datalayout = "e-m:e-p270: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/tmptfxzpnp5.c'
source_filename = "/tmp/tmptfxzpnp5.c"
target datalayout = "e-m:e-p270: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.termios = type { i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@TCSAFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setsilent(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.termios, align 4
store ptr %0, ptr %3, align 8
%5 = load i32, ptr @STDIN_FILENO, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i64 @tcgetattr(i32 noundef %5, ptr noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %28
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %11, i64 4, i1 false)
%12 = load i32, ptr @ECHO, align 4
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 4
%17 = load i32, ptr @ICANON, align 4
%18 = xor i32 %17, -1
%19 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = and i32 %20, %18
store i32 %21, ptr %19, align 4
%22 = load i32, ptr @STDIN_FILENO, align 4
%23 = load i32, ptr @TCSAFLUSH, align 4
%24 = call i64 @tcsetattr(i32 noundef %22, i32 noundef %23, ptr noundef %4)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %10
store i32 -1, ptr %2, align 4
br label %28
27: ; preds = %10
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %26, %9
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i64 @tcsetattr(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptfxzpnp5.c"
target datalayout = "e-m:e-p270: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.termios = type { i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@TCSAFLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setsilent(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.termios, align 4
store ptr %0, ptr %3, align 8
%5 = load i32, ptr @STDIN_FILENO, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i64 @tcgetattr(i32 noundef %5, ptr noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %28
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %11, i64 4, i1 false)
%12 = load i32, ptr @ECHO, align 4
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 4
%17 = load i32, ptr @ICANON, align 4
%18 = xor i32 %17, -1
%19 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = and i32 %20, %18
store i32 %21, ptr %19, align 4
%22 = load i32, ptr @STDIN_FILENO, align 4
%23 = load i32, ptr @TCSAFLUSH, align 4
%24 = call i64 @tcsetattr(i32 noundef %22, i32 noundef %23, ptr noundef %4)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %10
store i32 -1, ptr %2, align 4
br label %28
27: ; preds = %10
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %26, %9
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i64 @tcsetattr(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4g9uuabc.c'
source_filename = "/tmp/tmp4g9uuabc.c"
target datalayout = "e-m:e-p270: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/tmp4g9uuabc.c"
target datalayout = "e-m:e-p270: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/tmph72zj6eb.c'
source_filename = "/tmp/tmph72zj6eb.c"
target datalayout = "e-m:e-p270: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.hexademical = private unnamed_addr constant [6 x i8] c"0xAF3\00", align 1
@.str = private unnamed_addr constant [48 x i8] c"hexademical value: %s converted to decimal: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.hexademical, i64 6, i1 false)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @hex2int(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%10 = load i32, ptr %3, align 4
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %9, i32 noundef %10)
br label %13
12: ; preds = %0
store i32 -1, ptr %1, align 4
br label %14
13: ; preds = %8
store i32 0, ptr %1, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %1, align 4
ret i32 %15
}
; 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 @hex2int(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph72zj6eb.c"
target datalayout = "e-m:e-p270: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.hexademical = private unnamed_addr constant [6 x i8] c"0xAF3\00", align 1
@.str = private unnamed_addr constant [48 x i8] c"hexademical value: %s converted to decimal: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.hexademical, i64 6, i1 false)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @hex2int(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%10 = load i32, ptr %3, align 4
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %9, i32 noundef %10)
br label %13
12: ; preds = %0
store i32 -1, ptr %1, align 4
br label %14
13: ; preds = %8
store i32 0, ptr %1, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %1, align 4
ret i32 %15
}
; 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 @hex2int(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjwxp7eux.c'
source_filename = "/tmp/tmpjwxp7eux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @foo(i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 191
%6 = xor i1 %5, true
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @foo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwxp7eux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @foo(i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 191
%6 = xor i1 %5, true
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @foo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpszt2vx7v.c'
source_filename = "/tmp/tmpszt2vx7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [128 x i8] c"Welcome to our simple shell program! \0D\0A Available commands in this shell are: \0D\0A cd - change directory \0D\0A exit - exit the shell\00", align 1
@.str.1 = private unnamed_addr constant [124 x i8] c" \0D\0A help - list the commands \0D\0A dragon - Creative little function for the shell intended for the extra credit portion \0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
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/tmpszt2vx7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [128 x i8] c"Welcome to our simple shell program! \0D\0A Available commands in this shell are: \0D\0A cd - change directory \0D\0A exit - exit the shell\00", align 1
@.str.1 = private unnamed_addr constant [124 x i8] c" \0D\0A help - list the commands \0D\0A dragon - Creative little function for the shell intended for the extra credit portion \0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
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/tmp_ypq7ujn.c'
source_filename = "/tmp/tmp_ypq7ujn.c"
target datalayout = "e-m:e-p270: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 [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [5 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.A, i64 20, i1 false)
%2 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @subset(ptr noundef %2, i32 noundef 5)
%4 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @subset(ptr noundef, i32 noundef) #2
declare i32 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ypq7ujn.c"
target datalayout = "e-m:e-p270: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 [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [5 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.A, i64 20, i1 false)
%2 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @subset(ptr noundef %2, i32 noundef 5)
%4 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @subset(ptr noundef, i32 noundef) #2
declare i32 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptnfbnxl8.c'
source_filename = "/tmp/tmptnfbnxl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_milliseconds(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i64 @timer_milliseconds(i32 noundef %5)
%7 = load i64, ptr %4, align 8
%8 = icmp sge i64 %6, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @timer_milliseconds(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/tmptnfbnxl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_milliseconds(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i64 @timer_milliseconds(i32 noundef %5)
%7 = load i64, ptr %4, align 8
%8 = icmp sge i64 %6, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @timer_milliseconds(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/tmpkmuc1roq.c'
source_filename = "/tmp/tmpkmuc1roq.c"
target datalayout = "e-m:e-p270: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/tmpkmuc1roq.c"
target datalayout = "e-m:e-p270: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/tmpcgte4w2x.c'
source_filename = "/tmp/tmpcgte4w2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readWriteSector(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
%11 = load i32, ptr %5, align 4
%12 = call i32 @div(i32 noundef %11, i32 noundef 36)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 @mod(i32 noundef %13, i32 noundef 18)
%15 = add nsw i32 %14, 1
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %5, align 4
%17 = call i32 @div(i32 noundef %16, i32 noundef 18)
%18 = call i32 @mod(i32 noundef %17, i32 noundef 2)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %6, align 4
%20 = mul nsw i32 %19, 256
%21 = add nsw i32 %20, 1
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %8, align 4
%24 = mul nsw i32 %23, 256
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %24, %25
%27 = load i32, ptr %10, align 4
%28 = mul nsw i32 %27, 256
%29 = add nsw i32 %28, 0
%30 = sext i32 %29 to i64
%31 = call i32 @interrupt(i32 noundef 19, i32 noundef %21, ptr noundef %22, i32 noundef %26, i64 noundef %30)
ret void
}
declare i32 @div(i32 noundef, i32 noundef) #1
declare i32 @mod(i32 noundef, i32 noundef) #1
declare i32 @interrupt(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcgte4w2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readWriteSector(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
%11 = load i32, ptr %5, align 4
%12 = call i32 @div(i32 noundef %11, i32 noundef 36)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 @mod(i32 noundef %13, i32 noundef 18)
%15 = add nsw i32 %14, 1
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %5, align 4
%17 = call i32 @div(i32 noundef %16, i32 noundef 18)
%18 = call i32 @mod(i32 noundef %17, i32 noundef 2)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %6, align 4
%20 = mul nsw i32 %19, 256
%21 = add nsw i32 %20, 1
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %8, align 4
%24 = mul nsw i32 %23, 256
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %24, %25
%27 = load i32, ptr %10, align 4
%28 = mul nsw i32 %27, 256
%29 = add nsw i32 %28, 0
%30 = sext i32 %29 to i64
%31 = call i32 @interrupt(i32 noundef 19, i32 noundef %21, ptr noundef %22, i32 noundef %26, i64 noundef %30)
ret void
}
declare i32 @div(i32 noundef, i32 noundef) #1
declare i32 @mod(i32 noundef, i32 noundef) #1
declare i32 @interrupt(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpycvyr_u0.c'
source_filename = "/tmp/tmpycvyr_u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"The result is %g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
store float 0x4004666660000000, ptr %1, align 4
%2 = load float, ptr %1, align 4
%3 = fmul float 3.000000e+00, %2
%4 = load float, ptr %1, align 4
%5 = fmul float %3, %4
%6 = load float, ptr %1, align 4
%7 = load float, ptr %1, align 4
%8 = fmul float 5.000000e+00, %7
%9 = load float, ptr %1, align 4
%10 = fmul float %8, %9
%11 = fneg float %10
%12 = call float @llvm.fmuladd.f32(float %5, float %6, float %11)
%13 = fadd float %12, 6.000000e+00
%14 = fptosi float %13 to i32
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpycvyr_u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"The result is %g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
store float 0x4004666660000000, ptr %1, align 4
%2 = load float, ptr %1, align 4
%3 = fmul float 3.000000e+00, %2
%4 = load float, ptr %1, align 4
%5 = fmul float %3, %4
%6 = load float, ptr %1, align 4
%7 = load float, ptr %1, align 4
%8 = fmul float 5.000000e+00, %7
%9 = load float, ptr %1, align 4
%10 = fmul float %8, %9
%11 = fneg float %10
%12 = call float @llvm.fmuladd.f32(float %5, float %6, float %11)
%13 = fadd float %12, 6.000000e+00
%14 = fptosi float %13 to i32
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph85daqa2.c'
source_filename = "/tmp/tmph85daqa2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @GenMes(i16 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i8, align 1
%5 = alloca i16, align 2
store i16 %0, ptr %3, align 2
store i8 %1, ptr %4, align 1
%6 = load i16, ptr %3, align 2
%7 = trunc i16 %6 to i8
%8 = zext i8 %7 to i32
%9 = call i32 @RegWriteA(i32 noundef 404, i32 noundef %8)
%10 = load i16, ptr %3, align 2
%11 = zext i16 %10 to i32
%12 = ashr i32 %11, 8
%13 = and i32 %12, 1
%14 = trunc i32 %13 to i8
%15 = zext i8 %14 to i32
%16 = call i32 @RegWriteA(i32 noundef 405, i32 noundef %15)
%17 = call i32 @RamWrite32A(i32 noundef 4161, i32 noundef 0)
%18 = load i8, ptr %4, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %2
%21 = call i32 @RegWriteA(i32 noundef 403, i32 noundef 4)
%22 = call i32 @RegWriteA(i32 noundef 402, i32 noundef 0)
%23 = call i32 @RamWrite32A(i32 noundef 4656, i32 noundef 981467127)
br label %28
24: ; preds = %2
%25 = call i32 @RegWriteA(i32 noundef 403, i32 noundef 0)
%26 = call i32 @RegWriteA(i32 noundef 402, i32 noundef 1)
%27 = call i32 @RamWrite32A(i32 noundef 4656, i32 noundef 1065353216)
br label %28
28: ; preds = %24, %20
%29 = call i32 @RegWriteA(i32 noundef 408, i32 noundef 0)
%30 = call i32 @BsyWit(i32 noundef 400, i32 noundef 1)
%31 = call i32 @RamAccFixMod(i32 noundef 1)
%32 = call i32 @RamReadA(i32 noundef 4161, ptr noundef %5)
%33 = call i32 @RamAccFixMod(i32 noundef 0)
%34 = load i16, ptr %5, align 2
ret i16 %34
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RamWrite32A(i32 noundef, i32 noundef) #1
declare i32 @BsyWit(i32 noundef, i32 noundef) #1
declare i32 @RamAccFixMod(i32 noundef) #1
declare i32 @RamReadA(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph85daqa2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @GenMes(i16 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i8, align 1
%5 = alloca i16, align 2
store i16 %0, ptr %3, align 2
store i8 %1, ptr %4, align 1
%6 = load i16, ptr %3, align 2
%7 = trunc i16 %6 to i8
%8 = zext i8 %7 to i32
%9 = call i32 @RegWriteA(i32 noundef 404, i32 noundef %8)
%10 = load i16, ptr %3, align 2
%11 = zext i16 %10 to i32
%12 = ashr i32 %11, 8
%13 = and i32 %12, 1
%14 = trunc i32 %13 to i8
%15 = zext i8 %14 to i32
%16 = call i32 @RegWriteA(i32 noundef 405, i32 noundef %15)
%17 = call i32 @RamWrite32A(i32 noundef 4161, i32 noundef 0)
%18 = load i8, ptr %4, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %2
%21 = call i32 @RegWriteA(i32 noundef 403, i32 noundef 4)
%22 = call i32 @RegWriteA(i32 noundef 402, i32 noundef 0)
%23 = call i32 @RamWrite32A(i32 noundef 4656, i32 noundef 981467127)
br label %28
24: ; preds = %2
%25 = call i32 @RegWriteA(i32 noundef 403, i32 noundef 0)
%26 = call i32 @RegWriteA(i32 noundef 402, i32 noundef 1)
%27 = call i32 @RamWrite32A(i32 noundef 4656, i32 noundef 1065353216)
br label %28
28: ; preds = %24, %20
%29 = call i32 @RegWriteA(i32 noundef 408, i32 noundef 0)
%30 = call i32 @BsyWit(i32 noundef 400, i32 noundef 1)
%31 = call i32 @RamAccFixMod(i32 noundef 1)
%32 = call i32 @RamReadA(i32 noundef 4161, ptr noundef %5)
%33 = call i32 @RamAccFixMod(i32 noundef 0)
%34 = load i16, ptr %5, align 2
ret i16 %34
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RamWrite32A(i32 noundef, i32 noundef) #1
declare i32 @BsyWit(i32 noundef, i32 noundef) #1
declare i32 @RamAccFixMod(i32 noundef) #1
declare i32 @RamReadA(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjm1jnb7g.c'
source_filename = "/tmp/tmpjm1jnb7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @_sndio_strlcpy(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
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load i64, ptr %6, align 8
store i64 %12, ptr %9, align 8
%13 = load i64, ptr %9, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %31
15: ; preds = %3
br label %16
16: ; preds = %29, %15
%17 = load i64, ptr %9, align 8
%18 = add i64 %17, -1
store i64 %18, ptr %9, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %8, align 8
%23 = load i8, ptr %21, align 1
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %7, align 8
store i8 %23, ptr %24, align 1
%26 = sext i8 %23 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %20
br label %30
29: ; preds = %20
br label %16, !llvm.loop !6
30: ; preds = %28, %16
br label %31
31: ; preds = %30, %3
%32 = load i64, ptr %9, align 8
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %47
34: ; preds = %31
%35 = load i64, ptr %6, align 8
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = load ptr, ptr %7, align 8
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %37, %34
br label %40
40: ; preds = %45, %39
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
%43 = load i8, ptr %41, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %40
br label %40, !llvm.loop !8
46: ; preds = %40
br label %47
47: ; preds = %46, %31
%48 = load ptr, ptr %8, align 8
%49 = load ptr, ptr %5, align 8
%50 = ptrtoint ptr %48 to i64
%51 = ptrtoint ptr %49 to i64
%52 = sub i64 %50, %51
%53 = sub nsw i64 %52, 1
ret i64 %53
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjm1jnb7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @_sndio_strlcpy(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
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load i64, ptr %6, align 8
store i64 %12, ptr %9, align 8
%13 = load i64, ptr %9, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %33
15: ; preds = %3
%16 = load i64, ptr %9, align 8
%17 = add i64 %16, -1
store i64 %17, ptr %9, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %15
br label %23
19: ; preds = %23
%20 = load i64, ptr %9, align 8
%21 = add i64 %20, -1
store i64 %21, ptr %9, align 8
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %..loopexit_crit_edge, !llvm.loop !6
23: ; preds = %.lr.ph, %19
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %8, align 8
%26 = load i8, ptr %24, align 1
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %7, align 8
store i8 %26, ptr %27, align 1
%29 = sext i8 %26 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %19
31: ; preds = %23
br label %32
..loopexit_crit_edge: ; preds = %19
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %15
br label %32
32: ; preds = %.loopexit, %31
br label %33
33: ; preds = %32, %3
%34 = load i64, ptr %9, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %48
36: ; preds = %33
%37 = load i64, ptr %6, align 8
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = load ptr, ptr %7, align 8
store i8 0, ptr %40, align 1
br label %41
41: ; preds = %39, %36
br label %42
42: ; preds = %42, %41
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %8, align 8
%45 = load i8, ptr %43, align 1
%46 = icmp ne i8 %45, 0
br i1 %46, label %42, label %47, !llvm.loop !8
47: ; preds = %42
br label %48
48: ; preds = %47, %33
%49 = load ptr, ptr %8, align 8
%50 = load ptr, ptr %5, align 8
%51 = ptrtoint ptr %49 to i64
%52 = ptrtoint ptr %50 to i64
%53 = sub i64 %51, %52
%54 = sub nsw i64 %53, 1
ret i64 %54
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6enbqwob.c'
source_filename = "/tmp/tmp6enbqwob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetPowerSaving(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i8 %0, ptr %5, align 1
store i8 %1, ptr %6, align 1
store i8 %2, ptr %7, align 1
store i8 %3, ptr %8, align 1
%9 = call i32 @SendChar(i32 noundef 238)
%10 = call i32 @SendChar(i32 noundef 119)
%11 = load i8, ptr %5, align 1
%12 = zext i8 %11 to i32
%13 = and i32 %12, 255
%14 = call i32 @SendChar(i32 noundef %13)
%15 = load i8, ptr %6, align 1
%16 = zext i8 %15 to i32
%17 = and i32 %16, 255
%18 = call i32 @SendChar(i32 noundef %17)
%19 = load i8, ptr %7, align 1
%20 = zext i8 %19 to i32
%21 = and i32 %20, 255
%22 = call i32 @SendChar(i32 noundef %21)
%23 = load i8, ptr %8, align 1
%24 = zext i8 %23 to i32
%25 = and i32 %24, 255
%26 = call i32 @SendChar(i32 noundef %25)
%27 = call i32 @SendChar(i32 noundef 255)
%28 = call i32 @SendChar(i32 noundef 252)
%29 = call i32 @SendChar(i32 noundef 255)
%30 = call i32 @SendChar(i32 noundef 255)
ret void
}
declare i32 @SendChar(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/tmp6enbqwob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetPowerSaving(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i8 %0, ptr %5, align 1
store i8 %1, ptr %6, align 1
store i8 %2, ptr %7, align 1
store i8 %3, ptr %8, align 1
%9 = call i32 @SendChar(i32 noundef 238)
%10 = call i32 @SendChar(i32 noundef 119)
%11 = load i8, ptr %5, align 1
%12 = zext i8 %11 to i32
%13 = and i32 %12, 255
%14 = call i32 @SendChar(i32 noundef %13)
%15 = load i8, ptr %6, align 1
%16 = zext i8 %15 to i32
%17 = and i32 %16, 255
%18 = call i32 @SendChar(i32 noundef %17)
%19 = load i8, ptr %7, align 1
%20 = zext i8 %19 to i32
%21 = and i32 %20, 255
%22 = call i32 @SendChar(i32 noundef %21)
%23 = load i8, ptr %8, align 1
%24 = zext i8 %23 to i32
%25 = and i32 %24, 255
%26 = call i32 @SendChar(i32 noundef %25)
%27 = call i32 @SendChar(i32 noundef 255)
%28 = call i32 @SendChar(i32 noundef 252)
%29 = call i32 @SendChar(i32 noundef 255)
%30 = call i32 @SendChar(i32 noundef 255)
ret void
}
declare i32 @SendChar(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/tmp835haw6u.c'
source_filename = "/tmp/tmp835haw6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"\0ADesired minimum number of consecutive 1 digits: %i\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"\0AStarting integer value: %lld (%lld)\00", align 1
@.str.3 = private unnamed_addr constant [55 x i8] c"\0AIdentified value meeting desired minimum: %lld (%lld)\00", align 1
@.str.4 = private unnamed_addr constant [65 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printData(i64 noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load i32, ptr %8, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load i64, ptr %6, align 8
%15 = load i64, ptr %7, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %14, i64 noundef %15)
%17 = load i64, ptr %10, align 8
%18 = load i64, ptr %9, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %17, i64 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp835haw6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"\0ADesired minimum number of consecutive 1 digits: %i\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"\0AStarting integer value: %lld (%lld)\00", align 1
@.str.3 = private unnamed_addr constant [55 x i8] c"\0AIdentified value meeting desired minimum: %lld (%lld)\00", align 1
@.str.4 = private unnamed_addr constant [65 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printData(i64 noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load i32, ptr %8, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load i64, ptr %6, align 8
%15 = load i64, ptr %7, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %14, i64 noundef %15)
%17 = load i64, ptr %10, align 8
%18 = load i64, ptr %9, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %17, i64 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm1pgmkzc.c'
source_filename = "/tmp/tmpm1pgmkzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wg_trim(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %17, %2
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = call i64 @isspace(i8 noundef zeroext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %6, align 8
br label %12, !llvm.loop !6
20: ; preds = %12
br label %21
21: ; preds = %32, %20
%22 = load ptr, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %25, label %38
25: ; preds = %21
%26 = load ptr, ptr %6, align 8
%27 = load i8, ptr %26, align 1
%28 = call i64 @isspace(i8 noundef zeroext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %25
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %5, align 8
br label %32
32: ; preds = %30, %25
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %6, align 8
%35 = load i8, ptr %33, align 1
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
store i8 %35, ptr %36, align 1
br label %21, !llvm.loop !8
38: ; preds = %21
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i64 @isspace(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm1pgmkzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wg_trim(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef zeroext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %16
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = call i64 @isspace(i8 noundef zeroext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %23
23: ; preds = %._crit_edge, %2
%24 = load ptr, ptr %6, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %.lr.ph2, label %43
.lr.ph2: ; preds = %23
br label %27
27: ; preds = %.lr.ph2, %34
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = call i64 @isspace(i8 noundef zeroext %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %27
%33 = load ptr, ptr %7, align 8
store ptr %33, ptr %5, align 8
br label %34
34: ; preds = %32, %27
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %6, align 8
%37 = load i8, ptr %35, align 1
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %7, align 8
store i8 %37, ptr %38, align 1
%40 = load ptr, ptr %6, align 8
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %43
43: ; preds = %._crit_edge3, %23
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 1
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %3, align 8
ret ptr %46
}
declare i64 @isspace(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprbwwffhz.c'
source_filename = "/tmp/tmprbwwffhz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PRINT_GRID(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
%5 = call i32 @system(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %28, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 9
br i1 %8, label %9, label %31
9: ; preds = %6
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %23, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 9
br i1 %12, label %13, label %26
13: ; preds = %10
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [9 x i32], ptr %14, i64 %16
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [9 x i32], ptr %17, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
br label %23
23: ; preds = %13
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %10, !llvm.loop !6
26: ; preds = %10
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %6, !llvm.loop !8
31: ; preds = %6
ret void
}
declare i32 @system(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprbwwffhz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PRINT_GRID(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
%5 = call i32 @system(ptr noundef @.str)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 9
br i1 %7, label %.lr.ph2, label %33
.lr.ph2: ; preds = %1
br label %8
8: ; preds = %.lr.ph2, %28
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 9
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %8
br label %11
11: ; preds = %.lr.ph, %21
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [9 x i32], ptr %12, i64 %14
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [9 x i32], ptr %15, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
br label %21
21: ; preds = %11
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 9
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 9
br i1 %32, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @system(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp111rtaj9.c'
source_filename = "/tmp/tmp111rtaj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64_decode_quantum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = call i32 @b64_to_value(i8 noundef zeroext %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %97
16: ; preds = %2
%17 = load i32, ptr %7, align 4
%18 = shl i32 %17, 18
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %6, align 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = call i32 @b64_to_value(i8 noundef zeroext %23)
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %28
27: ; preds = %16
store i32 0, ptr %3, align 4
br label %97
28: ; preds = %16
%29 = load i32, ptr %7, align 4
%30 = shl i32 %29, 12
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %6, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 2
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = icmp eq i32 %36, 61
br i1 %37, label %38, label %45
38: ; preds = %28
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 3
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %42, 61
br i1 %43, label %44, label %45
44: ; preds = %38
store i32 1, ptr %8, align 4
br label %77
45: ; preds = %38, %28
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 2
%48 = load i8, ptr %47, align 1
%49 = call i32 @b64_to_value(i8 noundef zeroext %48)
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp eq i32 %50, -1
br i1 %51, label %52, label %53
52: ; preds = %45
store i32 0, ptr %3, align 4
br label %97
53: ; preds = %45
%54 = load i32, ptr %7, align 4
%55 = shl i32 %54, 6
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %6, align 4
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 3
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = icmp eq i32 %61, 61
br i1 %62, label %63, label %64
63: ; preds = %53
store i32 2, ptr %8, align 4
br label %77
64: ; preds = %53
%65 = load ptr, ptr %4, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 3
%67 = load i8, ptr %66, align 1
%68 = call i32 @b64_to_value(i8 noundef zeroext %67)
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %72
71: ; preds = %64
store i32 0, ptr %3, align 4
br label %97
72: ; preds = %64
%73 = load i32, ptr %7, align 4
%74 = shl i32 %73, 0
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, %74
store i32 %76, ptr %6, align 4
store i32 3, ptr %8, align 4
br label %77
77: ; preds = %72, %63, %44
%78 = load i32, ptr %6, align 4
%79 = ashr i32 %78, 16
%80 = and i32 %79, 255
%81 = trunc i32 %80 to i8
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 0
store i8 %81, ptr %83, align 1
%84 = load i32, ptr %6, align 4
%85 = ashr i32 %84, 8
%86 = and i32 %85, 255
%87 = trunc i32 %86 to i8
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 1
store i8 %87, ptr %89, align 1
%90 = load i32, ptr %6, align 4
%91 = ashr i32 %90, 0
%92 = and i32 %91, 255
%93 = trunc i32 %92 to i8
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 2
store i8 %93, ptr %95, align 1
%96 = load i32, ptr %8, align 4
store i32 %96, ptr %3, align 4
br label %97
97: ; preds = %77, %71, %52, %27, %15
%98 = load i32, ptr %3, align 4
ret i32 %98
}
declare i32 @b64_to_value(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp111rtaj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64_decode_quantum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = call i32 @b64_to_value(i8 noundef zeroext %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %97
16: ; preds = %2
%17 = load i32, ptr %7, align 4
%18 = shl i32 %17, 18
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %6, align 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = call i32 @b64_to_value(i8 noundef zeroext %23)
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %28
27: ; preds = %16
store i32 0, ptr %3, align 4
br label %97
28: ; preds = %16
%29 = load i32, ptr %7, align 4
%30 = shl i32 %29, 12
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %6, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 2
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = icmp eq i32 %36, 61
br i1 %37, label %38, label %45
38: ; preds = %28
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 3
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %42, 61
br i1 %43, label %44, label %45
44: ; preds = %38
store i32 1, ptr %8, align 4
br label %77
45: ; preds = %38, %28
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 2
%48 = load i8, ptr %47, align 1
%49 = call i32 @b64_to_value(i8 noundef zeroext %48)
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp eq i32 %50, -1
br i1 %51, label %52, label %53
52: ; preds = %45
store i32 0, ptr %3, align 4
br label %97
53: ; preds = %45
%54 = load i32, ptr %7, align 4
%55 = shl i32 %54, 6
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %6, align 4
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 3
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = icmp eq i32 %61, 61
br i1 %62, label %63, label %64
63: ; preds = %53
store i32 2, ptr %8, align 4
br label %77
64: ; preds = %53
%65 = load ptr, ptr %4, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 3
%67 = load i8, ptr %66, align 1
%68 = call i32 @b64_to_value(i8 noundef zeroext %67)
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %72
71: ; preds = %64
store i32 0, ptr %3, align 4
br label %97
72: ; preds = %64
%73 = load i32, ptr %7, align 4
%74 = shl i32 %73, 0
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, %74
store i32 %76, ptr %6, align 4
store i32 3, ptr %8, align 4
br label %77
77: ; preds = %72, %63, %44
%78 = load i32, ptr %6, align 4
%79 = ashr i32 %78, 16
%80 = and i32 %79, 255
%81 = trunc i32 %80 to i8
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 0
store i8 %81, ptr %83, align 1
%84 = load i32, ptr %6, align 4
%85 = ashr i32 %84, 8
%86 = and i32 %85, 255
%87 = trunc i32 %86 to i8
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 1
store i8 %87, ptr %89, align 1
%90 = load i32, ptr %6, align 4
%91 = ashr i32 %90, 0
%92 = and i32 %91, 255
%93 = trunc i32 %92 to i8
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 2
store i8 %93, ptr %95, align 1
%96 = load i32, ptr %8, align 4
store i32 %96, ptr %3, align 4
br label %97
97: ; preds = %77, %71, %52, %27, %15
%98 = load i32, ptr %3, align 4
ret i32 %98
}
declare i32 @b64_to_value(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw1sok7xk.c'
source_filename = "/tmp/tmpw1sok7xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compr_factor(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %50, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %53
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = srem i32 %18, 2
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %35
21: ; preds = %13
%22 = load ptr, ptr %6, align 8
%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 = sdiv i32 %27, 2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %22, i64 %29
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 15
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, %32
store i32 %34, ptr %8, align 4
br label %49
35: ; preds = %13
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = sdiv i32 %41, 2
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %36, i64 %43
%45 = load i32, ptr %44, align 4
%46 = ashr i32 %45, 4
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %8, align 4
br label %49
49: ; preds = %35, %21
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %9, !llvm.loop !6
53: ; preds = %9
%54 = load i32, ptr %8, align 4
%55 = sitofp i32 %54 to double
%56 = load i32, ptr %5, align 4
%57 = sitofp i32 %56 to double
%58 = fdiv double %55, %57
%59 = fdiv double %58, 8.000000e+00
ret double %59
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpw1sok7xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compr_factor(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %55
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %49
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = srem i32 %17, 2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %34
20: ; preds = %12
%21 = load ptr, ptr %6, align 8
%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 = sdiv i32 %26, 2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %21, i64 %28
%30 = load i32, ptr %29, align 4
%31 = and i32 %30, 15
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %8, align 4
br label %48
34: ; preds = %12
%35 = load ptr, ptr %6, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = sdiv i32 %40, 2
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %35, i64 %42
%44 = load i32, ptr %43, align 4
%45 = ashr i32 %44, 4
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %8, align 4
br label %48
48: ; preds = %34, %20
br label %49
49: ; preds = %48
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %3
%56 = load i32, ptr %8, align 4
%57 = sitofp i32 %56 to double
%58 = load i32, ptr %5, align 4
%59 = sitofp i32 %58 to double
%60 = fdiv double %57, %59
%61 = fdiv double %60, 8.000000e+00
ret double %61
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpa0tm8qov.c'
source_filename = "/tmp/tmpa0tm8qov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear(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 @set(ptr noundef %3, i32 noundef 0)
ret void
}
declare i32 @set(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/tmpa0tm8qov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear(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 @set(ptr noundef %3, i32 noundef 0)
ret void
}
declare i32 @set(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/tmpam_6rexn.c'
source_filename = "/tmp/tmpam_6rexn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr null, ptr %6, align 8
%8 = call i64 @calloc(i32 noundef 32, i32 noundef 128)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 31
store ptr %11, ptr %6, align 8
br label %12
12: ; preds = %22, %2
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = srem i32 %13, %14
%16 = load ptr, ptr %6, align 8
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = sdiv i32 %17, %18
store i32 %19, ptr %3, align 4
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i32, ptr %20, i32 -1
store ptr %21, ptr %6, align 8
br label %22
22: ; preds = %12
%23 = load i32, ptr %3, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %12, label %25, !llvm.loop !6
25: ; preds = %22
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
ret ptr %28
}
declare i64 @calloc(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/tmpam_6rexn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr null, ptr %6, align 8
%8 = call i64 @calloc(i32 noundef 32, i32 noundef 128)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 31
store ptr %11, ptr %6, align 8
br label %12
12: ; preds = %22, %2
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = srem i32 %13, %14
%16 = load ptr, ptr %6, align 8
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = sdiv i32 %17, %18
store i32 %19, ptr %3, align 4
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i32, ptr %20, i32 -1
store ptr %21, ptr %6, align 8
br label %22
22: ; preds = %12
%23 = load i32, ptr %3, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %12, label %25, !llvm.loop !6
25: ; preds = %22
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
ret ptr %28
}
declare i64 @calloc(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/tmpmxu95x51.c'
source_filename = "/tmp/tmpmxu95x51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unicode2Utf8(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @utf8CharLen(ptr noundef %8, i32 noundef %9)
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %6, align 8
br label %14
14: ; preds = %70, %2
%15 = load i32, ptr %4, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %73
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i16, ptr %18, i32 1
store ptr %19, ptr %3, align 8
%20 = load i16, ptr %18, align 2
store i16 %20, ptr %7, align 2
%21 = load i16, ptr %7, align 2
%22 = sext i16 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %17
%25 = load i16, ptr %7, align 2
%26 = sext i16 %25 to i32
%27 = icmp sgt i32 %26, 127
br i1 %27, label %28, label %64
28: ; preds = %24, %17
%29 = load i16, ptr %7, align 2
%30 = sext i16 %29 to i32
%31 = icmp sgt i32 %30, 2047
br i1 %31, label %32, label %48
32: ; preds = %28
%33 = load i16, ptr %7, align 2
%34 = sext i16 %33 to i32
%35 = ashr i32 %34, 12
%36 = or i32 %35, 224
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %6, align 8
store i8 %37, ptr %38, align 1
%40 = load i16, ptr %7, align 2
%41 = sext i16 %40 to i32
%42 = ashr i32 %41, 6
%43 = and i32 %42, 63
%44 = or i32 %43, 128
%45 = trunc i32 %44 to i8
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %6, align 8
store i8 %45, ptr %46, align 1
br label %56
48: ; preds = %28
%49 = load i16, ptr %7, align 2
%50 = sext i16 %49 to i32
%51 = ashr i32 %50, 6
%52 = or i32 %51, 192
%53 = trunc i32 %52 to i8
%54 = load ptr, ptr %6, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %6, align 8
store i8 %53, ptr %54, align 1
br label %56
56: ; preds = %48, %32
%57 = load i16, ptr %7, align 2
%58 = sext i16 %57 to i32
%59 = and i32 %58, 63
%60 = or i32 %59, 128
%61 = trunc i32 %60 to i8
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %6, align 8
store i8 %61, ptr %62, align 1
br label %69
64: ; preds = %24
%65 = load i16, ptr %7, align 2
%66 = trunc i16 %65 to i8
%67 = load ptr, ptr %6, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %6, align 8
store i8 %66, ptr %67, align 1
br label %69
69: ; preds = %64, %56
br label %70
70: ; preds = %69
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %4, align 4
br label %14, !llvm.loop !6
73: ; preds = %14
%74 = load ptr, ptr %6, align 8
store i8 0, ptr %74, align 1
%75 = load ptr, ptr %5, align 8
ret ptr %75
}
declare i64 @malloc(i32 noundef) #1
declare i32 @utf8CharLen(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/tmpmxu95x51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unicode2Utf8(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = call i32 @utf8CharLen(ptr noundef %8, i32 noundef %9)
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %6, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %.lr.ph, label %74
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %69
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i16, ptr %17, i32 1
store ptr %18, ptr %3, align 8
%19 = load i16, ptr %17, align 2
store i16 %19, ptr %7, align 2
%20 = load i16, ptr %7, align 2
%21 = sext i16 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %16
%24 = load i16, ptr %7, align 2
%25 = sext i16 %24 to i32
%26 = icmp sgt i32 %25, 127
br i1 %26, label %27, label %63
27: ; preds = %23, %16
%28 = load i16, ptr %7, align 2
%29 = sext i16 %28 to i32
%30 = icmp sgt i32 %29, 2047
br i1 %30, label %31, label %47
31: ; preds = %27
%32 = load i16, ptr %7, align 2
%33 = sext i16 %32 to i32
%34 = ashr i32 %33, 12
%35 = or i32 %34, 224
%36 = trunc i32 %35 to i8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %6, align 8
store i8 %36, ptr %37, align 1
%39 = load i16, ptr %7, align 2
%40 = sext i16 %39 to i32
%41 = ashr i32 %40, 6
%42 = and i32 %41, 63
%43 = or i32 %42, 128
%44 = trunc i32 %43 to i8
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %6, align 8
store i8 %44, ptr %45, align 1
br label %55
47: ; preds = %27
%48 = load i16, ptr %7, align 2
%49 = sext i16 %48 to i32
%50 = ashr i32 %49, 6
%51 = or i32 %50, 192
%52 = trunc i32 %51 to i8
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %6, align 8
store i8 %52, ptr %53, align 1
br label %55
55: ; preds = %47, %31
%56 = load i16, ptr %7, align 2
%57 = sext i16 %56 to i32
%58 = and i32 %57, 63
%59 = or i32 %58, 128
%60 = trunc i32 %59 to i8
%61 = load ptr, ptr %6, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %6, align 8
store i8 %60, ptr %61, align 1
br label %68
63: ; preds = %23
%64 = load i16, ptr %7, align 2
%65 = trunc i16 %64 to i8
%66 = load ptr, ptr %6, align 8
%67 = getelementptr inbounds i8, ptr %66, i32 1
store ptr %67, ptr %6, align 8
store i8 %65, ptr %66, align 1
br label %68
68: ; preds = %63, %55
br label %69
69: ; preds = %68
%70 = load i32, ptr %4, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %4, align 4
%72 = load i32, ptr %4, align 4
%73 = icmp sgt i32 %72, 0
br i1 %73, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %74
74: ; preds = %._crit_edge, %2
%75 = load ptr, ptr %6, align 8
store i8 0, ptr %75, align 1
%76 = load ptr, ptr %5, align 8
ret ptr %76
}
declare i64 @malloc(i32 noundef) #1
declare i32 @utf8CharLen(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/tmpgfqjjvgw.c'
source_filename = "/tmp/tmpgfqjjvgw.c"
target datalayout = "e-m:e-p270: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/tmpgfqjjvgw.c"
target datalayout = "e-m:e-p270: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/tmp7ua80t7p.c'
source_filename = "/tmp/tmp7ua80t7p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"w | head -n 1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"%64s %64s %64s %64s %64s %64s %64s %f %f %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_load_average(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr @BUFSIZ, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %8, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %9, align 8
%14 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %25
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %19, ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %7, align 8
%24 = call i32 @fclose(ptr noundef %23)
br label %25
25: ; preds = %17, %3
%26 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %26)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ua80t7p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"w | head -n 1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"%64s %64s %64s %64s %64s %64s %64s %f %f %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_load_average(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr @BUFSIZ, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %8, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %9, align 8
%14 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %25
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %13, ptr noundef %19, ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %7, align 8
%24 = call i32 @fclose(ptr noundef %23)
br label %25
25: ; preds = %17, %3
%26 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %26)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7afh633n.c'
source_filename = "/tmp/tmp7afh633n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
br label %11
11: ; preds = %7, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7afh633n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
br label %11
11: ; preds = %7, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwg2f59yo.c'
source_filename = "/tmp/tmpwg2f59yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @command_echo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %18, %1
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %10, label %21
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 @putchar(i8 noundef signext 32)
br label %15
15: ; preds = %13, %10
store i32 1, ptr %3, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @puts(ptr noundef %16)
br label %18
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = call ptr @skipstring(ptr noundef %19)
store ptr %20, ptr %4, align 8
br label %6, !llvm.loop !6
21: ; preds = %6
%22 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
declare ptr @skipstring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwg2f59yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @command_echo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %17
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @putchar(i8 noundef signext 32)
br label %14
14: ; preds = %12, %9
store i32 1, ptr %3, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i32 @puts(ptr noundef %15)
br label %17
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = call ptr @skipstring(ptr noundef %18)
store ptr %19, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %1
%24 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
declare ptr @skipstring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpigxzwivg.c'
source_filename = "/tmp/tmpigxzwivg.c"
target datalayout = "e-m:e-p270: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/tmpigxzwivg.c"
target datalayout = "e-m:e-p270: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/tmp4ckxlxw1.c'
source_filename = "/tmp/tmp4ckxlxw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @combinationSum2(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %15, 1
%17 = call i32 @sort(ptr noundef %14, i32 noundef 0, i32 noundef %16)
%18 = call i64 @malloc(i32 noundef 8)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %11, align 8
%20 = load ptr, ptr %10, align 8
store i32 0, ptr %20, align 4
%21 = load i32, ptr %8, align 4
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 0
%24 = load i32, ptr %23, align 4
%25 = sdiv i32 %21, %24
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = mul i64 4, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %12, align 8
store i32 -1, ptr %13, align 4
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %8, align 4
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %13, align 4
%37 = load ptr, ptr %9, align 8
%38 = load ptr, ptr %10, align 8
%39 = call i32 @helper(ptr noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, ptr noundef %35, i32 noundef %36, ptr noundef %11, ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %11, align 8
ret ptr %40
}
declare i32 @sort(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @helper(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ckxlxw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @combinationSum2(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %15, 1
%17 = call i32 @sort(ptr noundef %14, i32 noundef 0, i32 noundef %16)
%18 = call i64 @malloc(i32 noundef 8)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %11, align 8
%20 = load ptr, ptr %10, align 8
store i32 0, ptr %20, align 4
%21 = load i32, ptr %8, align 4
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 0
%24 = load i32, ptr %23, align 4
%25 = sdiv i32 %21, %24
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = mul i64 4, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %12, align 8
store i32 -1, ptr %13, align 4
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %8, align 4
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %13, align 4
%37 = load ptr, ptr %9, align 8
%38 = load ptr, ptr %10, align 8
%39 = call i32 @helper(ptr noundef %32, i32 noundef %33, i32 noundef 0, i32 noundef %34, ptr noundef %35, i32 noundef %36, ptr noundef %11, ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %11, align 8
ret ptr %40
}
declare i32 @sort(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @helper(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj_ztcuvi.c'
source_filename = "/tmp/tmpj_ztcuvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %23
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = call i32 @fread_file(ptr noundef %16, ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i32, ptr %9, align 4
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %15, %14
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_ztcuvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %23
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = call i32 @fread_file(ptr noundef %16, ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %9, align 4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = load i32, ptr %9, align 4
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %15, %14
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0lzncb_s.c'
source_filename = "/tmp/tmp0lzncb_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @tolower(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sge i32 %5, 65
br i1 %6, label %7, label %17
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 90
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = sub nsw i32 %13, 65
%15 = add nsw i32 %14, 97
%16 = trunc i32 %15 to i8
store i8 %16, ptr %2, align 1
br label %19
17: ; preds = %7, %1
%18 = load i8, ptr %3, align 1
store i8 %18, ptr %2, align 1
br label %19
19: ; preds = %17, %11
%20 = load i8, ptr %2, align 1
ret i8 %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0lzncb_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @tolower(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sge i32 %5, 65
br i1 %6, label %7, label %17
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 90
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = sub nsw i32 %13, 65
%15 = add nsw i32 %14, 97
%16 = trunc i32 %15 to i8
store i8 %16, ptr %2, align 1
br label %19
17: ; preds = %7, %1
%18 = load i8, ptr %3, align 1
store i8 %18, ptr %2, align 1
br label %19
19: ; preds = %17, %11
%20 = load i8, ptr %2, align 1
ret i8 %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsy5u0695.c'
source_filename = "/tmp/tmpsy5u0695.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i16_i64_f64_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %33, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
%19 = load double, ptr %18, align 8
%20 = fcmp une double %19, 0.000000e+00
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %21, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %10, !llvm.loop !6
36: ; preds = %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsy5u0695.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_i16_i64_f64_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, ptr %14, i64 %16
%18 = load double, ptr %17, align 8
%19 = fcmp une double %18, 0.000000e+00
br i1 %19, label %20, label %31
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
br label %31
31: ; preds = %20, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmhkj4768.c'
source_filename = "/tmp/tmpmhkj4768.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeconfig_update_keymap(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = call i32 @eeprom_update_byte(ptr noundef inttoptr (i64 4 to ptr), i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = ashr i32 %6, 8
%8 = and i32 %7, 255
%9 = call i32 @eeprom_update_byte(ptr noundef inttoptr (i64 33 to ptr), i32 noundef %8)
ret void
}
declare i32 @eeprom_update_byte(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/tmpmhkj4768.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeconfig_update_keymap(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = call i32 @eeprom_update_byte(ptr noundef inttoptr (i64 4 to ptr), i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = ashr i32 %6, 8
%8 = and i32 %7, 255
%9 = call i32 @eeprom_update_byte(ptr noundef inttoptr (i64 33 to ptr), i32 noundef %8)
ret void
}
declare i32 @eeprom_update_byte(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/tmp5kp6rqe1.c'
source_filename = "/tmp/tmp5kp6rqe1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 32, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
%16 = load i32, ptr %9, align 4
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %15, align 8
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 2
br i1 %19, label %20, label %25
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %23)
store i32 1, ptr %3, align 4
br label %157
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i32 1
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1)
store ptr %29, ptr %6, align 8
br label %30
30: ; preds = %153, %25
%31 = load ptr, ptr %6, align 8
%32 = call signext i8 @getc(ptr noundef %31)
store i8 %32, ptr %14, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 128
br i1 %34, label %38, label %35
35: ; preds = %30
%36 = load i32, ptr %10, align 4
%37 = icmp sgt i32 %36, 0
br label %38
38: ; preds = %35, %30
%39 = phi i1 [ true, %30 ], [ %37, %35 ]
br i1 %39, label %40, label %154
40: ; preds = %38
%41 = load i8, ptr %14, align 1
%42 = sext i8 %41 to i32
switch i32 %42, label %90 [
i32 44, label %43
i32 10, label %45
i32 128, label %45
]
43: ; preds = %40
%44 = load i32, ptr %10, align 4
store i32 %44, ptr %11, align 4
br label %153
45: ; preds = %40, %40
br label %46
46: ; preds = %61, %45
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %50, label %59
50: ; preds = %46
%51 = load ptr, ptr %15, align 8
%52 = load i32, ptr %10, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 42
br label %59
59: ; preds = %50, %46
%60 = phi i1 [ false, %46 ], [ %58, %50 ]
br i1 %60, label %61, label %64
61: ; preds = %59
%62 = load i32, ptr %10, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %10, align 4
br label %46, !llvm.loop !6
64: ; preds = %59
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %11, align 4
%67 = sub nsw i32 %65, %66
store i32 %67, ptr %12, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %68
68: ; preds = %81, %64
%69 = load i32, ptr %13, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %84
72: ; preds = %68
%73 = load ptr, ptr %15, align 8
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %12, align 4
%76 = load i32, ptr %13, align 4
%77 = call i32 @subcheck(ptr noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef 0)
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %72
store i32 1, ptr %8, align 4
br label %84
80: ; preds = %72
br label %81
81: ; preds = %80
%82 = load i32, ptr %13, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %13, align 4
br label %68, !llvm.loop !8
84: ; preds = %79, %68
%85 = load i32, ptr %8, align 4
%86 = icmp ne i32 %85, 0
%87 = zext i1 %86 to i64
%88 = select i1 %86, ptr @.str.2, ptr @.str.3
%89 = call i32 @puts(ptr noundef %88)
store i32 0, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %153
90: ; preds = %40
%91 = load i32, ptr %11, align 4
%92 = icmp sge i32 %91, 0
br i1 %92, label %93, label %127
93: ; preds = %90
%94 = load i32, ptr %7, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %102
96: ; preds = %93
%97 = load i8, ptr %14, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 42
br i1 %99, label %100, label %101
100: ; preds = %96
br label %153
101: ; preds = %96
store i32 0, ptr %7, align 4
br label %102
102: ; preds = %101, %93
%103 = load i8, ptr %14, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 92
br i1 %105, label %106, label %115
106: ; preds = %102
%107 = load i32, ptr %8, align 4
%108 = icmp ne i32 %107, 0
%109 = xor i1 %108, true
%110 = zext i1 %109 to i32
store i32 %110, ptr %8, align 4
%111 = load i32, ptr %8, align 4
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %114
113: ; preds = %106
br label %153
114: ; preds = %106
br label %126
115: ; preds = %102
%116 = load i8, ptr %14, align 1
%117 = sext i8 %116 to i32
%118 = icmp eq i32 %117, 42
br i1 %118, label %119, label %125
119: ; preds = %115
%120 = load i32, ptr %8, align 4
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %123
122: ; preds = %119
store i8 43, ptr %14, align 1
store i32 0, ptr %8, align 4
br label %124
123: ; preds = %119
store i32 1, ptr %7, align 4
br label %124
124: ; preds = %123, %122
br label %125
125: ; preds = %124, %115
br label %126
126: ; preds = %125, %114
br label %133
127: ; preds = %90
%128 = load i8, ptr %14, align 1
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 42
br i1 %130, label %131, label %132
131: ; preds = %127
store i8 43, ptr %14, align 1
br label %132
132: ; preds = %131, %127
br label %133
133: ; preds = %132, %126
%134 = load i32, ptr %10, align 4
%135 = load i32, ptr %9, align 4
%136 = sub nsw i32 %135, 1
%137 = icmp eq i32 %134, %136
br i1 %137, label %138, label %146
138: ; preds = %133
%139 = load i32, ptr %9, align 4
%140 = sdiv i32 %139, 2
%141 = load i32, ptr %9, align 4
%142 = add nsw i32 %141, %140
store i32 %142, ptr %9, align 4
%143 = load ptr, ptr %15, align 8
%144 = load i32, ptr %9, align 4
%145 = call ptr @realloc(ptr noundef %143, i32 noundef %144)
store ptr %145, ptr %15, align 8
br label %146
146: ; preds = %138, %133
%147 = load i8, ptr %14, align 1
%148 = load ptr, ptr %15, align 8
%149 = load i32, ptr %10, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %10, align 4
%151 = sext i32 %149 to i64
%152 = getelementptr inbounds i8, ptr %148, i64 %151
store i8 %147, ptr %152, align 1
br label %153
153: ; preds = %146, %113, %100, %84, %43
br label %30, !llvm.loop !9
154: ; preds = %38
%155 = load ptr, ptr %15, align 8
%156 = call i32 @free(ptr noundef %155)
store i32 0, ptr %3, align 4
br label %157
157: ; preds = %154, %20
%158 = load i32, ptr %3, align 4
ret i32 %158
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @subcheck(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5kp6rqe1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i8, align 1
%15 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 32, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
%16 = load i32, ptr %9, align 4
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %15, align 8
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 2
br i1 %19, label %20, label %25
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %23)
store i32 1, ptr %3, align 4
br label %159
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i32 1
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1)
store ptr %29, ptr %6, align 8
br label %30
30: ; preds = %155, %25
%31 = load ptr, ptr %6, align 8
%32 = call signext i8 @getc(ptr noundef %31)
store i8 %32, ptr %14, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 128
br i1 %34, label %38, label %35
35: ; preds = %30
%36 = load i32, ptr %10, align 4
%37 = icmp sgt i32 %36, 0
br label %38
38: ; preds = %35, %30
%39 = phi i1 [ true, %30 ], [ %37, %35 ]
br i1 %39, label %40, label %156
40: ; preds = %38
%41 = load i8, ptr %14, align 1
%42 = sext i8 %41 to i32
switch i32 %42, label %92 [
i32 44, label %43
i32 10, label %45
i32 128, label %45
]
43: ; preds = %40
%44 = load i32, ptr %10, align 4
store i32 %44, ptr %11, align 4
br label %155
45: ; preds = %40, %40
br label %46
46: ; preds = %61, %45
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %50, label %59
50: ; preds = %46
%51 = load ptr, ptr %15, align 8
%52 = load i32, ptr %10, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 42
br label %59
59: ; preds = %50, %46
%60 = phi i1 [ false, %46 ], [ %58, %50 ]
br i1 %60, label %61, label %64
61: ; preds = %59
%62 = load i32, ptr %10, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %10, align 4
br label %46, !llvm.loop !6
64: ; preds = %59
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %11, align 4
%67 = sub nsw i32 %65, %66
store i32 %67, ptr %12, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %11, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %64
br label %71
71: ; preds = %.lr.ph, %80
%72 = load ptr, ptr %15, align 8
%73 = load i32, ptr %11, align 4
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %13, align 4
%76 = call i32 @subcheck(ptr noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef 0)
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %79
78: ; preds = %71
store i32 1, ptr %8, align 4
br label %86
79: ; preds = %71
br label %80
80: ; preds = %79
%81 = load i32, ptr %13, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %13, align 4
%83 = load i32, ptr %13, align 4
%84 = load i32, ptr %11, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %71, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %80
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %64
br label %86
86: ; preds = %.loopexit, %78
%87 = load i32, ptr %8, align 4
%88 = icmp ne i32 %87, 0
%89 = zext i1 %88 to i64
%90 = select i1 %88, ptr @.str.2, ptr @.str.3
%91 = call i32 @puts(ptr noundef %90)
store i32 0, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %155
92: ; preds = %40
%93 = load i32, ptr %11, align 4
%94 = icmp sge i32 %93, 0
br i1 %94, label %95, label %129
95: ; preds = %92
%96 = load i32, ptr %7, align 4
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %104
98: ; preds = %95
%99 = load i8, ptr %14, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 42
br i1 %101, label %102, label %103
102: ; preds = %98
br label %155
103: ; preds = %98
store i32 0, ptr %7, align 4
br label %104
104: ; preds = %103, %95
%105 = load i8, ptr %14, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 92
br i1 %107, label %108, label %117
108: ; preds = %104
%109 = load i32, ptr %8, align 4
%110 = icmp ne i32 %109, 0
%111 = xor i1 %110, true
%112 = zext i1 %111 to i32
store i32 %112, ptr %8, align 4
%113 = load i32, ptr %8, align 4
%114 = icmp ne i32 %113, 0
br i1 %114, label %115, label %116
115: ; preds = %108
br label %155
116: ; preds = %108
br label %128
117: ; preds = %104
%118 = load i8, ptr %14, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 42
br i1 %120, label %121, label %127
121: ; preds = %117
%122 = load i32, ptr %8, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %121
store i8 43, ptr %14, align 1
store i32 0, ptr %8, align 4
br label %126
125: ; preds = %121
store i32 1, ptr %7, align 4
br label %126
126: ; preds = %125, %124
br label %127
127: ; preds = %126, %117
br label %128
128: ; preds = %127, %116
br label %135
129: ; preds = %92
%130 = load i8, ptr %14, align 1
%131 = sext i8 %130 to i32
%132 = icmp eq i32 %131, 42
br i1 %132, label %133, label %134
133: ; preds = %129
store i8 43, ptr %14, align 1
br label %134
134: ; preds = %133, %129
br label %135
135: ; preds = %134, %128
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %9, align 4
%138 = sub nsw i32 %137, 1
%139 = icmp eq i32 %136, %138
br i1 %139, label %140, label %148
140: ; preds = %135
%141 = load i32, ptr %9, align 4
%142 = sdiv i32 %141, 2
%143 = load i32, ptr %9, align 4
%144 = add nsw i32 %143, %142
store i32 %144, ptr %9, align 4
%145 = load ptr, ptr %15, align 8
%146 = load i32, ptr %9, align 4
%147 = call ptr @realloc(ptr noundef %145, i32 noundef %146)
store ptr %147, ptr %15, align 8
br label %148
148: ; preds = %140, %135
%149 = load i8, ptr %14, align 1
%150 = load ptr, ptr %15, align 8
%151 = load i32, ptr %10, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %10, align 4
%153 = sext i32 %151 to i64
%154 = getelementptr inbounds i8, ptr %150, i64 %153
store i8 %149, ptr %154, align 1
br label %155
155: ; preds = %148, %115, %102, %86, %43
br label %30, !llvm.loop !9
156: ; preds = %38
%157 = load ptr, ptr %15, align 8
%158 = call i32 @free(ptr noundef %157)
store i32 0, ptr %3, align 4
br label %159
159: ; preds = %156, %20
%160 = load i32, ptr %3, align 4
ret i32 %160
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @subcheck(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpdhdynbpp.c'
source_filename = "/tmp/tmpdhdynbpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_mm_getcsr() #0 {
%1 = alloca i32, align 4
call void @llvm.x86.sse.stmxcsr(ptr %1)
%2 = load i32, ptr %1, align 4
ret i32 %2
}
; Function Attrs: nounwind memory(argmem: write)
declare void @llvm.x86.sse.stmxcsr(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdhdynbpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_mm_getcsr() #0 {
%1 = alloca i32, align 4
call void @llvm.x86.sse.stmxcsr(ptr %1)
%2 = load i32, ptr %1, align 4
ret i32 %2
}
; Function Attrs: nounwind memory(argmem: write)
declare void @llvm.x86.sse.stmxcsr(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5nuwnspy.c'
source_filename = "/tmp/tmp5nuwnspy.c"
target datalayout = "e-m:e-p270: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/tmp5nuwnspy.c"
target datalayout = "e-m:e-p270: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/tmp3v566hlp.c'
source_filename = "/tmp/tmp3v566hlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, 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
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 -1, ptr %17, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %2
%21 = load i32, ptr %7, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load i32, ptr %8, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %23
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %27
27: ; preds = %26, %23, %20, %2
%28 = load i32, ptr %9, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, ptr %10, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load i32, ptr %11, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 1, ptr %9, align 4
store i32 1, ptr %10, align 4
store i32 1, ptr %11, align 4
br label %37
37: ; preds = %36, %33, %30, %27
%38 = load i32, ptr %12, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %53
40: ; preds = %37
%41 = load i32, ptr %13, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = load i32, ptr %15, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = load i32, ptr %16, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = load i32, ptr %14, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 1, ptr %12, align 4
store i32 1, ptr %13, align 4
store i32 1, ptr %15, align 4
store i32 1, ptr %16, align 4
store i32 1, ptr %14, align 4
br label %53
53: ; preds = %52, %49, %46, %43, %40, %37
%54 = load i32, ptr %17, align 4
%55 = icmp eq i32 %54, -1
br i1 %55, label %56, label %57
56: ; preds = %53
store i32 2, ptr %17, align 4
br label %57
57: ; preds = %56, %53
%58 = call i32 (...) @build_iargs_table()
%59 = call i32 (...) @build_fargs_table()
%60 = call i32 (...) @build_ii16_table()
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 1, ptr %9, align 4
store i32 1, ptr %10, align 4
store i32 1, ptr %11, align 4
store i32 1, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %15, align 4
%71 = load i32, ptr %16, align 4
%72 = load i32, ptr %17, align 4
%73 = load ptr, ptr %5, align 8
%74 = call i32 @do_tests(i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, ptr noundef %73)
ret i32 0
}
declare i32 @build_iargs_table(...) #1
declare i32 @build_fargs_table(...) #1
declare i32 @build_ii16_table(...) #1
declare i32 @do_tests(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3v566hlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, 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
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 -1, ptr %17, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %2
%21 = load i32, ptr %7, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load i32, ptr %8, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %23
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %27
27: ; preds = %26, %23, %20, %2
%28 = load i32, ptr %9, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, ptr %10, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load i32, ptr %11, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 1, ptr %9, align 4
store i32 1, ptr %10, align 4
store i32 1, ptr %11, align 4
br label %37
37: ; preds = %36, %33, %30, %27
%38 = load i32, ptr %12, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %53
40: ; preds = %37
%41 = load i32, ptr %13, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = load i32, ptr %15, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = load i32, ptr %16, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = load i32, ptr %14, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 1, ptr %12, align 4
store i32 1, ptr %13, align 4
store i32 1, ptr %15, align 4
store i32 1, ptr %16, align 4
store i32 1, ptr %14, align 4
br label %53
53: ; preds = %52, %49, %46, %43, %40, %37
%54 = load i32, ptr %17, align 4
%55 = icmp eq i32 %54, -1
br i1 %55, label %56, label %57
56: ; preds = %53
store i32 2, ptr %17, align 4
br label %57
57: ; preds = %56, %53
%58 = call i32 (...) @build_iargs_table()
%59 = call i32 (...) @build_fargs_table()
%60 = call i32 (...) @build_ii16_table()
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
store i32 1, ptr %9, align 4
store i32 1, ptr %10, align 4
store i32 1, ptr %11, align 4
store i32 1, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %15, align 4
%71 = load i32, ptr %16, align 4
%72 = load i32, ptr %17, align 4
%73 = load ptr, ptr %5, align 8
%74 = call i32 @do_tests(i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, ptr noundef %73)
ret i32 0
}
declare i32 @build_iargs_table(...) #1
declare i32 @build_fargs_table(...) #1
declare i32 @build_ii16_table(...) #1
declare i32 @do_tests(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsqfw744c.c'
source_filename = "/tmp/tmpsqfw744c.c"
target datalayout = "e-m:e-p270: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/tmpsqfw744c.c"
target datalayout = "e-m:e-p270: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/tmpoqxeiv4x.c'
source_filename = "/tmp/tmpoqxeiv4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_cls() #0 {
%1 = alloca i32, align 4
%2 = call i32 @putchar(i8 noundef signext 10)
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %8, %0
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 20
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
br label %3, !llvm.loop !6
11: ; preds = %3
%12 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqxeiv4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lcd_cls() #0 {
%1 = alloca i32, align 4
%2 = call i32 @putchar(i8 noundef signext 10)
store i32 0, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 20
br i1 %4, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %7
%6 = call i32 @printf(ptr noundef @.str)
br label %7
7: ; preds = %5
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp slt i32 %10, 20
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
%13 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @putchar(i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9tx_dhcr.c'
source_filename = "/tmp/tmp9tx_dhcr.c"
target datalayout = "e-m:e-p270: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/tmp9tx_dhcr.c"
target datalayout = "e-m:e-p270: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/tmpaj1kgvak.c'
source_filename = "/tmp/tmpaj1kgvak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bir sayi giriniz.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %23, %0
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %26
11: ; preds = %7
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %18, %11
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = call i32 @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %12, !llvm.loop !6
21: ; preds = %12
%22 = call i32 @printf(ptr noundef @.str.3)
br label %23
23: ; preds = %21
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %7, !llvm.loop !8
26: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaj1kgvak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bir sayi giriniz.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph2, label %30
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %24
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %22
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %16
%15 = call i32 @printf(ptr noundef @.str.2)
br label %16
16: ; preds = %14
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %10
%23 = call i32 @printf(ptr noundef @.str.3)
br label %24
24: ; preds = %22
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %30
30: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpooqb1n91.c'
source_filename = "/tmp/tmpooqb1n91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unhexlify(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%13 = load i64, ptr %9, align 8
%14 = urem i64 %13, 2
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 -1, ptr %5, align 4
br label %48
17: ; preds = %4
%18 = load i64, ptr %9, align 8
%19 = udiv i64 %18, 2
store i64 %19, ptr %12, align 8
%20 = load i64, ptr %7, align 8
%21 = load i64, ptr %12, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 -1, ptr %5, align 4
br label %48
24: ; preds = %17
br label %25
25: ; preds = %28, %24
%26 = load i64, ptr %9, align 8
%27 = icmp ugt i64 %26, 0
br i1 %27, label %28, label %45
28: ; preds = %25
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds i32, ptr %29, i32 1
store ptr %30, ptr %8, align 8
%31 = load i32, ptr %29, align 4
store i32 %31, ptr %10, align 4
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i32, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load i32, ptr %32, align 4
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %10, align 4
%36 = call i32 @_xctoi(i32 noundef %35)
%37 = shl i32 %36, 4
%38 = load i32, ptr %11, align 4
%39 = call i32 @_xctoi(i32 noundef %38)
%40 = add nsw i32 %37, %39
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i32, ptr %41, i32 1
store ptr %42, ptr %6, align 8
store i32 %40, ptr %41, align 4
%43 = load i64, ptr %9, align 8
%44 = sub i64 %43, 2
store i64 %44, ptr %9, align 8
br label %25, !llvm.loop !6
45: ; preds = %25
%46 = load i64, ptr %12, align 8
%47 = trunc i64 %46 to i32
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %45, %23, %16
%49 = load i32, ptr %5, align 4
ret i32 %49
}
declare i32 @_xctoi(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/tmpooqb1n91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unhexlify(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%13 = load i64, ptr %9, align 8
%14 = urem i64 %13, 2
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 -1, ptr %5, align 4
br label %49
17: ; preds = %4
%18 = load i64, ptr %9, align 8
%19 = udiv i64 %18, 2
store i64 %19, ptr %12, align 8
%20 = load i64, ptr %7, align 8
%21 = load i64, ptr %12, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 -1, ptr %5, align 4
br label %49
24: ; preds = %17
%25 = load i64, ptr %9, align 8
%26 = icmp ugt i64 %25, 0
br i1 %26, label %.lr.ph, label %46
.lr.ph: ; preds = %24
br label %27
27: ; preds = %.lr.ph, %27
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds i32, ptr %28, i32 1
store ptr %29, ptr %8, align 8
%30 = load i32, ptr %28, align 4
store i32 %30, ptr %10, align 4
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i32, ptr %31, i32 1
store ptr %32, ptr %8, align 8
%33 = load i32, ptr %31, align 4
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = call i32 @_xctoi(i32 noundef %34)
%36 = shl i32 %35, 4
%37 = load i32, ptr %11, align 4
%38 = call i32 @_xctoi(i32 noundef %37)
%39 = add nsw i32 %36, %38
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i32, ptr %40, i32 1
store ptr %41, ptr %6, align 8
store i32 %39, ptr %40, align 4
%42 = load i64, ptr %9, align 8
%43 = sub i64 %42, 2
store i64 %43, ptr %9, align 8
%44 = load i64, ptr %9, align 8
%45 = icmp ugt i64 %44, 0
br i1 %45, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %46
46: ; preds = %._crit_edge, %24
%47 = load i64, ptr %12, align 8
%48 = trunc i64 %47 to i32
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %46, %23, %16
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @_xctoi(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/tmptp_95f5v.c'
source_filename = "/tmp/tmptp_95f5v.c"
target datalayout = "e-m:e-p270: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/tmptp_95f5v.c"
target datalayout = "e-m:e-p270: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/tmpb0v_94xc.c'
source_filename = "/tmp/tmpb0v_94xc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ut_string_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %5, %1
br label %15
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 @free(ptr noundef %12)
%14 = load ptr, ptr %2, align 8
store ptr null, ptr %14, align 8
br label %15
15: ; preds = %10, %9
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb0v_94xc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ut_string_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %5, %1
br label %15
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 @free(ptr noundef %12)
%14 = load ptr, ptr %2, align 8
store ptr null, ptr %14, align 8
br label %15
15: ; preds = %10, %9
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz6ikvnd6.c'
source_filename = "/tmp/tmpz6ikvnd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printKontostand() #0 {
%1 = call i32 (...) @printPlusRow()
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @printPlusRow()
ret void
}
declare i32 @printPlusRow(...) #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/tmpz6ikvnd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printKontostand() #0 {
%1 = call i32 (...) @printPlusRow()
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @printPlusRow()
ret void
}
declare i32 @printPlusRow(...) #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/tmpok478ue5.c'
source_filename = "/tmp/tmpok478ue5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_8__ = type { i64, i32, i32, i64 }
%struct.TYPE_9__ = type { i32 }
@NS_MAXDNAME = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ECONNREFUSED = dso_local global i64 0, align 8
@SERVFAIL = dso_local global i32 0, align 4
@RES_DEFNAMES = dso_local global i32 0, align 4
@RES_DNSRCH = dso_local global i32 0, align 4
@RES_NOTLDQUERY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @res_nsearch(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%30 = load ptr, ptr %12, align 8
store ptr %30, ptr %16, align 8
%31 = load i32, ptr @NS_MAXDNAME, align 4
%32 = zext i32 %31 to i64
%33 = call ptr @llvm.stacksave()
store ptr %33, ptr %17, align 8
%34 = alloca i8, i64 %32, align 16
store i64 %32, ptr %18, align 8
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
store i32 0, ptr %25, align 4
store i32 0, ptr %26, align 4
store i32 0, ptr %27, align 4
store i64 0, ptr @errno, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i32 @RES_SET_H_ERRNO(ptr noundef %35, i32 noundef 130)
store i64 0, ptr %19, align 8
%37 = load ptr, ptr %9, align 8
store ptr %37, ptr %14, align 8
br label %38
38: ; preds = %52, %6
%39 = load ptr, ptr %14, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %55
43: ; preds = %38
%44 = load ptr, ptr %14, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 46
%48 = zext i1 %47 to i32
%49 = sext i32 %48 to i64
%50 = load i64, ptr %19, align 8
%51 = add nsw i64 %50, %49
store i64 %51, ptr %19, align 8
br label %52
52: ; preds = %43
%53 = load ptr, ptr %14, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %14, align 8
br label %38, !llvm.loop !6
55: ; preds = %38
store i32 0, ptr %20, align 4
%56 = load ptr, ptr %14, align 8
%57 = load ptr, ptr %9, align 8
%58 = icmp ugt ptr %56, %57
br i1 %58, label %59, label %68
59: ; preds = %55
%60 = load ptr, ptr %14, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 -1
store ptr %61, ptr %14, align 8
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 46
br i1 %64, label %65, label %68
65: ; preds = %59
%66 = load i32, ptr %20, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %20, align 4
br label %68
68: ; preds = %65, %59, %55
%69 = load i64, ptr %19, align 8
%70 = icmp ne i64 %69, 0
br i1 %70, label %85, label %71
71: ; preds = %68
%72 = load ptr, ptr %8, align 8
%73 = load ptr, ptr %9, align 8
%74 = trunc i64 %32 to i32
%75 = call ptr @res_hostalias(ptr noundef %72, ptr noundef %73, ptr noundef %34, i32 noundef %74)
store ptr %75, ptr %14, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %77, label %85
77: ; preds = %71
%78 = load ptr, ptr %8, align 8
%79 = load ptr, ptr %14, align 8
%80 = load i32, ptr %10, align 4
%81 = load i32, ptr %11, align 4
%82 = load ptr, ptr %12, align 8
%83 = load i32, ptr %13, align 4
%84 = call i32 @res_nquery(ptr noundef %78, ptr noundef %79, i32 noundef %80, i32 noundef %81, ptr noundef %82, i32 noundef %83)
store i32 %84, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
85: ; preds = %71, %68
store i32 -1, ptr %22, align 4
%86 = load i64, ptr %19, align 8
%87 = load ptr, ptr %8, align 8
%88 = getelementptr inbounds %struct.TYPE_8__, ptr %87, i32 0, i32 0
%89 = load i64, ptr %88, align 8
%90 = icmp sge i64 %86, %89
br i1 %90, label %94, label %91
91: ; preds = %85
%92 = load i32, ptr %20, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %136
94: ; preds = %91, %85
%95 = load ptr, ptr %8, align 8
%96 = load ptr, ptr %9, align 8
%97 = load i32, ptr %10, align 4
%98 = load i32, ptr %11, align 4
%99 = load ptr, ptr %12, align 8
%100 = load i32, ptr %13, align 4
%101 = call i32 @res_nquerydomain(ptr noundef %95, ptr noundef %96, ptr noundef null, i32 noundef %97, i32 noundef %98, ptr noundef %99, i32 noundef %100)
store i32 %101, ptr %21, align 4
%102 = load i32, ptr %21, align 4
%103 = icmp sgt i32 %102, 0
br i1 %103, label %107, label %104
104: ; preds = %94
%105 = load i32, ptr %20, align 4
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %109
107: ; preds = %104, %94
%108 = load i32, ptr %21, align 4
store i32 %108, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
109: ; preds = %104
%110 = load i64, ptr @errno, align 8
%111 = load i64, ptr @ECONNREFUSED, align 8
%112 = icmp eq i64 %110, %111
br i1 %112, label %113, label %116
113: ; preds = %109
%114 = load ptr, ptr %8, align 8
%115 = call i32 @RES_SET_H_ERRNO(ptr noundef %114, i32 noundef 128)
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
116: ; preds = %109
%117 = load ptr, ptr %8, align 8
%118 = getelementptr inbounds %struct.TYPE_8__, ptr %117, i32 0, i32 1
%119 = load i32, ptr %118, align 8
switch i32 %119, label %129 [
i32 129, label %120
i32 130, label %120
i32 128, label %121
]
120: ; preds = %116, %116
br label %130
121: ; preds = %116
%122 = load ptr, ptr %16, align 8
%123 = getelementptr inbounds %struct.TYPE_9__, ptr %122, i32 0, i32 0
%124 = load i32, ptr %123, align 4
%125 = load i32, ptr @SERVFAIL, align 4
%126 = icmp eq i32 %124, %125
br i1 %126, label %127, label %128
127: ; preds = %121
br label %130
128: ; preds = %121
br label %129
129: ; preds = %116, %128
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
130: ; preds = %127, %120
%131 = load ptr, ptr %8, align 8
%132 = getelementptr inbounds %struct.TYPE_8__, ptr %131, i32 0, i32 1
%133 = load i32, ptr %132, align 8
store i32 %133, ptr %22, align 4
%134 = load i32, ptr %26, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %26, align 4
br label %136
136: ; preds = %130, %91
%137 = load i64, ptr %19, align 8
%138 = icmp ne i64 %137, 0
br i1 %138, label %146, label %139
139: ; preds = %136
%140 = load ptr, ptr %8, align 8
%141 = getelementptr inbounds %struct.TYPE_8__, ptr %140, i32 0, i32 2
%142 = load i32, ptr %141, align 4
%143 = load i32, ptr @RES_DEFNAMES, align 4
%144 = and i32 %142, %143
%145 = icmp ne i32 %144, 0
br i1 %145, label %159, label %146
146: ; preds = %139, %136
%147 = load i64, ptr %19, align 8
%148 = icmp ne i64 %147, 0
br i1 %148, label %149, label %265
149: ; preds = %146
%150 = load i32, ptr %20, align 4
%151 = icmp ne i32 %150, 0
br i1 %151, label %265, label %152
152: ; preds = %149
%153 = load ptr, ptr %8, align 8
%154 = getelementptr inbounds %struct.TYPE_8__, ptr %153, i32 0, i32 2
%155 = load i32, ptr %154, align 4
%156 = load i32, ptr @RES_DNSRCH, align 4
%157 = and i32 %155, %156
%158 = icmp ne i32 %157, 0
br i1 %158, label %159, label %265
159: ; preds = %152, %139
store i32 0, ptr %29, align 4
%160 = load ptr, ptr %8, align 8
%161 = getelementptr inbounds %struct.TYPE_8__, ptr %160, i32 0, i32 3
%162 = load i64, ptr %161, align 8
%163 = inttoptr i64 %162 to ptr
store ptr %163, ptr %15, align 8
br label %164
164: ; preds = %261, %159
%165 = load ptr, ptr %15, align 8
%166 = load ptr, ptr %165, align 8
%167 = icmp ne ptr %166, null
br i1 %167, label %168, label %172
168: ; preds = %164
%169 = load i32, ptr %29, align 4
%170 = icmp ne i32 %169, 0
%171 = xor i1 %170, true
br label %172
172: ; preds = %168, %164
%173 = phi i1 [ false, %164 ], [ %171, %168 ]
br i1 %173, label %174, label %264
174: ; preds = %172
store i32 1, ptr %27, align 4
%175 = load ptr, ptr %15, align 8
%176 = getelementptr inbounds ptr, ptr %175, i64 0
%177 = load ptr, ptr %176, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 0
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %180, 0
br i1 %181, label %198, label %182
182: ; preds = %174
%183 = load ptr, ptr %15, align 8
%184 = getelementptr inbounds ptr, ptr %183, i64 0
%185 = load ptr, ptr %184, align 8
%186 = getelementptr inbounds i8, ptr %185, i64 0
%187 = load i8, ptr %186, align 1
%188 = sext i8 %187 to i32
%189 = icmp eq i32 %188, 46
br i1 %189, label %190, label %201
190: ; preds = %182
%191 = load ptr, ptr %15, align 8
%192 = getelementptr inbounds ptr, ptr %191, i64 0
%193 = load ptr, ptr %192, align 8
%194 = getelementptr inbounds i8, ptr %193, i64 1
%195 = load i8, ptr %194, align 1
%196 = sext i8 %195 to i32
%197 = icmp eq i32 %196, 0
br i1 %197, label %198, label %201
198: ; preds = %190, %174
%199 = load i32, ptr %25, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %25, align 4
br label %201
201: ; preds = %198, %190, %182
%202 = load i32, ptr %25, align 4
%203 = icmp ne i32 %202, 0
br i1 %203, label %204, label %208
204: ; preds = %201
%205 = load i32, ptr %26, align 4
%206 = icmp ne i32 %205, 0
br i1 %206, label %207, label %208
207: ; preds = %204
br label %261
208: ; preds = %204, %201
%209 = load ptr, ptr %8, align 8
%210 = load ptr, ptr %9, align 8
%211 = load ptr, ptr %15, align 8
%212 = load ptr, ptr %211, align 8
%213 = load i32, ptr %10, align 4
%214 = load i32, ptr %11, align 4
%215 = load ptr, ptr %12, align 8
%216 = load i32, ptr %13, align 4
%217 = call i32 @res_nquerydomain(ptr noundef %209, ptr noundef %210, ptr noundef %212, i32 noundef %213, i32 noundef %214, ptr noundef %215, i32 noundef %216)
store i32 %217, ptr %21, align 4
%218 = load i32, ptr %21, align 4
%219 = icmp sgt i32 %218, 0
br i1 %219, label %220, label %222
220: ; preds = %208
%221 = load i32, ptr %21, align 4
store i32 %221, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
222: ; preds = %208
%223 = load i64, ptr @errno, align 8
%224 = load i64, ptr @ECONNREFUSED, align 8
%225 = icmp eq i64 %223, %224
br i1 %225, label %226, label %229
226: ; preds = %222
%227 = load ptr, ptr %8, align 8
%228 = call i32 @RES_SET_H_ERRNO(ptr noundef %227, i32 noundef 128)
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
229: ; preds = %222
%230 = load ptr, ptr %8, align 8
%231 = getelementptr inbounds %struct.TYPE_8__, ptr %230, i32 0, i32 1
%232 = load i32, ptr %231, align 8
switch i32 %232, label %247 [
i32 129, label %233
i32 130, label %236
i32 128, label %237
]
233: ; preds = %229
%234 = load i32, ptr %23, align 4
%235 = add nsw i32 %234, 1
store i32 %235, ptr %23, align 4
br label %236
236: ; preds = %229, %233
br label %250
237: ; preds = %229
%238 = load i32, ptr %24, align 4
%239 = add nsw i32 %238, 1
store i32 %239, ptr %24, align 4
%240 = load ptr, ptr %16, align 8
%241 = getelementptr inbounds %struct.TYPE_9__, ptr %240, i32 0, i32 0
%242 = load i32, ptr %241, align 4
%243 = load i32, ptr @SERVFAIL, align 4
%244 = icmp eq i32 %242, %243
br i1 %244, label %245, label %246
245: ; preds = %237
br label %250
246: ; preds = %237
br label %247
247: ; preds = %229, %246
%248 = load i32, ptr %29, align 4
%249 = add nsw i32 %248, 1
store i32 %249, ptr %29, align 4
br label %250
250: ; preds = %247, %245, %236
%251 = load ptr, ptr %8, align 8
%252 = getelementptr inbounds %struct.TYPE_8__, ptr %251, i32 0, i32 2
%253 = load i32, ptr %252, align 4
%254 = load i32, ptr @RES_DNSRCH, align 4
%255 = and i32 %253, %254
%256 = icmp eq i32 %255, 0
br i1 %256, label %257, label %260
257: ; preds = %250
%258 = load i32, ptr %29, align 4
%259 = add nsw i32 %258, 1
store i32 %259, ptr %29, align 4
br label %260
260: ; preds = %257, %250
br label %261
261: ; preds = %260, %207
%262 = load ptr, ptr %15, align 8
%263 = getelementptr inbounds ptr, ptr %262, i32 1
store ptr %263, ptr %15, align 8
br label %164, !llvm.loop !8
264: ; preds = %172
br label %265
265: ; preds = %264, %152, %149, %146
%266 = load ptr, ptr %8, align 8
%267 = getelementptr inbounds %struct.TYPE_8__, ptr %266, i32 0, i32 1
%268 = load i32, ptr %267, align 8
switch i32 %268, label %278 [
i32 129, label %269
i32 130, label %269
i32 128, label %270
]
269: ; preds = %265, %265
br label %279
270: ; preds = %265
%271 = load ptr, ptr %16, align 8
%272 = getelementptr inbounds %struct.TYPE_9__, ptr %271, i32 0, i32 0
%273 = load i32, ptr %272, align 4
%274 = load i32, ptr @SERVFAIL, align 4
%275 = icmp eq i32 %273, %274
br i1 %275, label %276, label %277
276: ; preds = %270
br label %279
277: ; preds = %270
br label %278
278: ; preds = %265, %277
br label %312
279: ; preds = %276, %269
%280 = load i64, ptr %19, align 8
%281 = icmp ne i64 %280, 0
br i1 %281, label %292, label %282
282: ; preds = %279
%283 = load i32, ptr %27, align 4
%284 = icmp ne i32 %283, 0
br i1 %284, label %285, label %292
285: ; preds = %282
%286 = load ptr, ptr %8, align 8
%287 = getelementptr inbounds %struct.TYPE_8__, ptr %286, i32 0, i32 2
%288 = load i32, ptr %287, align 4
%289 = load i32, ptr @RES_NOTLDQUERY, align 4
%290 = and i32 %288, %289
%291 = icmp eq i32 %290, 0
br i1 %291, label %292, label %311
292: ; preds = %285, %282, %279
%293 = load i32, ptr %26, align 4
%294 = icmp ne i32 %293, 0
br i1 %294, label %311, label %295
295: ; preds = %292
%296 = load i32, ptr %25, align 4
%297 = icmp ne i32 %296, 0
br i1 %297, label %311, label %298
298: ; preds = %295
%299 = load ptr, ptr %8, align 8
%300 = load ptr, ptr %9, align 8
%301 = load i32, ptr %10, align 4
%302 = load i32, ptr %11, align 4
%303 = load ptr, ptr %12, align 8
%304 = load i32, ptr %13, align 4
%305 = call i32 @res_nquerydomain(ptr noundef %299, ptr noundef %300, ptr noundef null, i32 noundef %301, i32 noundef %302, ptr noundef %303, i32 noundef %304)
store i32 %305, ptr %21, align 4
%306 = load i32, ptr %21, align 4
%307 = icmp sgt i32 %306, 0
br i1 %307, label %308, label %310
308: ; preds = %298
%309 = load i32, ptr %21, align 4
store i32 %309, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
310: ; preds = %298
br label %311
311: ; preds = %310, %295, %292, %285
br label %312
312: ; preds = %311, %278
%313 = load i32, ptr %22, align 4
%314 = icmp ne i32 %313, -1
br i1 %314, label %315, label %319
315: ; preds = %312
%316 = load ptr, ptr %8, align 8
%317 = load i32, ptr %22, align 4
%318 = call i32 @RES_SET_H_ERRNO(ptr noundef %316, i32 noundef %317)
br label %333
319: ; preds = %312
%320 = load i32, ptr %23, align 4
%321 = icmp ne i32 %320, 0
br i1 %321, label %322, label %325
322: ; preds = %319
%323 = load ptr, ptr %8, align 8
%324 = call i32 @RES_SET_H_ERRNO(ptr noundef %323, i32 noundef 129)
br label %332
325: ; preds = %319
%326 = load i32, ptr %24, align 4
%327 = icmp ne i32 %326, 0
br i1 %327, label %328, label %331
328: ; preds = %325
%329 = load ptr, ptr %8, align 8
%330 = call i32 @RES_SET_H_ERRNO(ptr noundef %329, i32 noundef 128)
br label %331
331: ; preds = %328, %325
br label %332
332: ; preds = %331, %322
br label %333
333: ; preds = %332, %315
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %334
334: ; preds = %333, %308, %226, %220, %129, %113, %107, %77
%335 = load ptr, ptr %17, align 8
call void @llvm.stackrestore(ptr %335)
%336 = load i32, ptr %7, align 4
ret i32 %336
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @RES_SET_H_ERRNO(ptr noundef, i32 noundef) #2
declare ptr @res_hostalias(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @res_nquery(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @res_nquerydomain(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpok478ue5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_8__ = type { i64, i32, i32, i64 }
%struct.TYPE_9__ = type { i32 }
@NS_MAXDNAME = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ECONNREFUSED = dso_local global i64 0, align 8
@SERVFAIL = dso_local global i32 0, align 4
@RES_DEFNAMES = dso_local global i32 0, align 4
@RES_DNSRCH = dso_local global i32 0, align 4
@RES_NOTLDQUERY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @res_nsearch(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%30 = load ptr, ptr %12, align 8
store ptr %30, ptr %16, align 8
%31 = load i32, ptr @NS_MAXDNAME, align 4
%32 = zext i32 %31 to i64
%33 = call ptr @llvm.stacksave()
store ptr %33, ptr %17, align 8
%34 = alloca i8, i64 %32, align 16
store i64 %32, ptr %18, align 8
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
store i32 0, ptr %25, align 4
store i32 0, ptr %26, align 4
store i32 0, ptr %27, align 4
store i64 0, ptr @errno, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i32 @RES_SET_H_ERRNO(ptr noundef %35, i32 noundef 130)
store i64 0, ptr %19, align 8
%37 = load ptr, ptr %9, align 8
store ptr %37, ptr %14, align 8
%38 = load ptr, ptr %14, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %.lr.ph, label %58
.lr.ph: ; preds = %6
br label %42
42: ; preds = %.lr.ph, %51
%43 = load ptr, ptr %14, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 46
%47 = zext i1 %46 to i32
%48 = sext i32 %47 to i64
%49 = load i64, ptr %19, align 8
%50 = add nsw i64 %49, %48
store i64 %50, ptr %19, align 8
br label %51
51: ; preds = %42
%52 = load ptr, ptr %14, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %14, align 8
%54 = load ptr, ptr %14, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %58
58: ; preds = %._crit_edge, %6
store i32 0, ptr %20, align 4
%59 = load ptr, ptr %14, align 8
%60 = load ptr, ptr %9, align 8
%61 = icmp ugt ptr %59, %60
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load ptr, ptr %14, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 -1
store ptr %64, ptr %14, align 8
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 46
br i1 %67, label %68, label %71
68: ; preds = %62
%69 = load i32, ptr %20, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %20, align 4
br label %71
71: ; preds = %68, %62, %58
%72 = load i64, ptr %19, align 8
%73 = icmp ne i64 %72, 0
br i1 %73, label %88, label %74
74: ; preds = %71
%75 = load ptr, ptr %8, align 8
%76 = load ptr, ptr %9, align 8
%77 = trunc i64 %32 to i32
%78 = call ptr @res_hostalias(ptr noundef %75, ptr noundef %76, ptr noundef %34, i32 noundef %77)
store ptr %78, ptr %14, align 8
%79 = icmp ne ptr %78, null
br i1 %79, label %80, label %88
80: ; preds = %74
%81 = load ptr, ptr %8, align 8
%82 = load ptr, ptr %14, align 8
%83 = load i32, ptr %10, align 4
%84 = load i32, ptr %11, align 4
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr %13, align 4
%87 = call i32 @res_nquery(ptr noundef %81, ptr noundef %82, i32 noundef %83, i32 noundef %84, ptr noundef %85, i32 noundef %86)
store i32 %87, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
88: ; preds = %74, %71
store i32 -1, ptr %22, align 4
%89 = load i64, ptr %19, align 8
%90 = load ptr, ptr %8, align 8
%91 = getelementptr inbounds %struct.TYPE_8__, ptr %90, i32 0, i32 0
%92 = load i64, ptr %91, align 8
%93 = icmp sge i64 %89, %92
br i1 %93, label %97, label %94
94: ; preds = %88
%95 = load i32, ptr %20, align 4
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %139
97: ; preds = %94, %88
%98 = load ptr, ptr %8, align 8
%99 = load ptr, ptr %9, align 8
%100 = load i32, ptr %10, align 4
%101 = load i32, ptr %11, align 4
%102 = load ptr, ptr %12, align 8
%103 = load i32, ptr %13, align 4
%104 = call i32 @res_nquerydomain(ptr noundef %98, ptr noundef %99, ptr noundef null, i32 noundef %100, i32 noundef %101, ptr noundef %102, i32 noundef %103)
store i32 %104, ptr %21, align 4
%105 = load i32, ptr %21, align 4
%106 = icmp sgt i32 %105, 0
br i1 %106, label %110, label %107
107: ; preds = %97
%108 = load i32, ptr %20, align 4
%109 = icmp ne i32 %108, 0
br i1 %109, label %110, label %112
110: ; preds = %107, %97
%111 = load i32, ptr %21, align 4
store i32 %111, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
112: ; preds = %107
%113 = load i64, ptr @errno, align 8
%114 = load i64, ptr @ECONNREFUSED, align 8
%115 = icmp eq i64 %113, %114
br i1 %115, label %116, label %119
116: ; preds = %112
%117 = load ptr, ptr %8, align 8
%118 = call i32 @RES_SET_H_ERRNO(ptr noundef %117, i32 noundef 128)
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
119: ; preds = %112
%120 = load ptr, ptr %8, align 8
%121 = getelementptr inbounds %struct.TYPE_8__, ptr %120, i32 0, i32 1
%122 = load i32, ptr %121, align 8
switch i32 %122, label %132 [
i32 129, label %123
i32 130, label %123
i32 128, label %124
]
123: ; preds = %119, %119
br label %133
124: ; preds = %119
%125 = load ptr, ptr %16, align 8
%126 = getelementptr inbounds %struct.TYPE_9__, ptr %125, i32 0, i32 0
%127 = load i32, ptr %126, align 4
%128 = load i32, ptr @SERVFAIL, align 4
%129 = icmp eq i32 %127, %128
br i1 %129, label %130, label %131
130: ; preds = %124
br label %133
131: ; preds = %124
br label %132
132: ; preds = %131, %119
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
133: ; preds = %130, %123
%134 = load ptr, ptr %8, align 8
%135 = getelementptr inbounds %struct.TYPE_8__, ptr %134, i32 0, i32 1
%136 = load i32, ptr %135, align 8
store i32 %136, ptr %22, align 4
%137 = load i32, ptr %26, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %26, align 4
br label %139
139: ; preds = %133, %94
%140 = load i64, ptr %19, align 8
%141 = icmp ne i64 %140, 0
br i1 %141, label %149, label %142
142: ; preds = %139
%143 = load ptr, ptr %8, align 8
%144 = getelementptr inbounds %struct.TYPE_8__, ptr %143, i32 0, i32 2
%145 = load i32, ptr %144, align 4
%146 = load i32, ptr @RES_DEFNAMES, align 4
%147 = and i32 %145, %146
%148 = icmp ne i32 %147, 0
br i1 %148, label %162, label %149
149: ; preds = %142, %139
%150 = load i64, ptr %19, align 8
%151 = icmp ne i64 %150, 0
br i1 %151, label %152, label %268
152: ; preds = %149
%153 = load i32, ptr %20, align 4
%154 = icmp ne i32 %153, 0
br i1 %154, label %268, label %155
155: ; preds = %152
%156 = load ptr, ptr %8, align 8
%157 = getelementptr inbounds %struct.TYPE_8__, ptr %156, i32 0, i32 2
%158 = load i32, ptr %157, align 4
%159 = load i32, ptr @RES_DNSRCH, align 4
%160 = and i32 %158, %159
%161 = icmp ne i32 %160, 0
br i1 %161, label %162, label %268
162: ; preds = %155, %142
store i32 0, ptr %29, align 4
%163 = load ptr, ptr %8, align 8
%164 = getelementptr inbounds %struct.TYPE_8__, ptr %163, i32 0, i32 3
%165 = load i64, ptr %164, align 8
%166 = inttoptr i64 %165 to ptr
store ptr %166, ptr %15, align 8
br label %167
167: ; preds = %264, %162
%168 = load ptr, ptr %15, align 8
%169 = load ptr, ptr %168, align 8
%170 = icmp ne ptr %169, null
br i1 %170, label %171, label %175
171: ; preds = %167
%172 = load i32, ptr %29, align 4
%173 = icmp ne i32 %172, 0
%174 = xor i1 %173, true
br label %175
175: ; preds = %171, %167
%176 = phi i1 [ false, %167 ], [ %174, %171 ]
br i1 %176, label %177, label %267
177: ; preds = %175
store i32 1, ptr %27, align 4
%178 = load ptr, ptr %15, align 8
%179 = getelementptr inbounds ptr, ptr %178, i64 0
%180 = load ptr, ptr %179, align 8
%181 = getelementptr inbounds i8, ptr %180, i64 0
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = icmp eq i32 %183, 0
br i1 %184, label %201, label %185
185: ; preds = %177
%186 = load ptr, ptr %15, align 8
%187 = getelementptr inbounds ptr, ptr %186, i64 0
%188 = load ptr, ptr %187, align 8
%189 = getelementptr inbounds i8, ptr %188, i64 0
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 46
br i1 %192, label %193, label %204
193: ; preds = %185
%194 = load ptr, ptr %15, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 0
%196 = load ptr, ptr %195, align 8
%197 = getelementptr inbounds i8, ptr %196, i64 1
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 0
br i1 %200, label %201, label %204
201: ; preds = %193, %177
%202 = load i32, ptr %25, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %25, align 4
br label %204
204: ; preds = %201, %193, %185
%205 = load i32, ptr %25, align 4
%206 = icmp ne i32 %205, 0
br i1 %206, label %207, label %211
207: ; preds = %204
%208 = load i32, ptr %26, align 4
%209 = icmp ne i32 %208, 0
br i1 %209, label %210, label %211
210: ; preds = %207
br label %264
211: ; preds = %207, %204
%212 = load ptr, ptr %8, align 8
%213 = load ptr, ptr %9, align 8
%214 = load ptr, ptr %15, align 8
%215 = load ptr, ptr %214, align 8
%216 = load i32, ptr %10, align 4
%217 = load i32, ptr %11, align 4
%218 = load ptr, ptr %12, align 8
%219 = load i32, ptr %13, align 4
%220 = call i32 @res_nquerydomain(ptr noundef %212, ptr noundef %213, ptr noundef %215, i32 noundef %216, i32 noundef %217, ptr noundef %218, i32 noundef %219)
store i32 %220, ptr %21, align 4
%221 = load i32, ptr %21, align 4
%222 = icmp sgt i32 %221, 0
br i1 %222, label %223, label %225
223: ; preds = %211
%224 = load i32, ptr %21, align 4
store i32 %224, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
225: ; preds = %211
%226 = load i64, ptr @errno, align 8
%227 = load i64, ptr @ECONNREFUSED, align 8
%228 = icmp eq i64 %226, %227
br i1 %228, label %229, label %232
229: ; preds = %225
%230 = load ptr, ptr %8, align 8
%231 = call i32 @RES_SET_H_ERRNO(ptr noundef %230, i32 noundef 128)
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
232: ; preds = %225
%233 = load ptr, ptr %8, align 8
%234 = getelementptr inbounds %struct.TYPE_8__, ptr %233, i32 0, i32 1
%235 = load i32, ptr %234, align 8
switch i32 %235, label %250 [
i32 129, label %236
i32 130, label %239
i32 128, label %240
]
236: ; preds = %232
%237 = load i32, ptr %23, align 4
%238 = add nsw i32 %237, 1
store i32 %238, ptr %23, align 4
br label %239
239: ; preds = %236, %232
br label %253
240: ; preds = %232
%241 = load i32, ptr %24, align 4
%242 = add nsw i32 %241, 1
store i32 %242, ptr %24, align 4
%243 = load ptr, ptr %16, align 8
%244 = getelementptr inbounds %struct.TYPE_9__, ptr %243, i32 0, i32 0
%245 = load i32, ptr %244, align 4
%246 = load i32, ptr @SERVFAIL, align 4
%247 = icmp eq i32 %245, %246
br i1 %247, label %248, label %249
248: ; preds = %240
br label %253
249: ; preds = %240
br label %250
250: ; preds = %249, %232
%251 = load i32, ptr %29, align 4
%252 = add nsw i32 %251, 1
store i32 %252, ptr %29, align 4
br label %253
253: ; preds = %250, %248, %239
%254 = load ptr, ptr %8, align 8
%255 = getelementptr inbounds %struct.TYPE_8__, ptr %254, i32 0, i32 2
%256 = load i32, ptr %255, align 4
%257 = load i32, ptr @RES_DNSRCH, align 4
%258 = and i32 %256, %257
%259 = icmp eq i32 %258, 0
br i1 %259, label %260, label %263
260: ; preds = %253
%261 = load i32, ptr %29, align 4
%262 = add nsw i32 %261, 1
store i32 %262, ptr %29, align 4
br label %263
263: ; preds = %260, %253
br label %264
264: ; preds = %263, %210
%265 = load ptr, ptr %15, align 8
%266 = getelementptr inbounds ptr, ptr %265, i32 1
store ptr %266, ptr %15, align 8
br label %167, !llvm.loop !8
267: ; preds = %175
br label %268
268: ; preds = %267, %155, %152, %149
%269 = load ptr, ptr %8, align 8
%270 = getelementptr inbounds %struct.TYPE_8__, ptr %269, i32 0, i32 1
%271 = load i32, ptr %270, align 8
switch i32 %271, label %281 [
i32 129, label %272
i32 130, label %272
i32 128, label %273
]
272: ; preds = %268, %268
br label %282
273: ; preds = %268
%274 = load ptr, ptr %16, align 8
%275 = getelementptr inbounds %struct.TYPE_9__, ptr %274, i32 0, i32 0
%276 = load i32, ptr %275, align 4
%277 = load i32, ptr @SERVFAIL, align 4
%278 = icmp eq i32 %276, %277
br i1 %278, label %279, label %280
279: ; preds = %273
br label %282
280: ; preds = %273
br label %281
281: ; preds = %280, %268
br label %315
282: ; preds = %279, %272
%283 = load i64, ptr %19, align 8
%284 = icmp ne i64 %283, 0
br i1 %284, label %295, label %285
285: ; preds = %282
%286 = load i32, ptr %27, align 4
%287 = icmp ne i32 %286, 0
br i1 %287, label %288, label %295
288: ; preds = %285
%289 = load ptr, ptr %8, align 8
%290 = getelementptr inbounds %struct.TYPE_8__, ptr %289, i32 0, i32 2
%291 = load i32, ptr %290, align 4
%292 = load i32, ptr @RES_NOTLDQUERY, align 4
%293 = and i32 %291, %292
%294 = icmp eq i32 %293, 0
br i1 %294, label %295, label %314
295: ; preds = %288, %285, %282
%296 = load i32, ptr %26, align 4
%297 = icmp ne i32 %296, 0
br i1 %297, label %314, label %298
298: ; preds = %295
%299 = load i32, ptr %25, align 4
%300 = icmp ne i32 %299, 0
br i1 %300, label %314, label %301
301: ; preds = %298
%302 = load ptr, ptr %8, align 8
%303 = load ptr, ptr %9, align 8
%304 = load i32, ptr %10, align 4
%305 = load i32, ptr %11, align 4
%306 = load ptr, ptr %12, align 8
%307 = load i32, ptr %13, align 4
%308 = call i32 @res_nquerydomain(ptr noundef %302, ptr noundef %303, ptr noundef null, i32 noundef %304, i32 noundef %305, ptr noundef %306, i32 noundef %307)
store i32 %308, ptr %21, align 4
%309 = load i32, ptr %21, align 4
%310 = icmp sgt i32 %309, 0
br i1 %310, label %311, label %313
311: ; preds = %301
%312 = load i32, ptr %21, align 4
store i32 %312, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
313: ; preds = %301
br label %314
314: ; preds = %313, %298, %295, %288
br label %315
315: ; preds = %314, %281
%316 = load i32, ptr %22, align 4
%317 = icmp ne i32 %316, -1
br i1 %317, label %318, label %322
318: ; preds = %315
%319 = load ptr, ptr %8, align 8
%320 = load i32, ptr %22, align 4
%321 = call i32 @RES_SET_H_ERRNO(ptr noundef %319, i32 noundef %320)
br label %336
322: ; preds = %315
%323 = load i32, ptr %23, align 4
%324 = icmp ne i32 %323, 0
br i1 %324, label %325, label %328
325: ; preds = %322
%326 = load ptr, ptr %8, align 8
%327 = call i32 @RES_SET_H_ERRNO(ptr noundef %326, i32 noundef 129)
br label %335
328: ; preds = %322
%329 = load i32, ptr %24, align 4
%330 = icmp ne i32 %329, 0
br i1 %330, label %331, label %334
331: ; preds = %328
%332 = load ptr, ptr %8, align 8
%333 = call i32 @RES_SET_H_ERRNO(ptr noundef %332, i32 noundef 128)
br label %334
334: ; preds = %331, %328
br label %335
335: ; preds = %334, %325
br label %336
336: ; preds = %335, %318
store i32 -1, ptr %7, align 4
store i32 1, ptr %28, align 4
br label %337
337: ; preds = %336, %311, %229, %223, %132, %116, %110, %80
%338 = load ptr, ptr %17, align 8
call void @llvm.stackrestore(ptr %338)
%339 = load i32, ptr %7, align 4
ret i32 %339
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @RES_SET_H_ERRNO(ptr noundef, i32 noundef) #2
declare ptr @res_hostalias(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @res_nquery(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @res_nquerydomain(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6m2uxwon.c'
source_filename = "/tmp/tmp6m2uxwon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getSolutionTapeFilename.filename = internal global ptr null, align 8
@.str = private unnamed_addr constant [8 x i8] c"%03d.%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"tape\00", align 1
@getSolutionTapeFilename.filename_sln = internal global ptr null, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"%03d.sln\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getSolutionTapeFilename(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [256 x i8], align 16
store i32 %0, ptr %3, align 4
%5 = load ptr, ptr @getSolutionTapeFilename.filename, align 8
%6 = call i32 @checked_free(ptr noundef %5)
%7 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8, ptr noundef @.str.1)
%10 = call i32 (...) @getSolutionTapeDir()
%11 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%12 = call ptr @getPath2(i32 noundef %10, ptr noundef %11)
store ptr %12, ptr @getSolutionTapeFilename.filename, align 8
%13 = load ptr, ptr @getSolutionTapeFilename.filename, align 8
%14 = call i64 @fileExists(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %31, label %16
16: ; preds = %1
%17 = load ptr, ptr @getSolutionTapeFilename.filename_sln, align 8
%18 = call i32 @checked_free(ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %19, ptr noundef @.str.2, i32 noundef %20)
%22 = call i32 (...) @getSolutionTapeDir()
%23 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%24 = call ptr @getPath2(i32 noundef %22, ptr noundef %23)
store ptr %24, ptr @getSolutionTapeFilename.filename_sln, align 8
%25 = load ptr, ptr @getSolutionTapeFilename.filename_sln, align 8
%26 = call i64 @fileExists(ptr noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %16
%29 = load ptr, ptr @getSolutionTapeFilename.filename_sln, align 8
store ptr %29, ptr %2, align 8
br label %33
30: ; preds = %16
br label %31
31: ; preds = %30, %1
%32 = load ptr, ptr @getSolutionTapeFilename.filename, align 8
store ptr %32, ptr %2, align 8
br label %33
33: ; preds = %31, %28
%34 = load ptr, ptr %2, align 8
ret ptr %34
}
declare i32 @checked_free(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @getPath2(i32 noundef, ptr noundef) #1
declare i32 @getSolutionTapeDir(...) #1
declare i64 @fileExists(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6m2uxwon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getSolutionTapeFilename.filename = internal global ptr null, align 8
@.str = private unnamed_addr constant [8 x i8] c"%03d.%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"tape\00", align 1
@getSolutionTapeFilename.filename_sln = internal global ptr null, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"%03d.sln\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getSolutionTapeFilename(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [256 x i8], align 16
store i32 %0, ptr %3, align 4
%5 = load ptr, ptr @getSolutionTapeFilename.filename, align 8
%6 = call i32 @checked_free(ptr noundef %5)
%7 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8, ptr noundef @.str.1)
%10 = call i32 (...) @getSolutionTapeDir()
%11 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%12 = call ptr @getPath2(i32 noundef %10, ptr noundef %11)
store ptr %12, ptr @getSolutionTapeFilename.filename, align 8
%13 = load ptr, ptr @getSolutionTapeFilename.filename, align 8
%14 = call i64 @fileExists(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %31, label %16
16: ; preds = %1
%17 = load ptr, ptr @getSolutionTapeFilename.filename_sln, align 8
%18 = call i32 @checked_free(ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %19, ptr noundef @.str.2, i32 noundef %20)
%22 = call i32 (...) @getSolutionTapeDir()
%23 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%24 = call ptr @getPath2(i32 noundef %22, ptr noundef %23)
store ptr %24, ptr @getSolutionTapeFilename.filename_sln, align 8
%25 = load ptr, ptr @getSolutionTapeFilename.filename_sln, align 8
%26 = call i64 @fileExists(ptr noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %16
%29 = load ptr, ptr @getSolutionTapeFilename.filename_sln, align 8
store ptr %29, ptr %2, align 8
br label %33
30: ; preds = %16
br label %31
31: ; preds = %30, %1
%32 = load ptr, ptr @getSolutionTapeFilename.filename, align 8
store ptr %32, ptr %2, align 8
br label %33
33: ; preds = %31, %28
%34 = load ptr, ptr %2, align 8
ret ptr %34
}
declare i32 @checked_free(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @getPath2(i32 noundef, ptr noundef) #1
declare i32 @getSolutionTapeDir(...) #1
declare i64 @fileExists(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxjy9yljk.c'
source_filename = "/tmp/tmpxjy9yljk.c"
target datalayout = "e-m:e-p270: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.sorttest.testarr = private unnamed_addr constant [11 x i32] [i32 5, i32 3, i32 1, i32 4, i32 2, i32 11, i32 9, i32 10, i32 8, i32 6, i32 7], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%s test has passed.\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%s test has failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sorttest(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [11 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.sorttest.testarr, i64 44, i1 false)
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds [11 x i32], ptr %7, i64 0, i64 0
call void %10(ptr noundef %11, i32 noundef 0, i32 noundef 10)
store i32 1, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %34, %3
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 11
br i1 %14, label %15, label %37
15: ; preds = %12
%16 = load i32, ptr %6, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [11 x i32], ptr %7, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %18, %15
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [11 x i32], ptr %7, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
%31 = icmp ne i32 %28, %30
br i1 %31, label %32, label %33
32: ; preds = %24
store i32 0, ptr %9, align 4
br label %33
33: ; preds = %32, %24
br label %34
34: ; preds = %33
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %12, !llvm.loop !6
37: ; preds = %12
%38 = load i32, ptr %9, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load ptr, ptr %5, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %41)
br label %46
43: ; preds = %37
%44 = load ptr, ptr %5, align 8
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44)
br label %46
46: ; preds = %43, %40
%47 = load i32, ptr %9, align 4
ret i32 %47
}
; 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, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxjy9yljk.c"
target datalayout = "e-m:e-p270: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.sorttest.testarr = private unnamed_addr constant [11 x i32] [i32 5, i32 3, i32 1, i32 4, i32 2, i32 11, i32 9, i32 10, i32 8, i32 6, i32 7], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%s test has passed.\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%s test has failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sorttest(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [11 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.sorttest.testarr, i64 44, i1 false)
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds [11 x i32], ptr %7, i64 0, i64 0
call void %10(ptr noundef %11, i32 noundef 0, i32 noundef 10)
store i32 1, ptr %9, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 11
br i1 %13, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %33
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [11 x i32], ptr %7, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
br label %23
23: ; preds = %17, %14
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [11 x i32], ptr %7, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
%30 = icmp ne i32 %27, %29
br i1 %30, label %31, label %32
31: ; preds = %23
store i32 0, ptr %9, align 4
br label %32
32: ; preds = %31, %23
br label %33
33: ; preds = %32
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 11
br i1 %37, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %3
%39 = load i32, ptr %9, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load ptr, ptr %5, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %42)
br label %47
44: ; preds = %38
%45 = load ptr, ptr %5, align 8
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %45)
br label %47
47: ; preds = %44, %41
%48 = load i32, ptr %9, align 4
ret i32 %48
}
; 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, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpshvobtv6.c'
source_filename = "/tmp/tmpshvobtv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ceil\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmpshvobtv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ceil\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmpjcs72n0p.c'
source_filename = "/tmp/tmpjcs72n0p.c"
target datalayout = "e-m:e-p270: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/tmpjcs72n0p.c"
target datalayout = "e-m:e-p270: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/tmp2bxervjt.c'
source_filename = "/tmp/tmp2bxervjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splitEx(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i8 %1, ptr %7, align 1
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %12, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 0, ptr %5, align 4
br label %43
16: ; preds = %4
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %8, align 8
store ptr %18, ptr %11, align 8
br label %19
19: ; preds = %16, %37
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %11, align 8
store ptr %20, ptr %21, align 8
%22 = load ptr, ptr %11, align 8
%23 = getelementptr inbounds ptr, ptr %22, i32 1
store ptr %23, ptr %11, align 8
%24 = load i32, ptr %12, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %12, align 4
%26 = load i32, ptr %12, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %19
br label %41
30: ; preds = %19
%31 = load ptr, ptr %10, align 8
%32 = load i8, ptr %7, align 1
%33 = call ptr @strchr(ptr noundef %31, i8 noundef signext %32)
store ptr %33, ptr %10, align 8
%34 = load ptr, ptr %10, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %37
36: ; preds = %30
br label %41
37: ; preds = %30
%38 = load ptr, ptr %10, align 8
store i8 0, ptr %38, align 1
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %10, align 8
br label %19
41: ; preds = %36, %29
%42 = load i32, ptr %12, align 4
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %41, %15
%44 = load i32, ptr %5, align 4
ret i32 %44
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2bxervjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splitEx(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i8 %1, ptr %7, align 1
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %12, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 0, ptr %5, align 4
br label %51
16: ; preds = %4
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %8, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %11, align 8
store ptr %19, ptr %20, align 8
%21 = load ptr, ptr %11, align 8
%22 = getelementptr inbounds ptr, ptr %21, i32 1
store ptr %22, ptr %11, align 8
%23 = load i32, ptr %12, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %12, align 4
%25 = load i32, ptr %12, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp sge i32 %25, %26
br i1 %27, label %28, label %.lr.ph
.lr.ph: ; preds = %16
br label %29
._crit_edge: ; preds = %36
br label %28
28: ; preds = %._crit_edge, %16
br label %49
29: ; preds = %.lr.ph, %36
%30 = load ptr, ptr %10, align 8
%31 = load i8, ptr %7, align 1
%32 = call ptr @strchr(ptr noundef %30, i8 noundef signext %31)
store ptr %32, ptr %10, align 8
%33 = load ptr, ptr %10, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %36
35: ; preds = %29
br label %49
36: ; preds = %29
%37 = load ptr, ptr %10, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %10, align 8
%40 = load ptr, ptr %10, align 8
%41 = load ptr, ptr %11, align 8
store ptr %40, ptr %41, align 8
%42 = load ptr, ptr %11, align 8
%43 = getelementptr inbounds ptr, ptr %42, i32 1
store ptr %43, ptr %11, align 8
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %12, align 4
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp sge i32 %46, %47
br i1 %48, label %._crit_edge, label %29
49: ; preds = %35, %28
%50 = load i32, ptr %12, align 4
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %49, %15
%52 = load i32, ptr %5, align 4
ret i32 %52
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiu43bzil.c'
source_filename = "/tmp/tmpiu43bzil.c"
target datalayout = "e-m:e-p270: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/tmpiu43bzil.c"
target datalayout = "e-m:e-p270: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_7wju9zr.c'
source_filename = "/tmp/tmp_7wju9zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" - \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 97, ptr %2, align 4
br label %4
4: ; preds = %16, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 123
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = trunc i32 %8 to i8
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%14 = load i32, ptr %2, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14)
br label %16
16: ; preds = %7
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 65, ptr %2, align 4
br label %21
21: ; preds = %33, %19
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 91
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = trunc i32 %25 to i8
store i8 %26, ptr %3, align 1
%27 = load i8, ptr %3, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%31 = load i32, ptr %2, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31)
br label %33
33: ; preds = %24
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %21, !llvm.loop !8
36: ; preds = %21
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 48, ptr %2, align 4
br label %38
38: ; preds = %50, %36
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %39, 58
br i1 %40, label %41, label %53
41: ; preds = %38
%42 = load i32, ptr %2, align 4
%43 = trunc i32 %42 to i8
store i8 %43, ptr %3, align 1
%44 = load i8, ptr %3, align 1
%45 = sext i8 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%48 = load i32, ptr %2, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %48)
br label %50
50: ; preds = %41
%51 = load i32, ptr %2, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %2, align 4
br label %38, !llvm.loop !9
53: ; preds = %38
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_7wju9zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" - \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 97, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 123
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %15
%7 = load i32, ptr %2, align 4
%8 = trunc i32 %7 to i8
store i8 %8, ptr %3, align 1
%9 = load i8, ptr %3, align 1
%10 = sext i8 %9 to i32
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = load i32, ptr %2, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
br label %15
15: ; preds = %6
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 123
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 65, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 91
br i1 %23, label %.lr.ph2, label %38
.lr.ph2: ; preds = %20
br label %24
24: ; preds = %.lr.ph2, %33
%25 = load i32, ptr %2, align 4
%26 = trunc i32 %25 to i8
store i8 %26, ptr %3, align 1
%27 = load i8, ptr %3, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%31 = load i32, ptr %2, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31)
br label %33
33: ; preds = %24
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp slt i32 %36, 91
br i1 %37, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %20
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 48, ptr %2, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp slt i32 %40, 58
br i1 %41, label %.lr.ph5, label %56
.lr.ph5: ; preds = %38
br label %42
42: ; preds = %.lr.ph5, %51
%43 = load i32, ptr %2, align 4
%44 = trunc i32 %43 to i8
store i8 %44, ptr %3, align 1
%45 = load i8, ptr %3, align 1
%46 = sext i8 %45 to i32
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %46)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%49 = load i32, ptr %2, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49)
br label %51
51: ; preds = %42
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %2, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %54, 58
br i1 %55, label %42, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %51
br label %56
56: ; preds = %._crit_edge6, %38
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpt145te_3.c'
source_filename = "/tmp/tmpt145te_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"100 random numbers:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"\0AAnother 100 random numbers:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @time(ptr noundef null)
%5 = trunc i64 %4 to i32
%6 = call i32 @srand(i32 noundef %5)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %17, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 100
br i1 %9, label %10, label %20
10: ; preds = %7
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 100
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %15
store i32 %13, ptr %16, align 4
br label %17
17: ; preds = %10
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %31, %20
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %23, 100
br i1 %24, label %25, label %34
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29)
br label %31
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %22, !llvm.loop !8
34: ; preds = %22
%35 = call i32 @putchar(i8 noundef signext 10)
store i32 0, ptr %3, align 4
br label %36
36: ; preds = %46, %34
%37 = load i32, ptr %3, align 4
%38 = icmp slt i32 %37, 100
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = call i32 (...) @rand()
%41 = srem i32 %40, 100
%42 = add nsw i32 %41, 1
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %44
store i32 %42, ptr %45, align 4
br label %46
46: ; preds = %39
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
br label %36, !llvm.loop !9
49: ; preds = %36
%50 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %51
51: ; preds = %60, %49
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %52, 100
br i1 %53, label %54, label %63
54: ; preds = %51
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58)
br label %60
60: ; preds = %54
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %51, !llvm.loop !10
63: ; preds = %51
%64 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpt145te_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"100 random numbers:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"\0AAnother 100 random numbers:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @time(ptr noundef null)
%5 = trunc i64 %4 to i32
%6 = call i32 @srand(i32 noundef %5)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 100
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %16
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 100
%12 = add nsw i32 %11, 1
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %14
store i32 %12, ptr %15, align 4
br label %16
16: ; preds = %9
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 100
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %23, 100
br i1 %24, label %.lr.ph2, label %36
.lr.ph2: ; preds = %21
br label %25
25: ; preds = %.lr.ph2, %31
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29)
br label %31
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp slt i32 %34, 100
br i1 %35, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %36
36: ; preds = %._crit_edge3, %21
%37 = call i32 @putchar(i8 noundef signext 10)
store i32 0, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = icmp slt i32 %38, 100
br i1 %39, label %.lr.ph5, label %52
.lr.ph5: ; preds = %36
br label %40
40: ; preds = %.lr.ph5, %47
%41 = call i32 (...) @rand()
%42 = srem i32 %41, 100
%43 = add nsw i32 %42, 1
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %45
store i32 %43, ptr %46, align 4
br label %47
47: ; preds = %40
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = icmp slt i32 %50, 100
br i1 %51, label %40, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %47
br label %52
52: ; preds = %._crit_edge6, %36
%53 = call i32 @puts(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp slt i32 %54, 100
br i1 %55, label %.lr.ph8, label %67
.lr.ph8: ; preds = %52
br label %56
56: ; preds = %.lr.ph8, %62
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %60)
br label %62
62: ; preds = %56
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp slt i32 %65, 100
br i1 %66, label %56, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %62
br label %67
67: ; preds = %._crit_edge9, %52
%68 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpsn0ggqc6.c'
source_filename = "/tmp/tmpsn0ggqc6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_getgrgid_free\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_getgrgid_free() #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/tmpsn0ggqc6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_getgrgid_free\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_getgrgid_free() #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/tmp825i8a5f.c'
source_filename = "/tmp/tmp825i8a5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @iothub_client_sample_upload_to_blob_run()
ret i32 0
}
declare i32 @iothub_client_sample_upload_to_blob_run(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp825i8a5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @iothub_client_sample_upload_to_blob_run()
ret i32 0
}
declare i32 @iothub_client_sample_upload_to_blob_run(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph2a_hghm.c'
source_filename = "/tmp/tmph2a_hghm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"couldn't connect to X server :0\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"_NET_WM_STATE\00", align 1
@True = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"_NET_WM_STATE_SKIP_TASKBAR\00", align 1
@CopyFromParent = dso_local global i32 0, align 4
@XA_ATOM = dso_local global i32 0, align 4
@PropModeReplace = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.TYPE_3__, 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 %1, align 4
store i32 10, ptr %8, align 4
store i32 10, ptr %9, align 4
store i32 400, ptr %10, align 4
store i32 400, ptr %11, align 4
%12 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
ret i32 0
18: ; preds = %0
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr @True, align 4
%21 = call i32 @XInternAtom(ptr noundef %19, ptr noundef @.str.1, i32 noundef %20)
store i32 %21, ptr %5, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr @True, align 4
%24 = call i32 @XInternAtom(ptr noundef %22, ptr noundef @.str.2, i32 noundef %23)
store i32 %24, ptr %6, align 4
%25 = load ptr, ptr %2, align 8
%26 = load ptr, ptr %2, align 8
%27 = call i32 @RootWindow(ptr noundef %26, i32 noundef 0)
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr @CopyFromParent, align 4
%33 = load i32, ptr @CopyFromParent, align 4
%34 = load i32, ptr @CopyFromParent, align 4
%35 = call i32 @XCreateWindow(ptr noundef %25, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef 10, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef 0, i32 noundef 0)
store i32 %35, ptr %3, align 4
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = load ptr, ptr %2, align 8
%39 = call i32 @WhitePixel(ptr noundef %38, i32 noundef 0)
%40 = call i32 @XSetWindowBackground(ptr noundef %36, i32 noundef %37, i32 noundef %39)
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr @XA_ATOM, align 4
%45 = load i32, ptr @PropModeReplace, align 4
%46 = call i32 @XChangeProperty(ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef 32, i32 noundef %45, ptr noundef %6, i32 noundef 1)
%47 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store ptr @.str.3, ptr %47, align 8
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1
store ptr @.str.4, ptr %48, align 8
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %3, align 4
%51 = call i32 @XSetClassHint(ptr noundef %49, i32 noundef %50, ptr noundef %7)
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %3, align 4
%54 = call i32 @XMapWindow(ptr noundef %52, i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @XFlush(ptr noundef %55)
br label %57
57: ; preds = %18, %57
%58 = load ptr, ptr %2, align 8
%59 = call i32 @XNextEvent(ptr noundef %58, ptr noundef %4)
br label %57
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @XInternAtom(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @XCreateWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @RootWindow(ptr noundef, i32 noundef) #1
declare i32 @XSetWindowBackground(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XChangeProperty(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @XSetClassHint(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XFlush(ptr noundef) #1
declare i32 @XNextEvent(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/tmph2a_hghm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"couldn't connect to X server :0\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"_NET_WM_STATE\00", align 1
@True = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"_NET_WM_STATE_SKIP_TASKBAR\00", align 1
@CopyFromParent = dso_local global i32 0, align 4
@XA_ATOM = dso_local global i32 0, align 4
@PropModeReplace = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.TYPE_3__, 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 %1, align 4
store i32 10, ptr %8, align 4
store i32 10, ptr %9, align 4
store i32 400, ptr %10, align 4
store i32 400, ptr %11, align 4
%12 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
ret i32 0
18: ; preds = %0
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr @True, align 4
%21 = call i32 @XInternAtom(ptr noundef %19, ptr noundef @.str.1, i32 noundef %20)
store i32 %21, ptr %5, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr @True, align 4
%24 = call i32 @XInternAtom(ptr noundef %22, ptr noundef @.str.2, i32 noundef %23)
store i32 %24, ptr %6, align 4
%25 = load ptr, ptr %2, align 8
%26 = load ptr, ptr %2, align 8
%27 = call i32 @RootWindow(ptr noundef %26, i32 noundef 0)
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr @CopyFromParent, align 4
%33 = load i32, ptr @CopyFromParent, align 4
%34 = load i32, ptr @CopyFromParent, align 4
%35 = call i32 @XCreateWindow(ptr noundef %25, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef 10, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef 0, i32 noundef 0)
store i32 %35, ptr %3, align 4
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = load ptr, ptr %2, align 8
%39 = call i32 @WhitePixel(ptr noundef %38, i32 noundef 0)
%40 = call i32 @XSetWindowBackground(ptr noundef %36, i32 noundef %37, i32 noundef %39)
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr @XA_ATOM, align 4
%45 = load i32, ptr @PropModeReplace, align 4
%46 = call i32 @XChangeProperty(ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef 32, i32 noundef %45, ptr noundef %6, i32 noundef 1)
%47 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store ptr @.str.3, ptr %47, align 8
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1
store ptr @.str.4, ptr %48, align 8
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %3, align 4
%51 = call i32 @XSetClassHint(ptr noundef %49, i32 noundef %50, ptr noundef %7)
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %3, align 4
%54 = call i32 @XMapWindow(ptr noundef %52, i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @XFlush(ptr noundef %55)
br label %57
57: ; preds = %57, %18
%58 = load ptr, ptr %2, align 8
%59 = call i32 @XNextEvent(ptr noundef %58, ptr noundef %4)
br label %57
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @XInternAtom(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @XCreateWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @RootWindow(ptr noundef, i32 noundef) #1
declare i32 @XSetWindowBackground(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XChangeProperty(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @XSetClassHint(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XFlush(ptr noundef) #1
declare i32 @XNextEvent(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/tmpj6m0ibyu.c'
source_filename = "/tmp/tmpj6m0ibyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%% [:\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c":]\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_percent(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 1, ptr %3, align 4
br label %7
7: ; preds = %14, %1
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 5
%11 = icmp sle i32 %8, %10
br i1 %11, label %12, label %17
12: ; preds = %7
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %26, %17
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 20, %21
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %29
24: ; preds = %19
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %26
26: ; preds = %24
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %19, !llvm.loop !8
29: ; preds = %19
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj6m0ibyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%% [:\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c":]\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_percent(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 1, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = sdiv i32 %8, 5
%10 = icmp sle i32 %7, %9
br i1 %10, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %13
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %11
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = sdiv i32 %17, 5
%19 = icmp sle i32 %16, %18
br i1 %19, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %20
20: ; preds = %._crit_edge, %1
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 20, %23
%25 = icmp slt i32 %22, %24
br i1 %25, label %.lr.ph2, label %35
.lr.ph2: ; preds = %20
br label %26
26: ; preds = %.lr.ph2, %28
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %28
28: ; preds = %26
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 20, %32
%34 = icmp slt i32 %31, %33
br i1 %34, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %35
35: ; preds = %._crit_edge3, %20
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyo32e4bj.c'
source_filename = "/tmp/tmpyo32e4bj.c"
target datalayout = "e-m:e-p270: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/tmpyo32e4bj.c"
target datalayout = "e-m:e-p270: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/tmpx4rfvgpc.c'
source_filename = "/tmp/tmpx4rfvgpc.c"
target datalayout = "e-m:e-p270: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/tmpx4rfvgpc.c"
target datalayout = "e-m:e-p270: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/tmpynhwiy2o.c'
source_filename = "/tmp/tmpynhwiy2o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca [16 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %90, %4
%15 = load i32, ptr %10, align 4
%16 = zext i32 %15 to i64
%17 = load i64, ptr %8, align 8
%18 = udiv i64 %17, 16
%19 = icmp ule i64 %16, %18
br i1 %19, label %20, label %93
20: ; preds = %14
%21 = load i32, ptr %10, align 4
%22 = zext i32 %21 to i64
%23 = load i64, ptr %8, align 8
%24 = udiv i64 %23, 16
%25 = icmp eq i64 %22, %24
br i1 %25, label %26, label %36
26: ; preds = %20
%27 = load i64, ptr %8, align 8
%28 = urem i64 %27, 16
%29 = trunc i64 %28 to i32
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %26
br label %93
33: ; preds = %26
%34 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%35 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef 16)
br label %37
36: ; preds = %20
store i32 16, ptr %12, align 4
br label %37
37: ; preds = %36, %33
%38 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %10, align 4
%41 = zext i32 %40 to i64
%42 = mul i64 %41, 16
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i32, ptr %12, align 4
%45 = call i32 @memcpy(ptr noundef %38, ptr noundef %43, i32 noundef %44)
%46 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%47 = call i32 @decrypt(ptr noundef %46)
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %37
%51 = load ptr, ptr %5, align 8
store ptr %51, ptr %13, align 8
br label %59
52: ; preds = %37
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %10, align 4
%55 = sub i32 %54, 1
%56 = zext i32 %55 to i64
%57 = mul i64 %56, 16
%58 = getelementptr inbounds i8, ptr %53, i64 %57
store ptr %58, ptr %13, align 8
br label %59
59: ; preds = %52, %50
store i32 0, ptr %11, align 4
br label %60
60: ; preds = %86, %59
%61 = load i32, ptr %11, align 4
%62 = load i32, ptr %12, align 4
%63 = icmp ult i32 %61, %62
br i1 %63, label %64, label %89
64: ; preds = %60
%65 = load ptr, ptr %13, align 8
%66 = load i32, ptr %11, align 4
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = zext i8 %69 to i32
%71 = load i32, ptr %11, align 4
%72 = zext i32 %71 to i64
%73 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = xor i32 %70, %75
%77 = trunc i32 %76 to i8
%78 = load ptr, ptr %7, align 8
%79 = load i32, ptr %10, align 4
%80 = zext i32 %79 to i64
%81 = mul i64 %80, 16
%82 = load i32, ptr %11, align 4
%83 = zext i32 %82 to i64
%84 = add i64 %81, %83
%85 = getelementptr inbounds i8, ptr %78, i64 %84
store i8 %77, ptr %85, align 1
br label %86
86: ; preds = %64
%87 = load i32, ptr %11, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %11, align 4
br label %60, !llvm.loop !6
89: ; preds = %60
br label %90
90: ; preds = %89
%91 = load i32, ptr %10, align 4
%92 = add i32 %91, 1
store i32 %92, ptr %10, align 4
br label %14, !llvm.loop !8
93: ; preds = %32, %14
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @decrypt(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpynhwiy2o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca [16 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = zext i32 %14 to i64
%16 = load i64, ptr %8, align 8
%17 = udiv i64 %16, 16
%18 = icmp ule i64 %15, %17
br i1 %18, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %4
br label %19
19: ; preds = %.lr.ph2, %91
%20 = load i32, ptr %10, align 4
%21 = zext i32 %20 to i64
%22 = load i64, ptr %8, align 8
%23 = udiv i64 %22, 16
%24 = icmp eq i64 %21, %23
br i1 %24, label %25, label %35
25: ; preds = %19
%26 = load i64, ptr %8, align 8
%27 = urem i64 %26, 16
%28 = trunc i64 %27 to i32
store i32 %28, ptr %12, align 4
%29 = load i32, ptr %12, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %25
br label %99
32: ; preds = %25
%33 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%34 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef 16)
br label %36
35: ; preds = %19
store i32 16, ptr %12, align 4
br label %36
36: ; preds = %35, %32
%37 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %10, align 4
%40 = zext i32 %39 to i64
%41 = mul i64 %40, 16
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = load i32, ptr %12, align 4
%44 = call i32 @memcpy(ptr noundef %37, ptr noundef %42, i32 noundef %43)
%45 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%46 = call i32 @decrypt(ptr noundef %45)
%47 = load i32, ptr %10, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %36
%50 = load ptr, ptr %5, align 8
store ptr %50, ptr %13, align 8
br label %58
51: ; preds = %36
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %10, align 4
%54 = sub i32 %53, 1
%55 = zext i32 %54 to i64
%56 = mul i64 %55, 16
%57 = getelementptr inbounds i8, ptr %52, i64 %56
store ptr %57, ptr %13, align 8
br label %58
58: ; preds = %51, %49
store i32 0, ptr %11, align 4
%59 = load i32, ptr %11, align 4
%60 = load i32, ptr %12, align 4
%61 = icmp ult i32 %59, %60
br i1 %61, label %.lr.ph, label %90
.lr.ph: ; preds = %58
br label %62
62: ; preds = %.lr.ph, %84
%63 = load ptr, ptr %13, align 8
%64 = load i32, ptr %11, align 4
%65 = zext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = zext i8 %67 to i32
%69 = load i32, ptr %11, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = zext i8 %72 to i32
%74 = xor i32 %68, %73
%75 = trunc i32 %74 to i8
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %10, align 4
%78 = zext i32 %77 to i64
%79 = mul i64 %78, 16
%80 = load i32, ptr %11, align 4
%81 = zext i32 %80 to i64
%82 = add i64 %79, %81
%83 = getelementptr inbounds i8, ptr %76, i64 %82
store i8 %75, ptr %83, align 1
br label %84
84: ; preds = %62
%85 = load i32, ptr %11, align 4
%86 = add i32 %85, 1
store i32 %86, ptr %11, align 4
%87 = load i32, ptr %11, align 4
%88 = load i32, ptr %12, align 4
%89 = icmp ult i32 %87, %88
br i1 %89, label %62, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %90
90: ; preds = %._crit_edge, %58
br label %91
91: ; preds = %90
%92 = load i32, ptr %10, align 4
%93 = add i32 %92, 1
store i32 %93, ptr %10, align 4
%94 = load i32, ptr %10, align 4
%95 = zext i32 %94 to i64
%96 = load i64, ptr %8, align 8
%97 = udiv i64 %96, 16
%98 = icmp ule i64 %95, %97
br i1 %98, label %19, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %91
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %4
br label %99
99: ; preds = %.loopexit, %31
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @decrypt(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpe9ab41bv.c'
source_filename = "/tmp/tmpe9ab41bv.c"
target datalayout = "e-m:e-p270: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/tmpe9ab41bv.c"
target datalayout = "e-m:e-p270: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/tmpertenxse.c'
source_filename = "/tmp/tmpertenxse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_ecb_encrypt128(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @aes_ecb_encrypt_generic(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 16)
ret void
}
declare i32 @aes_ecb_encrypt_generic(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/tmpertenxse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_ecb_encrypt128(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @aes_ecb_encrypt_generic(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 16)
ret void
}
declare i32 @aes_ecb_encrypt_generic(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/tmpv3fuh4y0.c'
source_filename = "/tmp/tmpv3fuh4y0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @input()
%3 = call i32 (...) @solve()
%4 = call i32 (...) @test_bubbleSort()
ret i32 0
}
declare i32 @input(...) #1
declare i32 @solve(...) #1
declare i32 @test_bubbleSort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv3fuh4y0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @input()
%3 = call i32 (...) @solve()
%4 = call i32 (...) @test_bubbleSort()
ret i32 0
}
declare i32 @input(...) #1
declare i32 @solve(...) #1
declare i32 @test_bubbleSort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoopnfhrl.c'
source_filename = "/tmp/tmpoopnfhrl.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\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 i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = 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
%17 = load i32, ptr %4, align 4
%18 = icmp ne i32 %17, 2
br i1 %18, label %19, label %25
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23)
store i32 1, ptr %3, align 4
br label %134
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %25
store i32 1, ptr %3, align 4
br label %134
33: ; preds = %25
store ptr null, ptr %7, align 8
%34 = load i32, ptr @stdin, align 4
%35 = call i32 @x_getline(ptr noundef %7, i32 noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %42, label %38
38: ; preds = %33
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %33
store i32 1, ptr %3, align 4
br label %134
43: ; preds = %38
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %44
44: ; preds = %126, %43
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %6, align 4
%48 = sub nsw i32 %46, %47
%49 = icmp sle i32 %45, %48
br i1 %49, label %50, label %129
50: ; preds = %44
store i64 0, ptr %12, align 8
%51 = load i32, ptr %11, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %50
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %11, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %54, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 48
br i1 %61, label %62, label %92
62: ; preds = %53, %50
store i32 0, ptr %13, align 4
br label %63
63: ; preds = %88, %62
%64 = load i32, ptr %13, align 4
%65 = load i32, ptr %6, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %91
67: ; preds = %63
%68 = load ptr, ptr %7, align 8
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %13, align 4
%71 = add nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %68, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = sub nsw i32 %75, 48
store i32 %76, ptr %14, align 4
%77 = load i32, ptr %13, align 4
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %82
79: ; preds = %67
%80 = load i32, ptr %14, align 4
%81 = sext i32 %80 to i64
store i64 %81, ptr %12, align 8
br label %87
82: ; preds = %67
%83 = load i32, ptr %14, align 4
%84 = sext i32 %83 to i64
%85 = load i64, ptr %12, align 8
%86 = mul nsw i64 %85, %84
store i64 %86, ptr %12, align 8
br label %87
87: ; preds = %82, %79
br label %88
88: ; preds = %87
%89 = load i32, ptr %13, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %13, align 4
br label %63, !llvm.loop !6
91: ; preds = %63
br label %118
92: ; preds = %53
%93 = load ptr, ptr %7, align 8
%94 = load i32, ptr %11, align 4
%95 = sub nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %93, i64 %96
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = sub nsw i32 %99, 48
store i32 %100, ptr %15, align 4
%101 = load ptr, ptr %7, align 8
%102 = load i32, ptr %11, align 4
%103 = load i32, ptr %6, align 4
%104 = add nsw i32 %102, %103
%105 = sub nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %101, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = sub nsw i32 %109, 48
store i32 %110, ptr %16, align 4
%111 = load i64, ptr %9, align 8
%112 = load i32, ptr %15, align 4
%113 = sext i32 %112 to i64
%114 = sdiv i64 %111, %113
%115 = load i32, ptr %16, align 4
%116 = sext i32 %115 to i64
%117 = mul nsw i64 %114, %116
store i64 %117, ptr %12, align 8
br label %118
118: ; preds = %92, %91
%119 = load i64, ptr %12, align 8
%120 = load i64, ptr %10, align 8
%121 = icmp sgt i64 %119, %120
br i1 %121, label %122, label %124
122: ; preds = %118
%123 = load i64, ptr %12, align 8
store i64 %123, ptr %10, align 8
br label %124
124: ; preds = %122, %118
%125 = load i64, ptr %12, align 8
store i64 %125, ptr %9, align 8
br label %126
126: ; preds = %124
%127 = load i32, ptr %11, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %11, align 4
br label %44, !llvm.loop !8
129: ; preds = %44
%130 = load i64, ptr %10, align 8
%131 = call i32 @printf(ptr noundef @.str.1, i64 noundef %130)
%132 = load ptr, ptr %7, align 8
%133 = call i32 @free(ptr noundef %132)
store i32 0, ptr %3, align 4
br label %134
134: ; preds = %129, %42, %32, %19
%135 = load i32, ptr %3, align 4
ret i32 %135
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @x_getline(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoopnfhrl.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\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 i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = 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
%17 = load i32, ptr %4, align 4
%18 = icmp ne i32 %17, 2
br i1 %18, label %19, label %25
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23)
store i32 1, ptr %3, align 4
br label %140
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %25
store i32 1, ptr %3, align 4
br label %140
33: ; preds = %25
store ptr null, ptr %7, align 8
%34 = load i32, ptr @stdin, align 4
%35 = call i32 @x_getline(ptr noundef %7, i32 noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %42, label %38
38: ; preds = %33
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %33
store i32 1, ptr %3, align 4
br label %140
43: ; preds = %38
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i32 0, ptr %11, align 4
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %45, %46
%48 = icmp sle i32 %44, %47
br i1 %48, label %.lr.ph2, label %135
.lr.ph2: ; preds = %43
br label %49
49: ; preds = %.lr.ph2, %127
store i64 0, ptr %12, align 8
%50 = load i32, ptr %11, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %61, label %52
52: ; preds = %49
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %11, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %53, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 48
br i1 %60, label %61, label %93
61: ; preds = %52, %49
store i32 0, ptr %13, align 4
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph, label %92
.lr.ph: ; preds = %61
br label %65
65: ; preds = %.lr.ph, %86
%66 = load ptr, ptr %7, align 8
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %66, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = sub nsw i32 %73, 48
store i32 %74, ptr %14, align 4
%75 = load i32, ptr %13, align 4
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %65
%78 = load i32, ptr %14, align 4
%79 = sext i32 %78 to i64
store i64 %79, ptr %12, align 8
br label %85
80: ; preds = %65
%81 = load i32, ptr %14, align 4
%82 = sext i32 %81 to i64
%83 = load i64, ptr %12, align 8
%84 = mul nsw i64 %83, %82
store i64 %84, ptr %12, align 8
br label %85
85: ; preds = %80, %77
br label %86
86: ; preds = %85
%87 = load i32, ptr %13, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %13, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %86
br label %92
92: ; preds = %._crit_edge, %61
br label %119
93: ; preds = %52
%94 = load ptr, ptr %7, align 8
%95 = load i32, ptr %11, align 4
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %94, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = sub nsw i32 %100, 48
store i32 %101, ptr %15, align 4
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %6, align 4
%105 = add nsw i32 %103, %104
%106 = sub nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %102, i64 %107
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = sub nsw i32 %110, 48
store i32 %111, ptr %16, align 4
%112 = load i64, ptr %9, align 8
%113 = load i32, ptr %15, align 4
%114 = sext i32 %113 to i64
%115 = sdiv i64 %112, %114
%116 = load i32, ptr %16, align 4
%117 = sext i32 %116 to i64
%118 = mul nsw i64 %115, %117
store i64 %118, ptr %12, align 8
br label %119
119: ; preds = %93, %92
%120 = load i64, ptr %12, align 8
%121 = load i64, ptr %10, align 8
%122 = icmp sgt i64 %120, %121
br i1 %122, label %123, label %125
123: ; preds = %119
%124 = load i64, ptr %12, align 8
store i64 %124, ptr %10, align 8
br label %125
125: ; preds = %123, %119
%126 = load i64, ptr %12, align 8
store i64 %126, ptr %9, align 8
br label %127
127: ; preds = %125
%128 = load i32, ptr %11, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %11, align 4
%130 = load i32, ptr %11, align 4
%131 = load i32, ptr %8, align 4
%132 = load i32, ptr %6, align 4
%133 = sub nsw i32 %131, %132
%134 = icmp sle i32 %130, %133
br i1 %134, label %49, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %127
br label %135
135: ; preds = %._crit_edge3, %43
%136 = load i64, ptr %10, align 8
%137 = call i32 @printf(ptr noundef @.str.1, i64 noundef %136)
%138 = load ptr, ptr %7, align 8
%139 = call i32 @free(ptr noundef %138)
store i32 0, ptr %3, align 4
br label %140
140: ; preds = %135, %42, %32, %19
%141 = load i32, ptr %3, align 4
ret i32 %141
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @x_getline(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpt1lkrd09.c'
source_filename = "/tmp/tmpt1lkrd09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baz() #0 {
ret i32 8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1lkrd09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baz() #0 {
ret i32 8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg414mcqp.c'
source_filename = "/tmp/tmpg414mcqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gpiod, version %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c" - setup GPIOs and manage input-changes\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"usage: gpiod [-d] [-w] [-h]\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c" d : show debug info\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c" w : watch inputs for changes\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c" h : show this help\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
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/tmpg414mcqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gpiod, version %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c" - setup GPIOs and manage input-changes\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"usage: gpiod [-d] [-w] [-h]\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c" d : show debug info\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c" w : watch inputs for changes\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c" h : show this help\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
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/tmp20dg2xy6.c'
source_filename = "/tmp/tmp20dg2xy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cfunc_thread(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %4, align 4
%7 = call i32 (...) @nc_dump_strain_to_disk()
%8 = call i32 @pthread_exit(ptr noundef null)
%9 = load ptr, ptr %2, align 8
ret ptr %9
}
declare i32 @nc_dump_strain_to_disk(...) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp20dg2xy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cfunc_thread(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %4, align 4
%7 = call i32 (...) @nc_dump_strain_to_disk()
%8 = call i32 @pthread_exit(ptr noundef null)
%9 = load ptr, ptr %2, align 8
ret ptr %9
}
declare i32 @nc_dump_strain_to_disk(...) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmfittaqd.c'
source_filename = "/tmp/tmpmfittaqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am strong!!!\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"hahi11\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"hahi22\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 1
store i8 35, ptr %5, align 1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = load ptr, ptr %2, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmfittaqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am strong!!!\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"hahi11\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"hahi22\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 1
store i8 35, ptr %5, align 1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = load ptr, ptr %2, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbozzku9u.c'
source_filename = "/tmp/tmpbozzku9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfx_write_reg16(i64 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i16, align 2
store i64 %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i64, ptr %3, align 8
%6 = load i16, ptr %4, align 2
%7 = call i32 @WRITE_REG16(i64 noundef %5, i16 noundef zeroext %6)
ret void
}
declare i32 @WRITE_REG16(i64 noundef, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbozzku9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfx_write_reg16(i64 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i16, align 2
store i64 %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i64, ptr %3, align 8
%6 = load i16, ptr %4, align 2
%7 = call i32 @WRITE_REG16(i64 noundef %5, i16 noundef zeroext %6)
ret void
}
declare i32 @WRITE_REG16(i64 noundef, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkx75gk85.c'
source_filename = "/tmp/tmpkx75gk85.c"
target datalayout = "e-m:e-p270: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/tmpkx75gk85.c"
target datalayout = "e-m:e-p270: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/tmpqsplwa8l.c'
source_filename = "/tmp/tmpqsplwa8l.c"
target datalayout = "e-m:e-p270: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/tmpqsplwa8l.c"
target datalayout = "e-m:e-p270: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/tmpk1j1peks.c'
source_filename = "/tmp/tmpk1j1peks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 4)
%3 = icmp ne i32 %2, 4
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @bar(i32 noundef 6)
%8 = icmp ne i32 %7, 6
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 (...) @abort() #3
unreachable
11: ; preds = %6
ret i32 0
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @bar(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk1j1peks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 4)
%3 = icmp ne i32 %2, 4
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @bar(i32 noundef 6)
%8 = icmp ne i32 %7, 6
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 (...) @abort() #3
unreachable
11: ; preds = %6
ret i32 0
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @bar(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"}
|
; ModuleID = '/tmp/tmpvlq__a29.c'
source_filename = "/tmp/tmpvlq__a29.c"
target datalayout = "e-m:e-p270: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/tmpvlq__a29.c"
target datalayout = "e-m:e-p270: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/tmp9qd6bvp0.c'
source_filename = "/tmp/tmp9qd6bvp0.c"
target datalayout = "e-m:e-p270: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.dirent = type { i32 }
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s dirname\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"closedir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_SUCCESS, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @chdir(ptr noundef %20)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %29
23: ; preds = %17
br label %24
24: ; preds = %23
%25 = call i32 @perror(ptr noundef @.str.1)
%26 = load i32, ptr @EXIT_FAILURE, align 4
%27 = call i32 @exit(i32 noundef %26) #3
unreachable
28: ; No predecessors!
br label %29
29: ; preds = %28, %17
%30 = call ptr @opendir(ptr noundef @.str.2)
store ptr %30, ptr %6, align 8
br label %31
31: ; preds = %35, %29
%32 = load ptr, ptr %6, align 8
%33 = call ptr @readdir(ptr noundef %32)
store ptr %33, ptr %7, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %40
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @printFileDetails(i32 noundef %38)
br label %31, !llvm.loop !6
40: ; preds = %31
%41 = load ptr, ptr %6, align 8
%42 = call i32 @closedir(ptr noundef %41)
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %50
44: ; preds = %40
br label %45
45: ; preds = %44
%46 = call i32 @perror(ptr noundef @.str.3)
%47 = load i32, ptr @EXIT_FAILURE, align 4
%48 = call i32 @exit(i32 noundef %47) #3
unreachable
49: ; No predecessors!
br label %50
50: ; preds = %49, %40
%51 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @chdir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @printFileDetails(i32 noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp9qd6bvp0.c"
target datalayout = "e-m:e-p270: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.dirent = type { i32 }
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s dirname\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"closedir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_SUCCESS, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @chdir(ptr noundef %20)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %29
23: ; preds = %17
br label %24
24: ; preds = %23
%25 = call i32 @perror(ptr noundef @.str.1)
%26 = load i32, ptr @EXIT_FAILURE, align 4
%27 = call i32 @exit(i32 noundef %26) #3
unreachable
28: ; No predecessors!
br label %29
29: ; preds = %28, %17
%30 = call ptr @opendir(ptr noundef @.str.2)
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = call ptr @readdir(ptr noundef %31)
store ptr %32, ptr %7, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %.lr.ph, label %42
.lr.ph: ; preds = %29
br label %34
34: ; preds = %.lr.ph, %34
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = call i32 @printFileDetails(i32 noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = call ptr @readdir(ptr noundef %39)
store ptr %40, ptr %7, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %42
42: ; preds = %._crit_edge, %29
%43 = load ptr, ptr %6, align 8
%44 = call i32 @closedir(ptr noundef %43)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %52
46: ; preds = %42
br label %47
47: ; preds = %46
%48 = call i32 @perror(ptr noundef @.str.3)
%49 = load i32, ptr @EXIT_FAILURE, align 4
%50 = call i32 @exit(i32 noundef %49) #3
unreachable
51: ; No predecessors!
br label %52
52: ; preds = %51, %42
%53 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @chdir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @printFileDetails(i32 noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpaaviwv2a.c'
source_filename = "/tmp/tmpaaviwv2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"fork() failed\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"execvp() failed\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Child exited with status %d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %50
11: ; preds = %1
%12 = call i32 (...) @fork()
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %11
%19 = load i32, ptr %4, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %35
21: ; preds = %18
%22 = load i32, ptr @SIGINT, align 4
%23 = load i32, ptr @SIG_DFL, align 4
%24 = call i32 @signal(i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr @SIGQUIT, align 4
%26 = load i32, ptr @SIG_DFL, align 4
%27 = call i32 @signal(i32 noundef %25, i32 noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 0
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %3, align 8
%32 = call i32 @execvp(ptr noundef %30, ptr noundef %31)
%33 = call i32 @perror(ptr noundef @.str.1)
%34 = call i32 @exit(i32 noundef 1) #3
unreachable
35: ; preds = %18
br label %36
36: ; preds = %35
br label %37
37: ; preds = %36, %42
%38 = call i32 @wait(ptr noundef %5)
%39 = load i32, ptr %4, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %37
br label %43
42: ; preds = %37
br label %37
43: ; preds = %41
%44 = load i32, ptr %5, align 4
%45 = ashr i32 %44, 8
%46 = load i32, ptr %5, align 4
%47 = and i32 %46, 127
%48 = call i32 @printf(ptr noundef @.str.2, i32 noundef %45, i32 noundef %47)
%49 = load i32, ptr %5, align 4
store i32 %49, ptr %2, align 4
br label %50
50: ; preds = %43, %10
%51 = load i32, ptr %2, align 4
ret i32 %51
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
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" }
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/tmpaaviwv2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"fork() failed\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"execvp() failed\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Child exited with status %d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %49
11: ; preds = %1
%12 = call i32 (...) @fork()
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %11
%19 = load i32, ptr %4, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %35
21: ; preds = %18
%22 = load i32, ptr @SIGINT, align 4
%23 = load i32, ptr @SIG_DFL, align 4
%24 = call i32 @signal(i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr @SIGQUIT, align 4
%26 = load i32, ptr @SIG_DFL, align 4
%27 = call i32 @signal(i32 noundef %25, i32 noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 0
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %3, align 8
%32 = call i32 @execvp(ptr noundef %30, ptr noundef %31)
%33 = call i32 @perror(ptr noundef @.str.1)
%34 = call i32 @exit(i32 noundef 1) #3
unreachable
35: ; preds = %18
br label %36
36: ; preds = %35
br label %37
37: ; preds = %37, %36
%38 = call i32 @wait(ptr noundef %5)
%39 = load i32, ptr %4, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %37
41: ; preds = %37
br label %42
42: ; preds = %41
%43 = load i32, ptr %5, align 4
%44 = ashr i32 %43, 8
%45 = load i32, ptr %5, align 4
%46 = and i32 %45, 127
%47 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44, i32 noundef %46)
%48 = load i32, ptr %5, align 4
store i32 %48, ptr %2, align 4
br label %49
49: ; preds = %42, %10
%50 = load i32, ptr %2, align 4
ret i32 %50
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
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" }
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/tmpzzrkstb0.c'
source_filename = "/tmp/tmpzzrkstb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rand_limit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @RAND_MAX, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = sdiv i32 %5, %7
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %13, %1
%10 = call i32 (...) @rand()
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %10, %11
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sgt i32 %14, %15
br i1 %16, label %9, label %17, !llvm.loop !6
17: ; preds = %13
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzzrkstb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rand_limit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @RAND_MAX, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = sdiv i32 %5, %7
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %13, %1
%10 = call i32 (...) @rand()
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %10, %11
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sgt i32 %14, %15
br i1 %16, label %9, label %17, !llvm.loop !6
17: ; preds = %13
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp46iabis0.c'
source_filename = "/tmp/tmp46iabis0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.5 = 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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 %12, 2
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 2
%16 = mul nsw i32 %13, %15
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %62, %0
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %20, %21
br i1 %22, label %23, label %66
23: ; preds = %19
br label %24
24: ; preds = %39, %23
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %4, align 4
%27 = sub nsw i32 %25, %26
%28 = load i32, ptr %3, align 4
%29 = icmp sgt i32 %27, %28
br i1 %29, label %30, label %40
30: ; preds = %24
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
br label %39
39: ; preds = %36, %30
br label %24, !llvm.loop !6
40: ; preds = %24
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %42
42: ; preds = %51, %40
%43 = load i32, ptr %4, align 4
%44 = icmp ne i32 %43, 1
br i1 %44, label %45, label %49
45: ; preds = %42
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp slt i32 %46, %47
br label %49
49: ; preds = %45, %42
%50 = phi i1 [ false, %42 ], [ %48, %45 ]
br i1 %50, label %51, label %55
51: ; preds = %49
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
br label %42, !llvm.loop !8
55: ; preds = %49
%56 = load i32, ptr %4, align 4
%57 = icmp ne i32 %56, 1
br i1 %57, label %58, label %62
58: ; preds = %55
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 2
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %58, %55
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %4, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %6, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %19, !llvm.loop !9
66: ; preds = %19
%67 = load i32, ptr %8, align 4
%68 = mul nsw i32 2, %67
%69 = add nsw i32 %68, 1
store i32 %69, ptr %9, align 4
br label %70
70: ; preds = %74, %66
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %7, align 4
%73 = icmp sgt i32 %71, %72
br i1 %73, label %74, label %78
74: ; preds = %70
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %7, align 4
br label %70, !llvm.loop !10
78: ; preds = %70
%79 = load i32, ptr %1, align 4
ret i32 %79
}
declare i32 @scanf(ptr noundef, 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"}
!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/tmp46iabis0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.5 = 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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 %12, 2
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 2
%16 = mul nsw i32 %13, %15
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %.lr.ph2, label %72
.lr.ph2: ; preds = %0
br label %22
22: ; preds = %.lr.ph2, %65
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %23, %24
%26 = load i32, ptr %3, align 4
%27 = icmp sgt i32 %25, %26
br i1 %27, label %.lr.ph, label %43
.lr.ph: ; preds = %22
br label %28
28: ; preds = %.lr.ph, %37
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 1
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %37
37: ; preds = %34, %28
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %4, align 4
%40 = sub nsw i32 %38, %39
%41 = load i32, ptr %3, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %22
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %45
45: ; preds = %54, %43
%46 = load i32, ptr %4, align 4
%47 = icmp ne i32 %46, 1
br i1 %47, label %48, label %52
48: ; preds = %45
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %49, %50
br label %52
52: ; preds = %48, %45
%53 = phi i1 [ false, %45 ], [ %51, %48 ]
br i1 %53, label %54, label %58
54: ; preds = %52
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %45, !llvm.loop !8
58: ; preds = %52
%59 = load i32, ptr %4, align 4
%60 = icmp ne i32 %59, 1
br i1 %60, label %61, label %65
61: ; preds = %58
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 2
store i32 %64, ptr %5, align 4
br label %65
65: ; preds = %61, %58
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %4, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %6, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%69 = load i32, ptr %2, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp sgt i32 %69, %70
br i1 %71, label %22, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %65
br label %72
72: ; preds = %._crit_edge3, %0
%73 = load i32, ptr %8, align 4
%74 = mul nsw i32 2, %73
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %7, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %.lr.ph5, label %86
.lr.ph5: ; preds = %72
br label %79
79: ; preds = %.lr.ph5, %79
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%81 = load i32, ptr %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
%83 = load i32, ptr %9, align 4
%84 = load i32, ptr %7, align 4
%85 = icmp sgt i32 %83, %84
br i1 %85, label %79, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %79
br label %86
86: ; preds = %._crit_edge6, %72
%87 = load i32, ptr %1, align 4
ret i32 %87
}
declare i32 @scanf(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpyf9jp1my.c'
source_filename = "/tmp/tmpyf9jp1my.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"biggest = %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2147483647, ptr %2, align 4
%3 = call ptr @ctime(ptr noundef %2)
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (...) @right_solution()
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @right_solution(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyf9jp1my.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"biggest = %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2147483647, ptr %2, align 4
%3 = call ptr @ctime(ptr noundef %2)
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (...) @right_solution()
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @right_solution(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8eatt1_0.c'
source_filename = "/tmp/tmp8eatt1_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Aug 05, 1966, is day %03d of the year\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Jan 01, 2000, is day %03d of the year\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Dec 31, 1999, is day %03d of the year\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Dec 31, 2000, is day %03d of the year\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"Dec 31, 3000, is day %03d of the year\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"Dec 31, 2004, is day %03d of the year\0A\00", align 1
@.str.6 = private unnamed_addr constant [69 x i8] c"Attempting a negative year returns : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [69 x i8] c"Attempting a month number less than one returns : %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [69 x i8] c"Attempting a month number greater than 12 returns : %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c"Attempting a day number less than one returns : %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 31 returns : %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 30 in April returns : %d\0A\00", align 1
@.str.12 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 29 in February returns : %d\0A\00", align 1
@.str.13 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 28 in a non-leap February returns: %d\0A\00", align 1
@.str.14 = private unnamed_addr constant [56 x i8] c"Day %03d occurs in month %02d on day %02d of year %04d\0A\00", align 1
@.str.15 = private unnamed_addr constant [87 x i8] c"Attempting a negative year returns : month %d, day %d\0A\00", align 1
@.str.16 = private unnamed_addr constant [87 x i8] c"Attempting a day number less than one returns : month %d, day %d\0A\00", align 1
@.str.17 = private unnamed_addr constant [87 x i8] c"Attempting a day number greater than 366 returns : month %d, day %d\0A\00", align 1
@.str.18 = private unnamed_addr constant [87 x i8] c"Attempting a day number greater than 365 in a non-leap year returns: month %d, day %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 8, i32 noundef 5)
%5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @day_of_year(i32 noundef 2000, i32 noundef 1, i32 noundef 1)
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 @day_of_year(i32 noundef 1999, i32 noundef 12, i32 noundef 31)
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = call i32 @day_of_year(i32 noundef 2000, i32 noundef 12, i32 noundef 31)
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %10)
%12 = call i32 @day_of_year(i32 noundef 3000, i32 noundef 12, i32 noundef 31)
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %12)
%14 = call i32 @day_of_year(i32 noundef 2004, i32 noundef 12, i32 noundef 31)
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %14)
%16 = call i32 @putchar(i8 noundef signext 10)
%17 = call i32 @day_of_year(i32 noundef -1, i32 noundef 8, i32 noundef 5)
%18 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %17)
%19 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 0, i32 noundef 5)
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %19)
%21 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 13, i32 noundef 5)
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %21)
%23 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 8, i32 noundef 0)
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %23)
%25 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 8, i32 noundef 32)
%26 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.10, i32 noundef %25)
%27 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 4, i32 noundef 31)
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %27)
%29 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 2, i32 noundef 30)
%30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %29)
%31 = call i32 @day_of_year(i32 noundef 1999, i32 noundef 2, i32 noundef 29)
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.13, i32 noundef %31)
%33 = call i32 @putchar(i8 noundef signext 10)
%34 = call i32 @month_day(i32 noundef 1966, i32 noundef 217, ptr noundef %2, ptr noundef %3)
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 217, i32 noundef %35, i32 noundef %36, i32 noundef 1966)
%38 = call i32 @month_day(i32 noundef 2000, i32 noundef 1, ptr noundef %2, ptr noundef %3)
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 1, i32 noundef %39, i32 noundef %40, i32 noundef 2000)
%42 = call i32 @month_day(i32 noundef 1999, i32 noundef 365, ptr noundef %2, ptr noundef %3)
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 365, i32 noundef %43, i32 noundef %44, i32 noundef 1999)
%46 = call i32 @month_day(i32 noundef 2000, i32 noundef 366, ptr noundef %2, ptr noundef %3)
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 366, i32 noundef %47, i32 noundef %48, i32 noundef 2000)
%50 = call i32 @month_day(i32 noundef 3000, i32 noundef 365, ptr noundef %2, ptr noundef %3)
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr %3, align 4
%53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 365, i32 noundef %51, i32 noundef %52, i32 noundef 3000)
%54 = call i32 @month_day(i32 noundef 2004, i32 noundef 366, ptr noundef %2, ptr noundef %3)
%55 = load i32, ptr %2, align 4
%56 = load i32, ptr %3, align 4
%57 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 366, i32 noundef %55, i32 noundef %56, i32 noundef 2004)
%58 = call i32 @putchar(i8 noundef signext 10)
%59 = call i32 @month_day(i32 noundef -1, i32 noundef 365, ptr noundef %2, ptr noundef %3)
%60 = load i32, ptr %2, align 4
%61 = load i32, ptr %3, align 4
%62 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.15, i32 noundef %60, i32 noundef %61)
%63 = call i32 @month_day(i32 noundef 2004, i32 noundef 0, ptr noundef %2, ptr noundef %3)
%64 = load i32, ptr %2, align 4
%65 = load i32, ptr %3, align 4
%66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.16, i32 noundef %64, i32 noundef %65)
%67 = call i32 @month_day(i32 noundef 2004, i32 noundef 367, ptr noundef %2, ptr noundef %3)
%68 = load i32, ptr %2, align 4
%69 = load i32, ptr %3, align 4
%70 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.17, i32 noundef %68, i32 noundef %69)
%71 = call i32 @month_day(i32 noundef 2003, i32 noundef 366, ptr noundef %2, ptr noundef %3)
%72 = load i32, ptr %2, align 4
%73 = load i32, ptr %3, align 4
%74 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.18, i32 noundef %72, i32 noundef %73)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @day_of_year(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @month_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8eatt1_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Aug 05, 1966, is day %03d of the year\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Jan 01, 2000, is day %03d of the year\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Dec 31, 1999, is day %03d of the year\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Dec 31, 2000, is day %03d of the year\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"Dec 31, 3000, is day %03d of the year\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"Dec 31, 2004, is day %03d of the year\0A\00", align 1
@.str.6 = private unnamed_addr constant [69 x i8] c"Attempting a negative year returns : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [69 x i8] c"Attempting a month number less than one returns : %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [69 x i8] c"Attempting a month number greater than 12 returns : %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c"Attempting a day number less than one returns : %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 31 returns : %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 30 in April returns : %d\0A\00", align 1
@.str.12 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 29 in February returns : %d\0A\00", align 1
@.str.13 = private unnamed_addr constant [69 x i8] c"Attempting a day greater than 28 in a non-leap February returns: %d\0A\00", align 1
@.str.14 = private unnamed_addr constant [56 x i8] c"Day %03d occurs in month %02d on day %02d of year %04d\0A\00", align 1
@.str.15 = private unnamed_addr constant [87 x i8] c"Attempting a negative year returns : month %d, day %d\0A\00", align 1
@.str.16 = private unnamed_addr constant [87 x i8] c"Attempting a day number less than one returns : month %d, day %d\0A\00", align 1
@.str.17 = private unnamed_addr constant [87 x i8] c"Attempting a day number greater than 366 returns : month %d, day %d\0A\00", align 1
@.str.18 = private unnamed_addr constant [87 x i8] c"Attempting a day number greater than 365 in a non-leap year returns: month %d, day %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 8, i32 noundef 5)
%5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @day_of_year(i32 noundef 2000, i32 noundef 1, i32 noundef 1)
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 @day_of_year(i32 noundef 1999, i32 noundef 12, i32 noundef 31)
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = call i32 @day_of_year(i32 noundef 2000, i32 noundef 12, i32 noundef 31)
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %10)
%12 = call i32 @day_of_year(i32 noundef 3000, i32 noundef 12, i32 noundef 31)
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %12)
%14 = call i32 @day_of_year(i32 noundef 2004, i32 noundef 12, i32 noundef 31)
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %14)
%16 = call i32 @putchar(i8 noundef signext 10)
%17 = call i32 @day_of_year(i32 noundef -1, i32 noundef 8, i32 noundef 5)
%18 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %17)
%19 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 0, i32 noundef 5)
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %19)
%21 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 13, i32 noundef 5)
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %21)
%23 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 8, i32 noundef 0)
%24 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %23)
%25 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 8, i32 noundef 32)
%26 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.10, i32 noundef %25)
%27 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 4, i32 noundef 31)
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %27)
%29 = call i32 @day_of_year(i32 noundef 1966, i32 noundef 2, i32 noundef 30)
%30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %29)
%31 = call i32 @day_of_year(i32 noundef 1999, i32 noundef 2, i32 noundef 29)
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.13, i32 noundef %31)
%33 = call i32 @putchar(i8 noundef signext 10)
%34 = call i32 @month_day(i32 noundef 1966, i32 noundef 217, ptr noundef %2, ptr noundef %3)
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 217, i32 noundef %35, i32 noundef %36, i32 noundef 1966)
%38 = call i32 @month_day(i32 noundef 2000, i32 noundef 1, ptr noundef %2, ptr noundef %3)
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 1, i32 noundef %39, i32 noundef %40, i32 noundef 2000)
%42 = call i32 @month_day(i32 noundef 1999, i32 noundef 365, ptr noundef %2, ptr noundef %3)
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 365, i32 noundef %43, i32 noundef %44, i32 noundef 1999)
%46 = call i32 @month_day(i32 noundef 2000, i32 noundef 366, ptr noundef %2, ptr noundef %3)
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 366, i32 noundef %47, i32 noundef %48, i32 noundef 2000)
%50 = call i32 @month_day(i32 noundef 3000, i32 noundef 365, ptr noundef %2, ptr noundef %3)
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr %3, align 4
%53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 365, i32 noundef %51, i32 noundef %52, i32 noundef 3000)
%54 = call i32 @month_day(i32 noundef 2004, i32 noundef 366, ptr noundef %2, ptr noundef %3)
%55 = load i32, ptr %2, align 4
%56 = load i32, ptr %3, align 4
%57 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.14, i32 noundef 366, i32 noundef %55, i32 noundef %56, i32 noundef 2004)
%58 = call i32 @putchar(i8 noundef signext 10)
%59 = call i32 @month_day(i32 noundef -1, i32 noundef 365, ptr noundef %2, ptr noundef %3)
%60 = load i32, ptr %2, align 4
%61 = load i32, ptr %3, align 4
%62 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.15, i32 noundef %60, i32 noundef %61)
%63 = call i32 @month_day(i32 noundef 2004, i32 noundef 0, ptr noundef %2, ptr noundef %3)
%64 = load i32, ptr %2, align 4
%65 = load i32, ptr %3, align 4
%66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.16, i32 noundef %64, i32 noundef %65)
%67 = call i32 @month_day(i32 noundef 2004, i32 noundef 367, ptr noundef %2, ptr noundef %3)
%68 = load i32, ptr %2, align 4
%69 = load i32, ptr %3, align 4
%70 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.17, i32 noundef %68, i32 noundef %69)
%71 = call i32 @month_day(i32 noundef 2003, i32 noundef 366, ptr noundef %2, ptr noundef %3)
%72 = load i32, ptr %2, align 4
%73 = load i32, ptr %3, align 4
%74 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.18, i32 noundef %72, i32 noundef %73)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @day_of_year(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @month_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqdunyk6p.c'
source_filename = "/tmp/tmpqdunyk6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AFLUTE Version %s, %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"1.7\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"March 2, 2007\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c" Copyright (c) 2003-2007 TUT - Tampere University of Technology\0A\00", align 1
@.str.4 = private unnamed_addr constant [74 x i8] c" main authors/contacts: jani.peltotalo@tut.fi and sami.peltotalo@tut.fi\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c" web site: http://www.atm.tut.fi/mad/\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [65 x i8] c" This is free software, and you are welcome to redistribute it\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" under certain conditions; See the GNU General Public License\0A\00", align 1
@.str.8 = private unnamed_addr constant [69 x i8] c" as published by the Free Software Foundation, version 2 or later,\0A\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c" for more details.\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [77 x i8] c" * mad_rlc.c & mad_rlc.h -- Portions of code derived from MCLv3 library by\0A\00", align 1
@.str.11 = private unnamed_addr constant [62 x i8] c" * Vincent Roca et al. (http://planete-bcast.inrialpes.fr/)\0A\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c" *\0A\00", align 1
@.str.13 = private unnamed_addr constant [78 x i8] c" * Copyright (c) 1999-2004 INRIA - Universite Paris 6 - All rights reserved\0A\00", align 1
@.str.14 = private unnamed_addr constant [64 x i8] c" * (main author: Julien Laboure - julien.laboure@inrialpes.fr\0A\00", align 1
@.str.15 = private unnamed_addr constant [62 x i8] c" * Vincent Roca - vincent.roca@inrialpes.fr)\0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [77 x i8] c" * fec.c & fec.h -- forward error correction based on Vandermonde matrices\0A\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c" * 980624\0A\00", align 1
@.str.18 = private unnamed_addr constant [50 x i8] c" * (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)\0A\00", align 1
@.str.19 = private unnamed_addr constant [67 x i8] c" * Portions derived from code by Phil Karn (karn@ka9q.ampr.org),\0A\00", align 1
@.str.20 = private unnamed_addr constant [65 x i8] c" * Robert Morelos-Zaragoza (robert@spectra.eng.hawaii.edu) and\0A\00", align 1
@.str.21 = private unnamed_addr constant [64 x i8] c" * Hari Thirumoorthy (harit@spectra.eng.hawaii.edu), Aug 1995\0A\00", align 1
@.str.22 = private unnamed_addr constant [72 x i8] c" * Redistribution and use in source and binary forms, with or without\0A\00", align 1
@.str.23 = private unnamed_addr constant [72 x i8] c" * modification, are permitted provided that the following conditions\0A\00", align 1
@.str.24 = private unnamed_addr constant [14 x i8] c" * are met:\0A\00", align 1
@.str.25 = private unnamed_addr constant [71 x i8] c" * 1. Redistributions of source code must retain the above copyright\0A\00", align 1
@.str.26 = private unnamed_addr constant [70 x i8] c" * notice, this list of conditions and the following disclaimer.\0A\00", align 1
@.str.27 = private unnamed_addr constant [64 x i8] c" * 2. Redistributions in binary form must reproduce the above\0A\00", align 1
@.str.28 = private unnamed_addr constant [68 x i8] c" * copyright notice, this list of conditions and the following\0A\00", align 1
@.str.29 = private unnamed_addr constant [63 x i8] c" * disclaimer in the documentation and/or other materials\0A\00", align 1
@.str.30 = private unnamed_addr constant [40 x i8] c" * provided with the distribution.\0A\00", align 1
@.str.31 = private unnamed_addr constant [60 x i8] c" * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND\0A\00", align 1
@.str.32 = private unnamed_addr constant [71 x i8] c" * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\0A\00", align 1
@.str.33 = private unnamed_addr constant [65 x i8] c" * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\0A\00", align 1
@.str.34 = private unnamed_addr constant [70 x i8] c" * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS\0A\00", align 1
@.str.35 = private unnamed_addr constant [73 x i8] c" * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\0A\00", align 1
@.str.36 = private unnamed_addr constant [62 x i8] c" * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\0A\00", align 1
@.str.37 = private unnamed_addr constant [69 x i8] c" * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\0A\00", align 1
@.str.38 = private unnamed_addr constant [69 x i8] c" * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\0A\00", align 1
@.str.39 = private unnamed_addr constant [68 x i8] c" * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\0A\00", align 1
@.str.40 = private unnamed_addr constant [69 x i8] c" * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\0A\00", align 1
@.str.41 = private unnamed_addr constant [69 x i8] c" * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\0A\00", align 1
@.str.42 = private unnamed_addr constant [22 x i8] c" * OF SUCH DAMAGE.\0A\0A\00", align 1
@.str.43 = private unnamed_addr constant [80 x i8] c"Sender usage: flute [-a:str] [-B:str] [-c:int] [-C] [-d:str] [-D:ull] [-e:int]\0A\00", align 1
@.str.44 = private unnamed_addr constant [89 x i8] c" [-f:str] [-F:str,str,...] [-G] [-h] [-H] [-i:str] [-k:int] [-l:int]\0A\00", align 1
@.str.45 = private unnamed_addr constant [74 x i8] c" [-L:int] [-m:str] [-n:int] [-p:int] [-P:float,float]\0A\00", align 1
@.str.46 = private unnamed_addr constant [38 x i8] c" [-q:int] [-r:int]\00", align 1
@.str.47 = private unnamed_addr constant [39 x i8] c" [-R:str] [-S] [-t:ull] [-T:int] [-U]\0A\00", align 1
@.str.48 = private unnamed_addr constant [80 x i8] c" [-v:int] [-V:str] [-w:int] [-W] [-x:int] [-X:int] [-z:int]\0A\00", align 1
@.str.49 = private unnamed_addr constant [27 x i8] c" [-Z]\0A\0A\00", align 1
@.str.50 = private unnamed_addr constant [82 x i8] c"Receiver usage: flute [-a:str] [-A] [-b:int] [-B:str] [-c:int] [-d:str] [-D:ull]\0A\00", align 1
@.str.51 = private unnamed_addr constant [58 x i8] c" [-E] [-F:str,str,...] [-h] [-i:str]\00", align 1
@.str.52 = private unnamed_addr constant [10 x i8] c" [-I:str]\00", align 1
@.str.53 = private unnamed_addr constant [10 x i8] c" [-m:str]\00", align 1
@.str.54 = private unnamed_addr constant [7 x i8] c" [-M]\0A\00", align 1
@.str.55 = private unnamed_addr constant [36 x i8] c" [-N] [-o:ull]\00", align 1
@.str.56 = private unnamed_addr constant [27 x i8] c" [-p:int] [-P:float,float]\00", align 1
@.str.57 = private unnamed_addr constant [11 x i8] c" [-R:str]\0A\00", align 1
@.str.58 = private unnamed_addr constant [79 x i8] c" [-s:str] [-t:ull] [-U] [-v:int] [-V:str] [-w:int] [-W]\0A\0A\00", align 1
@.str.59 = private unnamed_addr constant [18 x i8] c"Common options:\0A\0A\00", align 1
@.str.60 = private unnamed_addr constant [66 x i8] c" -a:str Address family [IPv4 or IPv6], default: IPv4\0A\00", align 1
@.str.61 = private unnamed_addr constant [76 x i8] c" -d:str SDP file (start/join FLUTE session based on SDP file),\0A\00", align 1
@.str.62 = private unnamed_addr constant [33 x i8] c" default: no\0A\00", align 1
@.str.63 = private unnamed_addr constant [37 x i8] c" -h Print this help\0A\00", align 1
@.str.64 = private unnamed_addr constant [69 x i8] c" -i:str Local interface to bind to, default: INADDR_ANY\0A\00", align 1
@.str.65 = private unnamed_addr constant [60 x i8] c" -m:str IPv4 or IPv6 address for base channel,\0A\00", align 1
@.str.66 = private unnamed_addr constant [39 x i8] c" default: %s or %s\0A\00", align 1
@.str.67 = private unnamed_addr constant [12 x i8] c"226.10.40.1\00", align 1
@.str.68 = private unnamed_addr constant [8 x i8] c"ff1a::1\00", align 1
@.str.69 = private unnamed_addr constant [63 x i8] c" -p:int Port number for base channel, default: %s\0A\00", align 1
@.str.70 = private unnamed_addr constant [5 x i8] c"4001\00", align 1
@.str.71 = private unnamed_addr constant [65 x i8] c" -P[:float,float] Simulate packet losses, default packet loss\0A\00", align 1
@.str.72 = private unnamed_addr constant [44 x i8] c" percentages: %.1f,%.1f\0A\00", align 1
@.str.73 = private unnamed_addr constant [70 x i8] c" -S Act as sender, send data; otherwise receive data\0A\00", align 1
@.str.74 = private unnamed_addr constant [54 x i8] c" -t:ull TSI for the session, default: %i\0A\00", align 1
@.str.75 = private unnamed_addr constant [65 x i8] c" -U Address type is unicast, default: multicast\0A\00", align 1
@.str.76 = private unnamed_addr constant [73 x i8] c" -v:int Log verbosity level [0 = No output, 1 = File level,\0A\00", align 1
@.str.77 = private unnamed_addr constant [79 x i8] c" 2 = 1 + percent, 3 = 2 + blocks, 4 = 3 + FDT], default: 1\0A\00", align 1
@.str.78 = private unnamed_addr constant [72 x i8] c" -V:str Print logs to 'str' file, default: print to stdout\0A\00", align 1
@.str.79 = private unnamed_addr constant [68 x i8] c" -w:int Congestion control scheme [0 = Null, 1 = RLC],\0A\00", align 1
@.str.80 = private unnamed_addr constant [80 x i8] c" default: %i; the number of channels, defined by -c option,\0A\00", align 1
@.str.81 = private unnamed_addr constant [79 x i8] c" are used with both schemes and bitrate of each channel is\0A\00", align 1
@.str.82 = private unnamed_addr constant [48 x i8] c" set according to RLC rules\0A\00", align 1
@.str.83 = private unnamed_addr constant [77 x i8] c" -W File table output mode. In receiver this work only with\0A\00", align 1
@.str.84 = private unnamed_addr constant [32 x i8] c" -A option\0A\0A\00", align 1
@.str.85 = private unnamed_addr constant [18 x i8] c"Sender options:\0A\0A\00", align 1
@.str.86 = private unnamed_addr constant [73 x i8] c" -B:str Base directory for files or directories to be sent,\0A\00", align 1
@.str.87 = private unnamed_addr constant [48 x i8] c" default: working directory\0A\00", align 1
@.str.88 = private unnamed_addr constant [58 x i8] c" -c:int Number of used channels, default: %i\0A\00", align 1
@.str.89 = private unnamed_addr constant [64 x i8] c" -C Continuous transmission, default: not used\0A\00", align 1
@.str.90 = private unnamed_addr constant [69 x i8] c" -D:ull Duration of the session in seconds, default: %i\0A\00", align 1
@.str.91 = private unnamed_addr constant [46 x i8] c" -e:int FEC-OTI for file objects\0A\00", align 1
@.str.92 = private unnamed_addr constant [78 x i8] c" [0 = FEC-OTI in FDT, 1 = FEC-OTI in EXT_FTI], default: 0\0A\00", align 1
@.str.93 = private unnamed_addr constant [63 x i8] c" -f:str FDT file (send based on FDT), default: %s\0A\00", align 1
@.str.94 = private unnamed_addr constant [8 x i8] c"fdt.xml\00", align 1
@.str.95 = private unnamed_addr constant [78 x i8] c" -F:str,str,... Files or directories to be sent. Given base directory is\0A\00", align 1
@.str.96 = private unnamed_addr constant [43 x i8] c" same for all entries.\0A\00", align 1
@.str.97 = private unnamed_addr constant [70 x i8] c" -G Calculate session size, but do not send anything\0A\00", align 1
@.str.98 = private unnamed_addr constant [77 x i8] c" -H Use Half-word (when used, TSI field can be 16, 32 or 48\0A\00", align 1
@.str.99 = private unnamed_addr constant [74 x i8] c" bits long and TOI field can be 16, 32, 48 or 64 bits\0A\00", align 1
@.str.100 = private unnamed_addr constant [46 x i8] c" long), default: not used\0A\00", align 1
@.str.101 = private unnamed_addr constant [73 x i8] c" -k:int Send a Complete FDT in the beginning of the session\0A\00", align 1
@.str.102 = private unnamed_addr constant [79 x i8] c" [0 = No, 1 = Yes, 2 = Yes, only Complete FDT], default: 0\0A\00", align 1
@.str.103 = private unnamed_addr constant [66 x i8] c" -l:int Encoding symbol length in bytes, default: %i\0A\00", align 1
@.str.104 = private unnamed_addr constant [73 x i8] c" -L:int Maximum source block length in multiple of encoding\0A\00", align 1
@.str.105 = private unnamed_addr constant [42 x i8] c" symbols, default: %i\0A\00", align 1
@.str.106 = private unnamed_addr constant [58 x i8] c" -n:int Number of transmissions, default: %i\0A\00", align 1
@.str.107 = private unnamed_addr constant [78 x i8] c" -q:int Send session close packets [0 = No, 1 = Yes], default: 1\0A\00", align 1
@.str.108 = private unnamed_addr constant [79 x i8] c" -r:int Transmission rate at base channel in kbits/s, default: %i\0A\00", align 1
@.str.109 = private unnamed_addr constant [63 x i8] c" -R[:str] Save configuration to a file, default: %s\0A\00", align 1
@.str.110 = private unnamed_addr constant [11 x i8] c"flute.conf\00", align 1
@.str.111 = private unnamed_addr constant [76 x i8] c" -T:int Time To Live or Hop Limit for the session, default: %i\0A\00", align 1
@.str.112 = private unnamed_addr constant [78 x i8] c" -x:int FEC Encoding [0 = Null, 1 = Simple XOR, 2 = Reed-Solomon\0A\00", align 1
@.str.113 = private unnamed_addr constant [71 x i8] c" (old I-D) 3 = Reed-Solomon (new I-D), default: %i\0A\00", align 1
@.str.114 = private unnamed_addr constant [52 x i8] c" -X:int FEC ratio percent, default: %i\0A\00", align 1
@.str.115 = private unnamed_addr constant [59 x i8] c" -z:int Encode content [0 = no, 1 = ZLIB FDT,\0A\00", align 1
@.str.116 = private unnamed_addr constant [50 x i8] c" 2 = ZLIB FDT and GZIP files,\0A\00", align 1
@.str.117 = private unnamed_addr constant [48 x i8] c" 3 = PAD files], default: 0\0A\00", align 1
@.str.118 = private unnamed_addr constant [64 x i8] c" -Z Optimize transmission rate (use more CPU)\0A\0A\00", align 1
@.str.119 = private unnamed_addr constant [20 x i8] c"Receiver options:\0A\0A\00", align 1
@.str.120 = private unnamed_addr constant [49 x i8] c" -A Receive files automatically\0A\00", align 1
@.str.121 = private unnamed_addr constant [74 x i8] c" -b:int Receiver's memory consumption [0 = high, 1 = medium,\0A\00", align 1
@.str.122 = private unnamed_addr constant [42 x i8] c" 2 = low], default: 1\0A\00", align 1
@.str.123 = private unnamed_addr constant [58 x i8] c" -B:str Base directory for downloaded files,\0A\00", align 1
@.str.124 = private unnamed_addr constant [33 x i8] c" default: %s\0A\00", align 1
@.str.125 = private unnamed_addr constant [16 x i8] c"flute-downloads\00", align 1
@.str.126 = private unnamed_addr constant [61 x i8] c" -c:int Maximum number of channels, default: %i\0A\00", align 1
@.str.127 = private unnamed_addr constant [75 x i8] c" -D:ull Reveiver will quit after this time (in seconds) if no\0A\00", align 1
@.str.128 = private unnamed_addr constant [71 x i8] c" packets is received from the session, default: %i\0A\00", align 1
@.str.129 = private unnamed_addr constant [50 x i8] c" -E Accept expired FDT Instances\0A\00", align 1
@.str.130 = private unnamed_addr constant [42 x i8] c" -F:str,str,... Files to be received\0A\00", align 1
@.str.131 = private unnamed_addr constant [75 x i8] c" -I:str Local interface name for IPv6 multicast join, use for\0A\00", align 1
@.str.132 = private unnamed_addr constant [72 x i8] c" example 'ifconfig' command to see interface names;\0A\00", align 1
@.str.133 = private unnamed_addr constant [42 x i8] c" otherwise OS default\0A\00", align 1
@.str.134 = private unnamed_addr constant [64 x i8] c" -M Use Source-Specific Multicast, default: no\0A\00", align 1
@.str.135 = private unnamed_addr constant [73 x i8] c" -N Name incomplete objects after the session has ended\0A\00", align 1
@.str.136 = private unnamed_addr constant [55 x i8] c" -o:ull TOI for the object to be received\0A\00", align 1
@.str.137 = private unnamed_addr constant [75 x i8] c" -R[:str] Use HTTP file repair with given config file, default:\0A\00", align 1
@.str.138 = private unnamed_addr constant [24 x i8] c" %s\0A\00", align 1
@.str.139 = private unnamed_addr constant [8 x i8] c"apd.xml\00", align 1
@.str.140 = private unnamed_addr constant [78 x i8] c" -s:str Source IPv4 or IPv6 address of this session. If not set,\0A\00", align 1
@.str.141 = private unnamed_addr constant [75 x i8] c" receiver locks to the first IP address found from the\0A\00", align 1
@.str.142 = private unnamed_addr constant [36 x i8] c" FLUTE packets.\0A\00", align 1
@.str.143 = private unnamed_addr constant [22 x i8] c"\0AExample use cases:\0A\0A\00", align 1
@.str.144 = private unnamed_addr constant [106 x i8] c"1. Send a file or directory n times\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -F:files/flute-draft.txt\0A\00", align 1
@.str.145 = private unnamed_addr constant [14 x i8] c"\09 -n:2\0A\0A\00", align 1
@.str.146 = private unnamed_addr constant [108 x i8] c"2. Send a file or directory in a loop\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -F:files/flute-draft.txt\0A\00", align 1
@.str.147 = private unnamed_addr constant [12 x i8] c"\09 -C\0A\0A\00", align 1
@.str.148 = private unnamed_addr constant [95 x i8] c"3. Send files defined in an FDT file\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -f:fdt2.xml\0A\0A\00", align 1
@.str.149 = private unnamed_addr constant [108 x i8] c"4. Send files defined in an FDT file in a loop\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -f:fdt2.xml -C\0A\0A\00", align 1
@.str.150 = private unnamed_addr constant [84 x i8] c"5. Send using unicast\0A\0A\09flute -S -U -m:1.2.3.4 -p:4000 -t:2 -r:100 -f:fdt2.xml -C\0A\0A\00", align 1
@.str.151 = private unnamed_addr constant [74 x i8] c"6. Receive one object\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2 -o:1\0A\0A\00", align 1
@.str.152 = private unnamed_addr constant [89 x i8] c"7. Receive file(s) defined by file name(s)\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2\0A\00", align 1
@.str.153 = private unnamed_addr constant [48 x i8] c"\09 -F:files/flute-man.txt,flute-draft.txt\0A\0A\00", align 1
@.str.154 = private unnamed_addr constant [103 x i8] c"8. Receive file(s) defined by wild card option\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2 -F:*.jpg\0A\0A\00", align 1
@.str.155 = private unnamed_addr constant [86 x i8] c"9. Receive file(s) with User Interface\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2\0A\0A\00", align 1
@.str.156 = private unnamed_addr constant [97 x i8] c"10. Receive file(s) automatically from session\0A\0A\09flute -A -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2\0A\0A\00", align 1
@.str.157 = private unnamed_addr constant [66 x i8] c"11. Receive using unicast\0A\0A\09flute -A -U -p:4000 -t:2 -s:2.2.2.2\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.33)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.34)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.35)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.43)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.44)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.47)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.48)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.49)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.50)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.51)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.52)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.53)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.54)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.55)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.56)
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.57)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.58)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.59)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.60)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.61)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.62)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.63)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.64)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.65)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.66, ptr noundef @.str.67, ptr noundef @.str.68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.69, ptr noundef @.str.70)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.71)
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.72, double noundef 5.000000e+00, double noundef 5.000000e+01)
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.73)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.74, i32 noundef 0)
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.75)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.76)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.77)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.78)
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.79)
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.80, i32 noundef 0)
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.81)
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.82)
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.83)
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.84)
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.85)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.86)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.87)
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.88, i32 noundef 1)
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.89)
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.90, i32 noundef 604800)
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.91)
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.92)
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.93, ptr noundef @.str.94)
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.95)
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.96)
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.97)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.98)
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.99)
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.100)
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.101)
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.102)
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.103, i32 noundef 1428)
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.104)
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.105, i32 noundef 64)
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.106, i32 noundef 1)
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.107)
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.108, i32 noundef 250)
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.109, ptr noundef @.str.110)
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.111, i32 noundef 1)
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.112)
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.113, i32 noundef 0)
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.114, i32 noundef 50)
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.115)
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.116)
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.117)
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.118)
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.119)
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.120)
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.121)
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.122)
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.123)
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.124, ptr noundef @.str.125)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.126, i32 noundef 1)
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.127)
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.128, i32 noundef 3600)
%126 = call i32 (ptr, ...) @printf(ptr noundef @.str.129)
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.130)
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.131)
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.132)
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.133)
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.134)
%132 = call i32 (ptr, ...) @printf(ptr noundef @.str.135)
%133 = call i32 (ptr, ...) @printf(ptr noundef @.str.136)
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.137)
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.138, ptr noundef @.str.139)
%136 = call i32 (ptr, ...) @printf(ptr noundef @.str.140)
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.141)
%138 = call i32 (ptr, ...) @printf(ptr noundef @.str.142)
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.143)
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.144)
%141 = call i32 (ptr, ...) @printf(ptr noundef @.str.145)
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.146)
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.147)
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.148)
%145 = call i32 (ptr, ...) @printf(ptr noundef @.str.149)
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.150)
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.151)
%148 = call i32 (ptr, ...) @printf(ptr noundef @.str.152)
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.153)
%150 = call i32 (ptr, ...) @printf(ptr noundef @.str.154)
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.155)
%152 = call i32 (ptr, ...) @printf(ptr noundef @.str.156)
%153 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
%154 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqdunyk6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AFLUTE Version %s, %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"1.7\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"March 2, 2007\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c" Copyright (c) 2003-2007 TUT - Tampere University of Technology\0A\00", align 1
@.str.4 = private unnamed_addr constant [74 x i8] c" main authors/contacts: jani.peltotalo@tut.fi and sami.peltotalo@tut.fi\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c" web site: http://www.atm.tut.fi/mad/\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [65 x i8] c" This is free software, and you are welcome to redistribute it\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" under certain conditions; See the GNU General Public License\0A\00", align 1
@.str.8 = private unnamed_addr constant [69 x i8] c" as published by the Free Software Foundation, version 2 or later,\0A\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c" for more details.\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [77 x i8] c" * mad_rlc.c & mad_rlc.h -- Portions of code derived from MCLv3 library by\0A\00", align 1
@.str.11 = private unnamed_addr constant [62 x i8] c" * Vincent Roca et al. (http://planete-bcast.inrialpes.fr/)\0A\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c" *\0A\00", align 1
@.str.13 = private unnamed_addr constant [78 x i8] c" * Copyright (c) 1999-2004 INRIA - Universite Paris 6 - All rights reserved\0A\00", align 1
@.str.14 = private unnamed_addr constant [64 x i8] c" * (main author: Julien Laboure - julien.laboure@inrialpes.fr\0A\00", align 1
@.str.15 = private unnamed_addr constant [62 x i8] c" * Vincent Roca - vincent.roca@inrialpes.fr)\0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [77 x i8] c" * fec.c & fec.h -- forward error correction based on Vandermonde matrices\0A\00", align 1
@.str.17 = private unnamed_addr constant [12 x i8] c" * 980624\0A\00", align 1
@.str.18 = private unnamed_addr constant [50 x i8] c" * (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)\0A\00", align 1
@.str.19 = private unnamed_addr constant [67 x i8] c" * Portions derived from code by Phil Karn (karn@ka9q.ampr.org),\0A\00", align 1
@.str.20 = private unnamed_addr constant [65 x i8] c" * Robert Morelos-Zaragoza (robert@spectra.eng.hawaii.edu) and\0A\00", align 1
@.str.21 = private unnamed_addr constant [64 x i8] c" * Hari Thirumoorthy (harit@spectra.eng.hawaii.edu), Aug 1995\0A\00", align 1
@.str.22 = private unnamed_addr constant [72 x i8] c" * Redistribution and use in source and binary forms, with or without\0A\00", align 1
@.str.23 = private unnamed_addr constant [72 x i8] c" * modification, are permitted provided that the following conditions\0A\00", align 1
@.str.24 = private unnamed_addr constant [14 x i8] c" * are met:\0A\00", align 1
@.str.25 = private unnamed_addr constant [71 x i8] c" * 1. Redistributions of source code must retain the above copyright\0A\00", align 1
@.str.26 = private unnamed_addr constant [70 x i8] c" * notice, this list of conditions and the following disclaimer.\0A\00", align 1
@.str.27 = private unnamed_addr constant [64 x i8] c" * 2. Redistributions in binary form must reproduce the above\0A\00", align 1
@.str.28 = private unnamed_addr constant [68 x i8] c" * copyright notice, this list of conditions and the following\0A\00", align 1
@.str.29 = private unnamed_addr constant [63 x i8] c" * disclaimer in the documentation and/or other materials\0A\00", align 1
@.str.30 = private unnamed_addr constant [40 x i8] c" * provided with the distribution.\0A\00", align 1
@.str.31 = private unnamed_addr constant [60 x i8] c" * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND\0A\00", align 1
@.str.32 = private unnamed_addr constant [71 x i8] c" * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\0A\00", align 1
@.str.33 = private unnamed_addr constant [65 x i8] c" * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\0A\00", align 1
@.str.34 = private unnamed_addr constant [70 x i8] c" * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS\0A\00", align 1
@.str.35 = private unnamed_addr constant [73 x i8] c" * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\0A\00", align 1
@.str.36 = private unnamed_addr constant [62 x i8] c" * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\0A\00", align 1
@.str.37 = private unnamed_addr constant [69 x i8] c" * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\0A\00", align 1
@.str.38 = private unnamed_addr constant [69 x i8] c" * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\0A\00", align 1
@.str.39 = private unnamed_addr constant [68 x i8] c" * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\0A\00", align 1
@.str.40 = private unnamed_addr constant [69 x i8] c" * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\0A\00", align 1
@.str.41 = private unnamed_addr constant [69 x i8] c" * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\0A\00", align 1
@.str.42 = private unnamed_addr constant [22 x i8] c" * OF SUCH DAMAGE.\0A\0A\00", align 1
@.str.43 = private unnamed_addr constant [80 x i8] c"Sender usage: flute [-a:str] [-B:str] [-c:int] [-C] [-d:str] [-D:ull] [-e:int]\0A\00", align 1
@.str.44 = private unnamed_addr constant [89 x i8] c" [-f:str] [-F:str,str,...] [-G] [-h] [-H] [-i:str] [-k:int] [-l:int]\0A\00", align 1
@.str.45 = private unnamed_addr constant [74 x i8] c" [-L:int] [-m:str] [-n:int] [-p:int] [-P:float,float]\0A\00", align 1
@.str.46 = private unnamed_addr constant [38 x i8] c" [-q:int] [-r:int]\00", align 1
@.str.47 = private unnamed_addr constant [39 x i8] c" [-R:str] [-S] [-t:ull] [-T:int] [-U]\0A\00", align 1
@.str.48 = private unnamed_addr constant [80 x i8] c" [-v:int] [-V:str] [-w:int] [-W] [-x:int] [-X:int] [-z:int]\0A\00", align 1
@.str.49 = private unnamed_addr constant [27 x i8] c" [-Z]\0A\0A\00", align 1
@.str.50 = private unnamed_addr constant [82 x i8] c"Receiver usage: flute [-a:str] [-A] [-b:int] [-B:str] [-c:int] [-d:str] [-D:ull]\0A\00", align 1
@.str.51 = private unnamed_addr constant [58 x i8] c" [-E] [-F:str,str,...] [-h] [-i:str]\00", align 1
@.str.52 = private unnamed_addr constant [10 x i8] c" [-I:str]\00", align 1
@.str.53 = private unnamed_addr constant [10 x i8] c" [-m:str]\00", align 1
@.str.54 = private unnamed_addr constant [7 x i8] c" [-M]\0A\00", align 1
@.str.55 = private unnamed_addr constant [36 x i8] c" [-N] [-o:ull]\00", align 1
@.str.56 = private unnamed_addr constant [27 x i8] c" [-p:int] [-P:float,float]\00", align 1
@.str.57 = private unnamed_addr constant [11 x i8] c" [-R:str]\0A\00", align 1
@.str.58 = private unnamed_addr constant [79 x i8] c" [-s:str] [-t:ull] [-U] [-v:int] [-V:str] [-w:int] [-W]\0A\0A\00", align 1
@.str.59 = private unnamed_addr constant [18 x i8] c"Common options:\0A\0A\00", align 1
@.str.60 = private unnamed_addr constant [66 x i8] c" -a:str Address family [IPv4 or IPv6], default: IPv4\0A\00", align 1
@.str.61 = private unnamed_addr constant [76 x i8] c" -d:str SDP file (start/join FLUTE session based on SDP file),\0A\00", align 1
@.str.62 = private unnamed_addr constant [33 x i8] c" default: no\0A\00", align 1
@.str.63 = private unnamed_addr constant [37 x i8] c" -h Print this help\0A\00", align 1
@.str.64 = private unnamed_addr constant [69 x i8] c" -i:str Local interface to bind to, default: INADDR_ANY\0A\00", align 1
@.str.65 = private unnamed_addr constant [60 x i8] c" -m:str IPv4 or IPv6 address for base channel,\0A\00", align 1
@.str.66 = private unnamed_addr constant [39 x i8] c" default: %s or %s\0A\00", align 1
@.str.67 = private unnamed_addr constant [12 x i8] c"226.10.40.1\00", align 1
@.str.68 = private unnamed_addr constant [8 x i8] c"ff1a::1\00", align 1
@.str.69 = private unnamed_addr constant [63 x i8] c" -p:int Port number for base channel, default: %s\0A\00", align 1
@.str.70 = private unnamed_addr constant [5 x i8] c"4001\00", align 1
@.str.71 = private unnamed_addr constant [65 x i8] c" -P[:float,float] Simulate packet losses, default packet loss\0A\00", align 1
@.str.72 = private unnamed_addr constant [44 x i8] c" percentages: %.1f,%.1f\0A\00", align 1
@.str.73 = private unnamed_addr constant [70 x i8] c" -S Act as sender, send data; otherwise receive data\0A\00", align 1
@.str.74 = private unnamed_addr constant [54 x i8] c" -t:ull TSI for the session, default: %i\0A\00", align 1
@.str.75 = private unnamed_addr constant [65 x i8] c" -U Address type is unicast, default: multicast\0A\00", align 1
@.str.76 = private unnamed_addr constant [73 x i8] c" -v:int Log verbosity level [0 = No output, 1 = File level,\0A\00", align 1
@.str.77 = private unnamed_addr constant [79 x i8] c" 2 = 1 + percent, 3 = 2 + blocks, 4 = 3 + FDT], default: 1\0A\00", align 1
@.str.78 = private unnamed_addr constant [72 x i8] c" -V:str Print logs to 'str' file, default: print to stdout\0A\00", align 1
@.str.79 = private unnamed_addr constant [68 x i8] c" -w:int Congestion control scheme [0 = Null, 1 = RLC],\0A\00", align 1
@.str.80 = private unnamed_addr constant [80 x i8] c" default: %i; the number of channels, defined by -c option,\0A\00", align 1
@.str.81 = private unnamed_addr constant [79 x i8] c" are used with both schemes and bitrate of each channel is\0A\00", align 1
@.str.82 = private unnamed_addr constant [48 x i8] c" set according to RLC rules\0A\00", align 1
@.str.83 = private unnamed_addr constant [77 x i8] c" -W File table output mode. In receiver this work only with\0A\00", align 1
@.str.84 = private unnamed_addr constant [32 x i8] c" -A option\0A\0A\00", align 1
@.str.85 = private unnamed_addr constant [18 x i8] c"Sender options:\0A\0A\00", align 1
@.str.86 = private unnamed_addr constant [73 x i8] c" -B:str Base directory for files or directories to be sent,\0A\00", align 1
@.str.87 = private unnamed_addr constant [48 x i8] c" default: working directory\0A\00", align 1
@.str.88 = private unnamed_addr constant [58 x i8] c" -c:int Number of used channels, default: %i\0A\00", align 1
@.str.89 = private unnamed_addr constant [64 x i8] c" -C Continuous transmission, default: not used\0A\00", align 1
@.str.90 = private unnamed_addr constant [69 x i8] c" -D:ull Duration of the session in seconds, default: %i\0A\00", align 1
@.str.91 = private unnamed_addr constant [46 x i8] c" -e:int FEC-OTI for file objects\0A\00", align 1
@.str.92 = private unnamed_addr constant [78 x i8] c" [0 = FEC-OTI in FDT, 1 = FEC-OTI in EXT_FTI], default: 0\0A\00", align 1
@.str.93 = private unnamed_addr constant [63 x i8] c" -f:str FDT file (send based on FDT), default: %s\0A\00", align 1
@.str.94 = private unnamed_addr constant [8 x i8] c"fdt.xml\00", align 1
@.str.95 = private unnamed_addr constant [78 x i8] c" -F:str,str,... Files or directories to be sent. Given base directory is\0A\00", align 1
@.str.96 = private unnamed_addr constant [43 x i8] c" same for all entries.\0A\00", align 1
@.str.97 = private unnamed_addr constant [70 x i8] c" -G Calculate session size, but do not send anything\0A\00", align 1
@.str.98 = private unnamed_addr constant [77 x i8] c" -H Use Half-word (when used, TSI field can be 16, 32 or 48\0A\00", align 1
@.str.99 = private unnamed_addr constant [74 x i8] c" bits long and TOI field can be 16, 32, 48 or 64 bits\0A\00", align 1
@.str.100 = private unnamed_addr constant [46 x i8] c" long), default: not used\0A\00", align 1
@.str.101 = private unnamed_addr constant [73 x i8] c" -k:int Send a Complete FDT in the beginning of the session\0A\00", align 1
@.str.102 = private unnamed_addr constant [79 x i8] c" [0 = No, 1 = Yes, 2 = Yes, only Complete FDT], default: 0\0A\00", align 1
@.str.103 = private unnamed_addr constant [66 x i8] c" -l:int Encoding symbol length in bytes, default: %i\0A\00", align 1
@.str.104 = private unnamed_addr constant [73 x i8] c" -L:int Maximum source block length in multiple of encoding\0A\00", align 1
@.str.105 = private unnamed_addr constant [42 x i8] c" symbols, default: %i\0A\00", align 1
@.str.106 = private unnamed_addr constant [58 x i8] c" -n:int Number of transmissions, default: %i\0A\00", align 1
@.str.107 = private unnamed_addr constant [78 x i8] c" -q:int Send session close packets [0 = No, 1 = Yes], default: 1\0A\00", align 1
@.str.108 = private unnamed_addr constant [79 x i8] c" -r:int Transmission rate at base channel in kbits/s, default: %i\0A\00", align 1
@.str.109 = private unnamed_addr constant [63 x i8] c" -R[:str] Save configuration to a file, default: %s\0A\00", align 1
@.str.110 = private unnamed_addr constant [11 x i8] c"flute.conf\00", align 1
@.str.111 = private unnamed_addr constant [76 x i8] c" -T:int Time To Live or Hop Limit for the session, default: %i\0A\00", align 1
@.str.112 = private unnamed_addr constant [78 x i8] c" -x:int FEC Encoding [0 = Null, 1 = Simple XOR, 2 = Reed-Solomon\0A\00", align 1
@.str.113 = private unnamed_addr constant [71 x i8] c" (old I-D) 3 = Reed-Solomon (new I-D), default: %i\0A\00", align 1
@.str.114 = private unnamed_addr constant [52 x i8] c" -X:int FEC ratio percent, default: %i\0A\00", align 1
@.str.115 = private unnamed_addr constant [59 x i8] c" -z:int Encode content [0 = no, 1 = ZLIB FDT,\0A\00", align 1
@.str.116 = private unnamed_addr constant [50 x i8] c" 2 = ZLIB FDT and GZIP files,\0A\00", align 1
@.str.117 = private unnamed_addr constant [48 x i8] c" 3 = PAD files], default: 0\0A\00", align 1
@.str.118 = private unnamed_addr constant [64 x i8] c" -Z Optimize transmission rate (use more CPU)\0A\0A\00", align 1
@.str.119 = private unnamed_addr constant [20 x i8] c"Receiver options:\0A\0A\00", align 1
@.str.120 = private unnamed_addr constant [49 x i8] c" -A Receive files automatically\0A\00", align 1
@.str.121 = private unnamed_addr constant [74 x i8] c" -b:int Receiver's memory consumption [0 = high, 1 = medium,\0A\00", align 1
@.str.122 = private unnamed_addr constant [42 x i8] c" 2 = low], default: 1\0A\00", align 1
@.str.123 = private unnamed_addr constant [58 x i8] c" -B:str Base directory for downloaded files,\0A\00", align 1
@.str.124 = private unnamed_addr constant [33 x i8] c" default: %s\0A\00", align 1
@.str.125 = private unnamed_addr constant [16 x i8] c"flute-downloads\00", align 1
@.str.126 = private unnamed_addr constant [61 x i8] c" -c:int Maximum number of channels, default: %i\0A\00", align 1
@.str.127 = private unnamed_addr constant [75 x i8] c" -D:ull Reveiver will quit after this time (in seconds) if no\0A\00", align 1
@.str.128 = private unnamed_addr constant [71 x i8] c" packets is received from the session, default: %i\0A\00", align 1
@.str.129 = private unnamed_addr constant [50 x i8] c" -E Accept expired FDT Instances\0A\00", align 1
@.str.130 = private unnamed_addr constant [42 x i8] c" -F:str,str,... Files to be received\0A\00", align 1
@.str.131 = private unnamed_addr constant [75 x i8] c" -I:str Local interface name for IPv6 multicast join, use for\0A\00", align 1
@.str.132 = private unnamed_addr constant [72 x i8] c" example 'ifconfig' command to see interface names;\0A\00", align 1
@.str.133 = private unnamed_addr constant [42 x i8] c" otherwise OS default\0A\00", align 1
@.str.134 = private unnamed_addr constant [64 x i8] c" -M Use Source-Specific Multicast, default: no\0A\00", align 1
@.str.135 = private unnamed_addr constant [73 x i8] c" -N Name incomplete objects after the session has ended\0A\00", align 1
@.str.136 = private unnamed_addr constant [55 x i8] c" -o:ull TOI for the object to be received\0A\00", align 1
@.str.137 = private unnamed_addr constant [75 x i8] c" -R[:str] Use HTTP file repair with given config file, default:\0A\00", align 1
@.str.138 = private unnamed_addr constant [24 x i8] c" %s\0A\00", align 1
@.str.139 = private unnamed_addr constant [8 x i8] c"apd.xml\00", align 1
@.str.140 = private unnamed_addr constant [78 x i8] c" -s:str Source IPv4 or IPv6 address of this session. If not set,\0A\00", align 1
@.str.141 = private unnamed_addr constant [75 x i8] c" receiver locks to the first IP address found from the\0A\00", align 1
@.str.142 = private unnamed_addr constant [36 x i8] c" FLUTE packets.\0A\00", align 1
@.str.143 = private unnamed_addr constant [22 x i8] c"\0AExample use cases:\0A\0A\00", align 1
@.str.144 = private unnamed_addr constant [106 x i8] c"1. Send a file or directory n times\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -F:files/flute-draft.txt\0A\00", align 1
@.str.145 = private unnamed_addr constant [14 x i8] c"\09 -n:2\0A\0A\00", align 1
@.str.146 = private unnamed_addr constant [108 x i8] c"2. Send a file or directory in a loop\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -F:files/flute-draft.txt\0A\00", align 1
@.str.147 = private unnamed_addr constant [12 x i8] c"\09 -C\0A\0A\00", align 1
@.str.148 = private unnamed_addr constant [95 x i8] c"3. Send files defined in an FDT file\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -f:fdt2.xml\0A\0A\00", align 1
@.str.149 = private unnamed_addr constant [108 x i8] c"4. Send files defined in an FDT file in a loop\0A\0A\09flute -S -m:224.1.1.1 -p:4000 -t:2 -r:100 -f:fdt2.xml -C\0A\0A\00", align 1
@.str.150 = private unnamed_addr constant [84 x i8] c"5. Send using unicast\0A\0A\09flute -S -U -m:1.2.3.4 -p:4000 -t:2 -r:100 -f:fdt2.xml -C\0A\0A\00", align 1
@.str.151 = private unnamed_addr constant [74 x i8] c"6. Receive one object\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2 -o:1\0A\0A\00", align 1
@.str.152 = private unnamed_addr constant [89 x i8] c"7. Receive file(s) defined by file name(s)\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2\0A\00", align 1
@.str.153 = private unnamed_addr constant [48 x i8] c"\09 -F:files/flute-man.txt,flute-draft.txt\0A\0A\00", align 1
@.str.154 = private unnamed_addr constant [103 x i8] c"8. Receive file(s) defined by wild card option\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2 -F:*.jpg\0A\0A\00", align 1
@.str.155 = private unnamed_addr constant [86 x i8] c"9. Receive file(s) with User Interface\0A\0A\09flute -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2\0A\0A\00", align 1
@.str.156 = private unnamed_addr constant [97 x i8] c"10. Receive file(s) automatically from session\0A\0A\09flute -A -m:224.1.1.1 -p:4000 -t:2 -s:2.2.2.2\0A\0A\00", align 1
@.str.157 = private unnamed_addr constant [66 x i8] c"11. Receive using unicast\0A\0A\09flute -A -U -p:4000 -t:2 -s:2.2.2.2\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.33)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.34)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.35)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.43)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.44)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.47)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.48)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.49)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.50)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.51)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.52)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.53)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.54)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.55)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.56)
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.57)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.58)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.59)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.60)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.61)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.62)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.63)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.64)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.65)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.66, ptr noundef @.str.67, ptr noundef @.str.68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.69, ptr noundef @.str.70)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.71)
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.72, double noundef 5.000000e+00, double noundef 5.000000e+01)
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.73)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.74, i32 noundef 0)
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.75)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.76)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.77)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.78)
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.79)
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.80, i32 noundef 0)
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.81)
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.82)
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.83)
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.84)
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.85)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.86)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.87)
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.88, i32 noundef 1)
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.89)
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.90, i32 noundef 604800)
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.91)
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.92)
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.93, ptr noundef @.str.94)
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.95)
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.96)
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.97)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.98)
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.99)
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.100)
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.101)
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.102)
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.103, i32 noundef 1428)
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.104)
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.105, i32 noundef 64)
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.106, i32 noundef 1)
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.107)
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.108, i32 noundef 250)
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.109, ptr noundef @.str.110)
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.111, i32 noundef 1)
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.112)
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.113, i32 noundef 0)
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.114, i32 noundef 50)
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.115)
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.116)
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.117)
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.118)
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.119)
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.120)
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.121)
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.122)
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.123)
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.124, ptr noundef @.str.125)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.126, i32 noundef 1)
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.127)
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.128, i32 noundef 3600)
%126 = call i32 (ptr, ...) @printf(ptr noundef @.str.129)
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.130)
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.131)
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.132)
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.133)
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.134)
%132 = call i32 (ptr, ...) @printf(ptr noundef @.str.135)
%133 = call i32 (ptr, ...) @printf(ptr noundef @.str.136)
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.137)
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.138, ptr noundef @.str.139)
%136 = call i32 (ptr, ...) @printf(ptr noundef @.str.140)
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.141)
%138 = call i32 (ptr, ...) @printf(ptr noundef @.str.142)
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.143)
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.144)
%141 = call i32 (ptr, ...) @printf(ptr noundef @.str.145)
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.146)
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.147)
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.148)
%145 = call i32 (ptr, ...) @printf(ptr noundef @.str.149)
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.150)
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.151)
%148 = call i32 (ptr, ...) @printf(ptr noundef @.str.152)
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.153)
%150 = call i32 (ptr, ...) @printf(ptr noundef @.str.154)
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.155)
%152 = call i32 (ptr, ...) @printf(ptr noundef @.str.156)
%153 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
%154 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp874vkf7z.c'
source_filename = "/tmp/tmp874vkf7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(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 i64, ptr @errno, align 8
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @perror(ptr noundef %8)
br label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %10, %7
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = call i32 @Database_close(ptr noundef %17)
br label %19
19: ; preds = %16, %13
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @Database_close(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/tmp874vkf7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(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 i64, ptr @errno, align 8
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @perror(ptr noundef %8)
br label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %10, %7
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = call i32 @Database_close(ptr noundef %17)
br label %19
19: ; preds = %16, %13
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @Database_close(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/tmpvnef_i7o.c'
source_filename = "/tmp/tmpvnef_i7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Informe a palavra: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%[A-Za-z ]s\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Informe a constante K: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %78, %0
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %81
16: ; preds = %9
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sgt i32 %21, 65
br i1 %22, label %23, label %38
23: ; preds = %16
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp slt i32 %28, 90
br i1 %29, label %30, label %38
30: ; preds = %23
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = add nsw i32 %35, 32
%37 = trunc i32 %36 to i8
store i8 %37, ptr %33, align 1
br label %38
38: ; preds = %30, %23, %16
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 32
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %77
47: ; preds = %38
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %52, %53
%55 = icmp sgt i32 %54, 122
br i1 %55, label %56, label %67
56: ; preds = %47
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = load i32, ptr %2, align 4
%63 = add nsw i32 %61, %62
%64 = sub nsw i32 %63, 122
%65 = add nsw i32 96, %64
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %65)
br label %76
67: ; preds = %47
%68 = load i32, ptr %3, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = load i32, ptr %2, align 4
%74 = add nsw i32 %72, %73
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %74)
br label %76
76: ; preds = %67, %56
br label %77
77: ; preds = %76, %45
br label %78
78: ; preds = %77
%79 = load i32, ptr %3, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %3, align 4
br label %9, !llvm.loop !6
81: ; preds = %9
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvnef_i7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Informe a palavra: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%[A-Za-z ]s\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Informe a constante K: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %86
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %77
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp sgt i32 %20, 65
br i1 %21, label %22, label %37
22: ; preds = %15
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp slt i32 %27, 90
br i1 %28, label %29, label %37
29: ; preds = %22
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = add nsw i32 %34, 32
%36 = trunc i32 %35 to i8
store i8 %36, ptr %32, align 1
br label %37
37: ; preds = %29, %22, %15
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 32
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %76
46: ; preds = %37
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %51, %52
%54 = icmp sgt i32 %53, 122
br i1 %54, label %55, label %66
55: ; preds = %46
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = load i32, ptr %2, align 4
%62 = add nsw i32 %60, %61
%63 = sub nsw i32 %62, 122
%64 = add nsw i32 96, %63
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %64)
br label %75
66: ; preds = %46
%67 = load i32, ptr %3, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = load i32, ptr %2, align 4
%73 = add nsw i32 %71, %72
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %73)
br label %75
75: ; preds = %66, %55
br label %76
76: ; preds = %75, %44
br label %77
77: ; preds = %76
%78 = load i32, ptr %3, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %3, align 4
%80 = load i32, ptr %3, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %84, 0
br i1 %85, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %86
86: ; preds = %._crit_edge, %0
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp_ya9k47_.c'
source_filename = "/tmp/tmp_ya9k47_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fade(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %27, %4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %16, 255
br i1 %17, label %18, label %31
18: ; preds = %15
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %9, align 4
%21 = call i32 @analogWrite(i32 noundef %19, i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = call i32 @analogWrite(i32 noundef %22, i32 noundef 0)
%24 = load i32, ptr %8, align 4
%25 = call i32 @analogWrite(i32 noundef %24, i32 noundef 0)
%26 = call i32 @delay(i32 noundef 50)
br label %27
27: ; preds = %18
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %9, align 4
br label %15, !llvm.loop !6
31: ; preds = %15
store i32 255, ptr %10, align 4
br label %32
32: ; preds = %44, %31
%33 = load i32, ptr %10, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %48
35: ; preds = %32
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %10, align 4
%38 = call i32 @analogWrite(i32 noundef %36, i32 noundef %37)
%39 = load i32, ptr %7, align 4
%40 = call i32 @analogWrite(i32 noundef %39, i32 noundef 0)
%41 = load i32, ptr %8, align 4
%42 = call i32 @analogWrite(i32 noundef %41, i32 noundef 0)
%43 = call i32 @delay(i32 noundef 50)
br label %44
44: ; preds = %35
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %10, align 4
%47 = sub nsw i32 %46, %45
store i32 %47, ptr %10, align 4
br label %32, !llvm.loop !8
48: ; preds = %32
store i32 0, ptr %11, align 4
br label %49
49: ; preds = %61, %48
%50 = load i32, ptr %11, align 4
%51 = icmp slt i32 %50, 255
br i1 %51, label %52, label %65
52: ; preds = %49
%53 = load i32, ptr %6, align 4
%54 = call i32 @analogWrite(i32 noundef %53, i32 noundef 0)
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %11, align 4
%57 = call i32 @analogWrite(i32 noundef %55, i32 noundef %56)
%58 = load i32, ptr %8, align 4
%59 = call i32 @analogWrite(i32 noundef %58, i32 noundef 0)
%60 = call i32 @delay(i32 noundef 50)
br label %61
61: ; preds = %52
%62 = load i32, ptr %5, align 4
%63 = load i32, ptr %11, align 4
%64 = add nsw i32 %63, %62
store i32 %64, ptr %11, align 4
br label %49, !llvm.loop !9
65: ; preds = %49
store i32 255, ptr %12, align 4
br label %66
66: ; preds = %78, %65
%67 = load i32, ptr %12, align 4
%68 = icmp sgt i32 %67, 0
br i1 %68, label %69, label %82
69: ; preds = %66
%70 = load i32, ptr %6, align 4
%71 = call i32 @analogWrite(i32 noundef %70, i32 noundef 0)
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %12, align 4
%74 = call i32 @analogWrite(i32 noundef %72, i32 noundef %73)
%75 = load i32, ptr %8, align 4
%76 = call i32 @analogWrite(i32 noundef %75, i32 noundef 0)
%77 = call i32 @delay(i32 noundef 50)
br label %78
78: ; preds = %69
%79 = load i32, ptr %5, align 4
%80 = load i32, ptr %12, align 4
%81 = sub nsw i32 %80, %79
store i32 %81, ptr %12, align 4
br label %66, !llvm.loop !10
82: ; preds = %66
store i32 0, ptr %13, align 4
br label %83
83: ; preds = %95, %82
%84 = load i32, ptr %13, align 4
%85 = icmp slt i32 %84, 255
br i1 %85, label %86, label %99
86: ; preds = %83
%87 = load i32, ptr %6, align 4
%88 = call i32 @analogWrite(i32 noundef %87, i32 noundef 0)
%89 = load i32, ptr %7, align 4
%90 = call i32 @analogWrite(i32 noundef %89, i32 noundef 0)
%91 = load i32, ptr %8, align 4
%92 = load i32, ptr %13, align 4
%93 = call i32 @analogWrite(i32 noundef %91, i32 noundef %92)
%94 = call i32 @delay(i32 noundef 50)
br label %95
95: ; preds = %86
%96 = load i32, ptr %5, align 4
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %13, align 4
br label %83, !llvm.loop !11
99: ; preds = %83
store i32 255, ptr %14, align 4
br label %100
100: ; preds = %112, %99
%101 = load i32, ptr %14, align 4
%102 = icmp sgt i32 %101, 0
br i1 %102, label %103, label %116
103: ; preds = %100
%104 = load i32, ptr %6, align 4
%105 = call i32 @analogWrite(i32 noundef %104, i32 noundef 0)
%106 = load i32, ptr %7, align 4
%107 = call i32 @analogWrite(i32 noundef %106, i32 noundef 0)
%108 = load i32, ptr %8, align 4
%109 = load i32, ptr %14, align 4
%110 = call i32 @analogWrite(i32 noundef %108, i32 noundef %109)
%111 = call i32 @delay(i32 noundef 50)
br label %112
112: ; preds = %103
%113 = load i32, ptr %5, align 4
%114 = load i32, ptr %14, align 4
%115 = sub nsw i32 %114, %113
store i32 %115, ptr %14, align 4
br label %100, !llvm.loop !12
116: ; preds = %100
ret void
}
declare i32 @analogWrite(i32 noundef, i32 noundef) #1
declare i32 @delay(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ya9k47_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fade(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 255
br i1 %16, label %.lr.ph, label %32
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %26
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %9, align 4
%20 = call i32 @analogWrite(i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = call i32 @analogWrite(i32 noundef %21, i32 noundef 0)
%23 = load i32, ptr %8, align 4
%24 = call i32 @analogWrite(i32 noundef %23, i32 noundef 0)
%25 = call i32 @delay(i32 noundef 50)
br label %26
26: ; preds = %17
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp slt i32 %30, 255
br i1 %31, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %4
store i32 255, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %.lr.ph2, label %50
.lr.ph2: ; preds = %32
br label %35
35: ; preds = %.lr.ph2, %44
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %10, align 4
%38 = call i32 @analogWrite(i32 noundef %36, i32 noundef %37)
%39 = load i32, ptr %7, align 4
%40 = call i32 @analogWrite(i32 noundef %39, i32 noundef 0)
%41 = load i32, ptr %8, align 4
%42 = call i32 @analogWrite(i32 noundef %41, i32 noundef 0)
%43 = call i32 @delay(i32 noundef 50)
br label %44
44: ; preds = %35
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %10, align 4
%47 = sub nsw i32 %46, %45
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %50
50: ; preds = %._crit_edge3, %32
store i32 0, ptr %11, align 4
%51 = load i32, ptr %11, align 4
%52 = icmp slt i32 %51, 255
br i1 %52, label %.lr.ph5, label %68
.lr.ph5: ; preds = %50
br label %53
53: ; preds = %.lr.ph5, %62
%54 = load i32, ptr %6, align 4
%55 = call i32 @analogWrite(i32 noundef %54, i32 noundef 0)
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %11, align 4
%58 = call i32 @analogWrite(i32 noundef %56, i32 noundef %57)
%59 = load i32, ptr %8, align 4
%60 = call i32 @analogWrite(i32 noundef %59, i32 noundef 0)
%61 = call i32 @delay(i32 noundef 50)
br label %62
62: ; preds = %53
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %11, align 4
%65 = add nsw i32 %64, %63
store i32 %65, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp slt i32 %66, 255
br i1 %67, label %53, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %62
br label %68
68: ; preds = %._crit_edge6, %50
store i32 255, ptr %12, align 4
%69 = load i32, ptr %12, align 4
%70 = icmp sgt i32 %69, 0
br i1 %70, label %.lr.ph8, label %86
.lr.ph8: ; preds = %68
br label %71
71: ; preds = %.lr.ph8, %80
%72 = load i32, ptr %6, align 4
%73 = call i32 @analogWrite(i32 noundef %72, i32 noundef 0)
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %12, align 4
%76 = call i32 @analogWrite(i32 noundef %74, i32 noundef %75)
%77 = load i32, ptr %8, align 4
%78 = call i32 @analogWrite(i32 noundef %77, i32 noundef 0)
%79 = call i32 @delay(i32 noundef 50)
br label %80
80: ; preds = %71
%81 = load i32, ptr %5, align 4
%82 = load i32, ptr %12, align 4
%83 = sub nsw i32 %82, %81
store i32 %83, ptr %12, align 4
%84 = load i32, ptr %12, align 4
%85 = icmp sgt i32 %84, 0
br i1 %85, label %71, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %80
br label %86
86: ; preds = %._crit_edge9, %68
store i32 0, ptr %13, align 4
%87 = load i32, ptr %13, align 4
%88 = icmp slt i32 %87, 255
br i1 %88, label %.lr.ph11, label %104
.lr.ph11: ; preds = %86
br label %89
89: ; preds = %.lr.ph11, %98
%90 = load i32, ptr %6, align 4
%91 = call i32 @analogWrite(i32 noundef %90, i32 noundef 0)
%92 = load i32, ptr %7, align 4
%93 = call i32 @analogWrite(i32 noundef %92, i32 noundef 0)
%94 = load i32, ptr %8, align 4
%95 = load i32, ptr %13, align 4
%96 = call i32 @analogWrite(i32 noundef %94, i32 noundef %95)
%97 = call i32 @delay(i32 noundef 50)
br label %98
98: ; preds = %89
%99 = load i32, ptr %5, align 4
%100 = load i32, ptr %13, align 4
%101 = add nsw i32 %100, %99
store i32 %101, ptr %13, align 4
%102 = load i32, ptr %13, align 4
%103 = icmp slt i32 %102, 255
br i1 %103, label %89, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %98
br label %104
104: ; preds = %._crit_edge12, %86
store i32 255, ptr %14, align 4
%105 = load i32, ptr %14, align 4
%106 = icmp sgt i32 %105, 0
br i1 %106, label %.lr.ph14, label %122
.lr.ph14: ; preds = %104
br label %107
107: ; preds = %.lr.ph14, %116
%108 = load i32, ptr %6, align 4
%109 = call i32 @analogWrite(i32 noundef %108, i32 noundef 0)
%110 = load i32, ptr %7, align 4
%111 = call i32 @analogWrite(i32 noundef %110, i32 noundef 0)
%112 = load i32, ptr %8, align 4
%113 = load i32, ptr %14, align 4
%114 = call i32 @analogWrite(i32 noundef %112, i32 noundef %113)
%115 = call i32 @delay(i32 noundef 50)
br label %116
116: ; preds = %107
%117 = load i32, ptr %5, align 4
%118 = load i32, ptr %14, align 4
%119 = sub nsw i32 %118, %117
store i32 %119, ptr %14, align 4
%120 = load i32, ptr %14, align 4
%121 = icmp sgt i32 %120, 0
br i1 %121, label %107, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %116
br label %122
122: ; preds = %._crit_edge15, %104
ret void
}
declare i32 @analogWrite(i32 noundef, i32 noundef) #1
declare i32 @delay(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
|
; ModuleID = '/tmp/tmpm1_ex6xn.c'
source_filename = "/tmp/tmpm1_ex6xn.c"
target datalayout = "e-m:e-p270: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/tmpm1_ex6xn.c"
target datalayout = "e-m:e-p270: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/tmpi5pqegt0.c'
source_filename = "/tmp/tmpi5pqegt0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 147 should be 12\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_147() #0 {
%1 = call i32 @isqrt(i32 noundef 147)
%2 = icmp eq i32 %1, 12
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 740, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpi5pqegt0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 147 should be 12\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_147() #0 {
%1 = call i32 @isqrt(i32 noundef 147)
%2 = icmp eq i32 %1, 12
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 740, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(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/tmpolv0exi_.c'
source_filename = "/tmp/tmpolv0exi_.c"
target datalayout = "e-m:e-p270: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/tmpolv0exi_.c"
target datalayout = "e-m:e-p270: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/tmpbkauk_id.c'
source_filename = "/tmp/tmpbkauk_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bresenham_line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%21 = load i32, ptr %13, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %12, align 4
%24 = zext i32 %23 to i64
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %25, %26
%28 = call i32 @abs(i32 noundef %27) #2
store i32 %28, ptr %15, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %29, %30
%32 = call i32 @abs(i32 noundef %31) #2
store i32 %32, ptr %16, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %7
store i32 1, ptr %17, align 4
br label %38
37: ; preds = %7
store i32 -1, ptr %17, align 4
br label %38
38: ; preds = %37, %36
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 1, ptr %18, align 4
br label %44
43: ; preds = %38
store i32 -1, ptr %18, align 4
br label %44
44: ; preds = %43, %42
%45 = load i32, ptr %15, align 4
%46 = load i32, ptr %16, align 4
%47 = icmp sgt i32 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr %15, align 4
%50 = sdiv i32 %49, 2
store i32 %50, ptr %19, align 4
br label %55
51: ; preds = %44
%52 = load i32, ptr %16, align 4
%53 = sub nsw i32 0, %52
%54 = sdiv i32 %53, 2
store i32 %54, ptr %19, align 4
br label %55
55: ; preds = %51, %48
%56 = load ptr, ptr %14, align 8
%57 = load i32, ptr %9, align 4
%58 = sext i32 %57 to i64
%59 = mul nsw i64 %58, %24
%60 = getelementptr inbounds i8, ptr %56, i64 %59
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 35, ptr %63, align 1
br label %64
64: ; preds = %98, %55
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %10, align 4
%67 = icmp ne i32 %65, %66
br i1 %67, label %68, label %72
68: ; preds = %64
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp ne i32 %69, %70
br label %72
72: ; preds = %68, %64
%73 = phi i1 [ false, %64 ], [ %71, %68 ]
br i1 %73, label %74, label %107
74: ; preds = %72
%75 = load i32, ptr %19, align 4
store i32 %75, ptr %20, align 4
%76 = load i32, ptr %20, align 4
%77 = load i32, ptr %15, align 4
%78 = sub nsw i32 0, %77
%79 = icmp sgt i32 %76, %78
br i1 %79, label %80, label %87
80: ; preds = %74
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %19, align 4
%83 = sub nsw i32 %82, %81
store i32 %83, ptr %19, align 4
%84 = load i32, ptr %17, align 4
%85 = load i32, ptr %8, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %8, align 4
br label %87
87: ; preds = %80, %74
%88 = load i32, ptr %20, align 4
%89 = load i32, ptr %16, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %98
91: ; preds = %87
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %19, align 4
%94 = add nsw i32 %93, %92
store i32 %94, ptr %19, align 4
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %9, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %9, align 4
br label %98
98: ; preds = %91, %87
%99 = load ptr, ptr %14, align 8
%100 = load i32, ptr %9, align 4
%101 = sext i32 %100 to i64
%102 = mul nsw i64 %101, %24
%103 = getelementptr inbounds i8, ptr %99, i64 %102
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
store i8 35, ptr %106, align 1
br label %64, !llvm.loop !6
107: ; preds = %72
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbkauk_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bresenham_line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%21 = load i32, ptr %13, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %12, align 4
%24 = zext i32 %23 to i64
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %25, %26
%28 = call i32 @abs(i32 noundef %27) #2
store i32 %28, ptr %15, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %29, %30
%32 = call i32 @abs(i32 noundef %31) #2
store i32 %32, ptr %16, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %7
store i32 1, ptr %17, align 4
br label %38
37: ; preds = %7
store i32 -1, ptr %17, align 4
br label %38
38: ; preds = %37, %36
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 1, ptr %18, align 4
br label %44
43: ; preds = %38
store i32 -1, ptr %18, align 4
br label %44
44: ; preds = %43, %42
%45 = load i32, ptr %15, align 4
%46 = load i32, ptr %16, align 4
%47 = icmp sgt i32 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr %15, align 4
%50 = sdiv i32 %49, 2
store i32 %50, ptr %19, align 4
br label %55
51: ; preds = %44
%52 = load i32, ptr %16, align 4
%53 = sub nsw i32 0, %52
%54 = sdiv i32 %53, 2
store i32 %54, ptr %19, align 4
br label %55
55: ; preds = %51, %48
%56 = load ptr, ptr %14, align 8
%57 = load i32, ptr %9, align 4
%58 = sext i32 %57 to i64
%59 = mul nsw i64 %58, %24
%60 = getelementptr inbounds i8, ptr %56, i64 %59
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 35, ptr %63, align 1
br label %64
64: ; preds = %98, %55
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %10, align 4
%67 = icmp ne i32 %65, %66
br i1 %67, label %68, label %72
68: ; preds = %64
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp ne i32 %69, %70
br label %72
72: ; preds = %68, %64
%73 = phi i1 [ false, %64 ], [ %71, %68 ]
br i1 %73, label %74, label %107
74: ; preds = %72
%75 = load i32, ptr %19, align 4
store i32 %75, ptr %20, align 4
%76 = load i32, ptr %20, align 4
%77 = load i32, ptr %15, align 4
%78 = sub nsw i32 0, %77
%79 = icmp sgt i32 %76, %78
br i1 %79, label %80, label %87
80: ; preds = %74
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %19, align 4
%83 = sub nsw i32 %82, %81
store i32 %83, ptr %19, align 4
%84 = load i32, ptr %17, align 4
%85 = load i32, ptr %8, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %8, align 4
br label %87
87: ; preds = %80, %74
%88 = load i32, ptr %20, align 4
%89 = load i32, ptr %16, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %98
91: ; preds = %87
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %19, align 4
%94 = add nsw i32 %93, %92
store i32 %94, ptr %19, align 4
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %9, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %9, align 4
br label %98
98: ; preds = %91, %87
%99 = load ptr, ptr %14, align 8
%100 = load i32, ptr %9, align 4
%101 = sext i32 %100 to i64
%102 = mul nsw i64 %101, %24
%103 = getelementptr inbounds i8, ptr %99, i64 %102
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
store i8 35, ptr %106, align 1
br label %64, !llvm.loop !6
107: ; preds = %72
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt7unkrqn.c'
source_filename = "/tmp/tmpt7unkrqn.c"
target datalayout = "e-m:e-p270: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/tmpt7unkrqn.c"
target datalayout = "e-m:e-p270: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/tmpjdtbdusp.c'
source_filename = "/tmp/tmpjdtbdusp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %3, align 4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store ptr %15, ptr %4, align 8
br label %16
16: ; preds = %21, %1
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 32
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 -1
store ptr %23, ptr %4, align 8
br label %16, !llvm.loop !6
24: ; preds = %16
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 -1
store ptr %26, ptr %4, align 8
store i32 1, ptr %5, align 4
%27 = load ptr, ptr %4, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
switch i32 %29, label %33 [
i32 71, label %30
i32 77, label %31
i32 75, label %32
]
30: ; preds = %24
store i32 1073741824, ptr %5, align 4
br label %34
31: ; preds = %24
store i32 1048576, ptr %5, align 4
br label %34
32: ; preds = %24
store i32 1024, ptr %5, align 4
br label %34
33: ; preds = %24
br label %34
34: ; preds = %33, %32, %31, %30
%35 = load ptr, ptr %2, align 8
%36 = call i32 @atoi(ptr noundef %35)
%37 = load i32, ptr %5, align 4
%38 = mul nsw i32 %36, %37
ret i32 %38
}
declare i32 @assert(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjdtbdusp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %3, align 4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 32
br i1 %19, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %20
20: ; preds = %.lr.ph, %20
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 -1
store ptr %22, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 32
br i1 %26, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %1
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 -1
store ptr %29, ptr %4, align 8
store i32 1, ptr %5, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
switch i32 %32, label %36 [
i32 71, label %33
i32 77, label %34
i32 75, label %35
]
33: ; preds = %27
store i32 1073741824, ptr %5, align 4
br label %37
34: ; preds = %27
store i32 1048576, ptr %5, align 4
br label %37
35: ; preds = %27
store i32 1024, ptr %5, align 4
br label %37
36: ; preds = %27
br label %37
37: ; preds = %36, %35, %34, %33
%38 = load ptr, ptr %2, align 8
%39 = call i32 @atoi(ptr noundef %38)
%40 = load i32, ptr %5, align 4
%41 = mul nsw i32 %39, %40
ret i32 %41
}
declare i32 @assert(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqjh5rktf.c'
source_filename = "/tmp/tmpqjh5rktf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"AaaBbCccDdd\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"aaa_bb_ccc_ddd\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Input is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"result is %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test22() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = mul nsw i32 %8, 2
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = mul nsw i32 %14, 2
%16 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @Pascal2DownLineX(ptr noundef %17, ptr noundef %4)
%19 = load ptr, ptr %4, align 8
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %4, align 8
%23 = call i64 @strcmp(ptr noundef %21, ptr noundef %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %0
%26 = load ptr, ptr %4, align 8
%27 = call i32 @free(ptr noundef %26)
store i32 1, ptr %1, align 4
br label %29
28: ; preds = %0
store i32 0, ptr %1, align 4
br label %29
29: ; preds = %28, %25
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Pascal2DownLineX(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjh5rktf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"AaaBbCccDdd\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"aaa_bb_ccc_ddd\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Input is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"result is %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test22() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = mul nsw i32 %8, 2
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = mul nsw i32 %14, 2
%16 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @Pascal2DownLineX(ptr noundef %17, ptr noundef %4)
%19 = load ptr, ptr %4, align 8
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %4, align 8
%23 = call i64 @strcmp(ptr noundef %21, ptr noundef %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %0
%26 = load ptr, ptr %4, align 8
%27 = call i32 @free(ptr noundef %26)
store i32 1, ptr %1, align 4
br label %29
28: ; preds = %0
store i32 0, ptr %1, align 4
br label %29
29: ; preds = %28, %25
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Pascal2DownLineX(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr6hv_tj0.c'
source_filename = "/tmp/tmpr6hv_tj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xd6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0xd6() #0 {
%1 = call i64 @isupper(i32 noundef 214)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1075, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr6hv_tj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xd6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0xd6() #0 {
%1 = call i64 @isupper(i32 noundef 214)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1075, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpphisc39a.c'
source_filename = "/tmp/tmpphisc39a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_metamisc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @mf_write_meta_event(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @mf_write_meta_event(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/tmpphisc39a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_metamisc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @mf_write_meta_event(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @mf_write_meta_event(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/tmp1vqljbhd.c'
source_filename = "/tmp/tmp1vqljbhd.c"
target datalayout = "e-m:e-p270: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.region_info_user = type { i32, i32, i32, i32 }
%struct.anon = type { ptr, i32 }
%struct.mtd_info_user = type { i32, i32, i32, i32, i32, i32 }
@showinfo.region = internal global [1024 x %struct.region_info_user] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c"MEMGETINFO\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"MEMGETREGIONCOUNT\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"mtd.type = \00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"MTD_ABSENT\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"MTD_RAM\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"MTD_ROM\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"MTD_NORFLASH\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"MTD_NANDFLASH\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"MTD_DATAFLASH\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"MTD_UBIVOLUME\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"(unknown type - new MTD API maybe?)\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"\0Amtd.flags = \00", align 1
@MTD_CAP_ROM = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [12 x i8] c"MTD_CAP_ROM\00", align 1
@MTD_CAP_RAM = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [12 x i8] c"MTD_CAP_RAM\00", align 1
@MTD_CAP_NORFLASH = dso_local global i32 0, align 4
@.str.14 = private unnamed_addr constant [17 x i8] c"MTD_CAP_NORFLASH\00", align 1
@MTD_CAP_NANDFLASH = dso_local global i32 0, align 4
@.str.15 = private unnamed_addr constant [18 x i8] c"MTD_CAP_NANDFLASH\00", align 1
@.str.16 = private unnamed_addr constant [14 x i8] c"MTD_WRITEABLE\00", align 1
@showinfo.flags = internal global [5 x %struct.anon] [%struct.anon { ptr @.str.16, i32 128 }, %struct.anon { ptr @.str.17, i32 137 }, %struct.anon { ptr @.str.18, i32 133 }, %struct.anon { ptr @.str.19, i32 132 }, %struct.anon { ptr null, i32 -1 }], align 16
@.str.17 = private unnamed_addr constant [18 x i8] c"MTD_BIT_WRITEABLE\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"MTD_NO_ERASE\00", align 1
@.str.19 = private unnamed_addr constant [17 x i8] c"MTD_POWERUP_LOCK\00", align 1
@.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.21 = private unnamed_addr constant [6 x i8] c" | %s\00", align 1
@.str.22 = private unnamed_addr constant [13 x i8] c"\0Amtd.size = \00", align 1
@.str.23 = private unnamed_addr constant [18 x i8] c"\0Amtd.erasesize = \00", align 1
@.str.24 = private unnamed_addr constant [18 x i8] c"\0Amtd.writesize = \00", align 1
@.str.25 = private unnamed_addr constant [16 x i8] c"\0Amtd.oobsize = \00", align 1
@.str.26 = private unnamed_addr constant [16 x i8] c"\0Aregions = %d\0A\0A\00", align 1
@.str.27 = private unnamed_addr constant [51 x i8] c"region[%d].offset = 0x%.8x\0Aregion[%d].erasesize = \00", align 1
@.str.28 = private unnamed_addr constant [56 x i8] c"\0Aregion[%d].numblocks = %d\0Aregion[%d].regionindex = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @showinfo(i32 noundef %0) #0 {
%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
%7 = alloca %struct.mtd_info_user, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @getmeminfo(i32 noundef %9, ptr noundef %7)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %177
15: ; preds = %1
%16 = load i32, ptr %3, align 4
%17 = call i32 @getregions(i32 noundef %16, ptr noundef @showinfo.region, ptr noundef %6)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %177
22: ; preds = %15
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%24 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 0
%25 = load i32, ptr %24, align 4
switch i32 %25, label %40 [
i32 138, label %26
i32 131, label %28
i32 130, label %30
i32 134, label %32
i32 135, label %34
i32 136, label %36
i32 129, label %38
]
26: ; preds = %22
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %42
28: ; preds = %22
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %42
30: ; preds = %22
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %42
32: ; preds = %22
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %42
34: ; preds = %22
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %42
36: ; preds = %22
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %42
38: ; preds = %22
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %40
40: ; preds = %22, %38
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %42
42: ; preds = %40, %36, %34, %32, %30, %28, %26
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%44 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr @MTD_CAP_ROM, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %122
50: ; preds = %42
%51 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr @MTD_CAP_RAM, align 4
%54 = icmp eq i32 %52, %53
br i1 %54, label %55, label %57
55: ; preds = %50
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %121
57: ; preds = %50
%58 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr @MTD_CAP_NORFLASH, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %64
62: ; preds = %57
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %120
64: ; preds = %57
%65 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr @MTD_CAP_NANDFLASH, align 4
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %71
69: ; preds = %64
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %119
71: ; preds = %64
%72 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%73 = load i32, ptr %72, align 4
%74 = icmp eq i32 %73, 128
br i1 %74, label %75, label %77
75: ; preds = %71
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
br label %118
77: ; preds = %71
store i32 1, ptr %8, align 4
store i32 0, ptr %4, align 4
br label %78
78: ; preds = %114, %77
%79 = load i32, ptr %4, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %80
%82 = getelementptr inbounds %struct.anon, ptr %81, i32 0, i32 0
%83 = load ptr, ptr %82, align 16
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %117
85: ; preds = %78
%86 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%87 = load i32, ptr %86, align 4
%88 = load i32, ptr %4, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %89
%91 = getelementptr inbounds %struct.anon, ptr %90, i32 0, i32 1
%92 = load i32, ptr %91, align 8
%93 = and i32 %87, %92
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %113
95: ; preds = %85
%96 = load i32, ptr %8, align 4
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %105
98: ; preds = %95
%99 = load i32, ptr %4, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %100
%102 = getelementptr inbounds %struct.anon, ptr %101, i32 0, i32 0
%103 = load ptr, ptr %102, align 16
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, ptr noundef %103)
store i32 0, ptr %8, align 4
br label %112
105: ; preds = %95
%106 = load i32, ptr %4, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %107
%109 = getelementptr inbounds %struct.anon, ptr %108, i32 0, i32 0
%110 = load ptr, ptr %109, align 16
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %110)
br label %112
112: ; preds = %105, %98
br label %113
113: ; preds = %112, %85
br label %114
114: ; preds = %113
%115 = load i32, ptr %4, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %4, align 4
br label %78, !llvm.loop !6
117: ; preds = %78
br label %118
118: ; preds = %117, %75
br label %119
119: ; preds = %118, %69
br label %120
120: ; preds = %119, %62
br label %121
121: ; preds = %120, %55
br label %122
122: ; preds = %121, %48
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%124 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 5
%125 = load i32, ptr %124, align 4
%126 = call i32 @printsize(i32 noundef %125)
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%128 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 4
%129 = load i32, ptr %128, align 4
%130 = call i32 @printsize(i32 noundef %129)
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
%132 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 3
%133 = load i32, ptr %132, align 4
%134 = call i32 @printsize(i32 noundef %133)
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%136 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 2
%137 = load i32, ptr %136, align 4
%138 = call i32 @printsize(i32 noundef %137)
%139 = load i32, ptr %6, align 4
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %139)
store i32 0, ptr %4, align 4
br label %141
141: ; preds = %173, %122
%142 = load i32, ptr %4, align 4
%143 = load i32, ptr %6, align 4
%144 = icmp slt i32 %142, %143
br i1 %144, label %145, label %176
145: ; preds = %141
%146 = load i32, ptr %4, align 4
%147 = load i32, ptr %4, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %148
%150 = getelementptr inbounds %struct.region_info_user, ptr %149, i32 0, i32 0
%151 = load i32, ptr %150, align 16
%152 = load i32, ptr %4, align 4
%153 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %146, i32 noundef %151, i32 noundef %152)
%154 = load i32, ptr %4, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %155
%157 = getelementptr inbounds %struct.region_info_user, ptr %156, i32 0, i32 3
%158 = load i32, ptr %157, align 4
%159 = call i32 @printsize(i32 noundef %158)
%160 = load i32, ptr %4, align 4
%161 = load i32, ptr %4, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %162
%164 = getelementptr inbounds %struct.region_info_user, ptr %163, i32 0, i32 1
%165 = load i32, ptr %164, align 4
%166 = load i32, ptr %4, align 4
%167 = load i32, ptr %4, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %168
%170 = getelementptr inbounds %struct.region_info_user, ptr %169, i32 0, i32 2
%171 = load i32, ptr %170, align 8
%172 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i32 noundef %160, i32 noundef %165, i32 noundef %166, i32 noundef %171)
br label %173
173: ; preds = %145
%174 = load i32, ptr %4, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %4, align 4
br label %141, !llvm.loop !8
176: ; preds = %141
store i32 0, ptr %2, align 4
br label %177
177: ; preds = %176, %20, %13
%178 = load i32, ptr %2, align 4
ret i32 %178
}
declare i32 @getmeminfo(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getregions(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printsize(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/tmp1vqljbhd.c"
target datalayout = "e-m:e-p270: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.region_info_user = type { i32, i32, i32, i32 }
%struct.anon = type { ptr, i32 }
%struct.mtd_info_user = type { i32, i32, i32, i32, i32, i32 }
@showinfo.region = internal global [1024 x %struct.region_info_user] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c"MEMGETINFO\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"MEMGETREGIONCOUNT\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"mtd.type = \00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"MTD_ABSENT\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"MTD_RAM\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"MTD_ROM\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"MTD_NORFLASH\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"MTD_NANDFLASH\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"MTD_DATAFLASH\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"MTD_UBIVOLUME\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"(unknown type - new MTD API maybe?)\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"\0Amtd.flags = \00", align 1
@MTD_CAP_ROM = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [12 x i8] c"MTD_CAP_ROM\00", align 1
@MTD_CAP_RAM = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [12 x i8] c"MTD_CAP_RAM\00", align 1
@MTD_CAP_NORFLASH = dso_local global i32 0, align 4
@.str.14 = private unnamed_addr constant [17 x i8] c"MTD_CAP_NORFLASH\00", align 1
@MTD_CAP_NANDFLASH = dso_local global i32 0, align 4
@.str.15 = private unnamed_addr constant [18 x i8] c"MTD_CAP_NANDFLASH\00", align 1
@.str.16 = private unnamed_addr constant [14 x i8] c"MTD_WRITEABLE\00", align 1
@showinfo.flags = internal global [5 x %struct.anon] [%struct.anon { ptr @.str.16, i32 128 }, %struct.anon { ptr @.str.17, i32 137 }, %struct.anon { ptr @.str.18, i32 133 }, %struct.anon { ptr @.str.19, i32 132 }, %struct.anon { ptr null, i32 -1 }], align 16
@.str.17 = private unnamed_addr constant [18 x i8] c"MTD_BIT_WRITEABLE\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"MTD_NO_ERASE\00", align 1
@.str.19 = private unnamed_addr constant [17 x i8] c"MTD_POWERUP_LOCK\00", align 1
@.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.21 = private unnamed_addr constant [6 x i8] c" | %s\00", align 1
@.str.22 = private unnamed_addr constant [13 x i8] c"\0Amtd.size = \00", align 1
@.str.23 = private unnamed_addr constant [18 x i8] c"\0Amtd.erasesize = \00", align 1
@.str.24 = private unnamed_addr constant [18 x i8] c"\0Amtd.writesize = \00", align 1
@.str.25 = private unnamed_addr constant [16 x i8] c"\0Amtd.oobsize = \00", align 1
@.str.26 = private unnamed_addr constant [16 x i8] c"\0Aregions = %d\0A\0A\00", align 1
@.str.27 = private unnamed_addr constant [51 x i8] c"region[%d].offset = 0x%.8x\0Aregion[%d].erasesize = \00", align 1
@.str.28 = private unnamed_addr constant [56 x i8] c"\0Aregion[%d].numblocks = %d\0Aregion[%d].regionindex = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @showinfo(i32 noundef %0) #0 {
%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
%7 = alloca %struct.mtd_info_user, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @getmeminfo(i32 noundef %9, ptr noundef %7)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %183
15: ; preds = %1
%16 = load i32, ptr %3, align 4
%17 = call i32 @getregions(i32 noundef %16, ptr noundef @showinfo.region, ptr noundef %6)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %183
22: ; preds = %15
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%24 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 0
%25 = load i32, ptr %24, align 4
switch i32 %25, label %40 [
i32 138, label %26
i32 131, label %28
i32 130, label %30
i32 134, label %32
i32 135, label %34
i32 136, label %36
i32 129, label %38
]
26: ; preds = %22
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %42
28: ; preds = %22
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %42
30: ; preds = %22
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %42
32: ; preds = %22
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %42
34: ; preds = %22
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %42
36: ; preds = %22
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %42
38: ; preds = %22
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %40
40: ; preds = %38, %22
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %42
42: ; preds = %40, %36, %34, %32, %30, %28, %26
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%44 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr @MTD_CAP_ROM, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %126
50: ; preds = %42
%51 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr @MTD_CAP_RAM, align 4
%54 = icmp eq i32 %52, %53
br i1 %54, label %55, label %57
55: ; preds = %50
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %125
57: ; preds = %50
%58 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr @MTD_CAP_NORFLASH, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %64
62: ; preds = %57
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %124
64: ; preds = %57
%65 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr @MTD_CAP_NANDFLASH, align 4
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %71
69: ; preds = %64
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %123
71: ; preds = %64
%72 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%73 = load i32, ptr %72, align 4
%74 = icmp eq i32 %73, 128
br i1 %74, label %75, label %77
75: ; preds = %71
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
br label %122
77: ; preds = %71
store i32 1, ptr %8, align 4
store i32 0, ptr %4, align 4
%78 = load i32, ptr %4, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %79
%81 = load ptr, ptr %80, align 16
%82 = icmp ne ptr %81, null
br i1 %82, label %.lr.ph, label %121
.lr.ph: ; preds = %77
br label %83
83: ; preds = %.lr.ph, %112
%84 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 1
%85 = load i32, ptr %84, align 4
%86 = load i32, ptr %4, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %87
%89 = getelementptr inbounds %struct.anon, ptr %88, i32 0, i32 1
%90 = load i32, ptr %89, align 8
%91 = and i32 %85, %90
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %111
93: ; preds = %83
%94 = load i32, ptr %8, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %103
96: ; preds = %93
%97 = load i32, ptr %4, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %98
%100 = getelementptr inbounds %struct.anon, ptr %99, i32 0, i32 0
%101 = load ptr, ptr %100, align 16
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, ptr noundef %101)
store i32 0, ptr %8, align 4
br label %110
103: ; preds = %93
%104 = load i32, ptr %4, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %105
%107 = getelementptr inbounds %struct.anon, ptr %106, i32 0, i32 0
%108 = load ptr, ptr %107, align 16
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %108)
br label %110
110: ; preds = %103, %96
br label %111
111: ; preds = %110, %83
br label %112
112: ; preds = %111
%113 = load i32, ptr %4, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %4, align 4
%115 = load i32, ptr %4, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [5 x %struct.anon], ptr @showinfo.flags, i64 0, i64 %116
%118 = getelementptr inbounds %struct.anon, ptr %117, i32 0, i32 0
%119 = load ptr, ptr %118, align 16
%120 = icmp ne ptr %119, null
br i1 %120, label %83, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %112
br label %121
121: ; preds = %._crit_edge, %77
br label %122
122: ; preds = %121, %75
br label %123
123: ; preds = %122, %69
br label %124
124: ; preds = %123, %62
br label %125
125: ; preds = %124, %55
br label %126
126: ; preds = %125, %48
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%128 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 5
%129 = load i32, ptr %128, align 4
%130 = call i32 @printsize(i32 noundef %129)
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%132 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 4
%133 = load i32, ptr %132, align 4
%134 = call i32 @printsize(i32 noundef %133)
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
%136 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 3
%137 = load i32, ptr %136, align 4
%138 = call i32 @printsize(i32 noundef %137)
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
%140 = getelementptr inbounds %struct.mtd_info_user, ptr %7, i32 0, i32 2
%141 = load i32, ptr %140, align 4
%142 = call i32 @printsize(i32 noundef %141)
%143 = load i32, ptr %6, align 4
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %143)
store i32 0, ptr %4, align 4
%145 = load i32, ptr %4, align 4
%146 = load i32, ptr %6, align 4
%147 = icmp slt i32 %145, %146
br i1 %147, label %.lr.ph2, label %182
.lr.ph2: ; preds = %126
br label %148
148: ; preds = %.lr.ph2, %176
%149 = load i32, ptr %4, align 4
%150 = load i32, ptr %4, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %151
%153 = getelementptr inbounds %struct.region_info_user, ptr %152, i32 0, i32 0
%154 = load i32, ptr %153, align 16
%155 = load i32, ptr %4, align 4
%156 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %149, i32 noundef %154, i32 noundef %155)
%157 = load i32, ptr %4, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %158
%160 = getelementptr inbounds %struct.region_info_user, ptr %159, i32 0, i32 3
%161 = load i32, ptr %160, align 4
%162 = call i32 @printsize(i32 noundef %161)
%163 = load i32, ptr %4, align 4
%164 = load i32, ptr %4, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %165
%167 = getelementptr inbounds %struct.region_info_user, ptr %166, i32 0, i32 1
%168 = load i32, ptr %167, align 4
%169 = load i32, ptr %4, align 4
%170 = load i32, ptr %4, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds [1024 x %struct.region_info_user], ptr @showinfo.region, i64 0, i64 %171
%173 = getelementptr inbounds %struct.region_info_user, ptr %172, i32 0, i32 2
%174 = load i32, ptr %173, align 8
%175 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i32 noundef %163, i32 noundef %168, i32 noundef %169, i32 noundef %174)
br label %176
176: ; preds = %148
%177 = load i32, ptr %4, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %4, align 4
%179 = load i32, ptr %4, align 4
%180 = load i32, ptr %6, align 4
%181 = icmp slt i32 %179, %180
br i1 %181, label %148, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %176
br label %182
182: ; preds = %._crit_edge3, %126
store i32 0, ptr %2, align 4
br label %183
183: ; preds = %182, %20, %13
%184 = load i32, ptr %2, align 4
ret i32 %184
}
declare i32 @getmeminfo(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getregions(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printsize(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/tmpptprrfd0.c'
source_filename = "/tmp/tmpptprrfd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"The number of control character:%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"The number of space character:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"The number of digit character:%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"The number of lower character:%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"The number of upper character:%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"The number of punctuation character:%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [47 x i8] c"The number of unable to be print character:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [7 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 28, i1 false)
%3 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @percentage(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%6 = load i32, ptr %5, align 16
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 1
%9 = load i32, ptr %8, align 4
%10 = call i32 @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 2
%12 = load i32, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str.3, i32 noundef %12)
%14 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 3
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str.4, i32 noundef %15)
%17 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 4
%18 = load i32, ptr %17, align 16
%19 = call i32 @printf(ptr noundef @.str.5, i32 noundef %18)
%20 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 5
%21 = load i32, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str.6, i32 noundef %21)
%23 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
%24 = load i32, ptr %23, align 8
%25 = call i32 @printf(ptr noundef @.str.7, i32 noundef %24)
%26 = call i32 (...) @getchar()
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 i32 @percentage(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpptprrfd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"The number of control character:%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"The number of space character:%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"The number of digit character:%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"The number of lower character:%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"The number of upper character:%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"The number of punctuation character:%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [47 x i8] c"The number of unable to be print character:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [7 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 28, i1 false)
%3 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @percentage(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0
%6 = load i32, ptr %5, align 16
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 1
%9 = load i32, ptr %8, align 4
%10 = call i32 @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 2
%12 = load i32, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str.3, i32 noundef %12)
%14 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 3
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str.4, i32 noundef %15)
%17 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 4
%18 = load i32, ptr %17, align 16
%19 = call i32 @printf(ptr noundef @.str.5, i32 noundef %18)
%20 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 5
%21 = load i32, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str.6, i32 noundef %21)
%23 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 6
%24 = load i32, ptr %23, align 8
%25 = call i32 @printf(ptr noundef @.str.7, i32 noundef %24)
%26 = call i32 (...) @getchar()
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 i32 @percentage(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @getchar(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
|
; ModuleID = '/tmp/tmp511q46ai.c'
source_filename = "/tmp/tmp511q46ai.c"
target datalayout = "e-m:e-p270: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/tmp511q46ai.c"
target datalayout = "e-m:e-p270: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/tmppy6b515y.c'
source_filename = "/tmp/tmppy6b515y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vle_compl_add_match(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 @strdup(ptr noundef %3)
%5 = call i32 @add_match(i32 noundef %4)
ret i32 %5
}
declare i32 @add_match(i32 noundef) #1
declare i32 @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/tmppy6b515y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vle_compl_add_match(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 @strdup(ptr noundef %3)
%5 = call i32 @add_match(i32 noundef %4)
ret i32 %5
}
declare i32 @add_match(i32 noundef) #1
declare i32 @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/tmpg6ftgsxc.c'
source_filename = "/tmp/tmpg6ftgsxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PERDummyDeInit() #0 {
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/tmpg6ftgsxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PERDummyDeInit() #0 {
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.