llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpfqotfavi.c'
source_filename = "/tmp/tmpfqotfavi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\0A\0ATesting addBackList...\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Add 2 to the back of the list...\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Add 5 to the back of the list...\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Add 7 to the back of the list...\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Add 1 to the back of the list...\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Add 9 to the back of the list...\0A\00", align 1
@.str.6 = private unnamed_addr constant [61 x i8] c"The list content should be: [6->5->10->4->3->2->5->7->1->9]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @addBackListTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @addBackList(ptr noundef %5, i32 noundef 2)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @addBackList(ptr noundef %8, i32 noundef 5)
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @addBackList(ptr noundef %11, i32 noundef 7)
%13 = call i32 @printf(ptr noundef @.str.4)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @addBackList(ptr noundef %14, i32 noundef 1)
%16 = call i32 @printf(ptr noundef @.str.5)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @addBackList(ptr noundef %17, i32 noundef 9)
%19 = call i32 @printf(ptr noundef @.str.6)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @printList(ptr noundef %20)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @addBackList(ptr noundef, i32 noundef) #1
declare i32 @printList(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfqotfavi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\0A\0ATesting addBackList...\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Add 2 to the back of the list...\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Add 5 to the back of the list...\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Add 7 to the back of the list...\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Add 1 to the back of the list...\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Add 9 to the back of the list...\0A\00", align 1
@.str.6 = private unnamed_addr constant [61 x i8] c"The list content should be: [6->5->10->4->3->2->5->7->1->9]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @addBackListTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @addBackList(ptr noundef %5, i32 noundef 2)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @addBackList(ptr noundef %8, i32 noundef 5)
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @addBackList(ptr noundef %11, i32 noundef 7)
%13 = call i32 @printf(ptr noundef @.str.4)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @addBackList(ptr noundef %14, i32 noundef 1)
%16 = call i32 @printf(ptr noundef @.str.5)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @addBackList(ptr noundef %17, i32 noundef 9)
%19 = call i32 @printf(ptr noundef @.str.6)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @printList(ptr noundef %20)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @addBackList(ptr noundef, i32 noundef) #1
declare i32 @printList(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpldd0z53w.c'
source_filename = "/tmp/tmpldd0z53w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vfscanf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr @BUFSIZ, align 4
%13 = add nsw i32 %12, 1
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %8, align 8
%16 = alloca i8, i64 %14, align 16
store i64 %14, ptr %9, align 8
store i32 0, ptr %10, align 4
%17 = load i32, ptr @BUFSIZ, align 4
%18 = load ptr, ptr %5, align 8
%19 = call i64 @fgets(ptr noundef %16, i32 noundef %17, ptr noundef %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %3
store i32 -1, ptr %4, align 4
store i32 1, ptr %11, align 4
br label %28
22: ; preds = %3
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = call i32 @vsscanf(ptr noundef %16, ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %10, align 4
br label %26
26: ; preds = %22
%27 = load i32, ptr %10, align 4
store i32 %27, ptr %4, align 4
store i32 1, ptr %11, align 4
br label %28
28: ; preds = %26, %21
%29 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %29)
%30 = load i32, ptr %4, align 4
ret i32 %30
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @vsscanf(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpldd0z53w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vfscanf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr @BUFSIZ, align 4
%13 = add nsw i32 %12, 1
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %8, align 8
%16 = alloca i8, i64 %14, align 16
store i64 %14, ptr %9, align 8
store i32 0, ptr %10, align 4
%17 = load i32, ptr @BUFSIZ, align 4
%18 = load ptr, ptr %5, align 8
%19 = call i64 @fgets(ptr noundef %16, i32 noundef %17, ptr noundef %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %3
store i32 -1, ptr %4, align 4
store i32 1, ptr %11, align 4
br label %28
22: ; preds = %3
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = call i32 @vsscanf(ptr noundef %16, ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %10, align 4
br label %26
26: ; preds = %22
%27 = load i32, ptr %10, align 4
store i32 %27, ptr %4, align 4
store i32 1, ptr %11, align 4
br label %28
28: ; preds = %26, %21
%29 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %29)
%30 = load i32, ptr %4, align 4
ret i32 %30
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @vsscanf(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnmg2kv9g.c'
source_filename = "/tmp/tmpnmg2kv9g.c"
target datalayout = "e-m:e-p270: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/tmpnmg2kv9g.c"
target datalayout = "e-m:e-p270: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/tmp8gfubhz0.c'
source_filename = "/tmp/tmp8gfubhz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x45() #0 {
%1 = call i64 @isodigit(i32 noundef 69)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 350, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmp8gfubhz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x45() #0 {
%1 = call i64 @isodigit(i32 noundef 69)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 350, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmpoj7n02vk.c'
source_filename = "/tmp/tmpoj7n02vk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"\\expnd%d\\expndtw%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdKern(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 (...) @getDimension()
%5 = mul nsw i32 %4, 2
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @fprintRTF(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @getDimension(...) #1
declare i32 @fprintRTF(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoj7n02vk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"\\expnd%d\\expndtw%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdKern(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 (...) @getDimension()
%5 = mul nsw i32 %4, 2
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @fprintRTF(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @getDimension(...) #1
declare i32 @fprintRTF(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0eph26_d.c'
source_filename = "/tmp/tmp0eph26_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_mm_storeu_si64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_storeu_si64(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @_mm_storeu_si64(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/tmp0eph26_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_mm_storeu_si64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_storeu_si64(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @_mm_storeu_si64(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/tmpok20f2x5.c'
source_filename = "/tmp/tmpok20f2x5.c"
target datalayout = "e-m:e-p270: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/tmpok20f2x5.c"
target datalayout = "e-m:e-p270: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/tmp6f6phlj4.c'
source_filename = "/tmp/tmp6f6phlj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MID\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"MID_BOT\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"MID_TOP\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"MID_LEFT\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"MID_RIGHT\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"TOP_LEFT\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"TOP_RIGHT\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"BOT_LEFT\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"BOT_RIGHT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printScore(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
br label %57
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
br label %56
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %55
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
br label %54
24: ; preds = %19
%25 = load ptr, ptr %4, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24
br label %53
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.5)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %29
br label %52
34: ; preds = %29
%35 = load ptr, ptr %4, align 8
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.6)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
br label %51
39: ; preds = %34
%40 = load ptr, ptr %4, align 8
%41 = call i64 @strcmp(ptr noundef %40, ptr noundef @.str.7)
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
br label %50
44: ; preds = %39
%45 = load ptr, ptr %4, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.8)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
br label %49
49: ; preds = %48, %44
br label %50
50: ; preds = %49, %43
br label %51
51: ; preds = %50, %38
br label %52
52: ; preds = %51, %33
br label %53
53: ; preds = %52, %28
br label %54
54: ; preds = %53, %23
br label %55
55: ; preds = %54, %18
br label %56
56: ; preds = %55, %13
br label %57
57: ; preds = %56, %8
ret void
}
declare i64 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6f6phlj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MID\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"MID_BOT\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"MID_TOP\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"MID_LEFT\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"MID_RIGHT\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"TOP_LEFT\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"TOP_RIGHT\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"BOT_LEFT\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"BOT_RIGHT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printScore(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
br label %57
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
br label %56
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %55
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
br label %54
24: ; preds = %19
%25 = load ptr, ptr %4, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24
br label %53
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.5)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %29
br label %52
34: ; preds = %29
%35 = load ptr, ptr %4, align 8
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.6)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
br label %51
39: ; preds = %34
%40 = load ptr, ptr %4, align 8
%41 = call i64 @strcmp(ptr noundef %40, ptr noundef @.str.7)
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
br label %50
44: ; preds = %39
%45 = load ptr, ptr %4, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.8)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
br label %49
49: ; preds = %48, %44
br label %50
50: ; preds = %49, %43
br label %51
51: ; preds = %50, %38
br label %52
52: ; preds = %51, %33
br label %53
53: ; preds = %52, %28
br label %54
54: ; preds = %53, %23
br label %55
55: ; preds = %54, %18
br label %56
56: ; preds = %55, %13
br label %57
57: ; preds = %56, %8
ret void
}
declare i64 @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"}
|
; ModuleID = '/tmp/tmp0w9j2abw.c'
source_filename = "/tmp/tmp0w9j2abw.c"
target datalayout = "e-m:e-p270: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/tmp0w9j2abw.c"
target datalayout = "e-m:e-p270: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/tmp4w6y0_i2.c'
source_filename = "/tmp/tmp4w6y0_i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = ptrtoint ptr %8 to i64
%10 = load i32, ptr %6, align 4
%11 = call i32 @sysCall(i32 noundef 4, i32 noundef %7, i64 noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @sysCall(i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4w6y0_i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = ptrtoint ptr %8 to i64
%10 = load i32, ptr %6, align 4
%11 = call i32 @sysCall(i32 noundef 4, i32 noundef %7, i64 noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @sysCall(i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzfz84obv.c'
source_filename = "/tmp/tmpzfz84obv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Usage: loadmem <memory in bytes>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
store i64 536870912, ptr %6, align 8
br label %25
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @atol(ptr noundef %17)
%19 = trunc i64 %18 to i32
%20 = zext i32 %19 to i64
store i64 %20, ptr %6, align 8
br label %24
21: ; preds = %11
%22 = call i32 @printf(ptr noundef @.str)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %14
br label %25
25: ; preds = %24, %10
%26 = load i64, ptr %6, align 8
%27 = call ptr @malloc(i64 noundef %26)
store ptr %27, ptr %7, align 8
br label %28
28: ; preds = %25, %28
%29 = load ptr, ptr %7, align 8
%30 = load i64, ptr %6, align 8
%31 = call i32 @memset(ptr noundef %29, i32 noundef 0, i64 noundef %30)
%32 = call i32 @sleep(i32 noundef 120)
br label %28
}
declare i64 @atol(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sleep(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/tmpzfz84obv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Usage: loadmem <memory in bytes>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
store i64 536870912, ptr %6, align 8
br label %25
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @atol(ptr noundef %17)
%19 = trunc i64 %18 to i32
%20 = zext i32 %19 to i64
store i64 %20, ptr %6, align 8
br label %24
21: ; preds = %11
%22 = call i32 @printf(ptr noundef @.str)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %14
br label %25
25: ; preds = %24, %10
%26 = load i64, ptr %6, align 8
%27 = call ptr @malloc(i64 noundef %26)
store ptr %27, ptr %7, align 8
br label %28
28: ; preds = %28, %25
%29 = load ptr, ptr %7, align 8
%30 = load i64, ptr %6, align 8
%31 = call i32 @memset(ptr noundef %29, i32 noundef 0, i64 noundef %30)
%32 = call i32 @sleep(i32 noundef 120)
br label %28
}
declare i64 @atol(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sleep(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/tmpkl4p880o.c'
source_filename = "/tmp/tmpkl4p880o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArr(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %17, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = sub i64 %8, 1
%10 = icmp ult i64 %7, %9
br i1 %10, label %11, label %20
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %12, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %11
%18 = load i64, ptr %5, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %5, align 8
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = sub i64 %22, 1
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkl4p880o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArr(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = sub i64 %7, 1
%9 = icmp ult i64 %6, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %16
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds i32, ptr %11, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %5, align 8
%19 = load i64, ptr %5, align 8
%20 = load i64, ptr %4, align 8
%21 = sub i64 %20, 1
%22 = icmp ult i64 %19, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %23
23: ; preds = %._crit_edge, %2
%24 = load ptr, ptr %3, align 8
%25 = load i64, ptr %4, align 8
%26 = sub i64 %25, 1
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgm40baff.c'
source_filename = "/tmp/tmpgm40baff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\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 @p(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgm40baff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\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 @p(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = 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"}
|
; ModuleID = '/tmp/tmpjyt32rzs.c'
source_filename = "/tmp/tmpjyt32rzs.c"
target datalayout = "e-m:e-p270: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/tmpjyt32rzs.c"
target datalayout = "e-m:e-p270: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/tmpc2ziz53x.c'
source_filename = "/tmp/tmpc2ziz53x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"./mmapdev\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"ERROR : Failed to open mmap char device file.\0A\00", align 1
@.str.2 = private unnamed_addr constant [58 x i8] c"Create a device with $mknod ./mmapdev c <major_number> 0\0A\00", align 1
@.str.3 = private unnamed_addr constant [86 x i8] c"Major number allocated to the device can be located from the kernel log using $dmesg\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"ERROR : Failed to allocate memory\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [25 x i8] c"mmap address : %p (%lu)\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Invalid data at %lu : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"Verification completed!\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"Copy completed!\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 i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 524288000, ptr %4, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %89
15: ; preds = %0
%16 = load i64, ptr %4, align 8
%17 = call i64 @malloc(i64 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %15
%22 = load i32, ptr %6, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %89
25: ; preds = %15
%26 = load i64, ptr %4, align 8
%27 = load i32, ptr @PROT_READ, align 4
%28 = load i32, ptr @PROT_WRITE, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @MAP_SHARED, align 4
%31 = load i32, ptr %6, align 4
%32 = call ptr @mmap(ptr noundef null, i64 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef 0)
store ptr %32, ptr %2, align 8
%33 = load ptr, ptr %2, align 8
%34 = load i64, ptr %4, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %33, i64 noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = load ptr, ptr %2, align 8
%38 = load i64, ptr %4, align 8
%39 = call i32 @memcpy(ptr noundef %36, ptr noundef %37, i64 noundef %38)
store i64 0, ptr %5, align 8
br label %40
40: ; preds = %60, %25
%41 = load i64, ptr %5, align 8
%42 = load i64, ptr %4, align 8
%43 = icmp ult i64 %41, %42
br i1 %43, label %44, label %63
44: ; preds = %40
%45 = load ptr, ptr %3, align 8
%46 = load i64, ptr %5, align 8
%47 = getelementptr inbounds i8, ptr %45, i64 %46
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i32
%50 = icmp ne i32 %49, 65
br i1 %50, label %51, label %59
51: ; preds = %44
%52 = load i64, ptr %5, align 8
%53 = load ptr, ptr %3, align 8
%54 = load i64, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %52, i32 noundef %57)
br label %59
59: ; preds = %51, %44
br label %60
60: ; preds = %59
%61 = load i64, ptr %5, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %5, align 8
br label %40, !llvm.loop !6
63: ; preds = %40
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i64 0, ptr %5, align 8
br label %65
65: ; preds = %73, %63
%66 = load i64, ptr %5, align 8
%67 = load i64, ptr %4, align 8
%68 = icmp ult i64 %66, %67
br i1 %68, label %69, label %76
69: ; preds = %65
%70 = load ptr, ptr %3, align 8
%71 = load i64, ptr %5, align 8
%72 = getelementptr inbounds i8, ptr %70, i64 %71
store i8 66, ptr %72, align 1
br label %73
73: ; preds = %69
%74 = load i64, ptr %5, align 8
%75 = add i64 %74, 1
store i64 %75, ptr %5, align 8
br label %65, !llvm.loop !8
76: ; preds = %65
%77 = load ptr, ptr %2, align 8
%78 = load ptr, ptr %3, align 8
%79 = load i64, ptr %4, align 8
%80 = call i32 @memcpy(ptr noundef %77, ptr noundef %78, i64 noundef %79)
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%82 = load ptr, ptr %2, align 8
%83 = load i64, ptr %4, align 8
%84 = call i32 @munmap(ptr noundef %82, i64 noundef %83)
%85 = load ptr, ptr %3, align 8
%86 = call i32 @free(ptr noundef %85)
%87 = load i32, ptr %6, align 4
%88 = call i32 @close(i32 noundef %87)
store i32 0, ptr %1, align 4
br label %89
89: ; preds = %76, %21, %11
%90 = load i32, ptr %1, align 4
ret i32 %90
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc2ziz53x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"./mmapdev\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"ERROR : Failed to open mmap char device file.\0A\00", align 1
@.str.2 = private unnamed_addr constant [58 x i8] c"Create a device with $mknod ./mmapdev c <major_number> 0\0A\00", align 1
@.str.3 = private unnamed_addr constant [86 x i8] c"Major number allocated to the device can be located from the kernel log using $dmesg\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"ERROR : Failed to allocate memory\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [25 x i8] c"mmap address : %p (%lu)\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Invalid data at %lu : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"Verification completed!\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"Copy completed!\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 i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 524288000, ptr %4, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %93
15: ; preds = %0
%16 = load i64, ptr %4, align 8
%17 = call i64 @malloc(i64 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %15
%22 = load i32, ptr %6, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %93
25: ; preds = %15
%26 = load i64, ptr %4, align 8
%27 = load i32, ptr @PROT_READ, align 4
%28 = load i32, ptr @PROT_WRITE, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @MAP_SHARED, align 4
%31 = load i32, ptr %6, align 4
%32 = call ptr @mmap(ptr noundef null, i64 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef 0)
store ptr %32, ptr %2, align 8
%33 = load ptr, ptr %2, align 8
%34 = load i64, ptr %4, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %33, i64 noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = load ptr, ptr %2, align 8
%38 = load i64, ptr %4, align 8
%39 = call i32 @memcpy(ptr noundef %36, ptr noundef %37, i64 noundef %38)
store i64 0, ptr %5, align 8
%40 = load i64, ptr %5, align 8
%41 = load i64, ptr %4, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %.lr.ph, label %65
.lr.ph: ; preds = %25
br label %43
43: ; preds = %.lr.ph, %59
%44 = load ptr, ptr %3, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
%47 = load i8, ptr %46, align 1
%48 = zext i8 %47 to i32
%49 = icmp ne i32 %48, 65
br i1 %49, label %50, label %58
50: ; preds = %43
%51 = load i64, ptr %5, align 8
%52 = load ptr, ptr %3, align 8
%53 = load i64, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
%55 = load i8, ptr %54, align 1
%56 = zext i8 %55 to i32
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %51, i32 noundef %56)
br label %58
58: ; preds = %50, %43
br label %59
59: ; preds = %58
%60 = load i64, ptr %5, align 8
%61 = add i64 %60, 1
store i64 %61, ptr %5, align 8
%62 = load i64, ptr %5, align 8
%63 = load i64, ptr %4, align 8
%64 = icmp ult i64 %62, %63
br i1 %64, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %25
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i64 0, ptr %5, align 8
%67 = load i64, ptr %5, align 8
%68 = load i64, ptr %4, align 8
%69 = icmp ult i64 %67, %68
br i1 %69, label %.lr.ph2, label %80
.lr.ph2: ; preds = %65
br label %70
70: ; preds = %.lr.ph2, %74
%71 = load ptr, ptr %3, align 8
%72 = load i64, ptr %5, align 8
%73 = getelementptr inbounds i8, ptr %71, i64 %72
store i8 66, ptr %73, align 1
br label %74
74: ; preds = %70
%75 = load i64, ptr %5, align 8
%76 = add i64 %75, 1
store i64 %76, ptr %5, align 8
%77 = load i64, ptr %5, align 8
%78 = load i64, ptr %4, align 8
%79 = icmp ult i64 %77, %78
br i1 %79, label %70, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %74
br label %80
80: ; preds = %._crit_edge3, %65
%81 = load ptr, ptr %2, align 8
%82 = load ptr, ptr %3, align 8
%83 = load i64, ptr %4, align 8
%84 = call i32 @memcpy(ptr noundef %81, ptr noundef %82, i64 noundef %83)
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%86 = load ptr, ptr %2, align 8
%87 = load i64, ptr %4, align 8
%88 = call i32 @munmap(ptr noundef %86, i64 noundef %87)
%89 = load ptr, ptr %3, align 8
%90 = call i32 @free(ptr noundef %89)
%91 = load i32, ptr %6, align 4
%92 = call i32 @close(i32 noundef %91)
store i32 0, ptr %1, align 4
br label %93
93: ; preds = %80, %21, %11
%94 = load i32, ptr %1, align 4
ret i32 %94
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnkbhkiwv.c'
source_filename = "/tmp/tmpnkbhkiwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"openFPGArduino\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"hello word\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnkbhkiwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"openFPGArduino\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"hello word\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzzafs6t0.c'
source_filename = "/tmp/tmpzzafs6t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c" PASS\0A------ test end ------\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_end() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzzafs6t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c" PASS\0A------ test end ------\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_end() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdb_jkc6z.c'
source_filename = "/tmp/tmpdb_jkc6z.c"
target datalayout = "e-m:e-p270: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/tmpdb_jkc6z.c"
target datalayout = "e-m:e-p270: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/tmpnw9hwa2d.c'
source_filename = "/tmp/tmpnw9hwa2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @long2double(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [32 x i8], align 16
%4 = alloca double, align 8
store i64 %0, ptr %2, align 8
%5 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%6 = load i64, ptr %2, align 8
%7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
%8 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @sscanf(ptr noundef %8, ptr noundef @.str, ptr noundef %4)
%10 = load double, ptr %4, align 8
ret double %10
}
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnw9hwa2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @long2double(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [32 x i8], align 16
%4 = alloca double, align 8
store i64 %0, ptr %2, align 8
%5 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%6 = load i64, ptr %2, align 8
%7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
%8 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @sscanf(ptr noundef %8, ptr noundef @.str, ptr noundef %4)
%10 = load double, ptr %4, align 8
ret double %10
}
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgf0akw8e.c'
source_filename = "/tmp/tmpgf0akw8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"get my chaser\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_mychaser() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgf0akw8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"get my chaser\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_mychaser() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_i5nafz_.c'
source_filename = "/tmp/tmp_i5nafz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c" {}\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c" , A {}\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c" / \\, | , .--.\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"| =|= > /.--.\\\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" \\ /` | ` |====|\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c" ` | |`::`|\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c" | .-;`\\..../`;_.-^-._\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c" /\\\\/ / |...::..|` : `|\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c" |:'\\ | /'''::''| .:. |\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c" \\ /\\;-,/\\ :: |..ASCII..|\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c" |\\ <` > >._::_.| ':ART:' |\0A\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c" | ``_/ ^^/>/> | ':' |\0A\00", align 1
@.str.12 = private unnamed_addr constant [35 x i8] c" | | \\ : /\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c" | | \\ : /\0A\00", align 1
@.str.14 = private unnamed_addr constant [33 x i8] c" | |___/\\___|`-.:.-`\0A\00", align 1
@.str.15 = private unnamed_addr constant [30 x i8] c" | \\_ || _/ `\0A\00", align 1
@.str.16 = private unnamed_addr constant [25 x i8] c" | <_ >< _>\0A\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c" | | || |\0A\00", align 1
@.str.18 = private unnamed_addr constant [26 x i8] c" | _\\.:||:./_\0A\00", align 1
@.str.19 = private unnamed_addr constant [27 x i8] c" | /____/\\____\\\0A\00", align 1
@.str.20 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.21 = private unnamed_addr constant [40 x i8] c".:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printASCII() #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)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.17)
%20 = call i32 @printf(ptr noundef @.str.18)
%21 = call i32 @printf(ptr noundef @.str.19)
%22 = call i32 @printf(ptr noundef @.str.20)
%23 = call i32 @printf(ptr noundef @.str.21)
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/tmp_i5nafz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c" {}\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c" , A {}\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c" / \\, | , .--.\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"| =|= > /.--.\\\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" \\ /` | ` |====|\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c" ` | |`::`|\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c" | .-;`\\..../`;_.-^-._\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c" /\\\\/ / |...::..|` : `|\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c" |:'\\ | /'''::''| .:. |\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c" \\ /\\;-,/\\ :: |..ASCII..|\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c" |\\ <` > >._::_.| ':ART:' |\0A\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c" | ``_/ ^^/>/> | ':' |\0A\00", align 1
@.str.12 = private unnamed_addr constant [35 x i8] c" | | \\ : /\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c" | | \\ : /\0A\00", align 1
@.str.14 = private unnamed_addr constant [33 x i8] c" | |___/\\___|`-.:.-`\0A\00", align 1
@.str.15 = private unnamed_addr constant [30 x i8] c" | \\_ || _/ `\0A\00", align 1
@.str.16 = private unnamed_addr constant [25 x i8] c" | <_ >< _>\0A\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c" | | || |\0A\00", align 1
@.str.18 = private unnamed_addr constant [26 x i8] c" | _\\.:||:./_\0A\00", align 1
@.str.19 = private unnamed_addr constant [27 x i8] c" | /____/\\____\\\0A\00", align 1
@.str.20 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.21 = private unnamed_addr constant [40 x i8] c".:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printASCII() #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)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.17)
%20 = call i32 @printf(ptr noundef @.str.18)
%21 = call i32 @printf(ptr noundef @.str.19)
%22 = call i32 @printf(ptr noundef @.str.20)
%23 = call i32 @printf(ptr noundef @.str.21)
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/tmpgekotq7l.c'
source_filename = "/tmp/tmpgekotq7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_range(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %25, %2
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %28
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 %20, ptr %24, align 1
br label %25
25: ; preds = %15
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %11, !llvm.loop !6
28: ; preds = %11
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %5, align 8
ret ptr %33
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgekotq7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_range(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %24
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 %19, ptr %23, align 1
br label %24
24: ; preds = %14
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
%35 = load ptr, ptr %5, align 8
ret ptr %35
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjgi08nna.c'
source_filename = "/tmp/tmpjgi08nna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calclen_l1b(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ule i32 %4, 2
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 2, ptr %2, align 4
br label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = sub i32 %8, 1
%10 = call i32 @calclen_l1a(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @calclen_l1a(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/tmpjgi08nna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calclen_l1b(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ule i32 %4, 2
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 2, ptr %2, align 4
br label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = sub i32 %8, 1
%10 = call i32 @calclen_l1a(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @calclen_l1a(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/tmpcsqiynd2.c'
source_filename = "/tmp/tmpcsqiynd2.c"
target datalayout = "e-m:e-p270: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/tmpcsqiynd2.c"
target datalayout = "e-m:e-p270: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/tmprfdf7q4l.c'
source_filename = "/tmp/tmprfdf7q4l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_PLAY = 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/tmprfdf7q4l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_PLAY = 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/tmpijd71qlw.c'
source_filename = "/tmp/tmpijd71qlw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"k\09xk-1\09\09f(xk-1)\09\09xk\09\09f(xk)\09\09xk+1\09\09f(xk+1)\09\09E\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"%d\09%f\09%f\09%f\09%f\09%f\09%f\09%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x float], align 4
%4 = alloca [3 x float], align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %9
9: ; preds = %153, %0
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %154
12: ; preds = %9
%13 = load i32, ptr %1, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %57
15: ; preds = %12
%16 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
store float 0.000000e+00, ptr %16, align 4
%17 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%18 = load float, ptr %17, align 4
%19 = call float @f(float noundef %18)
%20 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
store float %19, ptr %20, align 4
%21 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
store float 5.000000e-01, ptr %21, align 4
%22 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%23 = load float, ptr %22, align 4
%24 = call float @f(float noundef %23)
%25 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
store float %24, ptr %25, align 4
%26 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%27 = load float, ptr %26, align 4
%28 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%29 = load float, ptr %28, align 4
%30 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%31 = load float, ptr %30, align 4
%32 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%33 = load float, ptr %32, align 4
%34 = fmul float %31, %33
%35 = fneg float %34
%36 = call float @llvm.fmuladd.f32(float %27, float %29, float %35)
%37 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%38 = load float, ptr %37, align 4
%39 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%40 = load float, ptr %39, align 4
%41 = fsub float %38, %40
%42 = fdiv float %36, %41
%43 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
store float %42, ptr %43, align 4
%44 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%45 = load float, ptr %44, align 4
%46 = call float @f(float noundef %45)
%47 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
store float %46, ptr %47, align 4
%48 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%49 = load float, ptr %48, align 4
%50 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%51 = load float, ptr %50, align 4
%52 = fsub float %49, %51
%53 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%54 = load float, ptr %53, align 4
%55 = fdiv float %52, %54
%56 = call float @fabs(float noundef %55)
store float %56, ptr %5, align 4
br label %124
57: ; preds = %12
%58 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%59 = load float, ptr %58, align 4
%60 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%61 = load float, ptr %60, align 4
%62 = fmul float %59, %61
%63 = fcmp olt float %62, 0.000000e+00
br i1 %63, label %64, label %72
64: ; preds = %57
%65 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%66 = load float, ptr %65, align 4
%67 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
store float %66, ptr %67, align 4
%68 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%69 = load float, ptr %68, align 4
%70 = call float @f(float noundef %69)
%71 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
store float %70, ptr %71, align 4
br label %85
72: ; preds = %57
%73 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%74 = load float, ptr %73, align 4
%75 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%76 = load float, ptr %75, align 4
%77 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%78 = load float, ptr %77, align 4
%79 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%80 = load float, ptr %79, align 4
%81 = fadd float %78, %80
%82 = fdiv float %76, %81
%83 = fmul float %74, %82
%84 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
store float %83, ptr %84, align 4
br label %85
85: ; preds = %72, %64
%86 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%87 = load float, ptr %86, align 4
%88 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
store float %87, ptr %88, align 4
%89 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%90 = load float, ptr %89, align 4
%91 = call float @f(float noundef %90)
%92 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
store float %91, ptr %92, align 4
%93 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%94 = load float, ptr %93, align 4
%95 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%96 = load float, ptr %95, align 4
%97 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%98 = load float, ptr %97, align 4
%99 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%100 = load float, ptr %99, align 4
%101 = fmul float %98, %100
%102 = fneg float %101
%103 = call float @llvm.fmuladd.f32(float %94, float %96, float %102)
%104 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%105 = load float, ptr %104, align 4
%106 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%107 = load float, ptr %106, align 4
%108 = fsub float %105, %107
%109 = fdiv float %103, %108
%110 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
store float %109, ptr %110, align 4
%111 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%112 = load float, ptr %111, align 4
%113 = call float @f(float noundef %112)
%114 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
store float %113, ptr %114, align 4
%115 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%116 = load float, ptr %115, align 4
%117 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%118 = load float, ptr %117, align 4
%119 = fsub float %116, %118
%120 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%121 = load float, ptr %120, align 4
%122 = fdiv float %119, %121
%123 = call float @fabs(float noundef %122)
store float %123, ptr %5, align 4
br label %124
124: ; preds = %85, %15
%125 = load i32, ptr %1, align 4
%126 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%127 = load float, ptr %126, align 4
%128 = fpext float %127 to double
%129 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%130 = load float, ptr %129, align 4
%131 = fpext float %130 to double
%132 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%133 = load float, ptr %132, align 4
%134 = fpext float %133 to double
%135 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%136 = load float, ptr %135, align 4
%137 = fpext float %136 to double
%138 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%139 = load float, ptr %138, align 4
%140 = fpext float %139 to double
%141 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%142 = load float, ptr %141, align 4
%143 = fpext float %142 to double
%144 = load float, ptr %5, align 4
%145 = fpext float %144 to double
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %125, double noundef %128, double noundef %131, double noundef %134, double noundef %137, double noundef %140, double noundef %143, double noundef %145)
%147 = load i32, ptr %1, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %1, align 4
%149 = load float, ptr %5, align 4
%150 = call float @pow(i32 noundef 10, i32 noundef -3)
%151 = fcmp ole float %149, %150
br i1 %151, label %152, label %153
152: ; preds = %124
store i32 0, ptr %2, align 4
br label %153
153: ; preds = %152, %124
br label %9, !llvm.loop !6
154: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare float @f(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @fabs(float noundef) #1
declare float @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" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijd71qlw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"k\09xk-1\09\09f(xk-1)\09\09xk\09\09f(xk)\09\09xk+1\09\09f(xk+1)\09\09E\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"%d\09%f\09%f\09%f\09%f\09%f\09%f\09%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x float], align 4
%4 = alloca [3 x float], align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %155
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %152
%12 = load i32, ptr %1, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %56
14: ; preds = %11
%15 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
store float 0.000000e+00, ptr %15, align 4
%16 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%17 = load float, ptr %16, align 4
%18 = call float @f(float noundef %17)
%19 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
store float %18, ptr %19, align 4
%20 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
store float 5.000000e-01, ptr %20, align 4
%21 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%22 = load float, ptr %21, align 4
%23 = call float @f(float noundef %22)
%24 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
store float %23, ptr %24, align 4
%25 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%26 = load float, ptr %25, align 4
%27 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%28 = load float, ptr %27, align 4
%29 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%30 = load float, ptr %29, align 4
%31 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%32 = load float, ptr %31, align 4
%33 = fmul float %30, %32
%34 = fneg float %33
%35 = call float @llvm.fmuladd.f32(float %26, float %28, float %34)
%36 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%37 = load float, ptr %36, align 4
%38 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%39 = load float, ptr %38, align 4
%40 = fsub float %37, %39
%41 = fdiv float %35, %40
%42 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
store float %41, ptr %42, align 4
%43 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%44 = load float, ptr %43, align 4
%45 = call float @f(float noundef %44)
%46 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
store float %45, ptr %46, align 4
%47 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%48 = load float, ptr %47, align 4
%49 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%50 = load float, ptr %49, align 4
%51 = fsub float %48, %50
%52 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%53 = load float, ptr %52, align 4
%54 = fdiv float %51, %53
%55 = call float @fabs(float noundef %54)
store float %55, ptr %5, align 4
br label %123
56: ; preds = %11
%57 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%58 = load float, ptr %57, align 4
%59 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%60 = load float, ptr %59, align 4
%61 = fmul float %58, %60
%62 = fcmp olt float %61, 0.000000e+00
br i1 %62, label %63, label %71
63: ; preds = %56
%64 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%65 = load float, ptr %64, align 4
%66 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
store float %65, ptr %66, align 4
%67 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%68 = load float, ptr %67, align 4
%69 = call float @f(float noundef %68)
%70 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
store float %69, ptr %70, align 4
br label %84
71: ; preds = %56
%72 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%73 = load float, ptr %72, align 4
%74 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%75 = load float, ptr %74, align 4
%76 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%77 = load float, ptr %76, align 4
%78 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%79 = load float, ptr %78, align 4
%80 = fadd float %77, %79
%81 = fdiv float %75, %80
%82 = fmul float %73, %81
%83 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
store float %82, ptr %83, align 4
br label %84
84: ; preds = %71, %63
%85 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%86 = load float, ptr %85, align 4
%87 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
store float %86, ptr %87, align 4
%88 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%89 = load float, ptr %88, align 4
%90 = call float @f(float noundef %89)
%91 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
store float %90, ptr %91, align 4
%92 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%93 = load float, ptr %92, align 4
%94 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%95 = load float, ptr %94, align 4
%96 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%97 = load float, ptr %96, align 4
%98 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%99 = load float, ptr %98, align 4
%100 = fmul float %97, %99
%101 = fneg float %100
%102 = call float @llvm.fmuladd.f32(float %93, float %95, float %101)
%103 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%104 = load float, ptr %103, align 4
%105 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%106 = load float, ptr %105, align 4
%107 = fsub float %104, %106
%108 = fdiv float %102, %107
%109 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
store float %108, ptr %109, align 4
%110 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%111 = load float, ptr %110, align 4
%112 = call float @f(float noundef %111)
%113 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
store float %112, ptr %113, align 4
%114 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%115 = load float, ptr %114, align 4
%116 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%117 = load float, ptr %116, align 4
%118 = fsub float %115, %117
%119 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%120 = load float, ptr %119, align 4
%121 = fdiv float %118, %120
%122 = call float @fabs(float noundef %121)
store float %122, ptr %5, align 4
br label %123
123: ; preds = %84, %14
%124 = load i32, ptr %1, align 4
%125 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
%126 = load float, ptr %125, align 4
%127 = fpext float %126 to double
%128 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%129 = load float, ptr %128, align 4
%130 = fpext float %129 to double
%131 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
%132 = load float, ptr %131, align 4
%133 = fpext float %132 to double
%134 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%135 = load float, ptr %134, align 4
%136 = fpext float %135 to double
%137 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
%138 = load float, ptr %137, align 4
%139 = fpext float %138 to double
%140 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%141 = load float, ptr %140, align 4
%142 = fpext float %141 to double
%143 = load float, ptr %5, align 4
%144 = fpext float %143 to double
%145 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %124, double noundef %127, double noundef %130, double noundef %133, double noundef %136, double noundef %139, double noundef %142, double noundef %144)
%146 = load i32, ptr %1, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %1, align 4
%148 = load float, ptr %5, align 4
%149 = call float @pow(i32 noundef 10, i32 noundef -3)
%150 = fcmp ole float %148, %149
br i1 %150, label %151, label %152
151: ; preds = %123
store i32 0, ptr %2, align 4
br label %152
152: ; preds = %151, %123
%153 = load i32, ptr %2, align 4
%154 = icmp ne i32 %153, 0
br i1 %154, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %152
br label %155
155: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare float @f(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @fabs(float noundef) #1
declare float @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" }
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"}
|
; ModuleID = '/tmp/tmpt7lg16vs.c'
source_filename = "/tmp/tmpt7lg16vs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_MUTEX_ERRORCHECK = dso_local global i32 0, align 4
@PTHREAD_MUTEX_NORMAL = dso_local global i32 0, align 4
@PTHREAD_MUTEX_RECURSIVE = 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/tmpt7lg16vs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_MUTEX_ERRORCHECK = dso_local global i32 0, align 4
@PTHREAD_MUTEX_NORMAL = dso_local global i32 0, align 4
@PTHREAD_MUTEX_RECURSIVE = 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/tmpzds5rovi.c'
source_filename = "/tmp/tmpzds5rovi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"READER: error from malloc\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"READER: error from lseek\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"READER: error from read\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"READER: error from bytes read=%lu\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"FAIL IN READER: ...beginning sentinel value=%u, i=%u\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"FAIL IN READER: buf[%u]=%u\0A\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"FAIL IN READER: ...ending sentinel value=%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @verify(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr null, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %122
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr @SEEK_SET, align 4
%21 = call i64 @lseek(i32 noundef %19, i32 noundef 0, i32 noundef %20)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %122
25: ; preds = %18
%26 = load i32, ptr %4, align 4
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %5, align 4
%29 = zext i32 %28 to i64
%30 = mul i64 %29, 4
%31 = trunc i64 %30 to i32
%32 = call i64 @read(i32 noundef %26, ptr noundef %27, i32 noundef %31)
store i64 %32, ptr %7, align 8
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %25
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %122
36: ; preds = %25
%37 = load i64, ptr %7, align 8
%38 = load i32, ptr %5, align 4
%39 = zext i32 %38 to i64
%40 = mul i64 %39, 4
%41 = icmp ne i64 %37, %40
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = load i64, ptr %7, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %43)
br label %122
45: ; preds = %36
store i32 0, ptr %6, align 4
br label %46
46: ; preds = %60, %45
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp ult i32 %47, %48
br i1 %49, label %50, label %63
50: ; preds = %46
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %6, align 4
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp ne i32 %55, %56
br i1 %57, label %58, label %59
58: ; preds = %50
br label %63
59: ; preds = %50
br label %60
60: ; preds = %59
%61 = load i32, ptr %6, align 4
%62 = add i32 %61, 1
store i32 %62, ptr %6, align 4
br label %46, !llvm.loop !6
63: ; preds = %58, %46
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %5, align 4
%66 = icmp ult i32 %64, %65
br i1 %66, label %67, label %115
67: ; preds = %63
%68 = load ptr, ptr %8, align 8
%69 = load i32, ptr %5, align 4
%70 = sub i32 %69, 1
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %68, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %6, align 4
%75 = sub i32 %74, 1
%76 = icmp ne i32 %73, %75
br i1 %76, label %77, label %114
77: ; preds = %67
%78 = load i32, ptr %6, align 4
%79 = sub i32 %78, 1
%80 = load i32, ptr %6, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %79, i32 noundef %80)
%82 = load i32, ptr %6, align 4
%83 = sub i32 %82, 1
%84 = load ptr, ptr %8, align 8
%85 = load i32, ptr %6, align 4
%86 = sub i32 %85, 1
%87 = zext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %84, i64 %87
%89 = load i32, ptr %88, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %83, i32 noundef %89)
%91 = load i32, ptr %6, align 4
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr %6, align 4
%94 = zext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %92, i64 %94
%96 = load i32, ptr %95, align 4
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %91, i32 noundef %96)
%98 = load i32, ptr %6, align 4
%99 = add i32 %98, 1
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr %6, align 4
%102 = add i32 %101, 1
%103 = zext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %100, i64 %103
%105 = load i32, ptr %104, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %99, i32 noundef %105)
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %5, align 4
%109 = sub i32 %108, 1
%110 = zext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %107, i64 %110
%112 = load i32, ptr %111, align 4
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %112)
br label %122
114: ; preds = %67
br label %115
115: ; preds = %114, %63
%116 = load ptr, ptr %8, align 8
%117 = icmp ne ptr %116, null
br i1 %117, label %118, label %121
118: ; preds = %115
%119 = load ptr, ptr %8, align 8
%120 = call i32 @free(ptr noundef %119)
br label %121
121: ; preds = %118, %115
store i32 0, ptr %3, align 4
br label %129
122: ; preds = %77, %42, %34, %23, %16
%123 = load ptr, ptr %8, align 8
%124 = icmp ne ptr %123, null
br i1 %124, label %125, label %128
125: ; preds = %122
%126 = load ptr, ptr %8, align 8
%127 = call i32 @free(ptr noundef %126)
br label %128
128: ; preds = %125, %122
store i32 -1, ptr %3, align 4
br label %129
129: ; preds = %128, %121
%130 = load i32, ptr %3, align 4
ret i32 %130
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzds5rovi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"READER: error from malloc\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"READER: error from lseek\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"READER: error from read\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"READER: error from bytes read=%lu\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"FAIL IN READER: ...beginning sentinel value=%u, i=%u\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"FAIL IN READER: buf[%u]=%u\0A\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"FAIL IN READER: ...ending sentinel value=%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @verify(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr null, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %124
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr @SEEK_SET, align 4
%21 = call i64 @lseek(i32 noundef %19, i32 noundef 0, i32 noundef %20)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %124
25: ; preds = %18
%26 = load i32, ptr %4, align 4
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %5, align 4
%29 = zext i32 %28 to i64
%30 = mul i64 %29, 4
%31 = trunc i64 %30 to i32
%32 = call i64 @read(i32 noundef %26, ptr noundef %27, i32 noundef %31)
store i64 %32, ptr %7, align 8
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %25
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %124
36: ; preds = %25
%37 = load i64, ptr %7, align 8
%38 = load i32, ptr %5, align 4
%39 = zext i32 %38 to i64
%40 = mul i64 %39, 4
%41 = icmp ne i64 %37, %40
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = load i64, ptr %7, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %43)
br label %124
45: ; preds = %36
store i32 0, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp ult i32 %46, %47
br i1 %48, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %45
br label %49
49: ; preds = %.lr.ph, %59
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %6, align 4
%52 = zext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp ne i32 %54, %55
br i1 %56, label %57, label %58
57: ; preds = %49
br label %65
58: ; preds = %49
br label %59
59: ; preds = %58
%60 = load i32, ptr %6, align 4
%61 = add i32 %60, 1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %5, align 4
%64 = icmp ult i32 %62, %63
br i1 %64, label %49, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %59
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %45
br label %65
65: ; preds = %.loopexit, %57
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %5, align 4
%68 = icmp ult i32 %66, %67
br i1 %68, label %69, label %117
69: ; preds = %65
%70 = load ptr, ptr %8, align 8
%71 = load i32, ptr %5, align 4
%72 = sub i32 %71, 1
%73 = zext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %70, i64 %73
%75 = load i32, ptr %74, align 4
%76 = load i32, ptr %6, align 4
%77 = sub i32 %76, 1
%78 = icmp ne i32 %75, %77
br i1 %78, label %79, label %116
79: ; preds = %69
%80 = load i32, ptr %6, align 4
%81 = sub i32 %80, 1
%82 = load i32, ptr %6, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %81, i32 noundef %82)
%84 = load i32, ptr %6, align 4
%85 = sub i32 %84, 1
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %6, align 4
%88 = sub i32 %87, 1
%89 = zext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %86, i64 %89
%91 = load i32, ptr %90, align 4
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %85, i32 noundef %91)
%93 = load i32, ptr %6, align 4
%94 = load ptr, ptr %8, align 8
%95 = load i32, ptr %6, align 4
%96 = zext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %93, i32 noundef %98)
%100 = load i32, ptr %6, align 4
%101 = add i32 %100, 1
%102 = load ptr, ptr %8, align 8
%103 = load i32, ptr %6, align 4
%104 = add i32 %103, 1
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %102, i64 %105
%107 = load i32, ptr %106, align 4
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %101, i32 noundef %107)
%109 = load ptr, ptr %8, align 8
%110 = load i32, ptr %5, align 4
%111 = sub i32 %110, 1
%112 = zext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %109, i64 %112
%114 = load i32, ptr %113, align 4
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %114)
br label %124
116: ; preds = %69
br label %117
117: ; preds = %116, %65
%118 = load ptr, ptr %8, align 8
%119 = icmp ne ptr %118, null
br i1 %119, label %120, label %123
120: ; preds = %117
%121 = load ptr, ptr %8, align 8
%122 = call i32 @free(ptr noundef %121)
br label %123
123: ; preds = %120, %117
store i32 0, ptr %3, align 4
br label %131
124: ; preds = %79, %42, %34, %23, %16
%125 = load ptr, ptr %8, align 8
%126 = icmp ne ptr %125, null
br i1 %126, label %127, label %130
127: ; preds = %124
%128 = load ptr, ptr %8, align 8
%129 = call i32 @free(ptr noundef %128)
br label %130
130: ; preds = %127, %124
store i32 -1, ptr %3, align 4
br label %131
131: ; preds = %130, %123
%132 = load i32, ptr %3, align 4
ret i32 %132
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1bpg515y.c'
source_filename = "/tmp/tmp1bpg515y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"Hammurabi, I can not do what you wish. Get yourself another steward!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @resign() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1bpg515y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"Hammurabi, I can not do what you wish. Get yourself another steward!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @resign() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_9bhxdn1.c'
source_filename = "/tmp/tmp_9bhxdn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"!!!Hello Math\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Square root of your number is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @puts(ptr noundef @.str)
%3 = call i32 @sqrt(i32 noundef 4)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_9bhxdn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"!!!Hello Math\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Square root of your number is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @puts(ptr noundef @.str)
%3 = call i32 @sqrt(i32 noundef 4)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpem_31xuy.c'
source_filename = "/tmp/tmpem_31xuy.c"
target datalayout = "e-m:e-p270: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_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @significance(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 100
br i1 %8, label %9, label %20
9: ; preds = %2
%10 = load double, ptr %3, align 8
%11 = fmul double 2.000000e+00, %10
%12 = call double @sqrt(double noundef %11) #4
%13 = load i32, ptr %4, align 4
%14 = sitofp i32 %13 to double
%15 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %14, double -1.000000e+00)
%16 = call double @sqrt(double noundef %15) #4
%17 = fsub double %12, %16
%18 = call i32 @Q(double noundef %17)
%19 = sitofp i32 %18 to double
store double %19, ptr %6, align 8
br label %82
20: ; preds = %2
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 30
br i1 %22, label %23, label %43
23: ; preds = %20
%24 = load double, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = sitofp i32 %25 to double
%27 = fdiv double %24, %26
%28 = call double @pow(double noundef %27, double noundef 0x3FD5555555555555) #4
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 9, %29
%31 = sitofp i32 %30 to double
%32 = fdiv double 2.000000e+00, %31
%33 = fsub double 1.000000e+00, %32
%34 = fsub double %28, %33
%35 = load i32, ptr %4, align 4
%36 = mul nsw i32 9, %35
%37 = sitofp i32 %36 to double
%38 = fdiv double 2.000000e+00, %37
%39 = call double @sqrt(double noundef %38) #4
%40 = fdiv double %34, %39
%41 = call i32 @Q(double noundef %40)
%42 = sitofp i32 %41 to double
store double %42, ptr %6, align 8
br label %81
43: ; preds = %20
%44 = load i32, ptr %4, align 4
%45 = srem i32 %44, 2
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %64
47: ; preds = %43
%48 = load i32, ptr @M_PI, align 4
%49 = mul nsw i32 2, %48
%50 = sitofp i32 %49 to double
%51 = call double @sqrt(double noundef %50) #4
%52 = load double, ptr %3, align 8
%53 = call double @sqrt(double noundef %52) #4
%54 = call i32 @Z(double noundef %53)
%55 = sitofp i32 %54 to double
%56 = fmul double %51, %55
%57 = load i32, ptr %4, align 4
%58 = load double, ptr %3, align 8
%59 = call double @sqrt(double noundef %58) #4
%60 = call i32 @sum(i32 noundef %57, double noundef %59)
%61 = sitofp i32 %60 to double
%62 = fadd double 1.000000e+00, %61
%63 = fmul double %56, %62
store double %63, ptr %5, align 8
br label %80
64: ; preds = %43
%65 = load double, ptr %3, align 8
%66 = call double @sqrt(double noundef %65) #4
%67 = call i32 @Z(double noundef %66)
%68 = mul nsw i32 2, %67
%69 = load i32, ptr %4, align 4
%70 = load double, ptr %3, align 8
%71 = call double @sqrt(double noundef %70) #4
%72 = call i32 @sum(i32 noundef %69, double noundef %71)
%73 = mul nsw i32 %68, %72
%74 = load double, ptr %3, align 8
%75 = call double @sqrt(double noundef %74) #4
%76 = call i32 @Q(double noundef %75)
%77 = mul nsw i32 2, %76
%78 = add nsw i32 %73, %77
%79 = sitofp i32 %78 to double
store double %79, ptr %5, align 8
br label %80
80: ; preds = %64, %47
br label %81
81: ; preds = %80, %23
br label %82
82: ; preds = %81, %9
%83 = load double, ptr %5, align 8
ret double %83
}
declare i32 @Q(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
declare i32 @Z(double noundef) #1
declare i32 @sum(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpem_31xuy.c"
target datalayout = "e-m:e-p270: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_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @significance(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 100
br i1 %8, label %9, label %20
9: ; preds = %2
%10 = load double, ptr %3, align 8
%11 = fmul double 2.000000e+00, %10
%12 = call double @sqrt(double noundef %11) #4
%13 = load i32, ptr %4, align 4
%14 = sitofp i32 %13 to double
%15 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %14, double -1.000000e+00)
%16 = call double @sqrt(double noundef %15) #4
%17 = fsub double %12, %16
%18 = call i32 @Q(double noundef %17)
%19 = sitofp i32 %18 to double
store double %19, ptr %6, align 8
br label %82
20: ; preds = %2
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 30
br i1 %22, label %23, label %43
23: ; preds = %20
%24 = load double, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = sitofp i32 %25 to double
%27 = fdiv double %24, %26
%28 = call double @pow(double noundef %27, double noundef 0x3FD5555555555555) #4
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 9, %29
%31 = sitofp i32 %30 to double
%32 = fdiv double 2.000000e+00, %31
%33 = fsub double 1.000000e+00, %32
%34 = fsub double %28, %33
%35 = load i32, ptr %4, align 4
%36 = mul nsw i32 9, %35
%37 = sitofp i32 %36 to double
%38 = fdiv double 2.000000e+00, %37
%39 = call double @sqrt(double noundef %38) #4
%40 = fdiv double %34, %39
%41 = call i32 @Q(double noundef %40)
%42 = sitofp i32 %41 to double
store double %42, ptr %6, align 8
br label %81
43: ; preds = %20
%44 = load i32, ptr %4, align 4
%45 = srem i32 %44, 2
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %64
47: ; preds = %43
%48 = load i32, ptr @M_PI, align 4
%49 = mul nsw i32 2, %48
%50 = sitofp i32 %49 to double
%51 = call double @sqrt(double noundef %50) #4
%52 = load double, ptr %3, align 8
%53 = call double @sqrt(double noundef %52) #4
%54 = call i32 @Z(double noundef %53)
%55 = sitofp i32 %54 to double
%56 = fmul double %51, %55
%57 = load i32, ptr %4, align 4
%58 = load double, ptr %3, align 8
%59 = call double @sqrt(double noundef %58) #4
%60 = call i32 @sum(i32 noundef %57, double noundef %59)
%61 = sitofp i32 %60 to double
%62 = fadd double 1.000000e+00, %61
%63 = fmul double %56, %62
store double %63, ptr %5, align 8
br label %80
64: ; preds = %43
%65 = load double, ptr %3, align 8
%66 = call double @sqrt(double noundef %65) #4
%67 = call i32 @Z(double noundef %66)
%68 = mul nsw i32 2, %67
%69 = load i32, ptr %4, align 4
%70 = load double, ptr %3, align 8
%71 = call double @sqrt(double noundef %70) #4
%72 = call i32 @sum(i32 noundef %69, double noundef %71)
%73 = mul nsw i32 %68, %72
%74 = load double, ptr %3, align 8
%75 = call double @sqrt(double noundef %74) #4
%76 = call i32 @Q(double noundef %75)
%77 = mul nsw i32 2, %76
%78 = add nsw i32 %73, %77
%79 = sitofp i32 %78 to double
store double %79, ptr %5, align 8
br label %80
80: ; preds = %64, %47
br label %81
81: ; preds = %80, %23
br label %82
82: ; preds = %81, %9
%83 = load double, ptr %5, align 8
ret double %83
}
declare i32 @Q(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
declare i32 @Z(double noundef) #1
declare i32 @sum(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
|
; ModuleID = '/tmp/tmpf70updon.c'
source_filename = "/tmp/tmpf70updon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transducePackedMulti(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, ptr noalias noundef %5, ptr noalias noundef %6, ptr noalias noundef %7, ptr noalias noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%26 = load i32, ptr %12, align 4
%27 = load ptr, ptr %18, align 8
%28 = call i32 @zeroVec64(i32 noundef %26, ptr noundef %27)
%29 = load i32, ptr %12, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %19, align 8
%32 = alloca i32, i64 %30, align 16
store i64 %30, ptr %20, align 8
%33 = load i32, ptr %12, align 4
%34 = call i32 @zeroVec32(i32 noundef %33, ptr noundef %32)
%35 = load i32, ptr %11, align 4
store i32 %35, ptr %21, align 4
%36 = load ptr, ptr %16, align 8
store ptr %36, ptr %22, align 8
%37 = load ptr, ptr %17, align 8
store ptr %37, ptr %23, align 8
br label %38
38: ; preds = %91, %9
br label %39
39: ; preds = %38
%40 = load ptr, ptr %22, align 8
%41 = load i32, ptr %40, align 4
store i32 %41, ptr %24, align 4
%42 = load i32, ptr %24, align 4
%43 = icmp eq i32 %42, -2
br i1 %43, label %44, label %46
44: ; preds = %39
%45 = load ptr, ptr %19, align 8
call void @llvm.stackrestore(ptr %45)
ret void
46: ; preds = %39
%47 = load i32, ptr %24, align 4
%48 = icmp eq i32 %47, -1
br i1 %48, label %49, label %70
49: ; preds = %46
%50 = load i32, ptr %12, align 4
%51 = load ptr, ptr %15, align 8
%52 = load i32, ptr %21, align 4
%53 = load i32, ptr %12, align 4
%54 = mul nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %51, i64 %55
%57 = call i32 @accumVec16(i32 noundef %50, ptr noundef %56, ptr noundef %32)
%58 = load i32, ptr %12, align 4
%59 = load ptr, ptr %23, align 8
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %18, align 8
%62 = call i32 @accumTimesVec32(i32 noundef %58, i32 noundef %60, ptr noundef %32, ptr noundef %61)
%63 = load i32, ptr %12, align 4
%64 = call i32 @zeroVec32(i32 noundef %63, ptr noundef %32)
%65 = load i32, ptr %11, align 4
store i32 %65, ptr %21, align 4
%66 = load ptr, ptr %23, align 8
%67 = getelementptr inbounds i32, ptr %66, i32 1
store ptr %67, ptr %23, align 8
%68 = load ptr, ptr %22, align 8
%69 = getelementptr inbounds i32, ptr %68, i32 1
store ptr %69, ptr %22, align 8
br label %91
70: ; preds = %46
%71 = load i32, ptr %24, align 4
%72 = load i32, ptr %10, align 4
%73 = mul nsw i32 %71, %72
%74 = load i32, ptr %21, align 4
%75 = add nsw i32 %73, %74
store i32 %75, ptr %25, align 4
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %25, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
store i32 %80, ptr %21, align 4
%81 = load i32, ptr %12, align 4
%82 = load ptr, ptr %14, align 8
%83 = load i32, ptr %25, align 4
%84 = load i32, ptr %12, align 4
%85 = mul nsw i32 %83, %84
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %82, i64 %86
%88 = call i32 @accumVec16(i32 noundef %81, ptr noundef %87, ptr noundef %32)
%89 = load ptr, ptr %22, align 8
%90 = getelementptr inbounds i32, ptr %89, i32 1
store ptr %90, ptr %22, align 8
br label %91
91: ; preds = %70, %49
br label %38
}
declare i32 @zeroVec64(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @zeroVec32(i32 noundef, ptr noundef) #1
declare i32 @accumVec16(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @accumTimesVec32(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf70updon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transducePackedMulti(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, ptr noalias noundef %5, ptr noalias noundef %6, ptr noalias noundef %7, ptr noalias noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%26 = load i32, ptr %12, align 4
%27 = load ptr, ptr %18, align 8
%28 = call i32 @zeroVec64(i32 noundef %26, ptr noundef %27)
%29 = load i32, ptr %12, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %19, align 8
%32 = alloca i32, i64 %30, align 16
store i64 %30, ptr %20, align 8
%33 = load i32, ptr %12, align 4
%34 = call i32 @zeroVec32(i32 noundef %33, ptr noundef %32)
%35 = load i32, ptr %11, align 4
store i32 %35, ptr %21, align 4
%36 = load ptr, ptr %16, align 8
store ptr %36, ptr %22, align 8
%37 = load ptr, ptr %17, align 8
store ptr %37, ptr %23, align 8
br label %38
38: ; preds = %91, %9
br label %39
39: ; preds = %38
%40 = load ptr, ptr %22, align 8
%41 = load i32, ptr %40, align 4
store i32 %41, ptr %24, align 4
%42 = load i32, ptr %24, align 4
%43 = icmp eq i32 %42, -2
br i1 %43, label %44, label %46
44: ; preds = %39
%45 = load ptr, ptr %19, align 8
call void @llvm.stackrestore(ptr %45)
ret void
46: ; preds = %39
%47 = load i32, ptr %24, align 4
%48 = icmp eq i32 %47, -1
br i1 %48, label %49, label %70
49: ; preds = %46
%50 = load i32, ptr %12, align 4
%51 = load ptr, ptr %15, align 8
%52 = load i32, ptr %21, align 4
%53 = load i32, ptr %12, align 4
%54 = mul nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %51, i64 %55
%57 = call i32 @accumVec16(i32 noundef %50, ptr noundef %56, ptr noundef %32)
%58 = load i32, ptr %12, align 4
%59 = load ptr, ptr %23, align 8
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %18, align 8
%62 = call i32 @accumTimesVec32(i32 noundef %58, i32 noundef %60, ptr noundef %32, ptr noundef %61)
%63 = load i32, ptr %12, align 4
%64 = call i32 @zeroVec32(i32 noundef %63, ptr noundef %32)
%65 = load i32, ptr %11, align 4
store i32 %65, ptr %21, align 4
%66 = load ptr, ptr %23, align 8
%67 = getelementptr inbounds i32, ptr %66, i32 1
store ptr %67, ptr %23, align 8
%68 = load ptr, ptr %22, align 8
%69 = getelementptr inbounds i32, ptr %68, i32 1
store ptr %69, ptr %22, align 8
br label %91
70: ; preds = %46
%71 = load i32, ptr %24, align 4
%72 = load i32, ptr %10, align 4
%73 = mul nsw i32 %71, %72
%74 = load i32, ptr %21, align 4
%75 = add nsw i32 %73, %74
store i32 %75, ptr %25, align 4
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %25, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
store i32 %80, ptr %21, align 4
%81 = load i32, ptr %12, align 4
%82 = load ptr, ptr %14, align 8
%83 = load i32, ptr %25, align 4
%84 = load i32, ptr %12, align 4
%85 = mul nsw i32 %83, %84
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %82, i64 %86
%88 = call i32 @accumVec16(i32 noundef %81, ptr noundef %87, ptr noundef %32)
%89 = load ptr, ptr %22, align 8
%90 = getelementptr inbounds i32, ptr %89, i32 1
store ptr %90, ptr %22, align 8
br label %91
91: ; preds = %70, %49
br label %38
}
declare i32 @zeroVec64(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @zeroVec32(i32 noundef, ptr noundef) #1
declare i32 @accumVec16(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @accumTimesVec32(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ehj4bfo.c'
source_filename = "/tmp/tmp_ehj4bfo.c"
target datalayout = "e-m:e-p270: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_ehj4bfo.c"
target datalayout = "e-m:e-p270: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/tmpfdydfgqk.c'
source_filename = "/tmp/tmpfdydfgqk.c"
target datalayout = "e-m:e-p270: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/tmpfdydfgqk.c"
target datalayout = "e-m:e-p270: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/tmpyzyg35uv.c'
source_filename = "/tmp/tmpyzyg35uv.c"
target datalayout = "e-m:e-p270: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 [81 x i8] c"usage: eggshell [-a <alignment>] [-b <buffersize>] [-e <eggsize>] [-o <offset>]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmpyzyg35uv.c"
target datalayout = "e-m:e-p270: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 [81 x i8] c"usage: eggshell [-a <alignment>] [-b <buffersize>] [-e <eggsize>] [-o <offset>]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmpuchp7pmb.c'
source_filename = "/tmp/tmpuchp7pmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"document\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"\\begin{%s} found before \\begin{document}. Giving up. Sorry\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdPreambleBeginEnd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr (...) @getBraceParam()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @diagnostics(i32 noundef 0, ptr noundef @.str.1, ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @CallParamFunc(ptr noundef %12, i32 noundef 16384)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare ptr @getBraceParam(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @CallParamFunc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuchp7pmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"document\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"\\begin{%s} found before \\begin{document}. Giving up. Sorry\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdPreambleBeginEnd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr (...) @getBraceParam()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @diagnostics(i32 noundef 0, ptr noundef @.str.1, ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @CallParamFunc(ptr noundef %12, i32 noundef 16384)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare ptr @getBraceParam(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @CallParamFunc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_gumngm1.c'
source_filename = "/tmp/tmp_gumngm1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @putchar(i32 noundef 65)
%7 = call i32 @putchar(i32 noundef 105)
%8 = call i32 @putchar(i32 noundef 110)
%9 = call i32 @putchar(i32 noundef 39)
%10 = call i32 @putchar(i32 noundef 116)
%11 = call i32 @putchar(i32 noundef 32)
%12 = call i32 @putchar(i32 noundef 72)
%13 = call i32 @putchar(i32 noundef 101)
%14 = call i32 @putchar(i32 noundef 114)
%15 = call i32 @putchar(i32 noundef 101)
%16 = call i32 @putchar(i32 noundef 10)
ret i32 0
}
declare i32 @putchar(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_gumngm1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @putchar(i32 noundef 65)
%7 = call i32 @putchar(i32 noundef 105)
%8 = call i32 @putchar(i32 noundef 110)
%9 = call i32 @putchar(i32 noundef 39)
%10 = call i32 @putchar(i32 noundef 116)
%11 = call i32 @putchar(i32 noundef 32)
%12 = call i32 @putchar(i32 noundef 72)
%13 = call i32 @putchar(i32 noundef 101)
%14 = call i32 @putchar(i32 noundef 114)
%15 = call i32 @putchar(i32 noundef 101)
%16 = call i32 @putchar(i32 noundef 10)
ret i32 0
}
declare i32 @putchar(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/tmp4wna_dk4.c'
source_filename = "/tmp/tmp4wna_dk4.c"
target datalayout = "e-m:e-p270: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/tmp4wna_dk4.c"
target datalayout = "e-m:e-p270: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/tmplhlzfr6z.c'
source_filename = "/tmp/tmplhlzfr6z.c"
target datalayout = "e-m:e-p270: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/tmplhlzfr6z.c"
target datalayout = "e-m:e-p270: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/tmp3565ihy4.c'
source_filename = "/tmp/tmp3565ihy4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
br label %7
7: ; preds = %18, %2
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = icmp ult ptr %8, %12
br i1 %13, label %14, label %21
14: ; preds = %7
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %19, i32 1
store ptr %20, ptr %5, align 8
br label %7, !llvm.loop !6
21: ; preds = %7
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3565ihy4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print2(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = icmp ult ptr %7, %11
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %17
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i32, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = icmp ult ptr %20, %24
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpur9_tcmy.c'
source_filename = "/tmp/tmpur9_tcmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enum_hashtriplet(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = load i8, ptr %6, align 1
%8 = call i32 @enum_hashbyte(i8 noundef signext %7)
%9 = srem i32 %8, 4
%10 = mul nsw i32 %9, 4096
%11 = load i8, ptr %4, align 1
%12 = call i32 @enum_hashbyte(i8 noundef signext %11)
%13 = mul nsw i32 %12, 64
%14 = add nsw i32 %10, %13
%15 = load i8, ptr %5, align 1
%16 = call i32 @enum_hashbyte(i8 noundef signext %15)
%17 = add nsw i32 %14, %16
ret i32 %17
}
declare i32 @enum_hashbyte(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpur9_tcmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enum_hashtriplet(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = load i8, ptr %6, align 1
%8 = call i32 @enum_hashbyte(i8 noundef signext %7)
%9 = srem i32 %8, 4
%10 = mul nsw i32 %9, 4096
%11 = load i8, ptr %4, align 1
%12 = call i32 @enum_hashbyte(i8 noundef signext %11)
%13 = mul nsw i32 %12, 64
%14 = add nsw i32 %10, %13
%15 = load i8, ptr %5, align 1
%16 = call i32 @enum_hashbyte(i8 noundef signext %15)
%17 = add nsw i32 %14, %16
ret i32 %17
}
declare i32 @enum_hashbyte(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpip_jlf4_.c'
source_filename = "/tmp/tmpip_jlf4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter a number to increment by: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"increment by each time %lf, until i reach %lf (%d)\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d: %lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"finished at %d: %lf\0A\00", align 1
@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 double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store double 0.000000e+00, ptr %6, align 8
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%11 = load double, ptr %6, align 8
%12 = load double, ptr %6, align 8
%13 = fmul double %12, 1.000000e+02
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11, double noundef %13, i32 noundef 100)
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
br label %15
15: ; preds = %20, %2
%16 = load double, ptr %8, align 8
%17 = load double, ptr %6, align 8
%18 = fmul double 1.000000e+02, %17
%19 = fcmp olt double %16, %18
br i1 %19, label %20, label %29
20: ; preds = %15
%21 = load i32, ptr %7, align 4
%22 = load double, ptr %8, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21, double noundef %22)
%24 = load double, ptr %6, align 8
%25 = load double, ptr %8, align 8
%26 = fadd double %25, %24
store double %26, ptr %8, align 8
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %15, !llvm.loop !6
29: ; preds = %15
%30 = load i32, ptr %7, align 4
%31 = load double, ptr %8, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30, double noundef %31)
%33 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %33
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpip_jlf4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter a number to increment by: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"increment by each time %lf, until i reach %lf (%d)\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d: %lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"finished at %d: %lf\0A\00", align 1
@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 double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store double 0.000000e+00, ptr %6, align 8
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%11 = load double, ptr %6, align 8
%12 = load double, ptr %6, align 8
%13 = fmul double %12, 1.000000e+02
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11, double noundef %13, i32 noundef 100)
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
%15 = load double, ptr %8, align 8
%16 = load double, ptr %6, align 8
%17 = fmul double 1.000000e+02, %16
%18 = fcmp olt double %15, %17
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i32, ptr %7, align 4
%21 = load double, ptr %8, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20, double noundef %21)
%23 = load double, ptr %6, align 8
%24 = load double, ptr %8, align 8
%25 = fadd double %24, %23
store double %25, ptr %8, align 8
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load double, ptr %8, align 8
%29 = load double, ptr %6, align 8
%30 = fmul double 1.000000e+02, %29
%31 = fcmp olt double %28, %30
br i1 %31, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %32
32: ; preds = %._crit_edge, %2
%33 = load i32, ptr %7, align 4
%34 = load double, ptr %8, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33, double noundef %34)
%36 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %36
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnly0a82r.c'
source_filename = "/tmp/tmpnly0a82r.c"
target datalayout = "e-m:e-p270: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/tmpnly0a82r.c"
target datalayout = "e-m:e-p270: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/tmplnp8pnnp.c'
source_filename = "/tmp/tmplnp8pnnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 10)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplnp8pnnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 10)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqrtn8o2w.c'
source_filename = "/tmp/tmpqrtn8o2w.c"
target datalayout = "e-m:e-p270: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/tmpqrtn8o2w.c"
target datalayout = "e-m:e-p270: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/tmp5w74bhab.c'
source_filename = "/tmp/tmp5w74bhab.c"
target datalayout = "e-m:e-p270: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/tmp5w74bhab.c"
target datalayout = "e-m:e-p270: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/tmpn0a56t4y.c'
source_filename = "/tmp/tmpn0a56t4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NOR_SPI_DisableInt() #0 {
%1 = call i32 (...) @NOR_SPI_DisableTxInt()
%2 = call i32 (...) @NOR_SPI_DisableRxInt()
ret void
}
declare i32 @NOR_SPI_DisableTxInt(...) #1
declare i32 @NOR_SPI_DisableRxInt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn0a56t4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NOR_SPI_DisableInt() #0 {
%1 = call i32 (...) @NOR_SPI_DisableTxInt()
%2 = call i32 (...) @NOR_SPI_DisableRxInt()
ret void
}
declare i32 @NOR_SPI_DisableTxInt(...) #1
declare i32 @NOR_SPI_DisableRxInt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjqzxfltx.c'
source_filename = "/tmp/tmpjqzxfltx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8_fractional(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @r8_abs(double noundef %4)
%6 = load double, ptr %2, align 8
%7 = call double @r8_abs(double noundef %6)
%8 = fptosi double %7 to i32
%9 = sitofp i32 %8 to double
%10 = fsub double %5, %9
store double %10, ptr %3, align 8
%11 = load double, ptr %3, align 8
ret double %11
}
declare double @r8_abs(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjqzxfltx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8_fractional(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @r8_abs(double noundef %4)
%6 = load double, ptr %2, align 8
%7 = call double @r8_abs(double noundef %6)
%8 = fptosi double %7 to i32
%9 = sitofp i32 %8 to double
%10 = fsub double %5, %9
store double %10, ptr %3, align 8
%11 = load double, ptr %3, align 8
ret double %11
}
declare double @r8_abs(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdc1vvicu.c'
source_filename = "/tmp/tmpdc1vvicu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alphabet(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 @putchar(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
call void @alphabet(i32 noundef %6)
ret void
}
declare i32 @putchar(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/tmpdc1vvicu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alphabet(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 @putchar(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
call void @alphabet(i32 noundef %6)
ret void
}
declare i32 @putchar(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/tmpindnmftv.c'
source_filename = "/tmp/tmpindnmftv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store i8 43, ptr %6, align 1
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %8
8: ; preds = %37, %0
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %40
11: ; preds = %8
%12 = load i32, ptr %2, align 4
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %18, %11
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %3, align 4
br label %13, !llvm.loop !6
21: ; preds = %13
%22 = load i32, ptr %4, align 4
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %30, %21
%24 = load i32, ptr %5, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %33
26: ; preds = %23
%27 = load i8, ptr %6, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28)
br label %30
30: ; preds = %26
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %5, align 4
br label %23, !llvm.loop !8
33: ; preds = %23
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 2
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %33
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %2, align 4
br label %8, !llvm.loop !9
40: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpindnmftv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store i8 43, ptr %6, align 1
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph5, label %43
.lr.ph5: ; preds = %0
br label %10
10: ; preds = %.lr.ph5, %38
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %21
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %16
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %16
16: ; preds = %14
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %10
%22 = load i32, ptr %4, align 4
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %.lr.ph2, label %34
.lr.ph2: ; preds = %21
br label %25
25: ; preds = %.lr.ph2, %29
%26 = load i8, ptr %6, align 1
%27 = sext i8 %26 to i32
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
br label %29
29: ; preds = %25
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %21
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 2
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %34
%39 = load i32, ptr %2, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %10, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %38
br label %43
43: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmplbtqqva2.c'
source_filename = "/tmp/tmplbtqqva2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @From_dB(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fdiv double %6, 1.000000e+01
%8 = call double @pow(i32 noundef 10, double noundef %7)
%9 = fmul double %5, %8
ret double %9
}
declare double @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplbtqqva2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @From_dB(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fdiv double %6, 1.000000e+01
%8 = call double @pow(i32 noundef 10, double noundef %7)
%9 = fmul double %5, %8
ret double %9
}
declare double @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbqyvtm3r.c'
source_filename = "/tmp/tmpbqyvtm3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logfac(i64 noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca i64, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store i64 %0, ptr %3, align 8
store double 0x400921FB54442D18, ptr %4, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp sle i64 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %1
store i64 1, ptr %3, align 8
br label %14
14: ; preds = %13, %1
%15 = load i64, ptr %3, align 8
%16 = icmp slt i64 %15, 12
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i64, ptr %3, align 8
%19 = call i32 @fac(i64 noundef %18)
%20 = call double @log(i32 noundef %19)
store double %20, ptr %2, align 8
br label %65
21: ; preds = %14
%22 = load i64, ptr %3, align 8
%23 = sitofp i64 %22 to double
%24 = fdiv double 1.000000e+00, %23
store double %24, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = load double, ptr %5, align 8
%27 = fmul double %25, %26
store double %27, ptr %6, align 8
%28 = load double, ptr %6, align 8
%29 = load double, ptr %5, align 8
%30 = fmul double %28, %29
store double %30, ptr %7, align 8
%31 = load double, ptr %7, align 8
%32 = load double, ptr %6, align 8
%33 = fmul double %31, %32
store double %33, ptr %8, align 8
%34 = load double, ptr %8, align 8
%35 = load double, ptr %6, align 8
%36 = fmul double %34, %35
store double %36, ptr %9, align 8
%37 = load i64, ptr %3, align 8
%38 = sitofp i64 %37 to double
%39 = fadd double %38, 5.000000e-01
%40 = load i64, ptr %3, align 8
%41 = trunc i64 %40 to i32
%42 = call double @log(i32 noundef %41)
%43 = load i64, ptr %3, align 8
%44 = sitofp i64 %43 to double
%45 = fneg double %44
%46 = call double @llvm.fmuladd.f64(double %39, double %42, double %45)
store double %46, ptr %10, align 8
%47 = call double @log(i32 noundef 6)
%48 = load double, ptr %10, align 8
%49 = call double @llvm.fmuladd.f64(double %47, double 5.000000e-01, double %48)
store double %49, ptr %10, align 8
%50 = load double, ptr %5, align 8
%51 = fdiv double %50, 1.200000e+01
%52 = load double, ptr %7, align 8
%53 = fdiv double %52, 3.600000e+02
%54 = fsub double %51, %53
%55 = load double, ptr %10, align 8
%56 = fadd double %55, %54
store double %56, ptr %10, align 8
%57 = load double, ptr %8, align 8
%58 = fdiv double %57, 1.260000e+03
%59 = load double, ptr %9, align 8
%60 = fdiv double %59, 1.680000e+03
%61 = fsub double %58, %60
%62 = load double, ptr %10, align 8
%63 = fadd double %62, %61
store double %63, ptr %10, align 8
%64 = load double, ptr %10, align 8
store double %64, ptr %2, align 8
br label %65
65: ; preds = %21, %17
%66 = load double, ptr %2, align 8
ret double %66
}
declare double @log(i32 noundef) #1
declare i32 @fac(i64 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/tmpbqyvtm3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logfac(i64 noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca i64, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store i64 %0, ptr %3, align 8
store double 0x400921FB54442D18, ptr %4, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp sle i64 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %1
store i64 1, ptr %3, align 8
br label %14
14: ; preds = %13, %1
%15 = load i64, ptr %3, align 8
%16 = icmp slt i64 %15, 12
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i64, ptr %3, align 8
%19 = call i32 @fac(i64 noundef %18)
%20 = call double @log(i32 noundef %19)
store double %20, ptr %2, align 8
br label %65
21: ; preds = %14
%22 = load i64, ptr %3, align 8
%23 = sitofp i64 %22 to double
%24 = fdiv double 1.000000e+00, %23
store double %24, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = load double, ptr %5, align 8
%27 = fmul double %25, %26
store double %27, ptr %6, align 8
%28 = load double, ptr %6, align 8
%29 = load double, ptr %5, align 8
%30 = fmul double %28, %29
store double %30, ptr %7, align 8
%31 = load double, ptr %7, align 8
%32 = load double, ptr %6, align 8
%33 = fmul double %31, %32
store double %33, ptr %8, align 8
%34 = load double, ptr %8, align 8
%35 = load double, ptr %6, align 8
%36 = fmul double %34, %35
store double %36, ptr %9, align 8
%37 = load i64, ptr %3, align 8
%38 = sitofp i64 %37 to double
%39 = fadd double %38, 5.000000e-01
%40 = load i64, ptr %3, align 8
%41 = trunc i64 %40 to i32
%42 = call double @log(i32 noundef %41)
%43 = load i64, ptr %3, align 8
%44 = sitofp i64 %43 to double
%45 = fneg double %44
%46 = call double @llvm.fmuladd.f64(double %39, double %42, double %45)
store double %46, ptr %10, align 8
%47 = call double @log(i32 noundef 6)
%48 = load double, ptr %10, align 8
%49 = call double @llvm.fmuladd.f64(double %47, double 5.000000e-01, double %48)
store double %49, ptr %10, align 8
%50 = load double, ptr %5, align 8
%51 = fdiv double %50, 1.200000e+01
%52 = load double, ptr %7, align 8
%53 = fdiv double %52, 3.600000e+02
%54 = fsub double %51, %53
%55 = load double, ptr %10, align 8
%56 = fadd double %55, %54
store double %56, ptr %10, align 8
%57 = load double, ptr %8, align 8
%58 = fdiv double %57, 1.260000e+03
%59 = load double, ptr %9, align 8
%60 = fdiv double %59, 1.680000e+03
%61 = fsub double %58, %60
%62 = load double, ptr %10, align 8
%63 = fadd double %62, %61
store double %63, ptr %10, align 8
%64 = load double, ptr %10, align 8
store double %64, ptr %2, align 8
br label %65
65: ; preds = %21, %17
%66 = load double, ptr %2, align 8
ret double %66
}
declare double @log(i32 noundef) #1
declare i32 @fac(i64 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/tmpy_4bk56k.c'
source_filename = "/tmp/tmpy_4bk56k.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @time_start() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load i64, ptr %5, align 8
%7 = sitofp i64 %6 to double
store double %7, ptr %2, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = sitofp i64 %9 to double
store double %10, ptr %3, align 8
%11 = load double, ptr %2, align 8
%12 = load double, ptr %3, align 8
%13 = fdiv double %12, 1.000000e+06
%14 = fadd double %11, %13
ret double %14
}
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/tmpy_4bk56k.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @time_start() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load i64, ptr %5, align 8
%7 = sitofp i64 %6 to double
store double %7, ptr %2, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = sitofp i64 %9 to double
store double %10, ptr %3, align 8
%11 = load double, ptr %2, align 8
%12 = load double, ptr %3, align 8
%13 = fdiv double %12, 1.000000e+06
%14 = fadd double %11, %13
ret double %14
}
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/tmp0qcgaa3w.c'
source_filename = "/tmp/tmp0qcgaa3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isblank(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp eq i32 %4, 32
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 9
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qcgaa3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isblank(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp eq i32 %4, 32
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 9
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbtpx8fqk.c'
source_filename = "/tmp/tmpbtpx8fqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Var\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Yok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sorgulama(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %7, align 4
br label %9
9: ; preds = %24, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %27
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %15, i64 %18
%20 = load i32, ptr %19, align 4
%21 = icmp eq i32 %14, %20
br i1 %21, label %22, label %23
22: ; preds = %13
store i32 1, ptr %8, align 4
br label %23
23: ; preds = %22, %13
br label %24
24: ; preds = %23
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %9, !llvm.loop !6
27: ; preds = %9
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @printf(ptr noundef @.str)
br label %34
32: ; preds = %27
%33 = call i32 @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32, %30
%35 = phi i32 [ %31, %30 ], [ %33, %32 ]
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbtpx8fqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Var\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Yok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sorgulama(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle 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 i32, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %14, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp eq i32 %13, %19
br i1 %20, label %21, label %22
21: ; preds = %12
store i32 1, ptr %8, align 4
br label %22
22: ; preds = %21, %12
br label %23
23: ; preds = %22
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp sle 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
%30 = load i32, ptr %8, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(ptr noundef @.str)
br label %36
34: ; preds = %29
%35 = call i32 @printf(ptr noundef @.str.1)
br label %36
36: ; preds = %34, %32
%37 = phi i32 [ %33, %32 ], [ %35, %34 ]
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprxx9eb8y.c'
source_filename = "/tmp/tmprxx9eb8y.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i64, i32, i32, i64, i32 }
%struct.sockaddr_storage = type { i32 }
%struct.tm = type { i32, i32, i32, i32, i32, i32 }
@NI_MAXHOST = dso_local global i32 0, align 4
@NI_MAXSERV = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Message recieved from %s::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Length: %d Bytes\09Msg:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Hour:\09%02d:%02d:%02d\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"Year:20%02d\09Month:%02d\09Day:%02d\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Goodbye client\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.addrinfo, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_storage, align 4
%8 = alloca [81 x i8], align 16
%9 = alloca [81 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%19 = load i32, ptr @NI_MAXHOST, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %10, align 8
%22 = alloca i8, i64 %20, align 16
store i64 %20, ptr %11, align 8
%23 = load i32, ptr @NI_MAXSERV, align 4
%24 = zext i32 %23 to i64
%25 = alloca i8, i64 %24, align 16
store i64 %24, ptr %12, align 8
%26 = load i32, ptr @AI_PASSIVE, align 4
%27 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 5
store i32 %26, ptr %27, align 8
%28 = load i32, ptr @AF_UNSPEC, align 4
%29 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 3
store i32 %28, ptr %29, align 4
%30 = load i32, ptr @SOCK_DGRAM, align 4
%31 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 2
store i32 %30, ptr %31, align 8
%32 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 4
store i64 0, ptr %32, align 8
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @getaddrinfo(ptr noundef %35, ptr noundef %38, ptr noundef %5, ptr noundef %6)
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds %struct.addrinfo, ptr %40, i32 0, i32 3
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 2
%45 = load i32, ptr %44, align 8
%46 = call i32 @socket(i32 noundef %42, i32 noundef %45, i32 noundef 0)
store i32 %46, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 1
%50 = load i64, ptr %49, align 8
%51 = inttoptr i64 %50 to ptr
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds %struct.addrinfo, ptr %52, i32 0, i32 0
%54 = load i32, ptr %53, align 8
%55 = call i32 @bind(i32 noundef %47, ptr noundef %51, i32 noundef %54)
%56 = load ptr, ptr %6, align 8
%57 = call i32 @freeaddrinfo(ptr noundef %56)
store i32 0, ptr %14, align 4
br label %58
58: ; preds = %110, %2
%59 = load i32, ptr %14, align 4
%60 = icmp ne i32 %59, 0
%61 = xor i1 %60, true
br i1 %61, label %62, label %126
62: ; preds = %58
store i32 4, ptr %15, align 4
%63 = load i32, ptr %13, align 4
%64 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%65 = call i32 @recvfrom(i32 noundef %63, ptr noundef %64, i32 noundef 1, i32 noundef 0, ptr noundef %7, ptr noundef %15)
store i32 %65, ptr %16, align 4
%66 = load i32, ptr %15, align 4
%67 = load i32, ptr @NI_MAXHOST, align 4
%68 = load i32, ptr @NI_MAXSERV, align 4
%69 = load i32, ptr @NI_NUMERICHOST, align 4
%70 = call i32 @getnameinfo(ptr noundef %7, i32 noundef %66, ptr noundef %22, i32 noundef %67, ptr noundef %25, i32 noundef %68, i32 noundef %69)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %22, ptr noundef %25)
%72 = load i32, ptr %16, align 4
%73 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %72, ptr noundef %73)
%75 = call i32 @time(ptr noundef null)
store i32 %75, ptr %17, align 4
%76 = call ptr @gmtime(ptr noundef %17)
store ptr %76, ptr %18, align 8
%77 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%78 = load i8, ptr %77, align 16
%79 = sext i8 %78 to i32
switch i32 %79, label %110 [
i32 116, label %80
i32 100, label %93
i32 113, label %107
]
80: ; preds = %62
%81 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%82 = load ptr, ptr %18, align 8
%83 = getelementptr inbounds %struct.tm, ptr %82, i32 0, i32 5
%84 = load i32, ptr %83, align 4
%85 = add nsw i32 %84, 2
%86 = load ptr, ptr %18, align 8
%87 = getelementptr inbounds %struct.tm, ptr %86, i32 0, i32 0
%88 = load i32, ptr %87, align 4
%89 = load ptr, ptr %18, align 8
%90 = getelementptr inbounds %struct.tm, ptr %89, i32 0, i32 1
%91 = load i32, ptr %90, align 4
%92 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %81, ptr noundef @.str.2, i32 noundef %85, i32 noundef %88, i32 noundef %91)
br label %110
93: ; preds = %62
%94 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%95 = load ptr, ptr %18, align 8
%96 = getelementptr inbounds %struct.tm, ptr %95, i32 0, i32 4
%97 = load i32, ptr %96, align 4
%98 = sub nsw i32 %97, 100
%99 = load ptr, ptr %18, align 8
%100 = getelementptr inbounds %struct.tm, ptr %99, i32 0, i32 3
%101 = load i32, ptr %100, align 4
%102 = add nsw i32 %101, 1
%103 = load ptr, ptr %18, align 8
%104 = getelementptr inbounds %struct.tm, ptr %103, i32 0, i32 2
%105 = load i32, ptr %104, align 4
%106 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %94, ptr noundef @.str.3, i32 noundef %98, i32 noundef %102, i32 noundef %105)
br label %110
107: ; preds = %62
%108 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%109 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %108, ptr noundef @.str.4)
store i32 1, ptr %14, align 4
br label %110
110: ; preds = %62, %107, %93, %80
%111 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%112 = call i32 @strlen(ptr noundef %111)
store i32 %112, ptr %16, align 4
%113 = load i32, ptr %16, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %114
store i8 10, ptr %115, align 1
%116 = load i32, ptr %16, align 4
%117 = add nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %118
store i8 0, ptr %119, align 1
%120 = load i32, ptr %13, align 4
%121 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%122 = load i32, ptr %16, align 4
%123 = add nsw i32 %122, 1
%124 = load i32, ptr %15, align 4
%125 = call i32 @sendto(i32 noundef %120, ptr noundef %121, i32 noundef %123, i32 noundef 0, ptr noundef %7, i32 noundef %124)
br label %58, !llvm.loop !6
126: ; preds = %58
%127 = load i32, ptr %13, align 4
%128 = call i32 @close(i32 noundef %127)
%129 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %129)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @freeaddrinfo(ptr noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @time(ptr noundef) #2
declare ptr @gmtime(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxx9eb8y.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i64, i32, i32, i64, i32 }
%struct.sockaddr_storage = type { i32 }
%struct.tm = type { i32, i32, i32, i32, i32, i32 }
@NI_MAXHOST = dso_local global i32 0, align 4
@NI_MAXSERV = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Message recieved from %s::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Length: %d Bytes\09Msg:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Hour:\09%02d:%02d:%02d\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"Year:20%02d\09Month:%02d\09Day:%02d\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Goodbye client\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.addrinfo, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_storage, align 4
%8 = alloca [81 x i8], align 16
%9 = alloca [81 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%19 = load i32, ptr @NI_MAXHOST, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %10, align 8
%22 = alloca i8, i64 %20, align 16
store i64 %20, ptr %11, align 8
%23 = load i32, ptr @NI_MAXSERV, align 4
%24 = zext i32 %23 to i64
%25 = alloca i8, i64 %24, align 16
store i64 %24, ptr %12, align 8
%26 = load i32, ptr @AI_PASSIVE, align 4
%27 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 5
store i32 %26, ptr %27, align 8
%28 = load i32, ptr @AF_UNSPEC, align 4
%29 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 3
store i32 %28, ptr %29, align 4
%30 = load i32, ptr @SOCK_DGRAM, align 4
%31 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 2
store i32 %30, ptr %31, align 8
%32 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 4
store i64 0, ptr %32, align 8
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @getaddrinfo(ptr noundef %35, ptr noundef %38, ptr noundef %5, ptr noundef %6)
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds %struct.addrinfo, ptr %40, i32 0, i32 3
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 2
%45 = load i32, ptr %44, align 8
%46 = call i32 @socket(i32 noundef %42, i32 noundef %45, i32 noundef 0)
store i32 %46, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 1
%50 = load i64, ptr %49, align 8
%51 = inttoptr i64 %50 to ptr
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds %struct.addrinfo, ptr %52, i32 0, i32 0
%54 = load i32, ptr %53, align 8
%55 = call i32 @bind(i32 noundef %47, ptr noundef %51, i32 noundef %54)
%56 = load ptr, ptr %6, align 8
%57 = call i32 @freeaddrinfo(ptr noundef %56)
store i32 0, ptr %14, align 4
%58 = load i32, ptr %14, align 4
%59 = icmp ne i32 %58, 0
%60 = xor i1 %59, true
br i1 %60, label %.lr.ph, label %128
.lr.ph: ; preds = %2
br label %61
61: ; preds = %.lr.ph, %109
store i32 4, ptr %15, align 4
%62 = load i32, ptr %13, align 4
%63 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%64 = call i32 @recvfrom(i32 noundef %62, ptr noundef %63, i32 noundef 1, i32 noundef 0, ptr noundef %7, ptr noundef %15)
store i32 %64, ptr %16, align 4
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr @NI_MAXHOST, align 4
%67 = load i32, ptr @NI_MAXSERV, align 4
%68 = load i32, ptr @NI_NUMERICHOST, align 4
%69 = call i32 @getnameinfo(ptr noundef %7, i32 noundef %65, ptr noundef %22, i32 noundef %66, ptr noundef %25, i32 noundef %67, i32 noundef %68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %22, ptr noundef %25)
%71 = load i32, ptr %16, align 4
%72 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %71, ptr noundef %72)
%74 = call i32 @time(ptr noundef null)
store i32 %74, ptr %17, align 4
%75 = call ptr @gmtime(ptr noundef %17)
store ptr %75, ptr %18, align 8
%76 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%77 = load i8, ptr %76, align 16
%78 = sext i8 %77 to i32
switch i32 %78, label %109 [
i32 116, label %79
i32 100, label %92
i32 113, label %106
]
79: ; preds = %61
%80 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%81 = load ptr, ptr %18, align 8
%82 = getelementptr inbounds %struct.tm, ptr %81, i32 0, i32 5
%83 = load i32, ptr %82, align 4
%84 = add nsw i32 %83, 2
%85 = load ptr, ptr %18, align 8
%86 = getelementptr inbounds %struct.tm, ptr %85, i32 0, i32 0
%87 = load i32, ptr %86, align 4
%88 = load ptr, ptr %18, align 8
%89 = getelementptr inbounds %struct.tm, ptr %88, i32 0, i32 1
%90 = load i32, ptr %89, align 4
%91 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %80, ptr noundef @.str.2, i32 noundef %84, i32 noundef %87, i32 noundef %90)
br label %109
92: ; preds = %61
%93 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%94 = load ptr, ptr %18, align 8
%95 = getelementptr inbounds %struct.tm, ptr %94, i32 0, i32 4
%96 = load i32, ptr %95, align 4
%97 = sub nsw i32 %96, 100
%98 = load ptr, ptr %18, align 8
%99 = getelementptr inbounds %struct.tm, ptr %98, i32 0, i32 3
%100 = load i32, ptr %99, align 4
%101 = add nsw i32 %100, 1
%102 = load ptr, ptr %18, align 8
%103 = getelementptr inbounds %struct.tm, ptr %102, i32 0, i32 2
%104 = load i32, ptr %103, align 4
%105 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %93, ptr noundef @.str.3, i32 noundef %97, i32 noundef %101, i32 noundef %104)
br label %109
106: ; preds = %61
%107 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%108 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %107, ptr noundef @.str.4)
store i32 1, ptr %14, align 4
br label %109
109: ; preds = %106, %92, %79, %61
%110 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%111 = call i32 @strlen(ptr noundef %110)
store i32 %111, ptr %16, align 4
%112 = load i32, ptr %16, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %113
store i8 10, ptr %114, align 1
%115 = load i32, ptr %16, align 4
%116 = add nsw i32 %115, 1
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %117
store i8 0, ptr %118, align 1
%119 = load i32, ptr %13, align 4
%120 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0
%121 = load i32, ptr %16, align 4
%122 = add nsw i32 %121, 1
%123 = load i32, ptr %15, align 4
%124 = call i32 @sendto(i32 noundef %119, ptr noundef %120, i32 noundef %122, i32 noundef 0, ptr noundef %7, i32 noundef %123)
%125 = load i32, ptr %14, align 4
%126 = icmp ne i32 %125, 0
%127 = xor i1 %126, true
br i1 %127, label %61, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %109
br label %128
128: ; preds = %._crit_edge, %2
%129 = load i32, ptr %13, align 4
%130 = call i32 @close(i32 noundef %129)
%131 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %131)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @freeaddrinfo(ptr noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @time(ptr noundef) #2
declare ptr @gmtime(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpi6lgm2g4.c'
source_filename = "/tmp/tmpi6lgm2g4.c"
target datalayout = "e-m:e-p270: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/tmpi6lgm2g4.c"
target datalayout = "e-m:e-p270: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/tmp6tbs73gx.c'
source_filename = "/tmp/tmp6tbs73gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @example1()
%3 = call i32 (...) @example2()
%4 = call i32 (...) @example3()
%5 = call i32 (...) @example4()
%6 = call i32 (...) @example5()
%7 = call i32 (...) @example6()
%8 = call i32 (...) @example7()
%9 = call i32 (...) @example8()
%10 = call i32 (...) @example9()
%11 = call i32 (...) @example10()
%12 = call i32 (...) @example11()
ret i32 0
}
declare i32 @example1(...) #1
declare i32 @example2(...) #1
declare i32 @example3(...) #1
declare i32 @example4(...) #1
declare i32 @example5(...) #1
declare i32 @example6(...) #1
declare i32 @example7(...) #1
declare i32 @example8(...) #1
declare i32 @example9(...) #1
declare i32 @example10(...) #1
declare i32 @example11(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6tbs73gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @example1()
%3 = call i32 (...) @example2()
%4 = call i32 (...) @example3()
%5 = call i32 (...) @example4()
%6 = call i32 (...) @example5()
%7 = call i32 (...) @example6()
%8 = call i32 (...) @example7()
%9 = call i32 (...) @example8()
%10 = call i32 (...) @example9()
%11 = call i32 (...) @example10()
%12 = call i32 (...) @example11()
ret i32 0
}
declare i32 @example1(...) #1
declare i32 @example2(...) #1
declare i32 @example3(...) #1
declare i32 @example4(...) #1
declare i32 @example5(...) #1
declare i32 @example6(...) #1
declare i32 @example7(...) #1
declare i32 @example8(...) #1
declare i32 @example9(...) #1
declare i32 @example10(...) #1
declare i32 @example11(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5cjrzi8y.c'
source_filename = "/tmp/tmp5cjrzi8y.c"
target datalayout = "e-m:e-p270: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/tmp5cjrzi8y.c"
target datalayout = "e-m:e-p270: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/tmpj42lpdtb.c'
source_filename = "/tmp/tmpj42lpdtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callback(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj42lpdtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callback(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ouz5ffj.c'
source_filename = "/tmp/tmp8ouz5ffj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %10, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 20
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i32 @increment(i32 noundef %8)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 20
%16 = zext i1 %15 to i32
ret i32 %16
}
declare i32 @increment(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/tmp8ouz5ffj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 20
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %9
%7 = load i32, ptr %2, align 4
%8 = call i32 @increment(i32 noundef %7)
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 20
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 20
%17 = zext i1 %16 to i32
ret i32 %17
}
declare i32 @increment(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/tmpj05xb74o.c'
source_filename = "/tmp/tmpj05xb74o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Solution : %d\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 [6965 x i32], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call ptr @calloc(i32 noundef 28124, i32 noundef 4)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 0
store i32 1, ptr %11, align 4
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 1, ptr %4, align 4
br label %12
12: ; preds = %26, %0
%13 = load i32, ptr %4, align 4
%14 = icmp sle i32 %13, 28123
br i1 %14, label %15, label %29
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = call i64 @isAbundant(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds [6965 x i32], ptr %2, i64 0, i64 %23
store i32 %20, ptr %24, align 4
br label %25
25: ; preds = %19, %15
br label %26
26: ; preds = %25
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
store i32 0, ptr %4, align 4
br label %30
30: ; preds = %61, %29
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %64
34: ; preds = %30
store i32 0, ptr %6, align 4
br label %35
35: ; preds = %57, %34
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %60
39: ; preds = %35
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [6965 x i32], ptr %2, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [6965 x i32], ptr %2, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %43, %47
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp sle i32 %49, 28123
br i1 %50, label %51, label %56
51: ; preds = %39
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store i32 1, ptr %55, align 4
br label %56
56: ; preds = %51, %39
br label %57
57: ; preds = %56
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %35, !llvm.loop !8
60: ; preds = %35
br label %61
61: ; preds = %60
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %4, align 4
br label %30, !llvm.loop !9
64: ; preds = %30
store i32 0, ptr %8, align 4
store i32 0, ptr %4, align 4
br label %65
65: ; preds = %80, %64
%66 = load i32, ptr %4, align 4
%67 = icmp sle i32 %66, 28123
br i1 %67, label %68, label %83
68: ; preds = %65
%69 = load ptr, ptr %3, align 8
%70 = load i32, ptr %4, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
%73 = load i32, ptr %72, align 4
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %79
75: ; preds = %68
%76 = load i32, ptr %4, align 4
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, %76
store i32 %78, ptr %8, align 4
br label %79
79: ; preds = %75, %68
br label %80
80: ; preds = %79
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %4, align 4
br label %65, !llvm.loop !10
83: ; preds = %65
%84 = load i32, ptr %8, align 4
%85 = call i32 @printf(ptr noundef @.str, i32 noundef %84)
%86 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %86
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i64 @isAbundant(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj05xb74o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Solution : %d\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 [6965 x i32], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call ptr @calloc(i32 noundef 28124, i32 noundef 4)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 0
store i32 1, ptr %11, align 4
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 1, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %12, 28123
br i1 %13, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %25
%15 = load i32, ptr %4, align 4
%16 = call i64 @isAbundant(i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds [6965 x i32], ptr %2, i64 0, i64 %22
store i32 %19, ptr %23, align 4
br label %24
24: ; preds = %18, %14
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp sle i32 %28, 28123
br i1 %29, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph5, label %69
.lr.ph5: ; preds = %30
br label %34
34: ; preds = %.lr.ph5, %63
store i32 0, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph2, label %62
.lr.ph2: ; preds = %34
br label %38
38: ; preds = %.lr.ph2, %56
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [6965 x i32], ptr %2, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [6965 x i32], ptr %2, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = add nsw i32 %42, %46
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp sle i32 %48, 28123
br i1 %49, label %50, label %55
50: ; preds = %38
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
store i32 1, ptr %54, align 4
br label %55
55: ; preds = %50, %38
br label %56
56: ; preds = %55
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %62
62: ; preds = %._crit_edge3, %34
br label %63
63: ; preds = %62
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %4, align 4
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr %5, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %34, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %63
br label %69
69: ; preds = %._crit_edge6, %30
store i32 0, ptr %8, align 4
store i32 0, ptr %4, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp sle i32 %70, 28123
br i1 %71, label %.lr.ph8, label %89
.lr.ph8: ; preds = %69
br label %72
72: ; preds = %.lr.ph8, %84
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %4, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %72
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %81, %80
store i32 %82, ptr %8, align 4
br label %83
83: ; preds = %79, %72
br label %84
84: ; preds = %83
%85 = load i32, ptr %4, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %4, align 4
%87 = load i32, ptr %4, align 4
%88 = icmp sle i32 %87, 28123
br i1 %88, label %72, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %84
br label %89
89: ; preds = %._crit_edge9, %69
%90 = load i32, ptr %8, align 4
%91 = call i32 @printf(ptr noundef @.str, i32 noundef %90)
%92 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %92
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i64 @isAbundant(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpe2ufmq5y.c'
source_filename = "/tmp/tmpe2ufmq5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_libc_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe2ufmq5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_libc_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
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"}
|
; ModuleID = '/tmp/tmpsu5jw05b.c'
source_filename = "/tmp/tmpsu5jw05b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_llround() #0 {
%1 = alloca float, align 4
%2 = alloca double, align 8
%3 = alloca x86_fp80, align 16
%4 = load float, ptr %1, align 4
%5 = call i32 @llroundf(float noundef %4)
%6 = load double, ptr %2, align 8
%7 = call i32 @llround(double noundef %6)
%8 = load x86_fp80, ptr %3, align 16
%9 = call i32 @llroundl(x86_fp80 noundef %8)
ret void
}
declare i32 @llroundf(float noundef) #1
declare i32 @llround(double noundef) #1
declare i32 @llroundl(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsu5jw05b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_llround() #0 {
%1 = alloca float, align 4
%2 = alloca double, align 8
%3 = alloca x86_fp80, align 16
%4 = load float, ptr %1, align 4
%5 = call i32 @llroundf(float noundef %4)
%6 = load double, ptr %2, align 8
%7 = call i32 @llround(double noundef %6)
%8 = load x86_fp80, ptr %3, align 16
%9 = call i32 @llroundl(x86_fp80 noundef %8)
ret void
}
declare i32 @llroundf(float noundef) #1
declare i32 @llround(double noundef) #1
declare i32 @llroundl(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxn07_oxe.c'
source_filename = "/tmp/tmpxn07_oxe.c"
target datalayout = "e-m:e-p270: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/tmpxn07_oxe.c"
target datalayout = "e-m:e-p270: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/tmp0a8zxdc7.c'
source_filename = "/tmp/tmp0a8zxdc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0a8zxdc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6nkkvhdr.c'
source_filename = "/tmp/tmp6nkkvhdr.c"
target datalayout = "e-m:e-p270: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/tmp6nkkvhdr.c"
target datalayout = "e-m:e-p270: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/tmptpisyum1.c'
source_filename = "/tmp/tmptpisyum1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_flow_block(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %8, align 4
store i32 31, ptr %5, align 4
br label %10
10: ; preds = %34, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 32, %12
%14 = sub nsw i32 %13, 1
%15 = icmp sge i32 %11, %14
br i1 %15, label %16, label %37
16: ; preds = %10
%17 = load i32, ptr %5, align 4
%18 = call i32 @pow(i32 noundef 2, i32 noundef %17)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %3, align 4
%21 = and i32 %19, %20
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %33
23: ; preds = %16
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 32
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %25, %26
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = call i32 @pow(i32 noundef 2, i32 noundef %28)
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = or i32 %30, %31
store i32 %32, ptr %8, align 4
br label %33
33: ; preds = %23, %16
br label %34
34: ; preds = %33
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %5, align 4
br label %10, !llvm.loop !6
37: ; preds = %10
%38 = load i32, ptr %8, align 4
ret i32 %38
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptpisyum1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_flow_block(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %8, align 4
store i32 31, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 32, %11
%13 = sub nsw i32 %12, 1
%14 = icmp sge i32 %10, %13
br i1 %14, label %.lr.ph, label %41
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %33
%16 = load i32, ptr %5, align 4
%17 = call i32 @pow(i32 noundef 2, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %3, align 4
%20 = and i32 %18, %19
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %15
%23 = load i32, ptr %5, align 4
%24 = sub nsw i32 %23, 32
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @pow(i32 noundef 2, i32 noundef %27)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = or i32 %29, %30
store i32 %31, ptr %8, align 4
br label %32
32: ; preds = %22, %15
br label %33
33: ; preds = %32
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 32, %37
%39 = sub nsw i32 %38, 1
%40 = icmp sge i32 %36, %39
br i1 %40, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %41
41: ; preds = %._crit_edge, %2
%42 = load i32, ptr %8, align 4
ret i32 %42
}
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"}
|
; ModuleID = '/tmp/tmp88z6tnrz.c'
source_filename = "/tmp/tmp88z6tnrz.c"
target datalayout = "e-m:e-p270: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/tmp88z6tnrz.c"
target datalayout = "e-m:e-p270: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/tmpm2heuj33.c'
source_filename = "/tmp/tmpm2heuj33.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [202 x i8] c"\0AUsage: %s <command> [options]\0A\0ACommand:\0Ape\09paired-end barcode de-multiplexing\0Ase\09single-end barcode de-multiplexing\0A\0A--help, display this help and exit\0A--version, output version information and exit\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"sabre\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1)
%5 = load i32, ptr %2, align 4
%6 = call i32 @exit(i32 noundef %5) #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/tmpm2heuj33.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [202 x i8] c"\0AUsage: %s <command> [options]\0A\0ACommand:\0Ape\09paired-end barcode de-multiplexing\0Ase\09single-end barcode de-multiplexing\0A\0A--help, display this help and exit\0A--version, output version information and exit\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"sabre\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1)
%5 = load i32, ptr %2, align 4
%6 = call i32 @exit(i32 noundef %5) #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/tmphgy51g94.c'
source_filename = "/tmp/tmphgy51g94.c"
target datalayout = "e-m:e-p270: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/tmphgy51g94.c"
target datalayout = "e-m:e-p270: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/tmpuaabxfzz.c'
source_filename = "/tmp/tmpuaabxfzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_assert_should_fail() #0 {
%1 = call i32 @assert(i32 noundef 0)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuaabxfzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_assert_should_fail() #0 {
%1 = call i32 @assert(i32 noundef 0)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr94d8h82.c'
source_filename = "/tmp/tmpr94d8h82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fib_memoization.cache = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fib_memoization(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load ptr, ptr @fib_memoization.cache, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call ptr @calloc(i32 noundef 100, i32 noundef 4)
store ptr %7, ptr @fib_memoization.cache, align 8
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
%10 = load ptr, ptr @fib_memoization.cache, align 8
%11 = call i32 @fib_memoization2(i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
ret i32 %12
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fib_memoization2(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/tmpr94d8h82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fib_memoization.cache = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fib_memoization(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load ptr, ptr @fib_memoization.cache, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call ptr @calloc(i32 noundef 100, i32 noundef 4)
store ptr %7, ptr @fib_memoization.cache, align 8
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
%10 = load ptr, ptr @fib_memoization.cache, align 8
%11 = call i32 @fib_memoization2(i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
ret i32 %12
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fib_memoization2(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/tmppmdnwgrw.c'
source_filename = "/tmp/tmppmdnwgrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @anp_sys_htons(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 = call zeroext i16 @htons(i16 noundef zeroext %3)
ret i16 %4
}
declare zeroext i16 @htons(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/tmppmdnwgrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @anp_sys_htons(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 = call zeroext i16 @htons(i16 noundef zeroext %3)
ret i16 %4
}
declare zeroext i16 @htons(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/tmpnxix8bua.c'
source_filename = "/tmp/tmpnxix8bua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pseudo_random_int(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @rand()
%6 = load i32, ptr %4, align 4
%7 = srem i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %7, %8
ret i32 %9
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnxix8bua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pseudo_random_int(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @rand()
%6 = load i32, ptr %4, align 4
%7 = srem i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %7, %8
ret i32 %9
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptv9pqh0n.c'
source_filename = "/tmp/tmptv9pqh0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_idd(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, 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 ptr, align 8
store ptr %0, ptr %13, align 8
store i32 %1, ptr %14, align 4
store ptr %2, ptr %15, align 8
store i32 %3, ptr %16, align 4
store ptr %4, ptr %17, align 8
store ptr %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
store ptr %11, ptr %24, align 8
%25 = load ptr, ptr %13, align 8
%26 = load i32, ptr %14, align 4
%27 = load ptr, ptr %15, align 8
%28 = load i32, ptr %16, align 4
%29 = load ptr, ptr %17, align 8
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %19, align 8
%32 = load ptr, ptr %20, align 8
%33 = load ptr, ptr %21, align 8
%34 = load ptr, ptr %22, align 8
%35 = load ptr, ptr %23, align 8
%36 = load ptr, ptr %24, align 8
%37 = call i32 @calc_id(ptr noundef %25, i32 noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36)
ret i32 %37
}
declare i32 @calc_id(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptv9pqh0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_idd(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, 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 ptr, align 8
store ptr %0, ptr %13, align 8
store i32 %1, ptr %14, align 4
store ptr %2, ptr %15, align 8
store i32 %3, ptr %16, align 4
store ptr %4, ptr %17, align 8
store ptr %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
store ptr %11, ptr %24, align 8
%25 = load ptr, ptr %13, align 8
%26 = load i32, ptr %14, align 4
%27 = load ptr, ptr %15, align 8
%28 = load i32, ptr %16, align 4
%29 = load ptr, ptr %17, align 8
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %19, align 8
%32 = load ptr, ptr %20, align 8
%33 = load ptr, ptr %21, align 8
%34 = load ptr, ptr %22, align 8
%35 = load ptr, ptr %23, align 8
%36 = load ptr, ptr %24, align 8
%37 = call i32 @calc_id(ptr noundef %25, i32 noundef %26, ptr noundef %27, i32 noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36)
ret i32 %37
}
declare i32 @calc_id(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmgbswavi.c'
source_filename = "/tmp/tmpmgbswavi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @append_int(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %10, align 4
br label %14
14: ; preds = %31, %4
%15 = load i32, ptr %10, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %17, label %34
17: ; preds = %14
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %10, align 4
%20 = shl i32 1, %19
%21 = and i32 %18, %20
%22 = icmp ne i32 %21, 0
%23 = zext i1 %22 to i32
%24 = trunc i32 %23 to i8
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %9, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
br label %31
31: ; preds = %17
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %10, align 4
br label %14, !llvm.loop !6
34: ; preds = %14
%35 = load i32, ptr %9, align 4
ret i32 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmgbswavi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @append_int(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %.lr.ph, label %35
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %30
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %10, align 4
%19 = shl i32 1, %18
%20 = and i32 %17, %19
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
%23 = trunc i32 %22 to i8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 %23, ptr %27, align 1
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
br label %30
30: ; preds = %16
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp sge i32 %33, 0
br i1 %34, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %4
%36 = load i32, ptr %9, align 4
ret i32 %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzyfrd2ux.c'
source_filename = "/tmp/tmpzyfrd2ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"type = NUMBER;\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"type = +;\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"type = -;\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"type = *;\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"type = /;\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"type = WORDS;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca [100 x i8], align 16
br label %4
4: ; preds = %44, %0
%5 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @getop(ptr noundef %5)
store i32 %6, ptr %1, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %45
9: ; preds = %4
%10 = load i32, ptr %1, align 4
%11 = icmp eq i32 %10, 48
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str)
br label %44
14: ; preds = %9
%15 = load i32, ptr %1, align 4
%16 = icmp eq i32 %15, 43
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str.1)
br label %43
19: ; preds = %14
%20 = load i32, ptr %1, align 4
%21 = icmp eq i32 %20, 45
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @printf(ptr noundef @.str.2)
br label %42
24: ; preds = %19
%25 = load i32, ptr %1, align 4
%26 = icmp eq i32 %25, 42
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @printf(ptr noundef @.str.3)
br label %41
29: ; preds = %24
%30 = load i32, ptr %1, align 4
%31 = icmp eq i32 %30, 47
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(ptr noundef @.str.4)
br label %40
34: ; preds = %29
%35 = load i32, ptr %1, align 4
%36 = icmp eq i32 %35, 97
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 @printf(ptr noundef @.str.5)
br label %39
39: ; preds = %37, %34
br label %40
40: ; preds = %39, %32
br label %41
41: ; preds = %40, %27
br label %42
42: ; preds = %41, %22
br label %43
43: ; preds = %42, %17
br label %44
44: ; preds = %43, %12
br label %4, !llvm.loop !6
45: ; preds = %4
ret void
}
declare i32 @getop(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzyfrd2ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"type = NUMBER;\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"type = +;\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"type = -;\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"type = *;\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"type = /;\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"type = WORDS;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca [100 x i8], align 16
%4 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @getop(ptr noundef %4)
store i32 %5, ptr %1, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %43
%9 = load i32, ptr %1, align 4
%10 = icmp eq i32 %9, 48
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str)
br label %43
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = icmp eq i32 %14, 43
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.1)
br label %42
18: ; preds = %13
%19 = load i32, ptr %1, align 4
%20 = icmp eq i32 %19, 45
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str.2)
br label %41
23: ; preds = %18
%24 = load i32, ptr %1, align 4
%25 = icmp eq i32 %24, 42
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.3)
br label %40
28: ; preds = %23
%29 = load i32, ptr %1, align 4
%30 = icmp eq i32 %29, 47
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @printf(ptr noundef @.str.4)
br label %39
33: ; preds = %28
%34 = load i32, ptr %1, align 4
%35 = icmp eq i32 %34, 97
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %36, %33
br label %39
39: ; preds = %38, %31
br label %40
40: ; preds = %39, %26
br label %41
41: ; preds = %40, %21
br label %42
42: ; preds = %41, %16
br label %43
43: ; preds = %42, %11
%44 = call i32 @getop(ptr noundef %4)
store i32 %44, ptr %1, align 4
%45 = load i32, ptr @EOF, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %47
47: ; preds = %._crit_edge, %0
ret void
}
declare i32 @getop(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5vol2xye.c'
source_filename = "/tmp/tmp5vol2xye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"/proc/sys/net/mptcp/mptcp_checksum\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [79 x i8] c"Error opening file! Do you have root powers and is this kernel mptcp capable?\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @enable_csum() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %15
9: ; preds = %0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.3, i32 noundef 1)
store i32 %11, ptr %2, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fclose(ptr noundef %12)
%14 = load i32, ptr %2, align 4
store i32 %14, ptr %1, align 4
br label %15
15: ; preds = %9, %7
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5vol2xye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"/proc/sys/net/mptcp/mptcp_checksum\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [79 x i8] c"Error opening file! Do you have root powers and is this kernel mptcp capable?\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @enable_csum() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %15
9: ; preds = %0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.3, i32 noundef 1)
store i32 %11, ptr %2, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fclose(ptr noundef %12)
%14 = load i32, ptr %2, align 4
store i32 %14, ptr %1, align 4
br label %15
15: ; preds = %9, %7
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8jh9_oel.c'
source_filename = "/tmp/tmp8jh9_oel.c"
target datalayout = "e-m:e-p270: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/tmp8jh9_oel.c"
target datalayout = "e-m:e-p270: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/tmpb44ybzga.c'
source_filename = "/tmp/tmpb44ybzga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %4
br label %12
12: ; preds = %11
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb44ybzga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %4, i64 %6
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %11
br label %11
11: ; preds = %10
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %20
20: ; preds = %._crit_edge, %1
%21 = load i32, ptr %3, align 4
ret i32 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4geizke0.c'
source_filename = "/tmp/tmp4geizke0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [130 x i8] c"{Type:\221\22,ToUserId:\2204f69a0e-e468 - 464e-8c0e - a30fc00b37d7\22,Amount:\2210\22,Number:\221\22,Desc:\22\C2\B9\C2\A7\C3\8F\C2\B2\C2\B7\C2\A2\C2\B2\C3\86\C2\A3\C2\A1\22,PayPwd:\22123456\22}\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"A0B5C2D4E7F90301\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"out: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr @.str.1, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @aesbase64encrypt(ptr noundef %6, ptr noundef %7, ptr noundef %3)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
%11 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @aesbase64encrypt(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4geizke0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [130 x i8] c"{Type:\221\22,ToUserId:\2204f69a0e-e468 - 464e-8c0e - a30fc00b37d7\22,Amount:\2210\22,Number:\221\22,Desc:\22\C2\B9\C2\A7\C3\8F\C2\B2\C2\B7\C2\A2\C2\B2\C3\86\C2\A3\C2\A1\22,PayPwd:\22123456\22}\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"A0B5C2D4E7F90301\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"out: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr @.str.1, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @aesbase64encrypt(ptr noundef %6, ptr noundef %7, ptr noundef %3)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
%11 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @aesbase64encrypt(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4t_bqcni.c'
source_filename = "/tmp/tmp4t_bqcni.c"
target datalayout = "e-m:e-p270: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 @sockPing() #0 {
%1 = alloca [32 x i8], align 16
%2 = alloca %struct.timeval, align 4
%3 = alloca %struct.timeval, align 4
%4 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%6 = call i32 @gettimeofday(ptr noundef %2, ptr noundef null)
%7 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%8 = call i32 @SEND(ptr noundef %7, i32 noundef 32, i32 noundef 0)
%9 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%10 = call i32 @RECV(ptr noundef %9, i32 noundef 32, i32 noundef 0)
%11 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = sub nsw i32 %13, %15
%17 = mul nsw i32 %16, 1000
%18 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%19 = load i32, ptr %18, align 4
%20 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%21 = load i32, ptr %20, align 4
%22 = sub nsw i32 %19, %21
%23 = sdiv i32 %22, 1000
%24 = add nsw i32 %17, %23
ret i32 %24
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @SEND(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RECV(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4t_bqcni.c"
target datalayout = "e-m:e-p270: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 @sockPing() #0 {
%1 = alloca [32 x i8], align 16
%2 = alloca %struct.timeval, align 4
%3 = alloca %struct.timeval, align 4
%4 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%6 = call i32 @gettimeofday(ptr noundef %2, ptr noundef null)
%7 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%8 = call i32 @SEND(ptr noundef %7, i32 noundef 32, i32 noundef 0)
%9 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%10 = call i32 @RECV(ptr noundef %9, i32 noundef 32, i32 noundef 0)
%11 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = sub nsw i32 %13, %15
%17 = mul nsw i32 %16, 1000
%18 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%19 = load i32, ptr %18, align 4
%20 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%21 = load i32, ptr %20, align 4
%22 = sub nsw i32 %19, %21
%23 = sdiv i32 %22, 1000
%24 = add nsw i32 %17, %23
ret i32 %24
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @SEND(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RECV(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1i049tj5.c'
source_filename = "/tmp/tmp1i049tj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 15)
ret i32 0
}
declare i32 @foo(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/tmp1i049tj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 15)
ret i32 0
}
declare i32 @foo(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/tmpxyxlrfcr.c'
source_filename = "/tmp/tmpxyxlrfcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_setterm(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 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %16
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @setterm(ptr noundef %13)
%15 = call i32 @report_return(i32 noundef %14)
br label %16
16: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @setterm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxyxlrfcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmd_setterm(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 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %16
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @setterm(ptr noundef %13)
%15 = call i32 @report_return(i32 noundef %14)
br label %16
16: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @setterm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqv70ks4p.c'
source_filename = "/tmp/tmpqv70ks4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Error, not enougth memory!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 160)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @table(ptr noundef %9)
%11 = load ptr, ptr %1, align 8
%12 = call i32 @show(ptr noundef %11)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @table(ptr noundef) #1
declare i32 @show(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpqv70ks4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Error, not enougth memory!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 160)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @table(ptr noundef %9)
%11 = load ptr, ptr %1, align 8
%12 = call i32 @show(ptr noundef %11)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @table(ptr noundef) #1
declare i32 @show(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpnr9s5cm2.c'
source_filename = "/tmp/tmpnr9s5cm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpid_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @getpid()
%4 = load ptr, ptr %2, align 8
store i32 %3, ptr %4, align 4
ret void
}
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnr9s5cm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpid_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @getpid()
%4 = load ptr, ptr %2, align 8
store i32 %3, ptr %4, align 4
ret void
}
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8t5_tudk.c'
source_filename = "/tmp/tmp8t5_tudk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_color_code_size(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %420
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
switch i32 %13, label %419 [
i32 25, label %14
i32 26, label %393
i32 27, label %393
i32 28, label %410
]
14: ; preds = %8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %370 [
i32 70, label %21
i32 66, label %102
i32 42, label %163
i32 64, label %317
i32 69, label %353
i32 98, label %356
i32 28, label %367
]
21: ; preds = %14
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 64
br i1 %28, label %29, label %75
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
br label %32
32: ; preds = %38, %29
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = call i32 @gui_color_attr_get_flag(i8 noundef signext %35)
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %32
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %4, align 8
br label %32, !llvm.loop !6
41: ; preds = %32
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 0
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %74
47: ; preds = %41
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %74
53: ; preds = %47
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 2
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %74
59: ; preds = %53
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 3
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %74
65: ; preds = %59
%66 = load ptr, ptr %4, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 4
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %65
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i8, ptr %72, i64 5
store ptr %73, ptr %4, align 8
br label %74
74: ; preds = %71, %65, %59, %53, %47, %41
br label %101
75: ; preds = %21
br label %76
76: ; preds = %82, %75
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 0
%79 = load i8, ptr %78, align 1
%80 = call i32 @gui_color_attr_get_flag(i8 noundef signext %79)
%81 = icmp sgt i32 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %76
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %4, align 8
br label %76, !llvm.loop !8
85: ; preds = %76
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 0
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %100
91: ; preds = %85
%92 = load ptr, ptr %4, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 1
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %100
97: ; preds = %91
%98 = load ptr, ptr %4, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 2
store ptr %99, ptr %4, align 8
br label %100
100: ; preds = %97, %91, %85
br label %101
101: ; preds = %100, %74
br label %386
102: ; preds = %14
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %4, align 8
%105 = load ptr, ptr %4, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 0
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 64
br i1 %109, label %110, label %146
110: ; preds = %102
%111 = load ptr, ptr %4, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %4, align 8
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds i8, ptr %113, i64 0
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp ne i32 %116, 0
br i1 %117, label %118, label %145
118: ; preds = %110
%119 = load ptr, ptr %4, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 1
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %145
124: ; preds = %118
%125 = load ptr, ptr %4, align 8
%126 = getelementptr inbounds i8, ptr %125, i64 2
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = icmp ne i32 %128, 0
br i1 %129, label %130, label %145
130: ; preds = %124
%131 = load ptr, ptr %4, align 8
%132 = getelementptr inbounds i8, ptr %131, i64 3
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i32
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %145
136: ; preds = %130
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 4
%139 = load i8, ptr %138, align 1
%140 = sext i8 %139 to i32
%141 = icmp ne i32 %140, 0
br i1 %141, label %142, label %145
142: ; preds = %136
%143 = load ptr, ptr %4, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 5
store ptr %144, ptr %4, align 8
br label %145
145: ; preds = %142, %136, %130, %124, %118, %110
br label %162
146: ; preds = %102
%147 = load ptr, ptr %4, align 8
%148 = getelementptr inbounds i8, ptr %147, i64 0
%149 = load i8, ptr %148, align 1
%150 = sext i8 %149 to i32
%151 = icmp ne i32 %150, 0
br i1 %151, label %152, label %161
152: ; preds = %146
%153 = load ptr, ptr %4, align 8
%154 = getelementptr inbounds i8, ptr %153, i64 1
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp ne i32 %156, 0
br i1 %157, label %158, label %161
158: ; preds = %152
%159 = load ptr, ptr %4, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 2
store ptr %160, ptr %4, align 8
br label %161
161: ; preds = %158, %152, %146
br label %162
162: ; preds = %161, %145
br label %386
163: ; preds = %14
%164 = load ptr, ptr %4, align 8
%165 = getelementptr inbounds i8, ptr %164, i32 1
store ptr %165, ptr %4, align 8
%166 = load ptr, ptr %4, align 8
%167 = getelementptr inbounds i8, ptr %166, i64 0
%168 = load i8, ptr %167, align 1
%169 = sext i8 %168 to i32
%170 = icmp eq i32 %169, 64
br i1 %170, label %171, label %217
171: ; preds = %163
%172 = load ptr, ptr %4, align 8
%173 = getelementptr inbounds i8, ptr %172, i32 1
store ptr %173, ptr %4, align 8
br label %174
174: ; preds = %180, %171
%175 = load ptr, ptr %4, align 8
%176 = getelementptr inbounds i8, ptr %175, i64 0
%177 = load i8, ptr %176, align 1
%178 = call i32 @gui_color_attr_get_flag(i8 noundef signext %177)
%179 = icmp sgt i32 %178, 0
br i1 %179, label %180, label %183
180: ; preds = %174
%181 = load ptr, ptr %4, align 8
%182 = getelementptr inbounds i8, ptr %181, i32 1
store ptr %182, ptr %4, align 8
br label %174, !llvm.loop !9
183: ; preds = %174
%184 = load ptr, ptr %4, align 8
%185 = getelementptr inbounds i8, ptr %184, i64 0
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp ne i32 %187, 0
br i1 %188, label %189, label %216
189: ; preds = %183
%190 = load ptr, ptr %4, align 8
%191 = getelementptr inbounds i8, ptr %190, i64 1
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = icmp ne i32 %193, 0
br i1 %194, label %195, label %216
195: ; preds = %189
%196 = load ptr, ptr %4, align 8
%197 = getelementptr inbounds i8, ptr %196, i64 2
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp ne i32 %199, 0
br i1 %200, label %201, label %216
201: ; preds = %195
%202 = load ptr, ptr %4, align 8
%203 = getelementptr inbounds i8, ptr %202, i64 3
%204 = load i8, ptr %203, align 1
%205 = sext i8 %204 to i32
%206 = icmp ne i32 %205, 0
br i1 %206, label %207, label %216
207: ; preds = %201
%208 = load ptr, ptr %4, align 8
%209 = getelementptr inbounds i8, ptr %208, i64 4
%210 = load i8, ptr %209, align 1
%211 = sext i8 %210 to i32
%212 = icmp ne i32 %211, 0
br i1 %212, label %213, label %216
213: ; preds = %207
%214 = load ptr, ptr %4, align 8
%215 = getelementptr inbounds i8, ptr %214, i64 5
store ptr %215, ptr %4, align 8
br label %216
216: ; preds = %213, %207, %201, %195, %189, %183
br label %243
217: ; preds = %163
br label %218
218: ; preds = %224, %217
%219 = load ptr, ptr %4, align 8
%220 = getelementptr inbounds i8, ptr %219, i64 0
%221 = load i8, ptr %220, align 1
%222 = call i32 @gui_color_attr_get_flag(i8 noundef signext %221)
%223 = icmp sgt i32 %222, 0
br i1 %223, label %224, label %227
224: ; preds = %218
%225 = load ptr, ptr %4, align 8
%226 = getelementptr inbounds i8, ptr %225, i32 1
store ptr %226, ptr %4, align 8
br label %218, !llvm.loop !10
227: ; preds = %218
%228 = load ptr, ptr %4, align 8
%229 = getelementptr inbounds i8, ptr %228, i64 0
%230 = load i8, ptr %229, align 1
%231 = sext i8 %230 to i32
%232 = icmp ne i32 %231, 0
br i1 %232, label %233, label %242
233: ; preds = %227
%234 = load ptr, ptr %4, align 8
%235 = getelementptr inbounds i8, ptr %234, i64 1
%236 = load i8, ptr %235, align 1
%237 = sext i8 %236 to i32
%238 = icmp ne i32 %237, 0
br i1 %238, label %239, label %242
239: ; preds = %233
%240 = load ptr, ptr %4, align 8
%241 = getelementptr inbounds i8, ptr %240, i64 2
store ptr %241, ptr %4, align 8
br label %242
242: ; preds = %239, %233, %227
br label %243
243: ; preds = %242, %216
%244 = load ptr, ptr %4, align 8
%245 = getelementptr inbounds i8, ptr %244, i64 0
%246 = load i8, ptr %245, align 1
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 44
br i1 %248, label %255, label %249
249: ; preds = %243
%250 = load ptr, ptr %4, align 8
%251 = getelementptr inbounds i8, ptr %250, i64 0
%252 = load i8, ptr %251, align 1
%253 = sext i8 %252 to i32
%254 = icmp eq i32 %253, 126
br i1 %254, label %255, label %316
255: ; preds = %249, %243
%256 = load ptr, ptr %4, align 8
%257 = getelementptr inbounds i8, ptr %256, i64 1
%258 = load i8, ptr %257, align 1
%259 = sext i8 %258 to i32
%260 = icmp eq i32 %259, 64
br i1 %260, label %261, label %297
261: ; preds = %255
%262 = load ptr, ptr %4, align 8
%263 = getelementptr inbounds i8, ptr %262, i64 2
store ptr %263, ptr %4, align 8
%264 = load ptr, ptr %4, align 8
%265 = getelementptr inbounds i8, ptr %264, i64 0
%266 = load i8, ptr %265, align 1
%267 = sext i8 %266 to i32
%268 = icmp ne i32 %267, 0
br i1 %268, label %269, label %296
269: ; preds = %261
%270 = load ptr, ptr %4, align 8
%271 = getelementptr inbounds i8, ptr %270, i64 1
%272 = load i8, ptr %271, align 1
%273 = sext i8 %272 to i32
%274 = icmp ne i32 %273, 0
br i1 %274, label %275, label %296
275: ; preds = %269
%276 = load ptr, ptr %4, align 8
%277 = getelementptr inbounds i8, ptr %276, i64 2
%278 = load i8, ptr %277, align 1
%279 = sext i8 %278 to i32
%280 = icmp ne i32 %279, 0
br i1 %280, label %281, label %296
281: ; preds = %275
%282 = load ptr, ptr %4, align 8
%283 = getelementptr inbounds i8, ptr %282, i64 3
%284 = load i8, ptr %283, align 1
%285 = sext i8 %284 to i32
%286 = icmp ne i32 %285, 0
br i1 %286, label %287, label %296
287: ; preds = %281
%288 = load ptr, ptr %4, align 8
%289 = getelementptr inbounds i8, ptr %288, i64 4
%290 = load i8, ptr %289, align 1
%291 = sext i8 %290 to i32
%292 = icmp ne i32 %291, 0
br i1 %292, label %293, label %296
293: ; preds = %287
%294 = load ptr, ptr %4, align 8
%295 = getelementptr inbounds i8, ptr %294, i64 5
store ptr %295, ptr %4, align 8
br label %296
296: ; preds = %293, %287, %281, %275, %269, %261
br label %315
297: ; preds = %255
%298 = load ptr, ptr %4, align 8
%299 = getelementptr inbounds i8, ptr %298, i32 1
store ptr %299, ptr %4, align 8
%300 = load ptr, ptr %4, align 8
%301 = getelementptr inbounds i8, ptr %300, i64 0
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp ne i32 %303, 0
br i1 %304, label %305, label %314
305: ; preds = %297
%306 = load ptr, ptr %4, align 8
%307 = getelementptr inbounds i8, ptr %306, i64 1
%308 = load i8, ptr %307, align 1
%309 = sext i8 %308 to i32
%310 = icmp ne i32 %309, 0
br i1 %310, label %311, label %314
311: ; preds = %305
%312 = load ptr, ptr %4, align 8
%313 = getelementptr inbounds i8, ptr %312, i64 2
store ptr %313, ptr %4, align 8
br label %314
314: ; preds = %311, %305, %297
br label %315
315: ; preds = %314, %296
br label %316
316: ; preds = %315, %249
br label %386
317: ; preds = %14
%318 = load ptr, ptr %4, align 8
%319 = getelementptr inbounds i8, ptr %318, i32 1
store ptr %319, ptr %4, align 8
%320 = load ptr, ptr %4, align 8
%321 = getelementptr inbounds i8, ptr %320, i64 0
%322 = load i8, ptr %321, align 1
%323 = call i32 @isdigit(i8 noundef zeroext %322)
%324 = icmp ne i32 %323, 0
br i1 %324, label %325, label %352
325: ; preds = %317
%326 = load ptr, ptr %4, align 8
%327 = getelementptr inbounds i8, ptr %326, i64 1
%328 = load i8, ptr %327, align 1
%329 = call i32 @isdigit(i8 noundef zeroext %328)
%330 = icmp ne i32 %329, 0
br i1 %330, label %331, label %352
331: ; preds = %325
%332 = load ptr, ptr %4, align 8
%333 = getelementptr inbounds i8, ptr %332, i64 2
%334 = load i8, ptr %333, align 1
%335 = call i32 @isdigit(i8 noundef zeroext %334)
%336 = icmp ne i32 %335, 0
br i1 %336, label %337, label %352
337: ; preds = %331
%338 = load ptr, ptr %4, align 8
%339 = getelementptr inbounds i8, ptr %338, i64 3
%340 = load i8, ptr %339, align 1
%341 = call i32 @isdigit(i8 noundef zeroext %340)
%342 = icmp ne i32 %341, 0
br i1 %342, label %343, label %352
343: ; preds = %337
%344 = load ptr, ptr %4, align 8
%345 = getelementptr inbounds i8, ptr %344, i64 4
%346 = load i8, ptr %345, align 1
%347 = call i32 @isdigit(i8 noundef zeroext %346)
%348 = icmp ne i32 %347, 0
br i1 %348, label %349, label %352
349: ; preds = %343
%350 = load ptr, ptr %4, align 8
%351 = getelementptr inbounds i8, ptr %350, i64 5
store ptr %351, ptr %4, align 8
br label %352
352: ; preds = %349, %343, %337, %331, %325, %317
br label %386
353: ; preds = %14
%354 = load ptr, ptr %4, align 8
%355 = getelementptr inbounds i8, ptr %354, i32 1
store ptr %355, ptr %4, align 8
br label %386
356: ; preds = %14
%357 = load ptr, ptr %4, align 8
%358 = getelementptr inbounds i8, ptr %357, i32 1
store ptr %358, ptr %4, align 8
%359 = load ptr, ptr %4, align 8
%360 = getelementptr inbounds i8, ptr %359, i64 0
%361 = load i8, ptr %360, align 1
%362 = sext i8 %361 to i32
switch i32 %362, label %366 [
i32 70, label %363
i32 66, label %363
i32 68, label %363
i32 95, label %363
i32 45, label %363
i32 35, label %363
i32 105, label %363
i32 108, label %363
]
363: ; preds = %356, %356, %356, %356, %356, %356, %356, %356
%364 = load ptr, ptr %4, align 8
%365 = getelementptr inbounds i8, ptr %364, i32 1
store ptr %365, ptr %4, align 8
br label %366
366: ; preds = %356, %363
br label %386
367: ; preds = %14
%368 = load ptr, ptr %4, align 8
%369 = getelementptr inbounds i8, ptr %368, i32 1
store ptr %369, ptr %4, align 8
br label %386
370: ; preds = %14
%371 = load ptr, ptr %4, align 8
%372 = getelementptr inbounds i8, ptr %371, i64 0
%373 = load i8, ptr %372, align 1
%374 = call i32 @isdigit(i8 noundef zeroext %373)
%375 = icmp ne i32 %374, 0
br i1 %375, label %376, label %385
376: ; preds = %370
%377 = load ptr, ptr %4, align 8
%378 = getelementptr inbounds i8, ptr %377, i64 1
%379 = load i8, ptr %378, align 1
%380 = call i32 @isdigit(i8 noundef zeroext %379)
%381 = icmp ne i32 %380, 0
br i1 %381, label %382, label %385
382: ; preds = %376
%383 = load ptr, ptr %4, align 8
%384 = getelementptr inbounds i8, ptr %383, i64 2
store ptr %384, ptr %4, align 8
br label %385
385: ; preds = %382, %376, %370
br label %386
386: ; preds = %385, %367, %366, %353, %352, %316, %162, %101
%387 = load ptr, ptr %4, align 8
%388 = load ptr, ptr %3, align 8
%389 = ptrtoint ptr %387 to i64
%390 = ptrtoint ptr %388 to i64
%391 = sub i64 %389, %390
%392 = trunc i64 %391 to i32
store i32 %392, ptr %2, align 4
br label %420
393: ; preds = %8, %8
%394 = load ptr, ptr %4, align 8
%395 = getelementptr inbounds i8, ptr %394, i32 1
store ptr %395, ptr %4, align 8
%396 = load ptr, ptr %4, align 8
%397 = getelementptr inbounds i8, ptr %396, i64 0
%398 = load i8, ptr %397, align 1
%399 = icmp ne i8 %398, 0
br i1 %399, label %400, label %403
400: ; preds = %393
%401 = load ptr, ptr %4, align 8
%402 = getelementptr inbounds i8, ptr %401, i32 1
store ptr %402, ptr %4, align 8
br label %403
403: ; preds = %400, %393
%404 = load ptr, ptr %4, align 8
%405 = load ptr, ptr %3, align 8
%406 = ptrtoint ptr %404 to i64
%407 = ptrtoint ptr %405 to i64
%408 = sub i64 %406, %407
%409 = trunc i64 %408 to i32
store i32 %409, ptr %2, align 4
br label %420
410: ; preds = %8
%411 = load ptr, ptr %4, align 8
%412 = getelementptr inbounds i8, ptr %411, i32 1
store ptr %412, ptr %4, align 8
%413 = load ptr, ptr %4, align 8
%414 = load ptr, ptr %3, align 8
%415 = ptrtoint ptr %413 to i64
%416 = ptrtoint ptr %414 to i64
%417 = sub i64 %415, %416
%418 = trunc i64 %417 to i32
store i32 %418, ptr %2, align 4
br label %420
419: ; preds = %8
store i32 0, ptr %2, align 4
br label %420
420: ; preds = %419, %410, %403, %386, %7
%421 = load i32, ptr %2, align 4
ret i32 %421
}
declare i32 @gui_color_attr_get_flag(i8 noundef signext) #1
declare i32 @isdigit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8t5_tudk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_color_code_size(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %432
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
switch i32 %13, label %431 [
i32 25, label %14
i32 26, label %405
i32 27, label %405
i32 28, label %422
]
14: ; preds = %8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %382 [
i32 70, label %21
i32 66, label %108
i32 42, label %169
i32 64, label %329
i32 69, label %365
i32 98, label %368
i32 28, label %379
]
21: ; preds = %14
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 64
br i1 %28, label %29, label %78
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = load i8, ptr %32, align 1
%34 = call i32 @gui_color_attr_get_flag(i8 noundef signext %33)
%35 = icmp sgt i32 %34, 0
br i1 %35, label %.lr.ph8, label %44
.lr.ph8: ; preds = %29
br label %36
36: ; preds = %.lr.ph8, %36
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %4, align 8
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 0
%41 = load i8, ptr %40, align 1
%42 = call i32 @gui_color_attr_get_flag(i8 noundef signext %41)
%43 = icmp sgt i32 %42, 0
br i1 %43, label %36, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %36
br label %44
44: ; preds = %._crit_edge9, %29
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 0
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %77
50: ; preds = %44
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 1
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %77
56: ; preds = %50
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 2
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %77
62: ; preds = %56
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 3
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %77
68: ; preds = %62
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 4
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %68
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 5
store ptr %76, ptr %4, align 8
br label %77
77: ; preds = %74, %68, %62, %56, %50, %44
br label %107
78: ; preds = %21
%79 = load ptr, ptr %4, align 8
%80 = load i8, ptr %79, align 1
%81 = call i32 @gui_color_attr_get_flag(i8 noundef signext %80)
%82 = icmp sgt i32 %81, 0
br i1 %82, label %.lr.ph5, label %91
.lr.ph5: ; preds = %78
br label %83
83: ; preds = %.lr.ph5, %83
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %4, align 8
%86 = load ptr, ptr %4, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 0
%88 = load i8, ptr %87, align 1
%89 = call i32 @gui_color_attr_get_flag(i8 noundef signext %88)
%90 = icmp sgt i32 %89, 0
br i1 %90, label %83, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %83
br label %91
91: ; preds = %._crit_edge6, %78
%92 = load ptr, ptr %4, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 0
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %106
97: ; preds = %91
%98 = load ptr, ptr %4, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 1
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %106
103: ; preds = %97
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 2
store ptr %105, ptr %4, align 8
br label %106
106: ; preds = %103, %97, %91
br label %107
107: ; preds = %106, %77
br label %398
108: ; preds = %14
%109 = load ptr, ptr %4, align 8
%110 = getelementptr inbounds i8, ptr %109, i32 1
store ptr %110, ptr %4, align 8
%111 = load ptr, ptr %4, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 0
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 64
br i1 %115, label %116, label %152
116: ; preds = %108
%117 = load ptr, ptr %4, align 8
%118 = getelementptr inbounds i8, ptr %117, i32 1
store ptr %118, ptr %4, align 8
%119 = load ptr, ptr %4, align 8
%120 = getelementptr inbounds i8, ptr %119, i64 0
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %151
124: ; preds = %116
%125 = load ptr, ptr %4, align 8
%126 = getelementptr inbounds i8, ptr %125, i64 1
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = icmp ne i32 %128, 0
br i1 %129, label %130, label %151
130: ; preds = %124
%131 = load ptr, ptr %4, align 8
%132 = getelementptr inbounds i8, ptr %131, i64 2
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i32
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %151
136: ; preds = %130
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 3
%139 = load i8, ptr %138, align 1
%140 = sext i8 %139 to i32
%141 = icmp ne i32 %140, 0
br i1 %141, label %142, label %151
142: ; preds = %136
%143 = load ptr, ptr %4, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 4
%145 = load i8, ptr %144, align 1
%146 = sext i8 %145 to i32
%147 = icmp ne i32 %146, 0
br i1 %147, label %148, label %151
148: ; preds = %142
%149 = load ptr, ptr %4, align 8
%150 = getelementptr inbounds i8, ptr %149, i64 5
store ptr %150, ptr %4, align 8
br label %151
151: ; preds = %148, %142, %136, %130, %124, %116
br label %168
152: ; preds = %108
%153 = load ptr, ptr %4, align 8
%154 = getelementptr inbounds i8, ptr %153, i64 0
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp ne i32 %156, 0
br i1 %157, label %158, label %167
158: ; preds = %152
%159 = load ptr, ptr %4, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 1
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %167
164: ; preds = %158
%165 = load ptr, ptr %4, align 8
%166 = getelementptr inbounds i8, ptr %165, i64 2
store ptr %166, ptr %4, align 8
br label %167
167: ; preds = %164, %158, %152
br label %168
168: ; preds = %167, %151
br label %398
169: ; preds = %14
%170 = load ptr, ptr %4, align 8
%171 = getelementptr inbounds i8, ptr %170, i32 1
store ptr %171, ptr %4, align 8
%172 = load ptr, ptr %4, align 8
%173 = getelementptr inbounds i8, ptr %172, i64 0
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = icmp eq i32 %175, 64
br i1 %176, label %177, label %226
177: ; preds = %169
%178 = load ptr, ptr %4, align 8
%179 = getelementptr inbounds i8, ptr %178, i32 1
store ptr %179, ptr %4, align 8
%180 = load ptr, ptr %4, align 8
%181 = load i8, ptr %180, align 1
%182 = call i32 @gui_color_attr_get_flag(i8 noundef signext %181)
%183 = icmp sgt i32 %182, 0
br i1 %183, label %.lr.ph2, label %192
.lr.ph2: ; preds = %177
br label %184
184: ; preds = %.lr.ph2, %184
%185 = load ptr, ptr %4, align 8
%186 = getelementptr inbounds i8, ptr %185, i32 1
store ptr %186, ptr %4, align 8
%187 = load ptr, ptr %4, align 8
%188 = getelementptr inbounds i8, ptr %187, i64 0
%189 = load i8, ptr %188, align 1
%190 = call i32 @gui_color_attr_get_flag(i8 noundef signext %189)
%191 = icmp sgt i32 %190, 0
br i1 %191, label %184, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %184
br label %192
192: ; preds = %._crit_edge3, %177
%193 = load ptr, ptr %4, align 8
%194 = getelementptr inbounds i8, ptr %193, i64 0
%195 = load i8, ptr %194, align 1
%196 = sext i8 %195 to i32
%197 = icmp ne i32 %196, 0
br i1 %197, label %198, label %225
198: ; preds = %192
%199 = load ptr, ptr %4, align 8
%200 = getelementptr inbounds i8, ptr %199, i64 1
%201 = load i8, ptr %200, align 1
%202 = sext i8 %201 to i32
%203 = icmp ne i32 %202, 0
br i1 %203, label %204, label %225
204: ; preds = %198
%205 = load ptr, ptr %4, align 8
%206 = getelementptr inbounds i8, ptr %205, i64 2
%207 = load i8, ptr %206, align 1
%208 = sext i8 %207 to i32
%209 = icmp ne i32 %208, 0
br i1 %209, label %210, label %225
210: ; preds = %204
%211 = load ptr, ptr %4, align 8
%212 = getelementptr inbounds i8, ptr %211, i64 3
%213 = load i8, ptr %212, align 1
%214 = sext i8 %213 to i32
%215 = icmp ne i32 %214, 0
br i1 %215, label %216, label %225
216: ; preds = %210
%217 = load ptr, ptr %4, align 8
%218 = getelementptr inbounds i8, ptr %217, i64 4
%219 = load i8, ptr %218, align 1
%220 = sext i8 %219 to i32
%221 = icmp ne i32 %220, 0
br i1 %221, label %222, label %225
222: ; preds = %216
%223 = load ptr, ptr %4, align 8
%224 = getelementptr inbounds i8, ptr %223, i64 5
store ptr %224, ptr %4, align 8
br label %225
225: ; preds = %222, %216, %210, %204, %198, %192
br label %255
226: ; preds = %169
%227 = load ptr, ptr %4, align 8
%228 = load i8, ptr %227, align 1
%229 = call i32 @gui_color_attr_get_flag(i8 noundef signext %228)
%230 = icmp sgt i32 %229, 0
br i1 %230, label %.lr.ph, label %239
.lr.ph: ; preds = %226
br label %231
231: ; preds = %.lr.ph, %231
%232 = load ptr, ptr %4, align 8
%233 = getelementptr inbounds i8, ptr %232, i32 1
store ptr %233, ptr %4, align 8
%234 = load ptr, ptr %4, align 8
%235 = getelementptr inbounds i8, ptr %234, i64 0
%236 = load i8, ptr %235, align 1
%237 = call i32 @gui_color_attr_get_flag(i8 noundef signext %236)
%238 = icmp sgt i32 %237, 0
br i1 %238, label %231, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %231
br label %239
239: ; preds = %._crit_edge, %226
%240 = load ptr, ptr %4, align 8
%241 = getelementptr inbounds i8, ptr %240, i64 0
%242 = load i8, ptr %241, align 1
%243 = sext i8 %242 to i32
%244 = icmp ne i32 %243, 0
br i1 %244, label %245, label %254
245: ; preds = %239
%246 = load ptr, ptr %4, align 8
%247 = getelementptr inbounds i8, ptr %246, i64 1
%248 = load i8, ptr %247, align 1
%249 = sext i8 %248 to i32
%250 = icmp ne i32 %249, 0
br i1 %250, label %251, label %254
251: ; preds = %245
%252 = load ptr, ptr %4, align 8
%253 = getelementptr inbounds i8, ptr %252, i64 2
store ptr %253, ptr %4, align 8
br label %254
254: ; preds = %251, %245, %239
br label %255
255: ; preds = %254, %225
%256 = load ptr, ptr %4, align 8
%257 = getelementptr inbounds i8, ptr %256, i64 0
%258 = load i8, ptr %257, align 1
%259 = sext i8 %258 to i32
%260 = icmp eq i32 %259, 44
br i1 %260, label %267, label %261
261: ; preds = %255
%262 = load ptr, ptr %4, align 8
%263 = getelementptr inbounds i8, ptr %262, i64 0
%264 = load i8, ptr %263, align 1
%265 = sext i8 %264 to i32
%266 = icmp eq i32 %265, 126
br i1 %266, label %267, label %328
267: ; preds = %261, %255
%268 = load ptr, ptr %4, align 8
%269 = getelementptr inbounds i8, ptr %268, i64 1
%270 = load i8, ptr %269, align 1
%271 = sext i8 %270 to i32
%272 = icmp eq i32 %271, 64
br i1 %272, label %273, label %309
273: ; preds = %267
%274 = load ptr, ptr %4, align 8
%275 = getelementptr inbounds i8, ptr %274, i64 2
store ptr %275, ptr %4, align 8
%276 = load ptr, ptr %4, align 8
%277 = getelementptr inbounds i8, ptr %276, i64 0
%278 = load i8, ptr %277, align 1
%279 = sext i8 %278 to i32
%280 = icmp ne i32 %279, 0
br i1 %280, label %281, label %308
281: ; preds = %273
%282 = load ptr, ptr %4, align 8
%283 = getelementptr inbounds i8, ptr %282, i64 1
%284 = load i8, ptr %283, align 1
%285 = sext i8 %284 to i32
%286 = icmp ne i32 %285, 0
br i1 %286, label %287, label %308
287: ; preds = %281
%288 = load ptr, ptr %4, align 8
%289 = getelementptr inbounds i8, ptr %288, i64 2
%290 = load i8, ptr %289, align 1
%291 = sext i8 %290 to i32
%292 = icmp ne i32 %291, 0
br i1 %292, label %293, label %308
293: ; preds = %287
%294 = load ptr, ptr %4, align 8
%295 = getelementptr inbounds i8, ptr %294, i64 3
%296 = load i8, ptr %295, align 1
%297 = sext i8 %296 to i32
%298 = icmp ne i32 %297, 0
br i1 %298, label %299, label %308
299: ; preds = %293
%300 = load ptr, ptr %4, align 8
%301 = getelementptr inbounds i8, ptr %300, i64 4
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp ne i32 %303, 0
br i1 %304, label %305, label %308
305: ; preds = %299
%306 = load ptr, ptr %4, align 8
%307 = getelementptr inbounds i8, ptr %306, i64 5
store ptr %307, ptr %4, align 8
br label %308
308: ; preds = %305, %299, %293, %287, %281, %273
br label %327
309: ; preds = %267
%310 = load ptr, ptr %4, align 8
%311 = getelementptr inbounds i8, ptr %310, i32 1
store ptr %311, ptr %4, align 8
%312 = load ptr, ptr %4, align 8
%313 = getelementptr inbounds i8, ptr %312, i64 0
%314 = load i8, ptr %313, align 1
%315 = sext i8 %314 to i32
%316 = icmp ne i32 %315, 0
br i1 %316, label %317, label %326
317: ; preds = %309
%318 = load ptr, ptr %4, align 8
%319 = getelementptr inbounds i8, ptr %318, i64 1
%320 = load i8, ptr %319, align 1
%321 = sext i8 %320 to i32
%322 = icmp ne i32 %321, 0
br i1 %322, label %323, label %326
323: ; preds = %317
%324 = load ptr, ptr %4, align 8
%325 = getelementptr inbounds i8, ptr %324, i64 2
store ptr %325, ptr %4, align 8
br label %326
326: ; preds = %323, %317, %309
br label %327
327: ; preds = %326, %308
br label %328
328: ; preds = %327, %261
br label %398
329: ; preds = %14
%330 = load ptr, ptr %4, align 8
%331 = getelementptr inbounds i8, ptr %330, i32 1
store ptr %331, ptr %4, align 8
%332 = load ptr, ptr %4, align 8
%333 = getelementptr inbounds i8, ptr %332, i64 0
%334 = load i8, ptr %333, align 1
%335 = call i32 @isdigit(i8 noundef zeroext %334)
%336 = icmp ne i32 %335, 0
br i1 %336, label %337, label %364
337: ; preds = %329
%338 = load ptr, ptr %4, align 8
%339 = getelementptr inbounds i8, ptr %338, i64 1
%340 = load i8, ptr %339, align 1
%341 = call i32 @isdigit(i8 noundef zeroext %340)
%342 = icmp ne i32 %341, 0
br i1 %342, label %343, label %364
343: ; preds = %337
%344 = load ptr, ptr %4, align 8
%345 = getelementptr inbounds i8, ptr %344, i64 2
%346 = load i8, ptr %345, align 1
%347 = call i32 @isdigit(i8 noundef zeroext %346)
%348 = icmp ne i32 %347, 0
br i1 %348, label %349, label %364
349: ; preds = %343
%350 = load ptr, ptr %4, align 8
%351 = getelementptr inbounds i8, ptr %350, i64 3
%352 = load i8, ptr %351, align 1
%353 = call i32 @isdigit(i8 noundef zeroext %352)
%354 = icmp ne i32 %353, 0
br i1 %354, label %355, label %364
355: ; preds = %349
%356 = load ptr, ptr %4, align 8
%357 = getelementptr inbounds i8, ptr %356, i64 4
%358 = load i8, ptr %357, align 1
%359 = call i32 @isdigit(i8 noundef zeroext %358)
%360 = icmp ne i32 %359, 0
br i1 %360, label %361, label %364
361: ; preds = %355
%362 = load ptr, ptr %4, align 8
%363 = getelementptr inbounds i8, ptr %362, i64 5
store ptr %363, ptr %4, align 8
br label %364
364: ; preds = %361, %355, %349, %343, %337, %329
br label %398
365: ; preds = %14
%366 = load ptr, ptr %4, align 8
%367 = getelementptr inbounds i8, ptr %366, i32 1
store ptr %367, ptr %4, align 8
br label %398
368: ; preds = %14
%369 = load ptr, ptr %4, align 8
%370 = getelementptr inbounds i8, ptr %369, i32 1
store ptr %370, ptr %4, align 8
%371 = load ptr, ptr %4, align 8
%372 = getelementptr inbounds i8, ptr %371, i64 0
%373 = load i8, ptr %372, align 1
%374 = sext i8 %373 to i32
switch i32 %374, label %378 [
i32 70, label %375
i32 66, label %375
i32 68, label %375
i32 95, label %375
i32 45, label %375
i32 35, label %375
i32 105, label %375
i32 108, label %375
]
375: ; preds = %368, %368, %368, %368, %368, %368, %368, %368
%376 = load ptr, ptr %4, align 8
%377 = getelementptr inbounds i8, ptr %376, i32 1
store ptr %377, ptr %4, align 8
br label %378
378: ; preds = %375, %368
br label %398
379: ; preds = %14
%380 = load ptr, ptr %4, align 8
%381 = getelementptr inbounds i8, ptr %380, i32 1
store ptr %381, ptr %4, align 8
br label %398
382: ; preds = %14
%383 = load ptr, ptr %4, align 8
%384 = getelementptr inbounds i8, ptr %383, i64 0
%385 = load i8, ptr %384, align 1
%386 = call i32 @isdigit(i8 noundef zeroext %385)
%387 = icmp ne i32 %386, 0
br i1 %387, label %388, label %397
388: ; preds = %382
%389 = load ptr, ptr %4, align 8
%390 = getelementptr inbounds i8, ptr %389, i64 1
%391 = load i8, ptr %390, align 1
%392 = call i32 @isdigit(i8 noundef zeroext %391)
%393 = icmp ne i32 %392, 0
br i1 %393, label %394, label %397
394: ; preds = %388
%395 = load ptr, ptr %4, align 8
%396 = getelementptr inbounds i8, ptr %395, i64 2
store ptr %396, ptr %4, align 8
br label %397
397: ; preds = %394, %388, %382
br label %398
398: ; preds = %397, %379, %378, %365, %364, %328, %168, %107
%399 = load ptr, ptr %4, align 8
%400 = load ptr, ptr %3, align 8
%401 = ptrtoint ptr %399 to i64
%402 = ptrtoint ptr %400 to i64
%403 = sub i64 %401, %402
%404 = trunc i64 %403 to i32
store i32 %404, ptr %2, align 4
br label %432
405: ; preds = %8, %8
%406 = load ptr, ptr %4, align 8
%407 = getelementptr inbounds i8, ptr %406, i32 1
store ptr %407, ptr %4, align 8
%408 = load ptr, ptr %4, align 8
%409 = getelementptr inbounds i8, ptr %408, i64 0
%410 = load i8, ptr %409, align 1
%411 = icmp ne i8 %410, 0
br i1 %411, label %412, label %415
412: ; preds = %405
%413 = load ptr, ptr %4, align 8
%414 = getelementptr inbounds i8, ptr %413, i32 1
store ptr %414, ptr %4, align 8
br label %415
415: ; preds = %412, %405
%416 = load ptr, ptr %4, align 8
%417 = load ptr, ptr %3, align 8
%418 = ptrtoint ptr %416 to i64
%419 = ptrtoint ptr %417 to i64
%420 = sub i64 %418, %419
%421 = trunc i64 %420 to i32
store i32 %421, ptr %2, align 4
br label %432
422: ; preds = %8
%423 = load ptr, ptr %4, align 8
%424 = getelementptr inbounds i8, ptr %423, i32 1
store ptr %424, ptr %4, align 8
%425 = load ptr, ptr %4, align 8
%426 = load ptr, ptr %3, align 8
%427 = ptrtoint ptr %425 to i64
%428 = ptrtoint ptr %426 to i64
%429 = sub i64 %427, %428
%430 = trunc i64 %429 to i32
store i32 %430, ptr %2, align 4
br label %432
431: ; preds = %8
store i32 0, ptr %2, align 4
br label %432
432: ; preds = %431, %422, %415, %398, %7
%433 = load i32, ptr %2, align 4
ret i32 %433
}
declare i32 @gui_color_attr_get_flag(i8 noundef signext) #1
declare i32 @isdigit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmptblenxrr.c'
source_filename = "/tmp/tmptblenxrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Main program\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptblenxrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Main program\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaq0pxjoq.c'
source_filename = "/tmp/tmpaq0pxjoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Please enter Integer data:\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"a[%i]=\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"\0AThe original numbers:\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%5d\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"\0AThe sorted numbers:\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10 x i32], align 16
%4 = alloca i32, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %19
9: ; preds = %6
%10 = load i32, ptr %1, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load i32, ptr %1, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %13
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %1, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %1, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %21
21: ; preds = %30, %19
%22 = load i32, ptr %1, align 4
%23 = icmp slt i32 %22, 10
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, ptr %1, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %1, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %1, align 4
br label %21, !llvm.loop !8
33: ; preds = %21
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %74, %33
%35 = load i32, ptr %1, align 4
%36 = icmp slt i32 %35, 10
br i1 %36, label %37, label %77
37: ; preds = %34
%38 = load i32, ptr %1, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
br label %40
40: ; preds = %70, %37
%41 = load i32, ptr %2, align 4
%42 = icmp slt i32 %41, 10
br i1 %42, label %43, label %73
43: ; preds = %40
%44 = load i32, ptr %1, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %2, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = icmp sgt i32 %47, %51
br i1 %52, label %53, label %69
53: ; preds = %43
%54 = load i32, ptr %1, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %4, align 4
%58 = load i32, ptr %2, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr %1, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %63
store i32 %61, ptr %64, align 4
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr %2, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %67
store i32 %65, ptr %68, align 4
br label %69
69: ; preds = %53, %43
br label %70
70: ; preds = %69
%71 = load i32, ptr %2, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %2, align 4
br label %40, !llvm.loop !9
73: ; preds = %40
br label %74
74: ; preds = %73
%75 = load i32, ptr %1, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %1, align 4
br label %34, !llvm.loop !10
77: ; preds = %34
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
br label %79
79: ; preds = %88, %77
%80 = load i32, ptr %1, align 4
%81 = icmp slt i32 %80, 10
br i1 %81, label %82, label %91
82: ; preds = %79
%83 = load i32, ptr %1, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %86)
br label %88
88: ; preds = %82
%89 = load i32, ptr %1, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %1, align 4
br label %79, !llvm.loop !11
91: ; preds = %79
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaq0pxjoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Please enter Integer data:\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"a[%i]=\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"\0AThe original numbers:\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%5d\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"\0AThe sorted numbers:\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10 x i32], align 16
%4 = alloca i32, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %15
%9 = load i32, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13)
br label %15
15: ; preds = %8
%16 = load i32, ptr %1, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
%22 = load i32, ptr %1, align 4
%23 = icmp slt i32 %22, 10
br i1 %23, label %.lr.ph2, label %35
.lr.ph2: ; preds = %20
br label %24
24: ; preds = %.lr.ph2, %30
%25 = load i32, ptr %1, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %1, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp slt i32 %33, 10
br i1 %34, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %20
store i32 0, ptr %1, align 4
%36 = load i32, ptr %1, align 4
%37 = icmp slt i32 %36, 10
br i1 %37, label %.lr.ph8, label %81
.lr.ph8: ; preds = %35
br label %38
38: ; preds = %.lr.ph8, %76
%39 = load i32, ptr %1, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp slt i32 %41, 10
br i1 %42, label %.lr.ph5, label %75
.lr.ph5: ; preds = %38
br label %43
43: ; preds = %.lr.ph5, %70
%44 = load i32, ptr %1, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %2, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = icmp sgt i32 %47, %51
br i1 %52, label %53, label %69
53: ; preds = %43
%54 = load i32, ptr %1, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %4, align 4
%58 = load i32, ptr %2, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr %1, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %63
store i32 %61, ptr %64, align 4
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr %2, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %67
store i32 %65, ptr %68, align 4
br label %69
69: ; preds = %53, %43
br label %70
70: ; preds = %69
%71 = load i32, ptr %2, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %2, align 4
%73 = load i32, ptr %2, align 4
%74 = icmp slt i32 %73, 10
br i1 %74, label %43, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %70
br label %75
75: ; preds = %._crit_edge6, %38
br label %76
76: ; preds = %75
%77 = load i32, ptr %1, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %1, align 4
%79 = load i32, ptr %1, align 4
%80 = icmp slt i32 %79, 10
br i1 %80, label %38, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %76
br label %81
81: ; preds = %._crit_edge9, %35
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
%83 = load i32, ptr %1, align 4
%84 = icmp slt i32 %83, 10
br i1 %84, label %.lr.ph11, label %96
.lr.ph11: ; preds = %81
br label %85
85: ; preds = %.lr.ph11, %91
%86 = load i32, ptr %1, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %89)
br label %91
91: ; preds = %85
%92 = load i32, ptr %1, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %1, align 4
%94 = load i32, ptr %1, align 4
%95 = icmp slt i32 %94, 10
br i1 %95, label %85, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %91
br label %96
96: ; preds = %._crit_edge12, %81
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpx12wddno.c'
source_filename = "/tmp/tmpx12wddno.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%dD\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @go_left(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx12wddno.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%dD\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @go_left(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcoxyakxl.c'
source_filename = "/tmp/tmpcoxyakxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"ERROR: Too many iterations in tqli\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tqli(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 1, ptr %12, align 4
br label %22
22: ; preds = %37, %4
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %12, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %32, i64 %35
store double %31, ptr %36, align 8
br label %37
37: ; preds = %26
%38 = load i32, ptr %12, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %12, align 4
br label %22, !llvm.loop !6
40: ; preds = %22
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = sub nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %41, i64 %44
store double 0.000000e+00, ptr %45, align 8
store i32 0, ptr %10, align 4
br label %46
46: ; preds = %338, %40
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %341
50: ; preds = %46
store i32 0, ptr %11, align 4
br label %51
51: ; preds = %333, %50
%52 = load i32, ptr %10, align 4
store i32 %52, ptr %9, align 4
br label %53
53: ; preds = %85, %51
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %7, align 4
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %58, label %88
58: ; preds = %53
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = call double @llvm.fabs.f64(double %63)
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %65, i64 %68
%70 = load double, ptr %69, align 8
%71 = call double @llvm.fabs.f64(double %70)
%72 = fadd double %64, %71
store double %72, ptr %19, align 8
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
%78 = call double @llvm.fabs.f64(double %77)
%79 = load double, ptr %19, align 8
%80 = fadd double %78, %79
%81 = load double, ptr %19, align 8
%82 = fcmp oeq double %80, %81
br i1 %82, label %83, label %84
83: ; preds = %58
br label %88
84: ; preds = %58
br label %85
85: ; preds = %84
%86 = load i32, ptr %9, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %9, align 4
br label %53, !llvm.loop !8
88: ; preds = %83, %53
%89 = load i32, ptr %9, align 4
%90 = load i32, ptr %10, align 4
%91 = icmp ne i32 %89, %90
br i1 %91, label %92, label %332
92: ; preds = %88
%93 = load i32, ptr %11, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %11, align 4
%95 = icmp eq i32 %93, 30
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = call i32 @printf(ptr noundef @.str)
%98 = call i32 @Finalize(i32 noundef 1)
br label %99
99: ; preds = %96, %92
%100 = load ptr, ptr %5, align 8
%101 = load i32, ptr %10, align 4
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %100, i64 %103
%105 = load double, ptr %104, align 8
%106 = load ptr, ptr %5, align 8
%107 = load i32, ptr %10, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, ptr %106, i64 %108
%110 = load double, ptr %109, align 8
%111 = fsub double %105, %110
%112 = load ptr, ptr %6, align 8
%113 = load i32, ptr %10, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = fmul double 2.000000e+00, %116
%118 = fdiv double %111, %117
store double %118, ptr %17, align 8
%119 = load double, ptr %17, align 8
%120 = call double @pythag(double noundef %119, double noundef 1.000000e+00)
store double %120, ptr %15, align 8
%121 = load ptr, ptr %5, align 8
%122 = load i32, ptr %9, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %121, i64 %123
%125 = load double, ptr %124, align 8
%126 = load ptr, ptr %5, align 8
%127 = load i32, ptr %10, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %126, i64 %128
%130 = load double, ptr %129, align 8
%131 = fsub double %125, %130
%132 = load ptr, ptr %6, align 8
%133 = load i32, ptr %10, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %132, i64 %134
%136 = load double, ptr %135, align 8
%137 = load double, ptr %17, align 8
%138 = load double, ptr %17, align 8
%139 = fcmp oge double %138, 0.000000e+00
br i1 %139, label %140, label %143
140: ; preds = %99
%141 = load double, ptr %15, align 8
%142 = call double @llvm.fabs.f64(double %141)
br label %147
143: ; preds = %99
%144 = load double, ptr %15, align 8
%145 = call double @llvm.fabs.f64(double %144)
%146 = fneg double %145
br label %147
147: ; preds = %143, %140
%148 = phi double [ %142, %140 ], [ %146, %143 ]
%149 = fadd double %137, %148
%150 = fdiv double %136, %149
%151 = fadd double %131, %150
store double %151, ptr %17, align 8
store double 1.000000e+00, ptr %20, align 8
store double 1.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %16, align 8
%152 = load i32, ptr %9, align 4
%153 = sub nsw i32 %152, 1
store i32 %153, ptr %12, align 4
br label %154
154: ; preds = %304, %147
%155 = load i32, ptr %12, align 4
%156 = load i32, ptr %10, align 4
%157 = icmp sge i32 %155, %156
br i1 %157, label %158, label %307
158: ; preds = %154
%159 = load double, ptr %14, align 8
%160 = load ptr, ptr %6, align 8
%161 = load i32, ptr %12, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds double, ptr %160, i64 %162
%164 = load double, ptr %163, align 8
%165 = fmul double %159, %164
store double %165, ptr %18, align 8
%166 = load double, ptr %20, align 8
%167 = load ptr, ptr %6, align 8
%168 = load i32, ptr %12, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds double, ptr %167, i64 %169
%171 = load double, ptr %170, align 8
%172 = fmul double %166, %171
store double %172, ptr %21, align 8
%173 = load double, ptr %18, align 8
%174 = load double, ptr %17, align 8
%175 = call double @pythag(double noundef %173, double noundef %174)
store double %175, ptr %15, align 8
%176 = load ptr, ptr %6, align 8
%177 = load i32, ptr %12, align 4
%178 = add nsw i32 %177, 1
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, ptr %176, i64 %179
store double %175, ptr %180, align 8
%181 = load double, ptr %15, align 8
%182 = fcmp oeq double %181, 0.000000e+00
br i1 %182, label %183, label %196
183: ; preds = %158
%184 = load double, ptr %16, align 8
%185 = load ptr, ptr %5, align 8
%186 = load i32, ptr %12, align 4
%187 = add nsw i32 %186, 1
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, ptr %185, i64 %188
%190 = load double, ptr %189, align 8
%191 = fsub double %190, %184
store double %191, ptr %189, align 8
%192 = load ptr, ptr %6, align 8
%193 = load i32, ptr %9, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds double, ptr %192, i64 %194
store double 0.000000e+00, ptr %195, align 8
br label %307
196: ; preds = %158
%197 = load double, ptr %18, align 8
%198 = load double, ptr %15, align 8
%199 = fdiv double %197, %198
store double %199, ptr %14, align 8
%200 = load double, ptr %17, align 8
%201 = load double, ptr %15, align 8
%202 = fdiv double %200, %201
store double %202, ptr %20, align 8
%203 = load ptr, ptr %5, align 8
%204 = load i32, ptr %12, align 4
%205 = add nsw i32 %204, 1
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, ptr %203, i64 %206
%208 = load double, ptr %207, align 8
%209 = load double, ptr %16, align 8
%210 = fsub double %208, %209
store double %210, ptr %17, align 8
%211 = load ptr, ptr %5, align 8
%212 = load i32, ptr %12, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds double, ptr %211, i64 %213
%215 = load double, ptr %214, align 8
%216 = load double, ptr %17, align 8
%217 = fsub double %215, %216
%218 = load double, ptr %14, align 8
%219 = load double, ptr %20, align 8
%220 = fmul double 2.000000e+00, %219
%221 = load double, ptr %21, align 8
%222 = fmul double %220, %221
%223 = call double @llvm.fmuladd.f64(double %217, double %218, double %222)
store double %223, ptr %15, align 8
%224 = load double, ptr %17, align 8
%225 = load double, ptr %14, align 8
%226 = load double, ptr %15, align 8
%227 = fmul double %225, %226
store double %227, ptr %16, align 8
%228 = fadd double %224, %227
%229 = load ptr, ptr %5, align 8
%230 = load i32, ptr %12, align 4
%231 = add nsw i32 %230, 1
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %229, i64 %232
store double %228, ptr %233, align 8
%234 = load double, ptr %20, align 8
%235 = load double, ptr %15, align 8
%236 = load double, ptr %21, align 8
%237 = fneg double %236
%238 = call double @llvm.fmuladd.f64(double %234, double %235, double %237)
store double %238, ptr %17, align 8
store i32 0, ptr %13, align 4
br label %239
239: ; preds = %300, %196
%240 = load i32, ptr %13, align 4
%241 = load i32, ptr %7, align 4
%242 = icmp slt i32 %240, %241
br i1 %242, label %243, label %303
243: ; preds = %239
%244 = load ptr, ptr %8, align 8
%245 = load i32, ptr %13, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds ptr, ptr %244, i64 %246
%248 = load ptr, ptr %247, align 8
%249 = load i32, ptr %12, align 4
%250 = add nsw i32 %249, 1
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds double, ptr %248, i64 %251
%253 = load double, ptr %252, align 8
store double %253, ptr %18, align 8
%254 = load double, ptr %14, align 8
%255 = load ptr, ptr %8, align 8
%256 = load i32, ptr %13, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds ptr, ptr %255, i64 %257
%259 = load ptr, ptr %258, align 8
%260 = load i32, ptr %12, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds double, ptr %259, i64 %261
%263 = load double, ptr %262, align 8
%264 = load double, ptr %20, align 8
%265 = load double, ptr %18, align 8
%266 = fmul double %264, %265
%267 = call double @llvm.fmuladd.f64(double %254, double %263, double %266)
%268 = load ptr, ptr %8, align 8
%269 = load i32, ptr %13, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds ptr, ptr %268, i64 %270
%272 = load ptr, ptr %271, align 8
%273 = load i32, ptr %12, align 4
%274 = add nsw i32 %273, 1
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds double, ptr %272, i64 %275
store double %267, ptr %276, align 8
%277 = load double, ptr %20, align 8
%278 = load ptr, ptr %8, align 8
%279 = load i32, ptr %13, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds ptr, ptr %278, i64 %280
%282 = load ptr, ptr %281, align 8
%283 = load i32, ptr %12, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds double, ptr %282, i64 %284
%286 = load double, ptr %285, align 8
%287 = load double, ptr %14, align 8
%288 = load double, ptr %18, align 8
%289 = fmul double %287, %288
%290 = fneg double %289
%291 = call double @llvm.fmuladd.f64(double %277, double %286, double %290)
%292 = load ptr, ptr %8, align 8
%293 = load i32, ptr %13, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds ptr, ptr %292, i64 %294
%296 = load ptr, ptr %295, align 8
%297 = load i32, ptr %12, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds double, ptr %296, i64 %298
store double %291, ptr %299, align 8
br label %300
300: ; preds = %243
%301 = load i32, ptr %13, align 4
%302 = add nsw i32 %301, 1
store i32 %302, ptr %13, align 4
br label %239, !llvm.loop !9
303: ; preds = %239
br label %304
304: ; preds = %303
%305 = load i32, ptr %12, align 4
%306 = add nsw i32 %305, -1
store i32 %306, ptr %12, align 4
br label %154, !llvm.loop !10
307: ; preds = %183, %154
%308 = load double, ptr %15, align 8
%309 = fcmp oeq double %308, 0.000000e+00
br i1 %309, label %310, label %315
310: ; preds = %307
%311 = load i32, ptr %12, align 4
%312 = load i32, ptr %10, align 4
%313 = icmp sge i32 %311, %312
br i1 %313, label %314, label %315
314: ; preds = %310
br label %333
315: ; preds = %310, %307
%316 = load double, ptr %16, align 8
%317 = load ptr, ptr %5, align 8
%318 = load i32, ptr %10, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds double, ptr %317, i64 %319
%321 = load double, ptr %320, align 8
%322 = fsub double %321, %316
store double %322, ptr %320, align 8
%323 = load double, ptr %17, align 8
%324 = load ptr, ptr %6, align 8
%325 = load i32, ptr %10, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds double, ptr %324, i64 %326
store double %323, ptr %327, align 8
%328 = load ptr, ptr %6, align 8
%329 = load i32, ptr %9, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds double, ptr %328, i64 %330
store double 0.000000e+00, ptr %331, align 8
br label %332
332: ; preds = %315, %88
br label %333
333: ; preds = %332, %314
%334 = load i32, ptr %9, align 4
%335 = load i32, ptr %10, align 4
%336 = icmp ne i32 %334, %335
br i1 %336, label %51, label %337, !llvm.loop !11
337: ; preds = %333
br label %338
338: ; preds = %337
%339 = load i32, ptr %10, align 4
%340 = add nsw i32 %339, 1
store i32 %340, ptr %10, align 4
br label %46, !llvm.loop !12
341: ; preds = %46
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @printf(ptr noundef) #2
declare i32 @Finalize(i32 noundef) #2
declare double @pythag(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcoxyakxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"ERROR: Too many iterations in tqli\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tqli(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 1, ptr %12, align 4
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %42
.lr.ph: ; preds = %4
br label %25
25: ; preds = %.lr.ph, %36
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %12, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %26, i64 %28
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %12, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %31, i64 %34
store double %30, ptr %35, align 8
br label %36
36: ; preds = %25
%37 = load i32, ptr %12, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %12, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %4
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %7, align 4
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %43, i64 %46
store double 0.000000e+00, ptr %47, align 8
store i32 0, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph10, label %352
.lr.ph10: ; preds = %42
br label %51
51: ; preds = %.lr.ph10, %346
store i32 0, ptr %11, align 4
br label %52
52: ; preds = %341, %51
%53 = load i32, ptr %10, align 4
store i32 %53, ptr %9, align 4
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %7, align 4
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %52
br label %58
58: ; preds = %.lr.ph3, %85
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = call double @llvm.fabs.f64(double %63)
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %65, i64 %68
%70 = load double, ptr %69, align 8
%71 = call double @llvm.fabs.f64(double %70)
%72 = fadd double %64, %71
store double %72, ptr %19, align 8
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
%78 = call double @llvm.fabs.f64(double %77)
%79 = load double, ptr %19, align 8
%80 = fadd double %78, %79
%81 = load double, ptr %19, align 8
%82 = fcmp oeq double %80, %81
br i1 %82, label %83, label %84
83: ; preds = %58
br label %92
84: ; preds = %58
br label %85
85: ; preds = %84
%86 = load i32, ptr %9, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %9, align 4
%88 = load i32, ptr %9, align 4
%89 = load i32, ptr %7, align 4
%90 = sub nsw i32 %89, 1
%91 = icmp slt i32 %88, %90
br i1 %91, label %58, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %85
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %52
br label %92
92: ; preds = %.loopexit1, %83
%93 = load i32, ptr %9, align 4
%94 = load i32, ptr %10, align 4
%95 = icmp ne i32 %93, %94
br i1 %95, label %96, label %340
96: ; preds = %92
%97 = load i32, ptr %11, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %11, align 4
%99 = icmp eq i32 %97, 30
br i1 %99, label %100, label %103
100: ; preds = %96
%101 = call i32 @printf(ptr noundef @.str)
%102 = call i32 @Finalize(i32 noundef 1)
br label %103
103: ; preds = %100, %96
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %10, align 4
%106 = add nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %104, i64 %107
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %10, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
%114 = load double, ptr %113, align 8
%115 = fsub double %109, %114
%116 = load ptr, ptr %6, align 8
%117 = load i32, ptr %10, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds double, ptr %116, i64 %118
%120 = load double, ptr %119, align 8
%121 = fmul double 2.000000e+00, %120
%122 = fdiv double %115, %121
store double %122, ptr %17, align 8
%123 = load double, ptr %17, align 8
%124 = call double @pythag(double noundef %123, double noundef 1.000000e+00)
store double %124, ptr %15, align 8
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %9, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %125, i64 %127
%129 = load double, ptr %128, align 8
%130 = load ptr, ptr %5, align 8
%131 = load i32, ptr %10, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, ptr %130, i64 %132
%134 = load double, ptr %133, align 8
%135 = fsub double %129, %134
%136 = load ptr, ptr %6, align 8
%137 = load i32, ptr %10, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
%140 = load double, ptr %139, align 8
%141 = load double, ptr %17, align 8
%142 = load double, ptr %17, align 8
%143 = fcmp oge double %142, 0.000000e+00
br i1 %143, label %144, label %147
144: ; preds = %103
%145 = load double, ptr %15, align 8
%146 = call double @llvm.fabs.f64(double %145)
br label %151
147: ; preds = %103
%148 = load double, ptr %15, align 8
%149 = call double @llvm.fabs.f64(double %148)
%150 = fneg double %149
br label %151
151: ; preds = %147, %144
%152 = phi double [ %146, %144 ], [ %150, %147 ]
%153 = fadd double %141, %152
%154 = fdiv double %140, %153
%155 = fadd double %135, %154
store double %155, ptr %17, align 8
store double 1.000000e+00, ptr %20, align 8
store double 1.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %16, align 8
%156 = load i32, ptr %9, align 4
%157 = sub nsw i32 %156, 1
store i32 %157, ptr %12, align 4
%158 = load i32, ptr %12, align 4
%159 = load i32, ptr %10, align 4
%160 = icmp sge i32 %158, %159
br i1 %160, label %.lr.ph8, label %.loopexit
.lr.ph8: ; preds = %151
br label %161
161: ; preds = %.lr.ph8, %309
%162 = load double, ptr %14, align 8
%163 = load ptr, ptr %6, align 8
%164 = load i32, ptr %12, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, ptr %163, i64 %165
%167 = load double, ptr %166, align 8
%168 = fmul double %162, %167
store double %168, ptr %18, align 8
%169 = load double, ptr %20, align 8
%170 = load ptr, ptr %6, align 8
%171 = load i32, ptr %12, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %170, i64 %172
%174 = load double, ptr %173, align 8
%175 = fmul double %169, %174
store double %175, ptr %21, align 8
%176 = load double, ptr %18, align 8
%177 = load double, ptr %17, align 8
%178 = call double @pythag(double noundef %176, double noundef %177)
store double %178, ptr %15, align 8
%179 = load ptr, ptr %6, align 8
%180 = load i32, ptr %12, align 4
%181 = add nsw i32 %180, 1
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, ptr %179, i64 %182
store double %178, ptr %183, align 8
%184 = load double, ptr %15, align 8
%185 = fcmp oeq double %184, 0.000000e+00
br i1 %185, label %186, label %199
186: ; preds = %161
%187 = load double, ptr %16, align 8
%188 = load ptr, ptr %5, align 8
%189 = load i32, ptr %12, align 4
%190 = add nsw i32 %189, 1
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %188, i64 %191
%193 = load double, ptr %192, align 8
%194 = fsub double %193, %187
store double %194, ptr %192, align 8
%195 = load ptr, ptr %6, align 8
%196 = load i32, ptr %9, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, ptr %195, i64 %197
store double 0.000000e+00, ptr %198, align 8
br label %315
199: ; preds = %161
%200 = load double, ptr %18, align 8
%201 = load double, ptr %15, align 8
%202 = fdiv double %200, %201
store double %202, ptr %14, align 8
%203 = load double, ptr %17, align 8
%204 = load double, ptr %15, align 8
%205 = fdiv double %203, %204
store double %205, ptr %20, align 8
%206 = load ptr, ptr %5, align 8
%207 = load i32, ptr %12, align 4
%208 = add nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, ptr %206, i64 %209
%211 = load double, ptr %210, align 8
%212 = load double, ptr %16, align 8
%213 = fsub double %211, %212
store double %213, ptr %17, align 8
%214 = load ptr, ptr %5, align 8
%215 = load i32, ptr %12, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds double, ptr %214, i64 %216
%218 = load double, ptr %217, align 8
%219 = load double, ptr %17, align 8
%220 = fsub double %218, %219
%221 = load double, ptr %14, align 8
%222 = load double, ptr %20, align 8
%223 = fmul double 2.000000e+00, %222
%224 = load double, ptr %21, align 8
%225 = fmul double %223, %224
%226 = call double @llvm.fmuladd.f64(double %220, double %221, double %225)
store double %226, ptr %15, align 8
%227 = load double, ptr %17, align 8
%228 = load double, ptr %14, align 8
%229 = load double, ptr %15, align 8
%230 = fmul double %228, %229
store double %230, ptr %16, align 8
%231 = fadd double %227, %230
%232 = load ptr, ptr %5, align 8
%233 = load i32, ptr %12, align 4
%234 = add nsw i32 %233, 1
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds double, ptr %232, i64 %235
store double %231, ptr %236, align 8
%237 = load double, ptr %20, align 8
%238 = load double, ptr %15, align 8
%239 = load double, ptr %21, align 8
%240 = fneg double %239
%241 = call double @llvm.fmuladd.f64(double %237, double %238, double %240)
store double %241, ptr %17, align 8
store i32 0, ptr %13, align 4
%242 = load i32, ptr %13, align 4
%243 = load i32, ptr %7, align 4
%244 = icmp slt i32 %242, %243
br i1 %244, label %.lr.ph5, label %308
.lr.ph5: ; preds = %199
br label %245
245: ; preds = %.lr.ph5, %302
%246 = load ptr, ptr %8, align 8
%247 = load i32, ptr %13, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds ptr, ptr %246, i64 %248
%250 = load ptr, ptr %249, align 8
%251 = load i32, ptr %12, align 4
%252 = add nsw i32 %251, 1
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds double, ptr %250, i64 %253
%255 = load double, ptr %254, align 8
store double %255, ptr %18, align 8
%256 = load double, ptr %14, align 8
%257 = load ptr, ptr %8, align 8
%258 = load i32, ptr %13, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds ptr, ptr %257, i64 %259
%261 = load ptr, ptr %260, align 8
%262 = load i32, ptr %12, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds double, ptr %261, i64 %263
%265 = load double, ptr %264, align 8
%266 = load double, ptr %20, align 8
%267 = load double, ptr %18, align 8
%268 = fmul double %266, %267
%269 = call double @llvm.fmuladd.f64(double %256, double %265, double %268)
%270 = load ptr, ptr %8, align 8
%271 = load i32, ptr %13, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds ptr, ptr %270, i64 %272
%274 = load ptr, ptr %273, align 8
%275 = load i32, ptr %12, align 4
%276 = add nsw i32 %275, 1
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds double, ptr %274, i64 %277
store double %269, ptr %278, align 8
%279 = load double, ptr %20, align 8
%280 = load ptr, ptr %8, align 8
%281 = load i32, ptr %13, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds ptr, ptr %280, i64 %282
%284 = load ptr, ptr %283, align 8
%285 = load i32, ptr %12, align 4
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds double, ptr %284, i64 %286
%288 = load double, ptr %287, align 8
%289 = load double, ptr %14, align 8
%290 = load double, ptr %18, align 8
%291 = fmul double %289, %290
%292 = fneg double %291
%293 = call double @llvm.fmuladd.f64(double %279, double %288, double %292)
%294 = load ptr, ptr %8, align 8
%295 = load i32, ptr %13, 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 %12, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds double, ptr %298, i64 %300
store double %293, ptr %301, align 8
br label %302
302: ; preds = %245
%303 = load i32, ptr %13, align 4
%304 = add nsw i32 %303, 1
store i32 %304, ptr %13, align 4
%305 = load i32, ptr %13, align 4
%306 = load i32, ptr %7, align 4
%307 = icmp slt i32 %305, %306
br i1 %307, label %245, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %302
br label %308
308: ; preds = %._crit_edge6, %199
br label %309
309: ; preds = %308
%310 = load i32, ptr %12, align 4
%311 = add nsw i32 %310, -1
store i32 %311, ptr %12, align 4
%312 = load i32, ptr %12, align 4
%313 = load i32, ptr %10, align 4
%314 = icmp sge i32 %312, %313
br i1 %314, label %161, label %..loopexit_crit_edge, !llvm.loop !10
..loopexit_crit_edge: ; preds = %309
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %151
br label %315
315: ; preds = %.loopexit, %186
%316 = load double, ptr %15, align 8
%317 = fcmp oeq double %316, 0.000000e+00
br i1 %317, label %318, label %323
318: ; preds = %315
%319 = load i32, ptr %12, align 4
%320 = load i32, ptr %10, align 4
%321 = icmp sge i32 %319, %320
br i1 %321, label %322, label %323
322: ; preds = %318
br label %341
323: ; preds = %318, %315
%324 = load double, ptr %16, align 8
%325 = load ptr, ptr %5, align 8
%326 = load i32, ptr %10, align 4
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds double, ptr %325, i64 %327
%329 = load double, ptr %328, align 8
%330 = fsub double %329, %324
store double %330, ptr %328, align 8
%331 = load double, ptr %17, align 8
%332 = load ptr, ptr %6, align 8
%333 = load i32, ptr %10, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds double, ptr %332, i64 %334
store double %331, ptr %335, align 8
%336 = load ptr, ptr %6, align 8
%337 = load i32, ptr %9, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds double, ptr %336, i64 %338
store double 0.000000e+00, ptr %339, align 8
br label %340
340: ; preds = %323, %92
br label %341
341: ; preds = %340, %322
%342 = load i32, ptr %9, align 4
%343 = load i32, ptr %10, align 4
%344 = icmp ne i32 %342, %343
br i1 %344, label %52, label %345, !llvm.loop !11
345: ; preds = %341
br label %346
346: ; preds = %345
%347 = load i32, ptr %10, align 4
%348 = add nsw i32 %347, 1
store i32 %348, ptr %10, align 4
%349 = load i32, ptr %10, align 4
%350 = load i32, ptr %7, align 4
%351 = icmp slt i32 %349, %350
br i1 %351, label %51, label %._crit_edge11, !llvm.loop !12
._crit_edge11: ; preds = %346
br label %352
352: ; preds = %._crit_edge11, %42
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @printf(ptr noundef) #2
declare i32 @Finalize(i32 noundef) #2
declare double @pythag(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp221dp0ug.c'
source_filename = "/tmp/tmp221dp0ug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OQS_AES128_free_schedule(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 = call i32 @OQS_MEM_secure_free(ptr noundef %6, i32 noundef 176)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @OQS_MEM_secure_free(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/tmp221dp0ug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OQS_AES128_free_schedule(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 = call i32 @OQS_MEM_secure_free(ptr noundef %6, i32 noundef 176)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @OQS_MEM_secure_free(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/tmpy_xnt_gp.c'
source_filename = "/tmp/tmpy_xnt_gp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 [10 x [10 x [10 x i32]]], align 16
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 = call i32 @bar(ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @bar(ptr noundef %10)
%12 = getelementptr inbounds [10 x [10 x [10 x i32]]], ptr %7, i64 0, i64 0
%13 = call i32 @bar(ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @bar(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i32 @bar(ptr noundef %16)
%18 = getelementptr inbounds [10 x [10 x [10 x i32]]], ptr %7, i64 0, i64 0
%19 = call i32 @bar(ptr noundef %18)
ret void
}
declare i32 @bar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_xnt_gp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 [10 x [10 x [10 x i32]]], align 16
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 = call i32 @bar(ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @bar(ptr noundef %10)
%12 = getelementptr inbounds [10 x [10 x [10 x i32]]], ptr %7, i64 0, i64 0
%13 = call i32 @bar(ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @bar(ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i32 @bar(ptr noundef %16)
%18 = getelementptr inbounds [10 x [10 x [10 x i32]]], ptr %7, i64 0, i64 0
%19 = call i32 @bar(ptr noundef %18)
ret void
}
declare i32 @bar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp90j0whg8.c'
source_filename = "/tmp/tmp90j0whg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFADDR = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmp90j0whg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFADDR = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmptnffe8lk.c'
source_filename = "/tmp/tmptnffe8lk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".a8s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c".state\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [68 x i8] c"Error: template state file and save state file cannot be the same!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @save_state(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @templateType(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @find_extension(ptr noundef %10)
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store i8 0, ptr %12, align 1
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, 1
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcat(ptr noundef %16, ptr noundef @.str)
br label %26
18: ; preds = %2
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 2
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strcat(ptr noundef %22, ptr noundef @.str.1)
br label %25
24: ; preds = %18
store i32 0, ptr %3, align 4
br label %45
25: ; preds = %21
br label %26
26: ; preds = %25, %15
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = call i32 @strcmp(ptr noundef %27, ptr noundef %28)
%30 = icmp ne i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %26
%32 = load i32, ptr @stderr, align 4
%33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %45
34: ; preds = %26
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 1
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @save_A800state(ptr noundef %38, ptr noundef %39)
store i32 %40, ptr %3, align 4
br label %45
41: ; preds = %34
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = call i32 @save_snapshot(ptr noundef %42, ptr noundef %43)
store i32 %44, ptr %3, align 4
br label %45
45: ; preds = %41, %37, %31, %24
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @templateType(ptr noundef) #1
declare i64 @find_extension(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @save_A800state(ptr noundef, ptr noundef) #1
declare i32 @save_snapshot(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/tmptnffe8lk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".a8s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c".state\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [68 x i8] c"Error: template state file and save state file cannot be the same!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @save_state(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @templateType(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @find_extension(ptr noundef %10)
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store i8 0, ptr %12, align 1
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, 1
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcat(ptr noundef %16, ptr noundef @.str)
br label %26
18: ; preds = %2
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 2
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strcat(ptr noundef %22, ptr noundef @.str.1)
br label %25
24: ; preds = %18
store i32 0, ptr %3, align 4
br label %45
25: ; preds = %21
br label %26
26: ; preds = %25, %15
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = call i32 @strcmp(ptr noundef %27, ptr noundef %28)
%30 = icmp ne i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %26
%32 = load i32, ptr @stderr, align 4
%33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %45
34: ; preds = %26
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 1
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @save_A800state(ptr noundef %38, ptr noundef %39)
store i32 %40, ptr %3, align 4
br label %45
41: ; preds = %34
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = call i32 @save_snapshot(ptr noundef %42, ptr noundef %43)
store i32 %44, ptr %3, align 4
br label %45
45: ; preds = %41, %37, %31, %24
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @templateType(ptr noundef) #1
declare i64 @find_extension(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @save_A800state(ptr noundef, ptr noundef) #1
declare i32 @save_snapshot(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/tmpeyr7877c.c'
source_filename = "/tmp/tmpeyr7877c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xbind(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @bind(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %3
br label %15
15: ; preds = %14, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeyr7877c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xbind(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @bind(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %15
14: ; preds = %3
br label %15
15: ; preds = %14, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8sdgbxuc.c'
source_filename = "/tmp/tmp8sdgbxuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Select a number to \0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Calculate square's perimeter : 1 \0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"Calculate rectangle's perimeter : 2 \0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Calculate right triangle's perimeter : 3 \0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"Calculate cycle's perimeter : 4 \0A\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"Exit the program : 0 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @explanation_matrix() #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)
%8 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8sdgbxuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Select a number to \0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Calculate square's perimeter : 1 \0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"Calculate rectangle's perimeter : 2 \0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Calculate right triangle's perimeter : 3 \0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"Calculate cycle's perimeter : 4 \0A\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"Exit the program : 0 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @explanation_matrix() #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)
%8 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoa4ds3r8.c'
source_filename = "/tmp/tmpoa4ds3r8.c"
target datalayout = "e-m:e-p270: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/tmpoa4ds3r8.c"
target datalayout = "e-m:e-p270: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/tmpmrzaw8m0.c'
source_filename = "/tmp/tmpmrzaw8m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"WORDSIZE is: %d\0A\00", align 1
@__WORDSIZE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"size of INT = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"size of FLOAT = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"size of DOUBLE = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"size of LONG = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"size of LONG INT = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"size of LONG LONG INT = %d\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
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i32, ptr @__WORDSIZE, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmrzaw8m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"WORDSIZE is: %d\0A\00", align 1
@__WORDSIZE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"size of INT = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"size of FLOAT = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"size of DOUBLE = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"size of LONG = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"size of LONG INT = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"size of LONG LONG INT = %d\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
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = load i32, ptr @__WORDSIZE, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.