llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp4y25bjxl.c'
source_filename = "/tmp/tmp4y25bjxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tags_dup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
%6 = zext i1 %5 to i32
%7 = call i32 @assert(i32 noundef %6)
%8 = call ptr (...) @tags_new()
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @tags_copy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i32 @assert(i32 noundef) #1
declare ptr @tags_new(...) #1
declare i32 @tags_copy(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/tmp4y25bjxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tags_dup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
%6 = zext i1 %5 to i32
%7 = call i32 @assert(i32 noundef %6)
%8 = call ptr (...) @tags_new()
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @tags_copy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare i32 @assert(i32 noundef) #1
declare ptr @tags_new(...) #1
declare i32 @tags_copy(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/tmp9avg6jl_.c'
source_filename = "/tmp/tmp9avg6jl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"clear_vlsi_fifo\0A\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear_vlsi_fifo() #0 {
%1 = call i32 @putst_uart(ptr noundef @.str)
%2 = call i32 (...) @sw_reset_vlsi()
ret void
}
declare i32 @putst_uart(ptr noundef) #1
declare i32 @sw_reset_vlsi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9avg6jl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"clear_vlsi_fifo\0A\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear_vlsi_fifo() #0 {
%1 = call i32 @putst_uart(ptr noundef @.str)
%2 = call i32 (...) @sw_reset_vlsi()
ret void
}
declare i32 @putst_uart(ptr noundef) #1
declare i32 @sw_reset_vlsi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfmwb_c1b.c'
source_filename = "/tmp/tmpfmwb_c1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @DMA14_IRQHandler() #0 {
%1 = call i32 (...) @DMA14_DriverIRQHandler()
ret void
}
declare i32 @DMA14_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfmwb_c1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @DMA14_IRQHandler() #0 {
%1 = call i32 (...) @DMA14_DriverIRQHandler()
ret void
}
declare i32 @DMA14_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpum65f__i.c'
source_filename = "/tmp/tmpum65f__i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_CUR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"[DEBUG] found a %d byte note for user id %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_user_note(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 i8, align 1
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 -1, ptr %6, align 4
br label %9
9: ; preds = %36, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %13, label %37
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = call i32 (i32, ...) @read(i32 noundef %14, ptr noundef %6, i32 noundef 4)
%16 = icmp ne i32 %15, 4
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 -1, ptr %3, align 4
br label %47
18: ; preds = %13
%19 = load i32, ptr %4, align 4
%20 = call i32 (i32, ...) @read(i32 noundef %19, ptr noundef %7, i32 noundef 1)
%21 = icmp ne i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 -1, ptr %3, align 4
br label %47
23: ; preds = %18
store i32 0, ptr %8, align 4
store i8 0, ptr %7, align 1
br label %24
24: ; preds = %33, %23
%25 = load i8, ptr %7, align 1
%26 = zext i8 %25 to i32
%27 = icmp ne i32 %26, 10
br i1 %27, label %28, label %36
28: ; preds = %24
%29 = load i32, ptr %4, align 4
%30 = call i32 (i32, ...) @read(i32 noundef %29, ptr noundef %7, i32 noundef 1)
%31 = icmp ne i32 %30, 1
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 -1, ptr %3, align 4
br label %47
33: ; preds = %28
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %24, !llvm.loop !6
36: ; preds = %24
br label %9, !llvm.loop !8
37: ; preds = %9
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %8, align 4
%40 = mul nsw i32 %39, -1
%41 = load i32, ptr @SEEK_CUR, align 4
%42 = call i32 @lseek(i32 noundef %38, i32 noundef %40, i32 noundef %41)
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %6, align 4
%45 = call i32 @printf(ptr noundef @.str, i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr %8, align 4
store i32 %46, ptr %3, align 4
br label %47
47: ; preds = %37, %32, %22, %17
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @read(i32 noundef, ...) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpum65f__i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_CUR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"[DEBUG] found a %d byte note for user id %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_user_note(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 i8, align 1
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 -1, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %.lr.ph2, label %41
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %37
%13 = load i32, ptr %4, align 4
%14 = call i32 (i32, ...) @read(i32 noundef %13, ptr noundef %6, i32 noundef 4)
%15 = icmp ne i32 %14, 4
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 -1, ptr %3, align 4
br label %51
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = call i32 (i32, ...) @read(i32 noundef %18, ptr noundef %7, i32 noundef 1)
%20 = icmp ne i32 %19, 1
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 -1, ptr %3, align 4
br label %51
22: ; preds = %17
store i32 0, ptr %8, align 4
store i8 0, ptr %7, align 1
%23 = load i8, ptr %7, align 1
%24 = zext i8 %23 to i32
%25 = icmp ne i32 %24, 10
br i1 %25, label %.lr.ph, label %37
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %31
%27 = load i32, ptr %4, align 4
%28 = call i32 (i32, ...) @read(i32 noundef %27, ptr noundef %7, i32 noundef 1)
%29 = icmp ne i32 %28, 1
br i1 %29, label %30, label %31
30: ; preds = %26
store i32 -1, ptr %3, align 4
br label %51
31: ; preds = %26
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load i8, ptr %7, align 1
%35 = zext i8 %34 to i32
%36 = icmp ne i32 %35, 10
br i1 %36, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %22
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp ne i32 %38, %39
br i1 %40, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %41
41: ; preds = %._crit_edge3, %2
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %8, align 4
%44 = mul nsw i32 %43, -1
%45 = load i32, ptr @SEEK_CUR, align 4
%46 = call i32 @lseek(i32 noundef %42, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr %6, align 4
%49 = call i32 @printf(ptr noundef @.str, i32 noundef %47, i32 noundef %48)
%50 = load i32, ptr %8, align 4
store i32 %50, ptr %3, align 4
br label %51
51: ; preds = %41, %30, %21, %16
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @read(i32 noundef, ...) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqgx98855.c'
source_filename = "/tmp/tmpqgx98855.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libc_rand_init() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i32, ptr %3, align 4
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load i32, ptr %5, align 4
%7 = xor i32 %4, %6
%8 = call i32 @srand(i32 noundef %7)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @srand(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/tmpqgx98855.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libc_rand_init() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i32, ptr %3, align 4
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load i32, ptr %5, align 4
%7 = xor i32 %4, %6
%8 = call i32 @srand(i32 noundef %7)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @srand(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/tmptmndy9zu.c'
source_filename = "/tmp/tmptmndy9zu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"_ule\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_unsigned_less_or_equal() #0 {
%1 = call i32 (...) @gen_pop()
%2 = call i32 @gen_call(ptr noundef @.str)
ret void
}
declare i32 @gen_pop(...) #1
declare i32 @gen_call(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptmndy9zu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"_ule\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_unsigned_less_or_equal() #0 {
%1 = call i32 (...) @gen_pop()
%2 = call i32 @gen_call(ptr noundef @.str)
ret void
}
declare i32 @gen_pop(...) #1
declare i32 @gen_call(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpexweczzq.c'
source_filename = "/tmp/tmpexweczzq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_syslog = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"dmesg\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @SYS_syslog, align 4
%9 = call i64 @syscall(i32 noundef %8, i32 noundef 10, ptr noundef null, i32 noundef -1)
%10 = trunc i64 %9 to i32
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load i32, ptr @SYS_syslog, align 4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %6, align 4
%21 = call i64 @syscall(i32 noundef %18, i32 noundef 2, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %7, align 8
%23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22)
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %17, %15
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i64 @syscall(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpexweczzq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_syslog = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"dmesg\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @SYS_syslog, align 4
%9 = call i64 @syscall(i32 noundef %8, i32 noundef 10, ptr noundef null, i32 noundef -1)
%10 = trunc i64 %9 to i32
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load i32, ptr @SYS_syslog, align 4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %6, align 4
%21 = call i64 @syscall(i32 noundef %18, i32 noundef 2, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %7, align 8
%23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22)
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %17, %15
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i64 @syscall(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv_3xgb6u.c'
source_filename = "/tmp/tmpv_3xgb6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @_Z11swnextafterdd(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 double @nextafter(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @nextafter(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv_3xgb6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @_Z11swnextafterdd(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 double @nextafter(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @nextafter(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3rbz__j6.c'
source_filename = "/tmp/tmp3rbz__j6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = dso_local global i32 0, align 4
@REG_NOSUB = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_regex(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 %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %10, %2
store i32 -1, ptr %3, align 4
br label %28
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr @REG_EXTENDED, align 4
%18 = load i32, ptr @REG_NOSUB, align 4
%19 = or i32 %17, %18
%20 = call i32 @regcomp(ptr noundef %6, ptr noundef %16, i32 noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = call i32 @regexec(ptr noundef %6, ptr noundef %21, i32 noundef 0, ptr noundef null, i32 noundef 0)
store i32 %22, ptr %7, align 4
%23 = call i32 @regfree(ptr noundef %6)
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, i32 0, i32 -1
store i32 %27, ptr %3, align 4
br label %28
28: ; preds = %15, %14
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @strlen(ptr noundef) #1
declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @regfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3rbz__j6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = dso_local global i32 0, align 4
@REG_NOSUB = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_regex(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 %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %10, %2
store i32 -1, ptr %3, align 4
br label %28
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr @REG_EXTENDED, align 4
%18 = load i32, ptr @REG_NOSUB, align 4
%19 = or i32 %17, %18
%20 = call i32 @regcomp(ptr noundef %6, ptr noundef %16, i32 noundef %19)
%21 = load ptr, ptr %5, align 8
%22 = call i32 @regexec(ptr noundef %6, ptr noundef %21, i32 noundef 0, ptr noundef null, i32 noundef 0)
store i32 %22, ptr %7, align 4
%23 = call i32 @regfree(ptr noundef %6)
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, i32 0, i32 -1
store i32 %27, ptr %3, align 4
br label %28
28: ; preds = %15, %14
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @strlen(ptr noundef) #1
declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @regfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzonu2rbr.c'
source_filename = "/tmp/tmpzonu2rbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @MD5_Init(ptr noundef %3)
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @MD5_Update(ptr noundef %3, ptr noundef %6, i32 noundef %8)
%10 = call ptr @calloc(i32 noundef 16, i32 noundef 1)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @MD5_Final(ptr noundef %11, ptr noundef %3)
%13 = load ptr, ptr %4, align 8
ret ptr %13
}
declare i32 @MD5_Init(ptr noundef) #1
declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @MD5_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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzonu2rbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @MD5_Init(ptr noundef %3)
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @MD5_Update(ptr noundef %3, ptr noundef %6, i32 noundef %8)
%10 = call ptr @calloc(i32 noundef 16, i32 noundef 1)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @MD5_Final(ptr noundef %11, ptr noundef %3)
%13 = load ptr, ptr %4, align 8
ret ptr %13
}
declare i32 @MD5_Init(ptr noundef) #1
declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @MD5_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"}
|
; ModuleID = '/tmp/tmpcsshv6se.c'
source_filename = "/tmp/tmpcsshv6se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [22 x i8] c"sample variance: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dsvariance(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
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 double @stdlib_strided_dsvariance(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, 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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcsshv6se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [22 x i8] c"sample variance: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dsvariance(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
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 double @stdlib_strided_dsvariance(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, 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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt2huf81g.c'
source_filename = "/tmp/tmpt2huf81g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump___user_cap_header_struct(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = load i32, ptr %7, align 4
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = add i32 %15, 4
store i32 %16, ptr %12, align 4
store i32 0, ptr %13, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %4
%20 = call ptr @malloc(i32 noundef 0)
%21 = load ptr, ptr %8, align 8
store ptr %20, ptr %21, align 8
%22 = load i32, ptr %13, align 4
store i32 %22, ptr %5, align 4
br label %53
23: ; preds = %4
%24 = call ptr @malloc(i32 noundef 16)
store ptr %24, ptr %10, align 8
%25 = load i32, ptr %6, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %46
27: ; preds = %23
%28 = load i32, ptr %11, align 4
%29 = load ptr, ptr %10, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %9, align 8
%32 = call i64 @dump_unsigned_int_from_mem(i32 noundef %28, ptr noundef %30, ptr noundef %31)
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = add nsw i64 %34, %32
%36 = trunc i64 %35 to i32
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %12, align 4
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = load ptr, ptr %9, align 8
%41 = call i64 @dump_int_from_mem(i32 noundef %37, ptr noundef %39, ptr noundef %40)
%42 = load i32, ptr %13, align 4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %43, %41
%45 = trunc i64 %44 to i32
store i32 %45, ptr %13, align 4
br label %46
46: ; preds = %27, %23
%47 = load ptr, ptr %10, align 8
%48 = call ptr @copy_params(ptr noundef %47, i32 noundef 2, ptr noundef %13)
%49 = load ptr, ptr %8, align 8
store ptr %48, ptr %49, align 8
%50 = load ptr, ptr %10, align 8
%51 = call i32 @free_dumped_params(ptr noundef %50, i32 noundef 2)
%52 = load i32, ptr %13, align 4
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %46, %19
%54 = load i32, ptr %5, align 4
ret i32 %54
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmpt2huf81g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump___user_cap_header_struct(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = load i32, ptr %7, align 4
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = add i32 %15, 4
store i32 %16, ptr %12, align 4
store i32 0, ptr %13, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %4
%20 = call ptr @malloc(i32 noundef 0)
%21 = load ptr, ptr %8, align 8
store ptr %20, ptr %21, align 8
%22 = load i32, ptr %13, align 4
store i32 %22, ptr %5, align 4
br label %53
23: ; preds = %4
%24 = call ptr @malloc(i32 noundef 16)
store ptr %24, ptr %10, align 8
%25 = load i32, ptr %6, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %46
27: ; preds = %23
%28 = load i32, ptr %11, align 4
%29 = load ptr, ptr %10, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %9, align 8
%32 = call i64 @dump_unsigned_int_from_mem(i32 noundef %28, ptr noundef %30, ptr noundef %31)
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = add nsw i64 %34, %32
%36 = trunc i64 %35 to i32
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %12, align 4
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = load ptr, ptr %9, align 8
%41 = call i64 @dump_int_from_mem(i32 noundef %37, ptr noundef %39, ptr noundef %40)
%42 = load i32, ptr %13, align 4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %43, %41
%45 = trunc i64 %44 to i32
store i32 %45, ptr %13, align 4
br label %46
46: ; preds = %27, %23
%47 = load ptr, ptr %10, align 8
%48 = call ptr @copy_params(ptr noundef %47, i32 noundef 2, ptr noundef %13)
%49 = load ptr, ptr %8, align 8
store ptr %48, ptr %49, align 8
%50 = load ptr, ptr %10, align 8
%51 = call i32 @free_dumped_params(ptr noundef %50, i32 noundef 2)
%52 = load i32, ptr %13, align 4
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %46, %19
%54 = load i32, ptr %5, align 4
ret i32 %54
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmplr3ubldv.c'
source_filename = "/tmp/tmplr3ubldv.c"
target datalayout = "e-m:e-p270: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/tmplr3ubldv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_xbv4tgr.c'
source_filename = "/tmp/tmp_xbv4tgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @f12_icorr(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %9, align 8
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
%14 = load i32, ptr %4, align 4
%15 = call ptr @allocate_vector(i32 noundef 0, i32 noundef %14)
store ptr %15, ptr %7, align 8
%16 = load i32, ptr %4, align 4
%17 = call ptr @allocate_vector(i32 noundef 0, i32 noundef %16)
store ptr %17, ptr %8, align 8
store i32 0, ptr %5, align 4
br label %18
18: ; preds = %62, %2
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %65
22: ; preds = %18
store i32 0, ptr %6, align 4
br label %23
23: ; preds = %58, %22
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %61
27: ; preds = %23
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = fadd double %41, %36
store double %42, ptr %40, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %52, i64 %54
%56 = load double, ptr %55, align 8
%57 = fadd double %56, %51
store double %57, ptr %55, align 8
br label %58
58: ; preds = %27
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
br label %23, !llvm.loop !6
61: ; preds = %23
br label %62
62: ; preds = %61
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %5, align 4
br label %18, !llvm.loop !8
65: ; preds = %18
store i32 0, ptr %5, align 4
br label %66
66: ; preds = %159, %65
%67 = load i32, ptr %5, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %162
70: ; preds = %66
store i32 0, ptr %6, align 4
br label %71
71: ; preds = %155, %70
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %158
75: ; preds = %71
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %6, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %80, i64 %82
%84 = load double, ptr %83, align 8
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %5, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
%89 = load double, ptr %88, align 8
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %6, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %90, i64 %92
%94 = load double, ptr %93, align 8
%95 = call double @llvm.fmuladd.f64(double %89, double %94, double 1.000000e-09)
%96 = call double @log10(double noundef %95) #4
%97 = fmul double %84, %96
%98 = call double @log10(double noundef 2.000000e+00) #4
%99 = fdiv double %97, %98
%100 = load double, ptr %12, align 8
%101 = fsub double %100, %99
store double %101, ptr %12, align 8
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %5, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %102, i64 %104
%106 = load double, ptr %105, align 8
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %6, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %107, i64 %109
%111 = load double, ptr %110, align 8
%112 = fmul double %106, %111
%113 = load ptr, ptr %7, align 8
%114 = load i32, ptr %5, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
%117 = load double, ptr %116, align 8
%118 = load ptr, ptr %8, align 8
%119 = load i32, ptr %6, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %118, i64 %120
%122 = load double, ptr %121, align 8
%123 = call double @llvm.fmuladd.f64(double %117, double %122, double 1.000000e-09)
%124 = call double @log10(double noundef %123) #4
%125 = fmul double %112, %124
%126 = call double @log10(double noundef 2.000000e+00) #4
%127 = fdiv double %125, %126
%128 = load double, ptr %13, align 8
%129 = fsub double %128, %127
store double %129, ptr %13, align 8
%130 = load ptr, ptr %3, align 8
%131 = load i32, ptr %5, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds ptr, ptr %130, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = load i32, ptr %6, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %134, i64 %136
%138 = load double, ptr %137, align 8
%139 = load ptr, ptr %3, align 8
%140 = load i32, ptr %5, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %139, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = load i32, ptr %6, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds double, ptr %143, i64 %145
%147 = load double, ptr %146, align 8
%148 = fadd double %147, 1.000000e-09
%149 = call double @log10(double noundef %148) #4
%150 = fmul double %138, %149
%151 = call double @log10(double noundef 2.000000e+00) #4
%152 = fdiv double %150, %151
%153 = load double, ptr %11, align 8
%154 = fsub double %153, %152
store double %154, ptr %11, align 8
br label %155
155: ; preds = %75
%156 = load i32, ptr %6, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %6, align 4
br label %71, !llvm.loop !9
158: ; preds = %71
br label %159
159: ; preds = %158
%160 = load i32, ptr %5, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %5, align 4
br label %66, !llvm.loop !10
162: ; preds = %66
store i32 0, ptr %5, align 4
br label %163
163: ; preds = %202, %162
%164 = load i32, ptr %5, align 4
%165 = load i32, ptr %4, align 4
%166 = icmp slt i32 %164, %165
br i1 %166, label %167, label %205
167: ; preds = %163
%168 = load ptr, ptr %7, align 8
%169 = load i32, ptr %5, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, ptr %168, i64 %170
%172 = load double, ptr %171, align 8
%173 = load ptr, ptr %7, align 8
%174 = load i32, ptr %5, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %173, i64 %175
%177 = load double, ptr %176, align 8
%178 = fadd double %177, 1.000000e-09
%179 = call double @log10(double noundef %178) #4
%180 = fmul double %172, %179
%181 = call double @log10(double noundef 2.000000e+00) #4
%182 = fdiv double %180, %181
%183 = load double, ptr %9, align 8
%184 = fsub double %183, %182
store double %184, ptr %9, align 8
%185 = load ptr, ptr %8, align 8
%186 = load i32, ptr %5, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %185, i64 %187
%189 = load double, ptr %188, align 8
%190 = load ptr, ptr %8, align 8
%191 = load i32, ptr %5, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %190, i64 %192
%194 = load double, ptr %193, align 8
%195 = fadd double %194, 1.000000e-09
%196 = call double @log10(double noundef %195) #4
%197 = fmul double %189, %196
%198 = call double @log10(double noundef 2.000000e+00) #4
%199 = fdiv double %197, %198
%200 = load double, ptr %10, align 8
%201 = fsub double %200, %199
store double %201, ptr %10, align 8
br label %202
202: ; preds = %167
%203 = load i32, ptr %5, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %5, align 4
br label %163, !llvm.loop !11
205: ; preds = %163
%206 = load ptr, ptr %7, align 8
%207 = call i32 @free(ptr noundef %206)
%208 = load ptr, ptr %8, align 8
%209 = call i32 @free(ptr noundef %208)
%210 = load double, ptr %11, align 8
%211 = load double, ptr %12, align 8
%212 = fsub double %210, %211
%213 = load double, ptr %9, align 8
%214 = load double, ptr %10, align 8
%215 = fcmp ogt double %213, %214
br i1 %215, label %216, label %218
216: ; preds = %205
%217 = load double, ptr %9, align 8
br label %220
218: ; preds = %205
%219 = load double, ptr %10, align 8
br label %220
220: ; preds = %218, %216
%221 = phi double [ %217, %216 ], [ %219, %218 ]
%222 = fdiv double %212, %221
ret double %222
}
declare ptr @allocate_vector(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @log10(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xbv4tgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @f12_icorr(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %9, align 8
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %13, align 8
%14 = load i32, ptr %4, align 4
%15 = call ptr @allocate_vector(i32 noundef 0, i32 noundef %14)
store ptr %15, ptr %7, align 8
%16 = load i32, ptr %4, align 4
%17 = call ptr @allocate_vector(i32 noundef 0, i32 noundef %16)
store ptr %17, ptr %8, align 8
store i32 0, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %69
.lr.ph2: ; preds = %2
br label %21
21: ; preds = %.lr.ph2, %63
store i32 0, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %62
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %56
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = fadd double %39, %34
store double %40, ptr %38, align 8
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
%54 = load double, ptr %53, align 8
%55 = fadd double %54, %49
store double %55, ptr %53, align 8
br label %56
56: ; preds = %25
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %4, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %21
br label %63
63: ; preds = %62
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 4
%66 = load i32, ptr %5, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %2
store i32 0, ptr %5, align 4
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %4, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph8, label %170
.lr.ph8: ; preds = %69
br label %73
73: ; preds = %.lr.ph8, %164
store i32 0, ptr %6, align 4
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %.lr.ph5, label %163
.lr.ph5: ; preds = %73
br label %77
77: ; preds = %.lr.ph5, %157
%78 = load ptr, ptr %3, align 8
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds ptr, ptr %78, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %6, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %82, i64 %84
%86 = load double, ptr %85, align 8
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr %6, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
%96 = load double, ptr %95, align 8
%97 = call double @llvm.fmuladd.f64(double %91, double %96, double 1.000000e-09)
%98 = call double @log10(double noundef %97) #4
%99 = fmul double %86, %98
%100 = call double @log10(double noundef 2.000000e+00) #4
%101 = fdiv double %99, %100
%102 = load double, ptr %12, align 8
%103 = fsub double %102, %101
store double %103, ptr %12, align 8
%104 = load ptr, ptr %7, align 8
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
%108 = load double, ptr %107, align 8
%109 = load ptr, ptr %8, align 8
%110 = load i32, ptr %6, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
%113 = load double, ptr %112, align 8
%114 = fmul double %108, %113
%115 = load ptr, ptr %7, align 8
%116 = load i32, ptr %5, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = load ptr, ptr %8, align 8
%121 = load i32, ptr %6, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
%124 = load double, ptr %123, align 8
%125 = call double @llvm.fmuladd.f64(double %119, double %124, double 1.000000e-09)
%126 = call double @log10(double noundef %125) #4
%127 = fmul double %114, %126
%128 = call double @log10(double noundef 2.000000e+00) #4
%129 = fdiv double %127, %128
%130 = load double, ptr %13, align 8
%131 = fsub double %130, %129
store double %131, ptr %13, align 8
%132 = load ptr, ptr %3, align 8
%133 = load i32, ptr %5, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds ptr, ptr %132, i64 %134
%136 = load ptr, ptr %135, align 8
%137 = load i32, ptr %6, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
%140 = load double, ptr %139, align 8
%141 = load ptr, ptr %3, align 8
%142 = load i32, ptr %5, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds ptr, ptr %141, i64 %143
%145 = load ptr, ptr %144, align 8
%146 = load i32, ptr %6, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %145, i64 %147
%149 = load double, ptr %148, align 8
%150 = fadd double %149, 1.000000e-09
%151 = call double @log10(double noundef %150) #4
%152 = fmul double %140, %151
%153 = call double @log10(double noundef 2.000000e+00) #4
%154 = fdiv double %152, %153
%155 = load double, ptr %11, align 8
%156 = fsub double %155, %154
store double %156, ptr %11, align 8
br label %157
157: ; preds = %77
%158 = load i32, ptr %6, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %6, align 4
%160 = load i32, ptr %6, align 4
%161 = load i32, ptr %4, align 4
%162 = icmp slt i32 %160, %161
br i1 %162, label %77, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %157
br label %163
163: ; preds = %._crit_edge6, %73
br label %164
164: ; preds = %163
%165 = load i32, ptr %5, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %5, align 4
%167 = load i32, ptr %5, align 4
%168 = load i32, ptr %4, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %73, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %164
br label %170
170: ; preds = %._crit_edge9, %69
store i32 0, ptr %5, align 4
%171 = load i32, ptr %5, align 4
%172 = load i32, ptr %4, align 4
%173 = icmp slt i32 %171, %172
br i1 %173, label %.lr.ph11, label %215
.lr.ph11: ; preds = %170
br label %174
174: ; preds = %.lr.ph11, %209
%175 = load ptr, ptr %7, align 8
%176 = load i32, ptr %5, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds double, ptr %175, i64 %177
%179 = load double, ptr %178, align 8
%180 = load ptr, ptr %7, align 8
%181 = load i32, ptr %5, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, ptr %180, i64 %182
%184 = load double, ptr %183, align 8
%185 = fadd double %184, 1.000000e-09
%186 = call double @log10(double noundef %185) #4
%187 = fmul double %179, %186
%188 = call double @log10(double noundef 2.000000e+00) #4
%189 = fdiv double %187, %188
%190 = load double, ptr %9, align 8
%191 = fsub double %190, %189
store double %191, ptr %9, align 8
%192 = load ptr, ptr %8, align 8
%193 = load i32, ptr %5, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds double, ptr %192, i64 %194
%196 = load double, ptr %195, align 8
%197 = load ptr, ptr %8, align 8
%198 = load i32, ptr %5, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds double, ptr %197, i64 %199
%201 = load double, ptr %200, align 8
%202 = fadd double %201, 1.000000e-09
%203 = call double @log10(double noundef %202) #4
%204 = fmul double %196, %203
%205 = call double @log10(double noundef 2.000000e+00) #4
%206 = fdiv double %204, %205
%207 = load double, ptr %10, align 8
%208 = fsub double %207, %206
store double %208, ptr %10, align 8
br label %209
209: ; preds = %174
%210 = load i32, ptr %5, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %5, align 4
%212 = load i32, ptr %5, align 4
%213 = load i32, ptr %4, align 4
%214 = icmp slt i32 %212, %213
br i1 %214, label %174, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %209
br label %215
215: ; preds = %._crit_edge12, %170
%216 = load ptr, ptr %7, align 8
%217 = call i32 @free(ptr noundef %216)
%218 = load ptr, ptr %8, align 8
%219 = call i32 @free(ptr noundef %218)
%220 = load double, ptr %11, align 8
%221 = load double, ptr %12, align 8
%222 = fsub double %220, %221
%223 = load double, ptr %9, align 8
%224 = load double, ptr %10, align 8
%225 = fcmp ogt double %223, %224
br i1 %225, label %226, label %228
226: ; preds = %215
%227 = load double, ptr %9, align 8
br label %230
228: ; preds = %215
%229 = load double, ptr %10, align 8
br label %230
230: ; preds = %228, %226
%231 = phi double [ %227, %226 ], [ %229, %228 ]
%232 = fdiv double %222, %231
ret double %232
}
declare ptr @allocate_vector(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @log10(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpfu9jzsho.c'
source_filename = "/tmp/tmpfu9jzsho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter range: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Enter length: \00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Enter array: \00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Histogram\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [1000 x i32], align 16
%7 = alloca [1000 x i32], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %22, %0
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %19
%21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
store i32 0, ptr %4, align 4
br label %26
26: ; preds = %53, %25
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %56
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp sge i32 %34, 0
br i1 %35, label %36, label %52
36: ; preds = %30
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %43, label %52
43: ; preds = %36
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %49, align 4
br label %52
52: ; preds = %43, %36, %30
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
br label %26, !llvm.loop !8
56: ; preds = %26
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %4, align 4
br label %58
58: ; preds = %79, %56
%59 = load i32, ptr %4, align 4
%60 = load i32, ptr %2, align 4
%61 = icmp sle i32 %59, %60
br i1 %61, label %62, label %82
62: ; preds = %58
%63 = load i32, ptr %4, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %63)
store i32 0, ptr %5, align 4
br label %65
65: ; preds = %74, %62
%66 = load i32, ptr %5, align 4
%67 = load i32, ptr %4, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
%71 = icmp slt i32 %66, %70
br i1 %71, label %72, label %77
72: ; preds = %65
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %74
74: ; preds = %72
%75 = load i32, ptr %5, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %5, align 4
br label %65, !llvm.loop !9
77: ; preds = %65
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %79
79: ; preds = %77
%80 = load i32, ptr %4, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %4, align 4
br label %58, !llvm.loop !10
82: ; preds = %58
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfu9jzsho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter range: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Enter length: \00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Enter array: \00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Histogram\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [1000 x i32], align 16
%7 = alloca [1000 x i32], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %18
%20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %60
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %54
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp sge i32 %35, 0
br i1 %36, label %37, label %53
37: ; preds = %31
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %44, label %53
44: ; preds = %37
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %50, align 4
br label %53
53: ; preds = %44, %37, %31
br label %54
54: ; preds = %53
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %27
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %4, align 4
%62 = load i32, ptr %4, align 4
%63 = load i32, ptr %2, align 4
%64 = icmp sle i32 %62, %63
br i1 %64, label %.lr.ph8, label %93
.lr.ph8: ; preds = %60
br label %65
65: ; preds = %.lr.ph8, %87
%66 = load i32, ptr %4, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %66)
store i32 0, ptr %5, align 4
%68 = load i32, ptr %5, align 4
%69 = load i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
%73 = icmp slt i32 %68, %72
br i1 %73, label %.lr.ph5, label %85
.lr.ph5: ; preds = %65
br label %74
74: ; preds = %.lr.ph5, %76
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %76
76: ; preds = %74
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
%79 = load i32, ptr %5, align 4
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [1000 x i32], ptr %7, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp slt i32 %79, %83
br i1 %84, label %74, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %85
85: ; preds = %._crit_edge6, %65
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %87
87: ; preds = %85
%88 = load i32, ptr %4, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %4, align 4
%90 = load i32, ptr %4, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp sle i32 %90, %91
br i1 %92, label %65, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %87
br label %93
93: ; preds = %._crit_edge9, %60
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpzsyp_yq_.c'
source_filename = "/tmp/tmpzsyp_yq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__WORDSIZE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @__WORDSIZE, align 4
%9 = sdiv i32 %8, 8
%10 = mul nsw i32 %9, 4
%11 = add nsw i32 %10, 1
%12 = load i32, ptr @__WORDSIZE, align 4
%13 = sdiv i32 %12, 8
%14 = add nsw i32 %11, %13
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %2, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %3, align 8
%18 = call i64 @strlen(ptr noundef @.str)
%19 = icmp eq i64 %18, 0
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
store i64 0, ptr %4, align 8
br label %22
22: ; preds = %94, %0
%23 = load i64, ptr %4, align 8
%24 = load i32, ptr @__WORDSIZE, align 4
%25 = sdiv i32 %24, 8
%26 = mul nsw i32 %25, 4
%27 = sext i32 %26 to i64
%28 = icmp ult i64 %23, %27
br i1 %28, label %29, label %97
29: ; preds = %22
%30 = load i64, ptr %4, align 8
%31 = urem i64 %30, 10
%32 = add i64 %31, 48
%33 = trunc i64 %32 to i8
%34 = load i64, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %17, i64 %34
store i8 %33, ptr %35, align 1
%36 = load i64, ptr %4, align 8
%37 = add i64 %36, 1
%38 = getelementptr inbounds i8, ptr %17, i64 %37
store i8 0, ptr %38, align 1
store i32 0, ptr %5, align 4
br label %39
39: ; preds = %90, %29
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr @__WORDSIZE, align 4
%42 = sdiv i32 %41, 8
%43 = shl i32 1, %42
%44 = icmp ult i32 %40, %43
br i1 %44, label %45, label %93
45: ; preds = %39
store i64 0, ptr %6, align 8
br label %46
46: ; preds = %67, %45
%47 = load i64, ptr %6, align 8
%48 = load i32, ptr @__WORDSIZE, align 4
%49 = sdiv i32 %48, 8
%50 = sext i32 %49 to i64
%51 = icmp ult i64 %47, %50
br i1 %51, label %52, label %70
52: ; preds = %46
%53 = load i32, ptr %5, align 4
%54 = load i64, ptr %6, align 8
%55 = trunc i64 %54 to i32
%56 = shl i32 1, %55
%57 = and i32 %53, %56
%58 = icmp ne i32 %57, 0
%59 = zext i1 %58 to i64
%60 = select i1 %58, i32 255, i32 0
%61 = trunc i32 %60 to i8
%62 = load i64, ptr %4, align 8
%63 = add i64 %62, 2
%64 = load i64, ptr %6, align 8
%65 = add i64 %63, %64
%66 = getelementptr inbounds i8, ptr %17, i64 %65
store i8 %61, ptr %66, align 1
br label %67
67: ; preds = %52
%68 = load i64, ptr %6, align 8
%69 = add i64 %68, 1
store i64 %69, ptr %6, align 8
br label %46, !llvm.loop !6
70: ; preds = %46
store i64 0, ptr %7, align 8
br label %71
71: ; preds = %86, %70
%72 = load i64, ptr %7, align 8
%73 = load i64, ptr %4, align 8
%74 = icmp ule i64 %72, %73
br i1 %74, label %75, label %89
75: ; preds = %71
%76 = load i64, ptr %7, align 8
%77 = getelementptr inbounds i8, ptr %17, i64 %76
%78 = call i64 @strlen(ptr noundef %77)
%79 = load i64, ptr %4, align 8
%80 = add i64 %79, 1
%81 = load i64, ptr %7, align 8
%82 = sub i64 %80, %81
%83 = icmp eq i64 %78, %82
%84 = zext i1 %83 to i32
%85 = call i32 @assert(i32 noundef %84)
br label %86
86: ; preds = %75
%87 = load i64, ptr %7, align 8
%88 = add i64 %87, 1
store i64 %88, ptr %7, align 8
br label %71, !llvm.loop !8
89: ; preds = %71
br label %90
90: ; preds = %89
%91 = load i32, ptr %5, align 4
%92 = add i32 %91, 1
store i32 %92, ptr %5, align 4
br label %39, !llvm.loop !9
93: ; preds = %39
br label %94
94: ; preds = %93
%95 = load i64, ptr %4, align 8
%96 = add i64 %95, 1
store i64 %96, ptr %4, align 8
br label %22, !llvm.loop !10
97: ; preds = %22
store i32 0, ptr %1, align 4
%98 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %98)
%99 = load i32, ptr %1, align 4
ret i32 %99
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @assert(i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzsyp_yq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__WORDSIZE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @__WORDSIZE, align 4
%9 = sdiv i32 %8, 8
%10 = mul nsw i32 %9, 4
%11 = add nsw i32 %10, 1
%12 = load i32, ptr @__WORDSIZE, align 4
%13 = sdiv i32 %12, 8
%14 = add nsw i32 %11, %13
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %2, align 8
%17 = alloca i8, i64 %15, align 16
store i64 %15, ptr %3, align 8
%18 = call i64 @strlen(ptr noundef @.str)
%19 = icmp eq i64 %18, 0
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
store i64 0, ptr %4, align 8
%22 = load i64, ptr %4, align 8
%23 = load i32, ptr @__WORDSIZE, align 4
%24 = sdiv i32 %23, 8
%25 = mul nsw i32 %24, 4
%26 = sext i32 %25 to i64
%27 = icmp ult i64 %22, %26
br i1 %27, label %.lr.ph8, label %112
.lr.ph8: ; preds = %0
br label %28
28: ; preds = %.lr.ph8, %103
%29 = load i64, ptr %4, align 8
%30 = urem i64 %29, 10
%31 = add i64 %30, 48
%32 = trunc i64 %31 to i8
%33 = load i64, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %17, i64 %33
store i8 %32, ptr %34, align 1
%35 = load i64, ptr %4, align 8
%36 = add i64 %35, 1
%37 = getelementptr inbounds i8, ptr %17, i64 %36
store i8 0, ptr %37, align 1
store i32 0, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr @__WORDSIZE, align 4
%40 = sdiv i32 %39, 8
%41 = shl i32 1, %40
%42 = icmp ult i32 %38, %41
br i1 %42, label %.lr.ph5, label %102
.lr.ph5: ; preds = %28
br label %43
43: ; preds = %.lr.ph5, %94
store i64 0, ptr %6, align 8
%44 = load i64, ptr %6, align 8
%45 = load i32, ptr @__WORDSIZE, align 4
%46 = sdiv i32 %45, 8
%47 = sext i32 %46 to i64
%48 = icmp ult i64 %44, %47
br i1 %48, label %.lr.ph, label %72
.lr.ph: ; preds = %43
br label %49
49: ; preds = %.lr.ph, %64
%50 = load i32, ptr %5, align 4
%51 = load i64, ptr %6, align 8
%52 = trunc i64 %51 to i32
%53 = shl i32 1, %52
%54 = and i32 %50, %53
%55 = icmp ne i32 %54, 0
%56 = zext i1 %55 to i64
%57 = select i1 %55, i32 255, i32 0
%58 = trunc i32 %57 to i8
%59 = load i64, ptr %4, align 8
%60 = add i64 %59, 2
%61 = load i64, ptr %6, align 8
%62 = add i64 %60, %61
%63 = getelementptr inbounds i8, ptr %17, i64 %62
store i8 %58, ptr %63, align 1
br label %64
64: ; preds = %49
%65 = load i64, ptr %6, align 8
%66 = add i64 %65, 1
store i64 %66, ptr %6, align 8
%67 = load i64, ptr %6, align 8
%68 = load i32, ptr @__WORDSIZE, align 4
%69 = sdiv i32 %68, 8
%70 = sext i32 %69 to i64
%71 = icmp ult i64 %67, %70
br i1 %71, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %72
72: ; preds = %._crit_edge, %43
store i64 0, ptr %7, align 8
%73 = load i64, ptr %7, align 8
%74 = load i64, ptr %4, align 8
%75 = icmp ule i64 %73, %74
br i1 %75, label %.lr.ph2, label %93
.lr.ph2: ; preds = %72
br label %76
76: ; preds = %.lr.ph2, %87
%77 = load i64, ptr %7, align 8
%78 = getelementptr inbounds i8, ptr %17, i64 %77
%79 = call i64 @strlen(ptr noundef %78)
%80 = load i64, ptr %4, align 8
%81 = add i64 %80, 1
%82 = load i64, ptr %7, align 8
%83 = sub i64 %81, %82
%84 = icmp eq i64 %79, %83
%85 = zext i1 %84 to i32
%86 = call i32 @assert(i32 noundef %85)
br label %87
87: ; preds = %76
%88 = load i64, ptr %7, align 8
%89 = add i64 %88, 1
store i64 %89, ptr %7, align 8
%90 = load i64, ptr %7, align 8
%91 = load i64, ptr %4, align 8
%92 = icmp ule i64 %90, %91
br i1 %92, label %76, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %87
br label %93
93: ; preds = %._crit_edge3, %72
br label %94
94: ; preds = %93
%95 = load i32, ptr %5, align 4
%96 = add i32 %95, 1
store i32 %96, ptr %5, align 4
%97 = load i32, ptr %5, align 4
%98 = load i32, ptr @__WORDSIZE, align 4
%99 = sdiv i32 %98, 8
%100 = shl i32 1, %99
%101 = icmp ult i32 %97, %100
br i1 %101, label %43, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %94
br label %102
102: ; preds = %._crit_edge6, %28
br label %103
103: ; preds = %102
%104 = load i64, ptr %4, align 8
%105 = add i64 %104, 1
store i64 %105, ptr %4, align 8
%106 = load i64, ptr %4, align 8
%107 = load i32, ptr @__WORDSIZE, align 4
%108 = sdiv i32 %107, 8
%109 = mul nsw i32 %108, 4
%110 = sext i32 %109 to i64
%111 = icmp ult i64 %106, %110
br i1 %111, label %28, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %103
br label %112
112: ; preds = %._crit_edge9, %0
store i32 0, ptr %1, align 4
%113 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %113)
%114 = load i32, ptr %1, align 4
ret i32 %114
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @assert(i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpkr4ztqzw.c'
source_filename = "/tmp/tmpkr4ztqzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @common_mkdir(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 @mkdir(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @mkdir(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/tmpkr4ztqzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @common_mkdir(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 @mkdir(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @mkdir(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/tmp8dpknpg8.c'
source_filename = "/tmp/tmp8dpknpg8.c"
target datalayout = "e-m:e-p270: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.printBase62.base = private unnamed_addr constant [63 x i8] c"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printBase62(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [63 x i8], align 16
store i64 %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.printBase62.base, i64 63, i1 false)
%4 = load i64, ptr %2, align 8
%5 = udiv i64 %4, 62
%6 = icmp ugt i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i64, ptr %2, align 8
%9 = udiv i64 %8, 62
call void @printBase62(i64 noundef %9)
br label %10
10: ; preds = %7, %1
%11 = load i64, ptr %2, align 8
%12 = urem i64 %11, 62
%13 = getelementptr inbounds [63 x i8], ptr %3, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @putchar(i8 noundef signext %14)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @putchar(i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8dpknpg8.c"
target datalayout = "e-m:e-p270: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.printBase62.base = private unnamed_addr constant [63 x i8] c"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printBase62(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [63 x i8], align 16
store i64 %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.printBase62.base, i64 63, i1 false)
%4 = load i64, ptr %2, align 8
%5 = udiv i64 %4, 62
%6 = icmp ugt i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i64, ptr %2, align 8
%9 = udiv i64 %8, 62
call void @printBase62(i64 noundef %9)
br label %10
10: ; preds = %7, %1
%11 = load i64, ptr %2, align 8
%12 = urem i64 %11, 62
%13 = getelementptr inbounds [63 x i8], ptr %3, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @putchar(i8 noundef signext %14)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @putchar(i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6wzevdsn.c'
source_filename = "/tmp/tmp6wzevdsn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s_new() #0 {
%1 = alloca i32, align 4
%2 = call i32 @m_create(i32 noundef 10, i32 noundef 1)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @m_putc(i32 noundef %3, i32 noundef 0)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @m_create(i32 noundef, i32 noundef) #1
declare i32 @m_putc(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/tmp6wzevdsn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s_new() #0 {
%1 = alloca i32, align 4
%2 = call i32 @m_create(i32 noundef 10, i32 noundef 1)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @m_putc(i32 noundef %3, i32 noundef 0)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @m_create(i32 noundef, i32 noundef) #1
declare i32 @m_putc(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/tmpakrjskrl.c'
source_filename = "/tmp/tmpakrjskrl.c"
target datalayout = "e-m:e-p270: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/tmpakrjskrl.c"
target datalayout = "e-m:e-p270: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/tmpe6jzf1da.c'
source_filename = "/tmp/tmpe6jzf1da.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load ptr, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %246, %2
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 2
%10 = load ptr, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i16, ptr %11, i64 2
%13 = load i16, ptr %12, align 2
%14 = add i16 %13, 1
store i16 %14, ptr %12, align 2
%15 = sext i16 %13 to i32
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %10, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %25 [
i32 0, label %20
]
20: ; preds = %7
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @puts(ptr noundef %23)
br label %248
25: ; preds = %7
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i16, ptr %26, i64 2
%28 = load i16, ptr %27, align 2
%29 = sext i16 %28 to i32
%30 = sub nsw i32 %29, 1
%31 = trunc i32 %30 to i16
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i16, ptr %32, i64 1
store i16 %31, ptr %33, align 2
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 2
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i16, ptr %37, i64 1
%39 = load i16, ptr %38, align 2
%40 = sext i16 %39 to i32
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %36, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp sgt i32 %44, 64
br i1 %45, label %46, label %59
46: ; preds = %25
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 2
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i16, ptr %50, i64 1
%52 = load i16, ptr %51, align 2
%53 = sext i16 %52 to i32
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %49, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp slt i32 %57, 91
br i1 %58, label %85, label %59
59: ; preds = %46, %25
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 2
%62 = load ptr, ptr %61, align 8
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds i16, ptr %63, i64 1
%65 = load i16, ptr %64, align 2
%66 = sext i16 %65 to i32
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %62, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp sgt i32 %70, 96
br i1 %71, label %72, label %245
72: ; preds = %59
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 2
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds i16, ptr %76, i64 1
%78 = load i16, ptr %77, align 2
%79 = sext i16 %78 to i32
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %75, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp slt i32 %83, 123
br i1 %84, label %85, label %245
85: ; preds = %72, %46
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 2
%88 = load ptr, ptr %87, align 8
%89 = load ptr, ptr %5, align 8
%90 = getelementptr inbounds i16, ptr %89, i64 1
%91 = load i16, ptr %90, align 2
%92 = sext i16 %91 to i32
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %88, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp sgt i32 %96, 96
%98 = zext i1 %97 to i32
%99 = trunc i32 %98 to i16
%100 = load ptr, ptr %5, align 8
store i16 %99, ptr %100, align 2
%101 = sext i16 %99 to i32
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %118
103: ; preds = %85
%104 = load ptr, ptr %5, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 2
%106 = load ptr, ptr %105, align 8
%107 = load ptr, ptr %5, align 8
%108 = getelementptr inbounds i16, ptr %107, i64 1
%109 = load i16, ptr %108, align 2
%110 = sext i16 %109 to i32
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, ptr %106, i64 %111
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = sub nsw i32 %114, 32
%116 = trunc i32 %115 to i8
store i8 %116, ptr %112, align 1
%117 = sext i8 %116 to i32
br label %119
118: ; preds = %85
br label %119
119: ; preds = %118, %103
%120 = phi i32 [ %117, %103 ], [ 0, %118 ]
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds ptr, ptr %121, i64 1
%123 = load ptr, ptr %122, align 8
%124 = call i32 @atoi(ptr noundef %123)
%125 = srem i32 %124, 26
%126 = sub nsw i32 %125, 65
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds ptr, ptr %127, i64 2
%129 = load ptr, ptr %128, align 8
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds i16, ptr %130, i64 1
%132 = load i16, ptr %131, align 2
%133 = sext i16 %132 to i32
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, ptr %129, i64 %134
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = add nsw i32 %137, %126
%139 = trunc i32 %138 to i8
store i8 %139, ptr %135, align 1
%140 = sext i8 %139 to i32
%141 = icmp sgt i32 %140, 25
br i1 %141, label %142, label %157
142: ; preds = %119
%143 = load ptr, ptr %5, align 8
%144 = getelementptr inbounds ptr, ptr %143, i64 2
%145 = load ptr, ptr %144, align 8
%146 = load ptr, ptr %5, align 8
%147 = getelementptr inbounds i16, ptr %146, i64 1
%148 = load i16, ptr %147, align 2
%149 = sext i16 %148 to i32
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i8, ptr %145, i64 %150
%152 = load i8, ptr %151, align 1
%153 = sext i8 %152 to i32
%154 = add nsw i32 %153, 6
%155 = trunc i32 %154 to i8
store i8 %155, ptr %151, align 1
%156 = sext i8 %155 to i32
br label %158
157: ; preds = %119
br label %158
158: ; preds = %157, %142
%159 = phi i32 [ %156, %142 ], [ 0, %157 ]
%160 = or i32 %120, %159
%161 = load ptr, ptr %5, align 8
%162 = getelementptr inbounds ptr, ptr %161, i64 2
%163 = load ptr, ptr %162, align 8
%164 = load ptr, ptr %5, align 8
%165 = getelementptr inbounds i16, ptr %164, i64 1
%166 = load i16, ptr %165, align 2
%167 = sext i16 %166 to i32
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i8, ptr %163, i64 %168
%170 = load i8, ptr %169, align 1
%171 = sext i8 %170 to i32
%172 = add nsw i32 %171, 65
%173 = trunc i32 %172 to i8
store i8 %173, ptr %169, align 1
%174 = sext i8 %173 to i32
%175 = or i32 %160, %174
%176 = load ptr, ptr %5, align 8
%177 = load i16, ptr %176, align 2
%178 = sext i16 %177 to i32
%179 = icmp ne i32 %178, 0
br i1 %179, label %180, label %241
180: ; preds = %158
%181 = load ptr, ptr %5, align 8
%182 = getelementptr inbounds ptr, ptr %181, i64 2
%183 = load ptr, ptr %182, align 8
%184 = load ptr, ptr %5, align 8
%185 = getelementptr inbounds i16, ptr %184, i64 1
%186 = load i16, ptr %185, align 2
%187 = sext i16 %186 to i32
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8, ptr %183, i64 %188
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp slt i32 %191, 91
br i1 %192, label %193, label %208
193: ; preds = %180
%194 = load ptr, ptr %5, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 2
%196 = load ptr, ptr %195, align 8
%197 = load ptr, ptr %5, align 8
%198 = getelementptr inbounds i16, ptr %197, i64 1
%199 = load i16, ptr %198, align 2
%200 = sext i16 %199 to i32
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i8, ptr %196, i64 %201
%203 = load i8, ptr %202, align 1
%204 = sext i8 %203 to i32
%205 = add nsw i32 %204, 32
%206 = trunc i32 %205 to i8
store i8 %206, ptr %202, align 1
%207 = sext i8 %206 to i32
br label %239
208: ; preds = %180
%209 = load ptr, ptr %5, align 8
%210 = getelementptr inbounds ptr, ptr %209, i64 2
%211 = load ptr, ptr %210, align 8
%212 = load ptr, ptr %5, align 8
%213 = getelementptr inbounds i16, ptr %212, i64 1
%214 = load i16, ptr %213, align 2
%215 = sext i16 %214 to i32
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8, ptr %211, i64 %216
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp sgt i32 %219, 96
br i1 %220, label %221, label %236
221: ; preds = %208
%222 = load ptr, ptr %5, align 8
%223 = getelementptr inbounds ptr, ptr %222, i64 2
%224 = load ptr, ptr %223, align 8
%225 = load ptr, ptr %5, align 8
%226 = getelementptr inbounds i16, ptr %225, i64 1
%227 = load i16, ptr %226, align 2
%228 = sext i16 %227 to i32
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i8, ptr %224, i64 %229
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = sub nsw i32 %232, 32
%234 = trunc i32 %233 to i8
store i8 %234, ptr %230, align 1
%235 = sext i8 %234 to i32
br label %237
236: ; preds = %208
br label %237
237: ; preds = %236, %221
%238 = phi i32 [ %235, %221 ], [ 0, %236 ]
br label %239
239: ; preds = %237, %193
%240 = phi i32 [ %207, %193 ], [ %238, %237 ]
br label %242
241: ; preds = %158
br label %242
242: ; preds = %241, %239
%243 = phi i32 [ %240, %239 ], [ 0, %241 ]
%244 = or i32 %175, %243
br label %246
245: ; preds = %72, %59
br label %246
246: ; preds = %245, %242
%247 = phi i32 [ %244, %242 ], [ 0, %245 ]
br label %7
248: ; preds = %20
%249 = load i32, ptr %3, align 4
ret i32 %249
}
declare i32 @puts(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe6jzf1da.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load ptr, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %246, %2
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 2
%10 = load ptr, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i16, ptr %11, i64 2
%13 = load i16, ptr %12, align 2
%14 = add i16 %13, 1
store i16 %14, ptr %12, align 2
%15 = sext i16 %13 to i32
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %10, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %25 [
i32 0, label %20
]
20: ; preds = %7
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @puts(ptr noundef %23)
br label %248
25: ; preds = %7
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i16, ptr %26, i64 2
%28 = load i16, ptr %27, align 2
%29 = sext i16 %28 to i32
%30 = sub nsw i32 %29, 1
%31 = trunc i32 %30 to i16
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i16, ptr %32, i64 1
store i16 %31, ptr %33, align 2
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 2
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i16, ptr %37, i64 1
%39 = load i16, ptr %38, align 2
%40 = sext i16 %39 to i32
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %36, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp sgt i32 %44, 64
br i1 %45, label %46, label %59
46: ; preds = %25
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 2
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i16, ptr %50, i64 1
%52 = load i16, ptr %51, align 2
%53 = sext i16 %52 to i32
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %49, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp slt i32 %57, 91
br i1 %58, label %85, label %59
59: ; preds = %46, %25
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 2
%62 = load ptr, ptr %61, align 8
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds i16, ptr %63, i64 1
%65 = load i16, ptr %64, align 2
%66 = sext i16 %65 to i32
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %62, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp sgt i32 %70, 96
br i1 %71, label %72, label %245
72: ; preds = %59
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i64 2
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds i16, ptr %76, i64 1
%78 = load i16, ptr %77, align 2
%79 = sext i16 %78 to i32
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %75, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp slt i32 %83, 123
br i1 %84, label %85, label %245
85: ; preds = %72, %46
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 2
%88 = load ptr, ptr %87, align 8
%89 = load ptr, ptr %5, align 8
%90 = getelementptr inbounds i16, ptr %89, i64 1
%91 = load i16, ptr %90, align 2
%92 = sext i16 %91 to i32
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %88, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp sgt i32 %96, 96
%98 = zext i1 %97 to i32
%99 = trunc i32 %98 to i16
%100 = load ptr, ptr %5, align 8
store i16 %99, ptr %100, align 2
%101 = sext i16 %99 to i32
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %118
103: ; preds = %85
%104 = load ptr, ptr %5, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 2
%106 = load ptr, ptr %105, align 8
%107 = load ptr, ptr %5, align 8
%108 = getelementptr inbounds i16, ptr %107, i64 1
%109 = load i16, ptr %108, align 2
%110 = sext i16 %109 to i32
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, ptr %106, i64 %111
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = sub nsw i32 %114, 32
%116 = trunc i32 %115 to i8
store i8 %116, ptr %112, align 1
%117 = sext i8 %116 to i32
br label %119
118: ; preds = %85
br label %119
119: ; preds = %118, %103
%120 = phi i32 [ %117, %103 ], [ 0, %118 ]
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds ptr, ptr %121, i64 1
%123 = load ptr, ptr %122, align 8
%124 = call i32 @atoi(ptr noundef %123)
%125 = srem i32 %124, 26
%126 = sub nsw i32 %125, 65
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds ptr, ptr %127, i64 2
%129 = load ptr, ptr %128, align 8
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds i16, ptr %130, i64 1
%132 = load i16, ptr %131, align 2
%133 = sext i16 %132 to i32
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, ptr %129, i64 %134
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = add nsw i32 %137, %126
%139 = trunc i32 %138 to i8
store i8 %139, ptr %135, align 1
%140 = sext i8 %139 to i32
%141 = icmp sgt i32 %140, 25
br i1 %141, label %142, label %157
142: ; preds = %119
%143 = load ptr, ptr %5, align 8
%144 = getelementptr inbounds ptr, ptr %143, i64 2
%145 = load ptr, ptr %144, align 8
%146 = load ptr, ptr %5, align 8
%147 = getelementptr inbounds i16, ptr %146, i64 1
%148 = load i16, ptr %147, align 2
%149 = sext i16 %148 to i32
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i8, ptr %145, i64 %150
%152 = load i8, ptr %151, align 1
%153 = sext i8 %152 to i32
%154 = add nsw i32 %153, 6
%155 = trunc i32 %154 to i8
store i8 %155, ptr %151, align 1
%156 = sext i8 %155 to i32
br label %158
157: ; preds = %119
br label %158
158: ; preds = %157, %142
%159 = phi i32 [ %156, %142 ], [ 0, %157 ]
%160 = or i32 %120, %159
%161 = load ptr, ptr %5, align 8
%162 = getelementptr inbounds ptr, ptr %161, i64 2
%163 = load ptr, ptr %162, align 8
%164 = load ptr, ptr %5, align 8
%165 = getelementptr inbounds i16, ptr %164, i64 1
%166 = load i16, ptr %165, align 2
%167 = sext i16 %166 to i32
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i8, ptr %163, i64 %168
%170 = load i8, ptr %169, align 1
%171 = sext i8 %170 to i32
%172 = add nsw i32 %171, 65
%173 = trunc i32 %172 to i8
store i8 %173, ptr %169, align 1
%174 = sext i8 %173 to i32
%175 = or i32 %160, %174
%176 = load ptr, ptr %5, align 8
%177 = load i16, ptr %176, align 2
%178 = sext i16 %177 to i32
%179 = icmp ne i32 %178, 0
br i1 %179, label %180, label %241
180: ; preds = %158
%181 = load ptr, ptr %5, align 8
%182 = getelementptr inbounds ptr, ptr %181, i64 2
%183 = load ptr, ptr %182, align 8
%184 = load ptr, ptr %5, align 8
%185 = getelementptr inbounds i16, ptr %184, i64 1
%186 = load i16, ptr %185, align 2
%187 = sext i16 %186 to i32
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8, ptr %183, i64 %188
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp slt i32 %191, 91
br i1 %192, label %193, label %208
193: ; preds = %180
%194 = load ptr, ptr %5, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 2
%196 = load ptr, ptr %195, align 8
%197 = load ptr, ptr %5, align 8
%198 = getelementptr inbounds i16, ptr %197, i64 1
%199 = load i16, ptr %198, align 2
%200 = sext i16 %199 to i32
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i8, ptr %196, i64 %201
%203 = load i8, ptr %202, align 1
%204 = sext i8 %203 to i32
%205 = add nsw i32 %204, 32
%206 = trunc i32 %205 to i8
store i8 %206, ptr %202, align 1
%207 = sext i8 %206 to i32
br label %239
208: ; preds = %180
%209 = load ptr, ptr %5, align 8
%210 = getelementptr inbounds ptr, ptr %209, i64 2
%211 = load ptr, ptr %210, align 8
%212 = load ptr, ptr %5, align 8
%213 = getelementptr inbounds i16, ptr %212, i64 1
%214 = load i16, ptr %213, align 2
%215 = sext i16 %214 to i32
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8, ptr %211, i64 %216
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp sgt i32 %219, 96
br i1 %220, label %221, label %236
221: ; preds = %208
%222 = load ptr, ptr %5, align 8
%223 = getelementptr inbounds ptr, ptr %222, i64 2
%224 = load ptr, ptr %223, align 8
%225 = load ptr, ptr %5, align 8
%226 = getelementptr inbounds i16, ptr %225, i64 1
%227 = load i16, ptr %226, align 2
%228 = sext i16 %227 to i32
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i8, ptr %224, i64 %229
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = sub nsw i32 %232, 32
%234 = trunc i32 %233 to i8
store i8 %234, ptr %230, align 1
%235 = sext i8 %234 to i32
br label %237
236: ; preds = %208
br label %237
237: ; preds = %236, %221
%238 = phi i32 [ %235, %221 ], [ 0, %236 ]
br label %239
239: ; preds = %237, %193
%240 = phi i32 [ %207, %193 ], [ %238, %237 ]
br label %242
241: ; preds = %158
br label %242
242: ; preds = %241, %239
%243 = phi i32 [ %240, %239 ], [ 0, %241 ]
%244 = or i32 %175, %243
br label %246
245: ; preds = %72, %59
br label %246
246: ; preds = %245, %242
%247 = phi i32 [ %244, %242 ], [ 0, %245 ]
br label %7
248: ; preds = %20
%249 = load i32, ptr %3, align 4
ret i32 %249
}
declare i32 @puts(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbp8psdn2.c'
source_filename = "/tmp/tmpbp8psdn2.c"
target datalayout = "e-m:e-p270: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/tmpbp8psdn2.c"
target datalayout = "e-m:e-p270: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/tmp43xv4z04.c'
source_filename = "/tmp/tmp43xv4z04.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yh_c_buffer_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 @free(ptr noundef %3)
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/tmp43xv4z04.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yh_c_buffer_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 @free(ptr noundef %3)
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/tmpip356j_y.c'
source_filename = "/tmp/tmpip356j_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fputs_timedate(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [25 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = call i32 @time(ptr noundef null)
store i32 %6, ptr %4, align 4
%7 = call ptr @localtime(ptr noundef %4)
store ptr %7, ptr %5, align 8
%8 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strftime(ptr noundef %8, i32 noundef 25, ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fputs(ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fputs(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/tmpip356j_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fputs_timedate(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [25 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = call i32 @time(ptr noundef null)
store i32 %6, ptr %4, align 4
%7 = call ptr @localtime(ptr noundef %4)
store ptr %7, ptr %5, align 8
%8 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strftime(ptr noundef %8, i32 noundef 25, ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds [25 x i8], ptr %3, i64 0, i64 0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fputs(ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fputs(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/tmp4i62zaoq.c'
source_filename = "/tmp/tmp4i62zaoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @limit_zero2one(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @llvm.floor.f64(double %5)
%7 = fsub double %4, %6
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp olt double %8, 0.000000e+00
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load double, ptr %3, align 8
%12 = fadd double %11, 1.000000e+00
store double %12, ptr %3, align 8
br label %13
13: ; preds = %10, %1
%14 = load double, ptr %3, align 8
ret double %14
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4i62zaoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @limit_zero2one(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @llvm.floor.f64(double %5)
%7 = fsub double %4, %6
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp olt double %8, 0.000000e+00
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load double, ptr %3, align 8
%12 = fadd double %11, 1.000000e+00
store double %12, ptr %3, align 8
br label %13
13: ; preds = %10, %1
%14 = load double, ptr %3, align 8
ret double %14
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppanjzxm9.c'
source_filename = "/tmp/tmppanjzxm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @strstr_test1()
ret i32 0
}
declare i32 @strstr_test1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppanjzxm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @strstr_test1()
ret i32 0
}
declare i32 @strstr_test1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbs8tcj88.c'
source_filename = "/tmp/tmpbs8tcj88.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"userlist_callback\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mumble_userlist_callback(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbs8tcj88.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"userlist_callback\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mumble_userlist_callback(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyy7x_b4a.c'
source_filename = "/tmp/tmpyy7x_b4a.c"
target datalayout = "e-m:e-p270: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/tmpyy7x_b4a.c"
target datalayout = "e-m:e-p270: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/tmpis63bgjt.c'
source_filename = "/tmp/tmpis63bgjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tauPDF(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp ogt double %3, 1.000000e+00
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %13
8: ; preds = %5, %1
%9 = load double, ptr %2, align 8
%10 = call i32 @fabs(double noundef %9)
%11 = sitofp i32 %10 to double
%12 = fdiv double 1.000000e+00, %11
store double %12, ptr %2, align 8
br label %13
13: ; preds = %8, %5
%14 = load double, ptr %2, align 8
%15 = fsub double 1.000000e+00, %14
%16 = fptosi double %15 to i32
%17 = call double @log(i32 noundef %16)
%18 = fneg double %17
ret double %18
}
declare i32 @fabs(double noundef) #1
declare double @log(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/tmpis63bgjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tauPDF(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp ogt double %3, 1.000000e+00
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %13
8: ; preds = %5, %1
%9 = load double, ptr %2, align 8
%10 = call i32 @fabs(double noundef %9)
%11 = sitofp i32 %10 to double
%12 = fdiv double 1.000000e+00, %11
store double %12, ptr %2, align 8
br label %13
13: ; preds = %8, %5
%14 = load double, ptr %2, align 8
%15 = fsub double 1.000000e+00, %14
%16 = fptosi double %15 to i32
%17 = call double @log(i32 noundef %16)
%18 = fneg double %17
ret double %18
}
declare i32 @fabs(double noundef) #1
declare double @log(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/tmpymgdcz8c.c'
source_filename = "/tmp/tmpymgdcz8c.c"
target datalayout = "e-m:e-p270: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/tmpymgdcz8c.c"
target datalayout = "e-m:e-p270: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/tmp0rwva__4.c'
source_filename = "/tmp/tmp0rwva__4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ST_UnloadGraphics() #0 {
%1 = call i32 @Z_FreeTags(i32 noundef 13, i32 noundef 13)
ret void
}
declare i32 @Z_FreeTags(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/tmp0rwva__4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ST_UnloadGraphics() #0 {
%1 = call i32 @Z_FreeTags(i32 noundef 13, i32 noundef 13)
ret void
}
declare i32 @Z_FreeTags(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/tmpydq25o08.c'
source_filename = "/tmp/tmpydq25o08.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Error al ejecutar fork\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"El proceso hijo ha le\C3\ADdo %d bytes y el contenido es: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"El proceso padre ha enviado por la tuberia %d bytes\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 [2 x i32], align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = load i32, ptr @BUFSIZ, align 4
%10 = add nsw i32 %9, 1
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %7, align 8
%14 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%15 = call i64 @pipe(ptr noundef %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %61
17: ; preds = %0
%18 = call i32 (...) @fork()
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str)
%23 = call i32 @exit(i32 noundef -1) #4
unreachable
24: ; preds = %17
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %45
27: ; preds = %24
store i32 1, ptr %4, align 4
br label %28
28: ; preds = %40, %27
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %29, 27
br i1 %30, label %31, label %43
31: ; preds = %28
%32 = trunc i64 %11 to i32
%33 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef %32)
%34 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr @BUFSIZ, align 4
%37 = call i32 @read(i32 noundef %35, ptr noundef %13, i32 noundef %36)
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %38, ptr noundef %13)
br label %40
40: ; preds = %31
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
br label %28, !llvm.loop !6
43: ; preds = %28
%44 = call i32 @exit(i32 noundef 0) #4
unreachable
45: ; preds = %24
store i32 65, ptr %4, align 4
br label %46
46: ; preds = %56, %45
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %47, 91
br i1 %48, label %49, label %59
49: ; preds = %46
%50 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%51 = load i32, ptr %50, align 4
%52 = call i32 @write(i32 noundef %51, ptr noundef %4, i32 noundef 1)
store i32 %52, ptr %2, align 4
%53 = load i32, ptr %2, align 4
%54 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %53)
%55 = call i32 @sleep(i32 noundef 1)
br label %56
56: ; preds = %49
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %4, align 4
br label %46, !llvm.loop !8
59: ; preds = %46
br label %60
60: ; preds = %59
br label %61
61: ; preds = %60, %0
%62 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @pipe(ptr noundef) #2
declare i32 @fork(...) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sleep(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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydq25o08.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Error al ejecutar fork\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"El proceso hijo ha le\C3\ADdo %d bytes y el contenido es: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"El proceso padre ha enviado por la tuberia %d bytes\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 [2 x i32], align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = load i32, ptr @BUFSIZ, align 4
%10 = add nsw i32 %9, 1
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %7, align 8
%14 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%15 = call i64 @pipe(ptr noundef %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %63
17: ; preds = %0
%18 = call i32 (...) @fork()
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str)
%23 = call i32 @exit(i32 noundef -1) #4
unreachable
24: ; preds = %17
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %46
27: ; preds = %24
store i32 1, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 27
br i1 %29, label %.lr.ph2, label %44
.lr.ph2: ; preds = %27
br label %30
30: ; preds = %.lr.ph2, %39
%31 = trunc i64 %11 to i32
%32 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef %31)
%33 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr @BUFSIZ, align 4
%36 = call i32 @read(i32 noundef %34, ptr noundef %13, i32 noundef %35)
store i32 %36, ptr %3, align 4
%37 = load i32, ptr %3, align 4
%38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %37, ptr noundef %13)
br label %39
39: ; preds = %30
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %42, 27
br i1 %43, label %30, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %39
br label %44
44: ; preds = %._crit_edge3, %27
%45 = call i32 @exit(i32 noundef 0) #4
unreachable
46: ; preds = %24
store i32 65, ptr %4, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %47, 91
br i1 %48, label %.lr.ph, label %61
.lr.ph: ; preds = %46
br label %49
49: ; preds = %.lr.ph, %56
%50 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%51 = load i32, ptr %50, align 4
%52 = call i32 @write(i32 noundef %51, ptr noundef %4, i32 noundef 1)
store i32 %52, ptr %2, align 4
%53 = load i32, ptr %2, align 4
%54 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %53)
%55 = call i32 @sleep(i32 noundef 1)
br label %56
56: ; preds = %49
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %4, align 4
%59 = load i32, ptr %4, align 4
%60 = icmp slt i32 %59, 91
br i1 %60, label %49, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %56
br label %61
61: ; preds = %._crit_edge, %46
br label %62
62: ; preds = %61
br label %63
63: ; preds = %62, %0
%64 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @pipe(ptr noundef) #2
declare i32 @fork(...) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sleep(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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1pyqckg1.c'
source_filename = "/tmp/tmp1pyqckg1.c"
target datalayout = "e-m:e-p270: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/tmp1pyqckg1.c"
target datalayout = "e-m:e-p270: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/tmpmkn9tr0b.c'
source_filename = "/tmp/tmpmkn9tr0b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @sqrtl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @powl(x86_fp80 noundef %3, double noundef 5.000000e-01)
ret x86_fp80 %4
}
declare x86_fp80 @powl(x86_fp80 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmkn9tr0b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @sqrtl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @powl(x86_fp80 noundef %3, double noundef 5.000000e-01)
ret x86_fp80 %4
}
declare x86_fp80 @powl(x86_fp80 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa0mfh3ae.c'
source_filename = "/tmp/tmpa0mfh3ae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringRemoveNonAlphaNum(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
br label %6
6: ; preds = %24, %1
%7 = load ptr, ptr %2, align 8
%8 = load i64, ptr %3, align 8
%9 = add i64 %8, 1
store i64 %9, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %7, i64 %8
%11 = load i8, ptr %10, align 1
store i8 %11, ptr %5, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %27
14: ; preds = %6
%15 = load i8, ptr %5, align 1
%16 = call i64 @isalnum(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i8, ptr %5, align 1
%20 = load ptr, ptr %2, align 8
%21 = load i64, ptr %4, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 %19, ptr %23, align 1
br label %24
24: ; preds = %18, %14
%25 = load i8, ptr %5, align 1
%26 = call i32 @tolower(i8 noundef signext %25)
br label %6, !llvm.loop !6
27: ; preds = %6
%28 = load ptr, ptr %2, align 8
%29 = load i64, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store i8 0, ptr %30, align 1
ret void
}
declare i64 @isalnum(i8 noundef signext) #1
declare i32 @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/tmpa0mfh3ae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringRemoveNonAlphaNum(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i64, ptr %3, align 8
%8 = add i64 %7, 1
store i64 %8, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %6, i64 %7
%10 = load i8, ptr %9, align 1
store i8 %10, ptr %5, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %33
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %23
%14 = load i8, ptr %5, align 1
%15 = call i64 @isalnum(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i8, ptr %5, align 1
%19 = load ptr, ptr %2, align 8
%20 = load i64, ptr %4, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %19, i64 %20
store i8 %18, ptr %22, align 1
br label %23
23: ; preds = %17, %13
%24 = load i8, ptr %5, align 1
%25 = call i32 @tolower(i8 noundef signext %24)
%26 = load ptr, ptr %2, align 8
%27 = load i64, ptr %3, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %26, i64 %27
%30 = load i8, ptr %29, align 1
store i8 %30, ptr %5, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %33
33: ; preds = %._crit_edge, %1
%34 = load ptr, ptr %2, align 8
%35 = load i64, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
store i8 0, ptr %36, align 1
ret void
}
declare i64 @isalnum(i8 noundef signext) #1
declare i32 @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 = '/tmp/tmpvo9vqtoc.c'
source_filename = "/tmp/tmpvo9vqtoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 3556769800 to ptr), ptr %3, align 8
store ptr inttoptr (i64 3556769804 to ptr), ptr %4, align 8
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10000
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load ptr, ptr %4, align 8
store volatile i8 48, ptr %9, align 1
%10 = call i32 (...) @delay()
%11 = load ptr, ptr %3, align 8
store volatile i8 48, ptr %11, align 1
%12 = call i32 (...) @delay()
br label %13
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @delay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvo9vqtoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 3556769800 to ptr), ptr %3, align 8
store ptr inttoptr (i64 3556769804 to ptr), ptr %4, align 8
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10000
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load ptr, ptr %4, align 8
store volatile i8 48, ptr %8, align 1
%9 = call i32 (...) @delay()
%10 = load ptr, ptr %3, align 8
store volatile i8 48, ptr %10, align 1
%11 = call i32 (...) @delay()
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 10000
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare i32 @delay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc1dvdia4.c'
source_filename = "/tmp/tmpc1dvdia4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fldl2e() #0 {
%1 = call i32 @db(i32 noundef 217)
%2 = call i32 @db(i32 noundef 234)
ret void
}
declare i32 @db(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/tmpc1dvdia4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fldl2e() #0 {
%1 = call i32 @db(i32 noundef 217)
%2 = call i32 @db(i32 noundef 234)
ret void
}
declare i32 @db(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/tmpcoptswan.c'
source_filename = "/tmp/tmpcoptswan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EV_KEY = dso_local global i64 0, align 8
@KEY_MUTE = 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/tmpcoptswan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EV_KEY = dso_local global i64 0, align 8
@KEY_MUTE = 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/tmp46ue5q4b.c'
source_filename = "/tmp/tmp46ue5q4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/HPDCS/libreverse/refs/heads/master/test/.libs/lt-test.c.c\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"(find_executable): %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"PATH\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"getcwd failed: %s\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_executable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1025 x i8], align 16
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @nonempty(ptr noundef %13)
%15 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 393, ptr noundef @.str.1, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %23, label %18
18: ; preds = %1
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18, %1
store ptr null, ptr %2, align 8
br label %235
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 47
br i1 %29, label %30, label %47
30: ; preds = %24
%31 = load ptr, ptr %3, align 8
%32 = call ptr @xstrdup(ptr noundef %31)
store ptr %32, ptr %9, align 8
%33 = load ptr, ptr %9, align 8
%34 = call i64 @check_executable(ptr noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = load ptr, ptr %9, align 8
store ptr %37, ptr %2, align 8
br label %235
38: ; preds = %30
br label %39
39: ; preds = %38
%40 = load ptr, ptr %9, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load ptr, ptr %9, align 8
%44 = call i32 @free(ptr noundef %43)
store ptr null, ptr %9, align 8
br label %45
45: ; preds = %42, %39
br label %46
46: ; preds = %45
br label %47
47: ; preds = %46, %24
%48 = load ptr, ptr %3, align 8
store ptr %48, ptr %5, align 8
br label %49
49: ; preds = %60, %47
%50 = load ptr, ptr %5, align 8
%51 = load i8, ptr %50, align 1
%52 = icmp ne i8 %51, 0
br i1 %52, label %53, label %63
53: ; preds = %49
%54 = load ptr, ptr %5, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 47
br i1 %57, label %58, label %59
58: ; preds = %53
store i32 1, ptr %4, align 4
br label %63
59: ; preds = %53
br label %60
60: ; preds = %59
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %5, align 8
br label %49, !llvm.loop !6
63: ; preds = %58, %49
%64 = load i32, ptr %4, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %187, label %66
66: ; preds = %63
%67 = call ptr @getenv(ptr noundef @.str.2)
store ptr %67, ptr %10, align 8
%68 = load ptr, ptr %10, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %186
70: ; preds = %66
%71 = load ptr, ptr %10, align 8
store ptr %71, ptr %5, align 8
br label %72
72: ; preds = %183, %70
%73 = load ptr, ptr %5, align 8
%74 = load i8, ptr %73, align 1
%75 = icmp ne i8 %74, 0
br i1 %75, label %76, label %185
76: ; preds = %72
%77 = load ptr, ptr %5, align 8
store ptr %77, ptr %11, align 8
br label %78
78: ; preds = %89, %76
%79 = load ptr, ptr %11, align 8
%80 = load i8, ptr %79, align 1
%81 = icmp ne i8 %80, 0
br i1 %81, label %82, label %92
82: ; preds = %78
%83 = load ptr, ptr %11, align 8
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 58
br i1 %86, label %87, label %88
87: ; preds = %82
br label %92
88: ; preds = %82
br label %89
89: ; preds = %88
%90 = load ptr, ptr %11, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %11, align 8
br label %78, !llvm.loop !8
92: ; preds = %87, %78
%93 = load ptr, ptr %11, align 8
%94 = load ptr, ptr %5, align 8
%95 = ptrtoint ptr %93 to i64
%96 = ptrtoint ptr %94 to i64
%97 = sub i64 %95, %96
store i64 %97, ptr %12, align 8
%98 = load ptr, ptr %11, align 8
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %92
%103 = load ptr, ptr %11, align 8
br label %107
104: ; preds = %92
%105 = load ptr, ptr %11, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 1
br label %107
107: ; preds = %104, %102
%108 = phi ptr [ %103, %102 ], [ %106, %104 ]
store ptr %108, ptr %6, align 8
%109 = load i64, ptr %12, align 8
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %145
111: ; preds = %107
%112 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%113 = call ptr @getcwd(ptr noundef %112, i32 noundef 1024)
%114 = icmp eq ptr %113, null
br i1 %114, label %115, label %120
115: ; preds = %111
%116 = load i32, ptr @errno, align 4
%117 = call i32 @strerror(i32 noundef %116)
%118 = call i32 @nonnull(i32 noundef %117)
%119 = call i32 @lt_fatal(ptr noundef @.str, i32 noundef 447, ptr noundef @.str.3, i32 noundef %118)
br label %120
120: ; preds = %115, %111
%121 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%122 = call i64 @strlen(ptr noundef %121)
store i64 %122, ptr %8, align 8
%123 = load i64, ptr %8, align 8
%124 = add i64 %123, 1
%125 = load ptr, ptr %3, align 8
%126 = call i64 @strlen(ptr noundef %125)
%127 = add i64 %124, %126
%128 = add i64 %127, 1
%129 = mul i64 %128, 1
%130 = call i64 @xmalloc(i64 noundef %129)
%131 = inttoptr i64 %130 to ptr
store ptr %131, ptr %9, align 8
%132 = load ptr, ptr %9, align 8
%133 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%134 = load i64, ptr %8, align 8
%135 = call i32 @memcpy(ptr noundef %132, ptr noundef %133, i64 noundef %134)
%136 = load ptr, ptr %9, align 8
%137 = load i64, ptr %8, align 8
%138 = getelementptr inbounds i8, ptr %136, i64 %137
store i8 47, ptr %138, align 1
%139 = load ptr, ptr %9, align 8
%140 = load i64, ptr %8, align 8
%141 = getelementptr inbounds i8, ptr %139, i64 %140
%142 = getelementptr inbounds i8, ptr %141, i64 1
%143 = load ptr, ptr %3, align 8
%144 = call i32 @strcpy(ptr noundef %142, ptr noundef %143)
br label %168
145: ; preds = %107
%146 = load i64, ptr %12, align 8
%147 = add i64 %146, 1
%148 = load ptr, ptr %3, align 8
%149 = call i64 @strlen(ptr noundef %148)
%150 = add i64 %147, %149
%151 = add i64 %150, 1
%152 = mul i64 %151, 1
%153 = call i64 @xmalloc(i64 noundef %152)
%154 = inttoptr i64 %153 to ptr
store ptr %154, ptr %9, align 8
%155 = load ptr, ptr %9, align 8
%156 = load ptr, ptr %5, align 8
%157 = load i64, ptr %12, align 8
%158 = call i32 @memcpy(ptr noundef %155, ptr noundef %156, i64 noundef %157)
%159 = load ptr, ptr %9, align 8
%160 = load i64, ptr %12, align 8
%161 = getelementptr inbounds i8, ptr %159, i64 %160
store i8 47, ptr %161, align 1
%162 = load ptr, ptr %9, align 8
%163 = load i64, ptr %12, align 8
%164 = getelementptr inbounds i8, ptr %162, i64 %163
%165 = getelementptr inbounds i8, ptr %164, i64 1
%166 = load ptr, ptr %3, align 8
%167 = call i32 @strcpy(ptr noundef %165, ptr noundef %166)
br label %168
168: ; preds = %145, %120
%169 = load ptr, ptr %9, align 8
%170 = call i64 @check_executable(ptr noundef %169)
%171 = icmp ne i64 %170, 0
br i1 %171, label %172, label %174
172: ; preds = %168
%173 = load ptr, ptr %9, align 8
store ptr %173, ptr %2, align 8
br label %235
174: ; preds = %168
br label %175
175: ; preds = %174
%176 = load ptr, ptr %9, align 8
%177 = icmp ne ptr %176, null
br i1 %177, label %178, label %181
178: ; preds = %175
%179 = load ptr, ptr %9, align 8
%180 = call i32 @free(ptr noundef %179)
store ptr null, ptr %9, align 8
br label %181
181: ; preds = %178, %175
br label %182
182: ; preds = %181
br label %183
183: ; preds = %182
%184 = load ptr, ptr %6, align 8
store ptr %184, ptr %5, align 8
br label %72, !llvm.loop !9
185: ; preds = %72
br label %186
186: ; preds = %185, %66
br label %187
187: ; preds = %186, %63
%188 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%189 = call ptr @getcwd(ptr noundef %188, i32 noundef 1024)
%190 = icmp eq ptr %189, null
br i1 %190, label %191, label %196
191: ; preds = %187
%192 = load i32, ptr @errno, align 4
%193 = call i32 @strerror(i32 noundef %192)
%194 = call i32 @nonnull(i32 noundef %193)
%195 = call i32 @lt_fatal(ptr noundef @.str, i32 noundef 473, ptr noundef @.str.3, i32 noundef %194)
br label %196
196: ; preds = %191, %187
%197 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%198 = call i64 @strlen(ptr noundef %197)
store i64 %198, ptr %8, align 8
%199 = load i64, ptr %8, align 8
%200 = add i64 %199, 1
%201 = load ptr, ptr %3, align 8
%202 = call i64 @strlen(ptr noundef %201)
%203 = add i64 %200, %202
%204 = add i64 %203, 1
%205 = mul i64 %204, 1
%206 = call i64 @xmalloc(i64 noundef %205)
%207 = inttoptr i64 %206 to ptr
store ptr %207, ptr %9, align 8
%208 = load ptr, ptr %9, align 8
%209 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%210 = load i64, ptr %8, align 8
%211 = call i32 @memcpy(ptr noundef %208, ptr noundef %209, i64 noundef %210)
%212 = load ptr, ptr %9, align 8
%213 = load i64, ptr %8, align 8
%214 = getelementptr inbounds i8, ptr %212, i64 %213
store i8 47, ptr %214, align 1
%215 = load ptr, ptr %9, align 8
%216 = load i64, ptr %8, align 8
%217 = getelementptr inbounds i8, ptr %215, i64 %216
%218 = getelementptr inbounds i8, ptr %217, i64 1
%219 = load ptr, ptr %3, align 8
%220 = call i32 @strcpy(ptr noundef %218, ptr noundef %219)
%221 = load ptr, ptr %9, align 8
%222 = call i64 @check_executable(ptr noundef %221)
%223 = icmp ne i64 %222, 0
br i1 %223, label %224, label %226
224: ; preds = %196
%225 = load ptr, ptr %9, align 8
store ptr %225, ptr %2, align 8
br label %235
226: ; preds = %196
br label %227
227: ; preds = %226
%228 = load ptr, ptr %9, align 8
%229 = icmp ne ptr %228, null
br i1 %229, label %230, label %233
230: ; preds = %227
%231 = load ptr, ptr %9, align 8
%232 = call i32 @free(ptr noundef %231)
store ptr null, ptr %9, align 8
br label %233
233: ; preds = %230, %227
br label %234
234: ; preds = %233
store ptr null, ptr %2, align 8
br label %235
235: ; preds = %234, %224, %172, %36, %23
%236 = load ptr, ptr %2, align 8
ret ptr %236
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonempty(ptr noundef) #1
declare ptr @xstrdup(ptr noundef) #1
declare i64 @check_executable(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i32 @lt_fatal(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonnull(i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @xmalloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46ue5q4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/HPDCS/libreverse/refs/heads/master/test/.libs/lt-test.c.c\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"(find_executable): %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"PATH\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"getcwd failed: %s\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_executable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1025 x i8], align 16
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @nonempty(ptr noundef %13)
%15 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 393, ptr noundef @.str.1, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %23, label %18
18: ; preds = %1
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18, %1
store ptr null, ptr %2, align 8
br label %241
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 47
br i1 %29, label %30, label %47
30: ; preds = %24
%31 = load ptr, ptr %3, align 8
%32 = call ptr @xstrdup(ptr noundef %31)
store ptr %32, ptr %9, align 8
%33 = load ptr, ptr %9, align 8
%34 = call i64 @check_executable(ptr noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = load ptr, ptr %9, align 8
store ptr %37, ptr %2, align 8
br label %241
38: ; preds = %30
br label %39
39: ; preds = %38
%40 = load ptr, ptr %9, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load ptr, ptr %9, align 8
%44 = call i32 @free(ptr noundef %43)
store ptr null, ptr %9, align 8
br label %45
45: ; preds = %42, %39
br label %46
46: ; preds = %45
br label %47
47: ; preds = %46, %24
%48 = load ptr, ptr %3, align 8
store ptr %48, ptr %5, align 8
%49 = load ptr, ptr %5, align 8
%50 = load i8, ptr %49, align 1
%51 = icmp ne i8 %50, 0
br i1 %51, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %47
br label %52
52: ; preds = %.lr.ph, %59
%53 = load ptr, ptr %5, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 47
br i1 %56, label %57, label %58
57: ; preds = %52
store i32 1, ptr %4, align 4
br label %65
58: ; preds = %52
br label %59
59: ; preds = %58
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %5, align 8
%62 = load ptr, ptr %5, align 8
%63 = load i8, ptr %62, align 1
%64 = icmp ne i8 %63, 0
br i1 %64, label %52, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %59
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %47
br label %65
65: ; preds = %.loopexit1, %57
%66 = load i32, ptr %4, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %193, label %68
68: ; preds = %65
%69 = call ptr @getenv(ptr noundef @.str.2)
store ptr %69, ptr %10, align 8
%70 = load ptr, ptr %10, align 8
%71 = icmp ne ptr %70, null
br i1 %71, label %72, label %192
72: ; preds = %68
%73 = load ptr, ptr %10, align 8
store ptr %73, ptr %5, align 8
%74 = load ptr, ptr %5, align 8
%75 = load i8, ptr %74, align 1
%76 = icmp ne i8 %75, 0
br i1 %76, label %.lr.ph3, label %191
.lr.ph3: ; preds = %72
br label %77
77: ; preds = %.lr.ph3, %186
%78 = load ptr, ptr %5, align 8
store ptr %78, ptr %11, align 8
%79 = load ptr, ptr %11, align 8
%80 = load i8, ptr %79, align 1
%81 = icmp ne i8 %80, 0
br i1 %81, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %77
br label %82
82: ; preds = %.lr.ph2, %89
%83 = load ptr, ptr %11, align 8
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 58
br i1 %86, label %87, label %88
87: ; preds = %82
br label %95
88: ; preds = %82
br label %89
89: ; preds = %88
%90 = load ptr, ptr %11, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %11, align 8
%92 = load ptr, ptr %11, align 8
%93 = load i8, ptr %92, align 1
%94 = icmp ne i8 %93, 0
br i1 %94, label %82, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %89
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %77
br label %95
95: ; preds = %.loopexit, %87
%96 = load ptr, ptr %11, align 8
%97 = load ptr, ptr %5, align 8
%98 = ptrtoint ptr %96 to i64
%99 = ptrtoint ptr %97 to i64
%100 = sub i64 %98, %99
store i64 %100, ptr %12, align 8
%101 = load ptr, ptr %11, align 8
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %95
%106 = load ptr, ptr %11, align 8
br label %110
107: ; preds = %95
%108 = load ptr, ptr %11, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 1
br label %110
110: ; preds = %107, %105
%111 = phi ptr [ %106, %105 ], [ %109, %107 ]
store ptr %111, ptr %6, align 8
%112 = load i64, ptr %12, align 8
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %148
114: ; preds = %110
%115 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%116 = call ptr @getcwd(ptr noundef %115, i32 noundef 1024)
%117 = icmp eq ptr %116, null
br i1 %117, label %118, label %123
118: ; preds = %114
%119 = load i32, ptr @errno, align 4
%120 = call i32 @strerror(i32 noundef %119)
%121 = call i32 @nonnull(i32 noundef %120)
%122 = call i32 @lt_fatal(ptr noundef @.str, i32 noundef 447, ptr noundef @.str.3, i32 noundef %121)
br label %123
123: ; preds = %118, %114
%124 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%125 = call i64 @strlen(ptr noundef %124)
store i64 %125, ptr %8, align 8
%126 = load i64, ptr %8, align 8
%127 = add i64 %126, 1
%128 = load ptr, ptr %3, align 8
%129 = call i64 @strlen(ptr noundef %128)
%130 = add i64 %127, %129
%131 = add i64 %130, 1
%132 = mul i64 %131, 1
%133 = call i64 @xmalloc(i64 noundef %132)
%134 = inttoptr i64 %133 to ptr
store ptr %134, ptr %9, align 8
%135 = load ptr, ptr %9, align 8
%136 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%137 = load i64, ptr %8, align 8
%138 = call i32 @memcpy(ptr noundef %135, ptr noundef %136, i64 noundef %137)
%139 = load ptr, ptr %9, align 8
%140 = load i64, ptr %8, align 8
%141 = getelementptr inbounds i8, ptr %139, i64 %140
store i8 47, ptr %141, align 1
%142 = load ptr, ptr %9, align 8
%143 = load i64, ptr %8, align 8
%144 = getelementptr inbounds i8, ptr %142, i64 %143
%145 = getelementptr inbounds i8, ptr %144, i64 1
%146 = load ptr, ptr %3, align 8
%147 = call i32 @strcpy(ptr noundef %145, ptr noundef %146)
br label %171
148: ; preds = %110
%149 = load i64, ptr %12, align 8
%150 = add i64 %149, 1
%151 = load ptr, ptr %3, align 8
%152 = call i64 @strlen(ptr noundef %151)
%153 = add i64 %150, %152
%154 = add i64 %153, 1
%155 = mul i64 %154, 1
%156 = call i64 @xmalloc(i64 noundef %155)
%157 = inttoptr i64 %156 to ptr
store ptr %157, ptr %9, align 8
%158 = load ptr, ptr %9, align 8
%159 = load ptr, ptr %5, align 8
%160 = load i64, ptr %12, align 8
%161 = call i32 @memcpy(ptr noundef %158, ptr noundef %159, i64 noundef %160)
%162 = load ptr, ptr %9, align 8
%163 = load i64, ptr %12, align 8
%164 = getelementptr inbounds i8, ptr %162, i64 %163
store i8 47, ptr %164, align 1
%165 = load ptr, ptr %9, align 8
%166 = load i64, ptr %12, align 8
%167 = getelementptr inbounds i8, ptr %165, i64 %166
%168 = getelementptr inbounds i8, ptr %167, i64 1
%169 = load ptr, ptr %3, align 8
%170 = call i32 @strcpy(ptr noundef %168, ptr noundef %169)
br label %171
171: ; preds = %148, %123
%172 = load ptr, ptr %9, align 8
%173 = call i64 @check_executable(ptr noundef %172)
%174 = icmp ne i64 %173, 0
br i1 %174, label %175, label %177
175: ; preds = %171
%176 = load ptr, ptr %9, align 8
store ptr %176, ptr %2, align 8
br label %241
177: ; preds = %171
br label %178
178: ; preds = %177
%179 = load ptr, ptr %9, align 8
%180 = icmp ne ptr %179, null
br i1 %180, label %181, label %184
181: ; preds = %178
%182 = load ptr, ptr %9, align 8
%183 = call i32 @free(ptr noundef %182)
store ptr null, ptr %9, align 8
br label %184
184: ; preds = %181, %178
br label %185
185: ; preds = %184
br label %186
186: ; preds = %185
%187 = load ptr, ptr %6, align 8
store ptr %187, ptr %5, align 8
%188 = load ptr, ptr %5, align 8
%189 = load i8, ptr %188, align 1
%190 = icmp ne i8 %189, 0
br i1 %190, label %77, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %186
br label %191
191: ; preds = %._crit_edge, %72
br label %192
192: ; preds = %191, %68
br label %193
193: ; preds = %192, %65
%194 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%195 = call ptr @getcwd(ptr noundef %194, i32 noundef 1024)
%196 = icmp eq ptr %195, null
br i1 %196, label %197, label %202
197: ; preds = %193
%198 = load i32, ptr @errno, align 4
%199 = call i32 @strerror(i32 noundef %198)
%200 = call i32 @nonnull(i32 noundef %199)
%201 = call i32 @lt_fatal(ptr noundef @.str, i32 noundef 473, ptr noundef @.str.3, i32 noundef %200)
br label %202
202: ; preds = %197, %193
%203 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%204 = call i64 @strlen(ptr noundef %203)
store i64 %204, ptr %8, align 8
%205 = load i64, ptr %8, align 8
%206 = add i64 %205, 1
%207 = load ptr, ptr %3, align 8
%208 = call i64 @strlen(ptr noundef %207)
%209 = add i64 %206, %208
%210 = add i64 %209, 1
%211 = mul i64 %210, 1
%212 = call i64 @xmalloc(i64 noundef %211)
%213 = inttoptr i64 %212 to ptr
store ptr %213, ptr %9, align 8
%214 = load ptr, ptr %9, align 8
%215 = getelementptr inbounds [1025 x i8], ptr %7, i64 0, i64 0
%216 = load i64, ptr %8, align 8
%217 = call i32 @memcpy(ptr noundef %214, ptr noundef %215, i64 noundef %216)
%218 = load ptr, ptr %9, align 8
%219 = load i64, ptr %8, align 8
%220 = getelementptr inbounds i8, ptr %218, i64 %219
store i8 47, ptr %220, align 1
%221 = load ptr, ptr %9, align 8
%222 = load i64, ptr %8, align 8
%223 = getelementptr inbounds i8, ptr %221, i64 %222
%224 = getelementptr inbounds i8, ptr %223, i64 1
%225 = load ptr, ptr %3, align 8
%226 = call i32 @strcpy(ptr noundef %224, ptr noundef %225)
%227 = load ptr, ptr %9, align 8
%228 = call i64 @check_executable(ptr noundef %227)
%229 = icmp ne i64 %228, 0
br i1 %229, label %230, label %232
230: ; preds = %202
%231 = load ptr, ptr %9, align 8
store ptr %231, ptr %2, align 8
br label %241
232: ; preds = %202
br label %233
233: ; preds = %232
%234 = load ptr, ptr %9, align 8
%235 = icmp ne ptr %234, null
br i1 %235, label %236, label %239
236: ; preds = %233
%237 = load ptr, ptr %9, align 8
%238 = call i32 @free(ptr noundef %237)
store ptr null, ptr %9, align 8
br label %239
239: ; preds = %236, %233
br label %240
240: ; preds = %239
store ptr null, ptr %2, align 8
br label %241
241: ; preds = %240, %230, %175, %36, %23
%242 = load ptr, ptr %2, align 8
ret ptr %242
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonempty(ptr noundef) #1
declare ptr @xstrdup(ptr noundef) #1
declare i64 @check_executable(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i32 @lt_fatal(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonnull(i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @xmalloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpepuljt72.c'
source_filename = "/tmp/tmpepuljt72.c"
target datalayout = "e-m:e-p270: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/tmpepuljt72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_5gsa9qp.c'
source_filename = "/tmp/tmp_5gsa9qp.c"
target datalayout = "e-m:e-p270: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_5gsa9qp.c"
target datalayout = "e-m:e-p270: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/tmpq2i3hrj9.c'
source_filename = "/tmp/tmpq2i3hrj9.c"
target datalayout = "e-m:e-p270: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_nl = type { i32, i32 }
@PF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@NETLINK_ROUTE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"ERR:Could not open netlink socket.\0A\00", align 1
@AF_NETLINK = dso_local global i32 0, align 4
@RTMGRP_LINK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"ERR:Could not bind socket!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_netlink() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_nl, align 4
%4 = load i32, ptr @PF_NETLINK, align 4
%5 = load i32, ptr @SOCK_RAW, align 4
%6 = load i32, ptr @NETLINK_ROUTE, align 4
%7 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %25
12: ; preds = %0
%13 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8)
%14 = load i32, ptr @AF_NETLINK, align 4
%15 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 1
store i32 %14, ptr %15, align 4
%16 = load i32, ptr @RTMGRP_LINK, align 4
%17 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 0
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %2, align 4
%19 = call i64 @bind(i32 noundef %18, ptr noundef %3, i32 noundef 8)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %12
%22 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %25
23: ; preds = %12
%24 = load i32, ptr %2, align 4
store i32 %24, ptr %1, align 4
br label %25
25: ; preds = %23, %21, %10
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq2i3hrj9.c"
target datalayout = "e-m:e-p270: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_nl = type { i32, i32 }
@PF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@NETLINK_ROUTE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"ERR:Could not open netlink socket.\0A\00", align 1
@AF_NETLINK = dso_local global i32 0, align 4
@RTMGRP_LINK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"ERR:Could not bind socket!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_netlink() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_nl, align 4
%4 = load i32, ptr @PF_NETLINK, align 4
%5 = load i32, ptr @SOCK_RAW, align 4
%6 = load i32, ptr @NETLINK_ROUTE, align 4
%7 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %25
12: ; preds = %0
%13 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8)
%14 = load i32, ptr @AF_NETLINK, align 4
%15 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 1
store i32 %14, ptr %15, align 4
%16 = load i32, ptr @RTMGRP_LINK, align 4
%17 = getelementptr inbounds %struct.sockaddr_nl, ptr %3, i32 0, i32 0
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %2, align 4
%19 = call i64 @bind(i32 noundef %18, ptr noundef %3, i32 noundef 8)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %12
%22 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %25
23: ; preds = %12
%24 = load i32, ptr %2, align 4
store i32 %24, ptr %1, align 4
br label %25
25: ; preds = %23, %21, %10
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplcmghm0x.c'
source_filename = "/tmp/tmplcmghm0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"ERROR \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vfail(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = load ptr, ptr %9, align 8
%14 = load i32, ptr %10, align 4
%15 = call i32 @vdiagnostic(ptr noundef @.str, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %6, align 4
%17 = call i32 @die(i32 noundef %16)
ret void
}
declare i32 @vdiagnostic(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @die(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/tmplcmghm0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"ERROR \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vfail(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = load ptr, ptr %9, align 8
%14 = load i32, ptr %10, align 4
%15 = call i32 @vdiagnostic(ptr noundef @.str, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %6, align 4
%17 = call i32 @die(i32 noundef %16)
ret void
}
declare i32 @vdiagnostic(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @die(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/tmpeq87dd1a.c'
source_filename = "/tmp/tmpeq87dd1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/nodout\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @translate_nodout(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @translate_nodout2(ptr noundef @.str, i32 noundef %3)
ret i32 %4
}
declare i32 @translate_nodout2(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/tmpeq87dd1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/nodout\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @translate_nodout(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @translate_nodout2(ptr noundef @.str, i32 noundef %3)
ret i32 %4
}
declare i32 @translate_nodout2(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/tmpqoqkilxz.c'
source_filename = "/tmp/tmpqoqkilxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0AThe result is %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"The result is %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 1.500000e+01, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, float noundef %3)
store float 0x404C5D70A0000000, ptr %2, align 4
%5 = load float, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str.1, float noundef %5)
store float 0x3FBADBE880000000, ptr %2, align 4
%7 = load float, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, float noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqoqkilxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0AThe result is %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"The result is %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 1.500000e+01, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, float noundef %3)
store float 0x404C5D70A0000000, ptr %2, align 4
%5 = load float, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str.1, float noundef %5)
store float 0x3FBADBE880000000, ptr %2, align 4
%7 = load float, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, float noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcvckuduq.c'
source_filename = "/tmp/tmpcvckuduq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @nop_domain() #0 {
%1 = call double (...) @drand48()
ret double %1
}
declare double @drand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcvckuduq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @nop_domain() #0 {
%1 = call double (...) @drand48()
ret double %1
}
declare double @drand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7ewnemze.c'
source_filename = "/tmp/tmp7ewnemze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel302_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel302_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel302_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ewnemze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel302_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel302_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel302_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb9jx3st7.c'
source_filename = "/tmp/tmpb9jx3st7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CPU Error: Opcode not written yet!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OpcodeNotDone() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb9jx3st7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CPU Error: Opcode not written yet!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OpcodeNotDone() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7onx041t.c'
source_filename = "/tmp/tmp7onx041t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binary_to_decimal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %31, %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %34
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 49
br i1 %19, label %20, label %30
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %21, 1
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %22, %23
%25 = call i64 @pow(i32 noundef 2, i32 noundef %24)
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = add nsw i64 %27, %25
%29 = trunc i64 %28 to i32
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %20, %12
br label %31
31: ; preds = %30
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %8, !llvm.loop !6
34: ; preds = %8
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @strlen(ptr noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7onx041t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binary_to_decimal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %5, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %36
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %30
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 49
br i1 %18, label %19, label %29
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %21, %22
%24 = call i64 @pow(i32 noundef 2, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = add nsw i64 %26, %24
%28 = trunc i64 %27 to i32
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %19, %11
br label %30
30: ; preds = %29
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %1
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @strlen(ptr noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwa_q0hbf.c'
source_filename = "/tmp/tmpwa_q0hbf.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
@S_IFCHR = dso_local global i32 0, align 4
@S_IFDIR = dso_local global i32 0, align 4
@S_IFREG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @al_fnature(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @stat(ptr noundef %6, ptr noundef %4)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %33
11: ; preds = %1
%12 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr @S_IFCHR, align 4
%15 = and i32 %13, %14
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %11
store i32 3, ptr %2, align 4
br label %33
18: ; preds = %11
%19 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @S_IFDIR, align 4
%22 = and i32 %20, %21
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 2, ptr %2, align 4
br label %33
25: ; preds = %18
%26 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr @S_IFREG, align 4
%29 = and i32 %27, %28
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 1, ptr %2, align 4
br label %33
32: ; preds = %25
store i32 4, ptr %2, align 4
br label %33
33: ; preds = %32, %31, %24, %17, %10
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare i32 @stat(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/tmpwa_q0hbf.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
@S_IFCHR = dso_local global i32 0, align 4
@S_IFDIR = dso_local global i32 0, align 4
@S_IFREG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @al_fnature(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @stat(ptr noundef %6, ptr noundef %4)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %33
11: ; preds = %1
%12 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr @S_IFCHR, align 4
%15 = and i32 %13, %14
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %11
store i32 3, ptr %2, align 4
br label %33
18: ; preds = %11
%19 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @S_IFDIR, align 4
%22 = and i32 %20, %21
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 2, ptr %2, align 4
br label %33
25: ; preds = %18
%26 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr @S_IFREG, align 4
%29 = and i32 %27, %28
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 1, ptr %2, align 4
br label %33
32: ; preds = %25
store i32 4, ptr %2, align 4
br label %33
33: ; preds = %32, %31, %24, %17, %10
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare i32 @stat(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/tmp6ud_mt5d.c'
source_filename = "/tmp/tmp6ud_mt5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CollapseAmpTtest(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %167, %6
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %170
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %13, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
%23 = load double, ptr %22, align 8
%24 = load double, ptr %10, align 8
%25 = fsub double %23, %24
%26 = call double @llvm.fabs.f64(double %25)
%27 = load double, ptr %11, align 8
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %13, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = sitofp i32 %32 to double
%34 = fdiv double %27, %33
%35 = call double @sqrt(double noundef %34) #3
%36 = fdiv double %26, %35
%37 = load double, ptr %12, align 8
%38 = fcmp olt double %36, %37
br i1 %38, label %39, label %166
39: ; preds = %18
%40 = load i32, ptr %13, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %71
42: ; preds = %39
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %13, align 4
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %43, i64 %46
%48 = load double, ptr %47, align 8
%49 = load double, ptr %10, align 8
%50 = fsub double %48, %49
%51 = call double @llvm.fabs.f64(double %50)
%52 = load double, ptr %11, align 8
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %13, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %53, i64 %56
%58 = load i32, ptr %57, align 4
%59 = sitofp i32 %58 to double
%60 = fdiv double %52, %59
%61 = call double @sqrt(double noundef %60) #3
%62 = fdiv double %51, %61
%63 = load double, ptr %12, align 8
%64 = fcmp olt double %62, %63
br i1 %64, label %65, label %71
65: ; preds = %42
%66 = load double, ptr %10, align 8
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %13, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %67, i64 %69
store double %66, ptr %70, align 8
br label %71
71: ; preds = %65, %42, %39
%72 = load i32, ptr %13, align 4
%73 = load i32, ptr %9, align 4
%74 = sub nsw i32 %73, 1
%75 = icmp slt i32 %72, %74
br i1 %75, label %76, label %105
76: ; preds = %71
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %13, align 4
%79 = add nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, ptr %77, i64 %80
%82 = load double, ptr %81, align 8
%83 = load double, ptr %10, align 8
%84 = fsub double %82, %83
%85 = call double @llvm.fabs.f64(double %84)
%86 = load double, ptr %11, align 8
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %13, align 4
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %87, i64 %90
%92 = load i32, ptr %91, align 4
%93 = sitofp i32 %92 to double
%94 = fdiv double %86, %93
%95 = call double @sqrt(double noundef %94) #3
%96 = fdiv double %85, %95
%97 = load double, ptr %12, align 8
%98 = fcmp olt double %96, %97
br i1 %98, label %99, label %105
99: ; preds = %76
%100 = load double, ptr %10, align 8
%101 = load ptr, ptr %7, align 8
%102 = load i32, ptr %13, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %101, i64 %103
store double %100, ptr %104, align 8
br label %105
105: ; preds = %99, %76, %71
%106 = load i32, ptr %13, align 4
%107 = icmp eq i32 %106, 0
br i1 %107, label %113, label %108
108: ; preds = %105
%109 = load i32, ptr %13, align 4
%110 = load i32, ptr %9, align 4
%111 = sub nsw i32 %110, 1
%112 = icmp eq i32 %109, %111
br i1 %112, label %113, label %119
113: ; preds = %108, %105
%114 = load double, ptr %10, align 8
%115 = load ptr, ptr %7, align 8
%116 = load i32, ptr %13, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
store double %114, ptr %118, align 8
br label %119
119: ; preds = %113, %108
%120 = load i32, ptr %13, align 4
%121 = icmp sgt i32 %120, 0
br i1 %121, label %122, label %141
122: ; preds = %119
%123 = load ptr, ptr %8, align 8
%124 = load i32, ptr %13, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %123, i64 %125
%127 = load i32, ptr %126, align 4
%128 = load ptr, ptr %8, align 8
%129 = load i32, ptr %13, align 4
%130 = sub nsw i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %128, i64 %131
%133 = load i32, ptr %132, align 4
%134 = icmp sgt i32 %127, %133
br i1 %134, label %135, label %141
135: ; preds = %122
%136 = load double, ptr %10, align 8
%137 = load ptr, ptr %7, align 8
%138 = load i32, ptr %13, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, ptr %137, i64 %139
store double %136, ptr %140, align 8
br label %141
141: ; preds = %135, %122, %119
%142 = load i32, ptr %13, align 4
%143 = load i32, ptr %9, align 4
%144 = sub nsw i32 %143, 1
%145 = icmp slt i32 %142, %144
br i1 %145, label %146, label %165
146: ; preds = %141
%147 = load ptr, ptr %8, align 8
%148 = load i32, ptr %13, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
%151 = load i32, ptr %150, align 4
%152 = load ptr, ptr %8, align 8
%153 = load i32, ptr %13, align 4
%154 = add nsw i32 %153, 1
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i32, ptr %152, i64 %155
%157 = load i32, ptr %156, align 4
%158 = icmp sgt i32 %151, %157
br i1 %158, label %159, label %165
159: ; preds = %146
%160 = load double, ptr %10, align 8
%161 = load ptr, ptr %7, align 8
%162 = load i32, ptr %13, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %161, i64 %163
store double %160, ptr %164, align 8
br label %165
165: ; preds = %159, %146, %141
br label %166
166: ; preds = %165, %18
br label %167
167: ; preds = %166
%168 = load i32, ptr %13, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %13, align 4
br label %14, !llvm.loop !6
170: ; preds = %14
ret void
}
; 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ud_mt5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CollapseAmpTtest(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
store i32 0, ptr %13, align 4
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %172
.lr.ph: ; preds = %6
br label %17
17: ; preds = %.lr.ph, %166
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %13, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = load double, ptr %10, align 8
%24 = fsub double %22, %23
%25 = call double @llvm.fabs.f64(double %24)
%26 = load double, ptr %11, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %13, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = sitofp i32 %31 to double
%33 = fdiv double %26, %32
%34 = call double @sqrt(double noundef %33) #3
%35 = fdiv double %25, %34
%36 = load double, ptr %12, align 8
%37 = fcmp olt double %35, %36
br i1 %37, label %38, label %165
38: ; preds = %17
%39 = load i32, ptr %13, align 4
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %70
41: ; preds = %38
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %13, align 4
%44 = sub nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %42, i64 %45
%47 = load double, ptr %46, align 8
%48 = load double, ptr %10, align 8
%49 = fsub double %47, %48
%50 = call double @llvm.fabs.f64(double %49)
%51 = load double, ptr %11, align 8
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %13, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
%57 = load i32, ptr %56, align 4
%58 = sitofp i32 %57 to double
%59 = fdiv double %51, %58
%60 = call double @sqrt(double noundef %59) #3
%61 = fdiv double %50, %60
%62 = load double, ptr %12, align 8
%63 = fcmp olt double %61, %62
br i1 %63, label %64, label %70
64: ; preds = %41
%65 = load double, ptr %10, align 8
%66 = load ptr, ptr %7, align 8
%67 = load i32, ptr %13, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %66, i64 %68
store double %65, ptr %69, align 8
br label %70
70: ; preds = %64, %41, %38
%71 = load i32, ptr %13, align 4
%72 = load i32, ptr %9, align 4
%73 = sub nsw i32 %72, 1
%74 = icmp slt i32 %71, %73
br i1 %74, label %75, label %104
75: ; preds = %70
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %13, align 4
%78 = add nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %76, i64 %79
%81 = load double, ptr %80, align 8
%82 = load double, ptr %10, align 8
%83 = fsub double %81, %82
%84 = call double @llvm.fabs.f64(double %83)
%85 = load double, ptr %11, align 8
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %13, align 4
%88 = add nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %86, i64 %89
%91 = load i32, ptr %90, align 4
%92 = sitofp i32 %91 to double
%93 = fdiv double %85, %92
%94 = call double @sqrt(double noundef %93) #3
%95 = fdiv double %84, %94
%96 = load double, ptr %12, align 8
%97 = fcmp olt double %95, %96
br i1 %97, label %98, label %104
98: ; preds = %75
%99 = load double, ptr %10, align 8
%100 = load ptr, ptr %7, align 8
%101 = load i32, ptr %13, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %100, i64 %102
store double %99, ptr %103, align 8
br label %104
104: ; preds = %98, %75, %70
%105 = load i32, ptr %13, align 4
%106 = icmp eq i32 %105, 0
br i1 %106, label %112, label %107
107: ; preds = %104
%108 = load i32, ptr %13, align 4
%109 = load i32, ptr %9, align 4
%110 = sub nsw i32 %109, 1
%111 = icmp eq i32 %108, %110
br i1 %111, label %112, label %118
112: ; preds = %107, %104
%113 = load double, ptr %10, align 8
%114 = load ptr, ptr %7, align 8
%115 = load i32, ptr %13, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, ptr %114, i64 %116
store double %113, ptr %117, align 8
br label %118
118: ; preds = %112, %107
%119 = load i32, ptr %13, align 4
%120 = icmp sgt i32 %119, 0
br i1 %120, label %121, label %140
121: ; preds = %118
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %13, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %122, i64 %124
%126 = load i32, ptr %125, align 4
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %13, align 4
%129 = sub nsw i32 %128, 1
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %127, i64 %130
%132 = load i32, ptr %131, align 4
%133 = icmp sgt i32 %126, %132
br i1 %133, label %134, label %140
134: ; preds = %121
%135 = load double, ptr %10, align 8
%136 = load ptr, ptr %7, align 8
%137 = load i32, ptr %13, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
store double %135, ptr %139, align 8
br label %140
140: ; preds = %134, %121, %118
%141 = load i32, ptr %13, align 4
%142 = load i32, ptr %9, align 4
%143 = sub nsw i32 %142, 1
%144 = icmp slt i32 %141, %143
br i1 %144, label %145, label %164
145: ; preds = %140
%146 = load ptr, ptr %8, align 8
%147 = load i32, ptr %13, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, ptr %146, i64 %148
%150 = load i32, ptr %149, align 4
%151 = load ptr, ptr %8, align 8
%152 = load i32, ptr %13, align 4
%153 = add nsw i32 %152, 1
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %151, i64 %154
%156 = load i32, ptr %155, align 4
%157 = icmp sgt i32 %150, %156
br i1 %157, label %158, label %164
158: ; preds = %145
%159 = load double, ptr %10, align 8
%160 = load ptr, ptr %7, align 8
%161 = load i32, ptr %13, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds double, ptr %160, i64 %162
store double %159, ptr %163, align 8
br label %164
164: ; preds = %158, %145, %140
br label %165
165: ; preds = %164, %17
br label %166
166: ; preds = %165
%167 = load i32, ptr %13, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %13, align 4
%169 = load i32, ptr %13, align 4
%170 = load i32, ptr %9, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %166
br label %172
172: ; preds = %._crit_edge, %6
ret void
}
; 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"}
|
; ModuleID = '/tmp/tmp5fj7rkhx.c'
source_filename = "/tmp/tmp5fj7rkhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @board_init_f_mmc() #0 {
%1 = call i32 (...) @copy_code_to_dram()
ret void
}
declare i32 @copy_code_to_dram(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5fj7rkhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @board_init_f_mmc() #0 {
%1 = call i32 (...) @copy_code_to_dram()
ret void
}
declare i32 @copy_code_to_dram(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1ugu1ur1.c'
source_filename = "/tmp/tmp1ugu1ur1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [14 x i8] c"Invalid input\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
10: ; preds = %0
br label %11
11: ; preds = %15, %10
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %11, !llvm.loop !6
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21)
br label %23
23: ; preds = %20, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ugu1ur1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [14 x i8] c"Invalid input\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %25
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %.lr.ph, label %22
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %22
22: ; preds = %._crit_edge, %10
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23)
br label %25
25: ; preds = %22, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpknaw0g23.c'
source_filename = "/tmp/tmpknaw0g23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @map2check_non_det_ulong() #0 {
%1 = call i32 (...) @get_next_input_from_fuzzer()
ret i32 %1
}
declare i32 @get_next_input_from_fuzzer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpknaw0g23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @map2check_non_det_ulong() #0 {
%1 = call i32 (...) @get_next_input_from_fuzzer()
ret i32 %1
}
declare i32 @get_next_input_from_fuzzer(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbfo8oxwh.c'
source_filename = "/tmp/tmpbfo8oxwh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x61() #0 {
%1 = call i32 @isalnum(i32 noundef 97) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 490, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbfo8oxwh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x61() #0 {
%1 = call i32 @isalnum(i32 noundef 97) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 490, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalnum(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnntx69w9.c'
source_filename = "/tmp/tmpnntx69w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDD = dso_local global i64 0, align 8
@MPFR_RNDU = 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/tmpnntx69w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDD = dso_local global i64 0, align 8
@MPFR_RNDU = 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/tmpk5mp3us2.c'
source_filename = "/tmp/tmpk5mp3us2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @sinh(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @exp(double noundef %4) #2
store double %5, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = fdiv double 1.000000e+00, %7
%9 = fsub double %6, %8
%10 = fmul double %9, 5.000000e-01
ret double %10
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk5mp3us2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @sinh(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @exp(double noundef %4) #2
store double %5, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = fdiv double 1.000000e+00, %7
%9 = fsub double %6, %8
%10 = fmul double %9, 5.000000e-01
ret double %10
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2mx4urad.c'
source_filename = "/tmp/tmp2mx4urad.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterIntClear(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @I2CMasterBaseValid(i64 noundef %3)
%5 = call i32 @DEBUG_ASSERT(i32 noundef %4)
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 28
%8 = inttoptr i64 %7 to ptr
store volatile i64 1, ptr %8, align 8
%9 = load i64, ptr %2, align 8
%10 = add i64 %9, 24
%11 = inttoptr i64 %10 to ptr
store volatile i64 1, ptr %11, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @I2CMasterBaseValid(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/tmp2mx4urad.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterIntClear(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @I2CMasterBaseValid(i64 noundef %3)
%5 = call i32 @DEBUG_ASSERT(i32 noundef %4)
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 28
%8 = inttoptr i64 %7 to ptr
store volatile i64 1, ptr %8, align 8
%9 = load i64, ptr %2, align 8
%10 = add i64 %9, 24
%11 = inttoptr i64 %10 to ptr
store volatile i64 1, ptr %11, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @I2CMasterBaseValid(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/tmpmtt3ztks.c'
source_filename = "/tmp/tmpmtt3ztks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr_ex(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %6, align 8
br label %12
12: ; preds = %2, %110
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @strstr(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %12
br label %113
19: ; preds = %12
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %4, align 8
%26 = icmp eq ptr %24, %25
br i1 %26, label %69, label %27
27: ; preds = %19
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 -1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 32
br i1 %32, label %69, label %33
33: ; preds = %27
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 -1
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 9
br i1 %38, label %69, label %39
39: ; preds = %33
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 -1
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 0
br i1 %44, label %69, label %45
45: ; preds = %39
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 -1
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 42
br i1 %50, label %69, label %51
51: ; preds = %45
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 -1
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 44
br i1 %56, label %69, label %57
57: ; preds = %51
%58 = load ptr, ptr %6, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 -1
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 13
br i1 %62, label %69, label %63
63: ; preds = %57
%64 = load ptr, ptr %6, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 -1
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 10
br i1 %68, label %69, label %110
69: ; preds = %63, %57, %51, %45, %39, %33, %27, %19
%70 = load ptr, ptr %7, align 8
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 32
br i1 %73, label %109, label %74
74: ; preds = %69
%75 = load ptr, ptr %7, align 8
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 9
br i1 %78, label %109, label %79
79: ; preds = %74
%80 = load ptr, ptr %7, align 8
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 0
br i1 %83, label %109, label %84
84: ; preds = %79
%85 = load ptr, ptr %7, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 92
br i1 %88, label %109, label %89
89: ; preds = %84
%90 = load ptr, ptr %7, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 58
br i1 %93, label %109, label %94
94: ; preds = %89
%95 = load ptr, ptr %7, align 8
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 44
br i1 %98, label %109, label %99
99: ; preds = %94
%100 = load ptr, ptr %7, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 13
br i1 %103, label %109, label %104
104: ; preds = %99
%105 = load ptr, ptr %7, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 10
br i1 %108, label %109, label %110
109: ; preds = %104, %99, %94, %89, %84, %79, %74, %69
br label %113
110: ; preds = %104, %63
%111 = load ptr, ptr %6, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %6, align 8
br label %12
113: ; preds = %109, %18
%114 = load ptr, ptr %6, align 8
%115 = icmp ne ptr %114, null
br i1 %115, label %118, label %116
116: ; preds = %113
%117 = load ptr, ptr %6, align 8
store ptr %117, ptr %3, align 8
br label %259
118: ; preds = %113
%119 = load ptr, ptr %6, align 8
store ptr %119, ptr %7, align 8
%120 = load ptr, ptr %5, align 8
%121 = call i32 @strlen(ptr noundef %120)
%122 = load ptr, ptr %6, align 8
%123 = sext i32 %121 to i64
%124 = getelementptr inbounds i8, ptr %122, i64 %123
store ptr %124, ptr %6, align 8
%125 = load ptr, ptr %6, align 8
%126 = load ptr, ptr %5, align 8
%127 = icmp ugt ptr %125, %126
br i1 %127, label %128, label %214
128: ; preds = %118
%129 = load ptr, ptr %6, align 8
%130 = getelementptr inbounds i8, ptr %129, i64 -1
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 32
br i1 %133, label %213, label %134
134: ; preds = %128
%135 = load ptr, ptr %6, align 8
%136 = getelementptr inbounds i8, ptr %135, i64 -1
%137 = load i8, ptr %136, align 1
%138 = sext i8 %137 to i32
%139 = icmp eq i32 %138, 9
br i1 %139, label %213, label %140
140: ; preds = %134
%141 = load ptr, ptr %6, align 8
%142 = getelementptr inbounds i8, ptr %141, i64 -1
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp eq i32 %144, 59
br i1 %145, label %213, label %146
146: ; preds = %140
%147 = load ptr, ptr %6, align 8
%148 = getelementptr inbounds i8, ptr %147, i64 -1
%149 = load i8, ptr %148, align 1
%150 = sext i8 %149 to i32
%151 = icmp eq i32 %150, 58
br i1 %151, label %213, label %152
152: ; preds = %146
%153 = load ptr, ptr %6, align 8
%154 = getelementptr inbounds i8, ptr %153, i64 -1
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 0
br i1 %157, label %213, label %158
158: ; preds = %152
%159 = load ptr, ptr %6, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 -1
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 10
br i1 %163, label %213, label %164
164: ; preds = %158
%165 = load ptr, ptr %6, align 8
%166 = getelementptr inbounds i8, ptr %165, i64 -1
%167 = load i8, ptr %166, align 1
%168 = sext i8 %167 to i32
%169 = icmp eq i32 %168, 42
br i1 %169, label %213, label %170
170: ; preds = %164
%171 = load ptr, ptr %6, align 8
%172 = getelementptr inbounds i8, ptr %171, i64 -1
%173 = load i8, ptr %172, align 1
%174 = sext i8 %173 to i32
%175 = icmp eq i32 %174, 61
br i1 %175, label %213, label %176
176: ; preds = %170
%177 = load ptr, ptr %6, align 8
%178 = load i8, ptr %177, align 1
%179 = sext i8 %178 to i32
%180 = icmp eq i32 %179, 32
br i1 %180, label %212, label %181
181: ; preds = %176
%182 = load ptr, ptr %6, align 8
%183 = load i8, ptr %182, align 1
%184 = sext i8 %183 to i32
%185 = icmp eq i32 %184, 9
br i1 %185, label %212, label %186
186: ; preds = %181
%187 = load ptr, ptr %6, align 8
%188 = load i8, ptr %187, align 1
%189 = sext i8 %188 to i32
%190 = icmp eq i32 %189, 59
br i1 %190, label %212, label %191
191: ; preds = %186
%192 = load ptr, ptr %6, align 8
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
%195 = icmp eq i32 %194, 58
br i1 %195, label %212, label %196
196: ; preds = %191
%197 = load ptr, ptr %6, align 8
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 0
br i1 %200, label %212, label %201
201: ; preds = %196
%202 = load ptr, ptr %6, align 8
%203 = load i8, ptr %202, align 1
%204 = sext i8 %203 to i32
%205 = icmp eq i32 %204, 10
br i1 %205, label %212, label %206
206: ; preds = %201
%207 = load ptr, ptr %6, align 8
%208 = load i8, ptr %207, align 1
%209 = sext i8 %208 to i32
%210 = icmp eq i32 %209, 42
br i1 %210, label %212, label %211
211: ; preds = %206
store ptr null, ptr %3, align 8
br label %259
212: ; preds = %206, %201, %196, %191, %186, %181, %176
br label %213
213: ; preds = %212, %170, %164, %158, %152, %146, %140, %134, %128
br label %214
214: ; preds = %213, %118
%215 = load ptr, ptr %7, align 8
%216 = load ptr, ptr %4, align 8
%217 = icmp ugt ptr %215, %216
br i1 %217, label %218, label %257
218: ; preds = %214
%219 = load ptr, ptr %7, align 8
%220 = getelementptr inbounds i8, ptr %219, i64 -1
store ptr %220, ptr %6, align 8
%221 = load ptr, ptr %6, align 8
%222 = load i8, ptr %221, align 1
%223 = sext i8 %222 to i32
%224 = icmp eq i32 %223, 32
br i1 %224, label %256, label %225
225: ; preds = %218
%226 = load ptr, ptr %6, align 8
%227 = load i8, ptr %226, align 1
%228 = sext i8 %227 to i32
%229 = icmp eq i32 %228, 9
br i1 %229, label %256, label %230
230: ; preds = %225
%231 = load ptr, ptr %6, align 8
%232 = load i8, ptr %231, align 1
%233 = sext i8 %232 to i32
%234 = icmp eq i32 %233, 59
br i1 %234, label %256, label %235
235: ; preds = %230
%236 = load ptr, ptr %6, align 8
%237 = load i8, ptr %236, align 1
%238 = sext i8 %237 to i32
%239 = icmp eq i32 %238, 58
br i1 %239, label %256, label %240
240: ; preds = %235
%241 = load ptr, ptr %6, align 8
%242 = load i8, ptr %241, align 1
%243 = sext i8 %242 to i32
%244 = icmp eq i32 %243, 0
br i1 %244, label %256, label %245
245: ; preds = %240
%246 = load ptr, ptr %6, align 8
%247 = load i8, ptr %246, align 1
%248 = sext i8 %247 to i32
%249 = icmp eq i32 %248, 10
br i1 %249, label %256, label %250
250: ; preds = %245
%251 = load ptr, ptr %6, align 8
%252 = load i8, ptr %251, align 1
%253 = sext i8 %252 to i32
%254 = icmp eq i32 %253, 42
br i1 %254, label %256, label %255
255: ; preds = %250
store ptr null, ptr %3, align 8
br label %259
256: ; preds = %250, %245, %240, %235, %230, %225, %218
br label %257
257: ; preds = %256, %214
%258 = load ptr, ptr %7, align 8
store ptr %258, ptr %3, align 8
br label %259
259: ; preds = %257, %255, %211, %116
%260 = load ptr, ptr %3, align 8
ret ptr %260
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(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/tmpmtt3ztks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr_ex(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
%14 = call ptr @strstr(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %.lr.ph
.lr.ph: ; preds = %2
br label %18
._crit_edge: ; preds = %109
br label %17
17: ; preds = %._crit_edge, %2
br label %117
18: ; preds = %.lr.ph, %109
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store ptr %22, ptr %7, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %4, align 8
%25 = icmp eq ptr %23, %24
br i1 %25, label %68, label %26
26: ; preds = %18
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 -1
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 32
br i1 %31, label %68, label %32
32: ; preds = %26
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 -1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 9
br i1 %37, label %68, label %38
38: ; preds = %32
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 -1
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 0
br i1 %43, label %68, label %44
44: ; preds = %38
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 -1
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 42
br i1 %49, label %68, label %50
50: ; preds = %44
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 -1
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 44
br i1 %55, label %68, label %56
56: ; preds = %50
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 -1
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 13
br i1 %61, label %68, label %62
62: ; preds = %56
%63 = load ptr, ptr %6, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 -1
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 10
br i1 %67, label %68, label %109
68: ; preds = %62, %56, %50, %44, %38, %32, %26, %18
%69 = load ptr, ptr %7, align 8
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 32
br i1 %72, label %108, label %73
73: ; preds = %68
%74 = load ptr, ptr %7, align 8
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 9
br i1 %77, label %108, label %78
78: ; preds = %73
%79 = load ptr, ptr %7, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 0
br i1 %82, label %108, label %83
83: ; preds = %78
%84 = load ptr, ptr %7, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 92
br i1 %87, label %108, label %88
88: ; preds = %83
%89 = load ptr, ptr %7, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 58
br i1 %92, label %108, label %93
93: ; preds = %88
%94 = load ptr, ptr %7, align 8
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 44
br i1 %97, label %108, label %98
98: ; preds = %93
%99 = load ptr, ptr %7, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 13
br i1 %102, label %108, label %103
103: ; preds = %98
%104 = load ptr, ptr %7, align 8
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 10
br i1 %107, label %108, label %109
108: ; preds = %103, %98, %93, %88, %83, %78, %73, %68
br label %117
109: ; preds = %103, %62
%110 = load ptr, ptr %6, align 8
%111 = getelementptr inbounds i8, ptr %110, i32 1
store ptr %111, ptr %6, align 8
%112 = load ptr, ptr %6, align 8
%113 = load ptr, ptr %5, align 8
%114 = call ptr @strstr(ptr noundef %112, ptr noundef %113)
store ptr %114, ptr %6, align 8
%115 = load ptr, ptr %6, align 8
%116 = icmp eq ptr %115, null
br i1 %116, label %._crit_edge, label %18
117: ; preds = %108, %17
%118 = load ptr, ptr %6, align 8
%119 = icmp ne ptr %118, null
br i1 %119, label %122, label %120
120: ; preds = %117
%121 = load ptr, ptr %6, align 8
store ptr %121, ptr %3, align 8
br label %263
122: ; preds = %117
%123 = load ptr, ptr %6, align 8
store ptr %123, ptr %7, align 8
%124 = load ptr, ptr %5, align 8
%125 = call i32 @strlen(ptr noundef %124)
%126 = load ptr, ptr %6, align 8
%127 = sext i32 %125 to i64
%128 = getelementptr inbounds i8, ptr %126, i64 %127
store ptr %128, ptr %6, align 8
%129 = load ptr, ptr %6, align 8
%130 = load ptr, ptr %5, align 8
%131 = icmp ugt ptr %129, %130
br i1 %131, label %132, label %218
132: ; preds = %122
%133 = load ptr, ptr %6, align 8
%134 = getelementptr inbounds i8, ptr %133, i64 -1
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp eq i32 %136, 32
br i1 %137, label %217, label %138
138: ; preds = %132
%139 = load ptr, ptr %6, align 8
%140 = getelementptr inbounds i8, ptr %139, i64 -1
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = icmp eq i32 %142, 9
br i1 %143, label %217, label %144
144: ; preds = %138
%145 = load ptr, ptr %6, align 8
%146 = getelementptr inbounds i8, ptr %145, i64 -1
%147 = load i8, ptr %146, align 1
%148 = sext i8 %147 to i32
%149 = icmp eq i32 %148, 59
br i1 %149, label %217, label %150
150: ; preds = %144
%151 = load ptr, ptr %6, align 8
%152 = getelementptr inbounds i8, ptr %151, i64 -1
%153 = load i8, ptr %152, align 1
%154 = sext i8 %153 to i32
%155 = icmp eq i32 %154, 58
br i1 %155, label %217, label %156
156: ; preds = %150
%157 = load ptr, ptr %6, align 8
%158 = getelementptr inbounds i8, ptr %157, i64 -1
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp eq i32 %160, 0
br i1 %161, label %217, label %162
162: ; preds = %156
%163 = load ptr, ptr %6, align 8
%164 = getelementptr inbounds i8, ptr %163, i64 -1
%165 = load i8, ptr %164, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 10
br i1 %167, label %217, label %168
168: ; preds = %162
%169 = load ptr, ptr %6, align 8
%170 = getelementptr inbounds i8, ptr %169, i64 -1
%171 = load i8, ptr %170, align 1
%172 = sext i8 %171 to i32
%173 = icmp eq i32 %172, 42
br i1 %173, label %217, label %174
174: ; preds = %168
%175 = load ptr, ptr %6, align 8
%176 = getelementptr inbounds i8, ptr %175, i64 -1
%177 = load i8, ptr %176, align 1
%178 = sext i8 %177 to i32
%179 = icmp eq i32 %178, 61
br i1 %179, label %217, label %180
180: ; preds = %174
%181 = load ptr, ptr %6, align 8
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = icmp eq i32 %183, 32
br i1 %184, label %216, label %185
185: ; preds = %180
%186 = load ptr, ptr %6, align 8
%187 = load i8, ptr %186, align 1
%188 = sext i8 %187 to i32
%189 = icmp eq i32 %188, 9
br i1 %189, label %216, label %190
190: ; preds = %185
%191 = load ptr, ptr %6, align 8
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = icmp eq i32 %193, 59
br i1 %194, label %216, label %195
195: ; preds = %190
%196 = load ptr, ptr %6, align 8
%197 = load i8, ptr %196, align 1
%198 = sext i8 %197 to i32
%199 = icmp eq i32 %198, 58
br i1 %199, label %216, label %200
200: ; preds = %195
%201 = load ptr, ptr %6, align 8
%202 = load i8, ptr %201, align 1
%203 = sext i8 %202 to i32
%204 = icmp eq i32 %203, 0
br i1 %204, label %216, label %205
205: ; preds = %200
%206 = load ptr, ptr %6, align 8
%207 = load i8, ptr %206, align 1
%208 = sext i8 %207 to i32
%209 = icmp eq i32 %208, 10
br i1 %209, label %216, label %210
210: ; preds = %205
%211 = load ptr, ptr %6, align 8
%212 = load i8, ptr %211, align 1
%213 = sext i8 %212 to i32
%214 = icmp eq i32 %213, 42
br i1 %214, label %216, label %215
215: ; preds = %210
store ptr null, ptr %3, align 8
br label %263
216: ; preds = %210, %205, %200, %195, %190, %185, %180
br label %217
217: ; preds = %216, %174, %168, %162, %156, %150, %144, %138, %132
br label %218
218: ; preds = %217, %122
%219 = load ptr, ptr %7, align 8
%220 = load ptr, ptr %4, align 8
%221 = icmp ugt ptr %219, %220
br i1 %221, label %222, label %261
222: ; preds = %218
%223 = load ptr, ptr %7, align 8
%224 = getelementptr inbounds i8, ptr %223, i64 -1
store ptr %224, ptr %6, align 8
%225 = load ptr, ptr %6, align 8
%226 = load i8, ptr %225, align 1
%227 = sext i8 %226 to i32
%228 = icmp eq i32 %227, 32
br i1 %228, label %260, label %229
229: ; preds = %222
%230 = load ptr, ptr %6, align 8
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %232, 9
br i1 %233, label %260, label %234
234: ; preds = %229
%235 = load ptr, ptr %6, align 8
%236 = load i8, ptr %235, align 1
%237 = sext i8 %236 to i32
%238 = icmp eq i32 %237, 59
br i1 %238, label %260, label %239
239: ; preds = %234
%240 = load ptr, ptr %6, align 8
%241 = load i8, ptr %240, align 1
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 58
br i1 %243, label %260, label %244
244: ; preds = %239
%245 = load ptr, ptr %6, align 8
%246 = load i8, ptr %245, align 1
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 0
br i1 %248, label %260, label %249
249: ; preds = %244
%250 = load ptr, ptr %6, align 8
%251 = load i8, ptr %250, align 1
%252 = sext i8 %251 to i32
%253 = icmp eq i32 %252, 10
br i1 %253, label %260, label %254
254: ; preds = %249
%255 = load ptr, ptr %6, align 8
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = icmp eq i32 %257, 42
br i1 %258, label %260, label %259
259: ; preds = %254
store ptr null, ptr %3, align 8
br label %263
260: ; preds = %254, %249, %244, %239, %234, %229, %222
br label %261
261: ; preds = %260, %218
%262 = load ptr, ptr %7, align 8
store ptr %262, ptr %3, align 8
br label %263
263: ; preds = %261, %259, %215, %120
%264 = load ptr, ptr %3, align 8
ret ptr %264
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(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/tmpjipb8dvx.c'
source_filename = "/tmp/tmpjipb8dvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\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 ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i32, i64 %7, align 16
store i64 %7, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %14, %0
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %9, i64 %16
store i32 0, ptr %17, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %10, !llvm.loop !6
20: ; preds = %10
store i32 0, ptr %5, align 4
br label %21
21: ; preds = %25, %20
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %46
25: ; preds = %21
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %26, %27
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %9, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %9, i64 %34
store i32 %32, ptr %35, align 4
%36 = load i32, ptr %2, align 4
%37 = load i32, ptr %5, align 4
%38 = sub nsw i32 %36, %37
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %9, i64 %40
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %41, align 4
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %21, !llvm.loop !8
46: ; preds = %21
store i32 0, ptr %5, align 4
br label %47
47: ; preds = %50, %46
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %48, 10
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %9, i64 %52
%54 = load i32, ptr %53, align 4
%55 = call i32 @printf(ptr noundef @.str, i32 noundef %54)
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %5, align 4
br label %47, !llvm.loop !9
58: ; preds = %47
store i32 0, ptr %1, align 4
%59 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %59)
%60 = load i32, ptr %1, align 4
ret i32 %60
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjipb8dvx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\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 ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i32, i64 %7, align 16
store i64 %7, ptr %4, align 8
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %9, i64 %15
store i32 0, ptr %16, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %22
22: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph2, label %50
.lr.ph2: ; preds = %22
br label %26
26: ; preds = %.lr.ph2, %26
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %27, %28
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %9, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %9, i64 %35
store i32 %33, ptr %36, align 4
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %37, %38
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %9, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %42, align 4
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %2, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %50
50: ; preds = %._crit_edge3, %22
store i32 0, ptr %5, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp slt i32 %51, 10
br i1 %52, label %.lr.ph5, label %63
.lr.ph5: ; preds = %50
br label %53
53: ; preds = %.lr.ph5, %53
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %9, i64 %55
%57 = load i32, ptr %56, align 4
%58 = call i32 @printf(ptr noundef @.str, i32 noundef %57)
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp slt i32 %61, 10
br i1 %62, label %53, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %53
br label %63
63: ; preds = %._crit_edge6, %50
store i32 0, ptr %1, align 4
%64 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %64)
%65 = load i32, ptr %1, align 4
ret i32 %65
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpz2v1lx37.c'
source_filename = "/tmp/tmpz2v1lx37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"%sFailed.%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"%sSuccess.%s\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"\1B[32m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printWithStatus(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 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3)
br label %13
11: ; preds = %2
%12 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.3)
br label %13
13: ; preds = %11, %9
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/tmpz2v1lx37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"%sFailed.%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"%sSuccess.%s\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"\1B[32m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printWithStatus(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 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3)
br label %13
11: ; preds = %2
%12 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.3)
br label %13
13: ; preds = %11, %9
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/tmp5rcpsf6c.c'
source_filename = "/tmp/tmp5rcpsf6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iRobot_Start() #0 {
%1 = call i32 @SerialWriteChar(i32 noundef 128)
ret void
}
declare i32 @SerialWriteChar(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/tmp5rcpsf6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iRobot_Start() #0 {
%1 = call i32 @SerialWriteChar(i32 noundef 128)
ret void
}
declare i32 @SerialWriteChar(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/tmpl3y7nli8.c'
source_filename = "/tmp/tmpl3y7nli8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @gb_log2(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 float @gb_log(float noundef %3)
%5 = fdiv float %4, 0x3FE62E4300000000
ret float %5
}
declare float @gb_log(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/tmpl3y7nli8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @gb_log2(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 float @gb_log(float noundef %3)
%5 = fdiv float %4, 0x3FE62E4300000000
ret float %5
}
declare float @gb_log(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/tmp0gt_hwda.c'
source_filename = "/tmp/tmp0gt_hwda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0gt_hwda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8upgj8wp.c'
source_filename = "/tmp/tmp8upgj8wp.c"
target datalayout = "e-m:e-p270: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/tmp8upgj8wp.c"
target datalayout = "e-m:e-p270: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/tmpqiecsgn2.c'
source_filename = "/tmp/tmpqiecsgn2.c"
target datalayout = "e-m:e-p270: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/tmpqiecsgn2.c"
target datalayout = "e-m:e-p270: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/tmpo8ghxvff.c'
source_filename = "/tmp/tmpo8ghxvff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getNumberFromFile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @puts(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %42
17: ; preds = %3
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %30, %17
%19 = load ptr, ptr %8, align 8
%20 = call i64 @fscanf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %9)
%21 = load i64, ptr @EOF, align 8
%22 = icmp ne i64 %20, %21
br i1 %22, label %23, label %38
23: ; preds = %18
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load ptr, ptr %8, align 8
%29 = call i32 @fclose(ptr noundef %28)
store i32 -2, ptr %4, align 4
br label %42
30: ; preds = %23
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
%36 = load i32, ptr %10, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %10, align 4
br label %18, !llvm.loop !6
38: ; preds = %18
%39 = load ptr, ptr %8, align 8
%40 = call i32 @fclose(ptr noundef %39)
%41 = load i32, ptr %10, align 4
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %38, %27, %15
%43 = load i32, ptr %4, align 4
ret i32 %43
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8ghxvff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getNumberFromFile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @puts(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %45
17: ; preds = %3
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%18 = load ptr, ptr %8, align 8
%19 = call i64 @fscanf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %9)
%20 = load i64, ptr @EOF, align 8
%21 = icmp ne i64 %19, %20
br i1 %21, label %.lr.ph, label %41
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %29
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load ptr, ptr %8, align 8
%28 = call i32 @fclose(ptr noundef %27)
store i32 -2, ptr %4, align 4
br label %45
29: ; preds = %22
%30 = load i32, ptr %9, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 %30, ptr %34, align 4
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %10, align 4
%37 = load ptr, ptr %8, align 8
%38 = call i64 @fscanf(ptr noundef %37, ptr noundef @.str.2, ptr noundef %9)
%39 = load i64, ptr @EOF, align 8
%40 = icmp ne i64 %38, %39
br i1 %40, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %41
41: ; preds = %._crit_edge, %17
%42 = load ptr, ptr %8, align 8
%43 = call i32 @fclose(ptr noundef %42)
%44 = load i32, ptr %10, align 4
store i32 %44, ptr %4, align 4
br label %45
45: ; preds = %41, %26, %15
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwrf7x7g5.c'
source_filename = "/tmp/tmpwrf7x7g5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vasprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = call i32 @vsnprintf(ptr noundef null, i32 noundef 0, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i32, ptr %8, align 4
store i32 %15, ptr %4, align 4
br label %35
16: ; preds = %3
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %17, 1
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
%21 = load ptr, ptr %5, align 8
store ptr %20, ptr %21, align 8
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %22, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %16
store i32 -1, ptr %4, align 4
br label %35
26: ; preds = %16
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = call i32 @vsnprintf(ptr noundef %28, i32 noundef %30, ptr noundef %31, i32 noundef %32)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %26, %25, %14
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwrf7x7g5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vasprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = call i32 @vsnprintf(ptr noundef null, i32 noundef 0, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i32, ptr %8, align 4
store i32 %15, ptr %4, align 4
br label %35
16: ; preds = %3
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %17, 1
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
%21 = load ptr, ptr %5, align 8
store ptr %20, ptr %21, align 8
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %22, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %16
store i32 -1, ptr %4, align 4
br label %35
26: ; preds = %16
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = call i32 @vsnprintf(ptr noundef %28, i32 noundef %30, ptr noundef %31, i32 noundef %32)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %26, %25, %14
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
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"}
|
; ModuleID = '/tmp/tmp_3bt8est.c'
source_filename = "/tmp/tmp_3bt8est.c"
target datalayout = "e-m:e-p270: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_3bt8est.c"
target datalayout = "e-m:e-p270: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/tmpph8jv86c.c'
source_filename = "/tmp/tmpph8jv86c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transfer_gaps_multi(i32 noundef %0, ptr noundef %1, ptr noundef %2, i8 noundef signext %3, i8 noundef signext %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i8 %3, ptr %9, align 1
store i8 %4, ptr %10, align 1
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 8, %14
%16 = trunc i64 %15 to i32
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %18
18: ; preds = %40, %5
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %43
22: ; preds = %18
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %12, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i8, ptr %9, align 1
%34 = load i8, ptr %10, align 1
%35 = call ptr @transfer_gaps(ptr noundef %27, ptr noundef %32, i8 noundef signext %33, i8 noundef signext %34)
%36 = load ptr, ptr %11, align 8
%37 = load i32, ptr %12, 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 = %22
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %12, align 4
br label %18, !llvm.loop !6
43: ; preds = %18
%44 = load ptr, ptr %11, align 8
ret ptr %44
}
declare ptr @malloc(i32 noundef) #1
declare ptr @transfer_gaps(ptr noundef, ptr noundef, i8 noundef signext, 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/tmpph8jv86c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transfer_gaps_multi(i32 noundef %0, ptr noundef %1, ptr noundef %2, i8 noundef signext %3, i8 noundef signext %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i8 %3, ptr %9, align 1
store i8 %4, ptr %10, align 1
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 8, %14
%16 = trunc i64 %15 to i32
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %11, align 8
store i32 0, ptr %12, align 4
%18 = load i32, ptr %12, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %45
.lr.ph: ; preds = %5
br label %21
21: ; preds = %.lr.ph, %39
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %12, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load i8, ptr %9, align 1
%33 = load i8, ptr %10, align 1
%34 = call ptr @transfer_gaps(ptr noundef %26, ptr noundef %31, i8 noundef signext %32, i8 noundef signext %33)
%35 = load ptr, ptr %11, align 8
%36 = load i32, ptr %12, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
store ptr %34, ptr %38, align 8
br label %39
39: ; preds = %21
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %5
%46 = load ptr, ptr %11, align 8
ret ptr %46
}
declare ptr @malloc(i32 noundef) #1
declare ptr @transfer_gaps(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4lyvbj9e.c'
source_filename = "/tmp/tmp4lyvbj9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @num_threads_per_core() #0 {
%1 = call i32 (...) @num_threads_per_package()
%2 = call i32 (...) @num_cores_per_package()
%3 = sdiv i32 %1, %2
ret i32 %3
}
declare i32 @num_threads_per_package(...) #1
declare i32 @num_cores_per_package(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4lyvbj9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @num_threads_per_core() #0 {
%1 = call i32 (...) @num_threads_per_package()
%2 = call i32 (...) @num_cores_per_package()
%3 = sdiv i32 %1, %2
ret i32 %3
}
declare i32 @num_threads_per_package(...) #1
declare i32 @num_cores_per_package(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoqxgs6ap.c'
source_filename = "/tmp/tmpoqxgs6ap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @getValue(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%11 = load float, ptr %7, align 4
%12 = load float, ptr %8, align 4
%13 = fmul float %11, %12
%14 = load float, ptr %6, align 4
%15 = fmul float %13, %14
%16 = call i32 @pow(float noundef %15, float noundef 2.000000e+00)
%17 = sitofp i32 %16 to float
%18 = fdiv float 1.000000e+00, %17
store float %18, ptr %9, align 4
%19 = load float, ptr %5, align 4
%20 = call i32 @pow(float noundef %19, float noundef 2.000000e+00)
%21 = sitofp i32 %20 to float
%22 = load float, ptr %9, align 4
%23 = fadd float 1.000000e+00, %22
%24 = fdiv float %21, %23
%25 = fptosi float %24 to i32
%26 = call float @sqrt(i32 noundef %25)
store float %26, ptr %10, align 4
%27 = load float, ptr %10, align 4
ret float %27
}
declare i32 @pow(float noundef, float noundef) #1
declare float @sqrt(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/tmpoqxgs6ap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @getValue(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
%11 = load float, ptr %7, align 4
%12 = load float, ptr %8, align 4
%13 = fmul float %11, %12
%14 = load float, ptr %6, align 4
%15 = fmul float %13, %14
%16 = call i32 @pow(float noundef %15, float noundef 2.000000e+00)
%17 = sitofp i32 %16 to float
%18 = fdiv float 1.000000e+00, %17
store float %18, ptr %9, align 4
%19 = load float, ptr %5, align 4
%20 = call i32 @pow(float noundef %19, float noundef 2.000000e+00)
%21 = sitofp i32 %20 to float
%22 = load float, ptr %9, align 4
%23 = fadd float 1.000000e+00, %22
%24 = fdiv float %21, %23
%25 = fptosi float %24 to i32
%26 = call float @sqrt(i32 noundef %25)
store float %26, ptr %10, align 4
%27 = load float, ptr %10, align 4
ret float %27
}
declare i32 @pow(float noundef, float noundef) #1
declare float @sqrt(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/tmpf5l_ordw.c'
source_filename = "/tmp/tmpf5l_ordw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candle_harami_white(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 @labs(i32 noundef %4)
%6 = sub nsw i32 0, %5
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @priceOpen(i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = call i64 @priceClose(i32 noundef %9)
%11 = icmp slt i64 %8, %10
br i1 %11, label %12, label %27
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call i64 @priceHigh(i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = call i64 @priceOpen(i32 noundef %16)
%18 = icmp slt i64 %14, %17
br i1 %18, label %19, label %27
19: ; preds = %12
%20 = load i32, ptr %3, align 4
%21 = call i64 @priceLow(i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 1
%24 = call i64 @priceClose(i32 noundef %23)
%25 = icmp sgt i64 %21, %24
br i1 %25, label %26, label %27
26: ; preds = %19
store i32 1, ptr %2, align 4
br label %28
27: ; preds = %19, %12, %1
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %26
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @labs(i32 noundef) #1
declare i64 @priceOpen(i32 noundef) #1
declare i64 @priceClose(i32 noundef) #1
declare i64 @priceHigh(i32 noundef) #1
declare i64 @priceLow(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/tmpf5l_ordw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candle_harami_white(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 @labs(i32 noundef %4)
%6 = sub nsw i32 0, %5
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @priceOpen(i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = call i64 @priceClose(i32 noundef %9)
%11 = icmp slt i64 %8, %10
br i1 %11, label %12, label %27
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call i64 @priceHigh(i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = call i64 @priceOpen(i32 noundef %16)
%18 = icmp slt i64 %14, %17
br i1 %18, label %19, label %27
19: ; preds = %12
%20 = load i32, ptr %3, align 4
%21 = call i64 @priceLow(i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 1
%24 = call i64 @priceClose(i32 noundef %23)
%25 = icmp sgt i64 %21, %24
br i1 %25, label %26, label %27
26: ; preds = %19
store i32 1, ptr %2, align 4
br label %28
27: ; preds = %19, %12, %1
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %26
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @labs(i32 noundef) #1
declare i64 @priceOpen(i32 noundef) #1
declare i64 @priceClose(i32 noundef) #1
declare i64 @priceHigh(i32 noundef) #1
declare i64 @priceLow(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/tmpgjqobb6p.c'
source_filename = "/tmp/tmpgjqobb6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_load_standard_Laurential(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%13 = load i32, ptr %4, align 4
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @syscon_standard_Laurent_size_limit(i32 noundef %14, ptr noundef %9)
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %9, align 4
%17 = call i64 @calloc(i32 noundef %16, i32 noundef 4)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %10, align 8
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @_ada_use_c2phc4c(i32 noundef 128, ptr noundef %11, ptr noundef %19, ptr noundef %20, i32 noundef 0)
store i32 %21, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %22
22: ; preds = %37, %3
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %22
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
br label %37
37: ; preds = %26
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
br label %22, !llvm.loop !6
40: ; preds = %22
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %10, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load i32, ptr %7, align 4
ret i32 %47
}
declare i32 @syscon_standard_Laurent_size_limit(i32 noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgjqobb6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_load_standard_Laurential(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%13 = load i32, ptr %4, align 4
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @syscon_standard_Laurent_size_limit(i32 noundef %14, ptr noundef %9)
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %9, align 4
%17 = call i64 @calloc(i32 noundef %16, i32 noundef 4)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %10, align 8
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @_ada_use_c2phc4c(i32 noundef 128, ptr noundef %11, ptr noundef %19, ptr noundef %20, i32 noundef 0)
store i32 %21, ptr %7, align 4
store i32 0, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %11, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %25
25: ; preds = %.lr.ph, %36
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
br label %36
36: ; preds = %25
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %3
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 0, ptr %46, align 1
%47 = load ptr, ptr %10, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load i32, ptr %7, align 4
ret i32 %49
}
declare i32 @syscon_standard_Laurent_size_limit(i32 noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9qcyuz86.c'
source_filename = "/tmp/tmp9qcyuz86.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@HZ = 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/tmp9qcyuz86.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@HZ = 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/tmp6i5vnwzj.c'
source_filename = "/tmp/tmp6i5vnwzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %3, align 4
%5 = call i64 @time(ptr noundef %4)
%6 = trunc i64 %5 to i32
%7 = call i32 @srand(i32 noundef %6)
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %17, %0
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 2
%15 = add nsw i32 1, %14
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6i5vnwzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %3, align 4
%5 = call i64 @time(ptr noundef %4)
%6 = trunc i64 %5 to i32
%7 = call i32 @srand(i32 noundef %6)
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %16
%12 = call i32 (...) @rand()
%13 = srem i32 %12, 2
%14 = add nsw i32 1, %13
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc9vj498c.c'
source_filename = "/tmp/tmpc9vj498c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"Chr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_chrom(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strtok(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
br label %6
6: ; preds = %16, %1
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef @.str.1)
%12 = call i64 @strncmp(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %18
16: ; preds = %14
%17 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %17, ptr %3, align 8
br label %6, !llvm.loop !6
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc9vj498c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"Chr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_chrom(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strtok(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
br label %6
6: ; preds = %16, %1
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef @.str.1)
%12 = call i64 @strncmp(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %18
16: ; preds = %14
%17 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %17, ptr %3, align 8
br label %6, !llvm.loop !6
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @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"}
|
; ModuleID = '/tmp/tmpv49km69u.c'
source_filename = "/tmp/tmpv49km69u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %24, %0
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 17
%7 = load i32, ptr %2, align 4
%8 = ashr i32 %7, 9
%9 = or i32 %6, %8
%10 = mul nsw i32 %4, %9
%11 = and i32 %10, 46
%12 = load i32, ptr %2, align 4
%13 = ashr i32 %12, 3
%14 = and i32 %11, %13
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = ashr i32 %16, 10
%18 = and i32 %15, %17
%19 = load i32, ptr %2, align 4
%20 = ashr i32 %19, 100
%21 = or i32 %18, %20
%22 = xor i32 %14, %21
%23 = call i32 @putchar(i32 noundef %22)
br label %24
24: ; preds = %3
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %3
}
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv49km69u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %24, %0
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 17
%7 = load i32, ptr %2, align 4
%8 = ashr i32 %7, 9
%9 = or i32 %6, %8
%10 = mul nsw i32 %4, %9
%11 = and i32 %10, 46
%12 = load i32, ptr %2, align 4
%13 = ashr i32 %12, 3
%14 = and i32 %11, %13
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = ashr i32 %16, 10
%18 = and i32 %15, %17
%19 = load i32, ptr %2, align 4
%20 = ashr i32 %19, 100
%21 = or i32 %18, %20
%22 = xor i32 %14, %21
%23 = call i32 @putchar(i32 noundef %22)
br label %24
24: ; preds = %3
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %3
}
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk8nofki_.c'
source_filename = "/tmp/tmpk8nofki_.c"
target datalayout = "e-m:e-p270: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/tmpk8nofki_.c"
target datalayout = "e-m:e-p270: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/tmp5vzl_kai.c'
source_filename = "/tmp/tmp5vzl_kai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PrioUitmelden(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 @PrioUitmeldenID(i32 noundef %5, i32 noundef %6, i32 noundef 0)
ret void
}
declare i32 @PrioUitmeldenID(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/tmp5vzl_kai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PrioUitmelden(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 @PrioUitmeldenID(i32 noundef %5, i32 noundef %6, i32 noundef 0)
ret void
}
declare i32 @PrioUitmeldenID(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/tmpchljai1c.c'
source_filename = "/tmp/tmpchljai1c.c"
target datalayout = "e-m:e-p270: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/tmpchljai1c.c"
target datalayout = "e-m:e-p270: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/tmpdo7m0ksl.c'
source_filename = "/tmp/tmpdo7m0ksl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %2, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %17
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = mul nsw i32 %12, %11
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
%18 = load i32, ptr %4, align 4
%19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18)
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/tmpdo7m0ksl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %13
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = mul nsw i32 %11, %10
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %4, align 4
%21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20)
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/tmpdxgtamcs.c'
source_filename = "/tmp/tmpdxgtamcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_section_args(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store ptr %21, ptr %13, align 8
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
%22 = load ptr, ptr %7, align 8
store ptr %22, ptr %15, align 8
br label %23
23: ; preds = %72, %6
%24 = load ptr, ptr %15, align 8
%25 = load ptr, ptr %13, align 8
%26 = icmp ult ptr %24, %25
br i1 %26, label %27, label %73
27: ; preds = %23
%28 = load ptr, ptr %15, align 8
store ptr %28, ptr %14, align 8
br label %29
29: ; preds = %40, %27
%30 = load ptr, ptr %15, align 8
%31 = load i8, ptr %30, align 1
%32 = call i64 @isspace(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %29
%35 = load ptr, ptr %15, align 8
%36 = load ptr, ptr %13, align 8
%37 = icmp ult ptr %35, %36
br label %38
38: ; preds = %34, %29
%39 = phi i1 [ false, %29 ], [ %37, %34 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load ptr, ptr %15, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %15, align 8
br label %29, !llvm.loop !6
43: ; preds = %38
%44 = load ptr, ptr %11, align 8
%45 = load i32, ptr %16, align 4
%46 = load ptr, ptr %14, align 8
%47 = load ptr, ptr %15, align 8
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %10, align 4
%50 = load ptr, ptr %12, align 8
%51 = call i32 %44(i32 noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %49, ptr noundef %50)
store i32 %51, ptr %17, align 4
%52 = load i32, ptr %17, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %43
br label %73
55: ; preds = %43
%56 = load i32, ptr %16, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %16, align 4
br label %58
58: ; preds = %69, %55
%59 = load ptr, ptr %15, align 8
%60 = load i8, ptr %59, align 1
%61 = call i64 @isspace(i8 noundef signext %60)
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %67
63: ; preds = %58
%64 = load ptr, ptr %15, align 8
%65 = load ptr, ptr %13, align 8
%66 = icmp ult ptr %64, %65
br label %67
67: ; preds = %63, %58
%68 = phi i1 [ false, %58 ], [ %66, %63 ]
br i1 %68, label %69, label %72
69: ; preds = %67
%70 = load ptr, ptr %15, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %15, align 8
br label %58, !llvm.loop !8
72: ; preds = %67
br label %23, !llvm.loop !9
73: ; preds = %54, %23
%74 = load i32, ptr %17, align 4
ret i32 %74
}
declare i64 @isspace(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdxgtamcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_section_args(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store ptr %21, ptr %13, align 8
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
%22 = load ptr, ptr %7, align 8
store ptr %22, ptr %15, align 8
%23 = load ptr, ptr %15, align 8
%24 = load ptr, ptr %13, align 8
%25 = icmp ult ptr %23, %24
br i1 %25, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %6
br label %26
26: ; preds = %.lr.ph, %71
%27 = load ptr, ptr %15, align 8
store ptr %27, ptr %14, align 8
br label %28
28: ; preds = %39, %26
%29 = load ptr, ptr %15, align 8
%30 = load i8, ptr %29, align 1
%31 = call i64 @isspace(i8 noundef signext %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %28
%34 = load ptr, ptr %15, align 8
%35 = load ptr, ptr %13, align 8
%36 = icmp ult ptr %34, %35
br label %37
37: ; preds = %33, %28
%38 = phi i1 [ false, %28 ], [ %36, %33 ]
br i1 %38, label %39, label %42
39: ; preds = %37
%40 = load ptr, ptr %15, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %15, align 8
br label %28, !llvm.loop !6
42: ; preds = %37
%43 = load ptr, ptr %11, align 8
%44 = load i32, ptr %16, align 4
%45 = load ptr, ptr %14, align 8
%46 = load ptr, ptr %15, align 8
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %10, align 4
%49 = load ptr, ptr %12, align 8
%50 = call i32 %43(i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, i32 noundef %48, ptr noundef %49)
store i32 %50, ptr %17, align 4
%51 = load i32, ptr %17, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %42
br label %75
54: ; preds = %42
%55 = load i32, ptr %16, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %16, align 4
br label %57
57: ; preds = %68, %54
%58 = load ptr, ptr %15, align 8
%59 = load i8, ptr %58, align 1
%60 = call i64 @isspace(i8 noundef signext %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %57
%63 = load ptr, ptr %15, align 8
%64 = load ptr, ptr %13, align 8
%65 = icmp ult ptr %63, %64
br label %66
66: ; preds = %62, %57
%67 = phi i1 [ false, %57 ], [ %65, %62 ]
br i1 %67, label %68, label %71
68: ; preds = %66
%69 = load ptr, ptr %15, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %15, align 8
br label %57, !llvm.loop !8
71: ; preds = %66
%72 = load ptr, ptr %15, align 8
%73 = load ptr, ptr %13, align 8
%74 = icmp ult ptr %72, %73
br i1 %74, label %26, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %71
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %6
br label %75
75: ; preds = %.loopexit, %53
%76 = load i32, ptr %17, align 4
ret i32 %76
}
declare i64 @isspace(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}
|
; ModuleID = '/tmp/tmpl8jne64r.c'
source_filename = "/tmp/tmpl8jne64r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d mod 10 = %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 -15, ptr %2, align 4
br label %3
3: ; preds = %11, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 15
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 10
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
br label %3, !llvm.loop !6
14: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl8jne64r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d mod 10 = %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 -15, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 15
br i1 %4, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %10
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 10
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 15
br i1 %14, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpr28xra2w.c'
source_filename = "/tmp/tmpr28xra2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d$%s$%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PBKDF2_HMAC_SHA_512Ex(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca [64 x i8], align 16
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %7, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i64, ptr %9, align 8
%21 = load i64, ptr %10, align 8
%22 = call i32 (...) @EVP_sha512()
%23 = getelementptr inbounds [64 x i8], ptr %16, i64 0, i64 0
%24 = call i32 @PKCS5_PBKDF2_HMAC(ptr noundef %17, i64 noundef %18, ptr noundef %19, i64 noundef %20, i64 noundef %21, i32 noundef %22, i32 noundef 64, ptr noundef %23)
%25 = getelementptr inbounds [64 x i8], ptr %16, i64 0, i64 0
%26 = call i64 @Base64Encode(ptr noundef %25, i64 noundef 64, ptr noundef %11)
store i64 %26, ptr %14, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i64, ptr %9, align 8
%29 = call i64 @Base64Encode(ptr noundef %27, i64 noundef %28, ptr noundef %12)
store i64 %29, ptr %15, align 8
%30 = call i32 @abs(i32 noundef 15000) #3
%31 = call i32 @log10(i32 noundef %30)
%32 = call i64 @floor(i32 noundef %31)
%33 = add nsw i64 %32, 1
%34 = load i64, ptr %15, align 8
%35 = add i64 %33, %34
%36 = load i64, ptr %14, align 8
%37 = add i64 %35, %36
%38 = add i64 %37, 2
%39 = add i64 %38, 1
%40 = call ptr @malloc(i64 noundef %39)
store ptr %40, ptr %13, align 8
%41 = load ptr, ptr %13, align 8
%42 = load ptr, ptr %12, align 8
%43 = load ptr, ptr %11, align 8
%44 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str, i32 noundef 15000, ptr noundef %42, ptr noundef %43)
%45 = load ptr, ptr %12, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load ptr, ptr %11, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load ptr, ptr %13, align 8
ret ptr %49
}
declare i32 @PKCS5_PBKDF2_HMAC(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @EVP_sha512(...) #1
declare i64 @Base64Encode(ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @floor(i32 noundef) #1
declare i32 @log10(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr28xra2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d$%s$%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PBKDF2_HMAC_SHA_512Ex(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca [64 x i8], align 16
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %7, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i64, ptr %9, align 8
%21 = load i64, ptr %10, align 8
%22 = call i32 (...) @EVP_sha512()
%23 = getelementptr inbounds [64 x i8], ptr %16, i64 0, i64 0
%24 = call i32 @PKCS5_PBKDF2_HMAC(ptr noundef %17, i64 noundef %18, ptr noundef %19, i64 noundef %20, i64 noundef %21, i32 noundef %22, i32 noundef 64, ptr noundef %23)
%25 = getelementptr inbounds [64 x i8], ptr %16, i64 0, i64 0
%26 = call i64 @Base64Encode(ptr noundef %25, i64 noundef 64, ptr noundef %11)
store i64 %26, ptr %14, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i64, ptr %9, align 8
%29 = call i64 @Base64Encode(ptr noundef %27, i64 noundef %28, ptr noundef %12)
store i64 %29, ptr %15, align 8
%30 = call i32 @abs(i32 noundef 15000) #3
%31 = call i32 @log10(i32 noundef %30)
%32 = call i64 @floor(i32 noundef %31)
%33 = add nsw i64 %32, 1
%34 = load i64, ptr %15, align 8
%35 = add i64 %33, %34
%36 = load i64, ptr %14, align 8
%37 = add i64 %35, %36
%38 = add i64 %37, 2
%39 = add i64 %38, 1
%40 = call ptr @malloc(i64 noundef %39)
store ptr %40, ptr %13, align 8
%41 = load ptr, ptr %13, align 8
%42 = load ptr, ptr %12, align 8
%43 = load ptr, ptr %11, align 8
%44 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str, i32 noundef 15000, ptr noundef %42, ptr noundef %43)
%45 = load ptr, ptr %12, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load ptr, ptr %11, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load ptr, ptr %13, align 8
ret ptr %49
}
declare i32 @PKCS5_PBKDF2_HMAC(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @EVP_sha512(...) #1
declare i64 @Base64Encode(ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @floor(i32 noundef) #1
declare i32 @log10(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpywxlzyqw.c'
source_filename = "/tmp/tmpywxlzyqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XVisibilityEvent_send_event(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpywxlzyqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XVisibilityEvent_send_event(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5po5bg6b.c'
source_filename = "/tmp/tmp5po5bg6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"-- No space left --\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Enter day and reminder: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\0ADay Reminder\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x ptr], align 16
%3 = alloca [3 x i8], align 1
%4 = alloca [61 x i8], align 16
%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
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %77, %0
%10 = load i32, ptr %8, align 4
%11 = icmp eq i32 %10, 50
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %92
14: ; preds = %9
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%16 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14
br label %92
20: ; preds = %14
%21 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%22 = load i32, ptr %5, align 4
%23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.2, i32 noundef %22)
%24 = getelementptr inbounds [61 x i8], ptr %4, i64 0, i64 0
%25 = call i32 @read_line(ptr noundef %24, i32 noundef 60)
store i32 0, ptr %6, align 4
br label %26
26: ; preds = %40, %20
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %43
30: ; preds = %26
%31 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = call i64 @strcmp(ptr noundef %31, ptr noundef %35)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %30
br label %43
39: ; preds = %30
br label %40
40: ; preds = %39
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
br label %26, !llvm.loop !6
43: ; preds = %38, %26
%44 = load i32, ptr %8, align 4
store i32 %44, ptr %7, align 4
br label %45
45: ; preds = %58, %43
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp sgt i32 %46, %47
br i1 %48, label %49, label %61
49: ; preds = %45
%50 = load i32, ptr %7, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %56
store ptr %54, ptr %57, align 8
br label %58
58: ; preds = %49
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %7, align 4
br label %45, !llvm.loop !8
61: ; preds = %45
%62 = getelementptr inbounds [61 x i8], ptr %4, i64 0, i64 0
%63 = call i64 @strlen(ptr noundef %62)
%64 = add nsw i64 2, %63
%65 = add nsw i64 %64, 1
%66 = call ptr @malloc(i64 noundef %65)
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %68
store ptr %66, ptr %69, align 8
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = icmp eq ptr %73, null
br i1 %74, label %75, label %77
75: ; preds = %61
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %92
77: ; preds = %61
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %79
%81 = load ptr, ptr %80, align 8
%82 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%83 = call i32 @strcpy(ptr noundef %81, ptr noundef %82)
%84 = load i32, ptr %6, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = getelementptr inbounds [61 x i8], ptr %4, i64 0, i64 0
%89 = call i32 @strcat(ptr noundef %87, ptr noundef %88)
%90 = load i32, ptr %8, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %8, align 4
br label %9
92: ; preds = %75, %19, %12
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %6, align 4
br label %94
94: ; preds = %104, %92
%95 = load i32, ptr %6, align 4
%96 = load i32, ptr %8, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %107
98: ; preds = %94
%99 = load i32, ptr %6, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %102)
br label %104
104: ; preds = %98
%105 = load i32, ptr %6, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %6, align 4
br label %94, !llvm.loop !9
107: ; preds = %94
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @read_line(ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmp5po5bg6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"-- No space left --\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Enter day and reminder: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\0ADay Reminder\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x ptr], align 16
%3 = alloca [3 x i8], align 1
%4 = alloca [61 x i8], align 16
%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
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %9, 50
br i1 %10, label %11, label %.lr.ph3
.lr.ph3: ; preds = %0
br label %13
._crit_edge4: ; preds = %80
br label %11
11: ; preds = %._crit_edge4, %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %97
13: ; preds = %.lr.ph3, %80
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %13
br label %97
19: ; preds = %13
%20 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%21 = load i32, ptr %5, align 4
%22 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.2, i32 noundef %21)
%23 = getelementptr inbounds [61 x i8], ptr %4, i64 0, i64 0
%24 = call i32 @read_line(ptr noundef %23, i32 noundef 60)
store i32 0, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %19
br label %28
28: ; preds = %.lr.ph, %38
%29 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = call i64 @strcmp(ptr noundef %29, ptr noundef %33)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %28
br label %44
37: ; preds = %28
br label %38
38: ; preds = %37
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %28, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %19
br label %44
44: ; preds = %.loopexit, %36
%45 = load i32, ptr %8, align 4
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp sgt i32 %46, %47
br i1 %48, label %.lr.ph1, label %64
.lr.ph1: ; preds = %44
br label %49
49: ; preds = %.lr.ph1, %58
%50 = load i32, ptr %7, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %56
store ptr %54, ptr %57, align 8
br label %58
58: ; preds = %49
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %6, align 4
%63 = icmp sgt i32 %61, %62
br i1 %63, label %49, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %58
br label %64
64: ; preds = %._crit_edge, %44
%65 = getelementptr inbounds [61 x i8], ptr %4, i64 0, i64 0
%66 = call i64 @strlen(ptr noundef %65)
%67 = add nsw i64 2, %66
%68 = add nsw i64 %67, 1
%69 = call ptr @malloc(i64 noundef %68)
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %71
store ptr %69, ptr %72, align 8
%73 = load i32, ptr %6, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = icmp eq ptr %76, null
br i1 %77, label %78, label %80
78: ; preds = %64
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %97
80: ; preds = %64
%81 = load i32, ptr %6, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%86 = call i32 @strcpy(ptr noundef %84, ptr noundef %85)
%87 = load i32, ptr %6, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = getelementptr inbounds [61 x i8], ptr %4, i64 0, i64 0
%92 = call i32 @strcat(ptr noundef %90, ptr noundef %91)
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %8, align 4
%95 = load i32, ptr %8, align 4
%96 = icmp eq i32 %95, 50
br i1 %96, label %._crit_edge4, label %13
97: ; preds = %78, %18, %11
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %6, align 4
%99 = load i32, ptr %6, align 4
%100 = load i32, ptr %8, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %.lr.ph6, label %114
.lr.ph6: ; preds = %97
br label %102
102: ; preds = %.lr.ph6, %108
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %104
%106 = load ptr, ptr %105, align 8
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %106)
br label %108
108: ; preds = %102
%109 = load i32, ptr %6, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %6, align 4
%111 = load i32, ptr %6, align 4
%112 = load i32, ptr %8, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %102, label %._crit_edge7, !llvm.loop !9
._crit_edge7: ; preds = %108
br label %114
114: ; preds = %._crit_edge7, %97
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @read_line(ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmpr15oblx0.c'
source_filename = "/tmp/tmpr15oblx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syncReadBulkFrom(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %10, %2
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @readBulkFrom(i32 noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %6, label %13, !llvm.loop !6
13: ; preds = %10
%14 = load i32, ptr %5, align 4
ret i32 %14
}
declare i32 @readBulkFrom(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr15oblx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syncReadBulkFrom(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %10, %2
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @readBulkFrom(i32 noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %6, label %13, !llvm.loop !6
13: ; preds = %10
%14 = load i32, ptr %5, align 4
ret i32 %14
}
declare i32 @readBulkFrom(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpez5_ofcw.c'
source_filename = "/tmp/tmpez5_ofcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_convolution_circ(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 8
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %9, align 8
store i32 1, ptr %8, align 4
br label %16
16: ; preds = %98, %3
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %101
20: ; preds = %16
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %21, i64 %24
store double 0.000000e+00, ptr %25, align 8
store i32 1, ptr %7, align 4
br label %26
26: ; preds = %56, %20
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %59
30: ; preds = %26
%31 = load ptr, ptr %9, align 8
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %31, i64 %34
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %7, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %37, i64 %40
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %7, align 4
%46 = sub nsw i32 %44, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %43, i64 %47
%49 = load double, ptr %48, align 8
%50 = call double @llvm.fmuladd.f64(double %42, double %49, double %36)
%51 = load ptr, ptr %9, align 8
%52 = load i32, ptr %8, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %51, i64 %54
store double %50, ptr %55, align 8
br label %56
56: ; preds = %30
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %26, !llvm.loop !6
59: ; preds = %26
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %7, align 4
br label %62
62: ; preds = %94, %59
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %4, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %66, label %97
66: ; preds = %62
%67 = load ptr, ptr %9, align 8
%68 = load i32, ptr %8, align 4
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %67, i64 %70
%72 = load double, ptr %71, align 8
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %7, align 4
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %73, i64 %76
%78 = load double, ptr %77, align 8
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %80, %81
%83 = load i32, ptr %7, align 4
%84 = sub nsw i32 %82, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %79, i64 %85
%87 = load double, ptr %86, align 8
%88 = call double @llvm.fmuladd.f64(double %78, double %87, double %72)
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %8, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %89, i64 %92
store double %88, ptr %93, align 8
br label %94
94: ; preds = %66
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %7, align 4
br label %62, !llvm.loop !8
97: ; preds = %62
br label %98
98: ; preds = %97
%99 = load i32, ptr %8, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %8, align 4
br label %16, !llvm.loop !9
101: ; preds = %16
%102 = load ptr, ptr %9, align 8
ret ptr %102
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpez5_ofcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_convolution_circ(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 8
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %9, align 8
store i32 1, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph5, label %107
.lr.ph5: ; preds = %3
br label %19
19: ; preds = %.lr.ph5, %101
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %20, i64 %23
store double 0.000000e+00, ptr %24, align 8
store i32 1, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %.lr.ph, label %60
.lr.ph: ; preds = %19
br label %28
28: ; preds = %.lr.ph, %54
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %29, i64 %32
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %7, align 4
%37 = sub nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %35, i64 %38
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %7, align 4
%44 = sub nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %41, i64 %45
%47 = load double, ptr %46, align 8
%48 = call double @llvm.fmuladd.f64(double %40, double %47, double %34)
%49 = load ptr, ptr %9, align 8
%50 = load i32, ptr %8, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %49, i64 %52
store double %48, ptr %53, align 8
br label %54
54: ; preds = %28
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %19
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %4, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %.lr.ph2, label %100
.lr.ph2: ; preds = %60
br label %66
66: ; preds = %.lr.ph2, %94
%67 = load ptr, ptr %9, align 8
%68 = load i32, ptr %8, align 4
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %67, i64 %70
%72 = load double, ptr %71, align 8
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %7, align 4
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %73, i64 %76
%78 = load double, ptr %77, align 8
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %80, %81
%83 = load i32, ptr %7, align 4
%84 = sub nsw i32 %82, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %79, i64 %85
%87 = load double, ptr %86, align 8
%88 = call double @llvm.fmuladd.f64(double %78, double %87, double %72)
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %8, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %89, i64 %92
store double %88, ptr %93, align 8
br label %94
94: ; preds = %66
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %7, align 4
%97 = load i32, ptr %7, align 4
%98 = load i32, ptr %4, align 4
%99 = icmp sle i32 %97, %98
br i1 %99, label %66, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %94
br label %100
100: ; preds = %._crit_edge3, %60
br label %101
101: ; preds = %100
%102 = load i32, ptr %8, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %8, align 4
%104 = load i32, ptr %8, align 4
%105 = load i32, ptr %4, align 4
%106 = icmp sle i32 %104, %105
br i1 %106, label %19, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %101
br label %107
107: ; preds = %._crit_edge6, %3
%108 = load ptr, ptr %9, align 8
ret ptr %108
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpnw21sj__.c'
source_filename = "/tmp/tmpnw21sj__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@LLONG_MIN = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@LLONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtonum(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %9, align 8
%17 = icmp ne ptr %16, null
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
store i64 0, ptr %10, align 8
%20 = load i64, ptr %7, align 8
%21 = load i64, ptr %8, align 8
%22 = icmp sgt i64 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = load i64, ptr @EINVAL, align 8
store i64 %24, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
25: ; preds = %4
store i64 0, ptr @errno, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i64 @strtoll(ptr noundef %26, ptr noundef %11, i32 noundef 10)
store i64 %27, ptr %10, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %11, align 8
%30 = icmp eq ptr %28, %29
br i1 %30, label %36, label %31
31: ; preds = %25
%32 = load ptr, ptr %11, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %31, %25
%37 = load i64, ptr @EINVAL, align 8
store i64 %37, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
38: ; preds = %31
%39 = load i64, ptr %10, align 8
%40 = load i64, ptr @LLONG_MIN, align 8
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i64, ptr @errno, align 8
%44 = load i64, ptr @ERANGE, align 8
%45 = icmp eq i64 %43, %44
br i1 %45, label %50, label %46
46: ; preds = %42, %38
%47 = load i64, ptr %10, align 8
%48 = load i64, ptr %7, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46, %42
%51 = load i64, ptr @ERANGE, align 8
store i64 %51, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
52: ; preds = %46
%53 = load i64, ptr %10, align 8
%54 = load i64, ptr @LLONG_MAX, align 8
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = load i64, ptr @errno, align 8
%58 = load i64, ptr @ERANGE, align 8
%59 = icmp eq i64 %57, %58
br i1 %59, label %64, label %60
60: ; preds = %56, %52
%61 = load i64, ptr %10, align 8
%62 = load i64, ptr %8, align 8
%63 = icmp sgt i64 %61, %62
br i1 %63, label %64, label %66
64: ; preds = %60, %56
%65 = load i64, ptr @ERANGE, align 8
store i64 %65, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
66: ; preds = %60
br label %67
67: ; preds = %66
br label %68
68: ; preds = %67
%69 = load i64, ptr %10, align 8
%70 = load ptr, ptr %9, align 8
store i64 %69, ptr %70, align 8
store i32 1, ptr %5, align 4
br label %71
71: ; preds = %68, %64, %50, %36, %23
%72 = load i32, ptr %5, align 4
ret i32 %72
}
declare i32 @assert(i32 noundef) #1
declare i64 @strtoll(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/tmpnw21sj__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@LLONG_MIN = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@LLONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtonum(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %9, align 8
%17 = icmp ne ptr %16, null
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
store i64 0, ptr %10, align 8
%20 = load i64, ptr %7, align 8
%21 = load i64, ptr %8, align 8
%22 = icmp sgt i64 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = load i64, ptr @EINVAL, align 8
store i64 %24, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
25: ; preds = %4
store i64 0, ptr @errno, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i64 @strtoll(ptr noundef %26, ptr noundef %11, i32 noundef 10)
store i64 %27, ptr %10, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %11, align 8
%30 = icmp eq ptr %28, %29
br i1 %30, label %36, label %31
31: ; preds = %25
%32 = load ptr, ptr %11, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %31, %25
%37 = load i64, ptr @EINVAL, align 8
store i64 %37, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
38: ; preds = %31
%39 = load i64, ptr %10, align 8
%40 = load i64, ptr @LLONG_MIN, align 8
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i64, ptr @errno, align 8
%44 = load i64, ptr @ERANGE, align 8
%45 = icmp eq i64 %43, %44
br i1 %45, label %50, label %46
46: ; preds = %42, %38
%47 = load i64, ptr %10, align 8
%48 = load i64, ptr %7, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46, %42
%51 = load i64, ptr @ERANGE, align 8
store i64 %51, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
52: ; preds = %46
%53 = load i64, ptr %10, align 8
%54 = load i64, ptr @LLONG_MAX, align 8
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = load i64, ptr @errno, align 8
%58 = load i64, ptr @ERANGE, align 8
%59 = icmp eq i64 %57, %58
br i1 %59, label %64, label %60
60: ; preds = %56, %52
%61 = load i64, ptr %10, align 8
%62 = load i64, ptr %8, align 8
%63 = icmp sgt i64 %61, %62
br i1 %63, label %64, label %66
64: ; preds = %60, %56
%65 = load i64, ptr @ERANGE, align 8
store i64 %65, ptr @errno, align 8
store i32 0, ptr %5, align 4
br label %71
66: ; preds = %60
br label %67
67: ; preds = %66
br label %68
68: ; preds = %67
%69 = load i64, ptr %10, align 8
%70 = load ptr, ptr %9, align 8
store i64 %69, ptr %70, align 8
store i32 1, ptr %5, align 4
br label %71
71: ; preds = %68, %64, %50, %36, %23
%72 = load i32, ptr %5, align 4
ret i32 %72
}
declare i32 @assert(i32 noundef) #1
declare i64 @strtoll(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/tmp192mkb17.c'
source_filename = "/tmp/tmp192mkb17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = sitofp i32 %5 to double
%7 = fdiv double 1.000000e+00, %6
%8 = load i32, ptr %2, align 4
%9 = sitofp i32 %8 to double
%10 = fmul double %7, %9
%11 = fptosi double %10 to i32
store i32 %11, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
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/tmp192mkb17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = sitofp i32 %5 to double
%7 = fdiv double 1.000000e+00, %6
%8 = load i32, ptr %2, align 4
%9 = sitofp i32 %8 to double
%10 = fmul double %7, %9
%11 = fptosi double %10 to i32
store i32 %11, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
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/tmp201vraff.c'
source_filename = "/tmp/tmp201vraff.c"
target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.str = private unnamed_addr constant [5 x i8] c" %d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.arr, i64 12, i1 false)
store i32 3, ptr %3, align 4
store i32 4, ptr %4, align 4
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @count(ptr noundef %5, i32 noundef %6, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @count(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp201vraff.c"
target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.str = private unnamed_addr constant [5 x i8] c" %d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.arr, i64 12, i1 false)
store i32 3, ptr %3, align 4
store i32 4, ptr %4, align 4
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @count(ptr noundef %5, i32 noundef %6, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @count(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeshaw9_z.c'
source_filename = "/tmp/tmpeshaw9_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bootloader_util_app_start(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @bootloader_util_reset(i32 noundef %3)
ret void
}
declare i32 @bootloader_util_reset(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/tmpeshaw9_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bootloader_util_app_start(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @bootloader_util_reset(i32 noundef %3)
ret void
}
declare i32 @bootloader_util_reset(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/tmpso8424hf.c'
source_filename = "/tmp/tmpso8424hf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rd_grib_rec(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%15 = load ptr, ptr %7, align 8
%16 = load i64, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @rd_grib_rec2(ptr noundef %15, i64 noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %13, ptr noundef %14)
ret i32 %21
}
declare i32 @rd_grib_rec2(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpso8424hf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rd_grib_rec(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%15 = load ptr, ptr %7, align 8
%16 = load i64, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @rd_grib_rec2(ptr noundef %15, i64 noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %13, ptr noundef %14)
ret i32 %21
}
declare i32 @rd_grib_rec2(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz24algj2.c'
source_filename = "/tmp/tmpz24algj2.c"
target datalayout = "e-m:e-p270: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/tmpz24algj2.c"
target datalayout = "e-m:e-p270: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/tmppkqv0et8.c'
source_filename = "/tmp/tmppkqv0et8.c"
target datalayout = "e-m:e-p270: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.matriz = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 1, i32 2, i32 3], [3 x i32] [i32 4, i32 5, i32 6], [3 x i32] [i32 7, i32 8, i32 9]], align 16
@.str = private unnamed_addr constant [36 x i8] c"Matriz accedida con doble puntero:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [3 x i32]], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.matriz, i64 36, i1 false)
%6 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0
store ptr %7, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %32, %0
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %12, label %35
12: ; preds = %9
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %27, %12
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 3
br i1 %16, label %17, label %30
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %5, 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.2, i32 noundef %25)
br label %27
27: ; preds = %17
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %14, !llvm.loop !6
30: ; preds = %14
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %32
32: ; preds = %30
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %9, !llvm.loop !8
35: ; preds = %9
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppkqv0et8.c"
target datalayout = "e-m:e-p270: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.matriz = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 1, i32 2, i32 3], [3 x i32] [i32 4, i32 5, i32 6], [3 x i32] [i32 7, i32 8, i32 9]], align 16
@.str = private unnamed_addr constant [36 x i8] c"Matriz accedida con doble puntero:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [3 x i32]], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.matriz, i64 36, i1 false)
%6 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0
store ptr %7, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %.lr.ph2, label %37
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %25
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
br label %25
25: ; preds = %15
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %28, 3
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %11
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %32
32: ; preds = %30
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %35, 3
br i1 %36, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %37
37: ; preds = %._crit_edge3, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpx4vfz3j2.c'
source_filename = "/tmp/tmpx4vfz3j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@init_palette.s_table_rgb = internal global [48 x i8] c"\00\00\00\FF\00\00\00\FF\00\FF\FF\00\00\00\FF\FF\00\FF\00\FF\FF\FF\FF\FF\C6\C6\C6\84\00\00\00\84\00\84\84\00\00\00\84\84\00\84\00\84\84\84\84\84", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_palette() #0 {
%1 = call i32 @set_palette(i32 noundef 0, i32 noundef 15, ptr noundef @init_palette.s_table_rgb)
ret void
}
declare i32 @set_palette(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx4vfz3j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@init_palette.s_table_rgb = internal global [48 x i8] c"\00\00\00\FF\00\00\00\FF\00\FF\FF\00\00\00\FF\FF\00\FF\00\FF\FF\FF\FF\FF\C6\C6\C6\84\00\00\00\84\00\84\84\00\00\00\84\84\00\84\00\84\84\84\84\84", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_palette() #0 {
%1 = call i32 @set_palette(i32 noundef 0, i32 noundef 15, ptr noundef @init_palette.s_table_rgb)
ret void
}
declare i32 @set_palette(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaqem__g0.c'
source_filename = "/tmp/tmpaqem__g0.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaqem__g0.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp83dfdj5n.c'
source_filename = "/tmp/tmp83dfdj5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SrvCon(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = load i8, ptr %3, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = call i32 @RegWriteA(i32 noundef 368, i32 noundef 3)
%12 = call i32 @RamWrite32A(i32 noundef 4129, i32 noundef 0)
%13 = call i32 @RamWrite32A(i32 noundef 4277, i32 noundef 0)
br label %18
14: ; preds = %7
%15 = call i32 @RegWriteA(i32 noundef 369, i32 noundef 3)
%16 = call i32 @RamWrite32A(i32 noundef 4385, i32 noundef 0)
%17 = call i32 @RamWrite32A(i32 noundef 4533, i32 noundef 0)
br label %18
18: ; preds = %14, %10
br label %29
19: ; preds = %2
%20 = load i8, ptr %3, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %19
%23 = call i32 @RegWriteA(i32 noundef 368, i32 noundef 2)
%24 = call i32 @RamWrite32A(i32 noundef 5239, i32 noundef 0)
br label %28
25: ; preds = %19
%26 = call i32 @RegWriteA(i32 noundef 369, i32 noundef 2)
%27 = call i32 @RamWrite32A(i32 noundef 5367, i32 noundef 0)
br label %28
28: ; preds = %25, %22
br label %29
29: ; preds = %28, %18
ret void
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RamWrite32A(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/tmp83dfdj5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SrvCon(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = load i8, ptr %3, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = call i32 @RegWriteA(i32 noundef 368, i32 noundef 3)
%12 = call i32 @RamWrite32A(i32 noundef 4129, i32 noundef 0)
%13 = call i32 @RamWrite32A(i32 noundef 4277, i32 noundef 0)
br label %18
14: ; preds = %7
%15 = call i32 @RegWriteA(i32 noundef 369, i32 noundef 3)
%16 = call i32 @RamWrite32A(i32 noundef 4385, i32 noundef 0)
%17 = call i32 @RamWrite32A(i32 noundef 4533, i32 noundef 0)
br label %18
18: ; preds = %14, %10
br label %29
19: ; preds = %2
%20 = load i8, ptr %3, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %19
%23 = call i32 @RegWriteA(i32 noundef 368, i32 noundef 2)
%24 = call i32 @RamWrite32A(i32 noundef 5239, i32 noundef 0)
br label %28
25: ; preds = %19
%26 = call i32 @RegWriteA(i32 noundef 369, i32 noundef 2)
%27 = call i32 @RamWrite32A(i32 noundef 5367, i32 noundef 0)
br label %28
28: ; preds = %25, %22
br label %29
29: ; preds = %28, %18
ret void
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RamWrite32A(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/tmpzkpp4ysj.c'
source_filename = "/tmp/tmpzkpp4ysj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fctl_biased_fat(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load float, ptr %4, align 4
%7 = fpext float %6 to double
%8 = fmul double %7, 1.270000e+02
%9 = fptoui double %8 to i8
%10 = call i32 @ctl_biased_fat(ptr noundef %5, i8 noundef zeroext %9)
ret void
}
declare i32 @ctl_biased_fat(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzkpp4ysj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fctl_biased_fat(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load float, ptr %4, align 4
%7 = fpext float %6 to double
%8 = fmul double %7, 1.270000e+02
%9 = fptoui double %8 to i8
%10 = call i32 @ctl_biased_fat(ptr noundef %5, i8 noundef zeroext %9)
ret void
}
declare i32 @ctl_biased_fat(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.