llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpmeunb5yu.c'
source_filename = "/tmp/tmpmeunb5yu.c"
target datalayout = "e-m:e-p270: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/tmpmeunb5yu.c"
target datalayout = "e-m:e-p270: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/tmpyg1kdbrh.c'
source_filename = "/tmp/tmpyg1kdbrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for F\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x46() #0 {
%1 = call i64 @islower(i32 noundef 70)
%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 355, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpyg1kdbrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for F\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x46() #0 {
%1 = call i64 @islower(i32 noundef 70)
%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 355, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpgh00l0e0.c'
source_filename = "/tmp/tmpgh00l0e0.c"
target datalayout = "e-m:e-p270: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/tmpgh00l0e0.c"
target datalayout = "e-m:e-p270: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/tmpn4airf82.c'
source_filename = "/tmp/tmpn4airf82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @m_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = 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/tmpn4airf82.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @m_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = 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/tmp6wldtbpu.c'
source_filename = "/tmp/tmp6wldtbpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_substrs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = icmp ne ptr %15, null
br label %17
17: ; preds = %14, %2
%18 = phi i1 [ false, %2 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
br label %21
21: ; preds = %34, %17
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %39
25: ; preds = %21
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %6, align 4
%29 = call i64 @strncmp(ptr noundef %26, ptr noundef %27, i32 noundef %28)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %34
34: ; preds = %31, %25
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %7, align 4
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %3, align 8
br label %21, !llvm.loop !6
39: ; preds = %21
%40 = load i32, ptr %5, align 4
ret i32 %40
}
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6wldtbpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_substrs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = icmp ne ptr %15, null
br label %17
17: ; preds = %14, %2
%18 = phi i1 [ false, %2 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sgt i32 %21, %22
br i1 %23, label %.lr.ph, label %41
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %33
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = call i64 @strncmp(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %24
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %33
33: ; preds = %30, %24
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %3, align 8
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp sgt i32 %38, %39
br i1 %40, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %41
41: ; preds = %._crit_edge, %17
%42 = load i32, ptr %5, align 4
ret i32 %42
}
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwj2qsbl_.c'
source_filename = "/tmp/tmpwj2qsbl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"sum=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"number %d is NOT a asphdol number.\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"number %d is a asphdol number.\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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %11, %0
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 0, %9
br i1 %10, label %11, label %23
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = srem i32 %12, 10
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = mul nsw i32 %14, %15
%17 = load i32, ptr %5, align 4
%18 = mul nsw i32 %16, %17
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = sdiv i32 %21, 10
store i32 %22, ptr %4, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = load i32, ptr %3, align 4
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = load i32, ptr %2, align 4
%31 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30)
br label %35
32: ; preds = %23
%33 = load i32, ptr %2, align 4
%34 = call i32 @printf(ptr noundef @.str.3, i32 noundef %33)
br label %35
35: ; preds = %32, %29
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwj2qsbl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"sum=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"number %d is NOT a asphdol number.\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"number %d is a asphdol number.\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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 0, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %4, align 4
%12 = srem i32 %11, 10
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %13, %14
%16 = load i32, ptr %5, align 4
%17 = mul nsw i32 %15, %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = sdiv i32 %20, 10
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 0, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %3, align 4
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %24
%31 = load i32, ptr %2, align 4
%32 = call i32 @printf(ptr noundef @.str.2, i32 noundef %31)
br label %36
33: ; preds = %24
%34 = load i32, ptr %2, align 4
%35 = call i32 @printf(ptr noundef @.str.3, i32 noundef %34)
br label %36
36: ; preds = %33, %30
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmry0hc03.c'
source_filename = "/tmp/tmpmry0hc03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"255.0.0.0\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"255.255.0.0\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"255.255.255.0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getNaturalMask(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 = call i32 @htonl(i32 noundef -2147483648)
%6 = and i32 %4, %5
%7 = icmp ne i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @inet_addr(ptr noundef @.str)
store i32 %9, ptr %2, align 4
br label %28
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = call i32 @htonl(i32 noundef -1073741824)
%13 = and i32 %11, %12
%14 = call i32 @htonl(i32 noundef -2147483648)
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 @inet_addr(ptr noundef @.str.1)
store i32 %17, ptr %2, align 4
br label %28
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = call i32 @htonl(i32 noundef -536870912)
%21 = and i32 %19, %20
%22 = call i32 @htonl(i32 noundef -1073741824)
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = call i32 @inet_addr(ptr noundef @.str.2)
store i32 %25, ptr %2, align 4
br label %28
26: ; preds = %18
%27 = call i32 @htonl(i32 noundef 0)
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %24, %16, %8
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @htonl(i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmry0hc03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"255.0.0.0\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"255.255.0.0\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"255.255.255.0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getNaturalMask(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 = call i32 @htonl(i32 noundef -2147483648)
%6 = and i32 %4, %5
%7 = icmp ne i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @inet_addr(ptr noundef @.str)
store i32 %9, ptr %2, align 4
br label %28
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = call i32 @htonl(i32 noundef -1073741824)
%13 = and i32 %11, %12
%14 = call i32 @htonl(i32 noundef -2147483648)
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 @inet_addr(ptr noundef @.str.1)
store i32 %17, ptr %2, align 4
br label %28
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = call i32 @htonl(i32 noundef -536870912)
%21 = and i32 %19, %20
%22 = call i32 @htonl(i32 noundef -1073741824)
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = call i32 @inet_addr(ptr noundef @.str.2)
store i32 %25, ptr %2, align 4
br label %28
26: ; preds = %18
%27 = call i32 @htonl(i32 noundef 0)
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %24, %16, %8
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @htonl(i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjit02ay7.c'
source_filename = "/tmp/tmpjit02ay7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_WRLCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_write_lock_blocked(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @F_WRLCK, align 4
%5 = call i32 @test_file_lock(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @test_file_lock(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/tmpjit02ay7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_WRLCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_write_lock_blocked(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @F_WRLCK, align 4
%5 = call i32 @test_file_lock(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @test_file_lock(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/tmpr98s0o7k.c'
source_filename = "/tmp/tmpr98s0o7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@om_sysfs_readfile.buf = internal global [1024 x i8] zeroinitializer, align 16
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @om_sysfs_readfile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 -1, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %29
13: ; preds = %1
%14 = load i32, ptr %6, align 4
%15 = call i64 @read(i32 noundef %14, ptr noundef @om_sysfs_readfile.buf, i32 noundef 1023)
store i64 %15, ptr %5, align 8
%16 = load i64, ptr %5, align 8
%17 = icmp ult i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %13
br label %22
19: ; preds = %13
%20 = load i64, ptr %5, align 8
%21 = getelementptr inbounds [1024 x i8], ptr @om_sysfs_readfile.buf, i64 0, i64 %20
store i8 0, ptr %21, align 1
store ptr @om_sysfs_readfile.buf, ptr %4, align 8
br label %22
22: ; preds = %19, %18
%23 = load i32, ptr %6, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %6, align 4
%27 = call i32 @close(i32 noundef %26)
br label %28
28: ; preds = %25, %22
store ptr @om_sysfs_readfile.buf, ptr %2, align 8
br label %29
29: ; preds = %28, %12
%30 = load ptr, ptr %2, align 8
ret ptr %30
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr98s0o7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@om_sysfs_readfile.buf = internal global [1024 x i8] zeroinitializer, align 16
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @om_sysfs_readfile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 -1, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %29
13: ; preds = %1
%14 = load i32, ptr %6, align 4
%15 = call i64 @read(i32 noundef %14, ptr noundef @om_sysfs_readfile.buf, i32 noundef 1023)
store i64 %15, ptr %5, align 8
%16 = load i64, ptr %5, align 8
%17 = icmp ult i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %13
br label %22
19: ; preds = %13
%20 = load i64, ptr %5, align 8
%21 = getelementptr inbounds [1024 x i8], ptr @om_sysfs_readfile.buf, i64 0, i64 %20
store i8 0, ptr %21, align 1
store ptr @om_sysfs_readfile.buf, ptr %4, align 8
br label %22
22: ; preds = %19, %18
%23 = load i32, ptr %6, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %6, align 4
%27 = call i32 @close(i32 noundef %26)
br label %28
28: ; preds = %25, %22
store ptr @om_sysfs_readfile.buf, ptr %2, align 8
br label %29
29: ; preds = %28, %12
%30 = load ptr, ptr %2, align 8
ret ptr %30
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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__y0dck.c'
source_filename = "/tmp/tmpy__y0dck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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()
%3 = sub nsw i32 %2, 42
ret i32 %3
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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__y0dck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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()
%3 = sub nsw i32 %2, 42
ret i32 %3
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwifwux9z.c'
source_filename = "/tmp/tmpwifwux9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wcstol(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 @assert(i32 noundef 0)
ret i64 0
}
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/tmpwifwux9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wcstol(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 @assert(i32 noundef 0)
ret i64 0
}
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/tmpykmomm7_.c'
source_filename = "/tmp/tmpykmomm7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ckd_free_3d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpykmomm7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ckd_free_3d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxl9ndlj1.c'
source_filename = "/tmp/tmpxl9ndlj1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Ingrese dos n\C3\BAmero enteros: \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Inciso a: %d \0AInciso b: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ej4() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = and i32 %7, %8
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = or i32 %10, %11
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxl9ndlj1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Ingrese dos n\C3\BAmero enteros: \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Inciso a: %d \0AInciso b: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ej4() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = and i32 %7, %8
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = or i32 %10, %11
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp60uux8mm.c'
source_filename = "/tmp/tmp60uux8mm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"\0ATool name:\0A %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"envi2meta\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Description:\0A%s\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [114 x i8] c" The envi2meta tool creates an ASF Internal format metadata file from an ENVI\0A ENVI style header (.hdr) file.\00", align 1
@.str.4 = private unnamed_addr constant [68 x i8] c" <envi_name> The name of the ENVI type output header file (.hdr)\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Input:\0A%s\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [85 x i8] c" <meta_name> The name of the input ASF Internal format metadata data file (.meta)\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"Output:\0A%s\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [256 x i8] c" -log <logfile>\0A Save all tool output in <logfile>\0A -license\0A Print copyright and license for this software then exit.\0A -version\0A Print version and copyright then exit.\0A -help\0A Print this help information and then exit.\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"Options:\0A%s\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"Examples:\0A%s\0A\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"Limitations:\0A%s\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"See Also:\0A%s\0A\0A\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"Contact:\0A%s\0A\00", align 1
@.str.15 = private unnamed_addr constant [187 x i8] c" Alaska Satellite Facility\0A Geophysical Institute\0A University of Alaska Fairbanks\0A P.O. Box 757320\0A Fairbanks, AK 99775-7320\0A http://www.asf.alaska.edu\0A [email protected]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 (...) @usage()
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.2, ptr noundef @.str.3)
%6 = call i64 @strlen(ptr noundef @.str.4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.5, ptr noundef @.str.4)
br label %11
11: ; preds = %8, %0
%12 = call i64 @strlen(ptr noundef @.str.6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7, ptr noundef @.str.6)
br label %17
17: ; preds = %14, %11
%18 = call i64 @strlen(ptr noundef @.str.8)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.9, ptr noundef @.str.8)
br label %23
23: ; preds = %20, %17
%24 = call i64 @strlen(ptr noundef @.str.10)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.11, ptr noundef @.str.10)
br label %29
29: ; preds = %26, %23
%30 = call i64 @strlen(ptr noundef @.str.10)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.12, ptr noundef @.str.10)
br label %35
35: ; preds = %32, %29
%36 = call i64 @strlen(ptr noundef @.str.10)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr @stderr, align 4
%40 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str.13, ptr noundef @.str.10)
br label %41
41: ; preds = %38, %35
%42 = load i32, ptr @stderr, align 4
%43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.14, ptr noundef @.str.15)
%44 = call i32 @print_version(ptr noundef @.str.1)
%45 = call i32 (...) @print_copyright()
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @print_version(ptr noundef) #1
declare i32 @print_copyright(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp60uux8mm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"\0ATool name:\0A %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"envi2meta\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Description:\0A%s\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [114 x i8] c" The envi2meta tool creates an ASF Internal format metadata file from an ENVI\0A ENVI style header (.hdr) file.\00", align 1
@.str.4 = private unnamed_addr constant [68 x i8] c" <envi_name> The name of the ENVI type output header file (.hdr)\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Input:\0A%s\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [85 x i8] c" <meta_name> The name of the input ASF Internal format metadata data file (.meta)\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"Output:\0A%s\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [256 x i8] c" -log <logfile>\0A Save all tool output in <logfile>\0A -license\0A Print copyright and license for this software then exit.\0A -version\0A Print version and copyright then exit.\0A -help\0A Print this help information and then exit.\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"Options:\0A%s\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"Examples:\0A%s\0A\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"Limitations:\0A%s\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"See Also:\0A%s\0A\0A\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"Contact:\0A%s\0A\00", align 1
@.str.15 = private unnamed_addr constant [187 x i8] c" Alaska Satellite Facility\0A Geophysical Institute\0A University of Alaska Fairbanks\0A P.O. Box 757320\0A Fairbanks, AK 99775-7320\0A http://www.asf.alaska.edu\0A [email protected]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 (...) @usage()
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.2, ptr noundef @.str.3)
%6 = call i64 @strlen(ptr noundef @.str.4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.5, ptr noundef @.str.4)
br label %11
11: ; preds = %8, %0
%12 = call i64 @strlen(ptr noundef @.str.6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7, ptr noundef @.str.6)
br label %17
17: ; preds = %14, %11
%18 = call i64 @strlen(ptr noundef @.str.8)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.9, ptr noundef @.str.8)
br label %23
23: ; preds = %20, %17
%24 = call i64 @strlen(ptr noundef @.str.10)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.11, ptr noundef @.str.10)
br label %29
29: ; preds = %26, %23
%30 = call i64 @strlen(ptr noundef @.str.10)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.12, ptr noundef @.str.10)
br label %35
35: ; preds = %32, %29
%36 = call i64 @strlen(ptr noundef @.str.10)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr @stderr, align 4
%40 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str.13, ptr noundef @.str.10)
br label %41
41: ; preds = %38, %35
%42 = load i32, ptr @stderr, align 4
%43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.14, ptr noundef @.str.15)
%44 = call i32 @print_version(ptr noundef @.str.1)
%45 = call i32 (...) @print_copyright()
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @print_version(ptr noundef) #1
declare i32 @print_copyright(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxdahwoqm.c'
source_filename = "/tmp/tmpxdahwoqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @saturating_add(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
%10 = load i32, ptr @INT_MIN, align 4
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %6, align 4
store i32 31, ptr %7, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = and i32 %14, %15
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %29
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = and i32 %19, %20
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %18
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
%28 = xor i1 %27, true
br label %29
29: ; preds = %23, %18, %2
%30 = phi i1 [ false, %18 ], [ false, %2 ], [ %28, %23 ]
%31 = zext i1 %30 to i32
%32 = load i32, ptr %7, align 4
%33 = shl i32 %31, %32
%34 = load i32, ptr %7, align 4
%35 = ashr i32 %33, %34
%36 = load i32, ptr @INT_MIN, align 4
%37 = and i32 %35, %36
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %3, align 4
%39 = xor i32 %38, -1
%40 = load i32, ptr %5, align 4
%41 = and i32 %39, %40
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %54
43: ; preds = %29
%44 = load i32, ptr %4, align 4
%45 = xor i32 %44, -1
%46 = load i32, ptr %5, align 4
%47 = and i32 %45, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %54
49: ; preds = %43
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = and i32 %50, %51
%53 = icmp ne i32 %52, 0
br label %54
54: ; preds = %49, %43, %29
%55 = phi i1 [ false, %43 ], [ false, %29 ], [ %53, %49 ]
%56 = zext i1 %55 to i32
%57 = load i32, ptr %7, align 4
%58 = shl i32 %56, %57
%59 = load i32, ptr %7, align 4
%60 = ashr i32 %58, %59
%61 = load i32, ptr @INT_MAX, align 4
%62 = and i32 %60, %61
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %9, align 4
%66 = or i32 %64, %65
%67 = icmp ne i32 %66, 0
%68 = xor i1 %67, true
%69 = zext i1 %68 to i32
%70 = sub nsw i32 %69, 1
%71 = xor i32 %70, -1
%72 = and i32 %63, %71
%73 = load i32, ptr %8, align 4
%74 = or i32 %72, %73
%75 = load i32, ptr %9, align 4
%76 = or i32 %74, %75
ret i32 %76
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxdahwoqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @saturating_add(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
%10 = load i32, ptr @INT_MIN, align 4
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %6, align 4
store i32 31, ptr %7, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = and i32 %14, %15
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %29
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = and i32 %19, %20
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %18
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
%28 = xor i1 %27, true
br label %29
29: ; preds = %23, %18, %2
%30 = phi i1 [ false, %18 ], [ false, %2 ], [ %28, %23 ]
%31 = zext i1 %30 to i32
%32 = load i32, ptr %7, align 4
%33 = shl i32 %31, %32
%34 = load i32, ptr %7, align 4
%35 = ashr i32 %33, %34
%36 = load i32, ptr @INT_MIN, align 4
%37 = and i32 %35, %36
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %3, align 4
%39 = xor i32 %38, -1
%40 = load i32, ptr %5, align 4
%41 = and i32 %39, %40
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %54
43: ; preds = %29
%44 = load i32, ptr %4, align 4
%45 = xor i32 %44, -1
%46 = load i32, ptr %5, align 4
%47 = and i32 %45, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %54
49: ; preds = %43
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = and i32 %50, %51
%53 = icmp ne i32 %52, 0
br label %54
54: ; preds = %49, %43, %29
%55 = phi i1 [ false, %43 ], [ false, %29 ], [ %53, %49 ]
%56 = zext i1 %55 to i32
%57 = load i32, ptr %7, align 4
%58 = shl i32 %56, %57
%59 = load i32, ptr %7, align 4
%60 = ashr i32 %58, %59
%61 = load i32, ptr @INT_MAX, align 4
%62 = and i32 %60, %61
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %9, align 4
%66 = or i32 %64, %65
%67 = icmp ne i32 %66, 0
%68 = xor i1 %67, true
%69 = zext i1 %68 to i32
%70 = sub nsw i32 %69, 1
%71 = xor i32 %70, -1
%72 = and i32 %63, %71
%73 = load i32, ptr %8, align 4
%74 = or i32 %72, %73
%75 = load i32, ptr %9, align 4
%76 = or i32 %74, %75
ret i32 %76
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg2btqmdh.c'
source_filename = "/tmp/tmpg2btqmdh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
br label %11
11: ; preds = %20, %3
%12 = load i64, ptr %6, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %27
14: ; preds = %11
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
store i8 %17, ptr %19, align 1
br label %20
20: ; preds = %14
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %7, align 8
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
%25 = load i64, ptr %6, align 8
%26 = add i64 %25, -1
store i64 %26, ptr %6, align 8
br label %11, !llvm.loop !6
27: ; preds = %11
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpg2btqmdh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %19
%14 = load ptr, ptr %8, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 %16, ptr %18, align 1
br label %19
19: ; preds = %13
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %8, align 8
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp ne i64 %26, 0
br i1 %27, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %28
28: ; preds = %._crit_edge, %3
%29 = load ptr, ptr %4, align 8
ret ptr %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqyibojjj.c'
source_filename = "/tmp/tmpqyibojjj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Generating sub cube %d at (%d, %d, %d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"w+b\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Unable to open overlay cube file at %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Unable to write cube file.\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"Additionally, an error occured closing the file.\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Error closing the RGBA file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [6291456 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 0, ptr %8, align 4
%13 = getelementptr inbounds [6291456 x i32], ptr %7, i64 0, i64 0
%14 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef 6291456)
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %41, %2
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %16, 200
br i1 %17, label %18, label %44
18: ; preds = %15
%19 = call i32 @time(ptr noundef %12)
%20 = load i64, ptr %12, align 8
%21 = trunc i64 %20 to i32
%22 = load i32, ptr %8, align 4
%23 = add i32 %21, %22
%24 = call i32 @srand(i32 noundef %23)
%25 = call i32 (...) @rand()
%26 = srem i32 %25, 129
store i32 %26, ptr %9, align 4
%27 = call i32 (...) @rand()
%28 = srem i32 %27, 129
store i32 %28, ptr %10, align 4
%29 = call i32 (...) @rand()
%30 = srem i32 %29, 129
store i32 %30, ptr %11, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %11, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
%36 = getelementptr inbounds [6291456 x i32], ptr %7, i64 0, i64 0
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %11, align 4
%40 = call i32 @makeRandomSubCube(ptr noundef %36, i32 noundef 128, i32 noundef 32, i32 noundef %37, i32 noundef %38, i32 noundef %39)
br label %41
41: ; preds = %18
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
br label %15, !llvm.loop !6
44: ; preds = %15
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 1
%47 = load ptr, ptr %46, align 8
%48 = call ptr @fopen(ptr noundef %47, ptr noundef @.str.1)
store ptr %48, ptr %6, align 8
%49 = load ptr, ptr %6, align 8
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %56
51: ; preds = %44
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 1
%54 = load ptr, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %54)
store i32 0, ptr %3, align 4
br label %76
56: ; preds = %44
%57 = getelementptr inbounds [6291456 x i32], ptr %7, i64 0, i64 0
%58 = load ptr, ptr %6, align 8
%59 = call i32 @fwrite(ptr noundef %57, i32 noundef 1, i32 noundef 6291456, ptr noundef %58)
%60 = icmp ne i32 %59, 6291456
br i1 %60, label %61, label %69
61: ; preds = %56
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%63 = load ptr, ptr %6, align 8
%64 = call i64 @fclose(ptr noundef %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %61
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %68
68: ; preds = %66, %61
store i32 0, ptr %3, align 4
br label %76
69: ; preds = %56
%70 = load ptr, ptr %6, align 8
%71 = call i64 @fclose(ptr noundef %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %69
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %75
75: ; preds = %73, %69
store i32 1, ptr %3, align 4
br label %76
76: ; preds = %75, %68, %51
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @makeRandomSubCube(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqyibojjj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Generating sub cube %d at (%d, %d, %d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"w+b\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Unable to open overlay cube file at %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Unable to write cube file.\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"Additionally, an error occured closing the file.\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Error closing the RGBA file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [6291456 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 0, ptr %8, align 4
%13 = getelementptr inbounds [6291456 x i32], ptr %7, i64 0, i64 0
%14 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef 6291456)
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %15, 200
br i1 %16, label %.lr.ph, label %45
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %40
%18 = call i32 @time(ptr noundef %12)
%19 = load i64, ptr %12, align 8
%20 = trunc i64 %19 to i32
%21 = load i32, ptr %8, align 4
%22 = add i32 %20, %21
%23 = call i32 @srand(i32 noundef %22)
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 129
store i32 %25, ptr %9, align 4
%26 = call i32 (...) @rand()
%27 = srem i32 %26, 129
store i32 %27, ptr %10, align 4
%28 = call i32 (...) @rand()
%29 = srem i32 %28, 129
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %11, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
%35 = getelementptr inbounds [6291456 x i32], ptr %7, i64 0, i64 0
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %11, align 4
%39 = call i32 @makeRandomSubCube(ptr noundef %35, i32 noundef 128, i32 noundef 32, i32 noundef %36, i32 noundef %37, i32 noundef %38)
br label %40
40: ; preds = %17
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp slt i32 %43, 200
br i1 %44, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %2
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = load ptr, ptr %47, align 8
%49 = call ptr @fopen(ptr noundef %48, ptr noundef @.str.1)
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %6, align 8
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %57
52: ; preds = %45
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 1
%55 = load ptr, ptr %54, align 8
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %55)
store i32 0, ptr %3, align 4
br label %77
57: ; preds = %45
%58 = getelementptr inbounds [6291456 x i32], ptr %7, i64 0, i64 0
%59 = load ptr, ptr %6, align 8
%60 = call i32 @fwrite(ptr noundef %58, i32 noundef 1, i32 noundef 6291456, ptr noundef %59)
%61 = icmp ne i32 %60, 6291456
br i1 %61, label %62, label %70
62: ; preds = %57
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%64 = load ptr, ptr %6, align 8
%65 = call i64 @fclose(ptr noundef %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %62
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %69
69: ; preds = %67, %62
store i32 0, ptr %3, align 4
br label %77
70: ; preds = %57
%71 = load ptr, ptr %6, align 8
%72 = call i64 @fclose(ptr noundef %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %76
76: ; preds = %74, %70
store i32 1, ptr %3, align 4
br label %77
77: ; preds = %76, %69, %52
%78 = load i32, ptr %3, align 4
ret i32 %78
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @makeRandomSubCube(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo9a9xziy.c'
source_filename = "/tmp/tmpo9a9xziy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".,'+- ()[]!&_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isfname(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 i64 @isalnum(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = call i64 @strchr(ptr noundef @.str, i32 noundef %10)
%12 = icmp ne i64 %11, 0
br label %13
13: ; preds = %9, %6
%14 = phi i1 [ false, %6 ], [ %12, %9 ]
br label %15
15: ; preds = %13, %1
%16 = phi i1 [ true, %1 ], [ %14, %13 ]
%17 = zext i1 %16 to i32
ret i32 %17
}
declare i64 @isalnum(i32 noundef) #1
declare i64 @strchr(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/tmpo9a9xziy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".,'+- ()[]!&_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isfname(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 i64 @isalnum(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = call i64 @strchr(ptr noundef @.str, i32 noundef %10)
%12 = icmp ne i64 %11, 0
br label %13
13: ; preds = %9, %6
%14 = phi i1 [ false, %6 ], [ %12, %9 ]
br label %15
15: ; preds = %13, %1
%16 = phi i1 [ true, %1 ], [ %14, %13 ]
%17 = zext i1 %16 to i32
ret i32 %17
}
declare i64 @isalnum(i32 noundef) #1
declare i64 @strchr(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/tmpj6jr2cpl.c'
source_filename = "/tmp/tmpj6jr2cpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdp_get_nearest_delay(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @hdp_get_nearest_bitrate(float noundef %3)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @hdp_get_nearest_bitrate(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj6jr2cpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdp_get_nearest_delay(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @hdp_get_nearest_bitrate(float noundef %3)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @hdp_get_nearest_bitrate(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzd8b7t6g.c'
source_filename = "/tmp/tmpzd8b7t6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%c\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%s%%%02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @msg_2_spec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
br label %4
4: ; preds = %70, %1
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = zext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br label %12
12: ; preds = %7, %4
%13 = phi i1 [ false, %4 ], [ %11, %7 ]
br i1 %13, label %14, label %73
14: ; preds = %12
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = icmp sge i32 %17, 97
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %2, align 8
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = icmp sle i32 %22, 122
br i1 %23, label %59, label %24
24: ; preds = %19, %14
%25 = load ptr, ptr %2, align 8
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = icmp sge i32 %27, 65
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load ptr, ptr %2, align 8
%31 = load i8, ptr %30, align 1
%32 = zext i8 %31 to i32
%33 = icmp sle i32 %32, 90
br i1 %33, label %59, label %34
34: ; preds = %29, %24
%35 = load ptr, ptr %2, align 8
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
%38 = icmp sge i32 %37, 48
br i1 %38, label %39, label %44
39: ; preds = %34
%40 = load ptr, ptr %2, align 8
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i32
%43 = icmp sle i32 %42, 57
br i1 %43, label %59, label %44
44: ; preds = %39, %34
%45 = load ptr, ptr %2, align 8
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = icmp eq i32 %47, 95
br i1 %48, label %59, label %49
49: ; preds = %44
%50 = load ptr, ptr %2, align 8
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = icmp eq i32 %52, 45
br i1 %53, label %59, label %54
54: ; preds = %49
%55 = load ptr, ptr %2, align 8
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = icmp eq i32 %57, 46
br i1 %58, label %59, label %64
59: ; preds = %54, %49, %44, %39, %29, %19
%60 = load ptr, ptr %3, align 8
%61 = load ptr, ptr %2, align 8
%62 = load i8, ptr %61, align 1
%63 = call i32 @asprintf(ptr noundef %3, ptr noundef @.str.1, ptr noundef %60, i8 noundef zeroext %62)
br label %69
64: ; preds = %54
%65 = load ptr, ptr %3, align 8
%66 = load ptr, ptr %2, align 8
%67 = load i8, ptr %66, align 1
%68 = call i32 @asprintf(ptr noundef %3, ptr noundef @.str.2, ptr noundef %65, i8 noundef zeroext %67)
br label %69
69: ; preds = %64, %59
br label %70
70: ; preds = %69
%71 = load ptr, ptr %2, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %2, align 8
br label %4, !llvm.loop !6
73: ; preds = %12
%74 = load ptr, ptr %3, align 8
ret ptr %74
}
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzd8b7t6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%c\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%s%%%02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @msg_2_spec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
br label %4
4: ; preds = %70, %1
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = zext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br label %12
12: ; preds = %7, %4
%13 = phi i1 [ false, %4 ], [ %11, %7 ]
br i1 %13, label %14, label %73
14: ; preds = %12
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = icmp sge i32 %17, 97
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %2, align 8
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = icmp sle i32 %22, 122
br i1 %23, label %59, label %24
24: ; preds = %19, %14
%25 = load ptr, ptr %2, align 8
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = icmp sge i32 %27, 65
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load ptr, ptr %2, align 8
%31 = load i8, ptr %30, align 1
%32 = zext i8 %31 to i32
%33 = icmp sle i32 %32, 90
br i1 %33, label %59, label %34
34: ; preds = %29, %24
%35 = load ptr, ptr %2, align 8
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
%38 = icmp sge i32 %37, 48
br i1 %38, label %39, label %44
39: ; preds = %34
%40 = load ptr, ptr %2, align 8
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i32
%43 = icmp sle i32 %42, 57
br i1 %43, label %59, label %44
44: ; preds = %39, %34
%45 = load ptr, ptr %2, align 8
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = icmp eq i32 %47, 95
br i1 %48, label %59, label %49
49: ; preds = %44
%50 = load ptr, ptr %2, align 8
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = icmp eq i32 %52, 45
br i1 %53, label %59, label %54
54: ; preds = %49
%55 = load ptr, ptr %2, align 8
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = icmp eq i32 %57, 46
br i1 %58, label %59, label %64
59: ; preds = %54, %49, %44, %39, %29, %19
%60 = load ptr, ptr %3, align 8
%61 = load ptr, ptr %2, align 8
%62 = load i8, ptr %61, align 1
%63 = call i32 @asprintf(ptr noundef %3, ptr noundef @.str.1, ptr noundef %60, i8 noundef zeroext %62)
br label %69
64: ; preds = %54
%65 = load ptr, ptr %3, align 8
%66 = load ptr, ptr %2, align 8
%67 = load i8, ptr %66, align 1
%68 = call i32 @asprintf(ptr noundef %3, ptr noundef @.str.2, ptr noundef %65, i8 noundef zeroext %67)
br label %69
69: ; preds = %64, %59
br label %70
70: ; preds = %69
%71 = load ptr, ptr %2, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %2, align 8
br label %4, !llvm.loop !6
73: ; preds = %12
%74 = load ptr, ptr %3, align 8
ret ptr %74
}
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzauccq0d.c'
source_filename = "/tmp/tmpzauccq0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convexFigListDestroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %4, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = call i32 @convexFigListRm(ptr noundef %8)
br label %3, !llvm.loop !6
10: ; preds = %3
ret void
}
declare i32 @convexFigListRm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzauccq0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convexFigListDestroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %.lr.ph, label %12
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load ptr, ptr %2, align 8
%8 = call i32 @convexFigListRm(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %12
12: ; preds = %._crit_edge, %1
ret void
}
declare i32 @convexFigListRm(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnlan_2iq.c'
source_filename = "/tmp/tmpnlan_2iq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\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 i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %4, align 8
%14 = alloca i64, i64 %12, align 16
store i64 %12, ptr %5, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %6, align 8
br label %15
15: ; preds = %24, %0
%16 = load i64, ptr %6, align 8
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %16, %18
br i1 %19, label %20, label %27
20: ; preds = %15
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds i64, ptr %14, i64 %21
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %20
%25 = load i64, ptr %6, align 8
%26 = add nsw i64 %25, 1
store i64 %26, ptr %6, align 8
br label %15, !llvm.loop !6
27: ; preds = %15
store i64 0, ptr %6, align 8
br label %28
28: ; preds = %74, %27
%29 = load i64, ptr %6, align 8
%30 = load i32, ptr %2, align 4
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %33, label %77
33: ; preds = %28
store i64 0, ptr %9, align 8
%34 = load i64, ptr %6, align 8
%35 = getelementptr inbounds i64, ptr %14, i64 %34
%36 = load i64, ptr %35, align 8
store i64 %36, ptr %3, align 8
store i64 1, ptr %7, align 8
br label %37
37: ; preds = %70, %33
br label %38
38: ; preds = %54, %37
store i64 1, ptr %8, align 8
br label %39
39: ; preds = %59, %38
%40 = load i64, ptr %8, align 8
%41 = load i64, ptr %7, align 8
%42 = icmp sle i64 %40, %41
br i1 %42, label %43, label %62
43: ; preds = %39
%44 = load i64, ptr %7, align 8
%45 = load i64, ptr %8, align 8
%46 = srem i64 %44, %45
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %58
48: ; preds = %43
%49 = load i64, ptr %9, align 8
%50 = add nsw i64 %49, 1
store i64 %50, ptr %9, align 8
%51 = load i64, ptr %9, align 8
%52 = load i64, ptr %3, align 8
%53 = icmp sgt i64 %51, %52
br i1 %53, label %54, label %57
54: ; preds = %48
%55 = load i64, ptr %7, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %7, align 8
br label %38
57: ; preds = %48
br label %58
58: ; preds = %57, %43
br label %59
59: ; preds = %58
%60 = load i64, ptr %8, align 8
%61 = add nsw i64 %60, 2
store i64 %61, ptr %8, align 8
br label %39, !llvm.loop !8
62: ; preds = %39
%63 = load i64, ptr %9, align 8
%64 = load i64, ptr %3, align 8
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i64, ptr %7, align 8
%68 = call i32 @printf(ptr noundef @.str.2, i64 noundef %67)
br label %73
69: ; preds = %62
br label %70
70: ; preds = %69
%71 = load i64, ptr %7, align 8
%72 = add nsw i64 %71, 1
store i64 %72, ptr %7, align 8
br label %37
73: ; preds = %66
br label %74
74: ; preds = %73
%75 = load i64, ptr %6, align 8
%76 = add nsw i64 %75, 1
store i64 %76, ptr %6, align 8
br label %28, !llvm.loop !9
77: ; preds = %28
store i32 0, ptr %1, align 4
%78 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %78)
%79 = load i32, ptr %1, align 4
ret i32 %79
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnlan_2iq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\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 i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %4, align 8
%14 = alloca i64, i64 %12, align 16
store i64 %12, ptr %5, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %23
%20 = load i64, ptr %6, align 8
%21 = getelementptr inbounds i64, ptr %14, i64 %20
%22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %19
%24 = load i64, ptr %6, align 8
%25 = add nsw i64 %24, 1
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %6, align 8
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %30
30: ; preds = %._crit_edge, %0
store i64 0, ptr %6, align 8
%31 = load i64, ptr %6, align 8
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = icmp slt i64 %31, %33
br i1 %34, label %.lr.ph6, label %87
.lr.ph6: ; preds = %30
br label %35
35: ; preds = %.lr.ph6, %80
store i64 0, ptr %9, align 8
%36 = load i64, ptr %6, align 8
%37 = getelementptr inbounds i64, ptr %14, i64 %36
%38 = load i64, ptr %37, align 8
store i64 %38, ptr %3, align 8
store i64 1, ptr %7, align 8
br label %39
39: ; preds = %76, %35
store i64 1, ptr %8, align 8
%40 = load i64, ptr %8, align 8
%41 = load i64, ptr %7, align 8
%42 = icmp sle i64 %40, %41
br i1 %42, label %.lr.ph2.lr.ph, label %._crit_edge3
.lr.ph2.lr.ph: ; preds = %39
br label %.lr.ph2
.lr.ph2: ; preds = %.lr.ph2.lr.ph, %54
br label %43
43: ; preds = %.lr.ph2, %62
%44 = load i64, ptr %7, align 8
%45 = load i64, ptr %8, align 8
%46 = srem i64 %44, %45
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %61
48: ; preds = %43
%49 = load i64, ptr %9, align 8
%50 = add nsw i64 %49, 1
store i64 %50, ptr %9, align 8
%51 = load i64, ptr %9, align 8
%52 = load i64, ptr %3, align 8
%53 = icmp sgt i64 %51, %52
br i1 %53, label %54, label %60
54: ; preds = %48
%55 = load i64, ptr %7, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %7, align 8
store i64 1, ptr %8, align 8
%57 = load i64, ptr %8, align 8
%58 = load i64, ptr %7, align 8
%59 = icmp sle i64 %57, %58
br i1 %59, label %.lr.ph2, label %.._crit_edge3_crit_edge
60: ; preds = %48
br label %61
61: ; preds = %60, %43
br label %62
62: ; preds = %61
%63 = load i64, ptr %8, align 8
%64 = add nsw i64 %63, 2
store i64 %64, ptr %8, align 8
%65 = load i64, ptr %8, align 8
%66 = load i64, ptr %7, align 8
%67 = icmp sle i64 %65, %66
br i1 %67, label %43, label %._crit_edge4, !llvm.loop !8
.._crit_edge3_crit_edge: ; preds = %54
br label %._crit_edge3
._crit_edge3: ; preds = %.._crit_edge3_crit_edge, %39
br label %68
._crit_edge4: ; preds = %62
br label %68
68: ; preds = %._crit_edge4, %._crit_edge3
%69 = load i64, ptr %9, align 8
%70 = load i64, ptr %3, align 8
%71 = icmp eq i64 %69, %70
br i1 %71, label %72, label %75
72: ; preds = %68
%73 = load i64, ptr %7, align 8
%74 = call i32 @printf(ptr noundef @.str.2, i64 noundef %73)
br label %79
75: ; preds = %68
br label %76
76: ; preds = %75
%77 = load i64, ptr %7, align 8
%78 = add nsw i64 %77, 1
store i64 %78, ptr %7, align 8
br label %39
79: ; preds = %72
br label %80
80: ; preds = %79
%81 = load i64, ptr %6, align 8
%82 = add nsw i64 %81, 1
store i64 %82, ptr %6, align 8
%83 = load i64, ptr %6, align 8
%84 = load i32, ptr %2, align 4
%85 = sext i32 %84 to i64
%86 = icmp slt i64 %83, %85
br i1 %86, label %35, label %._crit_edge7, !llvm.loop !9
._crit_edge7: ; preds = %80
br label %87
87: ; preds = %._crit_edge7, %30
store i32 0, ptr %1, align 4
%88 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %88)
%89 = load i32, ptr %1, align 4
ret i32 %89
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpr0dt17yn.c'
source_filename = "/tmp/tmpr0dt17yn.c"
target datalayout = "e-m:e-p270: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/tmpr0dt17yn.c"
target datalayout = "e-m:e-p270: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/tmp6a_06n5f.c'
source_filename = "/tmp/tmp6a_06n5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReSizeGLScene(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %2
store i32 1, ptr %4, align 4
br label %8
8: ; preds = %7, %2
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr @GL_PROJECTION, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
%14 = call i32 (...) @glLoadIdentity()
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = sdiv i32 %15, %16
%18 = call i32 @gluPerspective(float noundef 4.500000e+01, i32 noundef %17, float noundef 0x3FB99999A0000000, float noundef 1.000000e+03)
%19 = load i32, ptr @GL_MODELVIEW, align 4
%20 = call i32 @glMatrixMode(i32 noundef %19)
%21 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(float noundef, i32 noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6a_06n5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReSizeGLScene(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %2
store i32 1, ptr %4, align 4
br label %8
8: ; preds = %7, %2
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr @GL_PROJECTION, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
%14 = call i32 (...) @glLoadIdentity()
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = sdiv i32 %15, %16
%18 = call i32 @gluPerspective(float noundef 4.500000e+01, i32 noundef %17, float noundef 0x3FB99999A0000000, float noundef 1.000000e+03)
%19 = load i32, ptr @GL_MODELVIEW, align 4
%20 = call i32 @glMatrixMode(i32 noundef %19)
%21 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(float noundef, i32 noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4iff3tzs.c'
source_filename = "/tmp/tmp4iff3tzs.c"
target datalayout = "e-m:e-p270: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/tmp4iff3tzs.c"
target datalayout = "e-m:e-p270: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/tmpt5n7g3lq.c'
source_filename = "/tmp/tmpt5n7g3lq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MoveTo.buffer = internal global [56 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [8 x i8] c"1 %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MoveTo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @sprintf(ptr noundef @MoveTo.buffer, ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = call i32 @msgqueue_sendstring(ptr noundef @MoveTo.buffer)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @msgqueue_sendstring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt5n7g3lq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MoveTo.buffer = internal global [56 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [8 x i8] c"1 %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MoveTo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @sprintf(ptr noundef @MoveTo.buffer, ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = call i32 @msgqueue_sendstring(ptr noundef @MoveTo.buffer)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @msgqueue_sendstring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpld_1heyb.c'
source_filename = "/tmp/tmpld_1heyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EDL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @encoderLeft() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @writeCommand(ptr noundef @.str)
%3 = call i32 (...) @readInt()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = sub nsw i32 0, %4
ret i32 %5
}
declare i32 @writeCommand(ptr noundef) #1
declare i32 @readInt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpld_1heyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EDL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @encoderLeft() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @writeCommand(ptr noundef @.str)
%3 = call i32 (...) @readInt()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = sub nsw i32 0, %4
ret i32 %5
}
declare i32 @writeCommand(ptr noundef) #1
declare i32 @readInt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy6brrudl.c'
source_filename = "/tmp/tmpy6brrudl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, 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 %9, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %2, align 8
br label %42
9: ; preds = %1
br label %10
10: ; preds = %15, %9
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @isspace(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %3, align 8
br label %10, !llvm.loop !6
18: ; preds = %10
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strlen(ptr noundef %19)
store i64 %20, ptr %4, align 8
br label %21
21: ; preds = %34, %18
%22 = load i64, ptr %4, align 8
%23 = icmp ugt i64 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load ptr, ptr %3, align 8
%26 = load i64, ptr %4, align 8
%27 = sub i64 %26, 1
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i64 @isspace(i8 noundef signext %29)
%31 = icmp ne i64 %30, 0
br label %32
32: ; preds = %24, %21
%33 = phi i1 [ false, %21 ], [ %31, %24 ]
br i1 %33, label %34, label %37
34: ; preds = %32
%35 = load i64, ptr %4, align 8
%36 = add i64 %35, -1
store i64 %36, ptr %4, align 8
br label %21, !llvm.loop !8
37: ; preds = %32
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %3, align 8
store ptr %41, ptr %2, align 8
br label %42
42: ; preds = %37, %7
%43 = load ptr, ptr %2, align 8
ret ptr %43
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpy6brrudl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, 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 %9, label %7
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %2, align 8
br label %45
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @isspace(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %.lr.ph, label %21
.lr.ph: ; preds = %9
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %21
21: ; preds = %._crit_edge, %9
%22 = load ptr, ptr %3, align 8
%23 = call i64 @strlen(ptr noundef %22)
store i64 %23, ptr %4, align 8
br label %24
24: ; preds = %37, %21
%25 = load i64, ptr %4, align 8
%26 = icmp ugt i64 %25, 0
br i1 %26, label %27, label %35
27: ; preds = %24
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %4, align 8
%30 = sub i64 %29, 1
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = call i64 @isspace(i8 noundef signext %32)
%34 = icmp ne i64 %33, 0
br label %35
35: ; preds = %27, %24
%36 = phi i1 [ false, %24 ], [ %34, %27 ]
br i1 %36, label %37, label %40
37: ; preds = %35
%38 = load i64, ptr %4, align 8
%39 = add i64 %38, -1
store i64 %39, ptr %4, align 8
br label %24, !llvm.loop !8
40: ; preds = %35
%41 = load ptr, ptr %3, align 8
%42 = load i64, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
store i8 0, ptr %43, align 1
%44 = load ptr, ptr %3, align 8
store ptr %44, ptr %2, align 8
br label %45
45: ; preds = %40, %7
%46 = load ptr, ptr %2, align 8
ret ptr %46
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc1zbblef.c'
source_filename = "/tmp/tmpc1zbblef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort_h(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = sub i64 %10, 1
%12 = load i64, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @quickSort(ptr noundef %9, i32 noundef 0, i64 noundef %11, i64 noundef %12, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = load i64, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = call i32 @insertionSort(ptr noundef %15, i64 noundef %16, i64 noundef %17, ptr noundef %18)
ret void
}
declare i32 @quickSort(ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i32 @insertionSort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc1zbblef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort_h(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = sub i64 %10, 1
%12 = load i64, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @quickSort(ptr noundef %9, i32 noundef 0, i64 noundef %11, i64 noundef %12, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = load i64, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = call i32 @insertionSort(ptr noundef %15, i64 noundef %16, i64 noundef %17, ptr noundef %18)
ret void
}
declare i32 @quickSort(ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i32 @insertionSort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5fk1ipiq.c'
source_filename = "/tmp/tmp5fk1ipiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max4(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = call i32 @max3(i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr %8, align 4
%14 = call i32 @max(i32 noundef %12, i32 noundef %13)
ret i32 %14
}
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @max3(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5fk1ipiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max4(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = call i32 @max3(i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr %8, align 4
%14 = call i32 @max(i32 noundef %12, i32 noundef %13)
ret i32 %14
}
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @max3(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz_uj4_0l.c'
source_filename = "/tmp/tmpz_uj4_0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isunordered(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @fpcompare(double noundef %5, double noundef %6, i32 noundef 17664, i32 noundef -1)
ret i32 %7
}
declare i32 @fpcompare(double noundef, double 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/tmpz_uj4_0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isunordered(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @fpcompare(double noundef %5, double noundef %6, i32 noundef 17664, i32 noundef -1)
ret i32 %7
}
declare i32 @fpcompare(double noundef, double 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/tmpmvc2_jpq.c'
source_filename = "/tmp/tmpmvc2_jpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putchar_hex(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
store ptr @.str, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = and i32 %6, 240
%8 = ashr i32 %7, 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %4, i64 %9
%11 = load i8, ptr %10, align 1
%12 = call i32 @putchar(i8 noundef signext %11)
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = and i32 %15, 15
%17 = ashr i32 %16, 0
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %13, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i32 @putchar(i8 noundef signext %20)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmvc2_jpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putchar_hex(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
store ptr @.str, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = and i32 %6, 240
%8 = ashr i32 %7, 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %4, i64 %9
%11 = load i8, ptr %10, align 1
%12 = call i32 @putchar(i8 noundef signext %11)
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = and i32 %15, 15
%17 = ashr i32 %16, 0
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %13, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i32 @putchar(i8 noundef signext %20)
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgra2a1ix.c'
source_filename = "/tmp/tmpgra2a1ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @kernel_print_character(i8 noundef signext %3)
ret void
}
declare i32 @kernel_print_character(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/tmpgra2a1ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @kernel_print_character(i8 noundef signext %3)
ret void
}
declare i32 @kernel_print_character(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/tmp4qrfldjn.c'
source_filename = "/tmp/tmp4qrfldjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_50(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @__analyzer_eval(i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 @__analyzer_eval(i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = icmp eq ptr %17, %18
%20 = zext i1 %19 to i32
%21 = call i32 @__analyzer_eval(i32 noundef %20)
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = icmp eq ptr %22, %23
%25 = zext i1 %24 to i32
%26 = call i32 @__analyzer_eval(i32 noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %3, align 8
%29 = icmp eq ptr %27, %28
%30 = zext i1 %29 to i32
%31 = call i32 @__analyzer_eval(i32 noundef %30)
%32 = load ptr, ptr %3, align 8
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %3, align 8
%34 = load ptr, ptr %5, align 8
%35 = icmp eq ptr %33, %34
%36 = zext i1 %35 to i32
%37 = call i32 @__analyzer_eval(i32 noundef %36)
%38 = load ptr, ptr %4, align 8
store ptr %38, ptr %6, align 8
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %6, align 8
%41 = icmp eq ptr %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @__analyzer_eval(i32 noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %6, align 8
%46 = icmp eq ptr %44, %45
%47 = zext i1 %46 to i32
%48 = call i32 @__analyzer_eval(i32 noundef %47)
ret void
}
declare i32 @__analyzer_eval(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/tmp4qrfldjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_50(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @__analyzer_eval(i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = icmp eq ptr %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 @__analyzer_eval(i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = icmp eq ptr %17, %18
%20 = zext i1 %19 to i32
%21 = call i32 @__analyzer_eval(i32 noundef %20)
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = icmp eq ptr %22, %23
%25 = zext i1 %24 to i32
%26 = call i32 @__analyzer_eval(i32 noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %3, align 8
%29 = icmp eq ptr %27, %28
%30 = zext i1 %29 to i32
%31 = call i32 @__analyzer_eval(i32 noundef %30)
%32 = load ptr, ptr %3, align 8
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %3, align 8
%34 = load ptr, ptr %5, align 8
%35 = icmp eq ptr %33, %34
%36 = zext i1 %35 to i32
%37 = call i32 @__analyzer_eval(i32 noundef %36)
%38 = load ptr, ptr %4, align 8
store ptr %38, ptr %6, align 8
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %6, align 8
%41 = icmp eq ptr %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @__analyzer_eval(i32 noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %6, align 8
%46 = icmp eq ptr %44, %45
%47 = zext i1 %46 to i32
%48 = call i32 @__analyzer_eval(i32 noundef %47)
ret void
}
declare i32 @__analyzer_eval(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/tmpxtincxc5.c'
source_filename = "/tmp/tmpxtincxc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"NOT IMPLEMENTED:pa_memchunk_make_writable\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memchunk_make_writable() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxtincxc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"NOT IMPLEMENTED:pa_memchunk_make_writable\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memchunk_make_writable() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpga8x3eiv.c'
source_filename = "/tmp/tmpga8x3eiv.c"
target datalayout = "e-m:e-p270: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/tmpga8x3eiv.c"
target datalayout = "e-m:e-p270: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/tmps_vi8afs.c'
source_filename = "/tmp/tmps_vi8afs.c"
target datalayout = "e-m:e-p270: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/tmps_vi8afs.c"
target datalayout = "e-m:e-p270: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/tmp391jxk71.c'
source_filename = "/tmp/tmp391jxk71.c"
target datalayout = "e-m:e-p270: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/tmp391jxk71.c"
target datalayout = "e-m:e-p270: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/tmpuqvvoxkh.c'
source_filename = "/tmp/tmpuqvvoxkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [80 x i8] c"Inserisci il codice contratto del lavoratore ( 0 per aiuto -1 per terminare ): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"La paga per l'impiegato in posizione manageriale e' pari a: $%.2lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [117 x i8] c"Si sta calcolando la paga di un Lavoratore con contratto a ore.\0APrego inserire le ore lavorate in questa settimana: \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\0A%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c"La paga per l'impiegato con contratto ad ore e' pari a: $%.2lf\0A\00", align 1
@.str.8 = private unnamed_addr constant [129 x i8] c"Si sta calcolando la paga di un Lavoratore con contratto a commissione.\0AInserire l'importo lordo delle vendite dell'impiegato: $\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.10 = private unnamed_addr constant [102 x i8] c"La paga per l'impiegato con contratto a provigioni con vendite lorde pari a $%.2lf e' pari a: $%.2lf\0A\00", align 1
@.str.11 = private unnamed_addr constant [128 x i8] c"Si sta calcolando la paga di un Lavoratore con contratto a cottimo.\0AInserire la quantita' di articoli prodotti dall'impiegato: \00", align 1
@.str.12 = private unnamed_addr constant [100 x i8] c"La paga per l'impiegato con contratto a cottimo il quale ha prodotto %u articoli e' pari a: $%.2lf\0A\00", align 1
@.str.13 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"Manager \09\09\09Cod. 1\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"lavoratori a ore \09\09Cod. 2\00", align 1
@.str.16 = private unnamed_addr constant [33 x i8] c"lavoratori a commissione \09Cod. 3\00", align 1
@.str.17 = private unnamed_addr constant [30 x i8] c"lavoratori a cottimo \09\09Cod. 4\00", align 1
@.str.18 = private unnamed_addr constant [43 x i8] c"\0AValore non valido, ripetere l'inserimento\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 double, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %64, %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7)
%12 = load i32, ptr %7, align 4
switch i32 %12, label %61 [
i32 1, label %13
i32 2, label %15
i32 3, label %35
i32 4, label %43
i32 0, label %52
i32 -1, label %59
i32 32, label %60
i32 10, label %60
i32 9, label %60
]
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.500000e+03)
br label %63
15: ; preds = %9
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.4)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %2)
%18 = load i32, ptr %2, align 4
%19 = icmp ugt i32 %18, 40
br i1 %19, label %20, label %28
20: ; preds = %15
%21 = load i32, ptr %2, align 4
%22 = sub i32 %21, 40
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = uitofp i32 %25 to double
%27 = call double @llvm.fmuladd.f64(double %26, double 1.500000e+01, double 4.000000e+02)
store double %27, ptr %6, align 8
br label %32
28: ; preds = %15
%29 = load i32, ptr %2, align 4
%30 = uitofp i32 %29 to double
%31 = fmul double %30, 1.000000e+01
store double %31, ptr %6, align 8
br label %32
32: ; preds = %28, %20
%33 = load double, ptr %6, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %33)
br label %63
35: ; preds = %9
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
%37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %4)
%38 = load double, ptr %4, align 8
%39 = call double @llvm.fmuladd.f64(double %38, double 5.700000e-02, double 2.000000e+02)
store double %39, ptr %6, align 8
%40 = load double, ptr %4, align 8
%41 = load double, ptr %6, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %40, double noundef %41)
br label %63
43: ; preds = %9
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.11)
%45 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %5)
%46 = load i32, ptr %5, align 4
%47 = uitofp i32 %46 to double
%48 = fmul double %47, 2.500000e+00
store double %48, ptr %6, align 8
%49 = load i32, ptr %5, align 4
%50 = load double, ptr %6, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %49, double noundef %50)
br label %63
52: ; preds = %9
%53 = call i32 @puts(ptr noundef @.str.13)
%54 = call i32 @puts(ptr noundef @.str.14)
%55 = call i32 @puts(ptr noundef @.str.15)
%56 = call i32 @puts(ptr noundef @.str.16)
%57 = call i32 @puts(ptr noundef @.str.17)
%58 = call i32 @puts(ptr noundef @.str.13)
br label %63
59: ; preds = %9
store i32 1, ptr %8, align 4
br label %63
60: ; preds = %9, %9, %9
br label %61
61: ; preds = %9, %60
%62 = call i32 @puts(ptr noundef @.str.18)
br label %63
63: ; preds = %61, %59, %52, %43, %35, %32, %13
br label %64
64: ; preds = %63
%65 = load i32, ptr %8, align 4
%66 = icmp ne i32 %65, 1
br i1 %66, label %9, label %67, !llvm.loop !6
67: ; preds = %64
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpuqvvoxkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [80 x i8] c"Inserisci il codice contratto del lavoratore ( 0 per aiuto -1 per terminare ): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"La paga per l'impiegato in posizione manageriale e' pari a: $%.2lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [117 x i8] c"Si sta calcolando la paga di un Lavoratore con contratto a ore.\0APrego inserire le ore lavorate in questa settimana: \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\0A%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c"La paga per l'impiegato con contratto ad ore e' pari a: $%.2lf\0A\00", align 1
@.str.8 = private unnamed_addr constant [129 x i8] c"Si sta calcolando la paga di un Lavoratore con contratto a commissione.\0AInserire l'importo lordo delle vendite dell'impiegato: $\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.10 = private unnamed_addr constant [102 x i8] c"La paga per l'impiegato con contratto a provigioni con vendite lorde pari a $%.2lf e' pari a: $%.2lf\0A\00", align 1
@.str.11 = private unnamed_addr constant [128 x i8] c"Si sta calcolando la paga di un Lavoratore con contratto a cottimo.\0AInserire la quantita' di articoli prodotti dall'impiegato: \00", align 1
@.str.12 = private unnamed_addr constant [100 x i8] c"La paga per l'impiegato con contratto a cottimo il quale ha prodotto %u articoli e' pari a: $%.2lf\0A\00", align 1
@.str.13 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"Manager \09\09\09Cod. 1\00", align 1
@.str.15 = private unnamed_addr constant [26 x i8] c"lavoratori a ore \09\09Cod. 2\00", align 1
@.str.16 = private unnamed_addr constant [33 x i8] c"lavoratori a commissione \09Cod. 3\00", align 1
@.str.17 = private unnamed_addr constant [30 x i8] c"lavoratori a cottimo \09\09Cod. 4\00", align 1
@.str.18 = private unnamed_addr constant [43 x i8] c"\0AValore non valido, ripetere l'inserimento\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 double, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %64, %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7)
%12 = load i32, ptr %7, align 4
switch i32 %12, label %61 [
i32 1, label %13
i32 2, label %15
i32 3, label %35
i32 4, label %43
i32 0, label %52
i32 -1, label %59
i32 32, label %60
i32 10, label %60
i32 9, label %60
]
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.500000e+03)
br label %63
15: ; preds = %9
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.4)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %2)
%18 = load i32, ptr %2, align 4
%19 = icmp ugt i32 %18, 40
br i1 %19, label %20, label %28
20: ; preds = %15
%21 = load i32, ptr %2, align 4
%22 = sub i32 %21, 40
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = uitofp i32 %25 to double
%27 = call double @llvm.fmuladd.f64(double %26, double 1.500000e+01, double 4.000000e+02)
store double %27, ptr %6, align 8
br label %32
28: ; preds = %15
%29 = load i32, ptr %2, align 4
%30 = uitofp i32 %29 to double
%31 = fmul double %30, 1.000000e+01
store double %31, ptr %6, align 8
br label %32
32: ; preds = %28, %20
%33 = load double, ptr %6, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %33)
br label %63
35: ; preds = %9
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
%37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %4)
%38 = load double, ptr %4, align 8
%39 = call double @llvm.fmuladd.f64(double %38, double 5.700000e-02, double 2.000000e+02)
store double %39, ptr %6, align 8
%40 = load double, ptr %4, align 8
%41 = load double, ptr %6, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %40, double noundef %41)
br label %63
43: ; preds = %9
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.11)
%45 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %5)
%46 = load i32, ptr %5, align 4
%47 = uitofp i32 %46 to double
%48 = fmul double %47, 2.500000e+00
store double %48, ptr %6, align 8
%49 = load i32, ptr %5, align 4
%50 = load double, ptr %6, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %49, double noundef %50)
br label %63
52: ; preds = %9
%53 = call i32 @puts(ptr noundef @.str.13)
%54 = call i32 @puts(ptr noundef @.str.14)
%55 = call i32 @puts(ptr noundef @.str.15)
%56 = call i32 @puts(ptr noundef @.str.16)
%57 = call i32 @puts(ptr noundef @.str.17)
%58 = call i32 @puts(ptr noundef @.str.13)
br label %63
59: ; preds = %9
store i32 1, ptr %8, align 4
br label %63
60: ; preds = %9, %9, %9
br label %61
61: ; preds = %60, %9
%62 = call i32 @puts(ptr noundef @.str.18)
br label %63
63: ; preds = %61, %59, %52, %43, %35, %32, %13
br label %64
64: ; preds = %63
%65 = load i32, ptr %8, align 4
%66 = icmp ne i32 %65, 1
br i1 %66, label %9, label %67, !llvm.loop !6
67: ; preds = %64
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp_nxurvph.c'
source_filename = "/tmp/tmp_nxurvph.c"
target datalayout = "e-m:e-p270: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_nxurvph.c"
target datalayout = "e-m:e-p270: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/tmpfcv21ip1.c'
source_filename = "/tmp/tmpfcv21ip1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"measurement\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"update_statement.e %s %s '^^'\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"station,measurement_date,measurement_time,datatype\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"%s and datatype = 'salinity'\00", align 1
@.str.5 = private unnamed_addr constant [128 x i8] c"measurement_date,measurement_time,last_validation_date,last_person_validating,last_validation_process,measurement_update_method\00", align 1
@.str.6 = private unnamed_addr constant [84 x i8] c"get_folder_data\09application=%s\09\09\09\09\09select=%s\09\09\09\09\09folder=measurement\09\09\09\09where=\22%s\22\09\09\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"%s^%s^%s^%s^last_validation_date^%s\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"oxygen_solubility\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"%s^%s^%s^%s^last_person_validating^%s\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"%s^%s^%s^%s^last_validation_process^%s\0A\00", align 1
@.str.12 = private unnamed_addr constant [42 x i8] c"%s^%s^%s^%s^measurement_update_method^%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @update_validation_columns(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [1024 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca [1024 x i8], align 16
%13 = alloca [128 x i8], align 16
%14 = alloca [128 x i8], align 16
%15 = alloca [128 x i8], align 16
%16 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @get_table_name(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %16, align 8
%19 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%20 = load ptr, ptr %16, align 8
%21 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef @.str.2)
%22 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%23 = call ptr @popen(ptr noundef %22, ptr noundef @.str.3)
store ptr %23, ptr %9, align 8
%24 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%25 = load ptr, ptr %6, align 8
%26 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %24, ptr noundef @.str.4, ptr noundef %25)
store ptr @.str.5, ptr %11, align 8
%27 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %11, align 8
%30 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%31 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %27, ptr noundef @.str.6, ptr noundef %28, ptr noundef %29, ptr noundef %30)
%32 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%33 = call ptr @popen(ptr noundef %32, ptr noundef @.str.7)
store ptr %33, ptr %8, align 8
br label %34
34: ; preds = %101, %3
%35 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%36 = load ptr, ptr %8, align 8
%37 = call i64 @get_line(ptr noundef %35, ptr noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %102
39: ; preds = %34
%40 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%41 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%42 = call i32 @piece(ptr noundef %40, i8 noundef signext 94, ptr noundef %41, i32 noundef 0)
%43 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%44 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%45 = call i32 @piece(ptr noundef %43, i8 noundef signext 94, ptr noundef %44, i32 noundef 1)
%46 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%47 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%48 = call i32 @piece(ptr noundef %46, i8 noundef signext 94, ptr noundef %47, i32 noundef 2)
%49 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%50 = load i8, ptr %49, align 16
%51 = icmp ne i8 %50, 0
br i1 %51, label %52, label %59
52: ; preds = %39
%53 = load ptr, ptr %9, align 8
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%56 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%57 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%58 = call i32 @fprintf(ptr noundef %53, ptr noundef @.str.8, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef @.str.9, ptr noundef %57)
br label %59
59: ; preds = %52, %39
%60 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%61 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%62 = call i32 @piece(ptr noundef %60, i8 noundef signext 94, ptr noundef %61, i32 noundef 3)
%63 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%64 = load i8, ptr %63, align 16
%65 = icmp ne i8 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %59
%67 = load ptr, ptr %9, align 8
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%70 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%71 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%72 = call i32 @fprintf(ptr noundef %67, ptr noundef @.str.10, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef @.str.9, ptr noundef %71)
br label %73
73: ; preds = %66, %59
%74 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%75 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%76 = call i32 @piece(ptr noundef %74, i8 noundef signext 94, ptr noundef %75, i32 noundef 4)
%77 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%78 = load i8, ptr %77, align 16
%79 = icmp ne i8 %78, 0
br i1 %79, label %80, label %87
80: ; preds = %73
%81 = load ptr, ptr %9, align 8
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%84 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%85 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%86 = call i32 @fprintf(ptr noundef %81, ptr noundef @.str.11, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef @.str.9, ptr noundef %85)
br label %87
87: ; preds = %80, %73
%88 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%89 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%90 = call i32 @piece(ptr noundef %88, i8 noundef signext 94, ptr noundef %89, i32 noundef 5)
%91 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%92 = load i8, ptr %91, align 16
%93 = icmp ne i8 %92, 0
br i1 %93, label %94, label %101
94: ; preds = %87
%95 = load ptr, ptr %9, align 8
%96 = load ptr, ptr %5, align 8
%97 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%98 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%99 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%100 = call i32 @fprintf(ptr noundef %95, ptr noundef @.str.12, ptr noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef @.str.9, ptr noundef %99)
br label %101
101: ; preds = %94, %87
br label %34, !llvm.loop !6
102: ; preds = %34
%103 = load ptr, ptr %8, align 8
%104 = call i32 @pclose(ptr noundef %103)
%105 = load ptr, ptr %9, align 8
%106 = call i32 @pclose(ptr noundef %105)
ret void
}
declare ptr @get_table_name(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i64 @get_line(ptr noundef, ptr noundef) #1
declare i32 @piece(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfcv21ip1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"measurement\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"update_statement.e %s %s '^^'\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"station,measurement_date,measurement_time,datatype\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"%s and datatype = 'salinity'\00", align 1
@.str.5 = private unnamed_addr constant [128 x i8] c"measurement_date,measurement_time,last_validation_date,last_person_validating,last_validation_process,measurement_update_method\00", align 1
@.str.6 = private unnamed_addr constant [84 x i8] c"get_folder_data\09application=%s\09\09\09\09\09select=%s\09\09\09\09\09folder=measurement\09\09\09\09where=\22%s\22\09\09\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"%s^%s^%s^%s^last_validation_date^%s\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"oxygen_solubility\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"%s^%s^%s^%s^last_person_validating^%s\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"%s^%s^%s^%s^last_validation_process^%s\0A\00", align 1
@.str.12 = private unnamed_addr constant [42 x i8] c"%s^%s^%s^%s^measurement_update_method^%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @update_validation_columns(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [1024 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca [1024 x i8], align 16
%13 = alloca [128 x i8], align 16
%14 = alloca [128 x i8], align 16
%15 = alloca [128 x i8], align 16
%16 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @get_table_name(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %16, align 8
%19 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%20 = load ptr, ptr %16, align 8
%21 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef @.str.2)
%22 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%23 = call ptr @popen(ptr noundef %22, ptr noundef @.str.3)
store ptr %23, ptr %9, align 8
%24 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%25 = load ptr, ptr %6, align 8
%26 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %24, ptr noundef @.str.4, ptr noundef %25)
store ptr @.str.5, ptr %11, align 8
%27 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %11, align 8
%30 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%31 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %27, ptr noundef @.str.6, ptr noundef %28, ptr noundef %29, ptr noundef %30)
%32 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%33 = call ptr @popen(ptr noundef %32, ptr noundef @.str.7)
store ptr %33, ptr %8, align 8
%34 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%35 = load ptr, ptr %8, align 8
%36 = call i64 @get_line(ptr noundef %34, ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %.lr.ph, label %104
.lr.ph: ; preds = %3
br label %38
38: ; preds = %.lr.ph, %100
%39 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%40 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%41 = call i32 @piece(ptr noundef %39, i8 noundef signext 94, ptr noundef %40, i32 noundef 0)
%42 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%43 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%44 = call i32 @piece(ptr noundef %42, i8 noundef signext 94, ptr noundef %43, i32 noundef 1)
%45 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%46 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%47 = call i32 @piece(ptr noundef %45, i8 noundef signext 94, ptr noundef %46, i32 noundef 2)
%48 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%49 = load i8, ptr %48, align 16
%50 = icmp ne i8 %49, 0
br i1 %50, label %51, label %58
51: ; preds = %38
%52 = load ptr, ptr %9, align 8
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%55 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%56 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%57 = call i32 @fprintf(ptr noundef %52, ptr noundef @.str.8, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef @.str.9, ptr noundef %56)
br label %58
58: ; preds = %51, %38
%59 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%60 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%61 = call i32 @piece(ptr noundef %59, i8 noundef signext 94, ptr noundef %60, i32 noundef 3)
%62 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%63 = load i8, ptr %62, align 16
%64 = icmp ne i8 %63, 0
br i1 %64, label %65, label %72
65: ; preds = %58
%66 = load ptr, ptr %9, align 8
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%69 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%70 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%71 = call i32 @fprintf(ptr noundef %66, ptr noundef @.str.10, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef @.str.9, ptr noundef %70)
br label %72
72: ; preds = %65, %58
%73 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%74 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%75 = call i32 @piece(ptr noundef %73, i8 noundef signext 94, ptr noundef %74, i32 noundef 4)
%76 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%77 = load i8, ptr %76, align 16
%78 = icmp ne i8 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %72
%80 = load ptr, ptr %9, align 8
%81 = load ptr, ptr %5, align 8
%82 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%83 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%84 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%85 = call i32 @fprintf(ptr noundef %80, ptr noundef @.str.11, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef @.str.9, ptr noundef %84)
br label %86
86: ; preds = %79, %72
%87 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%88 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%89 = call i32 @piece(ptr noundef %87, i8 noundef signext 94, ptr noundef %88, i32 noundef 5)
%90 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%91 = load i8, ptr %90, align 16
%92 = icmp ne i8 %91, 0
br i1 %92, label %93, label %100
93: ; preds = %86
%94 = load ptr, ptr %9, align 8
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%97 = getelementptr inbounds [128 x i8], ptr %14, i64 0, i64 0
%98 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%99 = call i32 @fprintf(ptr noundef %94, ptr noundef @.str.12, ptr noundef %95, ptr noundef %96, ptr noundef %97, ptr noundef @.str.9, ptr noundef %98)
br label %100
100: ; preds = %93, %86
%101 = load ptr, ptr %8, align 8
%102 = call i64 @get_line(ptr noundef %34, ptr noundef %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %100
br label %104
104: ; preds = %._crit_edge, %3
%105 = load ptr, ptr %8, align 8
%106 = call i32 @pclose(ptr noundef %105)
%107 = load ptr, ptr %9, align 8
%108 = call i32 @pclose(ptr noundef %107)
ret void
}
declare ptr @get_table_name(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i64 @get_line(ptr noundef, ptr noundef) #1
declare i32 @piece(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprqv6t427.c'
source_filename = "/tmp/tmprqv6t427.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %10
10: ; preds = %74, %0
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %77
14: ; preds = %10
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %8, align 4
br label %17
17: ; preds = %70, %14
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %21, label %73
21: ; preds = %17
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = and i32 %23, %24
%26 = icmp slt i32 %22, %25
br i1 %26, label %27, label %37
27: ; preds = %21
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = and i32 %28, %29
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %37
33: ; preds = %27
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = and i32 %34, %35
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %33, %27, %21
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %8, align 4
%41 = or i32 %39, %40
%42 = icmp slt i32 %38, %41
br i1 %42, label %43, label %53
43: ; preds = %37
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %8, align 4
%46 = or i32 %44, %45
%47 = load i32, ptr %3, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %53
49: ; preds = %43
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %8, align 4
%52 = or i32 %50, %51
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %49, %43, %37
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %8, align 4
%57 = xor i32 %55, %56
%58 = icmp slt i32 %54, %57
br i1 %58, label %59, label %69
59: ; preds = %53
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %8, align 4
%62 = xor i32 %60, %61
%63 = load i32, ptr %3, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %69
65: ; preds = %59
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %8, align 4
%68 = xor i32 %66, %67
store i32 %68, ptr %6, align 4
br label %69
69: ; preds = %65, %59, %53
br label %70
70: ; preds = %69
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %8, align 4
br label %17, !llvm.loop !6
73: ; preds = %17
br label %74
74: ; preds = %73
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
br label %10, !llvm.loop !8
77: ; preds = %10
%78 = load i32, ptr %4, align 4
%79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %78)
%80 = load i32, ptr %5, align 4
%81 = call i32 @printf(ptr noundef @.str.1, i32 noundef %80)
%82 = load i32, ptr %6, align 4
%83 = call i32 @printf(ptr noundef @.str.1, i32 noundef %82)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprqv6t427.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph2, label %81
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %75
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph, label %74
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %68
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = and i32 %21, %22
%24 = icmp slt i32 %20, %23
br i1 %24, label %25, label %35
25: ; preds = %19
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %8, align 4
%28 = and i32 %26, %27
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = and i32 %32, %33
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %31, %25, %19
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %8, align 4
%39 = or i32 %37, %38
%40 = icmp slt i32 %36, %39
br i1 %40, label %41, label %51
41: ; preds = %35
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %8, align 4
%44 = or i32 %42, %43
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %51
47: ; preds = %41
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %8, align 4
%50 = or i32 %48, %49
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %47, %41, %35
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = xor i32 %53, %54
%56 = icmp slt i32 %52, %55
br i1 %56, label %57, label %67
57: ; preds = %51
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %8, align 4
%60 = xor i32 %58, %59
%61 = load i32, ptr %3, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %67
63: ; preds = %57
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %8, align 4
%66 = xor i32 %64, %65
store i32 %66, ptr %6, align 4
br label %67
67: ; preds = %63, %57, %51
br label %68
68: ; preds = %67
%69 = load i32, ptr %8, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %8, align 4
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %2, align 4
%73 = icmp sle i32 %71, %72
br i1 %73, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %13
br label %75
75: ; preds = %74
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %7, align 4
%78 = load i32, ptr %7, align 4
%79 = load i32, ptr %2, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %81
81: ; preds = %._crit_edge3, %0
%82 = load i32, ptr %4, align 4
%83 = call i32 @printf(ptr noundef @.str.1, i32 noundef %82)
%84 = load i32, ptr %5, align 4
%85 = call i32 @printf(ptr noundef @.str.1, i32 noundef %84)
%86 = load i32, ptr %6, align 4
%87 = call i32 @printf(ptr noundef @.str.1, i32 noundef %86)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9te1eqy7.c'
source_filename = "/tmp/tmp9te1eqy7.c"
target datalayout = "e-m:e-p270: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/tmp9te1eqy7.c"
target datalayout = "e-m:e-p270: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/tmp45j1xazd.c'
source_filename = "/tmp/tmp45j1xazd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sk_OPENSSL_CSTRING_reserve(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 @OPENSSL_sk_reserve(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @OPENSSL_sk_reserve(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/tmp45j1xazd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sk_OPENSSL_CSTRING_reserve(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 @OPENSSL_sk_reserve(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @OPENSSL_sk_reserve(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/tmps341dv9v.c'
source_filename = "/tmp/tmps341dv9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x0c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x0c() #0 {
%1 = call i64 @isgraph(i32 noundef 12)
%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 65, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmps341dv9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x0c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x0c() #0 {
%1 = call i64 @isgraph(i32 noundef 12)
%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 65, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpbd7gtuc8.c'
source_filename = "/tmp/tmpbd7gtuc8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"+++++ +++++\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"[\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\09>\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"\09< -\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c" <\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generate_loop(i8 noundef signext %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i32 %2, ptr %6, align 4
%10 = load i8, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = sdiv i32 %11, 10
store i32 %12, ptr %8, align 4
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = srem i32 %14, 10
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %103
18: ; preds = %3
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %25, %18
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = call i32 @printf(ptr noundef @.str)
br label %25
25: ; preds = %23
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %19, !llvm.loop !6
28: ; preds = %19
%29 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
br label %30
30: ; preds = %36, %28
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %39
34: ; preds = %30
%35 = call i32 @printf(ptr noundef @.str)
br label %36
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %30, !llvm.loop !8
39: ; preds = %30
%40 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
br label %41
41: ; preds = %47, %39
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %50
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str)
br label %47
47: ; preds = %45
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %7, align 4
br label %41, !llvm.loop !9
50: ; preds = %41
%51 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %7, align 4
br label %52
52: ; preds = %65, %50
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %68
56: ; preds = %52
%57 = load i32, ptr %7, align 4
%58 = srem i32 %57, 5
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @printf(ptr noundef @.str.4)
br label %62
62: ; preds = %60, %56
%63 = load i8, ptr %5, align 1
%64 = call i32 @putchar(i8 noundef signext %63)
br label %65
65: ; preds = %62
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
br label %52, !llvm.loop !10
68: ; preds = %52
%69 = call i32 @printf(ptr noundef @.str.5)
store i32 0, ptr %7, align 4
br label %70
70: ; preds = %76, %68
%71 = load i32, ptr %7, align 4
%72 = load i32, ptr %6, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %79
74: ; preds = %70
%75 = call i32 @printf(ptr noundef @.str)
br label %76
76: ; preds = %74
%77 = load i32, ptr %7, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %7, align 4
br label %70, !llvm.loop !11
79: ; preds = %70
%80 = call i32 @printf(ptr noundef @.str.6)
store i32 0, ptr %7, align 4
br label %81
81: ; preds = %87, %79
%82 = load i32, ptr %7, align 4
%83 = load i32, ptr %6, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %90
85: ; preds = %81
%86 = call i32 @printf(ptr noundef @.str)
br label %87
87: ; preds = %85
%88 = load i32, ptr %7, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %7, align 4
br label %81, !llvm.loop !12
90: ; preds = %81
%91 = call i32 @printf(ptr noundef @.str.7)
store i32 0, ptr %7, align 4
br label %92
92: ; preds = %98, %90
%93 = load i32, ptr %7, align 4
%94 = load i32, ptr %6, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %96, label %101
96: ; preds = %92
%97 = call i32 @printf(ptr noundef @.str)
br label %98
98: ; preds = %96
%99 = load i32, ptr %7, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %7, align 4
br label %92, !llvm.loop !13
101: ; preds = %92
%102 = call i32 @printf(ptr noundef @.str.8)
br label %103
103: ; preds = %101, %3
store i32 0, ptr %7, align 4
br label %104
104: ; preds = %117, %103
%105 = load i32, ptr %7, align 4
%106 = load i32, ptr %9, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %108, label %120
108: ; preds = %104
%109 = load i32, ptr %7, align 4
%110 = srem i32 %109, 5
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %114
112: ; preds = %108
%113 = call i32 @printf(ptr noundef @.str.4)
br label %114
114: ; preds = %112, %108
%115 = load i8, ptr %5, align 1
%116 = call i32 @putchar(i8 noundef signext %115)
br label %117
117: ; preds = %114
%118 = load i32, ptr %7, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %7, align 4
br label %104, !llvm.loop !14
120: ; preds = %104
%121 = call i32 @printf(ptr noundef @.str.9)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbd7gtuc8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"+++++ +++++\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"[\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\09>\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"\09< -\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c" <\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generate_loop(i8 noundef signext %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i32 %2, ptr %6, align 4
%10 = load i8, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = sdiv i32 %11, 10
store i32 %12, ptr %8, align 4
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = srem i32 %14, 10
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %117
18: ; preds = %3
store i32 0, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %30
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %24
%23 = call i32 @printf(ptr noundef @.str)
br label %24
24: ; preds = %22
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %18
%31 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %43
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %37
%36 = call i32 @printf(ptr noundef @.str)
br label %37
37: ; preds = %35
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %30
%44 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph5, label %56
.lr.ph5: ; preds = %43
br label %48
48: ; preds = %.lr.ph5, %50
%49 = call i32 @printf(ptr noundef @.str)
br label %50
50: ; preds = %48
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %48, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %50
br label %56
56: ; preds = %._crit_edge6, %43
%57 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %.lr.ph8, label %76
.lr.ph8: ; preds = %56
br label %61
61: ; preds = %.lr.ph8, %70
%62 = load i32, ptr %7, align 4
%63 = srem i32 %62, 5
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32 @printf(ptr noundef @.str.4)
br label %67
67: ; preds = %65, %61
%68 = load i8, ptr %5, align 1
%69 = call i32 @putchar(i8 noundef signext %68)
br label %70
70: ; preds = %67
%71 = load i32, ptr %7, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %7, align 4
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %8, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %61, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %70
br label %76
76: ; preds = %._crit_edge9, %56
%77 = call i32 @printf(ptr noundef @.str.5)
store i32 0, ptr %7, align 4
%78 = load i32, ptr %7, align 4
%79 = load i32, ptr %6, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph11, label %89
.lr.ph11: ; preds = %76
br label %81
81: ; preds = %.lr.ph11, %83
%82 = call i32 @printf(ptr noundef @.str)
br label %83
83: ; preds = %81
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %7, align 4
%86 = load i32, ptr %7, align 4
%87 = load i32, ptr %6, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %81, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %83
br label %89
89: ; preds = %._crit_edge12, %76
%90 = call i32 @printf(ptr noundef @.str.6)
store i32 0, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = load i32, ptr %6, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %.lr.ph14, label %102
.lr.ph14: ; preds = %89
br label %94
94: ; preds = %.lr.ph14, %96
%95 = call i32 @printf(ptr noundef @.str)
br label %96
96: ; preds = %94
%97 = load i32, ptr %7, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %7, align 4
%99 = load i32, ptr %7, align 4
%100 = load i32, ptr %6, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %94, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %96
br label %102
102: ; preds = %._crit_edge15, %89
%103 = call i32 @printf(ptr noundef @.str.7)
store i32 0, ptr %7, align 4
%104 = load i32, ptr %7, align 4
%105 = load i32, ptr %6, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %.lr.ph17, label %115
.lr.ph17: ; preds = %102
br label %107
107: ; preds = %.lr.ph17, %109
%108 = call i32 @printf(ptr noundef @.str)
br label %109
109: ; preds = %107
%110 = load i32, ptr %7, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %7, align 4
%112 = load i32, ptr %7, align 4
%113 = load i32, ptr %6, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %107, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %109
br label %115
115: ; preds = %._crit_edge18, %102
%116 = call i32 @printf(ptr noundef @.str.8)
br label %117
117: ; preds = %115, %3
store i32 0, ptr %7, align 4
%118 = load i32, ptr %7, align 4
%119 = load i32, ptr %9, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %.lr.ph20, label %136
.lr.ph20: ; preds = %117
br label %121
121: ; preds = %.lr.ph20, %130
%122 = load i32, ptr %7, align 4
%123 = srem i32 %122, 5
%124 = icmp eq i32 %123, 0
br i1 %124, label %125, label %127
125: ; preds = %121
%126 = call i32 @printf(ptr noundef @.str.4)
br label %127
127: ; preds = %125, %121
%128 = load i8, ptr %5, align 1
%129 = call i32 @putchar(i8 noundef signext %128)
br label %130
130: ; preds = %127
%131 = load i32, ptr %7, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %7, align 4
%133 = load i32, ptr %7, align 4
%134 = load i32, ptr %9, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %121, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %130
br label %136
136: ; preds = %._crit_edge21, %117
%137 = call i32 @printf(ptr noundef @.str.9)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpucx7ospx.c'
source_filename = "/tmp/tmpucx7ospx.c"
target datalayout = "e-m:e-p270: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/tmpucx7ospx.c"
target datalayout = "e-m:e-p270: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/tmpy5kmq57p.c'
source_filename = "/tmp/tmpy5kmq57p.c"
target datalayout = "e-m:e-p270: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/tmpy5kmq57p.c"
target datalayout = "e-m:e-p270: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/tmpiu290q8_.c'
source_filename = "/tmp/tmpiu290q8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\00\00\00\01\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hash_proto_pbkdf2_256_len(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i8, align 1
%16 = alloca i8, align 1
%17 = alloca i8, align 1
%18 = alloca [64 x i8], align 16
%19 = alloca [64 x i8], align 16
%20 = alloca [32 x i8], align 16
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%23 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 54, i32 noundef 64)
%25 = getelementptr inbounds [64 x i8], ptr %19, i64 0, i64 0
%26 = call i32 @memset(ptr noundef %25, i32 noundef 92, i32 noundef 64)
store i32 0, ptr %21, align 4
br label %27
27: ; preds = %58, %7
%28 = load i32, ptr %21, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %61
31: ; preds = %27
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %21, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = load i32, ptr %21, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i32
%43 = xor i32 %42, %37
%44 = trunc i32 %43 to i8
store i8 %44, ptr %40, align 1
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %21, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = load i32, ptr %21, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [64 x i8], ptr %19, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
%56 = xor i32 %55, %50
%57 = trunc i32 %56 to i8
store i8 %57, ptr %53, align 1
br label %58
58: ; preds = %31
%59 = load i32, ptr %21, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %21, align 4
br label %27, !llvm.loop !6
61: ; preds = %27
%62 = call i32 @SHA256_Init(ptr noundef %15)
%63 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 0
%64 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %63, i32 noundef 64)
%65 = call i32 @memcpy(ptr noundef %16, ptr noundef %15, i32 noundef 1)
%66 = load ptr, ptr %10, align 8
%67 = load i32, ptr %11, align 4
%68 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %66, i32 noundef %67)
%69 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef @.str, i32 noundef 4)
%70 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%71 = call i32 @SHA256_Final(ptr noundef %70, ptr noundef %15)
%72 = call i32 @SHA256_Init(ptr noundef %15)
%73 = getelementptr inbounds [64 x i8], ptr %19, i64 0, i64 0
%74 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %73, i32 noundef 64)
%75 = call i32 @memcpy(ptr noundef %17, ptr noundef %15, i32 noundef 1)
%76 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%77 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %76, i32 noundef 32)
%78 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%79 = call i32 @SHA256_Final(ptr noundef %78, ptr noundef %15)
%80 = load ptr, ptr %14, align 8
%81 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%82 = call i32 @memcpy(ptr noundef %80, ptr noundef %81, i32 noundef 32)
store i32 1, ptr %21, align 4
br label %83
83: ; preds = %119, %61
%84 = load i32, ptr %21, align 4
%85 = load i32, ptr %12, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %122
87: ; preds = %83
%88 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef 1)
%89 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%90 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %89, i32 noundef 32)
%91 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%92 = call i32 @SHA256_Final(ptr noundef %91, ptr noundef %15)
%93 = call i32 @memcpy(ptr noundef %15, ptr noundef %17, i32 noundef 1)
%94 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%95 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %94, i32 noundef 32)
%96 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%97 = call i32 @SHA256_Final(ptr noundef %96, ptr noundef %15)
store i32 0, ptr %22, align 4
br label %98
98: ; preds = %115, %87
%99 = load i32, ptr %22, align 4
%100 = icmp slt i32 %99, 32
br i1 %100, label %101, label %118
101: ; preds = %98
%102 = load i32, ptr %22, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 %103
%105 = load i8, ptr %104, align 1
%106 = zext i8 %105 to i32
%107 = load ptr, ptr %14, align 8
%108 = load i32, ptr %22, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = xor i32 %112, %106
%114 = trunc i32 %113 to i8
store i8 %114, ptr %110, align 1
br label %115
115: ; preds = %101
%116 = load i32, ptr %22, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %22, align 4
br label %98, !llvm.loop !8
118: ; preds = %98
br label %119
119: ; preds = %118
%120 = load i32, ptr %21, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %21, align 4
br label %83, !llvm.loop !9
122: ; preds = %83
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @SHA256_Init(ptr noundef) #1
declare i32 @SHA256_Update(ptr noundef, ...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SHA256_Final(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiu290q8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\00\00\00\01\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hash_proto_pbkdf2_256_len(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i8, align 1
%16 = alloca i8, align 1
%17 = alloca i8, align 1
%18 = alloca [64 x i8], align 16
%19 = alloca [64 x i8], align 16
%20 = alloca [32 x i8], align 16
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%23 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 54, i32 noundef 64)
%25 = getelementptr inbounds [64 x i8], ptr %19, i64 0, i64 0
%26 = call i32 @memset(ptr noundef %25, i32 noundef 92, i32 noundef 64)
store i32 0, ptr %21, align 4
%27 = load i32, ptr %21, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph, label %63
.lr.ph: ; preds = %7
br label %30
30: ; preds = %.lr.ph, %57
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %21, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load i32, ptr %21, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = xor i32 %41, %36
%43 = trunc i32 %42 to i8
store i8 %43, ptr %39, align 1
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %21, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = load i32, ptr %21, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [64 x i8], ptr %19, i64 0, i64 %51
%53 = load i8, ptr %52, align 1
%54 = zext i8 %53 to i32
%55 = xor i32 %54, %49
%56 = trunc i32 %55 to i8
store i8 %56, ptr %52, align 1
br label %57
57: ; preds = %30
%58 = load i32, ptr %21, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %21, align 4
%60 = load i32, ptr %21, align 4
%61 = load i32, ptr %9, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %7
%64 = call i32 @SHA256_Init(ptr noundef %15)
%65 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 0
%66 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %65, i32 noundef 64)
%67 = call i32 @memcpy(ptr noundef %16, ptr noundef %15, i32 noundef 1)
%68 = load ptr, ptr %10, align 8
%69 = load i32, ptr %11, align 4
%70 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %68, i32 noundef %69)
%71 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef @.str, i32 noundef 4)
%72 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%73 = call i32 @SHA256_Final(ptr noundef %72, ptr noundef %15)
%74 = call i32 @SHA256_Init(ptr noundef %15)
%75 = getelementptr inbounds [64 x i8], ptr %19, i64 0, i64 0
%76 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %75, i32 noundef 64)
%77 = call i32 @memcpy(ptr noundef %17, ptr noundef %15, i32 noundef 1)
%78 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%79 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %78, i32 noundef 32)
%80 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%81 = call i32 @SHA256_Final(ptr noundef %80, ptr noundef %15)
%82 = load ptr, ptr %14, align 8
%83 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%84 = call i32 @memcpy(ptr noundef %82, ptr noundef %83, i32 noundef 32)
store i32 1, ptr %21, align 4
%85 = load i32, ptr %21, align 4
%86 = load i32, ptr %12, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %.lr.ph5, label %127
.lr.ph5: ; preds = %63
br label %88
88: ; preds = %.lr.ph5, %121
%89 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef 1)
%90 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%91 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %90, i32 noundef 32)
%92 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%93 = call i32 @SHA256_Final(ptr noundef %92, ptr noundef %15)
%94 = call i32 @memcpy(ptr noundef %15, ptr noundef %17, i32 noundef 1)
%95 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%96 = call i32 (ptr, ...) @SHA256_Update(ptr noundef %15, ptr noundef %95, i32 noundef 32)
%97 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
%98 = call i32 @SHA256_Final(ptr noundef %97, ptr noundef %15)
store i32 0, ptr %22, align 4
%99 = load i32, ptr %22, align 4
%100 = icmp slt i32 %99, 32
br i1 %100, label %.lr.ph2, label %120
.lr.ph2: ; preds = %88
br label %101
101: ; preds = %.lr.ph2, %115
%102 = load i32, ptr %22, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 %103
%105 = load i8, ptr %104, align 1
%106 = zext i8 %105 to i32
%107 = load ptr, ptr %14, align 8
%108 = load i32, ptr %22, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = xor i32 %112, %106
%114 = trunc i32 %113 to i8
store i8 %114, ptr %110, align 1
br label %115
115: ; preds = %101
%116 = load i32, ptr %22, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %22, align 4
%118 = load i32, ptr %22, align 4
%119 = icmp slt i32 %118, 32
br i1 %119, label %101, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %115
br label %120
120: ; preds = %._crit_edge3, %88
br label %121
121: ; preds = %120
%122 = load i32, ptr %21, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %21, align 4
%124 = load i32, ptr %21, align 4
%125 = load i32, ptr %12, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %88, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %121
br label %127
127: ; preds = %._crit_edge6, %63
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @SHA256_Init(ptr noundef) #1
declare i32 @SHA256_Update(ptr noundef, ...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SHA256_Final(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphti_yqgl.c'
source_filename = "/tmp/tmphti_yqgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findMAXval(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i8 0, ptr %5, align 1
store i8 0, ptr %6, align 1
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load i8, ptr %5, align 1
%20 = call zeroext i8 @GetMAX(i8 noundef signext %18, i8 noundef zeroext %19)
store i8 %20, ptr %5, align 1
br label %21
21: ; preds = %13
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %9, !llvm.loop !6
24: ; preds = %9
%25 = load i8, ptr %5, align 1
%26 = call i32 @HeaderMax(i8 noundef zeroext %25)
ret i32 %26
}
declare zeroext i8 @GetMAX(i8 noundef signext, i8 noundef zeroext) #1
declare i32 @HeaderMax(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphti_yqgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findMAXval(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i8 0, ptr %5, align 1
store i8 0, ptr %6, align 1
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load i8, ptr %5, align 1
%19 = call zeroext i8 @GetMAX(i8 noundef signext %17, i8 noundef zeroext %18)
store i8 %19, ptr %5, align 1
br label %20
20: ; preds = %12
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
%27 = load i8, ptr %5, align 1
%28 = call i32 @HeaderMax(i8 noundef zeroext %27)
ret i32 %28
}
declare zeroext i8 @GetMAX(i8 noundef signext, i8 noundef zeroext) #1
declare i32 @HeaderMax(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"}
|
; ModuleID = '/tmp/tmpbmeeaaqn.c'
source_filename = "/tmp/tmpbmeeaaqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 @printMatrix(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 %7, align 4
br label %9
9: ; preds = %34, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %37
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %29, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
br label %29
29: ; preds = %18
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
br label %14, !llvm.loop !6
32: ; preds = %14
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %9, !llvm.loop !8
37: ; preds = %9
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmeeaaqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 @printMatrix(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 %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %41
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %35
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %33
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %27
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25)
br label %27
27: ; preds = %16
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %12
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %35
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %3
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpt1x12844.c'
source_filename = "/tmp/tmpt1x12844.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printSpaces(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %7, %1
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %2, align 4
%6 = icmp ne i32 %4, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = call i32 @printf(ptr noundef @.str)
br label %3, !llvm.loop !6
9: ; preds = %3
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1x12844.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printSpaces(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, -1
store i32 %4, ptr %2, align 4
%5 = icmp ne i32 %3, 0
br i1 %5, label %.lr.ph, label %11
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = call i32 @printf(ptr noundef @.str)
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %2, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpym6csfq7.c'
source_filename = "/tmp/tmpym6csfq7.c"
target datalayout = "e-m:e-p270: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/tmpym6csfq7.c"
target datalayout = "e-m:e-p270: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/tmptepezlfm.c'
source_filename = "/tmp/tmptepezlfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.data4a = private unnamed_addr constant [4 x i64] [i64 1, i64 4, i64 3, i64 2], align 16
@__const.main.data4p = private unnamed_addr constant [4 x i64] [i64 4, i64 2, i64 1, i64 3], align 16
; 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 [4 x i64], align 16
%7 = alloca [4 x i64], align 16
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.data4a, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.data4p, i64 32, i1 false)
%9 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 0
%10 = call i32 @bubble_a(ptr noundef %9, i32 noundef 4)
%11 = getelementptr inbounds [4 x i64], ptr %7, i64 0, i64 0
%12 = call i32 @bubble_p(ptr noundef %11, i32 noundef 4)
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %28, %2
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 4
br i1 %15, label %16, label %31
16: ; preds = %13
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 %18
%20 = load i64, ptr %19, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x i64], ptr %7, i64 0, i64 %22
%24 = load i64, ptr %23, align 8
%25 = icmp eq i64 %20, %24
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
br label %28
28: ; preds = %16
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %13, !llvm.loop !6
31: ; preds = %13
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @bubble_a(ptr noundef, i32 noundef) #2
declare i32 @bubble_p(ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptepezlfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.data4a = private unnamed_addr constant [4 x i64] [i64 1, i64 4, i64 3, i64 2], align 16
@__const.main.data4p = private unnamed_addr constant [4 x i64] [i64 4, i64 2, i64 1, i64 3], align 16
; 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 [4 x i64], align 16
%7 = alloca [4 x i64], align 16
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.data4a, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.data4p, i64 32, i1 false)
%9 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 0
%10 = call i32 @bubble_a(ptr noundef %9, i32 noundef 4)
%11 = getelementptr inbounds [4 x i64], ptr %7, i64 0, i64 0
%12 = call i32 @bubble_p(ptr noundef %11, i32 noundef 4)
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %27
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [4 x i64], ptr %6, i64 0, i64 %17
%19 = load i64, ptr %18, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x i64], ptr %7, i64 0, i64 %21
%23 = load i64, ptr %22, align 8
%24 = icmp eq i64 %19, %23
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
br label %27
27: ; preds = %15
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %30, 4
br i1 %31, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %2
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @bubble_a(ptr noundef, i32 noundef) #2
declare i32 @bubble_p(ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf046epec.c'
source_filename = "/tmp/tmpf046epec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %.2d bytes:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %.2x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbuf(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8, i32 noundef %9)
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %23, %3
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %26
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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/tmpf046epec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %.2d bytes:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %.2x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbuf(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8, i32 noundef %9)
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %22
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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/tmpm57xuucv.c'
source_filename = "/tmp/tmpm57xuucv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UI_DEV_DESTROY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uinput_fini(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @UI_DEV_DESTROY, align 4
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @ioctl(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm57xuucv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UI_DEV_DESTROY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uinput_fini(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @UI_DEV_DESTROY, align 4
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @ioctl(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmb_jk9i1.c'
source_filename = "/tmp/tmpmb_jk9i1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @func()
%7 = icmp eq i32 %6, 42
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 99
ret i32 %9
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmb_jk9i1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @func()
%7 = icmp eq i32 %6, 42
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 99
ret i32 %9
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9tddljsu.c'
source_filename = "/tmp/tmp9tddljsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket_serveur\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"Can not set SO_REUSADDR option\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"bind socker_serveur\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"listen socket_serveur\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creer_serveur(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %6, ptr %7, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @htons(i32 noundef %8)
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
store i32 %9, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
store i32 1, ptr %5, align 4
%14 = call i32 (...) @initialiser_signaux()
%15 = load i32, ptr @AF_INET, align 4
%16 = load i32, ptr @SOCK_STREAM, align 4
%17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %1
%21 = call i32 @perror(ptr noundef @.str)
br label %22
22: ; preds = %20, %1
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @SOL_SOCKET, align 4
%25 = load i32, ptr @SO_REUSEADDR, align 4
%26 = call i32 @setsockopt(i32 noundef %23, i32 noundef %24, i32 noundef %25, ptr noundef %5, i32 noundef 4)
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = call i32 @perror(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %22
%31 = load i32, ptr %3, align 4
%32 = call i32 @bind(i32 noundef %31, ptr noundef %4, i32 noundef 12)
%33 = icmp eq i32 %32, -1
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 @perror(ptr noundef @.str.2)
br label %36
36: ; preds = %34, %30
%37 = load i32, ptr %3, align 4
%38 = call i32 @listen(i32 noundef %37, i32 noundef 10)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @perror(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %36
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @htons(i32 noundef) #1
declare i32 @initialiser_signaux(...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(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/tmp9tddljsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"socket_serveur\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"Can not set SO_REUSADDR option\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"bind socker_serveur\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"listen socket_serveur\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creer_serveur(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %6, ptr %7, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @htons(i32 noundef %8)
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
store i32 %9, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
store i32 1, ptr %5, align 4
%14 = call i32 (...) @initialiser_signaux()
%15 = load i32, ptr @AF_INET, align 4
%16 = load i32, ptr @SOCK_STREAM, align 4
%17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %1
%21 = call i32 @perror(ptr noundef @.str)
br label %22
22: ; preds = %20, %1
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @SOL_SOCKET, align 4
%25 = load i32, ptr @SO_REUSEADDR, align 4
%26 = call i32 @setsockopt(i32 noundef %23, i32 noundef %24, i32 noundef %25, ptr noundef %5, i32 noundef 4)
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = call i32 @perror(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %22
%31 = load i32, ptr %3, align 4
%32 = call i32 @bind(i32 noundef %31, ptr noundef %4, i32 noundef 12)
%33 = icmp eq i32 %32, -1
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 @perror(ptr noundef @.str.2)
br label %36
36: ; preds = %34, %30
%37 = load i32, ptr %3, align 4
%38 = call i32 @listen(i32 noundef %37, i32 noundef 10)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @perror(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %36
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @htons(i32 noundef) #1
declare i32 @initialiser_signaux(...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(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/tmpf6sstxbu.c'
source_filename = "/tmp/tmpf6sstxbu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v4i(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [4 x float], align 16
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i64, ptr %4, i64 0
%6 = load i64, ptr %5, align 8
%7 = sitofp i64 %6 to float
%8 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
store float %7, ptr %8, align 16
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i64, ptr %9, i64 1
%11 = load i64, ptr %10, align 8
%12 = sitofp i64 %11 to float
%13 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
store float %12, ptr %13, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i64, ptr %14, i64 2
%16 = load i64, ptr %15, align 8
%17 = sitofp i64 %16 to float
%18 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
store float %17, ptr %18, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 3
%21 = load i64, ptr %20, align 8
%22 = sitofp i64 %21 to float
%23 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 3
store float %22, ptr %23, align 4
%24 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%25 = call i32 @vcall(ptr noundef %24, i32 noundef 4)
ret void
}
declare i32 @vcall(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/tmpf6sstxbu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v4i(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [4 x float], align 16
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i64, ptr %4, i64 0
%6 = load i64, ptr %5, align 8
%7 = sitofp i64 %6 to float
%8 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
store float %7, ptr %8, align 16
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i64, ptr %9, i64 1
%11 = load i64, ptr %10, align 8
%12 = sitofp i64 %11 to float
%13 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
store float %12, ptr %13, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i64, ptr %14, i64 2
%16 = load i64, ptr %15, align 8
%17 = sitofp i64 %16 to float
%18 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
store float %17, ptr %18, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 3
%21 = load i64, ptr %20, align 8
%22 = sitofp i64 %21 to float
%23 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 3
store float %22, ptr %23, align 4
%24 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
%25 = call i32 @vcall(ptr noundef %24, i32 noundef 4)
ret void
}
declare i32 @vcall(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/tmpf8fu0tzi.c'
source_filename = "/tmp/tmpf8fu0tzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"realloc\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ismeretlen\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"(ismeretlen)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @debugmalloc_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @debugmalloc_realloc_full(ptr noundef %5, i64 noundef %6, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 0)
ret ptr %7
}
declare ptr @debugmalloc_realloc_full(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf8fu0tzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"realloc\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ismeretlen\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"(ismeretlen)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @debugmalloc_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @debugmalloc_realloc_full(ptr noundef %5, i64 noundef %6, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 0)
ret ptr %7
}
declare ptr @debugmalloc_realloc_full(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo83lw6dj.c'
source_filename = "/tmp/tmpo83lw6dj.c"
target datalayout = "e-m:e-p270: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/tmpo83lw6dj.c"
target datalayout = "e-m:e-p270: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/tmpyw1vxbzp.c'
source_filename = "/tmp/tmpyw1vxbzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SEGGER_RTT_Read(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
%8 = 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
%9 = load volatile i32, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @SEGGER_RTT_ReadNoLock(i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load volatile i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
ret i32 %15
}
declare i32 @SEGGER_RTT_ReadNoLock(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/tmpyw1vxbzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SEGGER_RTT_Read(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
%8 = 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
%9 = load volatile i32, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @SEGGER_RTT_ReadNoLock(i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load volatile i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
ret i32 %15
}
declare i32 @SEGGER_RTT_ReadNoLock(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/tmpgnkubzyv.c'
source_filename = "/tmp/tmpgnkubzyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @liregression(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %12, align 8
br label %22
22: ; preds = %41, %5
%23 = load i32, ptr %11, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %44
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %11, 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 double, ptr %12, align 8
%33 = fadd double %32, %31
store double %33, ptr %12, align 8
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
%38 = load double, ptr %37, align 8
%39 = load double, ptr %13, align 8
%40 = fadd double %39, %38
store double %40, ptr %13, align 8
br label %41
41: ; preds = %26
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %11, align 4
br label %22, !llvm.loop !6
44: ; preds = %22
%45 = load i32, ptr %8, align 4
%46 = sitofp i32 %45 to double
%47 = load double, ptr %12, align 8
%48 = fdiv double %47, %46
store double %48, ptr %12, align 8
%49 = load i32, ptr %8, align 4
%50 = sitofp i32 %49 to double
%51 = load double, ptr %13, align 8
%52 = fdiv double %51, %50
store double %52, ptr %13, align 8
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %14, align 8
br label %53
53: ; preds = %79, %44
%54 = load i32, ptr %11, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %82
57: ; preds = %53
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = load double, ptr %12, align 8
%64 = fsub double %62, %63
store double %64, ptr %16, align 8
%65 = load double, ptr %16, align 8
%66 = load double, ptr %16, align 8
%67 = load double, ptr %14, align 8
%68 = call double @llvm.fmuladd.f64(double %65, double %66, double %67)
store double %68, ptr %14, align 8
%69 = load double, ptr %16, align 8
%70 = load ptr, ptr %7, align 8
%71 = load i32, ptr %11, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
%74 = load double, ptr %73, align 8
%75 = load double, ptr %13, align 8
%76 = fsub double %74, %75
%77 = load double, ptr %15, align 8
%78 = call double @llvm.fmuladd.f64(double %69, double %76, double %77)
store double %78, ptr %15, align 8
br label %79
79: ; preds = %57
%80 = load i32, ptr %11, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %11, align 4
br label %53, !llvm.loop !8
82: ; preds = %53
%83 = load double, ptr %15, align 8
%84 = load double, ptr %14, align 8
%85 = fdiv double %83, %84
%86 = load ptr, ptr %9, align 8
%87 = getelementptr inbounds double, ptr %86, i64 1
store double %85, ptr %87, align 8
%88 = load double, ptr %13, align 8
%89 = load ptr, ptr %9, align 8
%90 = getelementptr inbounds double, ptr %89, i64 1
%91 = load double, ptr %90, align 8
%92 = load double, ptr %12, align 8
%93 = fneg double %91
%94 = call double @llvm.fmuladd.f64(double %93, double %92, double %88)
%95 = load ptr, ptr %9, align 8
%96 = getelementptr inbounds double, ptr %95, i64 0
store double %94, ptr %96, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %19, align 8
store double 1.000000e+30, ptr %20, align 8
store i32 0, ptr %11, align 4
br label %97
97: ; preds = %167, %82
%98 = load i32, ptr %11, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %101, label %170
101: ; preds = %97
%102 = load ptr, ptr %9, align 8
%103 = getelementptr inbounds double, ptr %102, i64 1
%104 = load double, ptr %103, align 8
%105 = load ptr, ptr %6, align 8
%106 = load i32, ptr %11, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %105, i64 %107
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %9, align 8
%111 = getelementptr inbounds double, ptr %110, i64 0
%112 = load double, ptr %111, align 8
%113 = call double @llvm.fmuladd.f64(double %104, double %109, double %112)
store double %113, ptr %21, align 8
%114 = load ptr, ptr %7, align 8
%115 = load i32, ptr %11, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, ptr %114, i64 %116
%118 = load double, ptr %117, align 8
%119 = load double, ptr %21, align 8
%120 = fsub double %118, %119
%121 = load ptr, ptr %7, align 8
%122 = load i32, ptr %11, 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 double, ptr %21, align 8
%127 = fsub double %125, %126
%128 = load double, ptr %16, align 8
%129 = call double @llvm.fmuladd.f64(double %120, double %127, double %128)
store double %129, ptr %16, align 8
%130 = load double, ptr %21, align 8
%131 = load double, ptr %13, align 8
%132 = fsub double %130, %131
%133 = load double, ptr %21, align 8
%134 = load double, ptr %13, align 8
%135 = fsub double %133, %134
%136 = load double, ptr %18, align 8
%137 = call double @llvm.fmuladd.f64(double %132, double %135, double %136)
store double %137, ptr %18, align 8
%138 = load ptr, ptr %7, align 8
%139 = load i32, ptr %11, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %138, i64 %140
%142 = load double, ptr %141, align 8
%143 = load double, ptr %21, align 8
%144 = fsub double %142, %143
%145 = call double @llvm.fabs.f64(double %144)
store double %145, ptr %14, align 8
%146 = load double, ptr %14, align 8
%147 = load double, ptr %17, align 8
%148 = fadd double %147, %146
store double %148, ptr %17, align 8
%149 = load double, ptr %14, align 8
%150 = load double, ptr %19, align 8
%151 = fcmp ogt double %149, %150
br i1 %151, label %152, label %154
152: ; preds = %101
%153 = load double, ptr %14, align 8
br label %156
154: ; preds = %101
%155 = load double, ptr %19, align 8
br label %156
156: ; preds = %154, %152
%157 = phi double [ %153, %152 ], [ %155, %154 ]
store double %157, ptr %19, align 8
%158 = load double, ptr %14, align 8
%159 = load double, ptr %20, align 8
%160 = fcmp olt double %158, %159
br i1 %160, label %161, label %163
161: ; preds = %156
%162 = load double, ptr %14, align 8
br label %165
163: ; preds = %156
%164 = load double, ptr %20, align 8
br label %165
165: ; preds = %163, %161
%166 = phi double [ %162, %161 ], [ %164, %163 ]
store double %166, ptr %20, align 8
br label %167
167: ; preds = %165
%168 = load i32, ptr %11, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %11, align 4
br label %97, !llvm.loop !9
170: ; preds = %97
%171 = load i32, ptr %8, align 4
%172 = sitofp i32 %171 to double
%173 = load double, ptr %17, align 8
%174 = fdiv double %173, %172
store double %174, ptr %17, align 8
%175 = load double, ptr %16, align 8
%176 = load ptr, ptr %10, align 8
%177 = getelementptr inbounds double, ptr %176, i64 0
store double %175, ptr %177, align 8
%178 = load double, ptr %16, align 8
%179 = load i32, ptr %8, align 4
%180 = sitofp i32 %179 to double
%181 = fdiv double %178, %180
%182 = call double @sqrt(double noundef %181) #3
%183 = load ptr, ptr %10, align 8
%184 = getelementptr inbounds double, ptr %183, i64 1
store double %182, ptr %184, align 8
%185 = load double, ptr %18, align 8
%186 = load ptr, ptr %10, align 8
%187 = getelementptr inbounds double, ptr %186, i64 2
store double %185, ptr %187, align 8
%188 = load double, ptr %19, align 8
%189 = load ptr, ptr %10, align 8
%190 = getelementptr inbounds double, ptr %189, i64 3
store double %188, ptr %190, align 8
%191 = load double, ptr %20, align 8
%192 = load ptr, ptr %10, align 8
%193 = getelementptr inbounds double, ptr %192, i64 4
store double %191, ptr %193, align 8
%194 = load double, ptr %17, align 8
%195 = load ptr, ptr %10, align 8
%196 = getelementptr inbounds double, ptr %195, i64 5
store double %194, ptr %196, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgnkubzyv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @liregression(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %13, align 8
store double 0.000000e+00, ptr %12, align 8
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %46
.lr.ph: ; preds = %5
br label %25
25: ; preds = %.lr.ph, %40
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %11, 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 double, ptr %12, align 8
%32 = fadd double %31, %30
store double %32, ptr %12, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = load double, ptr %13, align 8
%39 = fadd double %38, %37
store double %39, ptr %13, align 8
br label %40
40: ; preds = %25
%41 = load i32, ptr %11, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %5
%47 = load i32, ptr %8, align 4
%48 = sitofp i32 %47 to double
%49 = load double, ptr %12, align 8
%50 = fdiv double %49, %48
store double %50, ptr %12, align 8
%51 = load i32, ptr %8, align 4
%52 = sitofp i32 %51 to double
%53 = load double, ptr %13, align 8
%54 = fdiv double %53, %52
store double %54, ptr %13, align 8
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %14, align 8
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %8, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph2, label %86
.lr.ph2: ; preds = %46
br label %58
58: ; preds = %.lr.ph2, %80
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = load double, ptr %12, align 8
%65 = fsub double %63, %64
store double %65, ptr %16, align 8
%66 = load double, ptr %16, align 8
%67 = load double, ptr %16, align 8
%68 = load double, ptr %14, align 8
%69 = call double @llvm.fmuladd.f64(double %66, double %67, double %68)
store double %69, ptr %14, align 8
%70 = load double, ptr %16, align 8
%71 = load ptr, ptr %7, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = load double, ptr %13, align 8
%77 = fsub double %75, %76
%78 = load double, ptr %15, align 8
%79 = call double @llvm.fmuladd.f64(double %70, double %77, double %78)
store double %79, ptr %15, align 8
br label %80
80: ; preds = %58
%81 = load i32, ptr %11, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %11, align 4
%83 = load i32, ptr %11, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %58, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %80
br label %86
86: ; preds = %._crit_edge3, %46
%87 = load double, ptr %15, align 8
%88 = load double, ptr %14, align 8
%89 = fdiv double %87, %88
%90 = load ptr, ptr %9, align 8
%91 = getelementptr inbounds double, ptr %90, i64 1
store double %89, ptr %91, align 8
%92 = load double, ptr %13, align 8
%93 = load ptr, ptr %9, align 8
%94 = getelementptr inbounds double, ptr %93, i64 1
%95 = load double, ptr %94, align 8
%96 = load double, ptr %12, align 8
%97 = fneg double %95
%98 = call double @llvm.fmuladd.f64(double %97, double %96, double %92)
%99 = load ptr, ptr %9, align 8
%100 = getelementptr inbounds double, ptr %99, i64 0
store double %98, ptr %100, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %19, align 8
store double 1.000000e+30, ptr %20, align 8
store i32 0, ptr %11, align 4
%101 = load i32, ptr %11, align 4
%102 = load i32, ptr %8, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %.lr.ph5, label %176
.lr.ph5: ; preds = %86
br label %104
104: ; preds = %.lr.ph5, %170
%105 = load ptr, ptr %9, align 8
%106 = getelementptr inbounds double, ptr %105, i64 1
%107 = load double, ptr %106, align 8
%108 = load ptr, ptr %6, align 8
%109 = load i32, ptr %11, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %108, i64 %110
%112 = load double, ptr %111, align 8
%113 = load ptr, ptr %9, align 8
%114 = getelementptr inbounds double, ptr %113, i64 0
%115 = load double, ptr %114, align 8
%116 = call double @llvm.fmuladd.f64(double %107, double %112, double %115)
store double %116, ptr %21, align 8
%117 = load ptr, ptr %7, align 8
%118 = load i32, ptr %11, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %117, i64 %119
%121 = load double, ptr %120, align 8
%122 = load double, ptr %21, align 8
%123 = fsub double %121, %122
%124 = load ptr, ptr %7, align 8
%125 = load i32, ptr %11, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
%128 = load double, ptr %127, align 8
%129 = load double, ptr %21, align 8
%130 = fsub double %128, %129
%131 = load double, ptr %16, align 8
%132 = call double @llvm.fmuladd.f64(double %123, double %130, double %131)
store double %132, ptr %16, align 8
%133 = load double, ptr %21, align 8
%134 = load double, ptr %13, align 8
%135 = fsub double %133, %134
%136 = load double, ptr %21, align 8
%137 = load double, ptr %13, align 8
%138 = fsub double %136, %137
%139 = load double, ptr %18, align 8
%140 = call double @llvm.fmuladd.f64(double %135, double %138, double %139)
store double %140, ptr %18, align 8
%141 = load ptr, ptr %7, align 8
%142 = load i32, ptr %11, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds double, ptr %141, i64 %143
%145 = load double, ptr %144, align 8
%146 = load double, ptr %21, align 8
%147 = fsub double %145, %146
%148 = call double @llvm.fabs.f64(double %147)
store double %148, ptr %14, align 8
%149 = load double, ptr %14, align 8
%150 = load double, ptr %17, align 8
%151 = fadd double %150, %149
store double %151, ptr %17, align 8
%152 = load double, ptr %14, align 8
%153 = load double, ptr %19, align 8
%154 = fcmp ogt double %152, %153
br i1 %154, label %155, label %157
155: ; preds = %104
%156 = load double, ptr %14, align 8
br label %159
157: ; preds = %104
%158 = load double, ptr %19, align 8
br label %159
159: ; preds = %157, %155
%160 = phi double [ %156, %155 ], [ %158, %157 ]
store double %160, ptr %19, align 8
%161 = load double, ptr %14, align 8
%162 = load double, ptr %20, align 8
%163 = fcmp olt double %161, %162
br i1 %163, label %164, label %166
164: ; preds = %159
%165 = load double, ptr %14, align 8
br label %168
166: ; preds = %159
%167 = load double, ptr %20, align 8
br label %168
168: ; preds = %166, %164
%169 = phi double [ %165, %164 ], [ %167, %166 ]
store double %169, ptr %20, align 8
br label %170
170: ; preds = %168
%171 = load i32, ptr %11, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %11, align 4
%173 = load i32, ptr %11, align 4
%174 = load i32, ptr %8, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %104, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %170
br label %176
176: ; preds = %._crit_edge6, %86
%177 = load i32, ptr %8, align 4
%178 = sitofp i32 %177 to double
%179 = load double, ptr %17, align 8
%180 = fdiv double %179, %178
store double %180, ptr %17, align 8
%181 = load double, ptr %16, align 8
%182 = load ptr, ptr %10, align 8
%183 = getelementptr inbounds double, ptr %182, i64 0
store double %181, ptr %183, align 8
%184 = load double, ptr %16, align 8
%185 = load i32, ptr %8, align 4
%186 = sitofp i32 %185 to double
%187 = fdiv double %184, %186
%188 = call double @sqrt(double noundef %187) #3
%189 = load ptr, ptr %10, align 8
%190 = getelementptr inbounds double, ptr %189, i64 1
store double %188, ptr %190, align 8
%191 = load double, ptr %18, align 8
%192 = load ptr, ptr %10, align 8
%193 = getelementptr inbounds double, ptr %192, i64 2
store double %191, ptr %193, align 8
%194 = load double, ptr %19, align 8
%195 = load ptr, ptr %10, align 8
%196 = getelementptr inbounds double, ptr %195, i64 3
store double %194, ptr %196, align 8
%197 = load double, ptr %20, align 8
%198 = load ptr, ptr %10, align 8
%199 = getelementptr inbounds double, ptr %198, i64 4
store double %197, ptr %199, align 8
%200 = load double, ptr %17, align 8
%201 = load ptr, ptr %10, align 8
%202 = getelementptr inbounds double, ptr %201, i64 5
store double %200, ptr %202, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp17jz1m25.c'
source_filename = "/tmp/tmp17jz1m25.c"
target datalayout = "e-m:e-p270: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/tmp17jz1m25.c"
target datalayout = "e-m:e-p270: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/tmpphu6vlbk.c'
source_filename = "/tmp/tmpphu6vlbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%i %i\09 %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2(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 %7, align 4
br label %9
9: ; preds = %35, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %38
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %31, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %34
18: ; preds = %14
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20, double noundef %29)
br label %31
31: ; preds = %18
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %14, !llvm.loop !6
34: ; preds = %14
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %9, !llvm.loop !8
38: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpphu6vlbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%i %i\09 %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2(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 %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %42
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %36
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %35
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %29
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, double noundef %27)
br label %29
29: ; preds = %16
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %12
br label %36
36: ; preds = %35
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4cb9_h2d.c'
source_filename = "/tmp/tmp4cb9_h2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charstoint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 4
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %30, %2
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %33
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = mul nsw i32 8, %17
%19 = sub nsw i32 16, %18
store i32 %19, ptr %7, align 4
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = load i32, ptr %7, align 4
%27 = shl i32 %25, %26
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %5, align 4
br label %30
30: ; preds = %16
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %12, !llvm.loop !6
33: ; preds = %12
%34 = load i32, ptr %5, align 4
ret i32 %34
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4cb9_h2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charstoint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 4
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %29
%16 = load i32, ptr %6, align 4
%17 = mul nsw i32 8, %16
%18 = sub nsw i32 16, %17
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i32
%25 = load i32, ptr %7, align 4
%26 = shl i32 %24, %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %5, align 4
br label %29
29: ; preds = %15
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
%36 = load i32, ptr %5, align 4
ret i32 %36
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3jy5f4q6.c'
source_filename = "/tmp/tmp3jy5f4q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.PIN_VALUE.command = private unnamed_addr constant [100 x i8] c"/sys/class/gpio/gpio\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.PIN_VALUE.comman_end = private unnamed_addr constant [11 x i8] c"/value\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PIN_VALUE(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca [2 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca [11 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [3 x i8], align 1
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.PIN_VALUE.command, i64 100, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 2, i1 false)
store i32 0, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.PIN_VALUE.comman_end, i64 11, i1 false)
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @intToChar(i32 noundef %11, ptr noundef %12)
%14 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%15 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @strcat(ptr noundef %14, ptr noundef %15)
%17 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%18 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%19 = call i32 @strcat(ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %3, align 8
%22 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%23 = load ptr, ptr %3, align 8
%24 = call i32 @fgets(ptr noundef %22, i32 noundef 2, ptr noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = call i32 @fclose(ptr noundef %25)
%27 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 49
br i1 %30, label %31, label %32
31: ; preds = %1
store i32 1, ptr %6, align 4
br label %33
32: ; preds = %1
store i32 0, ptr %6, align 4
br label %33
33: ; preds = %32, %31
%34 = load i32, ptr %6, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @intToChar(i32 noundef, ptr noundef) #3
declare i32 @strcat(ptr noundef, ptr noundef) #3
declare ptr @fopen(ptr noundef, ptr noundef) #3
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #3
declare i32 @fclose(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3jy5f4q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.PIN_VALUE.command = private unnamed_addr constant [100 x i8] c"/sys/class/gpio/gpio\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.PIN_VALUE.comman_end = private unnamed_addr constant [11 x i8] c"/value\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PIN_VALUE(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca [2 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca [11 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [3 x i8], align 1
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.PIN_VALUE.command, i64 100, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 2, i1 false)
store i32 0, ptr %6, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.PIN_VALUE.comman_end, i64 11, i1 false)
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @intToChar(i32 noundef %11, ptr noundef %12)
%14 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%15 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @strcat(ptr noundef %14, ptr noundef %15)
%17 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%18 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%19 = call i32 @strcat(ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %3, align 8
%22 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%23 = load ptr, ptr %3, align 8
%24 = call i32 @fgets(ptr noundef %22, i32 noundef 2, ptr noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = call i32 @fclose(ptr noundef %25)
%27 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 49
br i1 %30, label %31, label %32
31: ; preds = %1
store i32 1, ptr %6, align 4
br label %33
32: ; preds = %1
store i32 0, ptr %6, align 4
br label %33
33: ; preds = %32, %31
%34 = load i32, ptr %6, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @intToChar(i32 noundef, ptr noundef) #3
declare i32 @strcat(ptr noundef, ptr noundef) #3
declare ptr @fopen(ptr noundef, ptr noundef) #3
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #3
declare i32 @fclose(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp86m2j_31.c'
source_filename = "/tmp/tmp86m2j_31.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Reading timestamp failed.\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Sending username failed. %d != %d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"md5 computation for password failed.\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"md5 computation for password + timestamp failed.\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Sending credentials failed.\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Reading authentification status failed.\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Authentification failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @basex_authenticate(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i64, align 8
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%29 = load i32, ptr @BUFSIZ, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %8, align 8
%32 = alloca i8, i64 %30, align 16
store i64 %30, ptr %9, align 8
%33 = load i32, ptr @BUFSIZ, align 4
%34 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef %33)
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr @BUFSIZ, align 4
%37 = call i32 @read(i32 noundef %35, ptr noundef %32, i32 noundef %36)
store i32 %37, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %3
%41 = call i32 (ptr, ...) @warnx(ptr noundef @.str)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
42: ; preds = %3
%43 = call i32 @strlen(ptr noundef %32)
store i32 %43, ptr %11, align 4
%44 = load ptr, ptr %6, align 8
%45 = call i32 @strlen(ptr noundef %44)
%46 = add nsw i32 %45, 1
store i32 %46, ptr %15, align 4
%47 = load i32, ptr %5, align 4
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %15, align 4
%50 = call i32 @write(i32 noundef %47, ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %12, align 4
%51 = load i32, ptr %12, align 4
%52 = icmp eq i32 %51, -1
br i1 %52, label %57, label %53
53: ; preds = %42
%54 = load i32, ptr %12, align 4
%55 = load i32, ptr %15, align 4
%56 = icmp ne i32 %54, %55
br i1 %56, label %57, label %61
57: ; preds = %53, %42
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %15, align 4
%60 = call i32 (ptr, ...) @warnx(ptr noundef @.str.1, i32 noundef %58, i32 noundef %59)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
61: ; preds = %53
%62 = call ptr @strchr(ptr noundef %32, i8 noundef signext 58)
store ptr %62, ptr %16, align 8
%63 = load ptr, ptr %16, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %73, label %65
65: ; preds = %61
store ptr %32, ptr %17, align 8
%66 = load ptr, ptr %7, align 8
%67 = call ptr @md5(ptr noundef %66)
store ptr %67, ptr %10, align 8
%68 = load ptr, ptr %10, align 8
%69 = icmp eq ptr %68, null
br i1 %69, label %70, label %72
70: ; preds = %65
%71 = call i32 (ptr, ...) @warnx(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
72: ; preds = %65
br label %146
73: ; preds = %61
%74 = load ptr, ptr %16, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 1
store ptr %75, ptr %17, align 8
%76 = load ptr, ptr %6, align 8
%77 = call i32 @strlen(ptr noundef %76)
store i32 %77, ptr %18, align 4
%78 = load ptr, ptr %7, align 8
%79 = call i32 @strlen(ptr noundef %78)
store i32 %79, ptr %19, align 4
%80 = load ptr, ptr %16, align 8
%81 = ptrtoint ptr %80 to i64
%82 = ptrtoint ptr %32 to i64
%83 = sub i64 %81, %82
%84 = trunc i64 %83 to i32
store i32 %84, ptr %20, align 4
%85 = load i32, ptr %18, align 4
%86 = load i32, ptr %20, align 4
%87 = add nsw i32 %85, %86
%88 = load i32, ptr %19, align 4
%89 = add nsw i32 %87, %88
%90 = add nsw i32 %89, 3
%91 = zext i32 %90 to i64
%92 = call ptr @llvm.stacksave()
store ptr %92, ptr %21, align 8
%93 = alloca i8, i64 %91, align 16
store i64 %91, ptr %22, align 8
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %18, align 4
%96 = call i32 @strncpy(ptr noundef %93, ptr noundef %94, i32 noundef %95)
%97 = load i32, ptr %18, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %93, i64 %98
store i8 58, ptr %99, align 1
%100 = load i32, ptr %18, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %93, i64 %101
%103 = getelementptr inbounds i8, ptr %102, i64 1
%104 = load i32, ptr %20, align 4
%105 = call i32 @strncpy(ptr noundef %103, ptr noundef %32, i32 noundef %104)
%106 = load i32, ptr %18, align 4
%107 = add nsw i32 %106, 1
%108 = load i32, ptr %20, align 4
%109 = add nsw i32 %107, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %93, i64 %110
store i8 58, ptr %111, align 1
%112 = load i32, ptr %18, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %93, i64 %113
%115 = getelementptr inbounds i8, ptr %114, i64 1
%116 = load i32, ptr %20, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i8, ptr %115, i64 %117
%119 = getelementptr inbounds i8, ptr %118, i64 1
%120 = load ptr, ptr %7, align 8
%121 = load i32, ptr %19, align 4
%122 = call i32 @strncpy(ptr noundef %119, ptr noundef %120, i32 noundef %121)
%123 = load i32, ptr %18, align 4
%124 = add nsw i32 %123, 1
%125 = load i32, ptr %20, align 4
%126 = add nsw i32 %124, %125
%127 = add nsw i32 %126, 1
%128 = load i32, ptr %19, align 4
%129 = add nsw i32 %127, %128
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, ptr %93, i64 %130
store i8 0, ptr %131, align 1
%132 = call ptr @md5(ptr noundef %93)
store ptr %132, ptr %10, align 8
%133 = load ptr, ptr %10, align 8
%134 = icmp eq ptr %133, null
br i1 %134, label %135, label %137
135: ; preds = %73
%136 = call i32 (ptr, ...) @warnx(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %142
137: ; preds = %73
%138 = load i32, ptr %11, align 4
%139 = load i32, ptr %20, align 4
%140 = sub nsw i32 %138, %139
%141 = sub nsw i32 %140, 1
store i32 %141, ptr %11, align 4
store i32 0, ptr %14, align 4
br label %142
142: ; preds = %137, %135
%143 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %143)
%144 = load i32, ptr %14, align 4
switch i32 %144, label %233 [
i32 0, label %145
]
145: ; preds = %142
br label %146
146: ; preds = %145, %72
%147 = load ptr, ptr %10, align 8
%148 = call i32 @strlen(ptr noundef %147)
store i32 %148, ptr %23, align 4
%149 = load i32, ptr %23, align 4
%150 = load i32, ptr %11, align 4
%151 = add nsw i32 %149, %150
%152 = add nsw i32 %151, 1
store i32 %152, ptr %24, align 4
%153 = load i32, ptr %24, align 4
%154 = zext i32 %153 to i64
%155 = alloca i8, i64 %154, align 16
store i64 %154, ptr %25, align 8
%156 = trunc i64 %154 to i32
%157 = call i32 @memset(ptr noundef %155, i32 noundef 0, i32 noundef %156)
store i32 0, ptr %13, align 4
br label %158
158: ; preds = %171, %146
%159 = load i32, ptr %13, align 4
%160 = load i32, ptr %23, align 4
%161 = icmp slt i32 %159, %160
br i1 %161, label %162, label %174
162: ; preds = %158
%163 = load ptr, ptr %10, align 8
%164 = load i32, ptr %13, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i8, ptr %163, i64 %165
%167 = load i8, ptr %166, align 1
%168 = load i32, ptr %13, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i8, ptr %155, i64 %169
store i8 %167, ptr %170, align 1
br label %171
171: ; preds = %162
%172 = load i32, ptr %13, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %13, align 4
br label %158, !llvm.loop !6
174: ; preds = %158
%175 = load i32, ptr %23, align 4
store i32 %175, ptr %26, align 4
store i32 0, ptr %13, align 4
br label %176
176: ; preds = %189, %174
%177 = load i32, ptr %13, align 4
%178 = load i32, ptr %11, align 4
%179 = icmp slt i32 %177, %178
br i1 %179, label %180, label %194
180: ; preds = %176
%181 = load ptr, ptr %17, align 8
%182 = load i32, ptr %13, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %181, i64 %183
%185 = load i8, ptr %184, align 1
%186 = load i32, ptr %26, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds i8, ptr %155, i64 %187
store i8 %185, ptr %188, align 1
br label %189
189: ; preds = %180
%190 = load i32, ptr %13, align 4
%191 = add nsw i32 %190, 1
store i32 %191, ptr %13, align 4
%192 = load i32, ptr %26, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %26, align 4
br label %176, !llvm.loop !8
194: ; preds = %176
%195 = load i32, ptr %24, align 4
%196 = sub nsw i32 %195, 1
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i8, ptr %155, i64 %197
store i8 0, ptr %198, align 1
%199 = call ptr @md5(ptr noundef %155)
store ptr %199, ptr %27, align 8
%200 = load ptr, ptr %27, align 8
%201 = icmp eq ptr %200, null
br i1 %201, label %202, label %204
202: ; preds = %194
%203 = call i32 (ptr, ...) @warnx(ptr noundef @.str.3)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
204: ; preds = %194
%205 = load ptr, ptr %27, align 8
%206 = call i32 @strlen(ptr noundef %205)
store i32 %206, ptr %28, align 4
%207 = load i32, ptr %5, align 4
%208 = load ptr, ptr %27, align 8
%209 = load i32, ptr %28, align 4
%210 = add nsw i32 %209, 1
%211 = call i32 @send_db(i32 noundef %207, ptr noundef %208, i32 noundef %210)
store i32 %211, ptr %12, align 4
%212 = load i32, ptr %12, align 4
%213 = icmp eq i32 %212, -1
br i1 %213, label %214, label %216
214: ; preds = %204
%215 = call i32 (ptr, ...) @warnx(ptr noundef @.str.4)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
216: ; preds = %204
%217 = load ptr, ptr %10, align 8
%218 = call i32 @free(ptr noundef %217)
%219 = load ptr, ptr %27, align 8
%220 = call i32 @free(ptr noundef %219)
%221 = load i32, ptr %5, align 4
%222 = call i32 @basex_status(i32 noundef %221)
store i32 %222, ptr %12, align 4
%223 = load i32, ptr %12, align 4
%224 = icmp eq i32 %223, -1
br i1 %224, label %225, label %227
225: ; preds = %216
%226 = call i32 (ptr, ...) @warnx(ptr noundef @.str.5)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
227: ; preds = %216
%228 = load i32, ptr %12, align 4
%229 = icmp ne i32 %228, 0
br i1 %229, label %230, label %232
230: ; preds = %227
%231 = call i32 (ptr, ...) @warnx(ptr noundef @.str.6)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
232: ; preds = %227
store i32 0, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %233
233: ; preds = %232, %230, %225, %214, %202, %142, %70, %57, %40
%234 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %234)
%235 = load i32, ptr %4, align 4
ret i32 %235
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @warnx(ptr noundef, ...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare ptr @md5(ptr noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
declare i32 @send_db(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @basex_status(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp86m2j_31.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Reading timestamp failed.\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Sending username failed. %d != %d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"md5 computation for password failed.\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"md5 computation for password + timestamp failed.\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Sending credentials failed.\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Reading authentification status failed.\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Authentification failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @basex_authenticate(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i64, align 8
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%29 = load i32, ptr @BUFSIZ, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %8, align 8
%32 = alloca i8, i64 %30, align 16
store i64 %30, ptr %9, align 8
%33 = load i32, ptr @BUFSIZ, align 4
%34 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef %33)
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr @BUFSIZ, align 4
%37 = call i32 @read(i32 noundef %35, ptr noundef %32, i32 noundef %36)
store i32 %37, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %3
%41 = call i32 (ptr, ...) @warnx(ptr noundef @.str)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
42: ; preds = %3
%43 = call i32 @strlen(ptr noundef %32)
store i32 %43, ptr %11, align 4
%44 = load ptr, ptr %6, align 8
%45 = call i32 @strlen(ptr noundef %44)
%46 = add nsw i32 %45, 1
store i32 %46, ptr %15, align 4
%47 = load i32, ptr %5, align 4
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %15, align 4
%50 = call i32 @write(i32 noundef %47, ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %12, align 4
%51 = load i32, ptr %12, align 4
%52 = icmp eq i32 %51, -1
br i1 %52, label %57, label %53
53: ; preds = %42
%54 = load i32, ptr %12, align 4
%55 = load i32, ptr %15, align 4
%56 = icmp ne i32 %54, %55
br i1 %56, label %57, label %61
57: ; preds = %53, %42
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %15, align 4
%60 = call i32 (ptr, ...) @warnx(ptr noundef @.str.1, i32 noundef %58, i32 noundef %59)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
61: ; preds = %53
%62 = call ptr @strchr(ptr noundef %32, i8 noundef signext 58)
store ptr %62, ptr %16, align 8
%63 = load ptr, ptr %16, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %73, label %65
65: ; preds = %61
store ptr %32, ptr %17, align 8
%66 = load ptr, ptr %7, align 8
%67 = call ptr @md5(ptr noundef %66)
store ptr %67, ptr %10, align 8
%68 = load ptr, ptr %10, align 8
%69 = icmp eq ptr %68, null
br i1 %69, label %70, label %72
70: ; preds = %65
%71 = call i32 (ptr, ...) @warnx(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
72: ; preds = %65
br label %146
73: ; preds = %61
%74 = load ptr, ptr %16, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 1
store ptr %75, ptr %17, align 8
%76 = load ptr, ptr %6, align 8
%77 = call i32 @strlen(ptr noundef %76)
store i32 %77, ptr %18, align 4
%78 = load ptr, ptr %7, align 8
%79 = call i32 @strlen(ptr noundef %78)
store i32 %79, ptr %19, align 4
%80 = load ptr, ptr %16, align 8
%81 = ptrtoint ptr %80 to i64
%82 = ptrtoint ptr %32 to i64
%83 = sub i64 %81, %82
%84 = trunc i64 %83 to i32
store i32 %84, ptr %20, align 4
%85 = load i32, ptr %18, align 4
%86 = load i32, ptr %20, align 4
%87 = add nsw i32 %85, %86
%88 = load i32, ptr %19, align 4
%89 = add nsw i32 %87, %88
%90 = add nsw i32 %89, 3
%91 = zext i32 %90 to i64
%92 = call ptr @llvm.stacksave()
store ptr %92, ptr %21, align 8
%93 = alloca i8, i64 %91, align 16
store i64 %91, ptr %22, align 8
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %18, align 4
%96 = call i32 @strncpy(ptr noundef %93, ptr noundef %94, i32 noundef %95)
%97 = load i32, ptr %18, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %93, i64 %98
store i8 58, ptr %99, align 1
%100 = load i32, ptr %18, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %93, i64 %101
%103 = getelementptr inbounds i8, ptr %102, i64 1
%104 = load i32, ptr %20, align 4
%105 = call i32 @strncpy(ptr noundef %103, ptr noundef %32, i32 noundef %104)
%106 = load i32, ptr %18, align 4
%107 = add nsw i32 %106, 1
%108 = load i32, ptr %20, align 4
%109 = add nsw i32 %107, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %93, i64 %110
store i8 58, ptr %111, align 1
%112 = load i32, ptr %18, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %93, i64 %113
%115 = getelementptr inbounds i8, ptr %114, i64 1
%116 = load i32, ptr %20, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i8, ptr %115, i64 %117
%119 = getelementptr inbounds i8, ptr %118, i64 1
%120 = load ptr, ptr %7, align 8
%121 = load i32, ptr %19, align 4
%122 = call i32 @strncpy(ptr noundef %119, ptr noundef %120, i32 noundef %121)
%123 = load i32, ptr %18, align 4
%124 = add nsw i32 %123, 1
%125 = load i32, ptr %20, align 4
%126 = add nsw i32 %124, %125
%127 = add nsw i32 %126, 1
%128 = load i32, ptr %19, align 4
%129 = add nsw i32 %127, %128
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, ptr %93, i64 %130
store i8 0, ptr %131, align 1
%132 = call ptr @md5(ptr noundef %93)
store ptr %132, ptr %10, align 8
%133 = load ptr, ptr %10, align 8
%134 = icmp eq ptr %133, null
br i1 %134, label %135, label %137
135: ; preds = %73
%136 = call i32 (ptr, ...) @warnx(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %142
137: ; preds = %73
%138 = load i32, ptr %11, align 4
%139 = load i32, ptr %20, align 4
%140 = sub nsw i32 %138, %139
%141 = sub nsw i32 %140, 1
store i32 %141, ptr %11, align 4
store i32 0, ptr %14, align 4
br label %142
142: ; preds = %137, %135
%143 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %143)
%144 = load i32, ptr %14, align 4
switch i32 %144, label %237 [
i32 0, label %145
]
145: ; preds = %142
br label %146
146: ; preds = %145, %72
%147 = load ptr, ptr %10, align 8
%148 = call i32 @strlen(ptr noundef %147)
store i32 %148, ptr %23, align 4
%149 = load i32, ptr %23, align 4
%150 = load i32, ptr %11, align 4
%151 = add nsw i32 %149, %150
%152 = add nsw i32 %151, 1
store i32 %152, ptr %24, align 4
%153 = load i32, ptr %24, align 4
%154 = zext i32 %153 to i64
%155 = alloca i8, i64 %154, align 16
store i64 %154, ptr %25, align 8
%156 = trunc i64 %154 to i32
%157 = call i32 @memset(ptr noundef %155, i32 noundef 0, i32 noundef %156)
store i32 0, ptr %13, align 4
%158 = load i32, ptr %13, align 4
%159 = load i32, ptr %23, align 4
%160 = icmp slt i32 %158, %159
br i1 %160, label %.lr.ph, label %176
.lr.ph: ; preds = %146
br label %161
161: ; preds = %.lr.ph, %170
%162 = load ptr, ptr %10, align 8
%163 = load i32, ptr %13, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %162, i64 %164
%166 = load i8, ptr %165, align 1
%167 = load i32, ptr %13, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i8, ptr %155, i64 %168
store i8 %166, ptr %169, align 1
br label %170
170: ; preds = %161
%171 = load i32, ptr %13, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %13, align 4
%173 = load i32, ptr %13, align 4
%174 = load i32, ptr %23, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %161, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %170
br label %176
176: ; preds = %._crit_edge, %146
%177 = load i32, ptr %23, align 4
store i32 %177, ptr %26, align 4
store i32 0, ptr %13, align 4
%178 = load i32, ptr %13, align 4
%179 = load i32, ptr %11, align 4
%180 = icmp slt i32 %178, %179
br i1 %180, label %.lr.ph2, label %198
.lr.ph2: ; preds = %176
br label %181
181: ; preds = %.lr.ph2, %190
%182 = load ptr, ptr %17, align 8
%183 = load i32, ptr %13, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i8, ptr %182, i64 %184
%186 = load i8, ptr %185, align 1
%187 = load i32, ptr %26, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8, ptr %155, i64 %188
store i8 %186, ptr %189, align 1
br label %190
190: ; preds = %181
%191 = load i32, ptr %13, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %13, align 4
%193 = load i32, ptr %26, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %26, align 4
%195 = load i32, ptr %13, align 4
%196 = load i32, ptr %11, align 4
%197 = icmp slt i32 %195, %196
br i1 %197, label %181, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %190
br label %198
198: ; preds = %._crit_edge3, %176
%199 = load i32, ptr %24, align 4
%200 = sub nsw i32 %199, 1
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i8, ptr %155, i64 %201
store i8 0, ptr %202, align 1
%203 = call ptr @md5(ptr noundef %155)
store ptr %203, ptr %27, align 8
%204 = load ptr, ptr %27, align 8
%205 = icmp eq ptr %204, null
br i1 %205, label %206, label %208
206: ; preds = %198
%207 = call i32 (ptr, ...) @warnx(ptr noundef @.str.3)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
208: ; preds = %198
%209 = load ptr, ptr %27, align 8
%210 = call i32 @strlen(ptr noundef %209)
store i32 %210, ptr %28, align 4
%211 = load i32, ptr %5, align 4
%212 = load ptr, ptr %27, align 8
%213 = load i32, ptr %28, align 4
%214 = add nsw i32 %213, 1
%215 = call i32 @send_db(i32 noundef %211, ptr noundef %212, i32 noundef %214)
store i32 %215, ptr %12, align 4
%216 = load i32, ptr %12, align 4
%217 = icmp eq i32 %216, -1
br i1 %217, label %218, label %220
218: ; preds = %208
%219 = call i32 (ptr, ...) @warnx(ptr noundef @.str.4)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
220: ; preds = %208
%221 = load ptr, ptr %10, align 8
%222 = call i32 @free(ptr noundef %221)
%223 = load ptr, ptr %27, align 8
%224 = call i32 @free(ptr noundef %223)
%225 = load i32, ptr %5, align 4
%226 = call i32 @basex_status(i32 noundef %225)
store i32 %226, ptr %12, align 4
%227 = load i32, ptr %12, align 4
%228 = icmp eq i32 %227, -1
br i1 %228, label %229, label %231
229: ; preds = %220
%230 = call i32 (ptr, ...) @warnx(ptr noundef @.str.5)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
231: ; preds = %220
%232 = load i32, ptr %12, align 4
%233 = icmp ne i32 %232, 0
br i1 %233, label %234, label %236
234: ; preds = %231
%235 = call i32 (ptr, ...) @warnx(ptr noundef @.str.6)
store i32 -1, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
236: ; preds = %231
store i32 0, ptr %4, align 4
store i32 1, ptr %14, align 4
br label %237
237: ; preds = %236, %234, %229, %218, %206, %142, %70, %57, %40
%238 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %238)
%239 = load i32, ptr %4, align 4
ret i32 %239
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @warnx(ptr noundef, ...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare ptr @md5(ptr noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
declare i32 @send_db(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @basex_status(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1vgogmx7.c'
source_filename = "/tmp/tmp1vgogmx7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Negative argument to squareRoot.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @squareRoot(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float 0x3EE4F8B580000000, ptr %4, align 4
store float 1.000000e+00, ptr %5, align 4
%6 = load float, ptr %3, align 4
%7 = fcmp olt float %6, 0.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
store float -1.000000e+00, ptr %2, align 4
br label %30
10: ; preds = %1
br label %11
11: ; preds = %19, %10
%12 = load float, ptr %5, align 4
%13 = load float, ptr %5, align 4
%14 = load float, ptr %3, align 4
%15 = fneg float %14
%16 = call float @llvm.fmuladd.f32(float %12, float %13, float %15)
%17 = call float @absoluteValue(float noundef %16)
%18 = fcmp oge float %17, 0x3EE4F8B580000000
br i1 %18, label %19, label %28
19: ; preds = %11
%20 = load float, ptr %3, align 4
%21 = load float, ptr %5, align 4
%22 = fdiv float %20, %21
%23 = load float, ptr %5, align 4
%24 = fadd float %22, %23
%25 = fpext float %24 to double
%26 = fdiv double %25, 2.000000e+00
%27 = fptrunc double %26 to float
store float %27, ptr %5, align 4
br label %11, !llvm.loop !6
28: ; preds = %11
%29 = load float, ptr %5, align 4
store float %29, ptr %2, align 4
br label %30
30: ; preds = %28, %8
%31 = load float, ptr %2, align 4
ret float %31
}
declare i32 @printf(ptr noundef) #1
declare float @absoluteValue(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vgogmx7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Negative argument to squareRoot.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @squareRoot(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float 0x3EE4F8B580000000, ptr %4, align 4
store float 1.000000e+00, ptr %5, align 4
%6 = load float, ptr %3, align 4
%7 = fcmp olt float %6, 0.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
store float -1.000000e+00, ptr %2, align 4
br label %36
10: ; preds = %1
%11 = load float, ptr %5, align 4
%12 = load float, ptr %5, align 4
%13 = load float, ptr %3, align 4
%14 = fneg float %13
%15 = call float @llvm.fmuladd.f32(float %11, float %12, float %14)
%16 = call float @absoluteValue(float noundef %15)
%17 = fcmp oge float %16, 0x3EE4F8B580000000
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %10
br label %18
18: ; preds = %.lr.ph, %18
%19 = load float, ptr %3, align 4
%20 = load float, ptr %5, align 4
%21 = fdiv float %19, %20
%22 = load float, ptr %5, align 4
%23 = fadd float %21, %22
%24 = fpext float %23 to double
%25 = fdiv double %24, 2.000000e+00
%26 = fptrunc double %25 to float
store float %26, ptr %5, align 4
%27 = load float, ptr %5, align 4
%28 = load float, ptr %5, align 4
%29 = load float, ptr %3, align 4
%30 = fneg float %29
%31 = call float @llvm.fmuladd.f32(float %27, float %28, float %30)
%32 = call float @absoluteValue(float noundef %31)
%33 = fcmp oge float %32, 0x3EE4F8B580000000
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %34
34: ; preds = %._crit_edge, %10
%35 = load float, ptr %5, align 4
store float %35, ptr %2, align 4
br label %36
36: ; preds = %34, %8
%37 = load float, ptr %2, align 4
ret float %37
}
declare i32 @printf(ptr noundef) #1
declare float @absoluteValue(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxkmmmvku.c'
source_filename = "/tmp/tmpxkmmmvku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @mod_func_or(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = call i64 @mod_func(i64 noundef %7, i64 noundef %8)
%10 = load i64, ptr %6, align 8
%11 = or i64 %9, %10
ret i64 %11
}
declare i64 @mod_func(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxkmmmvku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @mod_func_or(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = call i64 @mod_func(i64 noundef %7, i64 noundef %8)
%10 = load i64, ptr %6, align 8
%11 = or i64 %9, %10
ret i64 %11
}
declare i64 @mod_func(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy6zkqibh.c'
source_filename = "/tmp/tmpy6zkqibh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endst() #0 {
%1 = call i32 (...) @blanks()
%2 = call signext i8 (...) @ch()
%3 = sext i8 %2 to i32
%4 = icmp eq i32 %3, 59
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = call signext i8 (...) @ch()
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 0
br label %9
9: ; preds = %5, %0
%10 = phi i1 [ true, %0 ], [ %8, %5 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i32 @blanks(...) #1
declare signext i8 @ch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy6zkqibh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endst() #0 {
%1 = call i32 (...) @blanks()
%2 = call signext i8 (...) @ch()
%3 = sext i8 %2 to i32
%4 = icmp eq i32 %3, 59
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = call signext i8 (...) @ch()
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 0
br label %9
9: ; preds = %5, %0
%10 = phi i1 [ true, %0 ], [ %8, %5 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i32 @blanks(...) #1
declare signext i8 @ch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpner8cxu0.c'
source_filename = "/tmp/tmpner8cxu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = call i32 @assert(ptr noundef %10)
br label %12
12: ; preds = %32, %2
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %16, label %37
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = call i32 @tolower(i8 noundef zeroext %18)
store i32 %19, ptr %6, align 4
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = call i32 @tolower(i8 noundef zeroext %21)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %16
store i32 -1, ptr %3, align 4
br label %44
27: ; preds = %16
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 1, ptr %3, align 4
br label %44
32: ; preds = %27
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %4, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
br label %12, !llvm.loop !6
37: ; preds = %12
%38 = load ptr, ptr %5, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %37
store i32 -1, ptr %3, align 4
br label %44
43: ; preds = %37
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %43, %42, %31, %26
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @assert(ptr noundef) #1
declare i32 @tolower(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpner8cxu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = call i32 @assert(ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %31
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = call i32 @tolower(i8 noundef zeroext %17)
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = call i32 @tolower(i8 noundef zeroext %20)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %15
store i32 -1, ptr %3, align 4
br label %46
26: ; preds = %15
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %26
store i32 1, ptr %3, align 4
br label %46
31: ; preds = %26
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %4, align 8
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %5, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %39
39: ; preds = %._crit_edge, %2
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %39
store i32 -1, ptr %3, align 4
br label %46
45: ; preds = %39
store i32 0, ptr %3, align 4
br label %46
46: ; preds = %45, %44, %30, %25
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @assert(ptr noundef) #1
declare i32 @tolower(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"}
|
; ModuleID = '/tmp/tmp3ktkf6ux.c'
source_filename = "/tmp/tmp3ktkf6ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = call i32 @f(i32 noundef 4)
%2 = call i32 @f(i32 noundef 5)
%3 = add nsw i32 %1, %2
%4 = call i32 @f(i32 noundef 3)
%5 = call i32 @f(i32 noundef %4)
%6 = call i32 @f(i32 noundef 1)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @f(i32 noundef 1)
br label %12
10: ; preds = %0
%11 = call i32 @f(i32 noundef 2)
br label %12
12: ; preds = %10, %8
%13 = call i32 @g(i32 noundef 1)
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @g(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/tmp3ktkf6ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = call i32 @f(i32 noundef 4)
%2 = call i32 @f(i32 noundef 5)
%3 = add nsw i32 %1, %2
%4 = call i32 @f(i32 noundef 3)
%5 = call i32 @f(i32 noundef %4)
%6 = call i32 @f(i32 noundef 1)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @f(i32 noundef 1)
br label %12
10: ; preds = %0
%11 = call i32 @f(i32 noundef 2)
br label %12
12: ; preds = %10, %8
%13 = call i32 @g(i32 noundef 1)
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @g(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/tmppmjd0uzm.c'
source_filename = "/tmp/tmppmjd0uzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @artio_int_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %union.anon, align 4
%7 = alloca %union.anon, 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 %8
8: ; preds = %35, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %38
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %6, align 4
%18 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%19 = load i8, ptr %18, align 1
%20 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %19, ptr %20, align 4
%21 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%22 = load i8, ptr %21, align 2
%23 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %22, ptr %23, align 1
%24 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%25 = load i8, ptr %24, align 1
%26 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %25, ptr %26, align 2
%27 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%28 = load i8, ptr %27, align 4
%29 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %28, ptr %29, align 1
%30 = load i32, ptr %7, align 4
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 %30, ptr %34, align 4
br label %35
35: ; preds = %12
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %8, !llvm.loop !6
38: ; preds = %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppmjd0uzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @artio_int_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %union.anon, align 4
%7 = alloca %union.anon, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %34
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %6, align 4
%17 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 3
%18 = load i8, ptr %17, align 1
%19 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
store i8 %18, ptr %19, align 4
%20 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
%21 = load i8, ptr %20, align 2
%22 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
store i8 %21, ptr %22, align 1
%23 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1
%24 = load i8, ptr %23, align 1
%25 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
store i8 %24, ptr %25, align 2
%26 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%27 = load i8, ptr %26, align 4
%28 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
store i8 %27, ptr %28, align 1
%29 = load i32, ptr %7, align 4
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
store i32 %29, ptr %33, align 4
br label %34
34: ; preds = %11
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpssd9ntbr.c'
source_filename = "/tmp/tmpssd9ntbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sw_occluded_fill_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sw_occluded_fill(i32 noundef 0, i32 noundef -256)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 470681344)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @sw_occluded_fill(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/tmpssd9ntbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sw_occluded_fill_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sw_occluded_fill(i32 noundef 0, i32 noundef -256)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 470681344)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @sw_occluded_fill(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/tmpp2yz0tg4.c'
source_filename = "/tmp/tmpp2yz0tg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @redcloud_get_video_downscale_delta() #0 {
%1 = call i64 (...) @gfx_get_display_video_downscale_delta()
ret i64 %1
}
declare i64 @gfx_get_display_video_downscale_delta(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp2yz0tg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @redcloud_get_video_downscale_delta() #0 {
%1 = call i64 (...) @gfx_get_display_video_downscale_delta()
ret i64 %1
}
declare i64 @gfx_get_display_video_downscale_delta(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpajpcjxky.c'
source_filename = "/tmp/tmpajpcjxky.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"FOO1 %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo1(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %7, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str.1)
ret i32 4
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpajpcjxky.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"FOO1 %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo1(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %7, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str.1)
ret i32 4
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplckm10ag.c'
source_filename = "/tmp/tmplckm10ag.c"
target datalayout = "e-m:e-p270: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/tmplckm10ag.c"
target datalayout = "e-m:e-p270: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/tmpa_soty6a.c'
source_filename = "/tmp/tmpa_soty6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @settimeofday(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 = call i32 @syscall(i32 noundef 79, ptr noundef %5, i32 noundef 0)
ret i32 %6
}
declare i32 @syscall(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/tmpa_soty6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @settimeofday(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 = call i32 @syscall(i32 noundef 79, ptr noundef %5, i32 noundef 0)
ret i32 %6
}
declare i32 @syscall(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/tmp4x2d6gvm.c'
source_filename = "/tmp/tmp4x2d6gvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"cp /root/wireless.ap.bak /root/wireless.ap\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @restore_ap() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4x2d6gvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"cp /root/wireless.ap.bak /root/wireless.ap\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @restore_ap() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqtc1cik0.c'
source_filename = "/tmp/tmpqtc1cik0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cannot read number from ASCII table\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffstrint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i64, align 8
%20 = alloca double, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i64, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca [81 x i8], align 16
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i64 %1, ptr %16, align 8
store double %2, ptr %17, align 8
store double %3, ptr %18, align 8
store i64 %4, ptr %19, align 8
store double %5, ptr %20, align 8
store i32 %6, ptr %21, align 4
store ptr %7, ptr %22, align 8
store i32 %8, ptr %23, align 4
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i8 48, ptr %36, align 1
%43 = load ptr, ptr %22, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %28, align 4
%45 = load ptr, ptr %15, align 8
store ptr %45, ptr %33, align 8
store i64 0, ptr %29, align 8
br label %46
46: ; preds = %370, %13
%47 = load i64, ptr %29, align 8
%48 = load i64, ptr %16, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %50, label %373
50: ; preds = %46
%51 = load ptr, ptr %33, align 8
store ptr %51, ptr %31, align 8
%52 = load ptr, ptr %33, align 8
%53 = load i64, ptr %19, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
store ptr %54, ptr %34, align 8
%55 = load ptr, ptr %34, align 8
%56 = load i8, ptr %55, align 1
store i8 %56, ptr %35, align 1
%57 = load ptr, ptr %34, align 8
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %22, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 0
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 1
br i1 %62, label %63, label %90
63: ; preds = %50
%64 = load ptr, ptr %22, align 8
%65 = load ptr, ptr %33, align 8
%66 = load i32, ptr %28, align 4
%67 = call i32 @strncmp(ptr noundef %64, ptr noundef %65, i32 noundef %66)
%68 = icmp ne i32 %67, 0
br i1 %68, label %90, label %69
69: ; preds = %63
%70 = load i32, ptr %21, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %86
72: ; preds = %69
%73 = load ptr, ptr %25, align 8
store i32 1, ptr %73, align 4
%74 = load i32, ptr %21, align 4
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %81
76: ; preds = %72
%77 = load i32, ptr %23, align 4
%78 = load ptr, ptr %26, align 8
%79 = load i64, ptr %29, align 8
%80 = getelementptr inbounds i32, ptr %78, i64 %79
store i32 %77, ptr %80, align 4
br label %85
81: ; preds = %72
%82 = load ptr, ptr %24, align 8
%83 = load i64, ptr %29, align 8
%84 = getelementptr inbounds i8, ptr %82, i64 %83
store i8 1, ptr %84, align 1
br label %85
85: ; preds = %81, %76
br label %86
86: ; preds = %85, %69
%87 = load i64, ptr %19, align 8
%88 = load ptr, ptr %33, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 %87
store ptr %89, ptr %33, align 8
br label %367
90: ; preds = %63, %50
store i32 0, ptr %42, align 4
store i32 1, ptr %40, align 4
store double 0.000000e+00, ptr %37, align 8
store double 1.000000e+00, ptr %38, align 8
store i32 0, ptr %39, align 4
store i32 1, ptr %41, align 4
br label %91
91: ; preds = %96, %90
%92 = load ptr, ptr %33, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 32
br i1 %95, label %96, label %99
96: ; preds = %91
%97 = load ptr, ptr %33, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %33, align 8
br label %91, !llvm.loop !6
99: ; preds = %91
%100 = load ptr, ptr %33, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 45
br i1 %103, label %109, label %104
104: ; preds = %99
%105 = load ptr, ptr %33, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 43
br i1 %108, label %109, label %127
109: ; preds = %104, %99
%110 = load ptr, ptr %33, align 8
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %112, 45
br i1 %113, label %114, label %115
114: ; preds = %109
store i32 -1, ptr %40, align 4
br label %115
115: ; preds = %114, %109
%116 = load ptr, ptr %33, align 8
%117 = getelementptr inbounds i8, ptr %116, i32 1
store ptr %117, ptr %33, align 8
br label %118
118: ; preds = %123, %115
%119 = load ptr, ptr %33, align 8
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp eq i32 %121, 32
br i1 %122, label %123, label %126
123: ; preds = %118
%124 = load ptr, ptr %33, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %33, align 8
br label %118, !llvm.loop !8
126: ; preds = %118
br label %127
127: ; preds = %126, %104
br label %128
128: ; preds = %161, %127
%129 = load ptr, ptr %33, align 8
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp sge i32 %131, 48
br i1 %132, label %133, label %138
133: ; preds = %128
%134 = load ptr, ptr %33, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp sle i32 %136, 57
br label %138
138: ; preds = %133, %128
%139 = phi i1 [ false, %128 ], [ %137, %133 ]
br i1 %139, label %140, label %162
140: ; preds = %138
%141 = load double, ptr %37, align 8
%142 = load ptr, ptr %33, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = sitofp i32 %144 to double
%146 = call double @llvm.fmuladd.f64(double %141, double 1.000000e+01, double %145)
%147 = load i8, ptr %36, align 1
%148 = sext i8 %147 to i32
%149 = sitofp i32 %148 to double
%150 = fsub double %146, %149
store double %150, ptr %37, align 8
%151 = load ptr, ptr %33, align 8
%152 = getelementptr inbounds i8, ptr %151, i32 1
store ptr %152, ptr %33, align 8
br label %153
153: ; preds = %158, %140
%154 = load ptr, ptr %33, align 8
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 32
br i1 %157, label %158, label %161
158: ; preds = %153
%159 = load ptr, ptr %33, align 8
%160 = getelementptr inbounds i8, ptr %159, i32 1
store ptr %160, ptr %33, align 8
br label %153, !llvm.loop !9
161: ; preds = %153
br label %128, !llvm.loop !10
162: ; preds = %138
%163 = load ptr, ptr %33, align 8
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 46
br i1 %166, label %167, label %216
167: ; preds = %162
store i32 1, ptr %42, align 4
%168 = load ptr, ptr %33, align 8
%169 = getelementptr inbounds i8, ptr %168, i32 1
store ptr %169, ptr %33, align 8
br label %170
170: ; preds = %175, %167
%171 = load ptr, ptr %33, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 32
br i1 %174, label %175, label %178
175: ; preds = %170
%176 = load ptr, ptr %33, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %33, align 8
br label %170, !llvm.loop !11
178: ; preds = %170
br label %179
179: ; preds = %214, %178
%180 = load ptr, ptr %33, align 8
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp sge i32 %182, 48
br i1 %183, label %184, label %189
184: ; preds = %179
%185 = load ptr, ptr %33, align 8
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp sle i32 %187, 57
br label %189
189: ; preds = %184, %179
%190 = phi i1 [ false, %179 ], [ %188, %184 ]
br i1 %190, label %191, label %215
191: ; preds = %189
%192 = load double, ptr %37, align 8
%193 = load ptr, ptr %33, align 8
%194 = load i8, ptr %193, align 1
%195 = sext i8 %194 to i32
%196 = sitofp i32 %195 to double
%197 = call double @llvm.fmuladd.f64(double %192, double 1.000000e+01, double %196)
%198 = load i8, ptr %36, align 1
%199 = sext i8 %198 to i32
%200 = sitofp i32 %199 to double
%201 = fsub double %197, %200
store double %201, ptr %37, align 8
%202 = load double, ptr %38, align 8
%203 = fmul double %202, 1.000000e+01
store double %203, ptr %38, align 8
%204 = load ptr, ptr %33, align 8
%205 = getelementptr inbounds i8, ptr %204, i32 1
store ptr %205, ptr %33, align 8
br label %206
206: ; preds = %211, %191
%207 = load ptr, ptr %33, align 8
%208 = load i8, ptr %207, align 1
%209 = sext i8 %208 to i32
%210 = icmp eq i32 %209, 32
br i1 %210, label %211, label %214
211: ; preds = %206
%212 = load ptr, ptr %33, align 8
%213 = getelementptr inbounds i8, ptr %212, i32 1
store ptr %213, ptr %33, align 8
br label %206, !llvm.loop !12
214: ; preds = %206
br label %179, !llvm.loop !13
215: ; preds = %189
br label %216
216: ; preds = %215, %162
%217 = load ptr, ptr %33, align 8
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %219, 69
br i1 %220, label %226, label %221
221: ; preds = %216
%222 = load ptr, ptr %33, align 8
%223 = load i8, ptr %222, align 1
%224 = sext i8 %223 to i32
%225 = icmp eq i32 %224, 68
br i1 %225, label %226, label %300
226: ; preds = %221, %216
%227 = load ptr, ptr %33, align 8
%228 = getelementptr inbounds i8, ptr %227, i32 1
store ptr %228, ptr %33, align 8
br label %229
229: ; preds = %234, %226
%230 = load ptr, ptr %33, align 8
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %232, 32
br i1 %233, label %234, label %237
234: ; preds = %229
%235 = load ptr, ptr %33, align 8
%236 = getelementptr inbounds i8, ptr %235, i32 1
store ptr %236, ptr %33, align 8
br label %229, !llvm.loop !14
237: ; preds = %229
%238 = load ptr, ptr %33, align 8
%239 = load i8, ptr %238, align 1
%240 = sext i8 %239 to i32
%241 = icmp eq i32 %240, 45
br i1 %241, label %247, label %242
242: ; preds = %237
%243 = load ptr, ptr %33, align 8
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 43
br i1 %246, label %247, label %265
247: ; preds = %242, %237
%248 = load ptr, ptr %33, align 8
%249 = load i8, ptr %248, align 1
%250 = sext i8 %249 to i32
%251 = icmp eq i32 %250, 45
br i1 %251, label %252, label %253
252: ; preds = %247
store i32 -1, ptr %41, align 4
br label %253
253: ; preds = %252, %247
%254 = load ptr, ptr %33, align 8
%255 = getelementptr inbounds i8, ptr %254, i32 1
store ptr %255, ptr %33, align 8
br label %256
256: ; preds = %261, %253
%257 = load ptr, ptr %33, align 8
%258 = load i8, ptr %257, align 1
%259 = sext i8 %258 to i32
%260 = icmp eq i32 %259, 32
br i1 %260, label %261, label %264
261: ; preds = %256
%262 = load ptr, ptr %33, align 8
%263 = getelementptr inbounds i8, ptr %262, i32 1
store ptr %263, ptr %33, align 8
br label %256, !llvm.loop !15
264: ; preds = %256
br label %265
265: ; preds = %264, %242
br label %266
266: ; preds = %298, %265
%267 = load ptr, ptr %33, align 8
%268 = load i8, ptr %267, align 1
%269 = sext i8 %268 to i32
%270 = icmp sge i32 %269, 48
br i1 %270, label %271, label %276
271: ; preds = %266
%272 = load ptr, ptr %33, align 8
%273 = load i8, ptr %272, align 1
%274 = sext i8 %273 to i32
%275 = icmp sle i32 %274, 57
br label %276
276: ; preds = %271, %266
%277 = phi i1 [ false, %266 ], [ %275, %271 ]
br i1 %277, label %278, label %299
278: ; preds = %276
%279 = load i32, ptr %39, align 4
%280 = mul nsw i32 %279, 10
%281 = load ptr, ptr %33, align 8
%282 = load i8, ptr %281, align 1
%283 = sext i8 %282 to i32
%284 = add nsw i32 %280, %283
%285 = load i8, ptr %36, align 1
%286 = sext i8 %285 to i32
%287 = sub nsw i32 %284, %286
store i32 %287, ptr %39, align 4
%288 = load ptr, ptr %33, align 8
%289 = getelementptr inbounds i8, ptr %288, i32 1
store ptr %289, ptr %33, align 8
br label %290
290: ; preds = %295, %278
%291 = load ptr, ptr %33, align 8
%292 = load i8, ptr %291, align 1
%293 = sext i8 %292 to i32
%294 = icmp eq i32 %293, 32
br i1 %294, label %295, label %298
295: ; preds = %290
%296 = load ptr, ptr %33, align 8
%297 = getelementptr inbounds i8, ptr %296, i32 1
store ptr %297, ptr %33, align 8
br label %290, !llvm.loop !16
298: ; preds = %290
br label %266, !llvm.loop !17
299: ; preds = %276
br label %300
300: ; preds = %299, %221
%301 = load ptr, ptr %33, align 8
%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 %318
305: ; preds = %300
%306 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%307 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %306, ptr noundef @.str)
%308 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%309 = call i32 @ffpmsg(ptr noundef %308)
%310 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%311 = load ptr, ptr %31, align 8
%312 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %310, ptr noundef @.str.1, ptr noundef %311)
%313 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%314 = call i32 @ffpmsg(ptr noundef %313)
%315 = load i8, ptr %35, align 1
%316 = load ptr, ptr %34, align 8
store i8 %315, ptr %316, align 1
%317 = load ptr, ptr %27, align 8
store i32 409, ptr %317, align 4
store i32 409, ptr %14, align 4
br label %376
318: ; preds = %300
%319 = load i32, ptr %42, align 4
%320 = icmp ne i32 %319, 0
br i1 %320, label %323, label %321
321: ; preds = %318
%322 = load double, ptr %20, align 8
store double %322, ptr %38, align 8
br label %323
323: ; preds = %321, %318
%324 = load i32, ptr %40, align 4
%325 = sitofp i32 %324 to double
%326 = load double, ptr %37, align 8
%327 = fmul double %325, %326
%328 = load double, ptr %38, align 8
%329 = fdiv double %327, %328
%330 = load i32, ptr %41, align 4
%331 = load i32, ptr %39, align 4
%332 = mul nsw i32 %330, %331
%333 = sitofp i32 %332 to double
%334 = call i32 @pow(i32 noundef 10, double noundef %333)
%335 = sitofp i32 %334 to double
%336 = fmul double %329, %335
store double %336, ptr %30, align 8
%337 = load double, ptr %30, align 8
%338 = load double, ptr %17, align 8
%339 = load double, ptr %18, align 8
%340 = call double @llvm.fmuladd.f64(double %337, double %338, double %339)
store double %340, ptr %30, align 8
%341 = load double, ptr %30, align 8
%342 = fcmp olt double %341, 0xC1E00000000FAE14
br i1 %342, label %343, label %349
343: ; preds = %323
%344 = load ptr, ptr %27, align 8
store i32 -11, ptr %344, align 4
%345 = load i32, ptr @INT_MIN, align 4
%346 = load ptr, ptr %26, align 8
%347 = load i64, ptr %29, align 8
%348 = getelementptr inbounds i32, ptr %346, i64 %347
store i32 %345, ptr %348, align 4
br label %366
349: ; preds = %323
%350 = load double, ptr %30, align 8
%351 = fcmp ogt double %350, 0x41DFFFFFFFDF5C29
br i1 %351, label %352, label %358
352: ; preds = %349
%353 = load ptr, ptr %27, align 8
store i32 -11, ptr %353, align 4
%354 = load i32, ptr @INT_MAX, align 4
%355 = load ptr, ptr %26, align 8
%356 = load i64, ptr %29, align 8
%357 = getelementptr inbounds i32, ptr %355, i64 %356
store i32 %354, ptr %357, align 4
br label %365
358: ; preds = %349
%359 = load double, ptr %30, align 8
%360 = fptosi double %359 to i64
%361 = trunc i64 %360 to i32
%362 = load ptr, ptr %26, align 8
%363 = load i64, ptr %29, align 8
%364 = getelementptr inbounds i32, ptr %362, i64 %363
store i32 %361, ptr %364, align 4
br label %365
365: ; preds = %358, %352
br label %366
366: ; preds = %365, %343
br label %367
367: ; preds = %366, %86
%368 = load i8, ptr %35, align 1
%369 = load ptr, ptr %34, align 8
store i8 %368, ptr %369, align 1
br label %370
370: ; preds = %367
%371 = load i64, ptr %29, align 8
%372 = add nsw i64 %371, 1
store i64 %372, ptr %29, align 8
br label %46, !llvm.loop !18
373: ; preds = %46
%374 = load ptr, ptr %27, align 8
%375 = load i32, ptr %374, align 4
store i32 %375, ptr %14, align 4
br label %376
376: ; preds = %373, %305
%377 = load i32, ptr %14, align 4
ret i32 %377
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ffpmsg(ptr noundef) #1
declare i32 @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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtc1cik0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cannot read number from ASCII table\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffstrint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i64, align 8
%20 = alloca double, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i64, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca [81 x i8], align 16
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i64 %1, ptr %16, align 8
store double %2, ptr %17, align 8
store double %3, ptr %18, align 8
store i64 %4, ptr %19, align 8
store double %5, ptr %20, align 8
store i32 %6, ptr %21, align 4
store ptr %7, ptr %22, align 8
store i32 %8, ptr %23, align 4
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i8 48, ptr %36, align 1
%43 = load ptr, ptr %22, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %28, align 4
%45 = load ptr, ptr %15, align 8
store ptr %45, ptr %33, align 8
store i64 0, ptr %29, align 8
%46 = load i64, ptr %29, align 8
%47 = load i64, ptr %16, align 8
%48 = icmp slt i64 %46, %47
br i1 %48, label %.lr.ph23, label %399
.lr.ph23: ; preds = %13
br label %49
49: ; preds = %.lr.ph23, %393
%50 = load ptr, ptr %33, align 8
store ptr %50, ptr %31, align 8
%51 = load ptr, ptr %33, align 8
%52 = load i64, ptr %19, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %34, align 8
%54 = load ptr, ptr %34, align 8
%55 = load i8, ptr %54, align 1
store i8 %55, ptr %35, align 1
%56 = load ptr, ptr %34, align 8
store i8 0, ptr %56, align 1
%57 = load ptr, ptr %22, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 1
br i1 %61, label %62, label %89
62: ; preds = %49
%63 = load ptr, ptr %22, align 8
%64 = load ptr, ptr %33, align 8
%65 = load i32, ptr %28, align 4
%66 = call i32 @strncmp(ptr noundef %63, ptr noundef %64, i32 noundef %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %89, label %68
68: ; preds = %62
%69 = load i32, ptr %21, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %85
71: ; preds = %68
%72 = load ptr, ptr %25, align 8
store i32 1, ptr %72, align 4
%73 = load i32, ptr %21, align 4
%74 = icmp eq i32 %73, 1
br i1 %74, label %75, label %80
75: ; preds = %71
%76 = load i32, ptr %23, align 4
%77 = load ptr, ptr %26, align 8
%78 = load i64, ptr %29, align 8
%79 = getelementptr inbounds i32, ptr %77, i64 %78
store i32 %76, ptr %79, align 4
br label %84
80: ; preds = %71
%81 = load ptr, ptr %24, align 8
%82 = load i64, ptr %29, align 8
%83 = getelementptr inbounds i8, ptr %81, i64 %82
store i8 1, ptr %83, align 1
br label %84
84: ; preds = %80, %75
br label %85
85: ; preds = %84, %68
%86 = load i64, ptr %19, align 8
%87 = load ptr, ptr %33, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 %86
store ptr %88, ptr %33, align 8
br label %390
89: ; preds = %62, %49
store i32 0, ptr %42, align 4
store i32 1, ptr %40, align 4
store double 0.000000e+00, ptr %37, align 8
store double 1.000000e+00, ptr %38, align 8
store i32 0, ptr %39, align 4
store i32 1, ptr %41, align 4
%90 = load ptr, ptr %33, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 32
br i1 %93, label %.lr.ph, label %101
.lr.ph: ; preds = %89
br label %94
94: ; preds = %.lr.ph, %94
%95 = load ptr, ptr %33, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %33, align 8
%97 = load ptr, ptr %33, align 8
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 32
br i1 %100, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %94
br label %101
101: ; preds = %._crit_edge, %89
%102 = load ptr, ptr %33, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 45
br i1 %105, label %111, label %106
106: ; preds = %101
%107 = load ptr, ptr %33, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 43
br i1 %110, label %111, label %132
111: ; preds = %106, %101
%112 = load ptr, ptr %33, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %116, label %117
116: ; preds = %111
store i32 -1, ptr %40, align 4
br label %117
117: ; preds = %116, %111
%118 = load ptr, ptr %33, align 8
%119 = getelementptr inbounds i8, ptr %118, i32 1
store ptr %119, ptr %33, align 8
%120 = load ptr, ptr %33, align 8
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 32
br i1 %123, label %.lr.ph2, label %131
.lr.ph2: ; preds = %117
br label %124
124: ; preds = %.lr.ph2, %124
%125 = load ptr, ptr %33, align 8
%126 = getelementptr inbounds i8, ptr %125, i32 1
store ptr %126, ptr %33, align 8
%127 = load ptr, ptr %33, align 8
%128 = load i8, ptr %127, align 1
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 32
br i1 %130, label %124, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %124
br label %131
131: ; preds = %._crit_edge3, %117
br label %132
132: ; preds = %131, %106
br label %133
133: ; preds = %169, %132
%134 = load ptr, ptr %33, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp sge i32 %136, 48
br i1 %137, label %138, label %143
138: ; preds = %133
%139 = load ptr, ptr %33, align 8
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = icmp sle i32 %141, 57
br label %143
143: ; preds = %138, %133
%144 = phi i1 [ false, %133 ], [ %142, %138 ]
br i1 %144, label %145, label %170
145: ; preds = %143
%146 = load double, ptr %37, align 8
%147 = load ptr, ptr %33, align 8
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = sitofp i32 %149 to double
%151 = call double @llvm.fmuladd.f64(double %146, double 1.000000e+01, double %150)
%152 = load i8, ptr %36, align 1
%153 = sext i8 %152 to i32
%154 = sitofp i32 %153 to double
%155 = fsub double %151, %154
store double %155, ptr %37, align 8
%156 = load ptr, ptr %33, align 8
%157 = getelementptr inbounds i8, ptr %156, i32 1
store ptr %157, ptr %33, align 8
%158 = load ptr, ptr %33, align 8
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp eq i32 %160, 32
br i1 %161, label %.lr.ph5, label %169
.lr.ph5: ; preds = %145
br label %162
162: ; preds = %.lr.ph5, %162
%163 = load ptr, ptr %33, align 8
%164 = getelementptr inbounds i8, ptr %163, i32 1
store ptr %164, ptr %33, align 8
%165 = load ptr, ptr %33, align 8
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 32
br i1 %168, label %162, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %162
br label %169
169: ; preds = %._crit_edge6, %145
br label %133, !llvm.loop !10
170: ; preds = %143
%171 = load ptr, ptr %33, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 46
br i1 %174, label %175, label %230
175: ; preds = %170
store i32 1, ptr %42, align 4
%176 = load ptr, ptr %33, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %33, align 8
%178 = load ptr, ptr %33, align 8
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %180, 32
br i1 %181, label %.lr.ph8, label %189
.lr.ph8: ; preds = %175
br label %182
182: ; preds = %.lr.ph8, %182
%183 = load ptr, ptr %33, align 8
%184 = getelementptr inbounds i8, ptr %183, i32 1
store ptr %184, ptr %33, align 8
%185 = load ptr, ptr %33, align 8
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp eq i32 %187, 32
br i1 %188, label %182, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %182
br label %189
189: ; preds = %._crit_edge9, %175
br label %190
190: ; preds = %228, %189
%191 = load ptr, ptr %33, align 8
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = icmp sge i32 %193, 48
br i1 %194, label %195, label %200
195: ; preds = %190
%196 = load ptr, ptr %33, align 8
%197 = load i8, ptr %196, align 1
%198 = sext i8 %197 to i32
%199 = icmp sle i32 %198, 57
br label %200
200: ; preds = %195, %190
%201 = phi i1 [ false, %190 ], [ %199, %195 ]
br i1 %201, label %202, label %229
202: ; preds = %200
%203 = load double, ptr %37, align 8
%204 = load ptr, ptr %33, align 8
%205 = load i8, ptr %204, align 1
%206 = sext i8 %205 to i32
%207 = sitofp i32 %206 to double
%208 = call double @llvm.fmuladd.f64(double %203, double 1.000000e+01, double %207)
%209 = load i8, ptr %36, align 1
%210 = sext i8 %209 to i32
%211 = sitofp i32 %210 to double
%212 = fsub double %208, %211
store double %212, ptr %37, align 8
%213 = load double, ptr %38, align 8
%214 = fmul double %213, 1.000000e+01
store double %214, ptr %38, align 8
%215 = load ptr, ptr %33, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %33, align 8
%217 = load ptr, ptr %33, align 8
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %219, 32
br i1 %220, label %.lr.ph11, label %228
.lr.ph11: ; preds = %202
br label %221
221: ; preds = %.lr.ph11, %221
%222 = load ptr, ptr %33, align 8
%223 = getelementptr inbounds i8, ptr %222, i32 1
store ptr %223, ptr %33, align 8
%224 = load ptr, ptr %33, align 8
%225 = load i8, ptr %224, align 1
%226 = sext i8 %225 to i32
%227 = icmp eq i32 %226, 32
br i1 %227, label %221, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %221
br label %228
228: ; preds = %._crit_edge12, %202
br label %190, !llvm.loop !13
229: ; preds = %200
br label %230
230: ; preds = %229, %170
%231 = load ptr, ptr %33, align 8
%232 = load i8, ptr %231, align 1
%233 = sext i8 %232 to i32
%234 = icmp eq i32 %233, 69
br i1 %234, label %240, label %235
235: ; preds = %230
%236 = load ptr, ptr %33, align 8
%237 = load i8, ptr %236, align 1
%238 = sext i8 %237 to i32
%239 = icmp eq i32 %238, 68
br i1 %239, label %240, label %323
240: ; preds = %235, %230
%241 = load ptr, ptr %33, align 8
%242 = getelementptr inbounds i8, ptr %241, i32 1
store ptr %242, ptr %33, align 8
%243 = load ptr, ptr %33, align 8
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 32
br i1 %246, label %.lr.ph14, label %254
.lr.ph14: ; preds = %240
br label %247
247: ; preds = %.lr.ph14, %247
%248 = load ptr, ptr %33, align 8
%249 = getelementptr inbounds i8, ptr %248, i32 1
store ptr %249, ptr %33, align 8
%250 = load ptr, ptr %33, align 8
%251 = load i8, ptr %250, align 1
%252 = sext i8 %251 to i32
%253 = icmp eq i32 %252, 32
br i1 %253, label %247, label %._crit_edge15, !llvm.loop !14
._crit_edge15: ; preds = %247
br label %254
254: ; preds = %._crit_edge15, %240
%255 = load ptr, ptr %33, align 8
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = icmp eq i32 %257, 45
br i1 %258, label %264, label %259
259: ; preds = %254
%260 = load ptr, ptr %33, align 8
%261 = load i8, ptr %260, align 1
%262 = sext i8 %261 to i32
%263 = icmp eq i32 %262, 43
br i1 %263, label %264, label %285
264: ; preds = %259, %254
%265 = load ptr, ptr %33, align 8
%266 = load i8, ptr %265, align 1
%267 = sext i8 %266 to i32
%268 = icmp eq i32 %267, 45
br i1 %268, label %269, label %270
269: ; preds = %264
store i32 -1, ptr %41, align 4
br label %270
270: ; preds = %269, %264
%271 = load ptr, ptr %33, align 8
%272 = getelementptr inbounds i8, ptr %271, i32 1
store ptr %272, ptr %33, align 8
%273 = load ptr, ptr %33, align 8
%274 = load i8, ptr %273, align 1
%275 = sext i8 %274 to i32
%276 = icmp eq i32 %275, 32
br i1 %276, label %.lr.ph17, label %284
.lr.ph17: ; preds = %270
br label %277
277: ; preds = %.lr.ph17, %277
%278 = load ptr, ptr %33, align 8
%279 = getelementptr inbounds i8, ptr %278, i32 1
store ptr %279, ptr %33, align 8
%280 = load ptr, ptr %33, align 8
%281 = load i8, ptr %280, align 1
%282 = sext i8 %281 to i32
%283 = icmp eq i32 %282, 32
br i1 %283, label %277, label %._crit_edge18, !llvm.loop !15
._crit_edge18: ; preds = %277
br label %284
284: ; preds = %._crit_edge18, %270
br label %285
285: ; preds = %284, %259
br label %286
286: ; preds = %321, %285
%287 = load ptr, ptr %33, align 8
%288 = load i8, ptr %287, align 1
%289 = sext i8 %288 to i32
%290 = icmp sge i32 %289, 48
br i1 %290, label %291, label %296
291: ; preds = %286
%292 = load ptr, ptr %33, align 8
%293 = load i8, ptr %292, align 1
%294 = sext i8 %293 to i32
%295 = icmp sle i32 %294, 57
br label %296
296: ; preds = %291, %286
%297 = phi i1 [ false, %286 ], [ %295, %291 ]
br i1 %297, label %298, label %322
298: ; preds = %296
%299 = load i32, ptr %39, align 4
%300 = mul nsw i32 %299, 10
%301 = load ptr, ptr %33, align 8
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = add nsw i32 %300, %303
%305 = load i8, ptr %36, align 1
%306 = sext i8 %305 to i32
%307 = sub nsw i32 %304, %306
store i32 %307, ptr %39, align 4
%308 = load ptr, ptr %33, align 8
%309 = getelementptr inbounds i8, ptr %308, i32 1
store ptr %309, ptr %33, align 8
%310 = load ptr, ptr %33, align 8
%311 = load i8, ptr %310, align 1
%312 = sext i8 %311 to i32
%313 = icmp eq i32 %312, 32
br i1 %313, label %.lr.ph20, label %321
.lr.ph20: ; preds = %298
br label %314
314: ; preds = %.lr.ph20, %314
%315 = load ptr, ptr %33, align 8
%316 = getelementptr inbounds i8, ptr %315, i32 1
store ptr %316, ptr %33, align 8
%317 = load ptr, ptr %33, align 8
%318 = load i8, ptr %317, align 1
%319 = sext i8 %318 to i32
%320 = icmp eq i32 %319, 32
br i1 %320, label %314, label %._crit_edge21, !llvm.loop !16
._crit_edge21: ; preds = %314
br label %321
321: ; preds = %._crit_edge21, %298
br label %286, !llvm.loop !17
322: ; preds = %296
br label %323
323: ; preds = %322, %235
%324 = load ptr, ptr %33, align 8
%325 = load i8, ptr %324, align 1
%326 = sext i8 %325 to i32
%327 = icmp ne i32 %326, 0
br i1 %327, label %328, label %341
328: ; preds = %323
%329 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%330 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %329, ptr noundef @.str)
%331 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%332 = call i32 @ffpmsg(ptr noundef %331)
%333 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%334 = load ptr, ptr %31, align 8
%335 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %333, ptr noundef @.str.1, ptr noundef %334)
%336 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%337 = call i32 @ffpmsg(ptr noundef %336)
%338 = load i8, ptr %35, align 1
%339 = load ptr, ptr %34, align 8
store i8 %338, ptr %339, align 1
%340 = load ptr, ptr %27, align 8
store i32 409, ptr %340, align 4
store i32 409, ptr %14, align 4
br label %402
341: ; preds = %323
%342 = load i32, ptr %42, align 4
%343 = icmp ne i32 %342, 0
br i1 %343, label %346, label %344
344: ; preds = %341
%345 = load double, ptr %20, align 8
store double %345, ptr %38, align 8
br label %346
346: ; preds = %344, %341
%347 = load i32, ptr %40, align 4
%348 = sitofp i32 %347 to double
%349 = load double, ptr %37, align 8
%350 = fmul double %348, %349
%351 = load double, ptr %38, align 8
%352 = fdiv double %350, %351
%353 = load i32, ptr %41, align 4
%354 = load i32, ptr %39, align 4
%355 = mul nsw i32 %353, %354
%356 = sitofp i32 %355 to double
%357 = call i32 @pow(i32 noundef 10, double noundef %356)
%358 = sitofp i32 %357 to double
%359 = fmul double %352, %358
store double %359, ptr %30, align 8
%360 = load double, ptr %30, align 8
%361 = load double, ptr %17, align 8
%362 = load double, ptr %18, align 8
%363 = call double @llvm.fmuladd.f64(double %360, double %361, double %362)
store double %363, ptr %30, align 8
%364 = load double, ptr %30, align 8
%365 = fcmp olt double %364, 0xC1E00000000FAE14
br i1 %365, label %366, label %372
366: ; preds = %346
%367 = load ptr, ptr %27, align 8
store i32 -11, ptr %367, align 4
%368 = load i32, ptr @INT_MIN, align 4
%369 = load ptr, ptr %26, align 8
%370 = load i64, ptr %29, align 8
%371 = getelementptr inbounds i32, ptr %369, i64 %370
store i32 %368, ptr %371, align 4
br label %389
372: ; preds = %346
%373 = load double, ptr %30, align 8
%374 = fcmp ogt double %373, 0x41DFFFFFFFDF5C29
br i1 %374, label %375, label %381
375: ; preds = %372
%376 = load ptr, ptr %27, align 8
store i32 -11, ptr %376, align 4
%377 = load i32, ptr @INT_MAX, align 4
%378 = load ptr, ptr %26, align 8
%379 = load i64, ptr %29, align 8
%380 = getelementptr inbounds i32, ptr %378, i64 %379
store i32 %377, ptr %380, align 4
br label %388
381: ; preds = %372
%382 = load double, ptr %30, align 8
%383 = fptosi double %382 to i64
%384 = trunc i64 %383 to i32
%385 = load ptr, ptr %26, align 8
%386 = load i64, ptr %29, align 8
%387 = getelementptr inbounds i32, ptr %385, i64 %386
store i32 %384, ptr %387, align 4
br label %388
388: ; preds = %381, %375
br label %389
389: ; preds = %388, %366
br label %390
390: ; preds = %389, %85
%391 = load i8, ptr %35, align 1
%392 = load ptr, ptr %34, align 8
store i8 %391, ptr %392, align 1
br label %393
393: ; preds = %390
%394 = load i64, ptr %29, align 8
%395 = add nsw i64 %394, 1
store i64 %395, ptr %29, align 8
%396 = load i64, ptr %29, align 8
%397 = load i64, ptr %16, align 8
%398 = icmp slt i64 %396, %397
br i1 %398, label %49, label %._crit_edge24, !llvm.loop !18
._crit_edge24: ; preds = %393
br label %399
399: ; preds = %._crit_edge24, %13
%400 = load ptr, ptr %27, align 8
%401 = load i32, ptr %400, align 4
store i32 %401, ptr %14, align 4
br label %402
402: ; preds = %399, %328
%403 = load i32, ptr %14, align 4
ret i32 %403
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ffpmsg(ptr noundef) #1
declare i32 @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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmpixwc18qy.c'
source_filename = "/tmp/tmpixwc18qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c" %.8x - %.8x | %8i | %7.2f | %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printblobinfo(i32 noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store float %3, ptr %9, align 4
store float %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load float, ptr %9, align 4
%15 = load float, ptr %10, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, float noundef %14, float noundef %15)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpixwc18qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c" %.8x - %.8x | %8i | %7.2f | %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printblobinfo(i32 noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store float %3, ptr %9, align 4
store float %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load float, ptr %9, align 4
%15 = load float, ptr %10, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %13, float noundef %14, float noundef %15)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphi_uucs4.c'
source_filename = "/tmp/tmphi_uucs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randInt(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 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = add nsw i32 %8, 1
%10 = srem i32 %5, %9
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
ret i32 %12
}
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/tmphi_uucs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randInt(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 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = add nsw i32 %8, 1
%10 = srem i32 %5, %9
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
ret i32 %12
}
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/tmpm2pa9aqp.c'
source_filename = "/tmp/tmpm2pa9aqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 9, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str, ptr noundef %2)
ret i32 0
}
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/tmpm2pa9aqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 9, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str, ptr noundef %2)
ret i32 0
}
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/tmptq7ghwbl.c'
source_filename = "/tmp/tmptq7ghwbl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptq7ghwbl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfs1efldl.c'
source_filename = "/tmp/tmpfs1efldl.c"
target datalayout = "e-m:e-p270: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/tmpfs1efldl.c"
target datalayout = "e-m:e-p270: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/tmps4t5cpxm.c'
source_filename = "/tmp/tmps4t5cpxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocMem(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 8, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 8, %14
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %15, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
store ptr %21, ptr %23, align 8
store i32 1, ptr %6, align 4
br label %24
24: ; preds = %41, %2
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %44
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = mul nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %31, i64 %35
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
store ptr %36, ptr %40, align 8
br label %41
41: ; preds = %28
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %24, !llvm.loop !6
44: ; preds = %24
%45 = load ptr, ptr %5, align 8
ret ptr %45
}
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/tmps4t5cpxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocMem(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 8, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 8, %14
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %15, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
store ptr %21, ptr %23, align 8
store i32 1, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %46
.lr.ph: ; preds = %2
br label %27
27: ; preds = %.lr.ph, %40
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 0
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %4, align 4
%33 = mul nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %30, i64 %34
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
store ptr %35, ptr %39, align 8
br label %40
40: ; preds = %27
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %2
%47 = load ptr, ptr %5, align 8
ret ptr %47
}
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/tmpmy0xfv29.c'
source_filename = "/tmp/tmpmy0xfv29.c"
target datalayout = "e-m:e-p270: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/tmpmy0xfv29.c"
target datalayout = "e-m:e-p270: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/tmps1mp0cxw.c'
source_filename = "/tmp/tmps1mp0cxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imprimir(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 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
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/tmps1mp0cxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imprimir(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 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
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/tmpzdjypl_6.c'
source_filename = "/tmp/tmpzdjypl_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8 @util_hex_to_byte(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = call i32 @util_hex_to_nib(i8 noundef signext %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i8 0, ptr %2, align 1
br label %37
12: ; preds = %1
%13 = load i32, ptr %4, align 4
%14 = trunc i32 %13 to i8
store i8 %14, ptr %5, align 1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = call i32 @util_hex_to_nib(i8 noundef signext %17)
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %12
%22 = load i8, ptr %5, align 1
store i8 %22, ptr %2, align 1
br label %37
23: ; preds = %12
%24 = load i8, ptr %5, align 1
%25 = zext i8 %24 to i32
%26 = shl i32 %25, 4
%27 = trunc i32 %26 to i8
store i8 %27, ptr %5, align 1
%28 = load i32, ptr %4, align 4
%29 = and i32 %28, 15
%30 = trunc i32 %29 to i8
%31 = zext i8 %30 to i32
%32 = load i8, ptr %5, align 1
%33 = zext i8 %32 to i32
%34 = or i32 %33, %31
%35 = trunc i32 %34 to i8
store i8 %35, ptr %5, align 1
%36 = load i8, ptr %5, align 1
store i8 %36, ptr %2, align 1
br label %37
37: ; preds = %23, %21, %11
%38 = load i8, ptr %2, align 1
ret i8 %38
}
declare i32 @util_hex_to_nib(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/tmpzdjypl_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8 @util_hex_to_byte(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = call i32 @util_hex_to_nib(i8 noundef signext %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i8 0, ptr %2, align 1
br label %37
12: ; preds = %1
%13 = load i32, ptr %4, align 4
%14 = trunc i32 %13 to i8
store i8 %14, ptr %5, align 1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = call i32 @util_hex_to_nib(i8 noundef signext %17)
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %12
%22 = load i8, ptr %5, align 1
store i8 %22, ptr %2, align 1
br label %37
23: ; preds = %12
%24 = load i8, ptr %5, align 1
%25 = zext i8 %24 to i32
%26 = shl i32 %25, 4
%27 = trunc i32 %26 to i8
store i8 %27, ptr %5, align 1
%28 = load i32, ptr %4, align 4
%29 = and i32 %28, 15
%30 = trunc i32 %29 to i8
%31 = zext i8 %30 to i32
%32 = load i8, ptr %5, align 1
%33 = zext i8 %32 to i32
%34 = or i32 %33, %31
%35 = trunc i32 %34 to i8
store i8 %35, ptr %5, align 1
%36 = load i8, ptr %5, align 1
store i8 %36, ptr %2, align 1
br label %37
37: ; preds = %23, %21, %11
%38 = load i8, ptr %2, align 1
ret i8 %38
}
declare i32 @util_hex_to_nib(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/tmp6ni0occq.c'
source_filename = "/tmp/tmp6ni0occq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"value of y: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 20, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 9
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 100, ptr %3, align 4
br label %8
7: ; preds = %0
store i32 200, ptr %3, align 4
br label %8
8: ; preds = %7, %6
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 9
%13 = zext i1 %12 to i64
%14 = select i1 %12, i32 100, i32 200
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
ret i32 0
}
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/tmp6ni0occq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"value of y: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 20, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 9
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 100, ptr %3, align 4
br label %8
7: ; preds = %0
store i32 200, ptr %3, align 4
br label %8
8: ; preds = %7, %6
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 9
%13 = zext i1 %12 to i64
%14 = select i1 %12, i32 100, i32 200
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
ret i32 0
}
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/tmpkqde07x1.c'
source_filename = "/tmp/tmpkqde07x1.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [61 x i8] c"Syntax:\0Anamedump <in-file> <public header> <private header>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Failed to open '%s' for reading\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Failed to open '%s' for writing\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"static const char *PDF_NAMES[] =\0A{\0A\09\22\22,\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"enum\0A{\0A\09PDF_OBJ_ENUM__DUMMY,\0A\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"\09\22%s\22,\0A\00", align 1
@.str.8 = private unnamed_addr constant [66 x i8] c"#define PDF_NAME_%s ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_NAME_%s)\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"\09PDF_OBJ_ENUM_NAME_%s,\0A\00", align 1
@.str.10 = private unnamed_addr constant [104 x i8] c"#define PDF_OBJ_NAME__LIMIT ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_NAME__LIMIT)\0A\09PDF_OBJ_ENUM_NAME__LIMIT,\0A\00", align 1
@.str.11 = private unnamed_addr constant [123 x i8] c"#define PDF_OBJ_FALSE ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_BOOL_FALSE)\0A\09PDF_OBJ_ENUM_BOOL_FALSE = PDF_OBJ_ENUM_NAME__LIMIT,\0A\00", align 1
@.str.12 = private unnamed_addr constant [93 x i8] c"#define PDF_OBJ_TRUE ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_BOOL_TRUE)\0A\09PDF_OBJ_ENUM_BOOL_TRUE,\0A\00", align 1
@.str.13 = private unnamed_addr constant [83 x i8] c"#define PDF_OBJ_NULL ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_NULL)\0A\09PDF_OBJ_ENUM_NULL,\0A\00", align 1
@.str.14 = private unnamed_addr constant [91 x i8] c"#define PDF_OBJ__LIMIT ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM__LIMIT)\0A\09PDF_OBJ_ENUM__LIMIT\0A};\0A\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"};\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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 4
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load ptr, ptr @stderr, align 8
%15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %130
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %31, label %24
24: ; preds = %17
%25 = load ptr, ptr @stderr, align 8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.2, ptr noundef %28)
%30 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %30, ptr %3, align 4
br label %130
31: ; preds = %17
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.3)
store ptr %35, ptr %8, align 8
%36 = load ptr, ptr %8, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %45, label %38
38: ; preds = %31
%39 = load ptr, ptr @stderr, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 2
%42 = load ptr, ptr %41, align 8
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %42)
%44 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %44, ptr %3, align 4
br label %130
45: ; preds = %31
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 3
%48 = load ptr, ptr %47, align 8
%49 = call ptr @fopen(ptr noundef %48, ptr noundef @.str.3)
store ptr %49, ptr %7, align 8
%50 = load ptr, ptr %7, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %59, label %52
52: ; preds = %45
%53 = load ptr, ptr @stderr, align 8
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 3
%56 = load ptr, ptr %55, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.4, ptr noundef %56)
%58 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %58, ptr %3, align 4
br label %130
59: ; preds = %45
%60 = load ptr, ptr %7, align 8
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.5)
%62 = load ptr, ptr %8, align 8
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.6)
br label %64
64: ; preds = %102, %76, %59
%65 = load ptr, ptr %6, align 8
%66 = call i32 @feof(ptr noundef %65)
%67 = icmp ne i32 %66, 0
%68 = xor i1 %67, true
br i1 %68, label %69, label %110
69: ; preds = %64
%70 = load ptr, ptr %6, align 8
%71 = call ptr @get_line(ptr noundef %70)
store ptr %71, ptr %9, align 8
%72 = load ptr, ptr %9, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %69
br label %64, !llvm.loop !6
77: ; preds = %69
%78 = load ptr, ptr %7, align 8
%79 = load ptr, ptr %9, align 8
%80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.7, ptr noundef %79)
%81 = load ptr, ptr %9, align 8
store ptr %81, ptr %10, align 8
br label %82
82: ; preds = %99, %77
%83 = load ptr, ptr %10, align 8
%84 = load i8, ptr %83, align 1
%85 = icmp ne i8 %84, 0
br i1 %85, label %86, label %102
86: ; preds = %82
%87 = load ptr, ptr %10, align 8
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 46
br i1 %90, label %96, label %91
91: ; preds = %86
%92 = load ptr, ptr %10, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 45
br i1 %95, label %96, label %98
96: ; preds = %91, %86
%97 = load ptr, ptr %10, align 8
store i8 95, ptr %97, align 1
br label %98
98: ; preds = %96, %91
br label %99
99: ; preds = %98
%100 = load ptr, ptr %10, align 8
%101 = getelementptr inbounds i8, ptr %100, i32 1
store ptr %101, ptr %10, align 8
br label %82, !llvm.loop !8
102: ; preds = %82
%103 = load ptr, ptr %8, align 8
%104 = load ptr, ptr %9, align 8
%105 = load ptr, ptr %9, align 8
%106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.8, ptr noundef %104, ptr noundef %105)
%107 = load ptr, ptr %8, align 8
%108 = load ptr, ptr %9, align 8
%109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.9, ptr noundef %108)
br label %64, !llvm.loop !6
110: ; preds = %64
%111 = load ptr, ptr %8, align 8
%112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.10)
%113 = load ptr, ptr %8, align 8
%114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.11)
%115 = load ptr, ptr %8, align 8
%116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %115, ptr noundef @.str.12)
%117 = load ptr, ptr %8, align 8
%118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.13)
%119 = load ptr, ptr %8, align 8
%120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.14)
%121 = load ptr, ptr %7, align 8
%122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef @.str.15)
%123 = load ptr, ptr %7, align 8
%124 = call i32 @fclose(ptr noundef %123)
%125 = load ptr, ptr %8, align 8
%126 = call i32 @fclose(ptr noundef %125)
%127 = load ptr, ptr %6, align 8
%128 = call i32 @fclose(ptr noundef %127)
%129 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %129, ptr %3, align 4
br label %130
130: ; preds = %110, %52, %38, %24, %13
%131 = load i32, ptr %3, align 4
ret i32 %131
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare ptr @get_line(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkqde07x1.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [61 x i8] c"Syntax:\0Anamedump <in-file> <public header> <private header>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Failed to open '%s' for reading\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Failed to open '%s' for writing\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"static const char *PDF_NAMES[] =\0A{\0A\09\22\22,\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"enum\0A{\0A\09PDF_OBJ_ENUM__DUMMY,\0A\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"\09\22%s\22,\0A\00", align 1
@.str.8 = private unnamed_addr constant [66 x i8] c"#define PDF_NAME_%s ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_NAME_%s)\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"\09PDF_OBJ_ENUM_NAME_%s,\0A\00", align 1
@.str.10 = private unnamed_addr constant [104 x i8] c"#define PDF_OBJ_NAME__LIMIT ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_NAME__LIMIT)\0A\09PDF_OBJ_ENUM_NAME__LIMIT,\0A\00", align 1
@.str.11 = private unnamed_addr constant [123 x i8] c"#define PDF_OBJ_FALSE ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_BOOL_FALSE)\0A\09PDF_OBJ_ENUM_BOOL_FALSE = PDF_OBJ_ENUM_NAME__LIMIT,\0A\00", align 1
@.str.12 = private unnamed_addr constant [93 x i8] c"#define PDF_OBJ_TRUE ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_BOOL_TRUE)\0A\09PDF_OBJ_ENUM_BOOL_TRUE,\0A\00", align 1
@.str.13 = private unnamed_addr constant [83 x i8] c"#define PDF_OBJ_NULL ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM_NULL)\0A\09PDF_OBJ_ENUM_NULL,\0A\00", align 1
@.str.14 = private unnamed_addr constant [91 x i8] c"#define PDF_OBJ__LIMIT ((pdf_obj *)(intptr_t)PDF_OBJ_ENUM__LIMIT)\0A\09PDF_OBJ_ENUM__LIMIT\0A};\0A\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"};\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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 4
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load ptr, ptr @stderr, align 8
%15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %135
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %31, label %24
24: ; preds = %17
%25 = load ptr, ptr @stderr, align 8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.2, ptr noundef %28)
%30 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %30, ptr %3, align 4
br label %135
31: ; preds = %17
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.3)
store ptr %35, ptr %8, align 8
%36 = load ptr, ptr %8, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %45, label %38
38: ; preds = %31
%39 = load ptr, ptr @stderr, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 2
%42 = load ptr, ptr %41, align 8
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %42)
%44 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %44, ptr %3, align 4
br label %135
45: ; preds = %31
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 3
%48 = load ptr, ptr %47, align 8
%49 = call ptr @fopen(ptr noundef %48, ptr noundef @.str.3)
store ptr %49, ptr %7, align 8
%50 = load ptr, ptr %7, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %59, label %52
52: ; preds = %45
%53 = load ptr, ptr @stderr, align 8
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 3
%56 = load ptr, ptr %55, align 8
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.4, ptr noundef %56)
%58 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %58, ptr %3, align 4
br label %135
59: ; preds = %45
%60 = load ptr, ptr %7, align 8
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.5)
%62 = load ptr, ptr %8, align 8
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.6)
%64 = load ptr, ptr %6, align 8
%65 = call i32 @feof(ptr noundef %64)
%66 = icmp ne i32 %65, 0
%67 = xor i1 %66, true
br i1 %67, label %.lr.ph2, label %115
.lr.ph2: ; preds = %59
br label %68
68: ; preds = %.lr.ph2, %.backedge
%69 = load ptr, ptr %6, align 8
%70 = call ptr @get_line(ptr noundef %69)
store ptr %70, ptr %9, align 8
%71 = load ptr, ptr %9, align 8
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %80
75: ; preds = %68
br label %.backedge
.backedge: ; preds = %75, %107
%76 = load ptr, ptr %6, align 8
%77 = call i32 @feof(ptr noundef %76)
%78 = icmp ne i32 %77, 0
%79 = xor i1 %78, true
br i1 %79, label %68, label %._crit_edge3, !llvm.loop !6
80: ; preds = %68
%81 = load ptr, ptr %7, align 8
%82 = load ptr, ptr %9, align 8
%83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.7, ptr noundef %82)
%84 = load ptr, ptr %9, align 8
store ptr %84, ptr %10, align 8
%85 = load ptr, ptr %10, align 8
%86 = load i8, ptr %85, align 1
%87 = icmp ne i8 %86, 0
br i1 %87, label %.lr.ph, label %107
.lr.ph: ; preds = %80
br label %88
88: ; preds = %.lr.ph, %101
%89 = load ptr, ptr %10, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 46
br i1 %92, label %98, label %93
93: ; preds = %88
%94 = load ptr, ptr %10, align 8
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 45
br i1 %97, label %98, label %100
98: ; preds = %93, %88
%99 = load ptr, ptr %10, align 8
store i8 95, ptr %99, align 1
br label %100
100: ; preds = %98, %93
br label %101
101: ; preds = %100
%102 = load ptr, ptr %10, align 8
%103 = getelementptr inbounds i8, ptr %102, i32 1
store ptr %103, ptr %10, align 8
%104 = load ptr, ptr %10, align 8
%105 = load i8, ptr %104, align 1
%106 = icmp ne i8 %105, 0
br i1 %106, label %88, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %101
br label %107
107: ; preds = %._crit_edge, %80
%108 = load ptr, ptr %8, align 8
%109 = load ptr, ptr %9, align 8
%110 = load ptr, ptr %9, align 8
%111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.8, ptr noundef %109, ptr noundef %110)
%112 = load ptr, ptr %8, align 8
%113 = load ptr, ptr %9, align 8
%114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.9, ptr noundef %113)
br label %.backedge
._crit_edge3: ; preds = %.backedge
br label %115
115: ; preds = %._crit_edge3, %59
%116 = load ptr, ptr %8, align 8
%117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.10)
%118 = load ptr, ptr %8, align 8
%119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.11)
%120 = load ptr, ptr %8, align 8
%121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.12)
%122 = load ptr, ptr %8, align 8
%123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.13)
%124 = load ptr, ptr %8, align 8
%125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.14)
%126 = load ptr, ptr %7, align 8
%127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str.15)
%128 = load ptr, ptr %7, align 8
%129 = call i32 @fclose(ptr noundef %128)
%130 = load ptr, ptr %8, align 8
%131 = call i32 @fclose(ptr noundef %130)
%132 = load ptr, ptr %6, align 8
%133 = call i32 @fclose(ptr noundef %132)
%134 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %134, ptr %3, align 4
br label %135
135: ; preds = %115, %52, %38, %24, %13
%136 = load i32, ptr %3, align 4
ret i32 %136
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare ptr @get_line(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpk42_hr8j.c'
source_filename = "/tmp/tmpk42_hr8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [99 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
br label %13
13: ; preds = %37, %2
%14 = load i32, ptr %10, align 4
%15 = icmp slt i32 %14, 99
br i1 %15, label %16, label %40
16: ; preds = %13
%17 = load i32, ptr %10, align 4
%18 = srem i32 %17, 3
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load i32, ptr %10, align 4
%22 = sdiv i32 %21, 3
%23 = add nsw i32 %22, 1
%24 = mul nsw i32 %23, 2
%25 = load i32, ptr %10, align 4
%26 = sub nsw i32 99, %25
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 %28
store i32 %24, ptr %29, align 4
br label %36
30: ; preds = %16
%31 = load i32, ptr %10, align 4
%32 = sub nsw i32 99, %31
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 %34
store i32 1, ptr %35, align 4
br label %36
36: ; preds = %30, %20
br label %37
37: ; preds = %36
%38 = load i32, ptr %10, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %10, align 4
br label %13, !llvm.loop !6
40: ; preds = %13
%41 = load i32, ptr %9, align 4
%42 = call i32 @mpz_init(i32 noundef %41)
%43 = load i32, ptr %7, align 4
%44 = call i32 @mpz_init_set_ui(i32 noundef %43, i32 noundef 1)
%45 = load i32, ptr %8, align 4
%46 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 0
%47 = load i32, ptr %46, align 16
%48 = call i32 @mpz_init_set_ui(i32 noundef %45, i32 noundef %47)
store i32 1, ptr %10, align 4
br label %49
49: ; preds = %70, %40
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 99
br i1 %51, label %52, label %73
52: ; preds = %49
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %8, align 4
%55 = call i32 @mpz_set(i32 noundef %53, i32 noundef %54)
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = call i32 @mpz_mul_ui(i32 noundef %56, i32 noundef %57, i32 noundef %61)
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %7, align 4
%66 = call i32 @mpz_add(i32 noundef %63, i32 noundef %64, i32 noundef %65)
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %9, align 4
%69 = call i32 @mpz_set(i32 noundef %67, i32 noundef %68)
br label %70
70: ; preds = %52
%71 = load i32, ptr %10, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %10, align 4
br label %49, !llvm.loop !8
73: ; preds = %49
%74 = load i32, ptr %8, align 4
%75 = load i32, ptr %8, align 4
%76 = call i32 @mpz_mul_ui(i32 noundef %74, i32 noundef %75, i32 noundef 2)
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %8, align 4
%79 = load i32, ptr %7, align 4
%80 = call i32 @mpz_add(i32 noundef %77, i32 noundef %78, i32 noundef %79)
store i32 0, ptr %11, align 4
%81 = load i32, ptr %8, align 4
%82 = call ptr @mpz_get_str(ptr noundef null, i32 noundef 10, i32 noundef %81)
store ptr %82, ptr %6, align 8
store i32 0, ptr %10, align 4
br label %83
83: ; preds = %98, %73
%84 = load i32, ptr %10, align 4
%85 = load ptr, ptr %6, align 8
%86 = call i32 @strlen(ptr noundef %85)
%87 = icmp slt i32 %84, %86
br i1 %87, label %88, label %101
88: ; preds = %83
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %10, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = sub nsw i32 %94, 48
%96 = load i32, ptr %11, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %11, align 4
br label %98
98: ; preds = %88
%99 = load i32, ptr %10, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %10, align 4
br label %83, !llvm.loop !9
101: ; preds = %83
%102 = load i32, ptr %11, align 4
%103 = call i32 @printf(ptr noundef @.str, i32 noundef %102)
%104 = load ptr, ptr %6, align 8
%105 = call i32 @free(ptr noundef %104)
ret i32 0
}
declare i32 @mpz_init(i32 noundef) #1
declare i32 @mpz_init_set_ui(i32 noundef, i32 noundef) #1
declare i32 @mpz_set(i32 noundef, i32 noundef) #1
declare i32 @mpz_mul_ui(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpz_add(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @mpz_get_str(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk42_hr8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [99 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp slt i32 %13, 99
br i1 %14, label %.lr.ph, label %41
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %36
%16 = load i32, ptr %10, align 4
%17 = srem i32 %16, 3
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load i32, ptr %10, align 4
%21 = sdiv i32 %20, 3
%22 = add nsw i32 %21, 1
%23 = mul nsw i32 %22, 2
%24 = load i32, ptr %10, align 4
%25 = sub nsw i32 99, %24
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 %27
store i32 %23, ptr %28, align 4
br label %35
29: ; preds = %15
%30 = load i32, ptr %10, align 4
%31 = sub nsw i32 99, %30
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 %33
store i32 1, ptr %34, align 4
br label %35
35: ; preds = %29, %19
br label %36
36: ; preds = %35
%37 = load i32, ptr %10, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %10, align 4
%39 = load i32, ptr %10, align 4
%40 = icmp slt i32 %39, 99
br i1 %40, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %2
%42 = load i32, ptr %9, align 4
%43 = call i32 @mpz_init(i32 noundef %42)
%44 = load i32, ptr %7, align 4
%45 = call i32 @mpz_init_set_ui(i32 noundef %44, i32 noundef 1)
%46 = load i32, ptr %8, align 4
%47 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 0
%48 = load i32, ptr %47, align 16
%49 = call i32 @mpz_init_set_ui(i32 noundef %46, i32 noundef %48)
store i32 1, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 99
br i1 %51, label %.lr.ph2, label %75
.lr.ph2: ; preds = %41
br label %52
52: ; preds = %.lr.ph2, %70
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %8, align 4
%55 = call i32 @mpz_set(i32 noundef %53, i32 noundef %54)
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [99 x i32], ptr %12, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = call i32 @mpz_mul_ui(i32 noundef %56, i32 noundef %57, i32 noundef %61)
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %7, align 4
%66 = call i32 @mpz_add(i32 noundef %63, i32 noundef %64, i32 noundef %65)
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %9, align 4
%69 = call i32 @mpz_set(i32 noundef %67, i32 noundef %68)
br label %70
70: ; preds = %52
%71 = load i32, ptr %10, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %10, align 4
%73 = load i32, ptr %10, align 4
%74 = icmp slt i32 %73, 99
br i1 %74, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %70
br label %75
75: ; preds = %._crit_edge3, %41
%76 = load i32, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = call i32 @mpz_mul_ui(i32 noundef %76, i32 noundef %77, i32 noundef 2)
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %8, align 4
%81 = load i32, ptr %7, align 4
%82 = call i32 @mpz_add(i32 noundef %79, i32 noundef %80, i32 noundef %81)
store i32 0, ptr %11, align 4
%83 = load i32, ptr %8, align 4
%84 = call ptr @mpz_get_str(ptr noundef null, i32 noundef 10, i32 noundef %83)
store ptr %84, ptr %6, align 8
store i32 0, ptr %10, align 4
%85 = load i32, ptr %10, align 4
%86 = load ptr, ptr %6, align 8
%87 = call i32 @strlen(ptr noundef %86)
%88 = icmp slt i32 %85, %87
br i1 %88, label %.lr.ph5, label %106
.lr.ph5: ; preds = %75
br label %89
89: ; preds = %.lr.ph5, %99
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %10, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = sub nsw i32 %95, 48
%97 = load i32, ptr %11, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %11, align 4
br label %99
99: ; preds = %89
%100 = load i32, ptr %10, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %10, align 4
%102 = load i32, ptr %10, align 4
%103 = load ptr, ptr %6, align 8
%104 = call i32 @strlen(ptr noundef %103)
%105 = icmp slt i32 %102, %104
br i1 %105, label %89, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %99
br label %106
106: ; preds = %._crit_edge6, %75
%107 = load i32, ptr %11, align 4
%108 = call i32 @printf(ptr noundef @.str, i32 noundef %107)
%109 = load ptr, ptr %6, align 8
%110 = call i32 @free(ptr noundef %109)
ret i32 0
}
declare i32 @mpz_init(i32 noundef) #1
declare i32 @mpz_init_set_ui(i32 noundef, i32 noundef) #1
declare i32 @mpz_set(i32 noundef, i32 noundef) #1
declare i32 @mpz_mul_ui(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpz_add(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @mpz_get_str(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp20ml6u_x.c'
source_filename = "/tmp/tmp20ml6u_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_plotter() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %8, %0
%3 = load i32, ptr %1, align 4
%4 = icmp ult i32 %3, 16
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = call i32 @delete_function(i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = add i32 %9, 1
store i32 %10, ptr %1, align 4
br label %2, !llvm.loop !6
11: ; preds = %2
ret void
}
declare i32 @delete_function(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/tmp20ml6u_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_plotter() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp ult i32 %2, 16
br i1 %3, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %7
%5 = load i32, ptr %1, align 4
%6 = call i32 @delete_function(i32 noundef %5)
br label %7
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = add i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp ult i32 %10, 16
br i1 %11, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
ret void
}
declare i32 @delete_function(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/tmpsybjct5a.c'
source_filename = "/tmp/tmpsybjct5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 {
%1 = call i64 @syscall(i32 noundef 120, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%2 = trunc i64 %1 to i32
ret i32 %2
}
declare i64 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsybjct5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 {
%1 = call i64 @syscall(i32 noundef 120, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%2 = trunc i64 %1 to i32
ret i32 %2
}
declare i64 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp466b6xuq.c'
source_filename = "/tmp/tmp466b6xuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@False = dso_local global i64 0, align 8
@True = 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/tmp466b6xuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@False = dso_local global i64 0, align 8
@True = 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/tmpm8f3ttn7.c'
source_filename = "/tmp/tmpm8f3ttn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ParseNumber(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 1
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 93)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
store i8 0, ptr %9, align 1
%10 = load ptr, ptr %2, align 8
store i8 0, ptr %10, align 1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @atoi(ptr noundef %11)
ret i32 %12
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm8f3ttn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ParseNumber(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 1
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 93)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
store i8 0, ptr %9, align 1
%10 = load ptr, ptr %2, align 8
store i8 0, ptr %10, align 1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @atoi(ptr noundef %11)
ret i32 %12
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp558qlsd2.c'
source_filename = "/tmp/tmp558qlsd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadDoubleBe(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @ReadUint64Be(ptr noundef %7, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @memcpy(ptr noundef %9, ptr noundef %5, i32 noundef 8)
%11 = load i32, ptr %6, align 4
ret i32 %11
}
declare i32 @ReadUint64Be(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp558qlsd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadDoubleBe(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @ReadUint64Be(ptr noundef %7, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @memcpy(ptr noundef %9, ptr noundef %5, i32 noundef 8)
%11 = load i32, ptr %6, align 4
ret i32 %11
}
declare i32 @ReadUint64Be(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa5yztjld.c'
source_filename = "/tmp/tmpa5yztjld.c"
target datalayout = "e-m:e-p270: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/tmpa5yztjld.c"
target datalayout = "e-m:e-p270: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/tmpjrxd4ak7.c'
source_filename = "/tmp/tmpjrxd4ak7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encrypt(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
br label %5
5: ; preds = %43, %2
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %46
10: ; preds = %5
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @isupper(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = sub nsw i32 %19, 65
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %16, i64 %21
%23 = load i8, ptr %22, align 1
%24 = load ptr, ptr %3, align 8
store i8 %23, ptr %24, align 1
br label %42
25: ; preds = %10
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = call i64 @islower(i8 noundef signext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 %34, 97
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %31, i64 %36
%38 = load i8, ptr %37, align 1
%39 = call signext i8 @tolower(i8 noundef signext %38)
%40 = load ptr, ptr %3, align 8
store i8 %39, ptr %40, align 1
br label %41
41: ; preds = %30, %25
br label %42
42: ; preds = %41, %15
br label %43
43: ; preds = %42
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %3, align 8
br label %5, !llvm.loop !6
46: ; preds = %5
ret void
}
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(i8 noundef signext) #1
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjrxd4ak7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encrypt(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 i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %49
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %42
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @isupper(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %24
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = sub nsw i32 %18, 65
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %15, i64 %20
%22 = load i8, ptr %21, align 1
%23 = load ptr, ptr %3, align 8
store i8 %22, ptr %23, align 1
br label %41
24: ; preds = %9
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = call i64 @islower(i8 noundef signext %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %40
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 97
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %30, i64 %35
%37 = load i8, ptr %36, align 1
%38 = call signext i8 @tolower(i8 noundef signext %37)
%39 = load ptr, ptr %3, align 8
store i8 %38, ptr %39, align 1
br label %40
40: ; preds = %29, %24
br label %41
41: ; preds = %40, %14
br label %42
42: ; preds = %41
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %3, align 8
%45 = load ptr, ptr %3, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %49
49: ; preds = %._crit_edge, %2
ret void
}
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(i8 noundef signext) #1
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.