llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp43x1vlhr.c'
source_filename = "/tmp/tmp43x1vlhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong allocsize(0) uwtable
define dso_local ptr @malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @ebbrt_newlib_malloc(i64 noundef %3)
ret ptr %4
}
declare ptr @ebbrt_newlib_malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong allocsize(0) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp43x1vlhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong allocsize(0) uwtable
define dso_local ptr @malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @ebbrt_newlib_malloc(i64 noundef %3)
ret ptr %4
}
declare ptr @ebbrt_newlib_malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong allocsize(0) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuukar8xb.c'
source_filename = "/tmp/tmpuukar8xb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"st1 value was %i instead of 1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @get_stodep_value()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 1
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
store i32 -1, ptr %1, align 4
br label %10
9: ; preds = %0
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %9, %6
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @get_stodep_value(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuukar8xb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"st1 value was %i instead of 1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @get_stodep_value()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 1
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
store i32 -1, ptr %1, align 4
br label %10
9: ; preds = %0
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %9, %6
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @get_stodep_value(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp869mgeok.c'
source_filename = "/tmp/tmp869mgeok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @getLastId(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %17
11: ; preds = %1
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fread(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %11, %10
%18 = load i32, ptr %2, align 4
ret i32 %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp869mgeok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @getLastId(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %17
11: ; preds = %1
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fread(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %11, %10
%18 = load i32, ptr %2, align 4
ret i32 %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp82qa2_4e.c'
source_filename = "/tmp/tmp82qa2_4e.c"
target datalayout = "e-m:e-p270: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/tmp82qa2_4e.c"
target datalayout = "e-m:e-p270: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/tmpe8kn11e4.c'
source_filename = "/tmp/tmpe8kn11e4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"Usage: tvbr [-hvq] [-d <path/to/etc>] [-c <card>[,<card>[...]]] <hostname>\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c" -h, --help Display this help\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c" -v, --verbose Verbose output\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c" -q, --quiet Quiet output\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c" -d, --confdir=PATH Configuration directory\0A\00", align 1
@.str.5 = private unnamed_addr constant [101 x i8] c" -c, --cards=CARDLIST Only cards in CARDLIST are capable DVB cards (comma-separated list of int)\0A\00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c" <hostname> Local hostname (related to streams.conf)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @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/tmpe8kn11e4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"Usage: tvbr [-hvq] [-d <path/to/etc>] [-c <card>[,<card>[...]]] <hostname>\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c" -h, --help Display this help\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c" -v, --verbose Verbose output\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c" -q, --quiet Quiet output\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c" -d, --confdir=PATH Configuration directory\0A\00", align 1
@.str.5 = private unnamed_addr constant [101 x i8] c" -c, --cards=CARDLIST Only cards in CARDLIST are capable DVB cards (comma-separated list of int)\0A\00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c" <hostname> Local hostname (related to streams.conf)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @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/tmp_ol6l1x3.c'
source_filename = "/tmp/tmp_ol6l1x3.c"
target datalayout = "e-m:e-p270: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/tmp_ol6l1x3.c"
target datalayout = "e-m:e-p270: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/tmphz913r06.c'
source_filename = "/tmp/tmphz913r06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gettime() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i32, ptr %3, align 4
%5 = mul nsw i32 %4, 1000000
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %5, %7
%9 = sdiv i32 %8, 1000
ret i32 %9
}
declare i32 @gettimeofday(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/tmphz913r06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gettime() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i32, ptr %3, align 4
%5 = mul nsw i32 %4, 1000000
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %5, %7
%9 = sdiv i32 %8, 1000
ret i32 %9
}
declare i32 @gettimeofday(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/tmpen8v5yv3.c'
source_filename = "/tmp/tmpen8v5yv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s_%s.%s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s_%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Utils_StrAppend(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 [128 x i8], align 16
%8 = alloca [128 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 128, i1 false)
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strlen(ptr noundef %11)
%13 = trunc i64 %12 to i32
store i32 %13, ptr %10, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %10, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 @Utils_StrChr(ptr noundef %14, i32 noundef 1, i32 noundef %16, i8 noundef signext 46)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %40
20: ; preds = %3
%21 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %9, align 4
%24 = sub i32 %23, 1
%25 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %24)
%26 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %9, align 4
%33 = sub nsw i32 %31, %32
%34 = call i32 @memcpy(ptr noundef %26, ptr noundef %30, i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%39 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str, ptr noundef %36, ptr noundef %37, ptr noundef %38)
br label %45
40: ; preds = %3
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %41, ptr noundef @.str.1, ptr noundef %42, ptr noundef %43)
br label %45
45: ; preds = %40, %20
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @strlen(ptr noundef) #2
declare i32 @Utils_StrChr(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpen8v5yv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s_%s.%s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s_%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Utils_StrAppend(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 [128 x i8], align 16
%8 = alloca [128 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 128, i1 false)
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strlen(ptr noundef %11)
%13 = trunc i64 %12 to i32
store i32 %13, ptr %10, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %10, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 @Utils_StrChr(ptr noundef %14, i32 noundef 1, i32 noundef %16, i8 noundef signext 46)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %40
20: ; preds = %3
%21 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %9, align 4
%24 = sub i32 %23, 1
%25 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %24)
%26 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %9, align 4
%33 = sub nsw i32 %31, %32
%34 = call i32 @memcpy(ptr noundef %26, ptr noundef %30, i32 noundef %33)
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%39 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str, ptr noundef %36, ptr noundef %37, ptr noundef %38)
br label %45
40: ; preds = %3
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %41, ptr noundef @.str.1, ptr noundef %42, ptr noundef %43)
br label %45
45: ; preds = %40, %20
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @strlen(ptr noundef) #2
declare i32 @Utils_StrChr(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmppt3365mr.c'
source_filename = "/tmp/tmppt3365mr.c"
target datalayout = "e-m:e-p270: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/tmppt3365mr.c"
target datalayout = "e-m:e-p270: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/tmphgdskcgw.c'
source_filename = "/tmp/tmphgdskcgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @b()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @b(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphgdskcgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @b()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @b(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkyhe5grx.c'
source_filename = "/tmp/tmpkyhe5grx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @limparTela() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @checkSO()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @system(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @system(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @checkSO(...) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkyhe5grx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @limparTela() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @checkSO()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @system(ptr noundef @.str)
br label %9
7: ; preds = %0
%8 = call i32 @system(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @checkSO(...) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpticeqnik.c'
source_filename = "/tmp/tmpticeqnik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @sigsetjmp(i32 noundef %3, i32 noundef 0)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 1, ptr %1, align 4
br label %8
7: ; preds = %0
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %7, %6
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i64 @sigsetjmp(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/tmpticeqnik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @sigsetjmp(i32 noundef %3, i32 noundef 0)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 1, ptr %1, align 4
br label %8
7: ; preds = %0
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %7, %6
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i64 @sigsetjmp(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/tmpbwcj1o8j.c'
source_filename = "/tmp/tmpbwcj1o8j.c"
target datalayout = "e-m:e-p270: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/tmpbwcj1o8j.c"
target datalayout = "e-m:e-p270: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/tmpu9ntww4g.c'
source_filename = "/tmp/tmpu9ntww4g.c"
target datalayout = "e-m:e-p270: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/tmpu9ntww4g.c"
target datalayout = "e-m:e-p270: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/tmpqgf3wpo7.c'
source_filename = "/tmp/tmpqgf3wpo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Singular matrix in routine ludcmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ludcmp(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
%18 = load i32, ptr %6, align 4
%19 = call ptr @dvector(i32 noundef 1, i32 noundef %18)
store ptr %19, ptr %17, align 8
%20 = load ptr, ptr %8, align 8
store double 1.000000e+00, ptr %20, align 8
store i32 1, ptr %9, align 4
br label %21
21: ; preds = %61, %4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %64
25: ; preds = %21
store double 0.000000e+00, ptr %13, align 8
store i32 1, ptr %11, align 4
br label %26
26: ; preds = %46, %25
%27 = load i32, ptr %11, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %49
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = call double @llvm.fabs.f64(double %39)
store double %40, ptr %16, align 8
%41 = load double, ptr %13, align 8
%42 = fcmp ogt double %40, %41
br i1 %42, label %43, label %45
43: ; preds = %30
%44 = load double, ptr %16, align 8
store double %44, ptr %13, align 8
br label %45
45: ; preds = %43, %30
br label %46
46: ; preds = %45
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %11, align 4
br label %26, !llvm.loop !6
49: ; preds = %26
%50 = load double, ptr %13, align 8
%51 = fcmp oeq double %50, 0.000000e+00
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 @nrerror(ptr noundef @.str)
br label %54
54: ; preds = %52, %49
%55 = load double, ptr %13, align 8
%56 = fdiv double 1.000000e+00, %55
%57 = load ptr, ptr %17, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
store double %56, ptr %60, align 8
br label %61
61: ; preds = %54
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
br label %21, !llvm.loop !8
64: ; preds = %21
store i32 1, ptr %11, align 4
br label %65
65: ; preds = %323, %64
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %326
69: ; preds = %65
store i32 1, ptr %9, align 4
br label %70
70: ; preds = %123, %69
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %11, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %126
74: ; preds = %70
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %9, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %11, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %79, i64 %81
%83 = load double, ptr %82, align 8
store double %83, ptr %15, align 8
store i32 1, ptr %12, align 4
br label %84
84: ; preds = %110, %74
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %9, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %113
88: ; preds = %84
%89 = load ptr, ptr %5, align 8
%90 = load i32, ptr %9, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %12, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
%97 = load double, ptr %96, align 8
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %12, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %11, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %102, i64 %104
%106 = load double, ptr %105, align 8
%107 = load double, ptr %15, align 8
%108 = fneg double %97
%109 = call double @llvm.fmuladd.f64(double %108, double %106, double %107)
store double %109, ptr %15, align 8
br label %110
110: ; preds = %88
%111 = load i32, ptr %12, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %12, align 4
br label %84, !llvm.loop !9
113: ; preds = %84
%114 = load double, ptr %15, align 8
%115 = load ptr, ptr %5, align 8
%116 = load i32, ptr %9, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds ptr, ptr %115, i64 %117
%119 = load ptr, ptr %118, align 8
%120 = load i32, ptr %11, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
store double %114, ptr %122, align 8
br label %123
123: ; preds = %113
%124 = load i32, ptr %9, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %9, align 4
br label %70, !llvm.loop !10
126: ; preds = %70
store double 0.000000e+00, ptr %13, align 8
%127 = load i32, ptr %11, align 4
store i32 %127, ptr %9, align 4
br label %128
128: ; preds = %195, %126
%129 = load i32, ptr %9, align 4
%130 = load i32, ptr %6, align 4
%131 = icmp sle i32 %129, %130
br i1 %131, label %132, label %198
132: ; preds = %128
%133 = load ptr, ptr %5, align 8
%134 = load i32, ptr %9, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds ptr, ptr %133, i64 %135
%137 = load ptr, ptr %136, align 8
%138 = load i32, ptr %11, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, ptr %137, i64 %139
%141 = load double, ptr %140, align 8
store double %141, ptr %15, align 8
store i32 1, ptr %12, align 4
br label %142
142: ; preds = %168, %132
%143 = load i32, ptr %12, align 4
%144 = load i32, ptr %11, align 4
%145 = icmp slt i32 %143, %144
br i1 %145, label %146, label %171
146: ; preds = %142
%147 = load ptr, ptr %5, align 8
%148 = load i32, ptr %9, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds ptr, ptr %147, i64 %149
%151 = load ptr, ptr %150, align 8
%152 = load i32, ptr %12, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, ptr %151, i64 %153
%155 = load double, ptr %154, align 8
%156 = load ptr, ptr %5, align 8
%157 = load i32, ptr %12, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds ptr, ptr %156, i64 %158
%160 = load ptr, ptr %159, align 8
%161 = load i32, ptr %11, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds double, ptr %160, i64 %162
%164 = load double, ptr %163, align 8
%165 = load double, ptr %15, align 8
%166 = fneg double %155
%167 = call double @llvm.fmuladd.f64(double %166, double %164, double %165)
store double %167, ptr %15, align 8
br label %168
168: ; preds = %146
%169 = load i32, ptr %12, align 4
%170 = add nsw i32 %169, 1
store i32 %170, ptr %12, align 4
br label %142, !llvm.loop !11
171: ; preds = %142
%172 = load double, ptr %15, align 8
%173 = load ptr, ptr %5, align 8
%174 = load i32, ptr %9, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds ptr, ptr %173, i64 %175
%177 = load ptr, ptr %176, align 8
%178 = load i32, ptr %11, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, ptr %177, i64 %179
store double %172, ptr %180, align 8
%181 = load ptr, ptr %17, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds double, ptr %181, i64 %183
%185 = load double, ptr %184, align 8
%186 = load double, ptr %15, align 8
%187 = call double @llvm.fabs.f64(double %186)
%188 = fmul double %185, %187
store double %188, ptr %14, align 8
%189 = load double, ptr %13, align 8
%190 = fcmp oge double %188, %189
br i1 %190, label %191, label %194
191: ; preds = %171
%192 = load double, ptr %14, align 8
store double %192, ptr %13, align 8
%193 = load i32, ptr %9, align 4
store i32 %193, ptr %10, align 4
br label %194
194: ; preds = %191, %171
br label %195
195: ; preds = %194
%196 = load i32, ptr %9, align 4
%197 = add nsw i32 %196, 1
store i32 %197, ptr %9, align 4
br label %128, !llvm.loop !12
198: ; preds = %128
%199 = load i32, ptr %11, align 4
%200 = load i32, ptr %10, align 4
%201 = icmp ne i32 %199, %200
br i1 %201, label %202, label %260
202: ; preds = %198
store i32 1, ptr %12, align 4
br label %203
203: ; preds = %243, %202
%204 = load i32, ptr %12, align 4
%205 = load i32, ptr %6, align 4
%206 = icmp sle i32 %204, %205
br i1 %206, label %207, label %246
207: ; preds = %203
%208 = load ptr, ptr %5, align 8
%209 = load i32, ptr %10, align 4
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds ptr, ptr %208, i64 %210
%212 = load ptr, ptr %211, align 8
%213 = load i32, ptr %12, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds double, ptr %212, i64 %214
%216 = load double, ptr %215, align 8
store double %216, ptr %14, align 8
%217 = load ptr, ptr %5, align 8
%218 = load i32, ptr %11, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds ptr, ptr %217, i64 %219
%221 = load ptr, ptr %220, align 8
%222 = load i32, ptr %12, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds double, ptr %221, i64 %223
%225 = load double, ptr %224, align 8
%226 = load ptr, ptr %5, align 8
%227 = load i32, ptr %10, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %226, i64 %228
%230 = load ptr, ptr %229, align 8
%231 = load i32, ptr %12, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %230, i64 %232
store double %225, ptr %233, align 8
%234 = load double, ptr %14, align 8
%235 = load ptr, ptr %5, align 8
%236 = load i32, ptr %11, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds ptr, ptr %235, i64 %237
%239 = load ptr, ptr %238, align 8
%240 = load i32, ptr %12, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds double, ptr %239, i64 %241
store double %234, ptr %242, align 8
br label %243
243: ; preds = %207
%244 = load i32, ptr %12, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %12, align 4
br label %203, !llvm.loop !13
246: ; preds = %203
%247 = load ptr, ptr %8, align 8
%248 = load double, ptr %247, align 8
%249 = fneg double %248
%250 = load ptr, ptr %8, align 8
store double %249, ptr %250, align 8
%251 = load ptr, ptr %17, align 8
%252 = load i32, ptr %11, align 4
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds double, ptr %251, i64 %253
%255 = load double, ptr %254, align 8
%256 = load ptr, ptr %17, align 8
%257 = load i32, ptr %10, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds double, ptr %256, i64 %258
store double %255, ptr %259, align 8
br label %260
260: ; preds = %246, %198
%261 = load i32, ptr %10, align 4
%262 = load ptr, ptr %7, align 8
%263 = load i32, ptr %11, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds i32, ptr %262, i64 %264
store i32 %261, ptr %265, align 4
%266 = load ptr, ptr %5, align 8
%267 = load i32, ptr %11, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds ptr, ptr %266, i64 %268
%270 = load ptr, ptr %269, align 8
%271 = load i32, ptr %11, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds double, ptr %270, i64 %272
%274 = load double, ptr %273, align 8
%275 = fcmp oeq double %274, 0.000000e+00
br i1 %275, label %276, label %285
276: ; preds = %260
%277 = load ptr, ptr %5, align 8
%278 = load i32, ptr %11, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds ptr, ptr %277, i64 %279
%281 = load ptr, ptr %280, align 8
%282 = load i32, ptr %11, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds double, ptr %281, i64 %283
store double 0x3BC79CA10C924223, ptr %284, align 8
br label %285
285: ; preds = %276, %260
%286 = load i32, ptr %11, align 4
%287 = load i32, ptr %6, align 4
%288 = icmp ne i32 %286, %287
br i1 %288, label %289, label %322
289: ; preds = %285
%290 = load ptr, ptr %5, align 8
%291 = load i32, ptr %11, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds ptr, ptr %290, i64 %292
%294 = load ptr, ptr %293, align 8
%295 = load i32, ptr %11, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds double, ptr %294, i64 %296
%298 = load double, ptr %297, align 8
%299 = fdiv double 1.000000e+00, %298
store double %299, ptr %14, align 8
%300 = load i32, ptr %11, align 4
%301 = add nsw i32 %300, 1
store i32 %301, ptr %9, align 4
br label %302
302: ; preds = %318, %289
%303 = load i32, ptr %9, align 4
%304 = load i32, ptr %6, align 4
%305 = icmp sle i32 %303, %304
br i1 %305, label %306, label %321
306: ; preds = %302
%307 = load double, ptr %14, align 8
%308 = load ptr, ptr %5, align 8
%309 = load i32, ptr %9, align 4
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds ptr, ptr %308, i64 %310
%312 = load ptr, ptr %311, align 8
%313 = load i32, ptr %11, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds double, ptr %312, i64 %314
%316 = load double, ptr %315, align 8
%317 = fmul double %316, %307
store double %317, ptr %315, align 8
br label %318
318: ; preds = %306
%319 = load i32, ptr %9, align 4
%320 = add nsw i32 %319, 1
store i32 %320, ptr %9, align 4
br label %302, !llvm.loop !14
321: ; preds = %302
br label %322
322: ; preds = %321, %285
br label %323
323: ; preds = %322
%324 = load i32, ptr %11, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %11, align 4
br label %65, !llvm.loop !15
326: ; preds = %65
%327 = load ptr, ptr %17, align 8
%328 = load i32, ptr %6, align 4
%329 = call i32 @free_dvector(ptr noundef %327, i32 noundef 1, i32 noundef %328)
ret void
}
declare ptr @dvector(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_dvector(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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqgf3wpo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Singular matrix in routine ludcmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ludcmp(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
%18 = load i32, ptr %6, align 4
%19 = call ptr @dvector(i32 noundef 1, i32 noundef %18)
store ptr %19, ptr %17, align 8
%20 = load ptr, ptr %8, align 8
store double 1.000000e+00, ptr %20, align 8
store i32 1, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph2, label %68
.lr.ph2: ; preds = %4
br label %24
24: ; preds = %.lr.ph2, %62
store double 0.000000e+00, ptr %13, align 8
store i32 1, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %.lr.ph, label %50
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %44
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = call double @llvm.fabs.f64(double %37)
store double %38, ptr %16, align 8
%39 = load double, ptr %13, align 8
%40 = fcmp ogt double %38, %39
br i1 %40, label %41, label %43
41: ; preds = %28
%42 = load double, ptr %16, align 8
store double %42, ptr %13, align 8
br label %43
43: ; preds = %41, %28
br label %44
44: ; preds = %43
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %24
%51 = load double, ptr %13, align 8
%52 = fcmp oeq double %51, 0.000000e+00
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i32 @nrerror(ptr noundef @.str)
br label %55
55: ; preds = %53, %50
%56 = load double, ptr %13, align 8
%57 = fdiv double 1.000000e+00, %56
%58 = load ptr, ptr %17, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
store double %57, ptr %61, align 8
br label %62
62: ; preds = %55
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp sle i32 %65, %66
br i1 %67, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %4
store i32 1, ptr %11, align 4
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %6, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %.lr.ph23, label %344
.lr.ph23: ; preds = %68
br label %72
72: ; preds = %.lr.ph23, %338
store i32 1, ptr %9, align 4
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %11, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %.lr.ph8, label %133
.lr.ph8: ; preds = %72
br label %76
76: ; preds = %.lr.ph8, %127
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %9, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds ptr, ptr %77, i64 %79
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
%85 = load double, ptr %84, align 8
store double %85, ptr %15, align 8
store i32 1, ptr %12, align 4
%86 = load i32, ptr %12, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %.lr.ph5, label %117
.lr.ph5: ; preds = %76
br label %89
89: ; preds = %.lr.ph5, %111
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %9, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = load i32, ptr %12, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %94, i64 %96
%98 = load double, ptr %97, align 8
%99 = load ptr, ptr %5, align 8
%100 = load i32, ptr %12, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds ptr, ptr %99, i64 %101
%103 = load ptr, ptr %102, align 8
%104 = load i32, ptr %11, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %103, i64 %105
%107 = load double, ptr %106, align 8
%108 = load double, ptr %15, align 8
%109 = fneg double %98
%110 = call double @llvm.fmuladd.f64(double %109, double %107, double %108)
store double %110, ptr %15, align 8
br label %111
111: ; preds = %89
%112 = load i32, ptr %12, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %12, align 4
%114 = load i32, ptr %12, align 4
%115 = load i32, ptr %9, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %89, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %111
br label %117
117: ; preds = %._crit_edge6, %76
%118 = load double, ptr %15, align 8
%119 = load ptr, ptr %5, align 8
%120 = load i32, ptr %9, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds ptr, ptr %119, i64 %121
%123 = load ptr, ptr %122, align 8
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
store double %118, ptr %126, align 8
br label %127
127: ; preds = %117
%128 = load i32, ptr %9, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %9, align 4
%130 = load i32, ptr %9, align 4
%131 = load i32, ptr %11, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %76, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %127
br label %133
133: ; preds = %._crit_edge9, %72
store double 0.000000e+00, ptr %13, align 8
%134 = load i32, ptr %11, align 4
store i32 %134, ptr %9, align 4
%135 = load i32, ptr %9, align 4
%136 = load i32, ptr %6, align 4
%137 = icmp sle i32 %135, %136
br i1 %137, label %.lr.ph14, label %209
.lr.ph14: ; preds = %133
br label %138
138: ; preds = %.lr.ph14, %203
%139 = load ptr, ptr %5, align 8
%140 = load i32, ptr %9, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %139, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = load i32, ptr %11, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds double, ptr %143, i64 %145
%147 = load double, ptr %146, align 8
store double %147, ptr %15, align 8
store i32 1, ptr %12, align 4
%148 = load i32, ptr %12, align 4
%149 = load i32, ptr %11, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %.lr.ph11, label %179
.lr.ph11: ; preds = %138
br label %151
151: ; preds = %.lr.ph11, %173
%152 = load ptr, ptr %5, align 8
%153 = load i32, ptr %9, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds ptr, ptr %152, i64 %154
%156 = load ptr, ptr %155, align 8
%157 = load i32, ptr %12, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, ptr %156, i64 %158
%160 = load double, ptr %159, align 8
%161 = load ptr, ptr %5, align 8
%162 = load i32, ptr %12, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds ptr, ptr %161, i64 %163
%165 = load ptr, ptr %164, align 8
%166 = load i32, ptr %11, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %165, i64 %167
%169 = load double, ptr %168, align 8
%170 = load double, ptr %15, align 8
%171 = fneg double %160
%172 = call double @llvm.fmuladd.f64(double %171, double %169, double %170)
store double %172, ptr %15, align 8
br label %173
173: ; preds = %151
%174 = load i32, ptr %12, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %12, align 4
%176 = load i32, ptr %12, align 4
%177 = load i32, ptr %11, align 4
%178 = icmp slt i32 %176, %177
br i1 %178, label %151, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %173
br label %179
179: ; preds = %._crit_edge12, %138
%180 = load double, ptr %15, align 8
%181 = load ptr, ptr %5, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds ptr, ptr %181, i64 %183
%185 = load ptr, ptr %184, align 8
%186 = load i32, ptr %11, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %185, i64 %187
store double %180, ptr %188, align 8
%189 = load ptr, ptr %17, align 8
%190 = load i32, ptr %9, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %189, i64 %191
%193 = load double, ptr %192, align 8
%194 = load double, ptr %15, align 8
%195 = call double @llvm.fabs.f64(double %194)
%196 = fmul double %193, %195
store double %196, ptr %14, align 8
%197 = load double, ptr %13, align 8
%198 = fcmp oge double %196, %197
br i1 %198, label %199, label %202
199: ; preds = %179
%200 = load double, ptr %14, align 8
store double %200, ptr %13, align 8
%201 = load i32, ptr %9, align 4
store i32 %201, ptr %10, align 4
br label %202
202: ; preds = %199, %179
br label %203
203: ; preds = %202
%204 = load i32, ptr %9, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %9, align 4
%206 = load i32, ptr %9, align 4
%207 = load i32, ptr %6, align 4
%208 = icmp sle i32 %206, %207
br i1 %208, label %138, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %203
br label %209
209: ; preds = %._crit_edge15, %133
%210 = load i32, ptr %11, align 4
%211 = load i32, ptr %10, align 4
%212 = icmp ne i32 %210, %211
br i1 %212, label %213, label %273
213: ; preds = %209
store i32 1, ptr %12, align 4
%214 = load i32, ptr %12, align 4
%215 = load i32, ptr %6, align 4
%216 = icmp sle i32 %214, %215
br i1 %216, label %.lr.ph17, label %259
.lr.ph17: ; preds = %213
br label %217
217: ; preds = %.lr.ph17, %253
%218 = load ptr, ptr %5, align 8
%219 = load i32, ptr %10, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds ptr, ptr %218, i64 %220
%222 = load ptr, ptr %221, align 8
%223 = load i32, ptr %12, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds double, ptr %222, i64 %224
%226 = load double, ptr %225, align 8
store double %226, ptr %14, align 8
%227 = load ptr, ptr %5, align 8
%228 = load i32, ptr %11, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds ptr, ptr %227, i64 %229
%231 = load ptr, ptr %230, align 8
%232 = load i32, ptr %12, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds double, ptr %231, i64 %233
%235 = load double, ptr %234, align 8
%236 = load ptr, ptr %5, align 8
%237 = load i32, ptr %10, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds ptr, ptr %236, i64 %238
%240 = load ptr, ptr %239, align 8
%241 = load i32, ptr %12, align 4
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds double, ptr %240, i64 %242
store double %235, ptr %243, align 8
%244 = load double, ptr %14, align 8
%245 = load ptr, ptr %5, align 8
%246 = load i32, ptr %11, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds ptr, ptr %245, i64 %247
%249 = load ptr, ptr %248, align 8
%250 = load i32, ptr %12, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds double, ptr %249, i64 %251
store double %244, ptr %252, align 8
br label %253
253: ; preds = %217
%254 = load i32, ptr %12, align 4
%255 = add nsw i32 %254, 1
store i32 %255, ptr %12, align 4
%256 = load i32, ptr %12, align 4
%257 = load i32, ptr %6, align 4
%258 = icmp sle i32 %256, %257
br i1 %258, label %217, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %253
br label %259
259: ; preds = %._crit_edge18, %213
%260 = load ptr, ptr %8, align 8
%261 = load double, ptr %260, align 8
%262 = fneg double %261
%263 = load ptr, ptr %8, align 8
store double %262, ptr %263, align 8
%264 = load ptr, ptr %17, align 8
%265 = load i32, ptr %11, align 4
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds double, ptr %264, i64 %266
%268 = load double, ptr %267, align 8
%269 = load ptr, ptr %17, align 8
%270 = load i32, ptr %10, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds double, ptr %269, i64 %271
store double %268, ptr %272, align 8
br label %273
273: ; preds = %259, %209
%274 = load i32, ptr %10, align 4
%275 = load ptr, ptr %7, align 8
%276 = load i32, ptr %11, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds i32, ptr %275, i64 %277
store i32 %274, ptr %278, align 4
%279 = load ptr, ptr %5, align 8
%280 = load i32, ptr %11, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds ptr, ptr %279, i64 %281
%283 = load ptr, ptr %282, align 8
%284 = load i32, ptr %11, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds double, ptr %283, i64 %285
%287 = load double, ptr %286, align 8
%288 = fcmp oeq double %287, 0.000000e+00
br i1 %288, label %289, label %298
289: ; preds = %273
%290 = load ptr, ptr %5, align 8
%291 = load i32, ptr %11, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds ptr, ptr %290, i64 %292
%294 = load ptr, ptr %293, align 8
%295 = load i32, ptr %11, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds double, ptr %294, i64 %296
store double 0x3BC79CA10C924223, ptr %297, align 8
br label %298
298: ; preds = %289, %273
%299 = load i32, ptr %11, align 4
%300 = load i32, ptr %6, align 4
%301 = icmp ne i32 %299, %300
br i1 %301, label %302, label %337
302: ; preds = %298
%303 = load ptr, ptr %5, align 8
%304 = load i32, ptr %11, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds ptr, ptr %303, i64 %305
%307 = load ptr, ptr %306, align 8
%308 = load i32, ptr %11, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, ptr %307, i64 %309
%311 = load double, ptr %310, align 8
%312 = fdiv double 1.000000e+00, %311
store double %312, ptr %14, align 8
%313 = load i32, ptr %11, align 4
%314 = add nsw i32 %313, 1
store i32 %314, ptr %9, align 4
%315 = load i32, ptr %9, align 4
%316 = load i32, ptr %6, align 4
%317 = icmp sle i32 %315, %316
br i1 %317, label %.lr.ph20, label %336
.lr.ph20: ; preds = %302
br label %318
318: ; preds = %.lr.ph20, %330
%319 = load double, ptr %14, align 8
%320 = load ptr, ptr %5, align 8
%321 = load i32, ptr %9, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds ptr, ptr %320, i64 %322
%324 = load ptr, ptr %323, align 8
%325 = load i32, ptr %11, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds double, ptr %324, i64 %326
%328 = load double, ptr %327, align 8
%329 = fmul double %328, %319
store double %329, ptr %327, align 8
br label %330
330: ; preds = %318
%331 = load i32, ptr %9, align 4
%332 = add nsw i32 %331, 1
store i32 %332, ptr %9, align 4
%333 = load i32, ptr %9, align 4
%334 = load i32, ptr %6, align 4
%335 = icmp sle i32 %333, %334
br i1 %335, label %318, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %330
br label %336
336: ; preds = %._crit_edge21, %302
br label %337
337: ; preds = %336, %298
br label %338
338: ; preds = %337
%339 = load i32, ptr %11, align 4
%340 = add nsw i32 %339, 1
store i32 %340, ptr %11, align 4
%341 = load i32, ptr %11, align 4
%342 = load i32, ptr %6, align 4
%343 = icmp sle i32 %341, %342
br i1 %343, label %72, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %338
br label %344
344: ; preds = %._crit_edge24, %68
%345 = load ptr, ptr %17, align 8
%346 = load i32, ptr %6, align 4
%347 = call i32 @free_dvector(ptr noundef %345, i32 noundef 1, i32 noundef %346)
ret void
}
declare ptr @dvector(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_dvector(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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmpira1lhtw.c'
source_filename = "/tmp/tmpira1lhtw.c"
target datalayout = "e-m:e-p270: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/tmpira1lhtw.c"
target datalayout = "e-m:e-p270: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/tmp9zir4jet.c'
source_filename = "/tmp/tmp9zir4jet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %d.%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c".%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c" rc%d\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c" beta%d\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" r%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getVersion(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
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 i32 %6, ptr %14, align 4
%18 = call ptr @calloc(i32 noundef 1, i32 noundef 20)
store ptr %18, ptr %17, align 8
%19 = load ptr, ptr %8, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = add nsw i32 %20, 200
store i32 %21, ptr %15, align 4
%22 = load i32, ptr %15, align 4
%23 = call ptr @calloc(i32 noundef 1, i32 noundef %22)
store ptr %23, ptr %16, align 8
%24 = load ptr, ptr %16, align 8
%25 = load i32, ptr %15, align 4
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %24, i32 noundef %25, ptr noundef @.str, ptr noundef %26, i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr %11, align 4
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %45
32: ; preds = %7
%33 = load ptr, ptr %17, align 8
%34 = load i32, ptr %11, align 4
%35 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %33, i32 noundef 20, ptr noundef @.str.1, i32 noundef %34)
%36 = load ptr, ptr %16, align 8
%37 = load ptr, ptr %17, align 8
%38 = load i32, ptr %15, align 4
%39 = load ptr, ptr %16, align 8
%40 = call i32 @strlen(ptr noundef %39)
%41 = sub nsw i32 %38, %40
%42 = call i32 @strncat(ptr noundef %36, ptr noundef %37, i32 noundef %41)
%43 = load ptr, ptr %17, align 8
%44 = call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 20)
br label %45
45: ; preds = %32, %7
%46 = load i32, ptr %14, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %61
48: ; preds = %45
%49 = load ptr, ptr %17, align 8
%50 = load i32, ptr %14, align 4
%51 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %49, i32 noundef 20, ptr noundef @.str.2, i32 noundef %50)
%52 = load ptr, ptr %16, align 8
%53 = load ptr, ptr %17, align 8
%54 = load i32, ptr %15, align 4
%55 = load ptr, ptr %16, align 8
%56 = call i32 @strlen(ptr noundef %55)
%57 = sub nsw i32 %54, %56
%58 = call i32 @strncat(ptr noundef %52, ptr noundef %53, i32 noundef %57)
%59 = load ptr, ptr %17, align 8
%60 = call i32 @memset(ptr noundef %59, i32 noundef 0, i32 noundef 20)
br label %78
61: ; preds = %45
%62 = load i32, ptr %13, align 4
%63 = icmp sgt i32 %62, 0
br i1 %63, label %64, label %77
64: ; preds = %61
%65 = load ptr, ptr %17, align 8
%66 = load i32, ptr %13, align 4
%67 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %65, i32 noundef 20, ptr noundef @.str.3, i32 noundef %66)
%68 = load ptr, ptr %16, align 8
%69 = load ptr, ptr %17, align 8
%70 = load i32, ptr %15, align 4
%71 = load ptr, ptr %16, align 8
%72 = call i32 @strlen(ptr noundef %71)
%73 = sub nsw i32 %70, %72
%74 = call i32 @strncat(ptr noundef %68, ptr noundef %69, i32 noundef %73)
%75 = load ptr, ptr %17, align 8
%76 = call i32 @memset(ptr noundef %75, i32 noundef 0, i32 noundef 20)
br label %77
77: ; preds = %64, %61
br label %78
78: ; preds = %77, %48
%79 = load i32, ptr %12, align 4
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %94
81: ; preds = %78
%82 = load ptr, ptr %17, align 8
%83 = load i32, ptr %12, align 4
%84 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %82, i32 noundef 20, ptr noundef @.str.4, i32 noundef %83)
%85 = load ptr, ptr %16, align 8
%86 = load ptr, ptr %17, align 8
%87 = load i32, ptr %15, align 4
%88 = load ptr, ptr %16, align 8
%89 = call i32 @strlen(ptr noundef %88)
%90 = sub nsw i32 %87, %89
%91 = call i32 @strncat(ptr noundef %85, ptr noundef %86, i32 noundef %90)
%92 = load ptr, ptr %17, align 8
%93 = call i32 @memset(ptr noundef %92, i32 noundef 0, i32 noundef 20)
br label %94
94: ; preds = %81, %78
%95 = load ptr, ptr %17, align 8
%96 = call i32 @free(ptr noundef %95)
%97 = load ptr, ptr %16, align 8
%98 = load ptr, ptr %16, align 8
%99 = call i32 @strlen(ptr noundef %98)
%100 = add nsw i32 %99, 1
%101 = call ptr @realloc(ptr noundef %97, i32 noundef %100)
store ptr %101, ptr %16, align 8
%102 = load ptr, ptr %16, align 8
ret ptr %102
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9zir4jet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %d.%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c".%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c" rc%d\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c" beta%d\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" r%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getVersion(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
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 i32 %6, ptr %14, align 4
%18 = call ptr @calloc(i32 noundef 1, i32 noundef 20)
store ptr %18, ptr %17, align 8
%19 = load ptr, ptr %8, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = add nsw i32 %20, 200
store i32 %21, ptr %15, align 4
%22 = load i32, ptr %15, align 4
%23 = call ptr @calloc(i32 noundef 1, i32 noundef %22)
store ptr %23, ptr %16, align 8
%24 = load ptr, ptr %16, align 8
%25 = load i32, ptr %15, align 4
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %24, i32 noundef %25, ptr noundef @.str, ptr noundef %26, i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr %11, align 4
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %45
32: ; preds = %7
%33 = load ptr, ptr %17, align 8
%34 = load i32, ptr %11, align 4
%35 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %33, i32 noundef 20, ptr noundef @.str.1, i32 noundef %34)
%36 = load ptr, ptr %16, align 8
%37 = load ptr, ptr %17, align 8
%38 = load i32, ptr %15, align 4
%39 = load ptr, ptr %16, align 8
%40 = call i32 @strlen(ptr noundef %39)
%41 = sub nsw i32 %38, %40
%42 = call i32 @strncat(ptr noundef %36, ptr noundef %37, i32 noundef %41)
%43 = load ptr, ptr %17, align 8
%44 = call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 20)
br label %45
45: ; preds = %32, %7
%46 = load i32, ptr %14, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %61
48: ; preds = %45
%49 = load ptr, ptr %17, align 8
%50 = load i32, ptr %14, align 4
%51 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %49, i32 noundef 20, ptr noundef @.str.2, i32 noundef %50)
%52 = load ptr, ptr %16, align 8
%53 = load ptr, ptr %17, align 8
%54 = load i32, ptr %15, align 4
%55 = load ptr, ptr %16, align 8
%56 = call i32 @strlen(ptr noundef %55)
%57 = sub nsw i32 %54, %56
%58 = call i32 @strncat(ptr noundef %52, ptr noundef %53, i32 noundef %57)
%59 = load ptr, ptr %17, align 8
%60 = call i32 @memset(ptr noundef %59, i32 noundef 0, i32 noundef 20)
br label %78
61: ; preds = %45
%62 = load i32, ptr %13, align 4
%63 = icmp sgt i32 %62, 0
br i1 %63, label %64, label %77
64: ; preds = %61
%65 = load ptr, ptr %17, align 8
%66 = load i32, ptr %13, align 4
%67 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %65, i32 noundef 20, ptr noundef @.str.3, i32 noundef %66)
%68 = load ptr, ptr %16, align 8
%69 = load ptr, ptr %17, align 8
%70 = load i32, ptr %15, align 4
%71 = load ptr, ptr %16, align 8
%72 = call i32 @strlen(ptr noundef %71)
%73 = sub nsw i32 %70, %72
%74 = call i32 @strncat(ptr noundef %68, ptr noundef %69, i32 noundef %73)
%75 = load ptr, ptr %17, align 8
%76 = call i32 @memset(ptr noundef %75, i32 noundef 0, i32 noundef 20)
br label %77
77: ; preds = %64, %61
br label %78
78: ; preds = %77, %48
%79 = load i32, ptr %12, align 4
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %94
81: ; preds = %78
%82 = load ptr, ptr %17, align 8
%83 = load i32, ptr %12, align 4
%84 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %82, i32 noundef 20, ptr noundef @.str.4, i32 noundef %83)
%85 = load ptr, ptr %16, align 8
%86 = load ptr, ptr %17, align 8
%87 = load i32, ptr %15, align 4
%88 = load ptr, ptr %16, align 8
%89 = call i32 @strlen(ptr noundef %88)
%90 = sub nsw i32 %87, %89
%91 = call i32 @strncat(ptr noundef %85, ptr noundef %86, i32 noundef %90)
%92 = load ptr, ptr %17, align 8
%93 = call i32 @memset(ptr noundef %92, i32 noundef 0, i32 noundef 20)
br label %94
94: ; preds = %81, %78
%95 = load ptr, ptr %17, align 8
%96 = call i32 @free(ptr noundef %95)
%97 = load ptr, ptr %16, align 8
%98 = load ptr, ptr %16, align 8
%99 = call i32 @strlen(ptr noundef %98)
%100 = add nsw i32 %99, 1
%101 = call ptr @realloc(ptr noundef %97, i32 noundef %100)
store ptr %101, ptr %16, align 8
%102 = load ptr, ptr %16, align 8
ret ptr %102
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptoa43aie.c'
source_filename = "/tmp/tmptoa43aie.c"
target datalayout = "e-m:e-p270: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/tmptoa43aie.c"
target datalayout = "e-m:e-p270: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/tmpfj60dbhy.c'
source_filename = "/tmp/tmpfj60dbhy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cverify(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @nosmime()
ret i32 1
}
declare i32 @nosmime(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfj60dbhy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cverify(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @nosmime()
ret i32 1
}
declare i32 @nosmime(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5nklkg9b.c'
source_filename = "/tmp/tmp5nklkg9b.c"
target datalayout = "e-m:e-p270: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/tmp5nklkg9b.c"
target datalayout = "e-m:e-p270: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/tmp680avwss.c'
source_filename = "/tmp/tmp680avwss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_XErrorEvent(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 %5, label %7
5: ; preds = %1
%6 = call i32 (...) @abort() #3
unreachable
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
declare i32 @free(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 = { 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 #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp680avwss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_XErrorEvent(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 %5, label %7
5: ; preds = %1
%6 = call i32 (...) @abort() #3
unreachable
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
declare i32 @free(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 = { 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 #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8q_7pduu.c'
source_filename = "/tmp/tmp8q_7pduu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr = type { i32 }
%struct.sockaddr_in = type { i32 }
%struct.sockaddr_in6 = type { i32 }
@.str = private unnamed_addr constant [40 x i8] c"USAGE: %s <hostname/IP> <service/port>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"[IPv4]sending to %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"[IPv6]sending to %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"unknown type.\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@stdout = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [256 x i8], align 16
%9 = alloca [256 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %23
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @udp_client(ptr noundef %26, ptr noundef %29, ptr noundef %11, ptr noundef %10)
store i32 %30, ptr %6, align 4
%31 = load ptr, ptr %11, align 8
%32 = getelementptr inbounds %struct.sockaddr, ptr %31, i32 0, i32 0
%33 = load i32, ptr %32, align 4
switch i32 %33, label %48 [
i32 129, label %34
i32 128, label %41
]
34: ; preds = %23
%35 = load ptr, ptr %11, align 8
store ptr %35, ptr %12, align 8
%36 = load ptr, ptr %12, align 8
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %36, i32 0, i32 0
%38 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%39 = call ptr @inet_ntop(i32 noundef 129, ptr noundef %37, ptr noundef %38, i32 noundef 256)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %39)
br label %50
41: ; preds = %23
%42 = load ptr, ptr %11, align 8
store ptr %42, ptr %13, align 8
%43 = load ptr, ptr %13, align 8
%44 = getelementptr inbounds %struct.sockaddr_in6, ptr %43, i32 0, i32 0
%45 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%46 = call ptr @inet_ntop(i32 noundef 128, ptr noundef %44, ptr noundef %45, i32 noundef 256)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %46)
br label %50
48: ; preds = %23
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %50
50: ; preds = %48, %41, %34
%51 = load i32, ptr %6, align 4
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %10, align 4
%54 = call i32 @sendto(i32 noundef %51, ptr noundef @.str.4, i32 noundef 6, i32 noundef 0, ptr noundef %52, i32 noundef %53)
%55 = load i32, ptr %6, align 4
%56 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%57 = call i32 @recvfrom(i32 noundef %55, ptr noundef %56, i32 noundef 256, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 %59
store i8 0, ptr %60, align 1
%61 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%62 = load i32, ptr @stdout, align 4
%63 = call i32 @fputs(ptr noundef %61, i32 noundef %62)
%64 = load i32, ptr @EXIT_SUCCESS, align 4
%65 = call i32 @exit(i32 noundef %64) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @udp_client(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8q_7pduu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr = type { i32 }
%struct.sockaddr_in = type { i32 }
%struct.sockaddr_in6 = type { i32 }
@.str = private unnamed_addr constant [40 x i8] c"USAGE: %s <hostname/IP> <service/port>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"[IPv4]sending to %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"[IPv6]sending to %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"unknown type.\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@stdout = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [256 x i8], align 16
%9 = alloca [256 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %23
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @udp_client(ptr noundef %26, ptr noundef %29, ptr noundef %11, ptr noundef %10)
store i32 %30, ptr %6, align 4
%31 = load ptr, ptr %11, align 8
%32 = getelementptr inbounds %struct.sockaddr, ptr %31, i32 0, i32 0
%33 = load i32, ptr %32, align 4
switch i32 %33, label %48 [
i32 129, label %34
i32 128, label %41
]
34: ; preds = %23
%35 = load ptr, ptr %11, align 8
store ptr %35, ptr %12, align 8
%36 = load ptr, ptr %12, align 8
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %36, i32 0, i32 0
%38 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%39 = call ptr @inet_ntop(i32 noundef 129, ptr noundef %37, ptr noundef %38, i32 noundef 256)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %39)
br label %50
41: ; preds = %23
%42 = load ptr, ptr %11, align 8
store ptr %42, ptr %13, align 8
%43 = load ptr, ptr %13, align 8
%44 = getelementptr inbounds %struct.sockaddr_in6, ptr %43, i32 0, i32 0
%45 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%46 = call ptr @inet_ntop(i32 noundef 128, ptr noundef %44, ptr noundef %45, i32 noundef 256)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %46)
br label %50
48: ; preds = %23
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %50
50: ; preds = %48, %41, %34
%51 = load i32, ptr %6, align 4
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %10, align 4
%54 = call i32 @sendto(i32 noundef %51, ptr noundef @.str.4, i32 noundef 6, i32 noundef 0, ptr noundef %52, i32 noundef %53)
%55 = load i32, ptr %6, align 4
%56 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%57 = call i32 @recvfrom(i32 noundef %55, ptr noundef %56, i32 noundef 256, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 %59
store i8 0, ptr %60, align 1
%61 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%62 = load i32, ptr @stdout, align 4
%63 = call i32 @fputs(ptr noundef %61, i32 noundef %62)
%64 = load i32, ptr @EXIT_SUCCESS, align 4
%65 = call i32 @exit(i32 noundef %64) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @udp_client(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzazmwqb9.c'
source_filename = "/tmp/tmpzazmwqb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Singular matrix in routine ludcmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ludcmp(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%18 = load i32, ptr %6, align 4
%19 = call ptr @vector(i32 noundef 1, i32 noundef %18)
store ptr %19, ptr %17, align 8
%20 = load ptr, ptr %8, align 8
store float 1.000000e+00, ptr %20, align 4
store i32 1, ptr %9, align 4
br label %21
21: ; preds = %64, %4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %67
25: ; preds = %21
store float 0.000000e+00, ptr %13, align 4
store i32 1, ptr %11, align 4
br label %26
26: ; preds = %46, %25
%27 = load i32, ptr %11, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %49
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
%39 = load float, ptr %38, align 4
%40 = call float @fabs(float noundef %39)
store float %40, ptr %16, align 4
%41 = load float, ptr %13, align 4
%42 = fcmp ogt float %40, %41
br i1 %42, label %43, label %45
43: ; preds = %30
%44 = load float, ptr %16, align 4
store float %44, ptr %13, align 4
br label %45
45: ; preds = %43, %30
br label %46
46: ; preds = %45
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %11, align 4
br label %26, !llvm.loop !6
49: ; preds = %26
%50 = load float, ptr %13, align 4
%51 = fpext float %50 to double
%52 = fcmp oeq double %51, 0.000000e+00
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 @nrerror(ptr noundef @.str)
br label %55
55: ; preds = %53, %49
%56 = load float, ptr %13, align 4
%57 = fpext float %56 to double
%58 = fdiv double 1.000000e+00, %57
%59 = fptrunc double %58 to float
%60 = load ptr, ptr %17, align 8
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
store float %59, ptr %63, align 4
br label %64
64: ; preds = %55
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %9, align 4
br label %21, !llvm.loop !8
67: ; preds = %21
store i32 1, ptr %11, align 4
br label %68
68: ; preds = %329, %67
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %6, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %72, label %332
72: ; preds = %68
store i32 1, ptr %9, align 4
br label %73
73: ; preds = %126, %72
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr %11, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %77, label %129
77: ; preds = %73
%78 = load ptr, ptr %5, align 8
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds ptr, ptr %78, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %11, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds float, ptr %82, i64 %84
%86 = load float, ptr %85, align 4
store float %86, ptr %15, align 4
store i32 1, ptr %12, align 4
br label %87
87: ; preds = %113, %77
%88 = load i32, ptr %12, align 4
%89 = load i32, ptr %9, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %116
91: ; preds = %87
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %9, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds ptr, ptr %92, i64 %94
%96 = load ptr, ptr %95, align 8
%97 = load i32, ptr %12, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds float, ptr %96, i64 %98
%100 = load float, ptr %99, align 4
%101 = load ptr, ptr %5, align 8
%102 = load i32, ptr %12, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds ptr, ptr %101, i64 %103
%105 = load ptr, ptr %104, align 8
%106 = load i32, ptr %11, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds float, ptr %105, i64 %107
%109 = load float, ptr %108, align 4
%110 = load float, ptr %15, align 4
%111 = fneg float %100
%112 = call float @llvm.fmuladd.f32(float %111, float %109, float %110)
store float %112, ptr %15, align 4
br label %113
113: ; preds = %91
%114 = load i32, ptr %12, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %12, align 4
br label %87, !llvm.loop !9
116: ; preds = %87
%117 = load float, ptr %15, align 4
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %9, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %118, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr %11, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds float, ptr %122, i64 %124
store float %117, ptr %125, align 4
br label %126
126: ; preds = %116
%127 = load i32, ptr %9, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %9, align 4
br label %73, !llvm.loop !10
129: ; preds = %73
store float 0.000000e+00, ptr %13, align 4
%130 = load i32, ptr %11, align 4
store i32 %130, ptr %9, align 4
br label %131
131: ; preds = %198, %129
%132 = load i32, ptr %9, align 4
%133 = load i32, ptr %6, align 4
%134 = icmp sle i32 %132, %133
br i1 %134, label %135, label %201
135: ; preds = %131
%136 = load ptr, ptr %5, align 8
%137 = load i32, ptr %9, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %136, i64 %138
%140 = load ptr, ptr %139, align 8
%141 = load i32, ptr %11, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds float, ptr %140, i64 %142
%144 = load float, ptr %143, align 4
store float %144, ptr %15, align 4
store i32 1, ptr %12, align 4
br label %145
145: ; preds = %171, %135
%146 = load i32, ptr %12, align 4
%147 = load i32, ptr %11, align 4
%148 = icmp slt i32 %146, %147
br i1 %148, label %149, label %174
149: ; preds = %145
%150 = load ptr, ptr %5, align 8
%151 = load i32, ptr %9, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds ptr, ptr %150, i64 %152
%154 = load ptr, ptr %153, align 8
%155 = load i32, ptr %12, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds float, ptr %154, i64 %156
%158 = load float, ptr %157, align 4
%159 = load ptr, ptr %5, align 8
%160 = load i32, ptr %12, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds ptr, ptr %159, i64 %161
%163 = load ptr, ptr %162, align 8
%164 = load i32, ptr %11, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds float, ptr %163, i64 %165
%167 = load float, ptr %166, align 4
%168 = load float, ptr %15, align 4
%169 = fneg float %158
%170 = call float @llvm.fmuladd.f32(float %169, float %167, float %168)
store float %170, ptr %15, align 4
br label %171
171: ; preds = %149
%172 = load i32, ptr %12, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %12, align 4
br label %145, !llvm.loop !11
174: ; preds = %145
%175 = load float, ptr %15, align 4
%176 = load ptr, ptr %5, align 8
%177 = load i32, ptr %9, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %176, i64 %178
%180 = load ptr, ptr %179, align 8
%181 = load i32, ptr %11, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds float, ptr %180, i64 %182
store float %175, ptr %183, align 4
%184 = load ptr, ptr %17, align 8
%185 = load i32, ptr %9, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds float, ptr %184, i64 %186
%188 = load float, ptr %187, align 4
%189 = load float, ptr %15, align 4
%190 = call float @fabs(float noundef %189)
%191 = fmul float %188, %190
store float %191, ptr %14, align 4
%192 = load float, ptr %13, align 4
%193 = fcmp oge float %191, %192
br i1 %193, label %194, label %197
194: ; preds = %174
%195 = load float, ptr %14, align 4
store float %195, ptr %13, align 4
%196 = load i32, ptr %9, align 4
store i32 %196, ptr %10, align 4
br label %197
197: ; preds = %194, %174
br label %198
198: ; preds = %197
%199 = load i32, ptr %9, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %9, align 4
br label %131, !llvm.loop !12
201: ; preds = %131
%202 = load i32, ptr %11, align 4
%203 = load i32, ptr %10, align 4
%204 = icmp ne i32 %202, %203
br i1 %204, label %205, label %263
205: ; preds = %201
store i32 1, ptr %12, align 4
br label %206
206: ; preds = %246, %205
%207 = load i32, ptr %12, align 4
%208 = load i32, ptr %6, align 4
%209 = icmp sle i32 %207, %208
br i1 %209, label %210, label %249
210: ; preds = %206
%211 = load ptr, ptr %5, align 8
%212 = load i32, ptr %10, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds ptr, ptr %211, i64 %213
%215 = load ptr, ptr %214, align 8
%216 = load i32, ptr %12, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds float, ptr %215, i64 %217
%219 = load float, ptr %218, align 4
store float %219, ptr %14, align 4
%220 = load ptr, ptr %5, align 8
%221 = load i32, ptr %11, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds ptr, ptr %220, i64 %222
%224 = load ptr, ptr %223, align 8
%225 = load i32, ptr %12, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds float, ptr %224, i64 %226
%228 = load float, ptr %227, align 4
%229 = load ptr, ptr %5, align 8
%230 = load i32, ptr %10, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds ptr, ptr %229, i64 %231
%233 = load ptr, ptr %232, align 8
%234 = load i32, ptr %12, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds float, ptr %233, i64 %235
store float %228, ptr %236, align 4
%237 = load float, ptr %14, align 4
%238 = load ptr, ptr %5, align 8
%239 = load i32, ptr %11, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds ptr, ptr %238, i64 %240
%242 = load ptr, ptr %241, align 8
%243 = load i32, ptr %12, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds float, ptr %242, i64 %244
store float %237, ptr %245, align 4
br label %246
246: ; preds = %210
%247 = load i32, ptr %12, align 4
%248 = add nsw i32 %247, 1
store i32 %248, ptr %12, align 4
br label %206, !llvm.loop !13
249: ; preds = %206
%250 = load ptr, ptr %8, align 8
%251 = load float, ptr %250, align 4
%252 = fneg float %251
%253 = load ptr, ptr %8, align 8
store float %252, ptr %253, align 4
%254 = load ptr, ptr %17, align 8
%255 = load i32, ptr %11, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds float, ptr %254, i64 %256
%258 = load float, ptr %257, align 4
%259 = load ptr, ptr %17, align 8
%260 = load i32, ptr %10, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds float, ptr %259, i64 %261
store float %258, ptr %262, align 4
br label %263
263: ; preds = %249, %201
%264 = load i32, ptr %10, align 4
%265 = load ptr, ptr %7, align 8
%266 = load i32, ptr %11, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i32, ptr %265, i64 %267
store i32 %264, ptr %268, align 4
%269 = load ptr, ptr %5, align 8
%270 = load i32, ptr %11, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds ptr, ptr %269, i64 %271
%273 = load ptr, ptr %272, align 8
%274 = load i32, ptr %11, align 4
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds float, ptr %273, i64 %275
%277 = load float, ptr %276, align 4
%278 = fpext float %277 to double
%279 = fcmp oeq double %278, 0.000000e+00
br i1 %279, label %280, label %289
280: ; preds = %263
%281 = load ptr, ptr %5, align 8
%282 = load i32, ptr %11, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds ptr, ptr %281, i64 %283
%285 = load ptr, ptr %284, align 8
%286 = load i32, ptr %11, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds float, ptr %285, i64 %287
store float 0x3BC79CA100000000, ptr %288, align 4
br label %289
289: ; preds = %280, %263
%290 = load i32, ptr %11, align 4
%291 = load i32, ptr %6, align 4
%292 = icmp ne i32 %290, %291
br i1 %292, label %293, label %328
293: ; preds = %289
%294 = load ptr, ptr %5, align 8
%295 = load i32, ptr %11, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds ptr, ptr %294, i64 %296
%298 = load ptr, ptr %297, align 8
%299 = load i32, ptr %11, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds float, ptr %298, i64 %300
%302 = load float, ptr %301, align 4
%303 = fpext float %302 to double
%304 = fdiv double 1.000000e+00, %303
%305 = fptrunc double %304 to float
store float %305, ptr %14, align 4
%306 = load i32, ptr %11, align 4
%307 = add nsw i32 %306, 1
store i32 %307, ptr %9, align 4
br label %308
308: ; preds = %324, %293
%309 = load i32, ptr %9, align 4
%310 = load i32, ptr %6, align 4
%311 = icmp sle i32 %309, %310
br i1 %311, label %312, label %327
312: ; preds = %308
%313 = load float, ptr %14, align 4
%314 = load ptr, ptr %5, align 8
%315 = load i32, ptr %9, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds ptr, ptr %314, i64 %316
%318 = load ptr, ptr %317, align 8
%319 = load i32, ptr %11, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds float, ptr %318, i64 %320
%322 = load float, ptr %321, align 4
%323 = fmul float %322, %313
store float %323, ptr %321, align 4
br label %324
324: ; preds = %312
%325 = load i32, ptr %9, align 4
%326 = add nsw i32 %325, 1
store i32 %326, ptr %9, align 4
br label %308, !llvm.loop !14
327: ; preds = %308
br label %328
328: ; preds = %327, %289
br label %329
329: ; preds = %328
%330 = load i32, ptr %11, align 4
%331 = add nsw i32 %330, 1
store i32 %331, ptr %11, align 4
br label %68, !llvm.loop !15
332: ; preds = %68
%333 = load ptr, ptr %17, align 8
%334 = load i32, ptr %6, align 4
%335 = call i32 @free_vector(ptr noundef %333, i32 noundef 1, i32 noundef %334)
ret void
}
declare ptr @vector(i32 noundef, i32 noundef) #1
declare float @fabs(float noundef) #1
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @free_vector(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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzazmwqb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Singular matrix in routine ludcmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ludcmp(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%18 = load i32, ptr %6, align 4
%19 = call ptr @vector(i32 noundef 1, i32 noundef %18)
store ptr %19, ptr %17, align 8
%20 = load ptr, ptr %8, align 8
store float 1.000000e+00, ptr %20, align 4
store i32 1, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph2, label %71
.lr.ph2: ; preds = %4
br label %24
24: ; preds = %.lr.ph2, %65
store float 0.000000e+00, ptr %13, align 4
store i32 1, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %.lr.ph, label %50
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %44
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds float, ptr %33, i64 %35
%37 = load float, ptr %36, align 4
%38 = call float @fabs(float noundef %37)
store float %38, ptr %16, align 4
%39 = load float, ptr %13, align 4
%40 = fcmp ogt float %38, %39
br i1 %40, label %41, label %43
41: ; preds = %28
%42 = load float, ptr %16, align 4
store float %42, ptr %13, align 4
br label %43
43: ; preds = %41, %28
br label %44
44: ; preds = %43
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %24
%51 = load float, ptr %13, align 4
%52 = fpext float %51 to double
%53 = fcmp oeq double %52, 0.000000e+00
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @nrerror(ptr noundef @.str)
br label %56
56: ; preds = %54, %50
%57 = load float, ptr %13, align 4
%58 = fpext float %57 to double
%59 = fdiv double 1.000000e+00, %58
%60 = fptrunc double %59 to float
%61 = load ptr, ptr %17, align 8
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %61, i64 %63
store float %60, ptr %64, align 4
br label %65
65: ; preds = %56
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %71
71: ; preds = %._crit_edge3, %4
store i32 1, ptr %11, align 4
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %6, align 4
%74 = icmp sle i32 %72, %73
br i1 %74, label %.lr.ph23, label %350
.lr.ph23: ; preds = %71
br label %75
75: ; preds = %.lr.ph23, %344
store i32 1, ptr %9, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %11, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph8, label %136
.lr.ph8: ; preds = %75
br label %79
79: ; preds = %.lr.ph8, %130
%80 = load ptr, ptr %5, align 8
%81 = load i32, ptr %9, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %80, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = load i32, ptr %11, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds float, ptr %84, i64 %86
%88 = load float, ptr %87, align 4
store float %88, ptr %15, align 4
store i32 1, ptr %12, align 4
%89 = load i32, ptr %12, align 4
%90 = load i32, ptr %9, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph5, label %120
.lr.ph5: ; preds = %79
br label %92
92: ; preds = %.lr.ph5, %114
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %9, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds ptr, ptr %93, i64 %95
%97 = load ptr, ptr %96, align 8
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds float, ptr %97, i64 %99
%101 = load float, ptr %100, align 4
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %12, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds ptr, ptr %102, i64 %104
%106 = load ptr, ptr %105, align 8
%107 = load i32, ptr %11, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds float, ptr %106, i64 %108
%110 = load float, ptr %109, align 4
%111 = load float, ptr %15, align 4
%112 = fneg float %101
%113 = call float @llvm.fmuladd.f32(float %112, float %110, float %111)
store float %113, ptr %15, align 4
br label %114
114: ; preds = %92
%115 = load i32, ptr %12, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %12, align 4
%117 = load i32, ptr %12, align 4
%118 = load i32, ptr %9, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %92, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %114
br label %120
120: ; preds = %._crit_edge6, %79
%121 = load float, ptr %15, align 4
%122 = load ptr, ptr %5, align 8
%123 = load i32, ptr %9, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds ptr, ptr %122, i64 %124
%126 = load ptr, ptr %125, align 8
%127 = load i32, ptr %11, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds float, ptr %126, i64 %128
store float %121, ptr %129, align 4
br label %130
130: ; preds = %120
%131 = load i32, ptr %9, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %9, align 4
%133 = load i32, ptr %9, align 4
%134 = load i32, ptr %11, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %79, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %130
br label %136
136: ; preds = %._crit_edge9, %75
store float 0.000000e+00, ptr %13, align 4
%137 = load i32, ptr %11, align 4
store i32 %137, ptr %9, align 4
%138 = load i32, ptr %9, align 4
%139 = load i32, ptr %6, align 4
%140 = icmp sle i32 %138, %139
br i1 %140, label %.lr.ph14, label %212
.lr.ph14: ; preds = %136
br label %141
141: ; preds = %.lr.ph14, %206
%142 = load ptr, ptr %5, align 8
%143 = load i32, ptr %9, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds ptr, ptr %142, i64 %144
%146 = load ptr, ptr %145, align 8
%147 = load i32, ptr %11, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds float, ptr %146, i64 %148
%150 = load float, ptr %149, align 4
store float %150, ptr %15, align 4
store i32 1, ptr %12, align 4
%151 = load i32, ptr %12, align 4
%152 = load i32, ptr %11, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %.lr.ph11, label %182
.lr.ph11: ; preds = %141
br label %154
154: ; preds = %.lr.ph11, %176
%155 = load ptr, ptr %5, align 8
%156 = load i32, ptr %9, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds ptr, ptr %155, i64 %157
%159 = load ptr, ptr %158, align 8
%160 = load i32, ptr %12, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds float, ptr %159, i64 %161
%163 = load float, ptr %162, align 4
%164 = load ptr, ptr %5, align 8
%165 = load i32, ptr %12, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds ptr, ptr %164, i64 %166
%168 = load ptr, ptr %167, align 8
%169 = load i32, ptr %11, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds float, ptr %168, i64 %170
%172 = load float, ptr %171, align 4
%173 = load float, ptr %15, align 4
%174 = fneg float %163
%175 = call float @llvm.fmuladd.f32(float %174, float %172, float %173)
store float %175, ptr %15, align 4
br label %176
176: ; preds = %154
%177 = load i32, ptr %12, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %12, align 4
%179 = load i32, ptr %12, align 4
%180 = load i32, ptr %11, align 4
%181 = icmp slt i32 %179, %180
br i1 %181, label %154, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %176
br label %182
182: ; preds = %._crit_edge12, %141
%183 = load float, ptr %15, align 4
%184 = load ptr, ptr %5, align 8
%185 = load i32, ptr %9, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds ptr, ptr %184, i64 %186
%188 = load ptr, ptr %187, align 8
%189 = load i32, ptr %11, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds float, ptr %188, i64 %190
store float %183, ptr %191, align 4
%192 = load ptr, ptr %17, align 8
%193 = load i32, ptr %9, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds float, ptr %192, i64 %194
%196 = load float, ptr %195, align 4
%197 = load float, ptr %15, align 4
%198 = call float @fabs(float noundef %197)
%199 = fmul float %196, %198
store float %199, ptr %14, align 4
%200 = load float, ptr %13, align 4
%201 = fcmp oge float %199, %200
br i1 %201, label %202, label %205
202: ; preds = %182
%203 = load float, ptr %14, align 4
store float %203, ptr %13, align 4
%204 = load i32, ptr %9, align 4
store i32 %204, ptr %10, align 4
br label %205
205: ; preds = %202, %182
br label %206
206: ; preds = %205
%207 = load i32, ptr %9, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %9, align 4
%209 = load i32, ptr %9, align 4
%210 = load i32, ptr %6, align 4
%211 = icmp sle i32 %209, %210
br i1 %211, label %141, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %206
br label %212
212: ; preds = %._crit_edge15, %136
%213 = load i32, ptr %11, align 4
%214 = load i32, ptr %10, align 4
%215 = icmp ne i32 %213, %214
br i1 %215, label %216, label %276
216: ; preds = %212
store i32 1, ptr %12, align 4
%217 = load i32, ptr %12, align 4
%218 = load i32, ptr %6, align 4
%219 = icmp sle i32 %217, %218
br i1 %219, label %.lr.ph17, label %262
.lr.ph17: ; preds = %216
br label %220
220: ; preds = %.lr.ph17, %256
%221 = load ptr, ptr %5, align 8
%222 = load i32, ptr %10, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds ptr, ptr %221, i64 %223
%225 = load ptr, ptr %224, align 8
%226 = load i32, ptr %12, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds float, ptr %225, i64 %227
%229 = load float, ptr %228, align 4
store float %229, ptr %14, align 4
%230 = load ptr, ptr %5, align 8
%231 = load i32, ptr %11, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds ptr, ptr %230, i64 %232
%234 = load ptr, ptr %233, align 8
%235 = load i32, ptr %12, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds float, ptr %234, i64 %236
%238 = load float, ptr %237, align 4
%239 = load ptr, ptr %5, align 8
%240 = load i32, ptr %10, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds ptr, ptr %239, i64 %241
%243 = load ptr, ptr %242, align 8
%244 = load i32, ptr %12, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds float, ptr %243, i64 %245
store float %238, ptr %246, align 4
%247 = load float, ptr %14, align 4
%248 = load ptr, ptr %5, align 8
%249 = load i32, ptr %11, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = load i32, ptr %12, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds float, ptr %252, i64 %254
store float %247, ptr %255, align 4
br label %256
256: ; preds = %220
%257 = load i32, ptr %12, align 4
%258 = add nsw i32 %257, 1
store i32 %258, ptr %12, align 4
%259 = load i32, ptr %12, align 4
%260 = load i32, ptr %6, align 4
%261 = icmp sle i32 %259, %260
br i1 %261, label %220, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %256
br label %262
262: ; preds = %._crit_edge18, %216
%263 = load ptr, ptr %8, align 8
%264 = load float, ptr %263, align 4
%265 = fneg float %264
%266 = load ptr, ptr %8, align 8
store float %265, ptr %266, align 4
%267 = load ptr, ptr %17, align 8
%268 = load i32, ptr %11, align 4
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds float, ptr %267, i64 %269
%271 = load float, ptr %270, align 4
%272 = load ptr, ptr %17, align 8
%273 = load i32, ptr %10, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds float, ptr %272, i64 %274
store float %271, ptr %275, align 4
br label %276
276: ; preds = %262, %212
%277 = load i32, ptr %10, align 4
%278 = load ptr, ptr %7, align 8
%279 = load i32, ptr %11, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds i32, ptr %278, i64 %280
store i32 %277, ptr %281, align 4
%282 = load ptr, ptr %5, align 8
%283 = load i32, ptr %11, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds ptr, ptr %282, i64 %284
%286 = load ptr, ptr %285, align 8
%287 = load i32, ptr %11, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds float, ptr %286, i64 %288
%290 = load float, ptr %289, align 4
%291 = fpext float %290 to double
%292 = fcmp oeq double %291, 0.000000e+00
br i1 %292, label %293, label %302
293: ; preds = %276
%294 = load ptr, ptr %5, align 8
%295 = load i32, ptr %11, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds ptr, ptr %294, i64 %296
%298 = load ptr, ptr %297, align 8
%299 = load i32, ptr %11, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds float, ptr %298, i64 %300
store float 0x3BC79CA100000000, ptr %301, align 4
br label %302
302: ; preds = %293, %276
%303 = load i32, ptr %11, align 4
%304 = load i32, ptr %6, align 4
%305 = icmp ne i32 %303, %304
br i1 %305, label %306, label %343
306: ; preds = %302
%307 = load ptr, ptr %5, align 8
%308 = load i32, ptr %11, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds ptr, ptr %307, i64 %309
%311 = load ptr, ptr %310, align 8
%312 = load i32, ptr %11, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds float, ptr %311, i64 %313
%315 = load float, ptr %314, align 4
%316 = fpext float %315 to double
%317 = fdiv double 1.000000e+00, %316
%318 = fptrunc double %317 to float
store float %318, ptr %14, align 4
%319 = load i32, ptr %11, align 4
%320 = add nsw i32 %319, 1
store i32 %320, ptr %9, align 4
%321 = load i32, ptr %9, align 4
%322 = load i32, ptr %6, align 4
%323 = icmp sle i32 %321, %322
br i1 %323, label %.lr.ph20, label %342
.lr.ph20: ; preds = %306
br label %324
324: ; preds = %.lr.ph20, %336
%325 = load float, ptr %14, align 4
%326 = load ptr, ptr %5, align 8
%327 = load i32, ptr %9, align 4
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds ptr, ptr %326, i64 %328
%330 = load ptr, ptr %329, align 8
%331 = load i32, ptr %11, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds float, ptr %330, i64 %332
%334 = load float, ptr %333, align 4
%335 = fmul float %334, %325
store float %335, ptr %333, align 4
br label %336
336: ; preds = %324
%337 = load i32, ptr %9, align 4
%338 = add nsw i32 %337, 1
store i32 %338, ptr %9, align 4
%339 = load i32, ptr %9, align 4
%340 = load i32, ptr %6, align 4
%341 = icmp sle i32 %339, %340
br i1 %341, label %324, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %336
br label %342
342: ; preds = %._crit_edge21, %306
br label %343
343: ; preds = %342, %302
br label %344
344: ; preds = %343
%345 = load i32, ptr %11, align 4
%346 = add nsw i32 %345, 1
store i32 %346, ptr %11, align 4
%347 = load i32, ptr %11, align 4
%348 = load i32, ptr %6, align 4
%349 = icmp sle i32 %347, %348
br i1 %349, label %75, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %344
br label %350
350: ; preds = %._crit_edge24, %71
%351 = load ptr, ptr %17, align 8
%352 = load i32, ptr %6, align 4
%353 = call i32 @free_vector(ptr noundef %351, i32 noundef 1, i32 noundef %352)
ret void
}
declare ptr @vector(i32 noundef, i32 noundef) #1
declare float @fabs(float noundef) #1
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @free_vector(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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmpvulr8736.c'
source_filename = "/tmp/tmpvulr8736.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_hex_main(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 @random_main(i32 noundef 1, i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @random_main(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/tmpvulr8736.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_hex_main(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 @random_main(i32 noundef 1, i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @random_main(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/tmphkzxv6ps.c'
source_filename = "/tmp/tmphkzxv6ps.c"
target datalayout = "e-m:e-p270: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/tmphkzxv6ps.c"
target datalayout = "e-m:e-p270: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/tmp4e6qg4yr.c'
source_filename = "/tmp/tmp4e6qg4yr.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"Out of memory!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %20
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = call ptr @malloc(i64 noundef 1) #4
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #5
unreachable
19: ; preds = %11
br label %20
20: ; preds = %19, %8, %1
%21 = load ptr, ptr %3, align 8
ret ptr %21
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmp4e6qg4yr.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"Out of memory!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %20
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = call ptr @malloc(i64 noundef 1) #4
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #5
unreachable
19: ; preds = %11
br label %20
20: ; preds = %19, %8, %1
%21 = load ptr, ptr %3, align 8
ret ptr %21
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmph5eo6rwa.c'
source_filename = "/tmp/tmph5eo6rwa.c"
target datalayout = "e-m:e-p270: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/tmph5eo6rwa.c"
target datalayout = "e-m:e-p270: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/tmpo1feghkq.c'
source_filename = "/tmp/tmpo1feghkq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswctype_l(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @iswctype(i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @iswctype(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/tmpo1feghkq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__iswctype_l(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @iswctype(i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @iswctype(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/tmpjb2zno9_.c'
source_filename = "/tmp/tmpjb2zno9_.c"
target datalayout = "e-m:e-p270: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/tmpjb2zno9_.c"
target datalayout = "e-m:e-p270: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/tmp4d2ldnlh.c'
source_filename = "/tmp/tmp4d2ldnlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i64 @strlen(ptr noundef %11)
store i64 %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %9, align 8
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %9, align 8
%17 = add i64 %15, %16
store i64 %17, ptr %10, align 8
%18 = load i64, ptr %8, align 8
%19 = load i64, ptr %9, align 8
%20 = add i64 %18, %19
%21 = load i64, ptr %7, align 8
%22 = icmp uge i64 %20, %21
br i1 %22, label %23, label %35
23: ; preds = %3
%24 = load i64, ptr %7, align 8
%25 = load i64, ptr %8, align 8
%26 = add i64 %25, 1
%27 = icmp ult i64 %24, %26
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = load i64, ptr %10, align 8
store i64 %29, ptr %4, align 8
br label %52
30: ; preds = %23
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %8, align 8
%33 = add i64 %32, 1
%34 = sub i64 %31, %33
store i64 %34, ptr %9, align 8
br label %35
35: ; preds = %30, %3
%36 = load i64, ptr %9, align 8
%37 = icmp ugt i64 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %35
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load ptr, ptr %6, align 8
%43 = load i64, ptr %9, align 8
%44 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i64 noundef %43)
%45 = load ptr, ptr %5, align 8
%46 = load i64, ptr %8, align 8
%47 = load i64, ptr %9, align 8
%48 = add i64 %46, %47
%49 = getelementptr inbounds i8, ptr %45, i64 %48
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %38, %35
%51 = load i64, ptr %10, align 8
store i64 %51, ptr %4, align 8
br label %52
52: ; preds = %50, %28
%53 = load i64, ptr %4, align 8
ret i64 %53
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4d2ldnlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i64 @strlen(ptr noundef %11)
store i64 %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %9, align 8
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %9, align 8
%17 = add i64 %15, %16
store i64 %17, ptr %10, align 8
%18 = load i64, ptr %8, align 8
%19 = load i64, ptr %9, align 8
%20 = add i64 %18, %19
%21 = load i64, ptr %7, align 8
%22 = icmp uge i64 %20, %21
br i1 %22, label %23, label %35
23: ; preds = %3
%24 = load i64, ptr %7, align 8
%25 = load i64, ptr %8, align 8
%26 = add i64 %25, 1
%27 = icmp ult i64 %24, %26
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = load i64, ptr %10, align 8
store i64 %29, ptr %4, align 8
br label %52
30: ; preds = %23
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %8, align 8
%33 = add i64 %32, 1
%34 = sub i64 %31, %33
store i64 %34, ptr %9, align 8
br label %35
35: ; preds = %30, %3
%36 = load i64, ptr %9, align 8
%37 = icmp ugt i64 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %35
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load ptr, ptr %6, align 8
%43 = load i64, ptr %9, align 8
%44 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i64 noundef %43)
%45 = load ptr, ptr %5, align 8
%46 = load i64, ptr %8, align 8
%47 = load i64, ptr %9, align 8
%48 = add i64 %46, %47
%49 = getelementptr inbounds i8, ptr %45, i64 %48
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %38, %35
%51 = load i64, ptr %10, align 8
store i64 %51, ptr %4, align 8
br label %52
52: ; preds = %50, %28
%53 = load i64, ptr %4, align 8
ret i64 %53
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8_v5ocuh.c'
source_filename = "/tmp/tmp8_v5ocuh.c"
target datalayout = "e-m:e-p270: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/tmp8_v5ocuh.c"
target datalayout = "e-m:e-p270: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/tmpjm92htjf.c'
source_filename = "/tmp/tmpjm92htjf.c"
target datalayout = "e-m:e-p270: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/tmpjm92htjf.c"
target datalayout = "e-m:e-p270: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/tmpo0ci6_5v.c'
source_filename = "/tmp/tmpo0ci6_5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPUIntRegister(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASSERT(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @IntRegister(i32 noundef 4, ptr noundef %5)
%7 = call i32 @IntEnable(i32 noundef 4)
ret void
}
declare i32 @ASSERT(ptr noundef) #1
declare i32 @IntRegister(i32 noundef, ptr noundef) #1
declare i32 @IntEnable(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/tmpo0ci6_5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPUIntRegister(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASSERT(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @IntRegister(i32 noundef 4, ptr noundef %5)
%7 = call i32 @IntEnable(i32 noundef 4)
ret void
}
declare i32 @ASSERT(ptr noundef) #1
declare i32 @IntRegister(i32 noundef, ptr noundef) #1
declare i32 @IntEnable(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/tmp2v0ad8v8.c'
source_filename = "/tmp/tmp2v0ad8v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_MAXCDNAME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ns_name_compress(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%15 = load i32, ptr @NS_MAXCDNAME, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %12, align 8
%18 = alloca i32, i64 %16, align 16
store i64 %16, ptr %13, align 8
%19 = load ptr, ptr %7, align 8
%20 = mul nuw i64 4, %16
%21 = trunc i64 %20 to i32
%22 = call i32 @ns_name_pton(ptr noundef %19, ptr noundef %18, i32 noundef %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %25
24: ; preds = %5
store i32 -1, ptr %6, align 4
store i32 1, ptr %14, align 4
br label %31
25: ; preds = %5
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %9, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = call i32 @ns_name_pack(ptr noundef %18, ptr noundef %26, i64 noundef %27, ptr noundef %28, ptr noundef %29)
store i32 %30, ptr %6, align 4
store i32 1, ptr %14, align 4
br label %31
31: ; preds = %25, %24
%32 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %32)
%33 = load i32, ptr %6, align 4
ret i32 %33
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @ns_name_pton(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @ns_name_pack(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2v0ad8v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_MAXCDNAME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ns_name_compress(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%15 = load i32, ptr @NS_MAXCDNAME, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %12, align 8
%18 = alloca i32, i64 %16, align 16
store i64 %16, ptr %13, align 8
%19 = load ptr, ptr %7, align 8
%20 = mul nuw i64 4, %16
%21 = trunc i64 %20 to i32
%22 = call i32 @ns_name_pton(ptr noundef %19, ptr noundef %18, i32 noundef %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %25
24: ; preds = %5
store i32 -1, ptr %6, align 4
store i32 1, ptr %14, align 4
br label %31
25: ; preds = %5
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %9, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = call i32 @ns_name_pack(ptr noundef %18, ptr noundef %26, i64 noundef %27, ptr noundef %28, ptr noundef %29)
store i32 %30, ptr %6, align 4
store i32 1, ptr %14, align 4
br label %31
31: ; preds = %25, %24
%32 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %32)
%33 = load i32, ptr %6, align 4
ret i32 %33
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @ns_name_pton(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @ns_name_pack(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9guaq052.c'
source_filename = "/tmp/tmp9guaq052.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/.backup/data/\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c".gz\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"find\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"-name\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @temBackup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [2 x i32], align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = call ptr @getenv(ptr noundef @.str)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %10, 15
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.1)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.2)
%23 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%24 = call i32 @pipe(ptr noundef %23)
%25 = call i64 (...) @fork()
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %38
27: ; preds = %1
%28 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%29 = load i32, ptr %28, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%32 = load i32, ptr %31, align 4
%33 = call i32 @dup2(i32 noundef %32, i32 noundef 1)
%34 = call i32 @close(i32 noundef 2)
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %2, align 8
%37 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.3, ptr noundef %35, ptr noundef @.str.4, ptr noundef %36, ptr noundef null)
br label %38
38: ; preds = %27, %1
%39 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%40 = load i32, ptr %39, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = call i32 @wait(ptr noundef null)
%43 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%44 = load i32, ptr %43, align 4
%45 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%46 = call i32 @readln(i32 noundef %44, ptr noundef %45)
store i32 %46, ptr %7, align 4
%47 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%48 = load i32, ptr %47, align 4
%49 = call i32 @close(i32 noundef %48)
%50 = load i32, ptr %7, align 4
ret i32 %50
}
declare ptr @getenv(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @readln(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/tmp9guaq052.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/.backup/data/\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c".gz\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"find\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"-name\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @temBackup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [2 x i32], align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = call ptr @getenv(ptr noundef @.str)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %10, 15
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.1)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.2)
%23 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%24 = call i32 @pipe(ptr noundef %23)
%25 = call i64 (...) @fork()
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %38
27: ; preds = %1
%28 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%29 = load i32, ptr %28, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%32 = load i32, ptr %31, align 4
%33 = call i32 @dup2(i32 noundef %32, i32 noundef 1)
%34 = call i32 @close(i32 noundef 2)
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %2, align 8
%37 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.3, ptr noundef %35, ptr noundef @.str.4, ptr noundef %36, ptr noundef null)
br label %38
38: ; preds = %27, %1
%39 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%40 = load i32, ptr %39, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = call i32 @wait(ptr noundef null)
%43 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%44 = load i32, ptr %43, align 4
%45 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%46 = call i32 @readln(i32 noundef %44, ptr noundef %45)
store i32 %46, ptr %7, align 4
%47 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%48 = load i32, ptr %47, align 4
%49 = call i32 @close(i32 noundef %48)
%50 = load i32, ptr %7, align 4
ret i32 %50
}
declare ptr @getenv(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @readln(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/tmpbqofvkq9.c'
source_filename = "/tmp/tmpbqofvkq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @quaddobl_witness_set_to_Laurent_system_container() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 809, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbqofvkq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @quaddobl_witness_set_to_Laurent_system_container() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 809, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9zto6vfx.c'
source_filename = "/tmp/tmp9zto6vfx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toy_strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @strndup(ptr noundef %6, i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @strndup(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9zto6vfx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toy_strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @strndup(ptr noundef %6, i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @strndup(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp97hq531c.c'
source_filename = "/tmp/tmp97hq531c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_log_id(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @_IO(i8 noundef zeroext 117, i32 noundef 5)
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @ioctl(i32 noundef, i32 noundef) #1
declare i32 @_IO(i8 noundef zeroext, 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/tmp97hq531c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_log_id(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @_IO(i8 noundef zeroext 117, i32 noundef 5)
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @ioctl(i32 noundef, i32 noundef) #1
declare i32 @_IO(i8 noundef zeroext, 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/tmphi9z88gn.c'
source_filename = "/tmp/tmphi9z88gn.c"
target datalayout = "e-m:e-p270: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/tmphi9z88gn.c"
target datalayout = "e-m:e-p270: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/tmp889wsv3q.c'
source_filename = "/tmp/tmp889wsv3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [38 x i8] c"Cannot allocate %d bytes for memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @load_pgm(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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%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 ptr null, ptr %8, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %13, align 8
%16 = load ptr, ptr %13, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %3
store ptr null, ptr %4, align 8
br label %62
19: ; preds = %3
%20 = load ptr, ptr %13, align 8
%21 = call i32 @read_pnm_header(ptr noundef %20, ptr noundef %10, ptr noundef %11, ptr noundef %9)
%22 = icmp ne i32 %21, 5
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %13, align 8
%25 = call i32 @fclose(ptr noundef %24)
store ptr null, ptr %4, align 8
br label %62
26: ; preds = %19
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 %27, %28
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %40
34: ; preds = %26
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %11, align 4
%37 = mul nsw i32 %35, %36
%38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37)
%39 = call i32 @exit(i32 noundef -1) #3
unreachable
40: ; preds = %26
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %11, align 4
%44 = mul nsw i32 %42, %43
%45 = load ptr, ptr %13, align 8
%46 = call i64 @fread(ptr noundef %41, i32 noundef 1, i32 noundef %44, ptr noundef %45)
store i64 %46, ptr %12, align 8
%47 = load i64, ptr %12, align 8
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = mul nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = icmp ne i64 %47, %51
br i1 %52, label %53, label %56
53: ; preds = %40
%54 = load ptr, ptr %8, align 8
%55 = call i32 @free(ptr noundef %54)
store ptr null, ptr %8, align 8
br label %56
56: ; preds = %53, %40
%57 = load i32, ptr %10, align 4
%58 = load ptr, ptr %6, align 8
store i32 %57, ptr %58, align 4
%59 = load i32, ptr %11, align 4
%60 = load ptr, ptr %7, align 8
store i32 %59, ptr %60, align 4
%61 = load ptr, ptr %8, align 8
store ptr %61, ptr %4, align 8
br label %62
62: ; preds = %56, %23, %18
%63 = load ptr, ptr %4, align 8
ret ptr %63
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @read_pnm_header(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fread(ptr noundef, i32 noundef, i32 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" }
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/tmp889wsv3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [38 x i8] c"Cannot allocate %d bytes for memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @load_pgm(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 i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%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 ptr null, ptr %8, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %13, align 8
%16 = load ptr, ptr %13, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %3
store ptr null, ptr %4, align 8
br label %62
19: ; preds = %3
%20 = load ptr, ptr %13, align 8
%21 = call i32 @read_pnm_header(ptr noundef %20, ptr noundef %10, ptr noundef %11, ptr noundef %9)
%22 = icmp ne i32 %21, 5
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %13, align 8
%25 = call i32 @fclose(ptr noundef %24)
store ptr null, ptr %4, align 8
br label %62
26: ; preds = %19
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 %27, %28
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %40
34: ; preds = %26
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %11, align 4
%37 = mul nsw i32 %35, %36
%38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37)
%39 = call i32 @exit(i32 noundef -1) #3
unreachable
40: ; preds = %26
%41 = load ptr, ptr %8, align 8
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %11, align 4
%44 = mul nsw i32 %42, %43
%45 = load ptr, ptr %13, align 8
%46 = call i64 @fread(ptr noundef %41, i32 noundef 1, i32 noundef %44, ptr noundef %45)
store i64 %46, ptr %12, align 8
%47 = load i64, ptr %12, align 8
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = mul nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = icmp ne i64 %47, %51
br i1 %52, label %53, label %56
53: ; preds = %40
%54 = load ptr, ptr %8, align 8
%55 = call i32 @free(ptr noundef %54)
store ptr null, ptr %8, align 8
br label %56
56: ; preds = %53, %40
%57 = load i32, ptr %10, align 4
%58 = load ptr, ptr %6, align 8
store i32 %57, ptr %58, align 4
%59 = load i32, ptr %11, align 4
%60 = load ptr, ptr %7, align 8
store i32 %59, ptr %60, align 4
%61 = load ptr, ptr %8, align 8
store ptr %61, ptr %4, align 8
br label %62
62: ; preds = %56, %23, %18
%63 = load ptr, ptr %4, align 8
ret ptr %63
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @read_pnm_header(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fread(ptr noundef, i32 noundef, i32 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" }
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/tmpib6amn81.c'
source_filename = "/tmp/tmpib6amn81.c"
target datalayout = "e-m:e-p270: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/tmpib6amn81.c"
target datalayout = "e-m:e-p270: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/tmpolkrzm_s.c'
source_filename = "/tmp/tmpolkrzm_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"
@.str = private unnamed_addr constant [6 x i8] c"stop\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @virtio_stop() #0 {
br label %1
1: ; preds = %0, %1
%2 = call i32 @early_puts(ptr noundef @.str)
br label %1
}
declare i32 @early_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpolkrzm_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"
@.str = private unnamed_addr constant [6 x i8] c"stop\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @virtio_stop() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 @early_puts(ptr noundef @.str)
br label %1
}
declare i32 @early_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc_pl1tvt.c'
source_filename = "/tmp/tmpc_pl1tvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_2_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @sinc_approx(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%13 = load double, ptr %6, align 8
%14 = fmul double 4.000000e+00, %13
%15 = load i32, ptr %5, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double %14, %16
%18 = load double, ptr %7, align 8
%19 = fdiv double %17, %18
%20 = fptosi double %19 to i32
%21 = call i32 @log(i32 noundef %20)
%22 = load i32, ptr %5, align 4
%23 = sdiv i32 %21, %22
%24 = sitofp i32 %23 to double
store double %24, ptr %10, align 8
%25 = load double, ptr @M_2_PI, align 8
%26 = load double, ptr %8, align 8
%27 = call double @asinh(double noundef %26) #4
%28 = fmul double %25, %27
%29 = call double @asinh(double noundef %28) #4
store double %29, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
br label %31
31: ; preds = %59, %4
%32 = load i32, ptr %9, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %62
34: ; preds = %31
%35 = load i32, ptr %9, align 4
%36 = sitofp i32 %35 to double
%37 = load double, ptr %10, align 8
%38 = fmul double %36, %37
%39 = call double @ftrans(double noundef %38)
%40 = load i32, ptr %9, align 4
%41 = load double, ptr %10, align 8
%42 = load double, ptr %11, align 8
%43 = call double @S(i32 noundef %40, double noundef %41, double noundef %42)
%44 = load double, ptr %12, align 8
%45 = call double @llvm.fmuladd.f64(double %39, double %43, double %44)
store double %45, ptr %12, align 8
%46 = load i32, ptr %9, align 4
%47 = sub nsw i32 0, %46
%48 = sitofp i32 %47 to double
%49 = load double, ptr %10, align 8
%50 = fmul double %48, %49
%51 = call double @ftrans(double noundef %50)
%52 = load i32, ptr %9, align 4
%53 = sub nsw i32 0, %52
%54 = load double, ptr %10, align 8
%55 = load double, ptr %11, align 8
%56 = call double @S(i32 noundef %53, double noundef %54, double noundef %55)
%57 = load double, ptr %12, align 8
%58 = call double @llvm.fmuladd.f64(double %51, double %56, double %57)
store double %58, ptr %12, align 8
br label %59
59: ; preds = %34
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %9, align 4
br label %31, !llvm.loop !6
62: ; preds = %31
%63 = load double, ptr %10, align 8
%64 = fmul double 0.000000e+00, %63
%65 = call double @ftrans(double noundef %64)
%66 = load double, ptr %10, align 8
%67 = load double, ptr %11, align 8
%68 = call double @S(i32 noundef 0, double noundef %66, double noundef %67)
%69 = load double, ptr %12, align 8
%70 = call double @llvm.fmuladd.f64(double %65, double %68, double %69)
store double %70, ptr %12, align 8
%71 = load double, ptr %12, align 8
ret double %71
}
declare i32 @log(i32 noundef) #1
; Function Attrs: nounwind
declare double @asinh(double noundef) #2
declare double @ftrans(double noundef) #1
declare double @S(i32 noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_pl1tvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_2_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @sinc_approx(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%13 = load double, ptr %6, align 8
%14 = fmul double 4.000000e+00, %13
%15 = load i32, ptr %5, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double %14, %16
%18 = load double, ptr %7, align 8
%19 = fdiv double %17, %18
%20 = fptosi double %19 to i32
%21 = call i32 @log(i32 noundef %20)
%22 = load i32, ptr %5, align 4
%23 = sdiv i32 %21, %22
%24 = sitofp i32 %23 to double
store double %24, ptr %10, align 8
%25 = load double, ptr @M_2_PI, align 8
%26 = load double, ptr %8, align 8
%27 = call double @asinh(double noundef %26) #4
%28 = fmul double %25, %27
%29 = call double @asinh(double noundef %28) #4
store double %29, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %.lr.ph, label %63
.lr.ph: ; preds = %4
br label %33
33: ; preds = %.lr.ph, %58
%34 = load i32, ptr %9, align 4
%35 = sitofp i32 %34 to double
%36 = load double, ptr %10, align 8
%37 = fmul double %35, %36
%38 = call double @ftrans(double noundef %37)
%39 = load i32, ptr %9, align 4
%40 = load double, ptr %10, align 8
%41 = load double, ptr %11, align 8
%42 = call double @S(i32 noundef %39, double noundef %40, double noundef %41)
%43 = load double, ptr %12, align 8
%44 = call double @llvm.fmuladd.f64(double %38, double %42, double %43)
store double %44, ptr %12, align 8
%45 = load i32, ptr %9, align 4
%46 = sub nsw i32 0, %45
%47 = sitofp i32 %46 to double
%48 = load double, ptr %10, align 8
%49 = fmul double %47, %48
%50 = call double @ftrans(double noundef %49)
%51 = load i32, ptr %9, align 4
%52 = sub nsw i32 0, %51
%53 = load double, ptr %10, align 8
%54 = load double, ptr %11, align 8
%55 = call double @S(i32 noundef %52, double noundef %53, double noundef %54)
%56 = load double, ptr %12, align 8
%57 = call double @llvm.fmuladd.f64(double %50, double %55, double %56)
store double %57, ptr %12, align 8
br label %58
58: ; preds = %33
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %9, align 4
%61 = load i32, ptr %9, align 4
%62 = icmp sgt i32 %61, 0
br i1 %62, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %63
63: ; preds = %._crit_edge, %4
%64 = load double, ptr %10, align 8
%65 = fmul double 0.000000e+00, %64
%66 = call double @ftrans(double noundef %65)
%67 = load double, ptr %10, align 8
%68 = load double, ptr %11, align 8
%69 = call double @S(i32 noundef 0, double noundef %67, double noundef %68)
%70 = load double, ptr %12, align 8
%71 = call double @llvm.fmuladd.f64(double %66, double %69, double %70)
store double %71, ptr %12, align 8
%72 = load double, ptr %12, align 8
ret double %72
}
declare i32 @log(i32 noundef) #1
; Function Attrs: nounwind
declare double @asinh(double noundef) #2
declare double @ftrans(double noundef) #1
declare double @S(i32 noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp84kbo019.c'
source_filename = "/tmp/tmp84kbo019.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmAdd3fv_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %19, %2
%7 = load i64, ptr %5, align 8
%8 = icmp ult i64 %7, 3
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = load ptr, ptr %4, align 8
%11 = load i64, ptr %5, align 8
%12 = getelementptr inbounds float, ptr %10, i64 %11
%13 = load float, ptr %12, align 4
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %5, align 8
%16 = getelementptr inbounds float, ptr %14, i64 %15
%17 = load float, ptr %16, align 4
%18 = fadd float %17, %13
store float %18, ptr %16, align 4
br label %19
19: ; preds = %9
%20 = load i64, ptr %5, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %5, align 8
br label %6, !llvm.loop !6
22: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp84kbo019.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmAdd3fv_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp ult i64 %6, 3
br i1 %7, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %18
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = getelementptr inbounds float, ptr %9, i64 %10
%12 = load float, ptr %11, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds float, ptr %13, i64 %14
%16 = load float, ptr %15, align 4
%17 = fadd float %16, %12
store float %17, ptr %15, align 4
br label %18
18: ; preds = %8
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %5, align 8
%22 = icmp ult i64 %21, 3
br i1 %22, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5fjzwqxe.c'
source_filename = "/tmp/tmp5fjzwqxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_notws(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 ne ptr %3, null
br i1 %4, label %5, label %23
5: ; preds = %1
br label %6
6: ; preds = %19, %5
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %6
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = call i32 @is_ws(i8 noundef signext %13)
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
br label %17
17: ; preds = %11, %6
%18 = phi i1 [ false, %6 ], [ %16, %11 ]
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %2, align 8
br label %6, !llvm.loop !6
22: ; preds = %17
br label %23
23: ; preds = %22, %1
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
declare i32 @is_ws(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5fjzwqxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_notws(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 ne ptr %3, null
br i1 %4, label %5, label %23
5: ; preds = %1
br label %6
6: ; preds = %19, %5
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %6
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = call i32 @is_ws(i8 noundef signext %13)
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
br label %17
17: ; preds = %11, %6
%18 = phi i1 [ false, %6 ], [ %16, %11 ]
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %2, align 8
br label %6, !llvm.loop !6
22: ; preds = %17
br label %23
23: ; preds = %22, %1
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
declare i32 @is_ws(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_ymbpzij.c'
source_filename = "/tmp/tmp_ymbpzij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @foo(ptr noundef %4, i32 noundef 1)
%6 = call i32 @foo(ptr noundef %3, i32 noundef %5)
ret void
}
declare i32 @foo(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/tmp_ymbpzij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @foo(ptr noundef %4, i32 noundef 1)
%6 = call i32 @foo(ptr noundef %3, i32 noundef %5)
ret void
}
declare i32 @foo(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/tmpw1ng5766.c'
source_filename = "/tmp/tmpw1ng5766.c"
target datalayout = "e-m:e-p270: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_9__ = type { i32 }
%struct.TYPE_8__ = type { i64 }
@.str = private unnamed_addr constant [9 x i8] c".rel.plt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @find_rel(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = 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 ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%18 = load ptr, ptr %13, align 8
store ptr %18, ptr %15, align 8
%19 = load i32, ptr %10, align 4
%20 = load ptr, ptr %12, align 8
%21 = load ptr, ptr %13, align 8
%22 = load ptr, ptr %14, align 8
%23 = call i32 @get_sym_number(i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %16, align 4
%24 = load i32, ptr %16, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %7
%27 = load ptr, ptr %8, align 8
store i32 -1, ptr %27, align 4
%28 = load ptr, ptr %9, align 8
store i32 -1, ptr %28, align 4
br label %57
29: ; preds = %7
store i32 0, ptr %17, align 4
br label %30
30: ; preds = %54, %29
%31 = load i32, ptr %17, align 4
%32 = load ptr, ptr %12, align 8
%33 = getelementptr inbounds %struct.TYPE_9__, ptr %32, i32 0, i32 0
%34 = load i32, ptr %33, align 4
%35 = icmp slt i32 %31, %34
br i1 %35, label %36, label %57
36: ; preds = %30
%37 = load ptr, ptr %11, align 8
%38 = load ptr, ptr %15, align 8
%39 = getelementptr inbounds %struct.TYPE_8__, ptr %38, i32 0, i32 0
%40 = load i64, ptr %39, align 8
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str)
%43 = icmp ne i32 %42, 0
br i1 %43, label %51, label %44
44: ; preds = %36
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %10, align 4
%48 = load ptr, ptr %15, align 8
%49 = load i32, ptr %16, align 4
%50 = call i32 @do_rel(ptr noundef %45, ptr noundef %46, i32 noundef %47, ptr noundef %48, i32 noundef %49)
br label %57
51: ; preds = %36
%52 = load ptr, ptr %15, align 8
%53 = getelementptr inbounds %struct.TYPE_8__, ptr %52, i32 1
store ptr %53, ptr %15, align 8
br label %54
54: ; preds = %51
%55 = load i32, ptr %17, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %17, align 4
br label %30, !llvm.loop !6
57: ; preds = %26, %44, %30
ret void
}
declare i32 @get_sym_number(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @do_rel(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw1ng5766.c"
target datalayout = "e-m:e-p270: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 }
%struct.TYPE_9__ = type { i32 }
@.str = private unnamed_addr constant [9 x i8] c".rel.plt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @find_rel(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = 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 ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%18 = load ptr, ptr %13, align 8
store ptr %18, ptr %15, align 8
%19 = load i32, ptr %10, align 4
%20 = load ptr, ptr %12, align 8
%21 = load ptr, ptr %13, align 8
%22 = load ptr, ptr %14, align 8
%23 = call i32 @get_sym_number(i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %16, align 4
%24 = load i32, ptr %16, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %7
%27 = load ptr, ptr %8, align 8
store i32 -1, ptr %27, align 4
%28 = load ptr, ptr %9, align 8
store i32 -1, ptr %28, align 4
br label %60
29: ; preds = %7
store i32 0, ptr %17, align 4
%30 = load i32, ptr %17, align 4
%31 = load ptr, ptr %12, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp slt i32 %30, %32
br i1 %33, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %29
br label %34
34: ; preds = %.lr.ph, %52
%35 = load ptr, ptr %11, align 8
%36 = load ptr, ptr %15, align 8
%37 = getelementptr inbounds %struct.TYPE_8__, ptr %36, i32 0, i32 0
%38 = load i64, ptr %37, align 8
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = call i32 @strcmp(ptr noundef %39, ptr noundef @.str)
%41 = icmp ne i32 %40, 0
br i1 %41, label %49, label %42
42: ; preds = %34
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %10, align 4
%46 = load ptr, ptr %15, align 8
%47 = load i32, ptr %16, align 4
%48 = call i32 @do_rel(ptr noundef %43, ptr noundef %44, i32 noundef %45, ptr noundef %46, i32 noundef %47)
br label %60
49: ; preds = %34
%50 = load ptr, ptr %15, align 8
%51 = getelementptr inbounds %struct.TYPE_8__, ptr %50, i32 1
store ptr %51, ptr %15, align 8
br label %52
52: ; preds = %49
%53 = load i32, ptr %17, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %17, align 4
%55 = load i32, ptr %17, align 4
%56 = load ptr, ptr %12, align 8
%57 = getelementptr inbounds %struct.TYPE_9__, ptr %56, i32 0, i32 0
%58 = load i32, ptr %57, align 4
%59 = icmp slt i32 %55, %58
br i1 %59, label %34, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %52
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %29
br label %60
60: ; preds = %.loopexit, %42, %26
ret void
}
declare i32 @get_sym_number(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @do_rel(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9qkwhj0b.c'
source_filename = "/tmp/tmp9qkwhj0b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGTERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca [20 x i8], align 16
%10 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @setsid()
%12 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%13 = call i64 @forkpty(ptr noundef %6, ptr noundef %12, ptr noundef null, ptr noundef null)
store i64 %13, ptr %8, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %55
17: ; preds = %2
%18 = load i64, ptr %8, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %34
20: ; preds = %17
%21 = call i32 (...) @dosetpty()
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = call i64 @execvp(ptr noundef %24, ptr noundef %26)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %20
%30 = call i64 (...) @getppid()
%31 = load i32, ptr @SIGTERM, align 4
%32 = call i32 @kill(i64 noundef %30, i32 noundef %31)
store i32 %32, ptr %3, align 4
br label %55
33: ; preds = %20
br label %34
34: ; preds = %33, %17
br label %35
35: ; preds = %34
%36 = call i64 (...) @fork()
store i64 %36, ptr %8, align 8
%37 = load i64, ptr %8, align 8
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 -1, ptr %3, align 4
br label %55
40: ; preds = %35
%41 = load i64, ptr %8, align 8
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = call i32 @pipedata(i32 noundef 0, i32 noundef %44)
%46 = call i64 (...) @getppid()
%47 = call i32 @kill(i64 noundef %46, i32 noundef 9)
br label %53
48: ; preds = %40
%49 = load i32, ptr %6, align 4
%50 = call i32 @pipedata(i32 noundef %49, i32 noundef 1)
%51 = load i64, ptr %8, align 8
%52 = call i32 @kill(i64 noundef %51, i32 noundef 9)
br label %53
53: ; preds = %48, %43
br label %54
54: ; preds = %53
store i32 0, ptr %3, align 4
br label %55
55: ; preds = %54, %39, %29, %16
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @setsid(...) #1
declare i64 @forkpty(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @dosetpty(...) #1
declare i64 @execvp(ptr noundef, ptr noundef) #1
declare i32 @kill(i64 noundef, i32 noundef) #1
declare i64 @getppid(...) #1
declare i64 @fork(...) #1
declare i32 @pipedata(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/tmp9qkwhj0b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGTERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca [20 x i8], align 16
%10 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @setsid()
%12 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%13 = call i64 @forkpty(ptr noundef %6, ptr noundef %12, ptr noundef null, ptr noundef null)
store i64 %13, ptr %8, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %55
17: ; preds = %2
%18 = load i64, ptr %8, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %34
20: ; preds = %17
%21 = call i32 (...) @dosetpty()
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = call i64 @execvp(ptr noundef %24, ptr noundef %26)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %20
%30 = call i64 (...) @getppid()
%31 = load i32, ptr @SIGTERM, align 4
%32 = call i32 @kill(i64 noundef %30, i32 noundef %31)
store i32 %32, ptr %3, align 4
br label %55
33: ; preds = %20
br label %34
34: ; preds = %33, %17
br label %35
35: ; preds = %34
%36 = call i64 (...) @fork()
store i64 %36, ptr %8, align 8
%37 = load i64, ptr %8, align 8
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 -1, ptr %3, align 4
br label %55
40: ; preds = %35
%41 = load i64, ptr %8, align 8
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = call i32 @pipedata(i32 noundef 0, i32 noundef %44)
%46 = call i64 (...) @getppid()
%47 = call i32 @kill(i64 noundef %46, i32 noundef 9)
br label %53
48: ; preds = %40
%49 = load i32, ptr %6, align 4
%50 = call i32 @pipedata(i32 noundef %49, i32 noundef 1)
%51 = load i64, ptr %8, align 8
%52 = call i32 @kill(i64 noundef %51, i32 noundef 9)
br label %53
53: ; preds = %48, %43
br label %54
54: ; preds = %53
store i32 0, ptr %3, align 4
br label %55
55: ; preds = %54, %39, %29, %16
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @setsid(...) #1
declare i64 @forkpty(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @dosetpty(...) #1
declare i64 @execvp(ptr noundef, ptr noundef) #1
declare i32 @kill(i64 noundef, i32 noundef) #1
declare i64 @getppid(...) #1
declare i64 @fork(...) #1
declare i32 @pipedata(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/tmpo842m51_.c'
source_filename = "/tmp/tmpo842m51_.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo842m51_.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"Error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphrrqokte.c'
source_filename = "/tmp/tmphrrqokte.c"
target datalayout = "e-m:e-p270: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.pfl_unpack_hex.tab = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pfl_unpack_hex(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [17 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.pfl_unpack_hex.tab, i64 17, i1 false)
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %13
13: ; preds = %36, %3
%14 = load i64, ptr %10, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %41
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = ashr i32 %20, 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %9, align 8
store i8 %24, ptr %25, align 1
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 15
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %9, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %9, align 8
store i8 %33, ptr %34, align 1
br label %36
36: ; preds = %17
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %7, align 8
%39 = load i64, ptr %10, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %10, align 8
br label %13, !llvm.loop !6
41: ; preds = %13
%42 = load ptr, ptr %9, align 8
store i8 0, ptr %42, align 1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphrrqokte.c"
target datalayout = "e-m:e-p270: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.pfl_unpack_hex.tab = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pfl_unpack_hex(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [17 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.pfl_unpack_hex.tab, i64 17, i1 false)
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
%13 = load i64, ptr %10, align 8
%14 = load i64, ptr %5, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %43
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %35
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = ashr i32 %19, 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = load ptr, ptr %9, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %9, align 8
store i8 %23, ptr %24, align 1
%26 = load ptr, ptr %7, align 8
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = and i32 %28, 15
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %9, align 8
store i8 %32, ptr %33, align 1
br label %35
35: ; preds = %16
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i64, ptr %10, align 8
%39 = add i64 %38, 1
store i64 %39, ptr %10, align 8
%40 = load i64, ptr %10, align 8
%41 = load i64, ptr %5, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %43
43: ; preds = %._crit_edge, %3
%44 = load ptr, ptr %9, align 8
store i8 0, ptr %44, align 1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgfxfmc26.c'
source_filename = "/tmp/tmpgfxfmc26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = 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/tmpgfxfmc26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = 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/tmpxpg8506t.c'
source_filename = "/tmp/tmpxpg8506t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%u(b%03u\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c",%u,%u)\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"_AT24C32_Write iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @_ucRcAT24C32_Write(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%11 = call ptr @malloc(i32 noundef 512)
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
%13 = load i32, ptr %7, align 4
%14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i8 noundef zeroext -22, i32 noundef %13)
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %10, align 8
%16 = load i32, ptr %8, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = add i32 %23, %22
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %8, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %6, align 1
%30 = load i32, ptr %7, align 4
%31 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.1, i8 noundef zeroext %29, i32 noundef %30)
%32 = load i32, ptr %8, align 4
%33 = add i32 %32, %31
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %10, align 8
%35 = load i32, ptr %8, align 4
%36 = call i32 @iDoRemoteFunc(ptr noundef %34, i32 noundef %35, i32 noundef 10)
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %10, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load i32, ptr %9, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %3
%42 = load i32, ptr %9, align 4
%43 = call i32 @vWriteLogTxt(ptr noundef @.str.2, i32 noundef %42)
store i8 1, ptr %4, align 1
br label %46
44: ; preds = %3
%45 = call zeroext i8 @iGetParaInt(i32 noundef 0)
store i8 %45, ptr %4, align 1
br label %46
46: ; preds = %44, %41
%47 = load i8, ptr %4, align 1
ret i8 %47
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1
declare zeroext i8 @iGetParaInt(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/tmpxpg8506t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%u(b%03u\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c",%u,%u)\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"_AT24C32_Write iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @_ucRcAT24C32_Write(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%11 = call ptr @malloc(i32 noundef 512)
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
%13 = load i32, ptr %7, align 4
%14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i8 noundef zeroext -22, i32 noundef %13)
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %10, align 8
%16 = load i32, ptr %8, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = add i32 %23, %22
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %8, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %6, align 1
%30 = load i32, ptr %7, align 4
%31 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.1, i8 noundef zeroext %29, i32 noundef %30)
%32 = load i32, ptr %8, align 4
%33 = add i32 %32, %31
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %10, align 8
%35 = load i32, ptr %8, align 4
%36 = call i32 @iDoRemoteFunc(ptr noundef %34, i32 noundef %35, i32 noundef 10)
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %10, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load i32, ptr %9, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %3
%42 = load i32, ptr %9, align 4
%43 = call i32 @vWriteLogTxt(ptr noundef @.str.2, i32 noundef %42)
store i8 1, ptr %4, align 1
br label %46
44: ; preds = %3
%45 = call zeroext i8 @iGetParaInt(i32 noundef 0)
store i8 %45, ptr %4, align 1
br label %46
46: ; preds = %44, %41
%47 = load i8, ptr %4, align 1
ret i8 %47
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1
declare zeroext i8 @iGetParaInt(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/tmpnpabexqe.c'
source_filename = "/tmp/tmpnpabexqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [111 x i8] c"NOTE: this character changer software only works on a file named \22input.txt\22. Your results are in output.txt.\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Please rename your file if you need to.\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Type the character you want to replace\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Type the new character\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"\0A%c\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"input.txt\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"Starting work.\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"Finished work.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
store i8 10, ptr %7, align 1
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %5)
%13 = call i32 @printf(ptr noundef @.str.4)
%14 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %6)
%15 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %15, ptr %2, align 8
%16 = call ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.9)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %45
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.10)
br label %21
21: ; preds = %43, %19
%22 = load i8, ptr %7, align 1
%23 = sext i8 %22 to i32
%24 = load i8, ptr @EOF, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %23, %25
br i1 %26, label %27, label %44
27: ; preds = %21
%28 = load ptr, ptr %2, align 8
%29 = call signext i8 @fgetc(ptr noundef %28)
store i8 %29, ptr %7, align 1
%30 = load i8, ptr %7, align 1
%31 = sext i8 %30 to i32
%32 = load i8, ptr %5, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %31, %33
br i1 %34, label %35, label %39
35: ; preds = %27
%36 = load i8, ptr %6, align 1
%37 = load ptr, ptr %3, align 8
%38 = call i32 @fputc(i8 noundef signext %36, ptr noundef %37)
br label %43
39: ; preds = %27
%40 = load i8, ptr %7, align 1
%41 = load ptr, ptr %3, align 8
%42 = call i32 @fputc(i8 noundef signext %40, ptr noundef %41)
br label %43
43: ; preds = %39, %35
br label %21, !llvm.loop !6
44: ; preds = %21
br label %45
45: ; preds = %44, %0
%46 = load ptr, ptr %2, align 8
%47 = call i32 @fclose(ptr noundef %46)
%48 = call i32 @printf(ptr noundef @.str.11)
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpabexqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [111 x i8] c"NOTE: this character changer software only works on a file named \22input.txt\22. Your results are in output.txt.\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Please rename your file if you need to.\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Type the character you want to replace\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Type the new character\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"\0A%c\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"input.txt\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"Starting work.\0A\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"Finished work.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
store i8 10, ptr %7, align 1
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %5)
%13 = call i32 @printf(ptr noundef @.str.4)
%14 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %6)
%15 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %15, ptr %2, align 8
%16 = call ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.9)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %49
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.10)
%21 = load i8, ptr %7, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr @EOF, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %22, %24
br i1 %25, label %.lr.ph, label %48
.lr.ph: ; preds = %19
br label %26
26: ; preds = %.lr.ph, %42
%27 = load ptr, ptr %2, align 8
%28 = call signext i8 @fgetc(ptr noundef %27)
store i8 %28, ptr %7, align 1
%29 = load i8, ptr %7, align 1
%30 = sext i8 %29 to i32
%31 = load i8, ptr %5, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %30, %32
br i1 %33, label %34, label %38
34: ; preds = %26
%35 = load i8, ptr %6, align 1
%36 = load ptr, ptr %3, align 8
%37 = call i32 @fputc(i8 noundef signext %35, ptr noundef %36)
br label %42
38: ; preds = %26
%39 = load i8, ptr %7, align 1
%40 = load ptr, ptr %3, align 8
%41 = call i32 @fputc(i8 noundef signext %39, ptr noundef %40)
br label %42
42: ; preds = %38, %34
%43 = load i8, ptr %7, align 1
%44 = sext i8 %43 to i32
%45 = load i8, ptr @EOF, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %44, %46
br i1 %47, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %19
br label %49
49: ; preds = %48, %0
%50 = load ptr, ptr %2, align 8
%51 = call i32 @fclose(ptr noundef %50)
%52 = call i32 @printf(ptr noundef @.str.11)
%53 = load i32, ptr %1, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbu45nhar.c'
source_filename = "/tmp/tmpbu45nhar.c"
target datalayout = "e-m:e-p270: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/tmpbu45nhar.c"
target datalayout = "e-m:e-p270: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/tmpjsh7agaq.c'
source_filename = "/tmp/tmpjsh7agaq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comparisonOps() #0 {
%1 = call i32 (...) @comparisonOpsdd()
%2 = call i32 (...) @comparisonOpsdf()
%3 = call i32 (...) @comparisonOpsff()
%4 = call i32 (...) @comparisonOpsid()
%5 = call i32 (...) @comparisonOpsdi()
ret void
}
declare i32 @comparisonOpsdd(...) #1
declare i32 @comparisonOpsdf(...) #1
declare i32 @comparisonOpsff(...) #1
declare i32 @comparisonOpsid(...) #1
declare i32 @comparisonOpsdi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjsh7agaq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comparisonOps() #0 {
%1 = call i32 (...) @comparisonOpsdd()
%2 = call i32 (...) @comparisonOpsdf()
%3 = call i32 (...) @comparisonOpsff()
%4 = call i32 (...) @comparisonOpsid()
%5 = call i32 (...) @comparisonOpsdi()
ret void
}
declare i32 @comparisonOpsdd(...) #1
declare i32 @comparisonOpsdf(...) #1
declare i32 @comparisonOpsff(...) #1
declare i32 @comparisonOpsid(...) #1
declare i32 @comparisonOpsdi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkf1unpel.c'
source_filename = "/tmp/tmpkf1unpel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_board(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %33, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %36
11: ; preds = %7
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %28, %11
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %31
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %18, %19
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %17, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
br label %28
28: ; preds = %16
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %12, !llvm.loop !6
31: ; preds = %12
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %33
33: ; preds = %31
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %7, !llvm.loop !8
36: ; preds = %7
%37 = call i32 (ptr, ...) @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkf1unpel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_board(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph2, label %40
.lr.ph2: ; preds = %2
br label %10
10: ; preds = %.lr.ph2, %34
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %32
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %26
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 %16, %17
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %15, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %14
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %10
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %3, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %40
40: ; preds = %._crit_edge3, %2
%41 = call i32 (ptr, ...) @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgou713yj.c'
source_filename = "/tmp/tmpgou713yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strxfrm(ptr 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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ugt i64 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
br label %17
17: ; preds = %13, %3
%18 = load i64, ptr %7, align 8
ret i64 %18
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgou713yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strxfrm(ptr 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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ugt i64 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
br label %17
17: ; preds = %13, %3
%18 = load i64, ptr %7, align 8
ret i64 %18
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeykw1yoa.c'
source_filename = "/tmp/tmpeykw1yoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Juego de dado\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"|---------------------------------|\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"| N\C2\B0 tiro | Jugador 1 | Jugador 2 |\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"| %2d | %2d | %2d |\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"Jugador 1 gana con %d veces 5\0A\00", align 1
@.str.6 = private unnamed_addr constant [68 x i8] c"Estadisticas: p1 %d veces 5, %d veces 6; p2 %d veces 5, %d veces 6\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"Jugador 2 gana con %d veces 5\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Empate entre jugador 1 y 2\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 [2 x i8], align 1
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @time(i32 noundef 0)
%11 = call i32 @srand(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %44, %0
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %16, 20
br i1 %17, label %18, label %47
18: ; preds = %15
%19 = call i32 (...) @dado()
store i32 %19, ptr %6, align 4
%20 = call i32 (...) @dado()
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %6, align 4
switch i32 %25, label %32 [
i32 5, label %26
i32 6, label %29
]
26: ; preds = %18
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
br label %33
29: ; preds = %18
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
br label %33
32: ; preds = %18
br label %33
33: ; preds = %32, %29, %26
%34 = load i32, ptr %7, align 4
switch i32 %34, label %41 [
i32 5, label %35
i32 6, label %38
]
35: ; preds = %33
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
br label %42
38: ; preds = %33
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %42
41: ; preds = %33
br label %42
42: ; preds = %41, %38, %35
%43 = call i32 @usleep(i32 noundef 100000)
br label %44
44: ; preds = %42
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
br label %15, !llvm.loop !6
47: ; preds = %15
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%50 = load i32, ptr %2, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %65
53: ; preds = %47
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load i32, ptr %2, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %58)
%60 = load i32, ptr %2, align 4
%61 = load i32, ptr %4, align 4
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %5, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef %63)
br label %89
65: ; preds = %53, %47
%66 = load i32, ptr %2, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %81
69: ; preds = %65
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %3, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %73, label %81
73: ; preds = %69
%74 = load i32, ptr %3, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %74)
%76 = load i32, ptr %2, align 4
%77 = load i32, ptr %4, align 4
%78 = load i32, ptr %3, align 4
%79 = load i32, ptr %5, align 4
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %79)
br label %88
81: ; preds = %69, %65
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%83 = load i32, ptr %2, align 4
%84 = load i32, ptr %4, align 4
%85 = load i32, ptr %3, align 4
%86 = load i32, ptr %5, align 4
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86)
br label %88
88: ; preds = %81, %73
br label %89
89: ; preds = %88, %57
%90 = load i32, ptr %1, align 4
ret i32 %90
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @dado(...) #1
declare i32 @usleep(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/tmpeykw1yoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Juego de dado\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"|---------------------------------|\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"| N\C2\B0 tiro | Jugador 1 | Jugador 2 |\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"| %2d | %2d | %2d |\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"Jugador 1 gana con %d veces 5\0A\00", align 1
@.str.6 = private unnamed_addr constant [68 x i8] c"Estadisticas: p1 %d veces 5, %d veces 6; p2 %d veces 5, %d veces 6\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"Jugador 2 gana con %d veces 5\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Empate entre jugador 1 y 2\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 [2 x i8], align 1
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @time(i32 noundef 0)
%11 = call i32 @srand(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 20
br i1 %16, label %.lr.ph, label %48
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %43
%18 = call i32 (...) @dado()
store i32 %18, ptr %6, align 4
%19 = call i32 (...) @dado()
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20, i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %6, align 4
switch i32 %24, label %31 [
i32 5, label %25
i32 6, label %28
]
25: ; preds = %17
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
br label %32
28: ; preds = %17
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
br label %32
31: ; preds = %17
br label %32
32: ; preds = %31, %28, %25
%33 = load i32, ptr %7, align 4
switch i32 %33, label %40 [
i32 5, label %34
i32 6, label %37
]
34: ; preds = %32
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %41
37: ; preds = %32
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %41
40: ; preds = %32
br label %41
41: ; preds = %40, %37, %34
%42 = call i32 @usleep(i32 noundef 100000)
br label %43
43: ; preds = %41
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %9, align 4
%47 = icmp slt i32 %46, 20
br i1 %47, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %48
48: ; preds = %._crit_edge, %0
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp sgt i32 %51, %52
br i1 %53, label %54, label %66
54: ; preds = %48
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %66
58: ; preds = %54
%59 = load i32, ptr %2, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %59)
%61 = load i32, ptr %2, align 4
%62 = load i32, ptr %4, align 4
%63 = load i32, ptr %3, align 4
%64 = load i32, ptr %5, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64)
br label %90
66: ; preds = %54, %48
%67 = load i32, ptr %2, align 4
%68 = load i32, ptr %3, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %82
70: ; preds = %66
%71 = load i32, ptr %5, align 4
%72 = load i32, ptr %3, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %82
74: ; preds = %70
%75 = load i32, ptr %3, align 4
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %75)
%77 = load i32, ptr %2, align 4
%78 = load i32, ptr %4, align 4
%79 = load i32, ptr %3, align 4
%80 = load i32, ptr %5, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef %80)
br label %89
82: ; preds = %70, %66
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%84 = load i32, ptr %2, align 4
%85 = load i32, ptr %4, align 4
%86 = load i32, ptr %3, align 4
%87 = load i32, ptr %5, align 4
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87)
br label %89
89: ; preds = %82, %74
br label %90
90: ; preds = %89, %58
%91 = load i32, ptr %1, align 4
ret i32 %91
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @dado(...) #1
declare i32 @usleep(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/tmpl6ocl6qg.c'
source_filename = "/tmp/tmpl6ocl6qg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @in(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %24, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %27
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcmp(ptr noundef %14, ptr noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %13
store i8 1, ptr %4, align 1
br label %28
23: ; preds = %13
br label %24
24: ; preds = %23
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %9, !llvm.loop !6
27: ; preds = %9
store i8 0, ptr %4, align 1
br label %28
28: ; preds = %27, %22
%29 = load i8, ptr %4, align 1
ret i8 %29
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl6ocl6qg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @in(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %23
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strcmp(ptr noundef %13, ptr noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %12
store i8 1, ptr %4, align 1
br label %30
22: ; preds = %12
br label %23
23: ; preds = %22
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
store i8 0, ptr %4, align 1
br label %30
30: ; preds = %29, %21
%31 = load i8, ptr %4, align 1
ret i8 %31
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv1cqcir6.c'
source_filename = "/tmp/tmpv1cqcir6.c"
target datalayout = "e-m:e-p270: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/tmpv1cqcir6.c"
target datalayout = "e-m:e-p270: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/tmpyke9lkm8.c'
source_filename = "/tmp/tmpyke9lkm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_43(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = call double @sqrt(double noundef 0x42850CE2C8CB5800)
%7 = load double, ptr %3, align 8
%8 = call double @pow(double noundef %7, double noundef 7.500000e-01)
%9 = fmul double %6, %8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
%12 = load double, ptr %3, align 8
%13 = call double @pow(double noundef %12, double noundef 2.100000e+01)
%14 = fmul double 0x4140000000000000, %13
%15 = load double, ptr %4, align 8
%16 = call double @pow(double noundef %15, double noundef 4.200000e+01)
%17 = load double, ptr %3, align 8
%18 = call double @pow(double noundef %17, double noundef 2.000000e+01)
%19 = fmul double 0x41CC380000000000, %18
%20 = load double, ptr %4, align 8
%21 = call double @pow(double noundef %20, double noundef 4.000000e+01)
%22 = fmul double %19, %21
%23 = fneg double %22
%24 = call double @llvm.fmuladd.f64(double %14, double %16, double %23)
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 1.900000e+01)
%27 = fmul double 0x424698D800000000, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 3.800000e+01)
%30 = call double @llvm.fmuladd.f64(double %27, double %29, double %24)
%31 = load double, ptr %3, align 8
%32 = call double @pow(double noundef %31, double noundef 1.800000e+01)
%33 = fmul double 0x42B5CD7868000000, %32
%34 = load double, ptr %4, align 8
%35 = call double @pow(double noundef %34, double noundef 3.600000e+01)
%36 = fneg double %33
%37 = call double @llvm.fmuladd.f64(double %36, double %35, double %30)
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 1.700000e+01)
%40 = fmul double 0x431C5C459F480000, %39
%41 = load double, ptr %4, align 8
%42 = call double @pow(double noundef %41, double noundef 3.400000e+01)
%43 = call double @llvm.fmuladd.f64(double %40, double %42, double %37)
%44 = load double, ptr %3, align 8
%45 = call double @pow(double noundef %44, double noundef 1.600000e+01)
%46 = fmul double 0x437A5DC8BA14F000, %45
%47 = load double, ptr %4, align 8
%48 = call double @pow(double noundef %47, double noundef 3.200000e+01)
%49 = fneg double %46
%50 = call double @llvm.fmuladd.f64(double %49, double %48, double %43)
%51 = load double, ptr %3, align 8
%52 = call double @pow(double noundef %51, double noundef 1.500000e+01)
%53 = fmul double 0x43D22079FFEE6500, %52
%54 = load double, ptr %4, align 8
%55 = call double @pow(double noundef %54, double noundef 3.000000e+01)
%56 = call double @llvm.fmuladd.f64(double %53, double %55, double %50)
%57 = load double, ptr %3, align 8
%58 = call double @pow(double noundef %57, double noundef 1.400000e+01)
%59 = fmul double 0x4422D090EA36DE8C, %58
%60 = load double, ptr %4, align 8
%61 = call double @pow(double noundef %60, double noundef 2.800000e+01)
%62 = fneg double %59
%63 = call double @llvm.fmuladd.f64(double %62, double %61, double %56)
%64 = load double, ptr %3, align 8
%65 = call double @pow(double noundef %64, double noundef 1.300000e+01)
%66 = fmul double 0x446DD6C5D37304F2, %65
%67 = load double, ptr %4, align 8
%68 = call double @pow(double noundef %67, double noundef 2.600000e+01)
%69 = call double @llvm.fmuladd.f64(double %66, double %68, double %63)
%70 = load double, ptr %3, align 8
%71 = call double @pow(double noundef %70, double noundef 1.200000e+01)
%72 = fmul double 0x44B22EE08CDA1703, %71
%73 = load double, ptr %4, align 8
%74 = call double @pow(double noundef %73, double noundef 2.400000e+01)
%75 = fneg double %72
%76 = call double @llvm.fmuladd.f64(double %75, double %74, double %69)
%77 = load double, ptr %3, align 8
%78 = call double @pow(double noundef %77, double noundef 1.100000e+01)
%79 = fmul double 0x44F10BF2840C7593, %78
%80 = load double, ptr %4, align 8
%81 = call double @pow(double noundef %80, double noundef 2.200000e+01)
%82 = call double @llvm.fmuladd.f64(double %79, double %81, double %76)
%83 = load double, ptr %3, align 8
%84 = call double @pow(double noundef %83, double noundef 1.000000e+01)
%85 = fmul double 0x4528812C9DD1E904, %84
%86 = load double, ptr %4, align 8
%87 = call double @pow(double noundef %86, double noundef 2.000000e+01)
%88 = fneg double %85
%89 = call double @llvm.fmuladd.f64(double %88, double %87, double %82)
%90 = load double, ptr %3, align 8
%91 = call double @pow(double noundef %90, double noundef 9.000000e+00)
%92 = fmul double 0x455ACD48CC9D96DC, %91
%93 = load double, ptr %4, align 8
%94 = call double @pow(double noundef %93, double noundef 1.800000e+01)
%95 = call double @llvm.fmuladd.f64(double %92, double %94, double %89)
%96 = load double, ptr %3, align 8
%97 = call double @pow(double noundef %96, double noundef 8.000000e+00)
%98 = fmul double 0x458608C476FCA22E, %97
%99 = load double, ptr %4, align 8
%100 = call double @pow(double noundef %99, double noundef 1.600000e+01)
%101 = fneg double %98
%102 = call double @llvm.fmuladd.f64(double %101, double %100, double %95)
%103 = load double, ptr %3, align 8
%104 = call double @pow(double noundef %103, double noundef 7.000000e+00)
%105 = fmul double 0x45AAC180D9A07BCA, %104
%106 = load double, ptr %4, align 8
%107 = call double @pow(double noundef %106, double noundef 1.400000e+01)
%108 = call double @llvm.fmuladd.f64(double %105, double %107, double %102)
%109 = load double, ptr %3, align 8
%110 = call double @pow(double noundef %109, double noundef 6.000000e+00)
%111 = fmul double 0x45C76950BE6C6C50, %110
%112 = load double, ptr %4, align 8
%113 = call double @pow(double noundef %112, double noundef 1.200000e+01)
%114 = fneg double %111
%115 = call double @llvm.fmuladd.f64(double %114, double %113, double %108)
%116 = load double, ptr %3, align 8
%117 = call double @pow(double noundef %116, double noundef 5.000000e+00)
%118 = fmul double 0x45DC885A68142402, %117
%119 = load double, ptr %4, align 8
%120 = call double @pow(double noundef %119, double noundef 1.000000e+01)
%121 = call double @llvm.fmuladd.f64(double %118, double %120, double %115)
%122 = load double, ptr %3, align 8
%123 = call double @pow(double noundef %122, double noundef 4.000000e+00)
%124 = fmul double 0x45E713EEC51F595C, %123
%125 = load double, ptr %4, align 8
%126 = call double @pow(double noundef %125, double noundef 8.000000e+00)
%127 = fneg double %124
%128 = call double @llvm.fmuladd.f64(double %127, double %126, double %121)
%129 = load double, ptr %3, align 8
%130 = call double @pow(double noundef %129, double noundef 3.000000e+00)
%131 = fmul double 0x45E713EEC51F595C, %130
%132 = load double, ptr %4, align 8
%133 = call double @pow(double noundef %132, double noundef 6.000000e+00)
%134 = call double @llvm.fmuladd.f64(double %131, double %133, double %128)
%135 = load double, ptr %3, align 8
%136 = fmul double 0x45D981D2024B11EC, %135
%137 = load double, ptr %3, align 8
%138 = fmul double %136, %137
%139 = load double, ptr %4, align 8
%140 = call double @pow(double noundef %139, double noundef 4.000000e+00)
%141 = fneg double %138
%142 = call double @llvm.fmuladd.f64(double %141, double %140, double %134)
%143 = load double, ptr %3, align 8
%144 = fmul double 0x45B981D2024B11EC, %143
%145 = load double, ptr %4, align 8
%146 = fmul double %144, %145
%147 = load double, ptr %4, align 8
%148 = call double @llvm.fmuladd.f64(double %146, double %147, double %142)
%149 = fsub double %148, 0x457D26A6DE0CA6C5
%150 = fmul double %11, %149
%151 = load double, ptr %3, align 8
%152 = fneg double %151
%153 = load double, ptr %4, align 8
%154 = fmul double %152, %153
%155 = load double, ptr %4, align 8
%156 = fmul double %154, %155
%157 = fdiv double %156, 2.000000e+00
%158 = call double @exp(double noundef %157)
%159 = fmul double %150, %158
%160 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01)
%161 = fmul double %159, %160
%162 = fdiv double %161, 0x46AD26A6DE0CA6C5
store double %162, ptr %5, align 8
%163 = load double, ptr %5, align 8
ret double %163
}
declare double @sqrt(double noundef) #1
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpyke9lkm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_43(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = call double @sqrt(double noundef 0x42850CE2C8CB5800)
%7 = load double, ptr %3, align 8
%8 = call double @pow(double noundef %7, double noundef 7.500000e-01)
%9 = fmul double %6, %8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
%12 = load double, ptr %3, align 8
%13 = call double @pow(double noundef %12, double noundef 2.100000e+01)
%14 = fmul double 0x4140000000000000, %13
%15 = load double, ptr %4, align 8
%16 = call double @pow(double noundef %15, double noundef 4.200000e+01)
%17 = load double, ptr %3, align 8
%18 = call double @pow(double noundef %17, double noundef 2.000000e+01)
%19 = fmul double 0x41CC380000000000, %18
%20 = load double, ptr %4, align 8
%21 = call double @pow(double noundef %20, double noundef 4.000000e+01)
%22 = fmul double %19, %21
%23 = fneg double %22
%24 = call double @llvm.fmuladd.f64(double %14, double %16, double %23)
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 1.900000e+01)
%27 = fmul double 0x424698D800000000, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 3.800000e+01)
%30 = call double @llvm.fmuladd.f64(double %27, double %29, double %24)
%31 = load double, ptr %3, align 8
%32 = call double @pow(double noundef %31, double noundef 1.800000e+01)
%33 = fmul double 0x42B5CD7868000000, %32
%34 = load double, ptr %4, align 8
%35 = call double @pow(double noundef %34, double noundef 3.600000e+01)
%36 = fneg double %33
%37 = call double @llvm.fmuladd.f64(double %36, double %35, double %30)
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 1.700000e+01)
%40 = fmul double 0x431C5C459F480000, %39
%41 = load double, ptr %4, align 8
%42 = call double @pow(double noundef %41, double noundef 3.400000e+01)
%43 = call double @llvm.fmuladd.f64(double %40, double %42, double %37)
%44 = load double, ptr %3, align 8
%45 = call double @pow(double noundef %44, double noundef 1.600000e+01)
%46 = fmul double 0x437A5DC8BA14F000, %45
%47 = load double, ptr %4, align 8
%48 = call double @pow(double noundef %47, double noundef 3.200000e+01)
%49 = fneg double %46
%50 = call double @llvm.fmuladd.f64(double %49, double %48, double %43)
%51 = load double, ptr %3, align 8
%52 = call double @pow(double noundef %51, double noundef 1.500000e+01)
%53 = fmul double 0x43D22079FFEE6500, %52
%54 = load double, ptr %4, align 8
%55 = call double @pow(double noundef %54, double noundef 3.000000e+01)
%56 = call double @llvm.fmuladd.f64(double %53, double %55, double %50)
%57 = load double, ptr %3, align 8
%58 = call double @pow(double noundef %57, double noundef 1.400000e+01)
%59 = fmul double 0x4422D090EA36DE8C, %58
%60 = load double, ptr %4, align 8
%61 = call double @pow(double noundef %60, double noundef 2.800000e+01)
%62 = fneg double %59
%63 = call double @llvm.fmuladd.f64(double %62, double %61, double %56)
%64 = load double, ptr %3, align 8
%65 = call double @pow(double noundef %64, double noundef 1.300000e+01)
%66 = fmul double 0x446DD6C5D37304F2, %65
%67 = load double, ptr %4, align 8
%68 = call double @pow(double noundef %67, double noundef 2.600000e+01)
%69 = call double @llvm.fmuladd.f64(double %66, double %68, double %63)
%70 = load double, ptr %3, align 8
%71 = call double @pow(double noundef %70, double noundef 1.200000e+01)
%72 = fmul double 0x44B22EE08CDA1703, %71
%73 = load double, ptr %4, align 8
%74 = call double @pow(double noundef %73, double noundef 2.400000e+01)
%75 = fneg double %72
%76 = call double @llvm.fmuladd.f64(double %75, double %74, double %69)
%77 = load double, ptr %3, align 8
%78 = call double @pow(double noundef %77, double noundef 1.100000e+01)
%79 = fmul double 0x44F10BF2840C7593, %78
%80 = load double, ptr %4, align 8
%81 = call double @pow(double noundef %80, double noundef 2.200000e+01)
%82 = call double @llvm.fmuladd.f64(double %79, double %81, double %76)
%83 = load double, ptr %3, align 8
%84 = call double @pow(double noundef %83, double noundef 1.000000e+01)
%85 = fmul double 0x4528812C9DD1E904, %84
%86 = load double, ptr %4, align 8
%87 = call double @pow(double noundef %86, double noundef 2.000000e+01)
%88 = fneg double %85
%89 = call double @llvm.fmuladd.f64(double %88, double %87, double %82)
%90 = load double, ptr %3, align 8
%91 = call double @pow(double noundef %90, double noundef 9.000000e+00)
%92 = fmul double 0x455ACD48CC9D96DC, %91
%93 = load double, ptr %4, align 8
%94 = call double @pow(double noundef %93, double noundef 1.800000e+01)
%95 = call double @llvm.fmuladd.f64(double %92, double %94, double %89)
%96 = load double, ptr %3, align 8
%97 = call double @pow(double noundef %96, double noundef 8.000000e+00)
%98 = fmul double 0x458608C476FCA22E, %97
%99 = load double, ptr %4, align 8
%100 = call double @pow(double noundef %99, double noundef 1.600000e+01)
%101 = fneg double %98
%102 = call double @llvm.fmuladd.f64(double %101, double %100, double %95)
%103 = load double, ptr %3, align 8
%104 = call double @pow(double noundef %103, double noundef 7.000000e+00)
%105 = fmul double 0x45AAC180D9A07BCA, %104
%106 = load double, ptr %4, align 8
%107 = call double @pow(double noundef %106, double noundef 1.400000e+01)
%108 = call double @llvm.fmuladd.f64(double %105, double %107, double %102)
%109 = load double, ptr %3, align 8
%110 = call double @pow(double noundef %109, double noundef 6.000000e+00)
%111 = fmul double 0x45C76950BE6C6C50, %110
%112 = load double, ptr %4, align 8
%113 = call double @pow(double noundef %112, double noundef 1.200000e+01)
%114 = fneg double %111
%115 = call double @llvm.fmuladd.f64(double %114, double %113, double %108)
%116 = load double, ptr %3, align 8
%117 = call double @pow(double noundef %116, double noundef 5.000000e+00)
%118 = fmul double 0x45DC885A68142402, %117
%119 = load double, ptr %4, align 8
%120 = call double @pow(double noundef %119, double noundef 1.000000e+01)
%121 = call double @llvm.fmuladd.f64(double %118, double %120, double %115)
%122 = load double, ptr %3, align 8
%123 = call double @pow(double noundef %122, double noundef 4.000000e+00)
%124 = fmul double 0x45E713EEC51F595C, %123
%125 = load double, ptr %4, align 8
%126 = call double @pow(double noundef %125, double noundef 8.000000e+00)
%127 = fneg double %124
%128 = call double @llvm.fmuladd.f64(double %127, double %126, double %121)
%129 = load double, ptr %3, align 8
%130 = call double @pow(double noundef %129, double noundef 3.000000e+00)
%131 = fmul double 0x45E713EEC51F595C, %130
%132 = load double, ptr %4, align 8
%133 = call double @pow(double noundef %132, double noundef 6.000000e+00)
%134 = call double @llvm.fmuladd.f64(double %131, double %133, double %128)
%135 = load double, ptr %3, align 8
%136 = fmul double 0x45D981D2024B11EC, %135
%137 = load double, ptr %3, align 8
%138 = fmul double %136, %137
%139 = load double, ptr %4, align 8
%140 = call double @pow(double noundef %139, double noundef 4.000000e+00)
%141 = fneg double %138
%142 = call double @llvm.fmuladd.f64(double %141, double %140, double %134)
%143 = load double, ptr %3, align 8
%144 = fmul double 0x45B981D2024B11EC, %143
%145 = load double, ptr %4, align 8
%146 = fmul double %144, %145
%147 = load double, ptr %4, align 8
%148 = call double @llvm.fmuladd.f64(double %146, double %147, double %142)
%149 = fsub double %148, 0x457D26A6DE0CA6C5
%150 = fmul double %11, %149
%151 = load double, ptr %3, align 8
%152 = fneg double %151
%153 = load double, ptr %4, align 8
%154 = fmul double %152, %153
%155 = load double, ptr %4, align 8
%156 = fmul double %154, %155
%157 = fdiv double %156, 2.000000e+00
%158 = call double @exp(double noundef %157)
%159 = fmul double %150, %158
%160 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01)
%161 = fmul double %159, %160
%162 = fdiv double %161, 0x46AD26A6DE0CA6C5
store double %162, ptr %5, align 8
%163 = load double, ptr %5, align 8
ret double %163
}
declare double @sqrt(double noundef) #1
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp4na6jn8e.c'
source_filename = "/tmp/tmp4na6jn8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"set %x\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 11259375, ptr %2, align 4
%3 = call i32 @get_bit_val(ptr noundef %2, i32 noundef 10)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @set_bit_val(ptr noundef %2, i32 noundef 10)
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 @clear_bit_val(ptr noundef %2, i32 noundef 10)
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @get_bit_val(ptr noundef, i32 noundef) #1
declare i32 @set_bit_val(ptr noundef, i32 noundef) #1
declare i32 @clear_bit_val(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/tmp4na6jn8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"set %x\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 11259375, ptr %2, align 4
%3 = call i32 @get_bit_val(ptr noundef %2, i32 noundef 10)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @set_bit_val(ptr noundef %2, i32 noundef 10)
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 @clear_bit_val(ptr noundef %2, i32 noundef 10)
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @get_bit_val(ptr noundef, i32 noundef) #1
declare i32 @set_bit_val(ptr noundef, i32 noundef) #1
declare i32 @clear_bit_val(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/tmpgld8vpxm.c'
source_filename = "/tmp/tmpgld8vpxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"creat\0A\00", align 1
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = load i32, ptr @ENOSYS, align 4
store i32 %6, ptr @errno, align 4
ret i32 -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/tmpgld8vpxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"creat\0A\00", align 1
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = load i32, ptr @ENOSYS, align 4
store i32 %6, ptr @errno, align 4
ret i32 -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/tmp7e4du4se.c'
source_filename = "/tmp/tmp7e4du4se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %27
10: ; preds = %3
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %23, %10
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %26
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fputc(i8 noundef signext %20, i32 noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
br label %48
27: ; preds = %3
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 2
br i1 %29, label %30, label %47
30: ; preds = %27
store i32 0, ptr %7, align 4
br label %31
31: ; preds = %43, %30
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %46
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = load i32, ptr @stderr, align 4
%42 = call i32 @fputc(i8 noundef signext %40, i32 noundef %41)
br label %43
43: ; preds = %35
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %31, !llvm.loop !8
46: ; preds = %31
br label %47
47: ; preds = %46, %27
br label %48
48: ; preds = %47, %26
%49 = load i32, ptr %6, align 4
ret i32 %49
}
declare i32 @fputc(i8 noundef signext, 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/tmp7e4du4se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %29
10: ; preds = %3
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %28
.lr.ph2: ; preds = %10
br label %14
14: ; preds = %.lr.ph2, %22
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load i32, ptr @stdout, align 4
%21 = call i32 @fputc(i8 noundef signext %19, i32 noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %14, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %22
br label %28
28: ; preds = %._crit_edge3, %10
br label %52
29: ; preds = %3
%30 = load i32, ptr %4, align 4
%31 = icmp eq i32 %30, 2
br i1 %31, label %32, label %51
32: ; preds = %29
store i32 0, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %50
.lr.ph: ; preds = %32
br label %36
36: ; preds = %.lr.ph, %44
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load i32, ptr @stderr, align 4
%43 = call i32 @fputc(i8 noundef signext %41, i32 noundef %42)
br label %44
44: ; preds = %36
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %36, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %32
br label %51
51: ; preds = %50, %29
br label %52
52: ; preds = %51, %28
%53 = load i32, ptr %6, align 4
ret i32 %53
}
declare i32 @fputc(i8 noundef signext, 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/tmpexzbidck.c'
source_filename = "/tmp/tmpexzbidck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@EIO = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr @STDOUT_FILENO, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr @STDERR_FILENO, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %43
16: ; preds = %12, %3
store i32 0, ptr %8, align 4
br label %17
17: ; preds = %38, %16
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %41
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 10
br i1 %28, label %29, label %31
29: ; preds = %21
%30 = call i32 @trace_send_blocking8(i32 noundef 0, i8 noundef signext 13)
br label %31
31: ; preds = %29, %21
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = call i32 @trace_send_blocking8(i32 noundef 0, i8 noundef signext %36)
br label %38
38: ; preds = %31
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
br label %17, !llvm.loop !6
41: ; preds = %17
%42 = load i32, ptr %8, align 4
store i32 %42, ptr %4, align 4
br label %45
43: ; preds = %12
%44 = load i32, ptr @EIO, align 4
store i32 %44, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %45
45: ; preds = %43, %41
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @trace_send_blocking8(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpexzbidck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@EIO = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr @STDOUT_FILENO, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr @STDERR_FILENO, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %45
16: ; preds = %12, %3
store i32 0, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %43
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %37
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br i1 %27, label %28, label %30
28: ; preds = %20
%29 = call i32 @trace_send_blocking8(i32 noundef 0, i8 noundef signext 13)
br label %30
30: ; preds = %28, %20
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = call i32 @trace_send_blocking8(i32 noundef 0, i8 noundef signext %35)
br label %37
37: ; preds = %30
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %16
%44 = load i32, ptr %8, align 4
store i32 %44, ptr %4, align 4
br label %47
45: ; preds = %12
%46 = load i32, ptr @EIO, align 4
store i32 %46, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %47
47: ; preds = %45, %43
%48 = load i32, ptr %4, align 4
ret i32 %48
}
declare i32 @trace_send_blocking8(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdfci28g8.c'
source_filename = "/tmp/tmpdfci28g8.c"
target datalayout = "e-m:e-p270: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/tmpdfci28g8.c"
target datalayout = "e-m:e-p270: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/tmpqaz4hw1r.c'
source_filename = "/tmp/tmpqaz4hw1r.c"
target datalayout = "e-m:e-p270: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/tmpqaz4hw1r.c"
target datalayout = "e-m:e-p270: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/tmplbzjlha9.c'
source_filename = "/tmp/tmplbzjlha9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_memcmp_6(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 6)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = call i32 (...) @abort() #3
unreachable
18: ; preds = %13, %3
%19 = load i32, ptr %7, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 (...) @abort() #3
unreachable
26: ; preds = %21, %18
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call i32 (...) @abort() #3
unreachable
34: ; preds = %29, %26
ret void
}
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplbzjlha9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_memcmp_6(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 6)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = call i32 (...) @abort() #3
unreachable
18: ; preds = %13, %3
%19 = load i32, ptr %7, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 (...) @abort() #3
unreachable
26: ; preds = %21, %18
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call i32 (...) @abort() #3
unreachable
34: ; preds = %29, %26
ret void
}
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpamfdk5un.c'
source_filename = "/tmp/tmpamfdk5un.c"
target datalayout = "e-m:e-p270: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/tmpamfdk5un.c"
target datalayout = "e-m:e-p270: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/tmp6lmwlyfd.c'
source_filename = "/tmp/tmp6lmwlyfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @__aeabi_memcpy8_impl(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6lmwlyfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @__aeabi_memcpy8_impl(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmhi74n1a.c'
source_filename = "/tmp/tmpmhi74n1a.c"
target datalayout = "e-m:e-p270: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/tmpmhi74n1a.c"
target datalayout = "e-m:e-p270: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/tmp4jd189wc.c'
source_filename = "/tmp/tmp4jd189wc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COMMENT\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"HISTORY\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hputm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca [8 x i8], align 1
%18 = alloca [12 x i8], align 1
%19 = alloca [80 x i8], align 16
%20 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %15, align 4
store i8 39, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
%22 = call i64 @strlen(ptr noundef %21)
%23 = trunc i64 %22 to i32
store i32 %23, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = icmp eq i32 %24, 7
br i1 %25, label %26, label %35
26: ; preds = %3
%27 = load ptr, ptr %6, align 8
%28 = call i64 @strncmp(ptr noundef %27, ptr noundef @.str, i32 noundef 7)
%29 = icmp eq i64 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load ptr, ptr %6, align 8
%32 = call i64 @strncmp(ptr noundef %31, ptr noundef @.str.1, i32 noundef 7)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %30, %26
store i32 1, ptr %15, align 4
br label %47
35: ; preds = %30, %3
store i32 0, ptr %15, align 4
%36 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%37 = load ptr, ptr %6, align 8
%38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37)
%39 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%40 = call i64 @strlen(ptr noundef %39)
%41 = trunc i64 %40 to i32
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp sgt i32 %42, 6
br i1 %43, label %44, label %46
44: ; preds = %35
%45 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 6
store i8 0, ptr %45, align 1
store i32 6, ptr %8, align 4
br label %46
46: ; preds = %44, %35
br label %47
47: ; preds = %46, %34
store i32 49, ptr %11, align 4
store i32 0, ptr %12, align 4
%48 = load ptr, ptr %7, align 8
%49 = call i64 @strlen(ptr noundef %48)
%50 = trunc i64 %49 to i32
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %15, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %63, label %53
53: ; preds = %47
%54 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 0
%55 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55)
%57 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 0
%58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.2)
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 2
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 %61
store i8 0, ptr %62, align 1
br label %63
63: ; preds = %53, %47
%64 = load ptr, ptr %7, align 8
store ptr %64, ptr %16, align 8
br label %65
65: ; preds = %152, %63
%66 = load i32, ptr %9, align 4
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %153
68: ; preds = %65
%69 = load i32, ptr %9, align 4
%70 = icmp sgt i32 %69, 67
br i1 %70, label %71, label %72
71: ; preds = %68
store i32 67, ptr %14, align 4
br label %74
72: ; preds = %68
%73 = load i32, ptr %9, align 4
store i32 %73, ptr %14, align 4
br label %74
74: ; preds = %72, %71
%75 = load i8, ptr %20, align 1
%76 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
store i8 %75, ptr %76, align 16
store i32 1, ptr %10, align 4
br label %77
77: ; preds = %88, %74
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %14, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %81, label %91
81: ; preds = %77
%82 = load ptr, ptr %16, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %16, align 8
%84 = load i8, ptr %82, align 1
%85 = load i32, ptr %10, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %86
store i8 %84, ptr %87, align 1
br label %88
88: ; preds = %81
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %10, align 4
br label %77, !llvm.loop !6
91: ; preds = %77
%92 = load i32, ptr %14, align 4
%93 = icmp slt i32 %92, 8
br i1 %93, label %94, label %108
94: ; preds = %91
%95 = load i32, ptr %14, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %10, align 4
br label %97
97: ; preds = %104, %94
%98 = load i32, ptr %10, align 4
%99 = icmp slt i32 %98, 9
br i1 %99, label %100, label %107
100: ; preds = %97
%101 = load i32, ptr %10, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %102
store i8 32, ptr %103, align 1
br label %104
104: ; preds = %100
%105 = load i32, ptr %10, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %10, align 4
br label %97, !llvm.loop !8
107: ; preds = %97
store i32 8, ptr %14, align 4
br label %108
108: ; preds = %107, %91
%109 = load i8, ptr %20, align 1
%110 = load i32, ptr %14, align 4
%111 = add nsw i32 %110, 1
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %112
store i8 %109, ptr %113, align 1
%114 = load i32, ptr %14, align 4
%115 = add nsw i32 %114, 2
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %116
store i8 0, ptr %117, align 1
%118 = load i32, ptr %15, align 4
%119 = icmp ne i32 %118, 0
br i1 %119, label %120, label %125
120: ; preds = %108
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%123 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
%124 = call i32 @hputc(ptr noundef %121, ptr noundef %122, ptr noundef %123)
store i32 %124, ptr %10, align 4
br label %138
125: ; preds = %108
%126 = load i32, ptr %11, align 4
%127 = trunc i32 %126 to i8
%128 = load i32, ptr %8, align 4
%129 = add nsw i32 %128, 1
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 %130
store i8 %127, ptr %131, align 1
%132 = load i32, ptr %11, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %11, align 4
%134 = load ptr, ptr %5, align 8
%135 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 0
%136 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
%137 = call i32 @hputc(ptr noundef %134, ptr noundef %135, ptr noundef %136)
store i32 %137, ptr %10, align 4
br label %138
138: ; preds = %125, %120
%139 = load i32, ptr %10, align 4
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %143
141: ; preds = %138
%142 = load i32, ptr %10, align 4
store i32 %142, ptr %4, align 4
br label %155
143: ; preds = %138
%144 = load i32, ptr %12, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %12, align 4
%146 = load i32, ptr %9, align 4
%147 = icmp sgt i32 %146, 67
br i1 %147, label %148, label %151
148: ; preds = %143
%149 = load i32, ptr %9, align 4
%150 = sub nsw i32 %149, 67
store i32 %150, ptr %9, align 4
br label %152
151: ; preds = %143
br label %153
152: ; preds = %148
br label %65, !llvm.loop !9
153: ; preds = %151, %65
%154 = load i32, ptr %12, align 4
store i32 %154, ptr %4, align 4
br label %155
155: ; preds = %153, %141
%156 = load i32, ptr %4, align 4
ret i32 %156
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @hputc(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4jd189wc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COMMENT\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"HISTORY\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hputm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca [8 x i8], align 1
%18 = alloca [12 x i8], align 1
%19 = alloca [80 x i8], align 16
%20 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %15, align 4
store i8 39, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
%22 = call i64 @strlen(ptr noundef %21)
%23 = trunc i64 %22 to i32
store i32 %23, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = icmp eq i32 %24, 7
br i1 %25, label %26, label %35
26: ; preds = %3
%27 = load ptr, ptr %6, align 8
%28 = call i64 @strncmp(ptr noundef %27, ptr noundef @.str, i32 noundef 7)
%29 = icmp eq i64 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load ptr, ptr %6, align 8
%32 = call i64 @strncmp(ptr noundef %31, ptr noundef @.str.1, i32 noundef 7)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %30, %26
store i32 1, ptr %15, align 4
br label %47
35: ; preds = %30, %3
store i32 0, ptr %15, align 4
%36 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%37 = load ptr, ptr %6, align 8
%38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37)
%39 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%40 = call i64 @strlen(ptr noundef %39)
%41 = trunc i64 %40 to i32
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp sgt i32 %42, 6
br i1 %43, label %44, label %46
44: ; preds = %35
%45 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 6
store i8 0, ptr %45, align 1
store i32 6, ptr %8, align 4
br label %46
46: ; preds = %44, %35
br label %47
47: ; preds = %46, %34
store i32 49, ptr %11, align 4
store i32 0, ptr %12, align 4
%48 = load ptr, ptr %7, align 8
%49 = call i64 @strlen(ptr noundef %48)
%50 = trunc i64 %49 to i32
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %15, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %63, label %53
53: ; preds = %47
%54 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 0
%55 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55)
%57 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 0
%58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.2)
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 2
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 %61
store i8 0, ptr %62, align 1
br label %63
63: ; preds = %53, %47
%64 = load ptr, ptr %7, align 8
store ptr %64, ptr %16, align 8
%65 = load i32, ptr %9, align 4
%66 = icmp sgt i32 %65, 0
br i1 %66, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %63
br label %67
67: ; preds = %.lr.ph5, %154
%68 = load i32, ptr %9, align 4
%69 = icmp sgt i32 %68, 67
br i1 %69, label %70, label %71
70: ; preds = %67
store i32 67, ptr %14, align 4
br label %73
71: ; preds = %67
%72 = load i32, ptr %9, align 4
store i32 %72, ptr %14, align 4
br label %73
73: ; preds = %71, %70
%74 = load i8, ptr %20, align 1
%75 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
store i8 %74, ptr %75, align 16
store i32 1, ptr %10, align 4
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %14, align 4
%78 = icmp sle i32 %76, %77
br i1 %78, label %.lr.ph, label %92
.lr.ph: ; preds = %73
br label %79
79: ; preds = %.lr.ph, %86
%80 = load ptr, ptr %16, align 8
%81 = getelementptr inbounds i8, ptr %80, i32 1
store ptr %81, ptr %16, align 8
%82 = load i8, ptr %80, align 1
%83 = load i32, ptr %10, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %84
store i8 %82, ptr %85, align 1
br label %86
86: ; preds = %79
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %10, align 4
%89 = load i32, ptr %10, align 4
%90 = load i32, ptr %14, align 4
%91 = icmp sle i32 %89, %90
br i1 %91, label %79, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %86
br label %92
92: ; preds = %._crit_edge, %73
%93 = load i32, ptr %14, align 4
%94 = icmp slt i32 %93, 8
br i1 %94, label %95, label %110
95: ; preds = %92
%96 = load i32, ptr %14, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %10, align 4
%98 = load i32, ptr %10, align 4
%99 = icmp slt i32 %98, 9
br i1 %99, label %.lr.ph2, label %109
.lr.ph2: ; preds = %95
br label %100
100: ; preds = %.lr.ph2, %104
%101 = load i32, ptr %10, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %102
store i8 32, ptr %103, align 1
br label %104
104: ; preds = %100
%105 = load i32, ptr %10, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %10, align 4
%107 = load i32, ptr %10, align 4
%108 = icmp slt i32 %107, 9
br i1 %108, label %100, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %104
br label %109
109: ; preds = %._crit_edge3, %95
store i32 8, ptr %14, align 4
br label %110
110: ; preds = %109, %92
%111 = load i8, ptr %20, align 1
%112 = load i32, ptr %14, align 4
%113 = add nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %114
store i8 %111, ptr %115, align 1
%116 = load i32, ptr %14, align 4
%117 = add nsw i32 %116, 2
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 %118
store i8 0, ptr %119, align 1
%120 = load i32, ptr %15, align 4
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %127
122: ; preds = %110
%123 = load ptr, ptr %5, align 8
%124 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
%125 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
%126 = call i32 @hputc(ptr noundef %123, ptr noundef %124, ptr noundef %125)
store i32 %126, ptr %10, align 4
br label %140
127: ; preds = %110
%128 = load i32, ptr %11, align 4
%129 = trunc i32 %128 to i8
%130 = load i32, ptr %8, align 4
%131 = add nsw i32 %130, 1
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 %132
store i8 %129, ptr %133, align 1
%134 = load i32, ptr %11, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %11, align 4
%136 = load ptr, ptr %5, align 8
%137 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 0
%138 = getelementptr inbounds [80 x i8], ptr %19, i64 0, i64 0
%139 = call i32 @hputc(ptr noundef %136, ptr noundef %137, ptr noundef %138)
store i32 %139, ptr %10, align 4
br label %140
140: ; preds = %127, %122
%141 = load i32, ptr %10, align 4
%142 = icmp ne i32 %141, 0
br i1 %142, label %143, label %145
143: ; preds = %140
%144 = load i32, ptr %10, align 4
store i32 %144, ptr %4, align 4
br label %159
145: ; preds = %140
%146 = load i32, ptr %12, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %12, align 4
%148 = load i32, ptr %9, align 4
%149 = icmp sgt i32 %148, 67
br i1 %149, label %150, label %153
150: ; preds = %145
%151 = load i32, ptr %9, align 4
%152 = sub nsw i32 %151, 67
store i32 %152, ptr %9, align 4
br label %154
153: ; preds = %145
br label %157
154: ; preds = %150
%155 = load i32, ptr %9, align 4
%156 = icmp sgt i32 %155, 0
br i1 %156, label %67, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %154
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %63
br label %157
157: ; preds = %.loopexit, %153
%158 = load i32, ptr %12, align 4
store i32 %158, ptr %4, align 4
br label %159
159: ; preds = %157, %143
%160 = load i32, ptr %4, align 4
ret i32 %160
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @hputc(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3z4r6x4y.c'
source_filename = "/tmp/tmp3z4r6x4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_inoiseFF(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %8, align 8
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %9, align 8
%22 = load float, ptr %21, align 4
%23 = call float @noise2(float noundef %20, float noundef %22)
%24 = fadd float 1.000000e+00, %23
%25 = fmul float %24, 5.000000e-01
%26 = load ptr, ptr %7, align 8
store float %25, ptr %26, align 4
ret i32 0
}
declare float @noise2(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3z4r6x4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_inoiseFF(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %8, align 8
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %9, align 8
%22 = load float, ptr %21, align 4
%23 = call float @noise2(float noundef %20, float noundef %22)
%24 = fadd float 1.000000e+00, %23
%25 = fmul float %24, 5.000000e-01
%26 = load ptr, ptr %7, align 8
store float %25, ptr %26, align 4
ret i32 0
}
declare float @noise2(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjp_t3zdn.c'
source_filename = "/tmp/tmpjp_t3zdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Com_Error_f() #0 {
%1 = call i32 @Cmd_Argv(i32 noundef 1)
%2 = call i32 @Com_Error(i32 noundef 0, ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @Com_Error(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @Cmd_Argv(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/tmpjp_t3zdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Com_Error_f() #0 {
%1 = call i32 @Cmd_Argv(i32 noundef 1)
%2 = call i32 @Com_Error(i32 noundef 0, ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @Com_Error(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @Cmd_Argv(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/tmp7lcan86g.c'
source_filename = "/tmp/tmp7lcan86g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %7, %0
%4 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%5 = call i64 @readline(ptr noundef %4, i32 noundef 1024)
%6 = icmp sgt i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @entab(ptr noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i64 @readline(ptr noundef, i32 noundef) #1
declare i32 @entab(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7lcan86g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%4 = call i64 @readline(ptr noundef %3, i32 noundef 1024)
%5 = icmp sgt i64 %4, 0
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @entab(ptr noundef %7)
%9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = call i64 @readline(ptr noundef %3, i32 noundef 1024)
%12 = icmp sgt i64 %11, 0
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %0
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i64 @readline(ptr noundef, i32 noundef) #1
declare i32 @entab(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2bwsovw3.c'
source_filename = "/tmp/tmp2bwsovw3.c"
target datalayout = "e-m:e-p270: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/tmp2bwsovw3.c"
target datalayout = "e-m:e-p270: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/tmprz1plrom.c'
source_filename = "/tmp/tmprz1plrom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lexer_read_line(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call signext i8 @lexer_next_peek(ptr noundef %7)
store i8 %8, ptr %4, align 1
%9 = load i8, ptr %4, align 1
%10 = sext i8 %9 to i32
switch i32 %10, label %30 [
i32 26, label %11
i32 35, label %14
i32 9, label %17
i32 32, label %17
i32 10, label %20
i32 64, label %25
]
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @lexer_next_char(ptr noundef %12)
store i32 %13, ptr %2, align 4
br label %53
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call i32 @lexer_discard_comments(ptr noundef %15)
store i32 1, ptr %2, align 4
br label %53
17: ; preds = %1, %1
%18 = load ptr, ptr %3, align 8
%19 = call i32 @lexer_read_command(ptr noundef %18)
store i32 %19, ptr %2, align 4
br label %53
20: ; preds = %1
%21 = load ptr, ptr %3, align 8
%22 = call i32 @lexer_next_char(ptr noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = call i32 @lexer_read_line(ptr noundef %23)
store i32 %24, ptr %2, align 4
br label %53
25: ; preds = %1
%26 = load ptr, ptr %3, align 8
%27 = call i32 @lexer_next_char(ptr noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = call i32 @lexer_read_syntax_or_variable(ptr noundef %28)
store i32 %29, ptr %2, align 4
br label %53
30: ; preds = %1
%31 = load ptr, ptr %3, align 8
%32 = call i32 @lexer_discard_white_space(ptr noundef %31)
%33 = load ptr, ptr %3, align 8
%34 = call i32 @lexer_unquoted_look_ahead_count(ptr noundef %33, ptr noundef @.str)
store i32 %34, ptr %5, align 4
%35 = load ptr, ptr %3, align 8
%36 = call i32 @lexer_unquoted_look_ahead_count(ptr noundef %35, ptr noundef @.str.1)
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp ne i32 %37, -1
br i1 %38, label %39, label %49
39: ; preds = %30
%40 = load i32, ptr %6, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %46, label %42
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %49
46: ; preds = %42, %39
%47 = load ptr, ptr %3, align 8
%48 = call i32 @lexer_read_file_list(ptr noundef %47)
br label %52
49: ; preds = %42, %30
%50 = load ptr, ptr %3, align 8
%51 = call i32 @lexer_read_syntax_or_variable(ptr noundef %50)
br label %52
52: ; preds = %49, %46
store i32 1, ptr %2, align 4
br label %53
53: ; preds = %52, %25, %20, %17, %14, %11
%54 = load i32, ptr %2, align 4
ret i32 %54
}
declare signext i8 @lexer_next_peek(ptr noundef) #1
declare i32 @lexer_next_char(ptr noundef) #1
declare i32 @lexer_discard_comments(ptr noundef) #1
declare i32 @lexer_read_command(ptr noundef) #1
declare i32 @lexer_read_syntax_or_variable(ptr noundef) #1
declare i32 @lexer_discard_white_space(ptr noundef) #1
declare i32 @lexer_unquoted_look_ahead_count(ptr noundef, ptr noundef) #1
declare i32 @lexer_read_file_list(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprz1plrom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lexer_read_line(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call signext i8 @lexer_next_peek(ptr noundef %7)
store i8 %8, ptr %4, align 1
%9 = load i8, ptr %4, align 1
%10 = sext i8 %9 to i32
switch i32 %10, label %30 [
i32 26, label %11
i32 35, label %14
i32 9, label %17
i32 32, label %17
i32 10, label %20
i32 64, label %25
]
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @lexer_next_char(ptr noundef %12)
store i32 %13, ptr %2, align 4
br label %53
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call i32 @lexer_discard_comments(ptr noundef %15)
store i32 1, ptr %2, align 4
br label %53
17: ; preds = %1, %1
%18 = load ptr, ptr %3, align 8
%19 = call i32 @lexer_read_command(ptr noundef %18)
store i32 %19, ptr %2, align 4
br label %53
20: ; preds = %1
%21 = load ptr, ptr %3, align 8
%22 = call i32 @lexer_next_char(ptr noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = call i32 @lexer_read_line(ptr noundef %23)
store i32 %24, ptr %2, align 4
br label %53
25: ; preds = %1
%26 = load ptr, ptr %3, align 8
%27 = call i32 @lexer_next_char(ptr noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = call i32 @lexer_read_syntax_or_variable(ptr noundef %28)
store i32 %29, ptr %2, align 4
br label %53
30: ; preds = %1
%31 = load ptr, ptr %3, align 8
%32 = call i32 @lexer_discard_white_space(ptr noundef %31)
%33 = load ptr, ptr %3, align 8
%34 = call i32 @lexer_unquoted_look_ahead_count(ptr noundef %33, ptr noundef @.str)
store i32 %34, ptr %5, align 4
%35 = load ptr, ptr %3, align 8
%36 = call i32 @lexer_unquoted_look_ahead_count(ptr noundef %35, ptr noundef @.str.1)
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp ne i32 %37, -1
br i1 %38, label %39, label %49
39: ; preds = %30
%40 = load i32, ptr %6, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %46, label %42
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %49
46: ; preds = %42, %39
%47 = load ptr, ptr %3, align 8
%48 = call i32 @lexer_read_file_list(ptr noundef %47)
br label %52
49: ; preds = %42, %30
%50 = load ptr, ptr %3, align 8
%51 = call i32 @lexer_read_syntax_or_variable(ptr noundef %50)
br label %52
52: ; preds = %49, %46
store i32 1, ptr %2, align 4
br label %53
53: ; preds = %52, %25, %20, %17, %14, %11
%54 = load i32, ptr %2, align 4
ret i32 %54
}
declare signext i8 @lexer_next_peek(ptr noundef) #1
declare i32 @lexer_next_char(ptr noundef) #1
declare i32 @lexer_discard_comments(ptr noundef) #1
declare i32 @lexer_read_command(ptr noundef) #1
declare i32 @lexer_read_syntax_or_variable(ptr noundef) #1
declare i32 @lexer_discard_white_space(ptr noundef) #1
declare i32 @lexer_unquoted_look_ahead_count(ptr noundef, ptr noundef) #1
declare i32 @lexer_read_file_list(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptenkvd5a.c'
source_filename = "/tmp/tmptenkvd5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @sopa()
ret i32 0
}
declare i32 @sopa(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptenkvd5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @sopa()
ret i32 0
}
declare i32 @sopa(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgdtir3e9.c'
source_filename = "/tmp/tmpgdtir3e9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_string(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = call ptr @calloc(i32 noundef %9, i32 noundef 1)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %7, align 8
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %20, %2
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i8, ptr %4, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
store i8 %17, ptr %18, align 1
br label %20
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %12, !llvm.loop !6
23: ; preds = %12
%24 = load ptr, ptr %7, align 8
store i8 0, ptr %24, align 1
%25 = load ptr, ptr %6, align 8
ret ptr %25
}
declare ptr @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/tmpgdtir3e9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_string(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = call ptr @calloc(i32 noundef %9, i32 noundef 1)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %7, align 8
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i8, ptr %4, align 1
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %7, align 8
store i8 %16, ptr %17, align 1
br label %19
19: ; preds = %15
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
%26 = load ptr, ptr %7, align 8
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %6, align 8
ret ptr %27
}
declare ptr @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/tmp3qjn39z0.c'
source_filename = "/tmp/tmp3qjn39z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_normal_r() #0 {
%1 = call i32 (...) @drand()
%2 = call i32 @log(i32 noundef %1)
%3 = mul nsw i32 -2, %2
%4 = call double @sqrt(i32 noundef %3)
%5 = call i32 (...) @drand()
%6 = sitofp i32 %5 to double
%7 = fmul double 0x401921FB54442D18, %6
%8 = fptosi double %7 to i32
%9 = call double @cos(i32 noundef %8)
%10 = fmul double %4, %9
ret double %10
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @drand(...) #1
declare double @cos(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/tmp3qjn39z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_normal_r() #0 {
%1 = call i32 (...) @drand()
%2 = call i32 @log(i32 noundef %1)
%3 = mul nsw i32 -2, %2
%4 = call double @sqrt(i32 noundef %3)
%5 = call i32 (...) @drand()
%6 = sitofp i32 %5 to double
%7 = fmul double 0x401921FB54442D18, %6
%8 = fptosi double %7 to i32
%9 = call double @cos(i32 noundef %8)
%10 = fmul double %4, %9
ret double %10
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 noundef) #1
declare i32 @drand(...) #1
declare double @cos(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/tmpnexfh415.c'
source_filename = "/tmp/tmpnexfh415.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetMeterValue(i16 noundef zeroext %0, i16 noundef zeroext %1, i64 noundef %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i64, align 8
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store i64 %2, ptr %6, align 8
%7 = call i32 @SendChar(i32 noundef 238)
%8 = call i32 @SendChar(i32 noundef 177)
%9 = call i32 @SendChar(i32 noundef 16)
%10 = load i16, ptr %4, align 2
%11 = zext i16 %10 to i32
%12 = ashr i32 %11, 8
%13 = and i32 %12, 255
%14 = call i32 @SendChar(i32 noundef %13)
%15 = load i16, ptr %4, align 2
%16 = zext i16 %15 to i32
%17 = and i32 %16, 255
%18 = call i32 @SendChar(i32 noundef %17)
%19 = load i16, ptr %5, align 2
%20 = zext i16 %19 to i32
%21 = ashr i32 %20, 8
%22 = and i32 %21, 255
%23 = call i32 @SendChar(i32 noundef %22)
%24 = load i16, ptr %5, align 2
%25 = zext i16 %24 to i32
%26 = and i32 %25, 255
%27 = call i32 @SendChar(i32 noundef %26)
%28 = load i64, ptr %6, align 8
%29 = lshr i64 %28, 16
%30 = lshr i64 %29, 8
%31 = and i64 %30, 255
%32 = trunc i64 %31 to i32
%33 = call i32 @SendChar(i32 noundef %32)
%34 = load i64, ptr %6, align 8
%35 = lshr i64 %34, 16
%36 = and i64 %35, 255
%37 = trunc i64 %36 to i32
%38 = call i32 @SendChar(i32 noundef %37)
%39 = load i64, ptr %6, align 8
%40 = and i64 %39, 65535
%41 = lshr i64 %40, 8
%42 = and i64 %41, 255
%43 = trunc i64 %42 to i32
%44 = call i32 @SendChar(i32 noundef %43)
%45 = load i64, ptr %6, align 8
%46 = and i64 %45, 65535
%47 = and i64 %46, 255
%48 = trunc i64 %47 to i32
%49 = call i32 @SendChar(i32 noundef %48)
%50 = call i32 @SendChar(i32 noundef 255)
%51 = call i32 @SendChar(i32 noundef 252)
%52 = call i32 @SendChar(i32 noundef 255)
%53 = 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/tmpnexfh415.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetMeterValue(i16 noundef zeroext %0, i16 noundef zeroext %1, i64 noundef %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i64, align 8
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store i64 %2, ptr %6, align 8
%7 = call i32 @SendChar(i32 noundef 238)
%8 = call i32 @SendChar(i32 noundef 177)
%9 = call i32 @SendChar(i32 noundef 16)
%10 = load i16, ptr %4, align 2
%11 = zext i16 %10 to i32
%12 = ashr i32 %11, 8
%13 = and i32 %12, 255
%14 = call i32 @SendChar(i32 noundef %13)
%15 = load i16, ptr %4, align 2
%16 = zext i16 %15 to i32
%17 = and i32 %16, 255
%18 = call i32 @SendChar(i32 noundef %17)
%19 = load i16, ptr %5, align 2
%20 = zext i16 %19 to i32
%21 = ashr i32 %20, 8
%22 = and i32 %21, 255
%23 = call i32 @SendChar(i32 noundef %22)
%24 = load i16, ptr %5, align 2
%25 = zext i16 %24 to i32
%26 = and i32 %25, 255
%27 = call i32 @SendChar(i32 noundef %26)
%28 = load i64, ptr %6, align 8
%29 = lshr i64 %28, 16
%30 = lshr i64 %29, 8
%31 = and i64 %30, 255
%32 = trunc i64 %31 to i32
%33 = call i32 @SendChar(i32 noundef %32)
%34 = load i64, ptr %6, align 8
%35 = lshr i64 %34, 16
%36 = and i64 %35, 255
%37 = trunc i64 %36 to i32
%38 = call i32 @SendChar(i32 noundef %37)
%39 = load i64, ptr %6, align 8
%40 = and i64 %39, 65535
%41 = lshr i64 %40, 8
%42 = and i64 %41, 255
%43 = trunc i64 %42 to i32
%44 = call i32 @SendChar(i32 noundef %43)
%45 = load i64, ptr %6, align 8
%46 = and i64 %45, 65535
%47 = and i64 %46, 255
%48 = trunc i64 %47 to i32
%49 = call i32 @SendChar(i32 noundef %48)
%50 = call i32 @SendChar(i32 noundef 255)
%51 = call i32 @SendChar(i32 noundef 252)
%52 = call i32 @SendChar(i32 noundef 255)
%53 = 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/tmp6vh3_nlh.c'
source_filename = "/tmp/tmp6vh3_nlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftoa(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store float %0, ptr %2, align 4
%13 = load float, ptr %2, align 4
store float %13, ptr %3, align 4
%14 = call i64 @malloc(i32 noundef 100)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %11, align 4
%16 = load float, ptr %2, align 4
%17 = fpext float %16 to double
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %27
19: ; preds = %1
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %11, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
store i8 45, ptr %24, align 1
%25 = load float, ptr %2, align 4
%26 = fmul float %25, -1.000000e+00
store float %26, ptr %2, align 4
br label %27
27: ; preds = %19, %1
%28 = load float, ptr %2, align 4
%29 = fptosi float %28 to i32
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = sitofp i32 %30 to float
%32 = load float, ptr %2, align 4
%33 = fsub float %32, %31
store float %33, ptr %2, align 4
store i32 6, ptr %8, align 4
br label %34
34: ; preds = %46, %27
%35 = load i32, ptr %8, align 4
%36 = icmp sgt i32 %35, -1
br i1 %36, label %37, label %49
37: ; preds = %34
%38 = load i32, ptr %8, align 4
%39 = call i32 @pow(i32 noundef 10, i32 noundef %38)
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %9, align 4
%42 = sdiv i32 %40, %41
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = icmp sgt i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %37
br label %49
46: ; preds = %37
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %8, align 4
br label %34, !llvm.loop !6
49: ; preds = %45, %34
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %9, align 4
br label %52
52: ; preds = %73, %49
%53 = load i32, ptr %9, align 4
%54 = icmp sgt i32 %53, 0
br i1 %54, label %55, label %76
55: ; preds = %52
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %56, 1
%58 = call i32 @pow(i32 noundef 10, i32 noundef %57)
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %6, align 4
%61 = sdiv i32 %59, %60
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 48
%64 = trunc i32 %63 to i8
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %11, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
store i8 %64, ptr %69, align 1
%70 = load i32, ptr %6, align 4
%71 = load i32, ptr %5, align 4
%72 = srem i32 %71, %70
store i32 %72, ptr %5, align 4
br label %73
73: ; preds = %55
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, -1
store i32 %75, ptr %9, align 4
br label %52, !llvm.loop !8
76: ; preds = %52
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %11, align 4
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i8, ptr %77, i64 %80
store i8 46, ptr %81, align 1
store i32 0, ptr %9, align 4
br label %82
82: ; preds = %104, %76
%83 = load i32, ptr %9, align 4
%84 = icmp slt i32 %83, 6
br i1 %84, label %85, label %107
85: ; preds = %82
%86 = load float, ptr %2, align 4
%87 = fpext float %86 to double
%88 = fmul double %87, 1.000000e+01
%89 = fptrunc double %88 to float
store float %89, ptr %2, align 4
%90 = load float, ptr %2, align 4
%91 = fptosi float %90 to i32
store i32 %91, ptr %6, align 4
%92 = load i32, ptr %6, align 4
%93 = add nsw i32 %92, 48
%94 = trunc i32 %93 to i8
%95 = load ptr, ptr %4, align 8
%96 = load i32, ptr %11, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %11, align 4
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i8, ptr %95, i64 %98
store i8 %94, ptr %99, align 1
%100 = load i32, ptr %6, align 4
%101 = sitofp i32 %100 to float
%102 = load float, ptr %2, align 4
%103 = fsub float %102, %101
store float %103, ptr %2, align 4
br label %104
104: ; preds = %85
%105 = load i32, ptr %9, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %9, align 4
br label %82, !llvm.loop !9
107: ; preds = %82
%108 = load ptr, ptr %4, align 8
%109 = load i32, ptr %11, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
store i8 0, ptr %111, align 1
%112 = load ptr, ptr %4, align 8
ret ptr %112
}
declare i64 @malloc(i32 noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6vh3_nlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftoa(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store float %0, ptr %2, align 4
%13 = load float, ptr %2, align 4
store float %13, ptr %3, align 4
%14 = call i64 @malloc(i32 noundef 100)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %4, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %11, align 4
%16 = load float, ptr %2, align 4
%17 = fpext float %16 to double
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %27
19: ; preds = %1
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %11, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
store i8 45, ptr %24, align 1
%25 = load float, ptr %2, align 4
%26 = fmul float %25, -1.000000e+00
store float %26, ptr %2, align 4
br label %27
27: ; preds = %19, %1
%28 = load float, ptr %2, align 4
%29 = fptosi float %28 to i32
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = sitofp i32 %30 to float
%32 = load float, ptr %2, align 4
%33 = fsub float %32, %31
store float %33, ptr %2, align 4
store i32 6, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp sgt i32 %34, -1
br i1 %35, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %27
br label %36
36: ; preds = %.lr.ph, %45
%37 = load i32, ptr %8, align 4
%38 = call i32 @pow(i32 noundef 10, i32 noundef %37)
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %9, align 4
%41 = sdiv i32 %39, %40
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %10, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %36
br label %50
45: ; preds = %36
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp sgt i32 %48, -1
br i1 %49, label %36, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %45
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %27
br label %50
50: ; preds = %.loopexit, %44
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp sgt i32 %53, 0
br i1 %54, label %.lr.ph1, label %78
.lr.ph1: ; preds = %50
br label %55
55: ; preds = %.lr.ph1, %73
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %56, 1
%58 = call i32 @pow(i32 noundef 10, i32 noundef %57)
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %6, align 4
%61 = sdiv i32 %59, %60
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 48
%64 = trunc i32 %63 to i8
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %11, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
store i8 %64, ptr %69, align 1
%70 = load i32, ptr %6, align 4
%71 = load i32, ptr %5, align 4
%72 = srem i32 %71, %70
store i32 %72, ptr %5, align 4
br label %73
73: ; preds = %55
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, -1
store i32 %75, ptr %9, align 4
%76 = load i32, ptr %9, align 4
%77 = icmp sgt i32 %76, 0
br i1 %77, label %55, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %73
br label %78
78: ; preds = %._crit_edge, %50
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %11, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %11, align 4
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds i8, ptr %79, i64 %82
store i8 46, ptr %83, align 1
store i32 0, ptr %9, align 4
%84 = load i32, ptr %9, align 4
%85 = icmp slt i32 %84, 6
br i1 %85, label %.lr.ph3, label %110
.lr.ph3: ; preds = %78
br label %86
86: ; preds = %.lr.ph3, %105
%87 = load float, ptr %2, align 4
%88 = fpext float %87 to double
%89 = fmul double %88, 1.000000e+01
%90 = fptrunc double %89 to float
store float %90, ptr %2, align 4
%91 = load float, ptr %2, align 4
%92 = fptosi float %91 to i32
store i32 %92, ptr %6, align 4
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 48
%95 = trunc i32 %94 to i8
%96 = load ptr, ptr %4, align 8
%97 = load i32, ptr %11, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %11, align 4
%99 = sext i32 %97 to i64
%100 = getelementptr inbounds i8, ptr %96, i64 %99
store i8 %95, ptr %100, align 1
%101 = load i32, ptr %6, align 4
%102 = sitofp i32 %101 to float
%103 = load float, ptr %2, align 4
%104 = fsub float %103, %102
store float %104, ptr %2, align 4
br label %105
105: ; preds = %86
%106 = load i32, ptr %9, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %9, align 4
%109 = icmp slt i32 %108, 6
br i1 %109, label %86, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %105
br label %110
110: ; preds = %._crit_edge4, %78
%111 = load ptr, ptr %4, align 8
%112 = load i32, ptr %11, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
store i8 0, ptr %114, align 1
%115 = load ptr, ptr %4, align 8
ret ptr %115
}
declare i64 @malloc(i32 noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpllfu3uix.c'
source_filename = "/tmp/tmpllfu3uix.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.str = private unnamed_addr constant [14 x i8] c"%d in pos %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.x, i64 12, i1 false)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %20, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %23
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 @binsearch(ptr noundef %13, i32 noundef %17, i32 noundef 3)
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %18)
br label %20
20: ; preds = %8
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %5, !llvm.loop !6
23: ; preds = %5
store i32 4, ptr %4, align 4
br label %24
24: ; preds = %33, %23
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 6
br i1 %26, label %27, label %36
27: ; preds = %24
%28 = load i32, ptr %4, align 4
%29 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%30 = load i32, ptr %4, align 4
%31 = call i32 @binsearch(ptr noundef %29, i32 noundef %30, i32 noundef 3)
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %31)
br label %33
33: ; preds = %27
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %24, !llvm.loop !8
36: ; preds = %24
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @binsearch(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllfu3uix.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.str = private unnamed_addr constant [14 x i8] c"%d in pos %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.x, i64 12, i1 false)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 3
br i1 %6, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %19
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 @binsearch(ptr noundef %12, i32 noundef %16, i32 noundef 3)
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %17)
br label %19
19: ; preds = %7
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 3
br i1 %23, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
store i32 4, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 6
br i1 %26, label %.lr.ph2, label %38
.lr.ph2: ; preds = %24
br label %27
27: ; preds = %.lr.ph2, %33
%28 = load i32, ptr %4, align 4
%29 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%30 = load i32, ptr %4, align 4
%31 = call i32 @binsearch(ptr noundef %29, i32 noundef %30, i32 noundef 3)
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %31)
br label %33
33: ; preds = %27
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %36, 6
br i1 %37, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %24
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @binsearch(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjeb3q8lr.c'
source_filename = "/tmp/tmpjeb3q8lr.c"
target datalayout = "e-m:e-p270: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/tmpjeb3q8lr.c"
target datalayout = "e-m:e-p270: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/tmpcwb9ezfv.c'
source_filename = "/tmp/tmpcwb9ezfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spindly_phys_cleanup(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 ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = ptrtoint ptr %6 to i32
br label %8
8: ; preds = %5, %1
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/tmpcwb9ezfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spindly_phys_cleanup(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 ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = ptrtoint ptr %6 to i32
br label %8
8: ; preds = %5, %1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoqw8yaxl.c'
source_filename = "/tmp/tmpoqw8yaxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret i32 0
}
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/tmpoqw8yaxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret i32 0
}
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/tmp905p6x8o.c'
source_filename = "/tmp/tmp905p6x8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"0) Back\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"1) hash_open_initialize\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"2) hash_open_print\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"3) hash_open_insert\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"4) hash_open_delete\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"5) hash_open_search\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Insert a value: \00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.9 = private unnamed_addr constant [25 x i8] c"Added in %5.10f seconds\0A\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"Deleted in %5.10f seconds\0A\00", align 1
@.str.11 = private unnamed_addr constant [52 x i8] c"Searched in %5.10f seconds, founded at position %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @open_hash() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
br label %7
7: ; preds = %75, %0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%14 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %2)
%15 = load i32, ptr %2, align 4
switch i32 %15, label %74 [
i32 1, label %16
i32 2, label %19
i32 3, label %22
i32 4, label %39
i32 5, label %56
]
16: ; preds = %7
%17 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%18 = call i32 @hash_open_initalize(ptr noundef %17)
br label %74
19: ; preds = %7
%20 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%21 = call i32 @hash_open_print(ptr noundef %20)
br label %74
22: ; preds = %7
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%24 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%26 = call i64 (...) @clock()
store i64 %26, ptr %4, align 8
%27 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%28 = load i32, ptr %3, align 4
%29 = call i32 @hash_open_insert(ptr noundef %27, i32 noundef %28)
%30 = call i64 (...) @clock()
store i64 %30, ptr %5, align 8
%31 = load i64, ptr %5, align 8
%32 = load i64, ptr %4, align 8
%33 = sub nsw i64 %31, %32
%34 = sitofp i64 %33 to double
%35 = load double, ptr @CLOCKS_PER_SEC, align 8
%36 = fdiv double %34, %35
store double %36, ptr %6, align 8
%37 = load double, ptr %6, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %37)
br label %74
39: ; preds = %7
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%41 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%43 = call i64 (...) @clock()
store i64 %43, ptr %4, align 8
%44 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%45 = load i32, ptr %3, align 4
%46 = call i32 @hash_open_delete(ptr noundef %44, i32 noundef %45)
%47 = call i64 (...) @clock()
store i64 %47, ptr %5, align 8
%48 = load i64, ptr %5, align 8
%49 = load i64, ptr %4, align 8
%50 = sub nsw i64 %48, %49
%51 = sitofp i64 %50 to double
%52 = load double, ptr @CLOCKS_PER_SEC, align 8
%53 = fdiv double %51, %52
store double %53, ptr %6, align 8
%54 = load double, ptr %6, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %54)
br label %74
56: ; preds = %7
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%58 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%60 = call i64 (...) @clock()
store i64 %60, ptr %4, align 8
%61 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%62 = load i32, ptr %3, align 4
%63 = call i32 @hash_open_search(ptr noundef %61, i32 noundef %62)
store i32 %63, ptr %3, align 4
%64 = call i64 (...) @clock()
store i64 %64, ptr %5, align 8
%65 = load i64, ptr %5, align 8
%66 = load i64, ptr %4, align 8
%67 = sub nsw i64 %65, %66
%68 = sitofp i64 %67 to double
%69 = load double, ptr @CLOCKS_PER_SEC, align 8
%70 = fdiv double %68, %69
store double %70, ptr %6, align 8
%71 = load double, ptr %6, align 8
%72 = load i32, ptr %3, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %71, i32 noundef %72)
br label %74
74: ; preds = %7, %56, %39, %22, %19, %16
br label %75
75: ; preds = %74
%76 = load i32, ptr %2, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %7, label %78, !llvm.loop !6
78: ; preds = %75
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @hash_open_initalize(ptr noundef) #1
declare i32 @hash_open_print(ptr noundef) #1
declare i64 @clock(...) #1
declare i32 @hash_open_insert(ptr noundef, i32 noundef) #1
declare i32 @hash_open_delete(ptr noundef, i32 noundef) #1
declare i32 @hash_open_search(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/tmp905p6x8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"0) Back\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"1) hash_open_initialize\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"2) hash_open_print\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"3) hash_open_insert\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"4) hash_open_delete\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"5) hash_open_search\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Insert a value: \00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.9 = private unnamed_addr constant [25 x i8] c"Added in %5.10f seconds\0A\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"Deleted in %5.10f seconds\0A\00", align 1
@.str.11 = private unnamed_addr constant [52 x i8] c"Searched in %5.10f seconds, founded at position %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @open_hash() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
br label %7
7: ; preds = %75, %0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%14 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %2)
%15 = load i32, ptr %2, align 4
switch i32 %15, label %74 [
i32 1, label %16
i32 2, label %19
i32 3, label %22
i32 4, label %39
i32 5, label %56
]
16: ; preds = %7
%17 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%18 = call i32 @hash_open_initalize(ptr noundef %17)
br label %74
19: ; preds = %7
%20 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%21 = call i32 @hash_open_print(ptr noundef %20)
br label %74
22: ; preds = %7
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%24 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%26 = call i64 (...) @clock()
store i64 %26, ptr %4, align 8
%27 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%28 = load i32, ptr %3, align 4
%29 = call i32 @hash_open_insert(ptr noundef %27, i32 noundef %28)
%30 = call i64 (...) @clock()
store i64 %30, ptr %5, align 8
%31 = load i64, ptr %5, align 8
%32 = load i64, ptr %4, align 8
%33 = sub nsw i64 %31, %32
%34 = sitofp i64 %33 to double
%35 = load double, ptr @CLOCKS_PER_SEC, align 8
%36 = fdiv double %34, %35
store double %36, ptr %6, align 8
%37 = load double, ptr %6, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %37)
br label %74
39: ; preds = %7
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%41 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%43 = call i64 (...) @clock()
store i64 %43, ptr %4, align 8
%44 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%45 = load i32, ptr %3, align 4
%46 = call i32 @hash_open_delete(ptr noundef %44, i32 noundef %45)
%47 = call i64 (...) @clock()
store i64 %47, ptr %5, align 8
%48 = load i64, ptr %5, align 8
%49 = load i64, ptr %4, align 8
%50 = sub nsw i64 %48, %49
%51 = sitofp i64 %50 to double
%52 = load double, ptr @CLOCKS_PER_SEC, align 8
%53 = fdiv double %51, %52
store double %53, ptr %6, align 8
%54 = load double, ptr %6, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %54)
br label %74
56: ; preds = %7
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%58 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %3)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%60 = call i64 (...) @clock()
store i64 %60, ptr %4, align 8
%61 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%62 = load i32, ptr %3, align 4
%63 = call i32 @hash_open_search(ptr noundef %61, i32 noundef %62)
store i32 %63, ptr %3, align 4
%64 = call i64 (...) @clock()
store i64 %64, ptr %5, align 8
%65 = load i64, ptr %5, align 8
%66 = load i64, ptr %4, align 8
%67 = sub nsw i64 %65, %66
%68 = sitofp i64 %67 to double
%69 = load double, ptr @CLOCKS_PER_SEC, align 8
%70 = fdiv double %68, %69
store double %70, ptr %6, align 8
%71 = load double, ptr %6, align 8
%72 = load i32, ptr %3, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %71, i32 noundef %72)
br label %74
74: ; preds = %56, %39, %22, %19, %16, %7
br label %75
75: ; preds = %74
%76 = load i32, ptr %2, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %7, label %78, !llvm.loop !6
78: ; preds = %75
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @hash_open_initalize(ptr noundef) #1
declare i32 @hash_open_print(ptr noundef) #1
declare i64 @clock(...) #1
declare i32 @hash_open_insert(ptr noundef, i32 noundef) #1
declare i32 @hash_open_delete(ptr noundef, i32 noundef) #1
declare i32 @hash_open_search(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/tmp51del_l8.c'
source_filename = "/tmp/tmp51del_l8.c"
target datalayout = "e-m:e-p270: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/tmp51del_l8.c"
target datalayout = "e-m:e-p270: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/tmpco578nc9.c'
source_filename = "/tmp/tmpco578nc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Double fault!!!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @int_Double_fault() #0 {
%1 = call i32 @color(i32 noundef 16711680)
%2 = call i32 @printk(ptr noundef @.str)
%3 = call i32 (...) @io_hlt()
ret void
}
declare i32 @color(i32 noundef) #1
declare i32 @printk(ptr noundef) #1
declare i32 @io_hlt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpco578nc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Double fault!!!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @int_Double_fault() #0 {
%1 = call i32 @color(i32 noundef 16711680)
%2 = call i32 @printk(ptr noundef @.str)
%3 = call i32 (...) @io_hlt()
ret void
}
declare i32 @color(i32 noundef) #1
declare i32 @printk(ptr noundef) #1
declare i32 @io_hlt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqvwdoq3p.c'
source_filename = "/tmp/tmpqvwdoq3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[31m%s\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @closeWithError_2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [50 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @perror(ptr noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqvwdoq3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[31m%s\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @closeWithError_2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [50 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @perror(ptr noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqg3e23c4.c'
source_filename = "/tmp/tmpqg3e23c4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_pn = type { ptr, ptr, ptr, i32 }
@PF_PHONET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_phonet(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call ptr @malloc(i32 noundef 32)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %2
br label %27
10: ; preds = %2
%11 = load i32, ptr @PF_PHONET, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds %struct.sockaddr_pn, ptr %12, i32 0, i32 3
store i32 %11, ptr %13, align 8
%14 = call ptr (...) @rand()
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.sockaddr_pn, ptr %15, i32 0, i32 2
store ptr %14, ptr %16, align 8
%17 = call ptr (...) @rand()
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.sockaddr_pn, ptr %18, i32 0, i32 1
store ptr %17, ptr %19, align 8
%20 = call ptr (...) @rand()
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds %struct.sockaddr_pn, ptr %21, i32 0, i32 0
store ptr %20, ptr %22, align 8
%23 = load ptr, ptr %5, align 8
%24 = ptrtoint ptr %23 to i64
%25 = load ptr, ptr %3, align 8
store i64 %24, ptr %25, align 8
%26 = load ptr, ptr %4, align 8
store i64 32, ptr %26, align 8
br label %27
27: ; preds = %10, %9
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqg3e23c4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_pn = type { ptr, ptr, ptr, i32 }
@PF_PHONET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_phonet(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call ptr @malloc(i32 noundef 32)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %2
br label %27
10: ; preds = %2
%11 = load i32, ptr @PF_PHONET, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds %struct.sockaddr_pn, ptr %12, i32 0, i32 3
store i32 %11, ptr %13, align 8
%14 = call ptr (...) @rand()
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.sockaddr_pn, ptr %15, i32 0, i32 2
store ptr %14, ptr %16, align 8
%17 = call ptr (...) @rand()
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.sockaddr_pn, ptr %18, i32 0, i32 1
store ptr %17, ptr %19, align 8
%20 = call ptr (...) @rand()
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds %struct.sockaddr_pn, ptr %21, i32 0, i32 0
store ptr %20, ptr %22, align 8
%23 = load ptr, ptr %5, align 8
%24 = ptrtoint ptr %23 to i64
%25 = load ptr, ptr %3, align 8
store i64 %24, ptr %25, align 8
%26 = load ptr, ptr %4, align 8
store i64 32, ptr %26, align 8
br label %27
27: ; preds = %10, %9
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @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"}
|
; ModuleID = '/tmp/tmphsa5gau4.c'
source_filename = "/tmp/tmphsa5gau4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"run-test262\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perror_exit(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 @stdout, align 4
%6 = call i32 @fflush(i32 noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef @.str.1)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @perror(ptr noundef %9)
%11 = load i32, ptr %3, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
}
declare i32 @fflush(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphsa5gau4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"run-test262\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @perror_exit(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 @stdout, align 4
%6 = call i32 @fflush(i32 noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef @.str.1)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @perror(ptr noundef %9)
%11 = load i32, ptr %3, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
}
declare i32 @fflush(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp9exxoth.c'
source_filename = "/tmp/tmpp9exxoth.c"
target datalayout = "e-m:e-p270: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/tmpp9exxoth.c"
target datalayout = "e-m:e-p270: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/tmpjub8qopn.c'
source_filename = "/tmp/tmpjub8qopn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putwchar(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = zext i16 %3 to i32
%5 = ashr i32 %4, 8
%6 = trunc i32 %5 to i16
%7 = call i32 @putchar(i16 noundef zeroext %6)
%8 = load i16, ptr %2, align 2
%9 = call i32 @putchar(i16 noundef zeroext %8)
ret void
}
declare i32 @putchar(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/tmpjub8qopn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putwchar(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = zext i16 %3 to i32
%5 = ashr i32 %4, 8
%6 = trunc i32 %5 to i16
%7 = call i32 @putchar(i16 noundef zeroext %6)
%8 = load i16, ptr %2, align 2
%9 = call i32 @putchar(i16 noundef zeroext %8)
ret void
}
declare i32 @putchar(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/tmp6bfd50g6.c'
source_filename = "/tmp/tmp6bfd50g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_event_source_set_priority(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6bfd50g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_event_source_set_priority(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpboo47rbx.c'
source_filename = "/tmp/tmpboo47rbx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8poly2_ex2(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca [9 x double], align 16
%25 = alloca ptr, align 8
store double %0, ptr %13, align 8
store double %1, ptr %14, align 8
store double %2, ptr %15, align 8
store double %3, ptr %16, align 8
store double %4, ptr %17, align 8
store double %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store ptr %9, ptr %22, align 8
store ptr %10, ptr %23, align 8
%26 = load ptr, ptr %21, align 8
store double 0.000000e+00, ptr %26, align 8
%27 = load ptr, ptr %22, align 8
store double 0.000000e+00, ptr %27, align 8
%28 = load ptr, ptr %23, align 8
store double 0.000000e+00, ptr %28, align 8
%29 = load ptr, ptr %19, align 8
store double 0.000000e+00, ptr %29, align 8
%30 = load ptr, ptr %20, align 8
store double 0.000000e+00, ptr %30, align 8
%31 = load double, ptr %13, align 8
%32 = load double, ptr %15, align 8
%33 = fcmp oeq double %31, %32
br i1 %33, label %42, label %34
34: ; preds = %11
%35 = load double, ptr %15, align 8
%36 = load double, ptr %17, align 8
%37 = fcmp oeq double %35, %36
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load double, ptr %17, align 8
%40 = load double, ptr %13, align 8
%41 = fcmp oeq double %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %34, %11
store i32 1, ptr %12, align 4
br label %162
43: ; preds = %38
%44 = load double, ptr %14, align 8
%45 = load double, ptr %16, align 8
%46 = fcmp oeq double %44, %45
br i1 %46, label %47, label %60
47: ; preds = %43
%48 = load double, ptr %16, align 8
%49 = load double, ptr %18, align 8
%50 = fcmp oeq double %48, %49
br i1 %50, label %51, label %60
51: ; preds = %47
%52 = load double, ptr %18, align 8
%53 = load double, ptr %14, align 8
%54 = fcmp oeq double %52, %53
br i1 %54, label %55, label %60
55: ; preds = %51
%56 = load double, ptr %13, align 8
%57 = load ptr, ptr %19, align 8
store double %56, ptr %57, align 8
%58 = load double, ptr %14, align 8
%59 = load ptr, ptr %20, align 8
store double %58, ptr %59, align 8
store i32 3, ptr %12, align 4
br label %162
60: ; preds = %51, %47, %43
%61 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 0
store double 1.000000e+00, ptr %61, align 16
%62 = load double, ptr %13, align 8
%63 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 3
store double %62, ptr %63, align 8
%64 = load double, ptr %13, align 8
%65 = load double, ptr %13, align 8
%66 = fmul double %64, %65
%67 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 6
store double %66, ptr %67, align 16
%68 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 1
store double 1.000000e+00, ptr %68, align 8
%69 = load double, ptr %15, align 8
%70 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 4
store double %69, ptr %70, align 16
%71 = load double, ptr %15, align 8
%72 = load double, ptr %15, align 8
%73 = fmul double %71, %72
%74 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 7
store double %73, ptr %74, align 8
%75 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 2
store double 1.000000e+00, ptr %75, align 16
%76 = load double, ptr %17, align 8
%77 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 5
store double %76, ptr %77, align 8
%78 = load double, ptr %17, align 8
%79 = load double, ptr %17, align 8
%80 = fmul double %78, %79
%81 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 8
store double %80, ptr %81, align 16
%82 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 0
%83 = call ptr @r8mat_inverse_3d(ptr noundef %82)
store ptr %83, ptr %25, align 8
%84 = load ptr, ptr %25, align 8
%85 = getelementptr inbounds double, ptr %84, i64 0
%86 = load double, ptr %85, align 8
%87 = load double, ptr %14, align 8
%88 = load ptr, ptr %25, align 8
%89 = getelementptr inbounds double, ptr %88, i64 3
%90 = load double, ptr %89, align 8
%91 = load double, ptr %16, align 8
%92 = fmul double %90, %91
%93 = call double @llvm.fmuladd.f64(double %86, double %87, double %92)
%94 = load ptr, ptr %25, align 8
%95 = getelementptr inbounds double, ptr %94, i64 6
%96 = load double, ptr %95, align 8
%97 = load double, ptr %18, align 8
%98 = call double @llvm.fmuladd.f64(double %96, double %97, double %93)
%99 = load ptr, ptr %23, align 8
store double %98, ptr %99, align 8
%100 = load ptr, ptr %25, align 8
%101 = getelementptr inbounds double, ptr %100, i64 1
%102 = load double, ptr %101, align 8
%103 = load double, ptr %14, align 8
%104 = load ptr, ptr %25, align 8
%105 = getelementptr inbounds double, ptr %104, i64 4
%106 = load double, ptr %105, align 8
%107 = load double, ptr %16, align 8
%108 = fmul double %106, %107
%109 = call double @llvm.fmuladd.f64(double %102, double %103, double %108)
%110 = load ptr, ptr %25, align 8
%111 = getelementptr inbounds double, ptr %110, i64 7
%112 = load double, ptr %111, align 8
%113 = load double, ptr %18, align 8
%114 = call double @llvm.fmuladd.f64(double %112, double %113, double %109)
%115 = load ptr, ptr %22, align 8
store double %114, ptr %115, align 8
%116 = load ptr, ptr %25, align 8
%117 = getelementptr inbounds double, ptr %116, i64 2
%118 = load double, ptr %117, align 8
%119 = load double, ptr %14, align 8
%120 = load ptr, ptr %25, align 8
%121 = getelementptr inbounds double, ptr %120, i64 5
%122 = load double, ptr %121, align 8
%123 = load double, ptr %16, align 8
%124 = fmul double %122, %123
%125 = call double @llvm.fmuladd.f64(double %118, double %119, double %124)
%126 = load ptr, ptr %25, align 8
%127 = getelementptr inbounds double, ptr %126, i64 8
%128 = load double, ptr %127, align 8
%129 = load double, ptr %18, align 8
%130 = call double @llvm.fmuladd.f64(double %128, double %129, double %125)
%131 = load ptr, ptr %21, align 8
store double %130, ptr %131, align 8
%132 = load ptr, ptr %21, align 8
%133 = load double, ptr %132, align 8
%134 = fcmp oeq double %133, 0.000000e+00
br i1 %134, label %135, label %136
135: ; preds = %60
store i32 2, ptr %12, align 4
br label %162
136: ; preds = %60
%137 = load ptr, ptr %22, align 8
%138 = load double, ptr %137, align 8
%139 = fneg double %138
%140 = load ptr, ptr %21, align 8
%141 = load double, ptr %140, align 8
%142 = fmul double 2.000000e+00, %141
%143 = fdiv double %139, %142
%144 = load ptr, ptr %19, align 8
store double %143, ptr %144, align 8
%145 = load ptr, ptr %21, align 8
%146 = load double, ptr %145, align 8
%147 = load ptr, ptr %19, align 8
%148 = load double, ptr %147, align 8
%149 = fmul double %146, %148
%150 = load ptr, ptr %19, align 8
%151 = load double, ptr %150, align 8
%152 = load ptr, ptr %22, align 8
%153 = load double, ptr %152, align 8
%154 = load ptr, ptr %19, align 8
%155 = load double, ptr %154, align 8
%156 = fmul double %153, %155
%157 = call double @llvm.fmuladd.f64(double %149, double %151, double %156)
%158 = load ptr, ptr %23, align 8
%159 = load double, ptr %158, align 8
%160 = fadd double %157, %159
%161 = load ptr, ptr %20, align 8
store double %160, ptr %161, align 8
store i32 0, ptr %12, align 4
br label %162
162: ; preds = %136, %135, %55, %42
%163 = load i32, ptr %12, align 4
ret i32 %163
}
declare ptr @r8mat_inverse_3d(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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/tmpboo47rbx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8poly2_ex2(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca [9 x double], align 16
%25 = alloca ptr, align 8
store double %0, ptr %13, align 8
store double %1, ptr %14, align 8
store double %2, ptr %15, align 8
store double %3, ptr %16, align 8
store double %4, ptr %17, align 8
store double %5, ptr %18, align 8
store ptr %6, ptr %19, align 8
store ptr %7, ptr %20, align 8
store ptr %8, ptr %21, align 8
store ptr %9, ptr %22, align 8
store ptr %10, ptr %23, align 8
%26 = load ptr, ptr %21, align 8
store double 0.000000e+00, ptr %26, align 8
%27 = load ptr, ptr %22, align 8
store double 0.000000e+00, ptr %27, align 8
%28 = load ptr, ptr %23, align 8
store double 0.000000e+00, ptr %28, align 8
%29 = load ptr, ptr %19, align 8
store double 0.000000e+00, ptr %29, align 8
%30 = load ptr, ptr %20, align 8
store double 0.000000e+00, ptr %30, align 8
%31 = load double, ptr %13, align 8
%32 = load double, ptr %15, align 8
%33 = fcmp oeq double %31, %32
br i1 %33, label %42, label %34
34: ; preds = %11
%35 = load double, ptr %15, align 8
%36 = load double, ptr %17, align 8
%37 = fcmp oeq double %35, %36
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load double, ptr %17, align 8
%40 = load double, ptr %13, align 8
%41 = fcmp oeq double %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %34, %11
store i32 1, ptr %12, align 4
br label %162
43: ; preds = %38
%44 = load double, ptr %14, align 8
%45 = load double, ptr %16, align 8
%46 = fcmp oeq double %44, %45
br i1 %46, label %47, label %60
47: ; preds = %43
%48 = load double, ptr %16, align 8
%49 = load double, ptr %18, align 8
%50 = fcmp oeq double %48, %49
br i1 %50, label %51, label %60
51: ; preds = %47
%52 = load double, ptr %18, align 8
%53 = load double, ptr %14, align 8
%54 = fcmp oeq double %52, %53
br i1 %54, label %55, label %60
55: ; preds = %51
%56 = load double, ptr %13, align 8
%57 = load ptr, ptr %19, align 8
store double %56, ptr %57, align 8
%58 = load double, ptr %14, align 8
%59 = load ptr, ptr %20, align 8
store double %58, ptr %59, align 8
store i32 3, ptr %12, align 4
br label %162
60: ; preds = %51, %47, %43
%61 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 0
store double 1.000000e+00, ptr %61, align 16
%62 = load double, ptr %13, align 8
%63 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 3
store double %62, ptr %63, align 8
%64 = load double, ptr %13, align 8
%65 = load double, ptr %13, align 8
%66 = fmul double %64, %65
%67 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 6
store double %66, ptr %67, align 16
%68 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 1
store double 1.000000e+00, ptr %68, align 8
%69 = load double, ptr %15, align 8
%70 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 4
store double %69, ptr %70, align 16
%71 = load double, ptr %15, align 8
%72 = load double, ptr %15, align 8
%73 = fmul double %71, %72
%74 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 7
store double %73, ptr %74, align 8
%75 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 2
store double 1.000000e+00, ptr %75, align 16
%76 = load double, ptr %17, align 8
%77 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 5
store double %76, ptr %77, align 8
%78 = load double, ptr %17, align 8
%79 = load double, ptr %17, align 8
%80 = fmul double %78, %79
%81 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 8
store double %80, ptr %81, align 16
%82 = getelementptr inbounds [9 x double], ptr %24, i64 0, i64 0
%83 = call ptr @r8mat_inverse_3d(ptr noundef %82)
store ptr %83, ptr %25, align 8
%84 = load ptr, ptr %25, align 8
%85 = getelementptr inbounds double, ptr %84, i64 0
%86 = load double, ptr %85, align 8
%87 = load double, ptr %14, align 8
%88 = load ptr, ptr %25, align 8
%89 = getelementptr inbounds double, ptr %88, i64 3
%90 = load double, ptr %89, align 8
%91 = load double, ptr %16, align 8
%92 = fmul double %90, %91
%93 = call double @llvm.fmuladd.f64(double %86, double %87, double %92)
%94 = load ptr, ptr %25, align 8
%95 = getelementptr inbounds double, ptr %94, i64 6
%96 = load double, ptr %95, align 8
%97 = load double, ptr %18, align 8
%98 = call double @llvm.fmuladd.f64(double %96, double %97, double %93)
%99 = load ptr, ptr %23, align 8
store double %98, ptr %99, align 8
%100 = load ptr, ptr %25, align 8
%101 = getelementptr inbounds double, ptr %100, i64 1
%102 = load double, ptr %101, align 8
%103 = load double, ptr %14, align 8
%104 = load ptr, ptr %25, align 8
%105 = getelementptr inbounds double, ptr %104, i64 4
%106 = load double, ptr %105, align 8
%107 = load double, ptr %16, align 8
%108 = fmul double %106, %107
%109 = call double @llvm.fmuladd.f64(double %102, double %103, double %108)
%110 = load ptr, ptr %25, align 8
%111 = getelementptr inbounds double, ptr %110, i64 7
%112 = load double, ptr %111, align 8
%113 = load double, ptr %18, align 8
%114 = call double @llvm.fmuladd.f64(double %112, double %113, double %109)
%115 = load ptr, ptr %22, align 8
store double %114, ptr %115, align 8
%116 = load ptr, ptr %25, align 8
%117 = getelementptr inbounds double, ptr %116, i64 2
%118 = load double, ptr %117, align 8
%119 = load double, ptr %14, align 8
%120 = load ptr, ptr %25, align 8
%121 = getelementptr inbounds double, ptr %120, i64 5
%122 = load double, ptr %121, align 8
%123 = load double, ptr %16, align 8
%124 = fmul double %122, %123
%125 = call double @llvm.fmuladd.f64(double %118, double %119, double %124)
%126 = load ptr, ptr %25, align 8
%127 = getelementptr inbounds double, ptr %126, i64 8
%128 = load double, ptr %127, align 8
%129 = load double, ptr %18, align 8
%130 = call double @llvm.fmuladd.f64(double %128, double %129, double %125)
%131 = load ptr, ptr %21, align 8
store double %130, ptr %131, align 8
%132 = load ptr, ptr %21, align 8
%133 = load double, ptr %132, align 8
%134 = fcmp oeq double %133, 0.000000e+00
br i1 %134, label %135, label %136
135: ; preds = %60
store i32 2, ptr %12, align 4
br label %162
136: ; preds = %60
%137 = load ptr, ptr %22, align 8
%138 = load double, ptr %137, align 8
%139 = fneg double %138
%140 = load ptr, ptr %21, align 8
%141 = load double, ptr %140, align 8
%142 = fmul double 2.000000e+00, %141
%143 = fdiv double %139, %142
%144 = load ptr, ptr %19, align 8
store double %143, ptr %144, align 8
%145 = load ptr, ptr %21, align 8
%146 = load double, ptr %145, align 8
%147 = load ptr, ptr %19, align 8
%148 = load double, ptr %147, align 8
%149 = fmul double %146, %148
%150 = load ptr, ptr %19, align 8
%151 = load double, ptr %150, align 8
%152 = load ptr, ptr %22, align 8
%153 = load double, ptr %152, align 8
%154 = load ptr, ptr %19, align 8
%155 = load double, ptr %154, align 8
%156 = fmul double %153, %155
%157 = call double @llvm.fmuladd.f64(double %149, double %151, double %156)
%158 = load ptr, ptr %23, align 8
%159 = load double, ptr %158, align 8
%160 = fadd double %157, %159
%161 = load ptr, ptr %20, align 8
store double %160, ptr %161, align 8
store i32 0, ptr %12, align 4
br label %162
162: ; preds = %136, %135, %55, %42
%163 = load i32, ptr %12, align 4
ret i32 %163
}
declare ptr @r8mat_inverse_3d(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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/tmpkei3kj8z.c'
source_filename = "/tmp/tmpkei3kj8z.c"
target datalayout = "e-m:e-p270: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/tmpkei3kj8z.c"
target datalayout = "e-m:e-p270: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/tmp0uf0b1m3.c'
source_filename = "/tmp/tmp0uf0b1m3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ExtrairLogs.resp = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [16 x i8] c"%d|%05d|%s|||%s\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Transf\C3\AArencia completa\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"QXJxdWl2byBkZSBMb2c=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ExtrairLogs(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 = call i32 @sprintf(ptr noundef @ExtrairLogs.resp, ptr noundef @.str, i32 noundef %5, i32 noundef 15000, ptr noundef @.str.1, ptr noundef @.str.2)
ret ptr @ExtrairLogs.resp
}
declare i32 @sprintf(ptr noundef, ptr noundef, 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/tmp0uf0b1m3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ExtrairLogs.resp = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [16 x i8] c"%d|%05d|%s|||%s\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Transf\C3\AArencia completa\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"QXJxdWl2byBkZSBMb2c=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ExtrairLogs(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 = call i32 @sprintf(ptr noundef @ExtrairLogs.resp, ptr noundef @.str, i32 noundef %5, i32 noundef 15000, ptr noundef @.str.1, ptr noundef @.str.2)
ret ptr @ExtrairLogs.resp
}
declare i32 @sprintf(ptr noundef, ptr noundef, 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/tmpy4mw5sjq.c'
source_filename = "/tmp/tmpy4mw5sjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %0, %2
%3 = call i32 @hw_console_output(ptr noundef @.str)
br label %2
}
declare i32 @hw_console_output(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy4mw5sjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %2, %0
%3 = call i32 @hw_console_output(ptr noundef @.str)
br label %2
}
declare i32 @hw_console_output(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx7zgbcem.c'
source_filename = "/tmp/tmpx7zgbcem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"./testfifo\00", align 1
@S_IWUSR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"\0AError when trying to create the named pipe.\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"\0AError when trying to open the named pipe.\0A\00", align 1
@.str.3 = private unnamed_addr constant [100 x i8] c"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium...\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @S_IWUSR, align 4
%6 = load i32, ptr @S_IRUSR, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IRGRP, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = call i32 @create_pipe(ptr noundef @.str, i32 noundef %11)
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 %17
15: ; preds = %0
%16 = call i32 @handle_fatal_error(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %0
%18 = call i32 @open_pipe(ptr noundef @.str)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @handle_fatal_error(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %17
%24 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%25 = call i32 @strcpy(ptr noundef %24, ptr noundef @.str.3)
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%28 = call i32 @write(i32 noundef %26, ptr noundef %27, i32 noundef 100)
%29 = load i32, ptr %3, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = call i32 @unlink(ptr noundef @.str)
%32 = load i32, ptr @EXIT_SUCCESS, align 4
%33 = call i32 @exit(i32 noundef %32) #3
unreachable
}
declare i32 @create_pipe(ptr noundef, i32 noundef) #1
declare i32 @handle_fatal_error(ptr noundef) #1
declare i32 @open_pipe(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @unlink(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/tmpx7zgbcem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"./testfifo\00", align 1
@S_IWUSR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"\0AError when trying to create the named pipe.\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"\0AError when trying to open the named pipe.\0A\00", align 1
@.str.3 = private unnamed_addr constant [100 x i8] c"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium...\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @S_IWUSR, align 4
%6 = load i32, ptr @S_IRUSR, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IRGRP, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = call i32 @create_pipe(ptr noundef @.str, i32 noundef %11)
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 %17
15: ; preds = %0
%16 = call i32 @handle_fatal_error(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %0
%18 = call i32 @open_pipe(ptr noundef @.str)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @handle_fatal_error(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %17
%24 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%25 = call i32 @strcpy(ptr noundef %24, ptr noundef @.str.3)
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%28 = call i32 @write(i32 noundef %26, ptr noundef %27, i32 noundef 100)
%29 = load i32, ptr %3, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = call i32 @unlink(ptr noundef @.str)
%32 = load i32, ptr @EXIT_SUCCESS, align 4
%33 = call i32 @exit(i32 noundef %32) #3
unreachable
}
declare i32 @create_pipe(ptr noundef, i32 noundef) #1
declare i32 @handle_fatal_error(ptr noundef) #1
declare i32 @open_pipe(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @unlink(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.