llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpmjz73j1q.c'
source_filename = "/tmp/tmpmjz73j1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grad_mschap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [21 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 21)
%10 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef 16)
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @smbhash(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%21 = getelementptr inbounds i8, ptr %20, i64 7
%22 = call i32 @smbhash(ptr noundef %18, ptr noundef %19, ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 16
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds i8, ptr %26, i64 14
%28 = call i32 @smbhash(ptr noundef %24, ptr noundef %25, ptr noundef %27)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @smbhash(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/tmpmjz73j1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grad_mschap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [21 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 21)
%10 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef 16)
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @smbhash(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%21 = getelementptr inbounds i8, ptr %20, i64 7
%22 = call i32 @smbhash(ptr noundef %18, ptr noundef %19, ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 16
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds [21 x i8], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds i8, ptr %26, i64 14
%28 = call i32 @smbhash(ptr noundef %24, ptr noundef %25, ptr noundef %27)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @smbhash(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/tmpqrulka6v.c'
source_filename = "/tmp/tmpqrulka6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FPUHalfPrecisionModeSet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store volatile i64 %0, ptr %2, align 8
%3 = load volatile i64, ptr inttoptr (i64 3758157628 to ptr), align 8
%4 = and i64 %3, -67108865
%5 = load volatile i64, ptr %2, align 8
%6 = or i64 %4, %5
store volatile i64 %6, ptr inttoptr (i64 3758157628 to ptr), align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqrulka6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FPUHalfPrecisionModeSet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store volatile i64 %0, ptr %2, align 8
%3 = load volatile i64, ptr inttoptr (i64 3758157628 to ptr), align 8
%4 = and i64 %3, -67108865
%5 = load volatile i64, ptr %2, align 8
%6 = or i64 %4, %5
store volatile i64 %6, ptr inttoptr (i64 3758157628 to ptr), align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppsfijxxx.c'
source_filename = "/tmp/tmppsfijxxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(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 %4, align 4
br label %6
6: ; preds = %35, %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %40
13: ; preds = %6
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %3, align 4
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
%29 = load i32, ptr %3, align 4
%30 = trunc i32 %29 to i8
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
br label %35
35: ; preds = %13
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %5, align 4
br label %6, !llvm.loop !6
40: ; preds = %6
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
store i8 32, ptr %45, align 1
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 0, ptr %50, align 1
ret void
}
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/tmppsfijxxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(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 %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %45
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %34
%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
store i32 %18, ptr %3, align 4
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 %23, ptr %27, align 1
%28 = load i32, ptr %3, align 4
%29 = trunc i32 %28 to i8
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %12
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %5, align 4
%39 = load ptr, ptr %2, align 8
%40 = call i32 @strlen(ptr noundef %39)
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %45
45: ; preds = %._crit_edge, %1
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 32, ptr %50, align 1
%51 = load ptr, ptr %2, align 8
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
store i8 0, ptr %55, align 1
ret void
}
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/tmpdlgghphd.c'
source_filename = "/tmp/tmpdlgghphd.c"
target datalayout = "e-m:e-p270: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.char_array = private unnamed_addr constant [5 x i8] c"abcde", align 1
@__const.main.int_array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
@.str = private unnamed_addr constant [63 x i8] c"[hacky_nonpointer] points to %p, which contains the char '%c'\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"[hacky_nonpointer] points to %p, which contains the integer %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i8], align 1
%3 = alloca [5 x i32], align 16
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.char_array, i64 5, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.int_array, i64 20, i1 false)
%7 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0
%8 = ptrtoint ptr %7 to i64
store i64 %8, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %22, %0
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load i64, ptr %4, align 8
%14 = inttoptr i64 %13 to ptr
%15 = load i64, ptr %4, align 8
%16 = inttoptr i64 %15 to ptr
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %14, i32 noundef %18)
%20 = load i64, ptr %4, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %4, align 8
br label %22
22: ; preds = %12
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%27 = ptrtoint ptr %26 to i64
store i64 %27, ptr %4, align 8
store i32 0, ptr %6, align 4
br label %28
28: ; preds = %40, %25
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 5
br i1 %30, label %31, label %43
31: ; preds = %28
%32 = load i64, ptr %4, align 8
%33 = inttoptr i64 %32 to ptr
%34 = load i64, ptr %4, align 8
%35 = inttoptr i64 %34 to ptr
%36 = load i32, ptr %35, align 4
%37 = call i32 @printf(ptr noundef @.str.1, ptr noundef %33, i32 noundef %36)
%38 = load i64, ptr %4, align 8
%39 = add i64 %38, 4
store i64 %39, ptr %4, align 8
br label %40
40: ; preds = %31
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
br label %28, !llvm.loop !8
43: ; preds = %28
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, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdlgghphd.c"
target datalayout = "e-m:e-p270: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.char_array = private unnamed_addr constant [5 x i8] c"abcde", align 1
@__const.main.int_array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
@.str = private unnamed_addr constant [63 x i8] c"[hacky_nonpointer] points to %p, which contains the char '%c'\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"[hacky_nonpointer] points to %p, which contains the integer %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i8], align 1
%3 = alloca [5 x i32], align 16
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.char_array, i64 5, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.int_array, i64 20, i1 false)
%7 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0
%8 = ptrtoint ptr %7 to i64
store i64 %8, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %21
%12 = load i64, ptr %4, align 8
%13 = inttoptr i64 %12 to ptr
%14 = load i64, ptr %4, align 8
%15 = inttoptr i64 %14 to ptr
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %17)
%19 = load i64, ptr %4, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %4, align 8
br label %21
21: ; preds = %11
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 5
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %0
%27 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%28 = ptrtoint ptr %27 to i64
store i64 %28, ptr %4, align 8
store i32 0, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 5
br i1 %30, label %.lr.ph2, label %45
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %40
%32 = load i64, ptr %4, align 8
%33 = inttoptr i64 %32 to ptr
%34 = load i64, ptr %4, align 8
%35 = inttoptr i64 %34 to ptr
%36 = load i32, ptr %35, align 4
%37 = call i32 @printf(ptr noundef @.str.1, ptr noundef %33, i32 noundef %36)
%38 = load i64, ptr %4, align 8
%39 = add i64 %38, 4
store i64 %39, ptr %4, align 8
br label %40
40: ; preds = %31
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %43, 5
br i1 %44, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %26
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, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvadprphn.c'
source_filename = "/tmp/tmpvadprphn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 @_mm_unpacklo_epi64(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_unpacklo_epi64(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/tmpvadprphn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 @_mm_unpacklo_epi64(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_unpacklo_epi64(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/tmpbh22nyls.c'
source_filename = "/tmp/tmpbh22nyls.c"
target datalayout = "e-m:e-p270: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/tmpbh22nyls.c"
target datalayout = "e-m:e-p270: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/tmpfs6yqdef.c'
source_filename = "/tmp/tmpfs6yqdef.c"
target datalayout = "e-m:e-p270: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/tmpfs6yqdef.c"
target datalayout = "e-m:e-p270: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/tmp0_77bvwe.c'
source_filename = "/tmp/tmp0_77bvwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @TMR2_IRQHandler() #0 {
%1 = call i32 (...) @TMR2_DriverIRQHandler()
ret void
}
declare i32 @TMR2_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/tmp0_77bvwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @TMR2_IRQHandler() #0 {
%1 = call i32 (...) @TMR2_DriverIRQHandler()
ret void
}
declare i32 @TMR2_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/tmp3oxjfb_3.c'
source_filename = "/tmp/tmp3oxjfb_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Welcome to CSIS 3150 \0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"A table of squares: \0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d \09 %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
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 10
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 %10, %11
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load i32, ptr %1, align 4
ret i32 %18
}
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/tmp3oxjfb_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Welcome to CSIS 3150 \0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"A table of squares: \0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d \09 %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
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 10
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %9, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, i32 noundef %11)
br label %13
13: ; preds = %7
%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 = icmp sle i32 %16, 10
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %1, align 4
ret i32 %19
}
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/tmpunve11ia.c'
source_filename = "/tmp/tmpunve11ia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"/.ctd/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @makeDirPath() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @getenv(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @strcat(ptr noundef %3, ptr noundef @.str.1)
%5 = load ptr, ptr %1, align 8
ret ptr %5
}
declare ptr @getenv(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpunve11ia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"/.ctd/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @makeDirPath() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @getenv(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @strcat(ptr noundef %3, ptr noundef @.str.1)
%5 = load ptr, ptr %1, align 8
ret ptr %5
}
declare ptr @getenv(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"}
|
; ModuleID = '/tmp/tmpvak4t8pe.c'
source_filename = "/tmp/tmpvak4t8pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linsrch(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp ne i32 %17, %18
br label %20
20: ; preds = %12, %8
%21 = phi i1 [ false, %8 ], [ %19, %12 ]
br i1 %21, label %22, label %26
22: ; preds = %20
br label %23
23: ; preds = %22
%24 = load i32, ptr %7, align 4
%25 = add i32 %24, 1
store i32 %25, ptr %7, align 4
br label %8, !llvm.loop !6
26: ; preds = %20
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %26
br label %36
31: ; preds = %26
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %7, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
br label %36
36: ; preds = %31, %30
%37 = phi ptr [ null, %30 ], [ %35, %31 ]
ret ptr %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvak4t8pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linsrch(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp ne i32 %17, %18
br label %20
20: ; preds = %12, %8
%21 = phi i1 [ false, %8 ], [ %19, %12 ]
br i1 %21, label %22, label %26
22: ; preds = %20
br label %23
23: ; preds = %22
%24 = load i32, ptr %7, align 4
%25 = add i32 %24, 1
store i32 %25, ptr %7, align 4
br label %8, !llvm.loop !6
26: ; preds = %20
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %26
br label %36
31: ; preds = %26
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %7, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
br label %36
36: ; preds = %31, %30
%37 = phi ptr [ null, %30 ], [ %35, %31 ]
ret ptr %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdp24f52q.c'
source_filename = "/tmp/tmpdp24f52q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 4, ptr %1, align 4
store i32 7, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @listen(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdp24f52q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 4, ptr %1, align 4
store i32 7, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @listen(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm8pwsbeu.c'
source_filename = "/tmp/tmpm8pwsbeu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__errno() #0 {
ret ptr @errno
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm8pwsbeu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__errno() #0 {
ret ptr @errno
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2lpxrdja.c'
source_filename = "/tmp/tmp2lpxrdja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %13
13: ; preds = %45, %3
%14 = load i64, ptr %10, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %48
17: ; preds = %13
%18 = load ptr, ptr %8, align 8
%19 = load i64, ptr %10, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = load ptr, ptr %9, align 8
%24 = load i64, ptr %10, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = icmp sgt i32 %22, %27
br i1 %28, label %29, label %30
29: ; preds = %17
store i32 1, ptr %4, align 4
br label %49
30: ; preds = %17
%31 = load ptr, ptr %8, align 8
%32 = load i64, ptr %10, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = load ptr, ptr %9, align 8
%37 = load i64, ptr %10, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = icmp slt i32 %35, %40
br i1 %41, label %42, label %43
42: ; preds = %30
store i32 -1, ptr %4, align 4
br label %49
43: ; preds = %30
br label %44
44: ; preds = %43
br label %45
45: ; preds = %44
%46 = load i64, ptr %10, align 8
%47 = add i64 %46, 1
store i64 %47, ptr %10, align 8
br label %13, !llvm.loop !6
48: ; preds = %13
store i32 0, ptr %4, align 4
br label %49
49: ; preds = %48, %42, %29
%50 = load i32, ptr %4, align 4
ret i32 %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2lpxrdja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
%13 = load i64, ptr %10, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %50
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %44
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %10, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = icmp sgt i32 %21, %26
br i1 %27, label %28, label %29
28: ; preds = %16
store i32 1, ptr %4, align 4
br label %51
29: ; preds = %16
%30 = load ptr, ptr %8, align 8
%31 = load i64, ptr %10, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = load ptr, ptr %9, align 8
%36 = load i64, ptr %10, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i32
%40 = icmp slt i32 %34, %39
br i1 %40, label %41, label %42
41: ; preds = %29
store i32 -1, ptr %4, align 4
br label %51
42: ; preds = %29
br label %43
43: ; preds = %42
br label %44
44: ; preds = %43
%45 = load i64, ptr %10, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %10, align 8
%47 = load i64, ptr %10, align 8
%48 = load i64, ptr %7, align 8
%49 = icmp ult i64 %47, %48
br i1 %49, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %51
51: ; preds = %50, %41, %28
%52 = load i32, ptr %4, align 4
ret i32 %52
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpu1k00s9w.c'
source_filename = "/tmp/tmpu1k00s9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"</s>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReadWord(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %3, %20, %47, %62
%10 = load ptr, ptr %5, align 8
%11 = call i32 @fgetc_unlocked(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr @EOF, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = load ptr, ptr %6, align 8
store i8 1, ptr %16, align 1
br label %63
17: ; preds = %9
%18 = load i32, ptr %8, align 4
%19 = icmp eq i32 %18, 13
br i1 %19, label %20, label %21
20: ; preds = %17
br label %9
21: ; preds = %17
%22 = load i32, ptr %8, align 4
%23 = icmp eq i32 %22, 32
br i1 %23, label %30, label %24
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %25, 9
br i1 %26, label %30, label %27
27: ; preds = %24
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %28, 10
br i1 %29, label %30, label %48
30: ; preds = %27, %24, %21
%31 = load i32, ptr %7, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %41
33: ; preds = %30
%34 = load i32, ptr %8, align 4
%35 = icmp eq i32 %34, 10
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = load ptr, ptr %5, align 8
%39 = call i32 @ungetc(i32 noundef %37, ptr noundef %38)
br label %40
40: ; preds = %36, %33
br label %63
41: ; preds = %30
%42 = load i32, ptr %8, align 4
%43 = icmp eq i32 %42, 10
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load ptr, ptr %4, align 8
%46 = call i32 @strcpy(ptr noundef %45, ptr noundef @.str)
br label %68
47: ; preds = %41
br label %9
48: ; preds = %27
%49 = load i32, ptr %8, align 4
%50 = trunc i32 %49 to i8
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 %50, ptr %54, align 1
%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 = icmp sge i32 %57, 99
br i1 %58, label %59, label %62
59: ; preds = %48
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %7, align 4
br label %62
62: ; preds = %59, %48
br label %9
63: ; preds = %40, %15
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store i8 0, ptr %67, align 1
br label %68
68: ; preds = %63, %44
ret void
}
declare i32 @fgetc_unlocked(ptr noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu1k00s9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"</s>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReadWord(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @fgetc_unlocked(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr @EOF, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %.lr.ph
.lr.ph: ; preds = %3
br label %16
._crit_edge: ; preds = %.backedge
br label %14
14: ; preds = %._crit_edge, %3
%15 = load ptr, ptr %6, align 8
store i8 1, ptr %15, align 1
br label %67
16: ; preds = %.lr.ph, %.backedge
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, 13
br i1 %18, label %19, label %25
19: ; preds = %16
br label %.backedge
.backedge: ; preds = %19, %51, %66
%20 = load ptr, ptr %5, align 8
%21 = call i32 @fgetc_unlocked(ptr noundef %20)
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr @EOF, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %._crit_edge, label %16
25: ; preds = %16
%26 = load i32, ptr %8, align 4
%27 = icmp eq i32 %26, 32
br i1 %27, label %34, label %28
28: ; preds = %25
%29 = load i32, ptr %8, align 4
%30 = icmp eq i32 %29, 9
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i32, ptr %8, align 4
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %52
34: ; preds = %31, %28, %25
%35 = load i32, ptr %7, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %45
37: ; preds = %34
%38 = load i32, ptr %8, align 4
%39 = icmp eq i32 %38, 10
br i1 %39, label %40, label %44
40: ; preds = %37
%41 = load i32, ptr %8, align 4
%42 = load ptr, ptr %5, align 8
%43 = call i32 @ungetc(i32 noundef %41, ptr noundef %42)
br label %44
44: ; preds = %40, %37
br label %67
45: ; preds = %34
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %46, 10
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = load ptr, ptr %4, align 8
%50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str)
br label %72
51: ; preds = %45
br label %.backedge
52: ; preds = %31
%53 = load i32, ptr %8, align 4
%54 = trunc i32 %53 to i8
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 %54, ptr %58, align 1
%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 = icmp sge i32 %61, 99
br i1 %62, label %63, label %66
63: ; preds = %52
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %7, align 4
br label %66
66: ; preds = %63, %52
br label %.backedge
67: ; preds = %44, %14
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
store i8 0, ptr %71, align 1
br label %72
72: ; preds = %67, %48
ret void
}
declare i32 @fgetc_unlocked(ptr noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_xuazqgu.c'
source_filename = "/tmp/tmp_xuazqgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Mlevel should be mutiple of 2...\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"Cannot allocate memory for transLevelArray...!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dlsch_LLR_quant(ptr noundef %0, i32 noundef %1, i16 noundef signext %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca float, align 4
%15 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i16 %2, ptr %7, align 2
store ptr %3, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = call signext i16 @min_array(ptr noundef %16, i32 noundef %17)
store i16 %18, ptr %12, align 2
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = call signext i16 @max_array(ptr noundef %19, i32 noundef %20)
store i16 %21, ptr %11, align 2
%22 = load i16, ptr %11, align 2
%23 = sext i16 %22 to i32
%24 = load i16, ptr %12, align 2
%25 = sext i16 %24 to i32
%26 = sub nsw i32 %23, %25
%27 = trunc i32 %26 to i16
store i16 %27, ptr %13, align 2
%28 = load i16, ptr %13, align 2
%29 = sitofp i16 %28 to float
%30 = load i16, ptr %7, align 2
%31 = sext i16 %30 to i32
%32 = sitofp i32 %31 to float
%33 = fdiv float %29, %32
store float %33, ptr %14, align 4
%34 = load i16, ptr %7, align 2
%35 = sext i16 %34 to i32
%36 = srem i32 %35, 2
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %4
%39 = call i32 @printf(ptr noundef @.str)
%40 = call i32 @exit(i32 noundef -1) #4
unreachable
41: ; preds = %4
%42 = load i16, ptr %7, align 2
%43 = sext i16 %42 to i32
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 4
%47 = trunc i64 %46 to i16
%48 = call i64 @malloc(i16 noundef signext %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %15, align 8
%50 = load ptr, ptr %15, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %55, label %52
52: ; preds = %41
%53 = call i32 @printf(ptr noundef @.str.1)
%54 = call i32 @exit(i32 noundef -1) #4
unreachable
55: ; preds = %41
store i32 0, ptr %10, align 4
br label %56
56: ; preds = %74, %55
%57 = load i32, ptr %10, align 4
%58 = load i16, ptr %7, align 2
%59 = sext i16 %58 to i32
%60 = add nsw i32 %59, 1
%61 = icmp ult i32 %57, %60
br i1 %61, label %62, label %77
62: ; preds = %56
%63 = load i16, ptr %12, align 2
%64 = sext i16 %63 to i32
%65 = sitofp i32 %64 to float
%66 = load i32, ptr %10, align 4
%67 = uitofp i32 %66 to float
%68 = load float, ptr %14, align 4
%69 = call float @llvm.fmuladd.f32(float %67, float %68, float %65)
%70 = load ptr, ptr %15, align 8
%71 = load i32, ptr %10, align 4
%72 = zext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %70, i64 %72
store float %69, ptr %73, align 4
br label %74
74: ; preds = %62
%75 = load i32, ptr %10, align 4
%76 = add i32 %75, 1
store i32 %76, ptr %10, align 4
br label %56, !llvm.loop !6
77: ; preds = %56
store i32 0, ptr %9, align 4
br label %78
78: ; preds = %165, %77
%79 = load i32, ptr %9, align 4
%80 = load i32, ptr %6, align 4
%81 = icmp ult i32 %79, %80
br i1 %81, label %82, label %168
82: ; preds = %78
store i32 0, ptr %10, align 4
br label %83
83: ; preds = %161, %82
%84 = load i32, ptr %10, align 4
%85 = load i16, ptr %7, align 2
%86 = sext i16 %85 to i32
%87 = icmp ult i32 %84, %86
br i1 %87, label %88, label %164
88: ; preds = %83
%89 = load ptr, ptr %15, align 8
%90 = load i32, ptr %10, align 4
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %89, i64 %91
%93 = load float, ptr %92, align 4
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %9, align 4
%96 = zext i32 %95 to i64
%97 = getelementptr inbounds i16, ptr %94, i64 %96
%98 = load i16, ptr %97, align 2
%99 = sext i16 %98 to i32
%100 = sitofp i32 %99 to float
%101 = fcmp ole float %93, %100
br i1 %101, label %102, label %131
102: ; preds = %88
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %9, align 4
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds i16, ptr %103, i64 %105
%107 = load i16, ptr %106, align 2
%108 = sext i16 %107 to i32
%109 = sitofp i32 %108 to float
%110 = load ptr, ptr %15, align 8
%111 = load i32, ptr %10, align 4
%112 = add i32 %111, 1
%113 = zext i32 %112 to i64
%114 = getelementptr inbounds float, ptr %110, i64 %113
%115 = load float, ptr %114, align 4
%116 = fcmp ole float %109, %115
br i1 %116, label %117, label %131
117: ; preds = %102
%118 = load ptr, ptr %15, align 8
%119 = load i32, ptr %10, align 4
%120 = zext i32 %119 to i64
%121 = getelementptr inbounds float, ptr %118, i64 %120
%122 = load float, ptr %121, align 4
%123 = load float, ptr %14, align 4
%124 = fdiv float %123, 2.000000e+00
%125 = fadd float %122, %124
%126 = fptosi float %125 to i16
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %9, align 4
%129 = zext i32 %128 to i64
%130 = getelementptr inbounds i16, ptr %127, i64 %129
store i16 %126, ptr %130, align 2
br label %164
131: ; preds = %102, %88
%132 = load ptr, ptr %15, align 8
%133 = load i32, ptr %10, align 4
%134 = add i32 %133, 1
%135 = zext i32 %134 to i64
%136 = getelementptr inbounds float, ptr %132, i64 %135
%137 = load float, ptr %136, align 4
%138 = load ptr, ptr %5, align 8
%139 = load i32, ptr %9, align 4
%140 = zext i32 %139 to i64
%141 = getelementptr inbounds i16, ptr %138, i64 %140
%142 = load i16, ptr %141, align 2
%143 = sext i16 %142 to i32
%144 = sitofp i32 %143 to float
%145 = fcmp ole float %137, %144
br i1 %145, label %146, label %160
146: ; preds = %131
%147 = load ptr, ptr %15, align 8
%148 = load i32, ptr %10, align 4
%149 = zext i32 %148 to i64
%150 = getelementptr inbounds float, ptr %147, i64 %149
%151 = load float, ptr %150, align 4
%152 = load float, ptr %14, align 4
%153 = fdiv float %152, 2.000000e+00
%154 = fadd float %151, %153
%155 = fptosi float %154 to i16
%156 = load ptr, ptr %8, align 8
%157 = load i32, ptr %9, align 4
%158 = zext i32 %157 to i64
%159 = getelementptr inbounds i16, ptr %156, i64 %158
store i16 %155, ptr %159, align 2
br label %160
160: ; preds = %146, %131
br label %161
161: ; preds = %160
%162 = load i32, ptr %10, align 4
%163 = add i32 %162, 1
store i32 %163, ptr %10, align 4
br label %83, !llvm.loop !8
164: ; preds = %117, %83
br label %165
165: ; preds = %164
%166 = load i32, ptr %9, align 4
%167 = add i32 %166, 1
store i32 %167, ptr %9, align 4
br label %78, !llvm.loop !9
168: ; preds = %78
ret void
}
declare signext i16 @min_array(ptr noundef, i32 noundef) #1
declare signext i16 @max_array(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @malloc(i16 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xuazqgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Mlevel should be mutiple of 2...\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"Cannot allocate memory for transLevelArray...!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dlsch_LLR_quant(ptr noundef %0, i32 noundef %1, i16 noundef signext %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca float, align 4
%15 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i16 %2, ptr %7, align 2
store ptr %3, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = call signext i16 @min_array(ptr noundef %16, i32 noundef %17)
store i16 %18, ptr %12, align 2
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = call signext i16 @max_array(ptr noundef %19, i32 noundef %20)
store i16 %21, ptr %11, align 2
%22 = load i16, ptr %11, align 2
%23 = sext i16 %22 to i32
%24 = load i16, ptr %12, align 2
%25 = sext i16 %24 to i32
%26 = sub nsw i32 %23, %25
%27 = trunc i32 %26 to i16
store i16 %27, ptr %13, align 2
%28 = load i16, ptr %13, align 2
%29 = sitofp i16 %28 to float
%30 = load i16, ptr %7, align 2
%31 = sext i16 %30 to i32
%32 = sitofp i32 %31 to float
%33 = fdiv float %29, %32
store float %33, ptr %14, align 4
%34 = load i16, ptr %7, align 2
%35 = sext i16 %34 to i32
%36 = srem i32 %35, 2
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %4
%39 = call i32 @printf(ptr noundef @.str)
%40 = call i32 @exit(i32 noundef -1) #4
unreachable
41: ; preds = %4
%42 = load i16, ptr %7, align 2
%43 = sext i16 %42 to i32
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 4
%47 = trunc i64 %46 to i16
%48 = call i64 @malloc(i16 noundef signext %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %15, align 8
%50 = load ptr, ptr %15, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %55, label %52
52: ; preds = %41
%53 = call i32 @printf(ptr noundef @.str.1)
%54 = call i32 @exit(i32 noundef -1) #4
unreachable
55: ; preds = %41
store i32 0, ptr %10, align 4
%56 = load i32, ptr %10, align 4
%57 = load i16, ptr %7, align 2
%58 = sext i16 %57 to i32
%59 = add nsw i32 %58, 1
%60 = icmp ult i32 %56, %59
br i1 %60, label %.lr.ph, label %81
.lr.ph: ; preds = %55
br label %61
61: ; preds = %.lr.ph, %73
%62 = load i16, ptr %12, align 2
%63 = sext i16 %62 to i32
%64 = sitofp i32 %63 to float
%65 = load i32, ptr %10, align 4
%66 = uitofp i32 %65 to float
%67 = load float, ptr %14, align 4
%68 = call float @llvm.fmuladd.f32(float %66, float %67, float %64)
%69 = load ptr, ptr %15, align 8
%70 = load i32, ptr %10, align 4
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %69, i64 %71
store float %68, ptr %72, align 4
br label %73
73: ; preds = %61
%74 = load i32, ptr %10, align 4
%75 = add i32 %74, 1
store i32 %75, ptr %10, align 4
%76 = load i32, ptr %10, align 4
%77 = load i16, ptr %7, align 2
%78 = sext i16 %77 to i32
%79 = add nsw i32 %78, 1
%80 = icmp ult i32 %76, %79
br i1 %80, label %61, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %73
br label %81
81: ; preds = %._crit_edge, %55
store i32 0, ptr %9, align 4
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %6, align 4
%84 = icmp ult i32 %82, %83
br i1 %84, label %.lr.ph4, label %177
.lr.ph4: ; preds = %81
br label %85
85: ; preds = %.lr.ph4, %171
store i32 0, ptr %10, align 4
%86 = load i32, ptr %10, align 4
%87 = load i16, ptr %7, align 2
%88 = sext i16 %87 to i32
%89 = icmp ult i32 %86, %88
br i1 %89, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %85
br label %90
90: ; preds = %.lr.ph2, %163
%91 = load ptr, ptr %15, align 8
%92 = load i32, ptr %10, align 4
%93 = zext i32 %92 to i64
%94 = getelementptr inbounds float, ptr %91, i64 %93
%95 = load float, ptr %94, align 4
%96 = load ptr, ptr %5, align 8
%97 = load i32, ptr %9, align 4
%98 = zext i32 %97 to i64
%99 = getelementptr inbounds i16, ptr %96, i64 %98
%100 = load i16, ptr %99, align 2
%101 = sext i16 %100 to i32
%102 = sitofp i32 %101 to float
%103 = fcmp ole float %95, %102
br i1 %103, label %104, label %133
104: ; preds = %90
%105 = load ptr, ptr %5, align 8
%106 = load i32, ptr %9, align 4
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds i16, ptr %105, i64 %107
%109 = load i16, ptr %108, align 2
%110 = sext i16 %109 to i32
%111 = sitofp i32 %110 to float
%112 = load ptr, ptr %15, align 8
%113 = load i32, ptr %10, align 4
%114 = add i32 %113, 1
%115 = zext i32 %114 to i64
%116 = getelementptr inbounds float, ptr %112, i64 %115
%117 = load float, ptr %116, align 4
%118 = fcmp ole float %111, %117
br i1 %118, label %119, label %133
119: ; preds = %104
%120 = load ptr, ptr %15, align 8
%121 = load i32, ptr %10, align 4
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds float, ptr %120, i64 %122
%124 = load float, ptr %123, align 4
%125 = load float, ptr %14, align 4
%126 = fdiv float %125, 2.000000e+00
%127 = fadd float %124, %126
%128 = fptosi float %127 to i16
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %9, align 4
%131 = zext i32 %130 to i64
%132 = getelementptr inbounds i16, ptr %129, i64 %131
store i16 %128, ptr %132, align 2
br label %170
133: ; preds = %104, %90
%134 = load ptr, ptr %15, align 8
%135 = load i32, ptr %10, align 4
%136 = add i32 %135, 1
%137 = zext i32 %136 to i64
%138 = getelementptr inbounds float, ptr %134, i64 %137
%139 = load float, ptr %138, align 4
%140 = load ptr, ptr %5, align 8
%141 = load i32, ptr %9, align 4
%142 = zext i32 %141 to i64
%143 = getelementptr inbounds i16, ptr %140, i64 %142
%144 = load i16, ptr %143, align 2
%145 = sext i16 %144 to i32
%146 = sitofp i32 %145 to float
%147 = fcmp ole float %139, %146
br i1 %147, label %148, label %162
148: ; preds = %133
%149 = load ptr, ptr %15, align 8
%150 = load i32, ptr %10, align 4
%151 = zext i32 %150 to i64
%152 = getelementptr inbounds float, ptr %149, i64 %151
%153 = load float, ptr %152, align 4
%154 = load float, ptr %14, align 4
%155 = fdiv float %154, 2.000000e+00
%156 = fadd float %153, %155
%157 = fptosi float %156 to i16
%158 = load ptr, ptr %8, align 8
%159 = load i32, ptr %9, align 4
%160 = zext i32 %159 to i64
%161 = getelementptr inbounds i16, ptr %158, i64 %160
store i16 %157, ptr %161, align 2
br label %162
162: ; preds = %148, %133
br label %163
163: ; preds = %162
%164 = load i32, ptr %10, align 4
%165 = add i32 %164, 1
store i32 %165, ptr %10, align 4
%166 = load i32, ptr %10, align 4
%167 = load i16, ptr %7, align 2
%168 = sext i16 %167 to i32
%169 = icmp ult i32 %166, %168
br i1 %169, label %90, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %163
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %85
br label %170
170: ; preds = %.loopexit, %119
br label %171
171: ; preds = %170
%172 = load i32, ptr %9, align 4
%173 = add i32 %172, 1
store i32 %173, ptr %9, align 4
%174 = load i32, ptr %9, align 4
%175 = load i32, ptr %6, align 4
%176 = icmp ult i32 %174, %175
br i1 %176, label %85, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %171
br label %177
177: ; preds = %._crit_edge5, %81
ret void
}
declare signext i16 @min_array(ptr noundef, i32 noundef) #1
declare signext i16 @max_array(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @malloc(i16 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_bz0oatb.c'
source_filename = "/tmp/tmp_bz0oatb.c"
target datalayout = "e-m:e-p270: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_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"/run/ldm.socket\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@F_GETFL = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ipc_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_un, align 4
store i32 %0, ptr %3, align 4
%7 = load i32, ptr @AF_UNIX, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %58
14: ; preds = %1
%15 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%16 = load i32, ptr @AF_UNIX, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = call i32 @strncpy(i32 noundef %19, ptr noundef @.str.1, i32 noundef 4)
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %49
23: ; preds = %14
%24 = call i32 @unlink(ptr noundef @.str.1)
%25 = load i32, ptr %4, align 4
%26 = call i64 @bind(i32 noundef %25, ptr noundef %6, i32 noundef 8)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %58
30: ; preds = %23
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr @F_GETFL, align 4
%33 = call i32 @fcntl(i32 noundef %31, i32 noundef %32, i32 noundef 0)
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %2, align 4
br label %58
38: ; preds = %30
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr @F_SETFL, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr @O_NONBLOCK, align 4
%43 = or i32 %41, %42
%44 = call i32 @fcntl(i32 noundef %39, i32 noundef %40, i32 noundef %43)
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %2, align 4
br label %58
48: ; preds = %38
br label %56
49: ; preds = %14
%50 = load i32, ptr %4, align 4
%51 = call i64 @connect(i32 noundef %50, ptr noundef %6, i32 noundef 8)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 @perror(ptr noundef @.str.4)
store i32 -1, ptr %2, align 4
br label %58
55: ; preds = %49
br label %56
56: ; preds = %55, %48
%57 = load i32, ptr %4, align 4
store i32 %57, ptr %2, align 4
br label %58
58: ; preds = %56, %53, %46, %36, %28, %12
%59 = load i32, ptr %2, align 4
ret i32 %59
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @connect(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/tmp_bz0oatb.c"
target datalayout = "e-m:e-p270: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_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"/run/ldm.socket\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@F_GETFL = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ipc_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_un, align 4
store i32 %0, ptr %3, align 4
%7 = load i32, ptr @AF_UNIX, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %58
14: ; preds = %1
%15 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%16 = load i32, ptr @AF_UNIX, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = call i32 @strncpy(i32 noundef %19, ptr noundef @.str.1, i32 noundef 4)
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %49
23: ; preds = %14
%24 = call i32 @unlink(ptr noundef @.str.1)
%25 = load i32, ptr %4, align 4
%26 = call i64 @bind(i32 noundef %25, ptr noundef %6, i32 noundef 8)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %58
30: ; preds = %23
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr @F_GETFL, align 4
%33 = call i32 @fcntl(i32 noundef %31, i32 noundef %32, i32 noundef 0)
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %2, align 4
br label %58
38: ; preds = %30
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr @F_SETFL, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr @O_NONBLOCK, align 4
%43 = or i32 %41, %42
%44 = call i32 @fcntl(i32 noundef %39, i32 noundef %40, i32 noundef %43)
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %2, align 4
br label %58
48: ; preds = %38
br label %56
49: ; preds = %14
%50 = load i32, ptr %4, align 4
%51 = call i64 @connect(i32 noundef %50, ptr noundef %6, i32 noundef 8)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 @perror(ptr noundef @.str.4)
store i32 -1, ptr %2, align 4
br label %58
55: ; preds = %49
br label %56
56: ; preds = %55, %48
%57 = load i32, ptr %4, align 4
store i32 %57, ptr %2, align 4
br label %58
58: ; preds = %56, %53, %46, %36, %28, %12
%59 = load i32, ptr %2, align 4
ret i32 %59
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @connect(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/tmpexaocw2c.c'
source_filename = "/tmp/tmpexaocw2c.c"
target datalayout = "e-m:e-p270: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_SET = 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/tmpexaocw2c.c"
target datalayout = "e-m:e-p270: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_SET = 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/tmp4ktzx8x_.c'
source_filename = "/tmp/tmp4ktzx8x_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"The %d contestants ate %f bery pies.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"The value of pi is %f,\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"Farewell! thou art too dear for my possessing,\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%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 float, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 7, ptr %2, align 4
store float 1.275000e+01, ptr %3, align 4
store i32 7800, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = load float, ptr %3, align 4
%7 = fpext float %6 to double
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5, double noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef 0x400921FB82C2BD7F)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = load i32, ptr %4, align 4
%12 = mul nsw i32 2, %11
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 36, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ktzx8x_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"The %d contestants ate %f bery pies.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"The value of pi is %f,\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"Farewell! thou art too dear for my possessing,\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%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 float, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 7, ptr %2, align 4
store float 1.275000e+01, ptr %3, align 4
store i32 7800, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = load float, ptr %3, align 4
%7 = fpext float %6 to double
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5, double noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef 0x400921FB82C2BD7F)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = load i32, ptr %4, align 4
%12 = mul nsw i32 2, %11
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 36, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0z23n9is.c'
source_filename = "/tmp/tmp0z23n9is.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UTF-8\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"utf8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @putf8_is_locale_utf8(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %88, %1
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %27
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 64
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 43
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 44
br label %27
27: ; preds = %22, %17, %12, %7
%28 = phi i1 [ false, %17 ], [ false, %12 ], [ false, %7 ], [ %26, %22 ]
br i1 %28, label %29, label %91
29: ; preds = %27
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 46
br i1 %33, label %34, label %87
34: ; preds = %29
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
store ptr %36, ptr %5, align 8
br label %37
37: ; preds = %60, %34
%38 = load ptr, ptr %4, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %57
42: ; preds = %37
%43 = load ptr, ptr %4, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 64
br i1 %46, label %47, label %57
47: ; preds = %42
%48 = load ptr, ptr %4, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 43
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = load ptr, ptr %4, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 44
br label %57
57: ; preds = %52, %47, %42, %37
%58 = phi i1 [ false, %47 ], [ false, %42 ], [ false, %37 ], [ %56, %52 ]
br i1 %58, label %59, label %63
59: ; preds = %57
br label %60
60: ; preds = %59
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %4, align 8
br label %37, !llvm.loop !6
63: ; preds = %57
%64 = load ptr, ptr %4, align 8
%65 = load ptr, ptr %5, align 8
%66 = ptrtoint ptr %64 to i64
%67 = ptrtoint ptr %65 to i64
%68 = sub i64 %66, %67
%69 = icmp eq i64 %68, 5
br i1 %69, label %70, label %74
70: ; preds = %63
%71 = load ptr, ptr %5, align 8
%72 = call i32 @strncmp(ptr noundef %71, ptr noundef @.str, i32 noundef 5)
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %85
74: ; preds = %70, %63
%75 = load ptr, ptr %4, align 8
%76 = load ptr, ptr %5, align 8
%77 = ptrtoint ptr %75 to i64
%78 = ptrtoint ptr %76 to i64
%79 = sub i64 %77, %78
%80 = icmp eq i64 %79, 4
br i1 %80, label %81, label %86
81: ; preds = %74
%82 = load ptr, ptr %5, align 8
%83 = call i32 @strncmp(ptr noundef %82, ptr noundef @.str.1, i32 noundef 4)
%84 = icmp ne i32 %83, 0
br i1 %84, label %86, label %85
85: ; preds = %81, %70
store i32 1, ptr %2, align 4
br label %92
86: ; preds = %81, %74
br label %91
87: ; preds = %29
br label %88
88: ; preds = %87
%89 = load ptr, ptr %4, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %4, align 8
br label %7, !llvm.loop !8
91: ; preds = %86, %27
store i32 0, ptr %2, align 4
br label %92
92: ; preds = %91, %85
%93 = load i32, ptr %2, align 4
ret i32 %93
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0z23n9is.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UTF-8\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"utf8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @putf8_is_locale_utf8(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %88, %1
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %27
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 64
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 43
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 44
br label %27
27: ; preds = %22, %17, %12, %7
%28 = phi i1 [ false, %17 ], [ false, %12 ], [ false, %7 ], [ %26, %22 ]
br i1 %28, label %29, label %.loopexit
29: ; preds = %27
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 46
br i1 %33, label %34, label %87
34: ; preds = %29
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
store ptr %36, ptr %5, align 8
br label %37
37: ; preds = %60, %34
%38 = load ptr, ptr %4, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %57
42: ; preds = %37
%43 = load ptr, ptr %4, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 64
br i1 %46, label %47, label %57
47: ; preds = %42
%48 = load ptr, ptr %4, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 43
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = load ptr, ptr %4, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 44
br label %57
57: ; preds = %52, %47, %42, %37
%58 = phi i1 [ false, %47 ], [ false, %42 ], [ false, %37 ], [ %56, %52 ]
br i1 %58, label %59, label %63
59: ; preds = %57
br label %60
60: ; preds = %59
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %4, align 8
br label %37, !llvm.loop !6
63: ; preds = %57
%64 = load ptr, ptr %4, align 8
%65 = load ptr, ptr %5, align 8
%66 = ptrtoint ptr %64 to i64
%67 = ptrtoint ptr %65 to i64
%68 = sub i64 %66, %67
%69 = icmp eq i64 %68, 5
br i1 %69, label %70, label %74
70: ; preds = %63
%71 = load ptr, ptr %5, align 8
%72 = call i32 @strncmp(ptr noundef %71, ptr noundef @.str, i32 noundef 5)
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %85
74: ; preds = %70, %63
%75 = load ptr, ptr %4, align 8
%76 = load ptr, ptr %5, align 8
%77 = ptrtoint ptr %75 to i64
%78 = ptrtoint ptr %76 to i64
%79 = sub i64 %77, %78
%80 = icmp eq i64 %79, 4
br i1 %80, label %81, label %86
81: ; preds = %74
%82 = load ptr, ptr %5, align 8
%83 = call i32 @strncmp(ptr noundef %82, ptr noundef @.str.1, i32 noundef 4)
%84 = icmp ne i32 %83, 0
br i1 %84, label %86, label %85
85: ; preds = %81, %70
store i32 1, ptr %2, align 4
br label %92
86: ; preds = %81, %74
br label %91
87: ; preds = %29
br label %88
88: ; preds = %87
%89 = load ptr, ptr %4, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %4, align 8
br label %7, !llvm.loop !8
.loopexit: ; preds = %27
br label %91
91: ; preds = %.loopexit, %86
store i32 0, ptr %2, align 4
br label %92
92: ; preds = %91, %85
%93 = load i32, ptr %2, align 4
ret i32 %93
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqdo35v6k.c'
source_filename = "/tmp/tmpqdo35v6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @softfloat_shift32RightJam(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ult i32 %5, 32
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = lshr i32 %8, %9
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sub i32 0, %12
%14 = and i32 %13, 31
%15 = shl i32 %11, %14
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i32
%18 = or i32 %10, %17
br label %23
19: ; preds = %2
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
br label %23
23: ; preds = %19, %7
%24 = phi i32 [ %18, %7 ], [ %22, %19 ]
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqdo35v6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @softfloat_shift32RightJam(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ult i32 %5, 32
br i1 %6, label %7, label %19
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = lshr i32 %8, %9
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sub i32 0, %12
%14 = and i32 %13, 31
%15 = shl i32 %11, %14
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i32
%18 = or i32 %10, %17
br label %23
19: ; preds = %2
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
br label %23
23: ; preds = %19, %7
%24 = phi i32 [ %18, %7 ], [ %22, %19 ]
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpucrwmd56.c'
source_filename = "/tmp/tmpucrwmd56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wBasLen() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @wPopString()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @strlen(ptr noundef %3)
%5 = call i32 @wPushNumber(i32 noundef %4)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @wFree(ptr noundef %6)
ret void
}
declare ptr @wPopString(...) #1
declare i32 @wPushNumber(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @wFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpucrwmd56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wBasLen() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @wPopString()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @strlen(ptr noundef %3)
%5 = call i32 @wPushNumber(i32 noundef %4)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @wFree(ptr noundef %6)
ret void
}
declare ptr @wPopString(...) #1
declare i32 @wPushNumber(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @wFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqmivccfe.c'
source_filename = "/tmp/tmpqmivccfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"value 42 is stored in array[%2d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %17, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 100
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %9, 2
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %11, 2
%13 = add nsw i32 %10, %12
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %15
store i32 %13, ptr %16, align 4
br label %17
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%22 = call i32 @binary_search(ptr noundef %21, i32 noundef 100, i32 noundef 42)
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
ret i32 0
}
declare i32 @binary_search(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqmivccfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"value 42 is stored in array[%2d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 100
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %16
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %8, 2
%10 = load i32, ptr %3, align 4
%11 = sdiv i32 %10, 2
%12 = add nsw i32 %9, %11
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %14
store i32 %12, ptr %15, align 4
br label %16
16: ; preds = %7
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 100
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%23 = call i32 @binary_search(ptr noundef %22, i32 noundef 100, i32 noundef 42)
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
ret i32 0
}
declare i32 @binary_search(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvl79erik.c'
source_filename = "/tmp/tmpvl79erik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %38, %4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = mul nsw i32 %15, %16
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %14, i64 %18
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store ptr %23, ptr %11, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %10, align 8
%26 = load ptr, ptr %11, align 8
%27 = call i32 %24(ptr noundef %25, ptr noundef %26)
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %12, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %13
%31 = load ptr, ptr %10, align 8
%32 = load ptr, ptr %11, align 8
%33 = load i32, ptr %7, align 4
%34 = call i32 @_swap(ptr noundef %31, ptr noundef %32, i32 noundef %33)
store i32 0, ptr %9, align 4
br label %38
35: ; preds = %13
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %38
38: ; preds = %35, %30
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %13, label %43, !llvm.loop !6
43: ; preds = %38
ret void
}
declare i32 @_swap(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvl79erik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %38, %4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = mul nsw i32 %15, %16
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %14, i64 %18
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store ptr %23, ptr %11, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %10, align 8
%26 = load ptr, ptr %11, align 8
%27 = call i32 %24(ptr noundef %25, ptr noundef %26)
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %12, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %13
%31 = load ptr, ptr %10, align 8
%32 = load ptr, ptr %11, align 8
%33 = load i32, ptr %7, align 4
%34 = call i32 @_swap(ptr noundef %31, ptr noundef %32, i32 noundef %33)
store i32 0, ptr %9, align 4
br label %38
35: ; preds = %13
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %38
38: ; preds = %35, %30
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %13, label %43, !llvm.loop !6
43: ; preds = %38
ret void
}
declare i32 @_swap(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphp9dmu5p.c'
source_filename = "/tmp/tmphp9dmu5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = call ptr @alloca(i32 noundef 4)
store ptr %6, ptr %3, align 8
%7 = call ptr @alloca(i32 noundef 4)
store ptr %7, ptr %4, align 8
%8 = call ptr @alloca(i32 noundef 4)
store ptr %8, ptr %5, align 8
%9 = load i32, ptr %2, align 4
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
%11 = load ptr, ptr %4, align 8
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %5, align 8
store i32 0, ptr %12, align 4
br label %13
13: ; preds = %35, %1
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %14, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %39
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %18, align 4
%20 = srem i32 %19, 2
%21 = load ptr, ptr %4, align 8
store i32 %20, ptr %21, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %26, align 4
%28 = sdiv i32 %27, 2
%29 = load ptr, ptr %3, align 8
store i32 %28, ptr %29, align 4
br label %35
30: ; preds = %17
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %31, align 4
%33 = sub nsw i32 %32, 1
%34 = load ptr, ptr %3, align 8
store i32 %33, ptr %34, align 4
br label %35
35: ; preds = %30, %25
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %36, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %36, align 4
br label %13, !llvm.loop !6
39: ; preds = %13
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %40, align 4
ret i32 %41
}
declare ptr @alloca(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/tmphp9dmu5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = call ptr @alloca(i32 noundef 4)
store ptr %6, ptr %3, align 8
%7 = call ptr @alloca(i32 noundef 4)
store ptr %7, ptr %4, align 8
%8 = call ptr @alloca(i32 noundef 4)
store ptr %8, ptr %5, align 8
%9 = load i32, ptr %2, align 4
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
%11 = load ptr, ptr %4, align 8
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %5, align 8
store i32 0, ptr %12, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %.lr.ph, label %41
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %34
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %17, align 4
%19 = srem i32 %18, 2
%20 = load ptr, ptr %4, align 8
store i32 %19, ptr %20, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %21, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %25, align 4
%27 = sdiv i32 %26, 2
%28 = load ptr, ptr %3, align 8
store i32 %27, ptr %28, align 4
br label %34
29: ; preds = %16
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %30, align 4
%32 = sub nsw i32 %31, 1
%33 = load ptr, ptr %3, align 8
store i32 %32, ptr %33, align 4
br label %34
34: ; preds = %29, %24
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %35, align 4
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %38, align 4
%40 = icmp sgt i32 %39, 1
br i1 %40, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %41
41: ; preds = %._crit_edge, %1
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %42, align 4
ret i32 %43
}
declare ptr @alloca(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/tmpbc1m7buo.c'
source_filename = "/tmp/tmpbc1m7buo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutt_atoi(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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
br label %15
14: ; preds = %2
br label %15
15: ; preds = %14, %12
%16 = phi ptr [ %13, %12 ], [ %8, %14 ]
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
store i32 0, ptr %17, align 4
%18 = load ptr, ptr %4, align 8
%19 = call i32 @mutt_atol(ptr noundef %18, ptr noundef %7)
store i32 %19, ptr %6, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = load i32, ptr %6, align 4
store i32 %22, ptr %3, align 4
br label %34
23: ; preds = %15
%24 = load i64, ptr %7, align 8
%25 = trunc i64 %24 to i32
%26 = sext i32 %25 to i64
%27 = load i64, ptr %7, align 8
%28 = icmp ne i64 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %23
store i32 -2, ptr %3, align 4
br label %34
30: ; preds = %23
%31 = load i64, ptr %7, align 8
%32 = trunc i64 %31 to i32
%33 = load ptr, ptr %9, align 8
store i32 %32, ptr %33, align 4
store i32 0, ptr %3, align 4
br label %34
34: ; preds = %30, %29, %21
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @mutt_atol(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/tmpbc1m7buo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutt_atoi(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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
br label %15
14: ; preds = %2
br label %15
15: ; preds = %14, %12
%16 = phi ptr [ %13, %12 ], [ %8, %14 ]
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
store i32 0, ptr %17, align 4
%18 = load ptr, ptr %4, align 8
%19 = call i32 @mutt_atol(ptr noundef %18, ptr noundef %7)
store i32 %19, ptr %6, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = load i32, ptr %6, align 4
store i32 %22, ptr %3, align 4
br label %34
23: ; preds = %15
%24 = load i64, ptr %7, align 8
%25 = trunc i64 %24 to i32
%26 = sext i32 %25 to i64
%27 = load i64, ptr %7, align 8
%28 = icmp ne i64 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %23
store i32 -2, ptr %3, align 4
br label %34
30: ; preds = %23
%31 = load i64, ptr %7, align 8
%32 = trunc i64 %31 to i32
%33 = load ptr, ptr %9, align 8
store i32 %32, ptr %33, align 4
store i32 0, ptr %3, align 4
br label %34
34: ; preds = %30, %29, %21
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @mutt_atol(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/tmp660kenyc.c'
source_filename = "/tmp/tmp660kenyc.c"
target datalayout = "e-m:e-p270: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.getASCII.mainMap = private unnamed_addr constant [385 x i8] c"AAAAAAACEEEEIIIIDNOOOOOx0UUUUY.Baaaaaaaceeeeiiiionooooo-ouuuuy.yAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIiIiJjKkkLlLlLlLlLlNnNnNnnnnOoOoOo..RrRrRrSsSsSsSsTtTtFfUuUuUuUuUuUuWwYyYZzZzZzfbB...............FfG...IKkl..N.0................................|..!.........AaIiOoUuUuUuUuUueAaAaAaGgGgKkQqQq33J...GgHpNnAaAa00AaAaEeEeIiIiOoOoRrRrUuUuSsTt33Hhnd..ZzAaEeOoOoOoOoYylnrj..ACcLTs\00", align 16
@__const.getASCII.extraUtfMap = private unnamed_addr constant [2 x i32] [i32 225, i32 0], align 4
@__const.getASCII.extraChrMap = private unnamed_addr constant [2 x i8] c"a.", align 1
@.str = private unnamed_addr constant [26 x i8] c"Unhandled UTF-8 code! %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @getASCII(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca [385 x i8], align 16
%5 = alloca [2 x i32], align 4
%6 = alloca [2 x i8], align 1
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i8 46, ptr %3, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.getASCII.mainMap, i64 385, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.getASCII.extraUtfMap, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.getASCII.extraChrMap, i64 2, i1 false)
%8 = load i32, ptr %2, align 4
%9 = icmp sge i32 %8, 192
br i1 %9, label %10, label %19
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 559
br i1 %12, label %13, label %19
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 192
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [385 x i8], ptr %4, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %3, align 1
br label %53
19: ; preds = %10, %1
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %49, %19
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %20
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %27, %20
%34 = phi i1 [ false, %20 ], [ %32, %27 ]
br i1 %34, label %35, label %52
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %35
%42 = load i32, ptr %2, align 4
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %42)
br label %44
44: ; preds = %41, %35
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
store i8 %48, ptr %3, align 1
br label %49
49: ; preds = %44
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %20, !llvm.loop !6
52: ; preds = %33
br label %53
53: ; preds = %52, %13
%54 = load i8, ptr %3, align 1
ret i8 %54
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp660kenyc.c"
target datalayout = "e-m:e-p270: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.getASCII.mainMap = private unnamed_addr constant [385 x i8] c"AAAAAAACEEEEIIIIDNOOOOOx0UUUUY.Baaaaaaaceeeeiiiionooooo-ouuuuy.yAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIiIiJjKkkLlLlLlLlLlNnNnNnnnnOoOoOo..RrRrRrSsSsSsSsTtTtFfUuUuUuUuUuUuWwYyYZzZzZzfbB...............FfG...IKkl..N.0................................|..!.........AaIiOoUuUuUuUuUueAaAaAaGgGgKkQqQq33J...GgHpNnAaAa00AaAaEeEeIiIiOoOoRrRrUuUuSsTt33Hhnd..ZzAaEeOoOoOoOoYylnrj..ACcLTs\00", align 16
@__const.getASCII.extraUtfMap = private unnamed_addr constant [2 x i32] [i32 225, i32 0], align 4
@__const.getASCII.extraChrMap = private unnamed_addr constant [2 x i8] c"a.", align 1
@.str = private unnamed_addr constant [26 x i8] c"Unhandled UTF-8 code! %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @getASCII(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
%4 = alloca [385 x i8], align 16
%5 = alloca [2 x i32], align 4
%6 = alloca [2 x i8], align 1
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i8 46, ptr %3, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.getASCII.mainMap, i64 385, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.getASCII.extraUtfMap, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.getASCII.extraChrMap, i64 2, i1 false)
%8 = load i32, ptr %2, align 4
%9 = icmp sge i32 %8, 192
br i1 %9, label %10, label %19
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 559
br i1 %12, label %13, label %19
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 192
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [385 x i8], ptr %4, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %3, align 1
br label %53
19: ; preds = %10, %1
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %49, %19
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %20
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %27, %20
%34 = phi i1 [ false, %20 ], [ %32, %27 ]
br i1 %34, label %35, label %52
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %35
%42 = load i32, ptr %2, align 4
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %42)
br label %44
44: ; preds = %41, %35
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
store i8 %48, ptr %3, align 1
br label %49
49: ; preds = %44
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %20, !llvm.loop !6
52: ; preds = %33
br label %53
53: ; preds = %52, %13
%54 = load i8, ptr %3, align 1
ret i8 %54
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx2q4apdp.c'
source_filename = "/tmp/tmpx2q4apdp.c"
target datalayout = "e-m:e-p270: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/tmpx2q4apdp.c"
target datalayout = "e-m:e-p270: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/tmpn5clfce7.c'
source_filename = "/tmp/tmpn5clfce7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @testNull()
%3 = call i32 (...) @testFalse()
%4 = call i32 (...) @testTrue()
%5 = call i32 (...) @testNumber()
%6 = call i32 (...) @testString()
%7 = call i32 (...) @testArray()
%8 = call i32 (...) @testObject()
%9 = call i32 (...) @testParse()
ret i32 0
}
declare i32 @testNull(...) #1
declare i32 @testFalse(...) #1
declare i32 @testTrue(...) #1
declare i32 @testNumber(...) #1
declare i32 @testString(...) #1
declare i32 @testArray(...) #1
declare i32 @testObject(...) #1
declare i32 @testParse(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5clfce7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @testNull()
%3 = call i32 (...) @testFalse()
%4 = call i32 (...) @testTrue()
%5 = call i32 (...) @testNumber()
%6 = call i32 (...) @testString()
%7 = call i32 (...) @testArray()
%8 = call i32 (...) @testObject()
%9 = call i32 (...) @testParse()
ret i32 0
}
declare i32 @testNull(...) #1
declare i32 @testFalse(...) #1
declare i32 @testTrue(...) #1
declare i32 @testNumber(...) #1
declare i32 @testString(...) #1
declare i32 @testArray(...) #1
declare i32 @testObject(...) #1
declare i32 @testParse(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpalprj6p_.c'
source_filename = "/tmp/tmpalprj6p_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoupper(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = call signext i8 @toupper(i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
store i8 %10, ptr %11, align 1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
br label %3, !llvm.loop !6
14: ; preds = %3
ret void
}
declare signext i8 @toupper(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/tmpalprj6p_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoupper(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = call signext i8 @toupper(i8 noundef signext %8)
%10 = load ptr, ptr %2, align 8
store i8 %9, ptr %10, align 1
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %16
16: ; preds = %._crit_edge, %1
ret void
}
declare signext i8 @toupper(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/tmpn3l81af9.c'
source_filename = "/tmp/tmpn3l81af9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetc(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 @getc(ptr noundef %3)
ret i32 %4
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn3l81af9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetc(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 @getc(ptr noundef %3)
ret i32 %4
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1a_pv5lm.c'
source_filename = "/tmp/tmp1a_pv5lm.c"
target datalayout = "e-m:e-p270: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 }
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_NOFOLLOW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_log(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %6)
%9 = icmp sge i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @unlink(ptr noundef %11)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr @O_WRONLY, align 4
%16 = load i32, ptr @O_CREAT, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @O_TRUNC, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @O_NOFOLLOW, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr %4, align 4
%23 = call i32 @open(ptr noundef %14, i32 noundef %21, i32 noundef %22)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
ret i32 %24
}
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1a_pv5lm.c"
target datalayout = "e-m:e-p270: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 }
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@O_NOFOLLOW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_log(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %6)
%9 = icmp sge i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @unlink(ptr noundef %11)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr @O_WRONLY, align 4
%16 = load i32, ptr @O_CREAT, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @O_TRUNC, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @O_NOFOLLOW, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr %4, align 4
%23 = call i32 @open(ptr noundef %14, i32 noundef %21, i32 noundef %22)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
ret i32 %24
}
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuiut2yzq.c'
source_filename = "/tmp/tmpuiut2yzq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_bitsm(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %9, align 8
%14 = call i64 @parse_sm(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 1, ptr %5, align 4
br label %28
17: ; preds = %4
%18 = load ptr, ptr %7, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
%26 = call i32 @parse_bb(ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25)
store i32 %26, ptr %5, align 4
br label %28
27: ; preds = %17
store i32 0, ptr %5, align 4
br label %28
28: ; preds = %27, %21, %16
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i64 @parse_sm(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @parse_bb(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/tmpuiut2yzq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_bitsm(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %9, align 8
%14 = call i64 @parse_sm(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 1, ptr %5, align 4
br label %28
17: ; preds = %4
%18 = load ptr, ptr %7, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
%26 = call i32 @parse_bb(ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25)
store i32 %26, ptr %5, align 4
br label %28
27: ; preds = %17
store i32 0, ptr %5, align 4
br label %28
28: ; preds = %27, %21, %16
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i64 @parse_sm(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @parse_bb(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/tmpel5wq343.c'
source_filename = "/tmp/tmpel5wq343.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readline_with_prompt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr %7(ptr noundef %8)
ret ptr %9
}
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/tmpel5wq343.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readline_with_prompt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr %7(ptr noundef %8)
ret ptr %9
}
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/tmpgn4f0h22.c'
source_filename = "/tmp/tmpgn4f0h22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 1\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 2\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 3\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 4\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @omp_get_thread_num()
store i32 %4, ptr %3, align 4
%5 = call i32 (...) @omp_get_num_threads()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
%9 = call i32 (...) @omp_get_thread_num()
store i32 %9, ptr %3, align 4
%10 = call i32 (...) @omp_get_num_threads()
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12)
%14 = call i32 (...) @omp_get_thread_num()
store i32 %14, ptr %3, align 4
%15 = call i32 (...) @omp_get_num_threads()
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %17)
%19 = call i32 (...) @omp_get_thread_num()
store i32 %19, ptr %3, align 4
%20 = call i32 (...) @omp_get_num_threads()
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @omp_get_thread_num(...) #1
declare i32 @omp_get_num_threads(...) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgn4f0h22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 1\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 2\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 3\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Thread %d of %d calculates section 4\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @omp_get_thread_num()
store i32 %4, ptr %3, align 4
%5 = call i32 (...) @omp_get_num_threads()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
%9 = call i32 (...) @omp_get_thread_num()
store i32 %9, ptr %3, align 4
%10 = call i32 (...) @omp_get_num_threads()
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12)
%14 = call i32 (...) @omp_get_thread_num()
store i32 %14, ptr %3, align 4
%15 = call i32 (...) @omp_get_num_threads()
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %17)
%19 = call i32 (...) @omp_get_thread_num()
store i32 %19, ptr %3, align 4
%20 = call i32 (...) @omp_get_num_threads()
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @omp_get_thread_num(...) #1
declare i32 @omp_get_num_threads(...) #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"}
|
; ModuleID = '/tmp/tmp6vroa0ca.c'
source_filename = "/tmp/tmp6vroa0ca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aes_encrypt_deinit(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/tmp6vroa0ca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aes_encrypt_deinit(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/tmpwyak1jql.c'
source_filename = "/tmp/tmpwyak1jql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpwyak1jql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmp73s5b04z.c'
source_filename = "/tmp/tmp73s5b04z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"==> %s <==\0A\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_filename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [300 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @snprintf(ptr noundef %5, i32 noundef 300, ptr noundef @.str, ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr @STDOUT_FILENO, align 4
%9 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(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/tmp73s5b04z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"==> %s <==\0A\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_filename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [300 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @snprintf(ptr noundef %5, i32 noundef 300, ptr noundef @.str, ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr @STDOUT_FILENO, align 4
%9 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(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/tmps8nv_zzl.c'
source_filename = "/tmp/tmps8nv_zzl.c"
target datalayout = "e-m:e-p270: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/tmps8nv_zzl.c"
target datalayout = "e-m:e-p270: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/tmpvn24c7bl.c'
source_filename = "/tmp/tmpvn24c7bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cpo_strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @cpo_strlen(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %6, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp ugt i64 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %3
%19 = load i64, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = sub i64 %19, %20
br label %23
22: ; preds = %3
br label %23
23: ; preds = %22, %18
%24 = phi i64 [ %21, %18 ], [ 0, %22 ]
%25 = call i64 @cpo_strlcpy(ptr noundef %13, ptr noundef %14, i64 noundef %24)
%26 = add i64 %10, %25
ret i64 %26
}
declare i64 @cpo_strlen(ptr noundef) #1
declare i64 @cpo_strlcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvn24c7bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cpo_strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @cpo_strlen(ptr noundef %8)
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %6, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp ugt i64 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %3
%19 = load i64, ptr %6, align 8
%20 = load i64, ptr %7, align 8
%21 = sub i64 %19, %20
br label %23
22: ; preds = %3
br label %23
23: ; preds = %22, %18
%24 = phi i64 [ %21, %18 ], [ 0, %22 ]
%25 = call i64 @cpo_strlcpy(ptr noundef %13, ptr noundef %14, i64 noundef %24)
%26 = add i64 %10, %25
ret i64 %26
}
declare i64 @cpo_strlen(ptr noundef) #1
declare i64 @cpo_strlcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpki_05irp.c'
source_filename = "/tmp/tmpki_05irp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stdclrscr() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpki_05irp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stdclrscr() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3ohzum_.c'
source_filename = "/tmp/tmpg3ohzum_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @MAP_SINUSOIDAL(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load double, ptr %3, align 8
%6 = fmul double 2.300000e+00, %5
%7 = load double, ptr %3, align 8
%8 = fmul double %6, %7
%9 = load double, ptr @M_PI, align 8
%10 = load double, ptr %3, align 8
%11 = fmul double %9, %10
%12 = call double @sin(double noundef %11) #2
%13 = fmul double %8, %12
ret double %13
}
; Function Attrs: nounwind
declare double @sin(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/tmpg3ohzum_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @MAP_SINUSOIDAL(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load double, ptr %3, align 8
%6 = fmul double 2.300000e+00, %5
%7 = load double, ptr %3, align 8
%8 = fmul double %6, %7
%9 = load double, ptr @M_PI, align 8
%10 = load double, ptr %3, align 8
%11 = fmul double %9, %10
%12 = call double @sin(double noundef %11) #2
%13 = fmul double %8, %12
ret double %13
}
; Function Attrs: nounwind
declare double @sin(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/tmpziz8kg9t.c'
source_filename = "/tmp/tmpziz8kg9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vector_col_printf(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %21, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, ptr %14, i64 %16
%18 = load double, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef %13, double noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %21
21: ; preds = %12
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpziz8kg9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vector_col_printf(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %20
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef %12, double noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %20
20: ; preds = %11
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe7qvewe0.c'
source_filename = "/tmp/tmpe7qvewe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"This Fun4 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun4() #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/tmpe7qvewe0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"This Fun4 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun4() #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/tmpyufejpol.c'
source_filename = "/tmp/tmpyufejpol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"dunique: out of memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"iunique: out of memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"iunique: free_ivector error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dunique(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 1, ptr %8, align 4
%13 = call ptr @dvector(i32 noundef 1)
%14 = load ptr, ptr %7, align 8
store ptr %13, ptr %14, align 8
%15 = icmp ne ptr %13, null
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %108
19: ; preds = %3
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds double, ptr %20, i64 0
%22 = load double, ptr %21, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
store double %22, ptr %25, align 8
store i32 1, ptr %9, align 4
br label %26
26: ; preds = %84, %19
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %87
30: ; preds = %26
store i32 1, ptr %11, align 4
store i32 0, ptr %10, align 4
br label %31
31: ; preds = %50, %30
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %53
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = fcmp oeq double %41, %46
br i1 %47, label %48, label %49
48: ; preds = %35
store i32 0, ptr %11, align 4
br label %49
49: ; preds = %48, %35
br label %50
50: ; preds = %49
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
br label %31, !llvm.loop !6
53: ; preds = %31
%54 = load i32, ptr %11, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %83
56: ; preds = %53
%57 = load ptr, ptr %7, align 8
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = mul i64 %61, 8
%63 = trunc i64 %62 to i32
%64 = call i64 @realloc(ptr noundef %58, i32 noundef %63)
%65 = inttoptr i64 %64 to ptr
%66 = load ptr, ptr %7, align 8
store ptr %65, ptr %66, align 8
%67 = icmp ne ptr %65, null
br i1 %67, label %71, label %68
68: ; preds = %56
%69 = load i32, ptr @stderr, align 4
%70 = call i32 @fprintf(i32 noundef %69, ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %108
71: ; preds = %56
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %72, i64 %74
%76 = load double, ptr %75, align 8
%77 = load ptr, ptr %7, align 8
%78 = load ptr, ptr %77, align 8
%79 = load i32, ptr %8, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %8, align 4
%81 = sext i32 %79 to i64
%82 = getelementptr inbounds double, ptr %78, i64 %81
store double %76, ptr %82, align 8
br label %83
83: ; preds = %71, %53
br label %84
84: ; preds = %83
%85 = load i32, ptr %9, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %9, align 4
br label %26, !llvm.loop !8
87: ; preds = %26
%88 = load i32, ptr %8, align 4
%89 = call ptr @ivector(i32 noundef %88)
store ptr %89, ptr %12, align 8
%90 = icmp ne ptr %89, null
br i1 %90, label %94, label %91
91: ; preds = %87
%92 = load i32, ptr @stderr, align 4
%93 = call i32 @fprintf(i32 noundef %92, ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %108
94: ; preds = %87
%95 = load ptr, ptr %7, align 8
%96 = load ptr, ptr %95, align 8
%97 = load ptr, ptr %12, align 8
%98 = load i32, ptr %8, align 4
%99 = call i32 @dsort(ptr noundef %96, ptr noundef %97, i32 noundef %98, i32 noundef 1)
%100 = load ptr, ptr %12, align 8
%101 = call i64 @free_ivector(ptr noundef %100)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %106
103: ; preds = %94
%104 = load i32, ptr @stderr, align 4
%105 = call i32 @fprintf(i32 noundef %104, ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %108
106: ; preds = %94
%107 = load i32, ptr %8, align 4
store i32 %107, ptr %4, align 4
br label %108
108: ; preds = %106, %103, %91, %68, %16
%109 = load i32, ptr %4, align 4
ret i32 %109
}
declare ptr @dvector(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare ptr @ivector(i32 noundef) #1
declare i32 @dsort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @free_ivector(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpyufejpol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"dunique: out of memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"iunique: out of memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"iunique: free_ivector error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dunique(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 1, ptr %8, align 4
%13 = call ptr @dvector(i32 noundef 1)
%14 = load ptr, ptr %7, align 8
store ptr %13, ptr %14, align 8
%15 = icmp ne ptr %13, null
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %112
19: ; preds = %3
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds double, ptr %20, i64 0
%22 = load double, ptr %21, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %23, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
store double %22, ptr %25, align 8
store i32 1, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %91
.lr.ph2: ; preds = %19
br label %29
29: ; preds = %.lr.ph2, %85
store i32 1, ptr %11, align 4
store i32 0, ptr %10, align 4
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph, label %54
.lr.ph: ; preds = %29
br label %33
33: ; preds = %.lr.ph, %48
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = fcmp oeq double %39, %44
br i1 %45, label %46, label %47
46: ; preds = %33
store i32 0, ptr %11, align 4
br label %47
47: ; preds = %46, %33
br label %48
48: ; preds = %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %29
%55 = load i32, ptr %11, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %84
57: ; preds = %54
%58 = load ptr, ptr %7, align 8
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = mul i64 %62, 8
%64 = trunc i64 %63 to i32
%65 = call i64 @realloc(ptr noundef %59, i32 noundef %64)
%66 = inttoptr i64 %65 to ptr
%67 = load ptr, ptr %7, align 8
store ptr %66, ptr %67, align 8
%68 = icmp ne ptr %66, null
br i1 %68, label %72, label %69
69: ; preds = %57
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %112
72: ; preds = %57
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
%78 = load ptr, ptr %7, align 8
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %8, align 4
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds double, ptr %79, i64 %82
store double %77, ptr %83, align 8
br label %84
84: ; preds = %72, %54
br label %85
85: ; preds = %84
%86 = load i32, ptr %9, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %9, align 4
%88 = load i32, ptr %9, align 4
%89 = load i32, ptr %6, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %85
br label %91
91: ; preds = %._crit_edge3, %19
%92 = load i32, ptr %8, align 4
%93 = call ptr @ivector(i32 noundef %92)
store ptr %93, ptr %12, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %98, label %95
95: ; preds = %91
%96 = load i32, ptr @stderr, align 4
%97 = call i32 @fprintf(i32 noundef %96, ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %112
98: ; preds = %91
%99 = load ptr, ptr %7, align 8
%100 = load ptr, ptr %99, align 8
%101 = load ptr, ptr %12, align 8
%102 = load i32, ptr %8, align 4
%103 = call i32 @dsort(ptr noundef %100, ptr noundef %101, i32 noundef %102, i32 noundef 1)
%104 = load ptr, ptr %12, align 8
%105 = call i64 @free_ivector(ptr noundef %104)
%106 = icmp ne i64 %105, 0
br i1 %106, label %107, label %110
107: ; preds = %98
%108 = load i32, ptr @stderr, align 4
%109 = call i32 @fprintf(i32 noundef %108, ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %112
110: ; preds = %98
%111 = load i32, ptr %8, align 4
store i32 %111, ptr %4, align 4
br label %112
112: ; preds = %110, %107, %95, %69, %16
%113 = load i32, ptr %4, align 4
ret i32 %113
}
declare ptr @dvector(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare ptr @ivector(i32 noundef) #1
declare i32 @dsort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @free_ivector(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1u4r85di.c'
source_filename = "/tmp/tmp1u4r85di.c"
target datalayout = "e-m:e-p270: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/tmp1u4r85di.c"
target datalayout = "e-m:e-p270: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/tmp8xtt7928.c'
source_filename = "/tmp/tmp8xtt7928.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Digite um ano:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"O ano \C3\A9 bissexto.\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"o ano \C3\A9 bissexto.\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"O ano n\C3\A3o \C3\A9 bissexto.\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%9 = load i32, ptr %6, align 4
%10 = srem i32 %9, 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = srem i32 %13, 100
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 @printf(ptr noundef @.str.2)
br label %26
18: ; preds = %12, %2
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 2000
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str.3)
br label %25
23: ; preds = %18
%24 = call i32 @printf(ptr noundef @.str.4)
br label %25
25: ; preds = %23, %21
br label %26
26: ; preds = %25, %16
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8xtt7928.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Digite um ano:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"O ano \C3\A9 bissexto.\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"o ano \C3\A9 bissexto.\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"O ano n\C3\A3o \C3\A9 bissexto.\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%9 = load i32, ptr %6, align 4
%10 = srem i32 %9, 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = srem i32 %13, 100
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 @printf(ptr noundef @.str.2)
br label %26
18: ; preds = %12, %2
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 2000
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str.3)
br label %25
23: ; preds = %18
%24 = call i32 @printf(ptr noundef @.str.4)
br label %25
25: ; preds = %23, %21
br label %26
26: ; preds = %25, %16
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"}
|
; ModuleID = '/tmp/tmp73b44efo.c'
source_filename = "/tmp/tmp73b44efo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int2binf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
%13 = load i32, ptr %8, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %8, align 4
br label %15
15: ; preds = %46, %4
%16 = load ptr, ptr %9, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %19, label %51
19: ; preds = %15
%20 = load ptr, ptr %9, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 46
br i1 %23, label %24, label %42
24: ; preds = %19
%25 = load i32, ptr %8, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %39
27: ; preds = %24
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = ashr i32 %28, %29
%31 = and i32 %30, 1
%32 = icmp ne i32 %31, 0
%33 = zext i1 %32 to i64
%34 = select i1 %32, i32 49, i32 48
%35 = trunc i32 %34 to i8
%36 = load ptr, ptr %10, align 8
store i8 %35, ptr %36, align 1
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %8, align 4
br label %41
39: ; preds = %24
%40 = load ptr, ptr %10, align 8
store i8 63, ptr %40, align 1
br label %41
41: ; preds = %39, %27
br label %46
42: ; preds = %19
%43 = load ptr, ptr %9, align 8
%44 = load i8, ptr %43, align 1
%45 = load ptr, ptr %10, align 8
store i8 %44, ptr %45, align 1
br label %46
46: ; preds = %42, %41
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %10, align 8
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %9, align 8
br label %15, !llvm.loop !6
51: ; preds = %15
%52 = load ptr, ptr %10, align 8
store i8 0, ptr %52, align 1
%53 = load ptr, ptr %5, align 8
ret ptr %53
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73b44efo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int2binf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
%13 = load i32, ptr %8, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %9, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %.lr.ph, label %53
.lr.ph: ; preds = %4
br label %18
18: ; preds = %.lr.ph, %45
%19 = load ptr, ptr %9, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 46
br i1 %22, label %23, label %41
23: ; preds = %18
%24 = load i32, ptr %8, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %26, label %38
26: ; preds = %23
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = ashr i32 %27, %28
%30 = and i32 %29, 1
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, i32 49, i32 48
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %10, align 8
store i8 %34, ptr %35, align 1
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %8, align 4
br label %40
38: ; preds = %23
%39 = load ptr, ptr %10, align 8
store i8 63, ptr %39, align 1
br label %40
40: ; preds = %38, %26
br label %45
41: ; preds = %18
%42 = load ptr, ptr %9, align 8
%43 = load i8, ptr %42, align 1
%44 = load ptr, ptr %10, align 8
store i8 %43, ptr %44, align 1
br label %45
45: ; preds = %41, %40
%46 = load ptr, ptr %10, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %10, align 8
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %9, align 8
%50 = load ptr, ptr %9, align 8
%51 = load i8, ptr %50, align 1
%52 = icmp ne i8 %51, 0
br i1 %52, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %53
53: ; preds = %._crit_edge, %4
%54 = load ptr, ptr %10, align 8
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %5, align 8
ret ptr %55
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0ctppeqy.c'
source_filename = "/tmp/tmp0ctppeqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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", or (i) ignore it? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @iopts() #0 {
%1 = call i32 @lprcat(ptr noundef @.str)
ret void
}
declare i32 @lprcat(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ctppeqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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", or (i) ignore it? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @iopts() #0 {
%1 = call i32 @lprcat(ptr noundef @.str)
ret void
}
declare i32 @lprcat(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy1meosup.c'
source_filename = "/tmp/tmpy1meosup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_memory(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/tmpy1meosup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_memory(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/tmp1t6fxvta.c'
source_filename = "/tmp/tmp1t6fxvta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"read error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i32 @read(i32 noundef %8, ptr noundef %9, i64 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @err_sys(ptr noundef @.str)
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @err_sys(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1t6fxvta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"read error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i32 @read(i32 noundef %8, ptr noundef %9, i64 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @err_sys(ptr noundef @.str)
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @err_sys(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnf7u4dox.c'
source_filename = "/tmp/tmpnf7u4dox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linear_Intrpl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds float, ptr %14, i64 0
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
store float %16, ptr %18, align 4
store i32 1, ptr %9, align 4
br label %19
19: ; preds = %59, %4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %21, 1
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %62
24: ; preds = %19
%25 = load i32, ptr %9, align 4
%26 = sitofp i32 %25 to float
%27 = load i32, ptr %6, align 4
%28 = sub nsw i32 %27, 1
%29 = sitofp i32 %28 to float
%30 = fmul float %26, %29
%31 = load i32, ptr %8, align 4
%32 = sub nsw i32 %31, 1
%33 = sitofp i32 %32 to float
%34 = fdiv float %30, %33
store float %34, ptr %10, align 4
%35 = load float, ptr %10, align 4
%36 = call float @modff(float noundef %35, ptr noundef %12) #3
store float %36, ptr %13, align 4
%37 = load float, ptr %12, align 4
%38 = fptosi float %37 to i32
store i32 %38, ptr %11, align 4
%39 = load float, ptr %13, align 4
%40 = fsub float 1.000000e+00, %39
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, ptr %41, i64 %43
%45 = load float, ptr %44, align 4
%46 = load float, ptr %13, align 4
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds float, ptr %47, i64 %50
%52 = load float, ptr %51, align 4
%53 = fmul float %46, %52
%54 = call float @llvm.fmuladd.f32(float %40, float %45, float %53)
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds float, ptr %55, i64 %57
store float %54, ptr %58, align 4
br label %59
59: ; preds = %24
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
br label %19, !llvm.loop !6
62: ; preds = %19
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %6, align 4
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds float, ptr %63, i64 %66
%68 = load float, ptr %67, align 4
%69 = load ptr, ptr %7, align 8
%70 = load i32, ptr %8, align 4
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %69, i64 %72
store float %68, ptr %73, align 4
ret i32 0
}
; Function Attrs: nounwind
declare float @modff(float noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmpnf7u4dox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linear_Intrpl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds float, ptr %14, i64 0
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
store float %16, ptr %18, align 4
store i32 1, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %20, 1
%22 = icmp slt i32 %19, %21
br i1 %22, label %.lr.ph, label %65
.lr.ph: ; preds = %4
br label %23
23: ; preds = %.lr.ph, %58
%24 = load i32, ptr %9, align 4
%25 = sitofp i32 %24 to float
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %26, 1
%28 = sitofp i32 %27 to float
%29 = fmul float %25, %28
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 %30, 1
%32 = sitofp i32 %31 to float
%33 = fdiv float %29, %32
store float %33, ptr %10, align 4
%34 = load float, ptr %10, align 4
%35 = call float @modff(float noundef %34, ptr noundef %12) #3
store float %35, ptr %13, align 4
%36 = load float, ptr %12, align 4
%37 = fptosi float %36 to i32
store i32 %37, ptr %11, align 4
%38 = load float, ptr %13, align 4
%39 = fsub float 1.000000e+00, %38
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds float, ptr %40, i64 %42
%44 = load float, ptr %43, align 4
%45 = load float, ptr %13, align 4
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %46, i64 %49
%51 = load float, ptr %50, align 4
%52 = fmul float %45, %51
%53 = call float @llvm.fmuladd.f32(float %39, float %44, float %52)
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %54, i64 %56
store float %53, ptr %57, align 4
br label %58
58: ; preds = %23
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %9, align 4
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %8, align 4
%63 = sub nsw i32 %62, 1
%64 = icmp slt i32 %61, %63
br i1 %64, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %65
65: ; preds = %._crit_edge, %4
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %6, align 4
%68 = sub nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds float, ptr %66, i64 %69
%71 = load float, ptr %70, align 4
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %8, align 4
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds float, ptr %72, i64 %75
store float %71, ptr %76, align 4
ret i32 0
}
; Function Attrs: nounwind
declare float @modff(float noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmp4xz4ik3g.c'
source_filename = "/tmp/tmp4xz4ik3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"URG \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ACK \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"PSH \00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"RST \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"SYN \00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"FIN \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_cntlflags(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = and i32 %4, 32
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i8, ptr %2, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %11, 16
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %9
%17 = load i8, ptr %2, align 1
%18 = zext i8 %17 to i32
%19 = and i32 %18, 8
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %16
%24 = load i8, ptr %2, align 1
%25 = zext i8 %24 to i32
%26 = and i32 %25, 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @printf(ptr noundef @.str.3)
br label %30
30: ; preds = %28, %23
%31 = load i8, ptr %2, align 1
%32 = zext i8 %31 to i32
%33 = and i32 %32, 2
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @printf(ptr noundef @.str.4)
br label %37
37: ; preds = %35, %30
%38 = load i8, ptr %2, align 1
%39 = zext i8 %38 to i32
%40 = and i32 %39, 1
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %37
%43 = call i32 @printf(ptr noundef @.str.5)
br label %44
44: ; preds = %42, %37
%45 = call i32 @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4xz4ik3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"URG \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ACK \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"PSH \00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"RST \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"SYN \00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"FIN \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_cntlflags(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = and i32 %4, 32
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i8, ptr %2, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %11, 16
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str.1)
br label %16
16: ; preds = %14, %9
%17 = load i8, ptr %2, align 1
%18 = zext i8 %17 to i32
%19 = and i32 %18, 8
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %16
%24 = load i8, ptr %2, align 1
%25 = zext i8 %24 to i32
%26 = and i32 %25, 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @printf(ptr noundef @.str.3)
br label %30
30: ; preds = %28, %23
%31 = load i8, ptr %2, align 1
%32 = zext i8 %31 to i32
%33 = and i32 %32, 2
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @printf(ptr noundef @.str.4)
br label %37
37: ; preds = %35, %30
%38 = load i8, ptr %2, align 1
%39 = zext i8 %38 to i32
%40 = and i32 %39, 1
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %37
%43 = call i32 @printf(ptr noundef @.str.5)
br label %44
44: ; preds = %42, %37
%45 = call i32 @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp13eo2fyo.c'
source_filename = "/tmp/tmp13eo2fyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillArrayI(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i64 0, ptr %7, align 8
br label %8
8: ; preds = %17, %3
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %7, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
store i32 %13, ptr %16, align 4
br label %17
17: ; preds = %12
%18 = load i64, ptr %7, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %7, align 8
br label %8, !llvm.loop !6
20: ; preds = %8
%21 = load ptr, ptr %4, align 8
ret ptr %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp13eo2fyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillArrayI(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i64 0, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %16
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds i32, ptr %13, i64 %14
store i32 %12, ptr %15, align 4
br label %16
16: ; preds = %11
%17 = load i64, ptr %7, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %5, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %3
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpenx2tjq5.c'
source_filename = "/tmp/tmpenx2tjq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @really() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 10)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @__ESBMC_assume(ptr noundef %4)
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 1
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %1, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
store i8 122, ptr %13, align 1
br label %14
14: ; preds = %9
%15 = load i32, ptr %1, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %1, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
%18 = load ptr, ptr %2, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = call ptr @malloc(i32 noundef 10)
store ptr %20, ptr %2, align 8
%21 = load ptr, ptr %2, align 8
%22 = call i32 @__ESBMC_assume(ptr noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 2
store i8 122, ptr %24, align 1
%25 = load ptr, ptr %2, align 8
%26 = call i32 @free(ptr noundef %25)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @__ESBMC_assume(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpenx2tjq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @really() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 10)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @__ESBMC_assume(ptr noundef %4)
store i32 0, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 1
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %1, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store i8 122, ptr %12, align 1
br label %13
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
%16 = load i32, ptr %1, align 4
%17 = icmp slt i32 %16, 1
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load ptr, ptr %2, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = call ptr @malloc(i32 noundef 10)
store ptr %21, ptr %2, align 8
%22 = load ptr, ptr %2, align 8
%23 = call i32 @__ESBMC_assume(ptr noundef %22)
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 2
store i8 122, ptr %25, align 1
%26 = load ptr, ptr %2, align 8
%27 = call i32 @free(ptr noundef %26)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @__ESBMC_assume(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoml7iamq.c'
source_filename = "/tmp/tmpoml7iamq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @declen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %1, %12
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
store i8 %7, ptr %4, align 1
%8 = load i8, ptr %4, align 1
%9 = call i32 @isdigit(i8 noundef signext %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %5
br label %17
12: ; preds = %5
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = add i32 %15, 1
store i32 %16, ptr %3, align 4
br label %5
17: ; preds = %11
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoml7iamq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @declen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
store i8 %6, ptr %4, align 1
%7 = load i8, ptr %4, align 1
%8 = call i32 @isdigit(i8 noundef signext %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %10
.lr.ph: ; preds = %1
br label %11
._crit_edge: ; preds = %11
br label %10
10: ; preds = %._crit_edge, %1
br label %21
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = add i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load ptr, ptr %2, align 8
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %4, align 1
%18 = load i8, ptr %4, align 1
%19 = call i32 @isdigit(i8 noundef signext %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %11, label %._crit_edge
21: ; preds = %10
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpifn8vhdp.c'
source_filename = "/tmp/tmpifn8vhdp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"+-^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @extract_ChargeRadical(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 1, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %9, align 8
br label %19
19: ; preds = %106, %3
%20 = load ptr, ptr %9, align 8
%21 = call ptr @strpbrk(ptr noundef %20, ptr noundef @.str)
store ptr %21, ptr %7, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %119
23: ; preds = %19
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
switch i32 %26, label %106 [
i32 43, label %27
i32 45, label %27
i32 94, label %84
]
27: ; preds = %23, %23
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %28
28: ; preds = %56, %27
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 43, %34
%36 = zext i1 %35 to i32
store i32 %36, ptr %15, align 4
br i1 %35, label %48, label %37
37: ; preds = %28
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %13, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 45, %43
%45 = zext i1 %44 to i32
%46 = sub nsw i32 0, %45
store i32 %46, ptr %15, align 4
%47 = icmp ne i32 %46, 0
br label %48
48: ; preds = %37, %28
%49 = phi i1 [ true, %28 ], [ %47, %37 ]
br i1 %49, label %50, label %59
50: ; preds = %48
%51 = load i32, ptr %15, align 4
store i32 %51, ptr %16, align 4
%52 = load i32, ptr %14, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %14, align 4
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %12, align 4
br label %56
56: ; preds = %50
%57 = load i32, ptr %13, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %13, align 4
br label %28, !llvm.loop !6
59: ; preds = %48
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = call i64 @strtol(ptr noundef %63, ptr noundef %8, i32 noundef 10)
%65 = trunc i64 %64 to i32
store i32 %65, ptr %15, align 4
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %59
%68 = load i32, ptr %16, align 4
%69 = load i32, ptr %15, align 4
%70 = sub nsw i32 %69, 1
%71 = mul nsw i32 %68, %70
%72 = load i32, ptr %14, align 4
%73 = add nsw i32 %72, %71
store i32 %73, ptr %14, align 4
br label %74
74: ; preds = %67, %59
%75 = load ptr, ptr %8, align 8
%76 = load ptr, ptr %7, align 8
%77 = ptrtoint ptr %75 to i64
%78 = ptrtoint ptr %76 to i64
%79 = sub i64 %77, %78
%80 = trunc i64 %79 to i32
store i32 %80, ptr %12, align 4
%81 = load i32, ptr %14, align 4
%82 = load i32, ptr %10, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %10, align 4
br label %106
84: ; preds = %23
store i32 1, ptr %11, align 4
store i32 1, ptr %12, align 4
store i32 1, ptr %13, align 4
br label %85
85: ; preds = %102, %84
%86 = load ptr, ptr %7, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 0
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = load ptr, ptr %7, align 8
%91 = load i32, ptr %13, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %89, %95
br i1 %96, label %97, label %105
97: ; preds = %85
%98 = load i32, ptr %11, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %11, align 4
%100 = load i32, ptr %12, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %12, align 4
br label %102
102: ; preds = %97
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %13, align 4
br label %85, !llvm.loop !8
105: ; preds = %85
br label %106
106: ; preds = %23, %105, %74
%107 = load ptr, ptr %7, align 8
%108 = load ptr, ptr %7, align 8
%109 = load i32, ptr %12, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
%112 = load ptr, ptr %7, align 8
%113 = load i32, ptr %12, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = call i64 @strlen(ptr noundef %115)
%117 = add nsw i64 %116, 1
%118 = call i32 @memmove(ptr noundef %107, ptr noundef %111, i64 noundef %117)
br label %19, !llvm.loop !9
119: ; preds = %19
%120 = load ptr, ptr %9, align 8
%121 = call i64 @strlen(ptr noundef %120)
%122 = trunc i64 %121 to i32
store i32 %122, ptr %17, align 4
%123 = load ptr, ptr %9, align 8
%124 = call ptr @strrchr(ptr noundef %123, i8 noundef signext 58)
store ptr %124, ptr %7, align 8
%125 = icmp ne ptr %124, null
br i1 %125, label %126, label %136
126: ; preds = %119
%127 = load ptr, ptr %7, align 8
%128 = getelementptr inbounds i8, ptr %127, i64 1
%129 = load i8, ptr %128, align 1
%130 = icmp ne i8 %129, 0
br i1 %130, label %136, label %131
131: ; preds = %126
store i32 1, ptr %11, align 4
%132 = load ptr, ptr %7, align 8
%133 = getelementptr inbounds i8, ptr %132, i64 0
store i8 0, ptr %133, align 1
%134 = load i32, ptr %17, align 4
%135 = add nsw i32 %134, -1
store i32 %135, ptr %17, align 4
br label %167
136: ; preds = %126, %119
br label %137
137: ; preds = %149, %136
%138 = load ptr, ptr %9, align 8
%139 = call ptr @strrchr(ptr noundef %138, i8 noundef signext 46)
store ptr %139, ptr %7, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %141, label %147
141: ; preds = %137
%142 = load ptr, ptr %7, align 8
%143 = getelementptr inbounds i8, ptr %142, i64 1
%144 = load i8, ptr %143, align 1
%145 = icmp ne i8 %144, 0
%146 = xor i1 %145, true
br label %147
147: ; preds = %141, %137
%148 = phi i1 [ false, %137 ], [ %146, %141 ]
br i1 %148, label %149, label %156
149: ; preds = %147
%150 = load i32, ptr %11, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %11, align 4
%152 = load ptr, ptr %7, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 0
store i8 0, ptr %153, align 1
%154 = load i32, ptr %17, align 4
%155 = add nsw i32 %154, -1
store i32 %155, ptr %17, align 4
br label %137, !llvm.loop !10
156: ; preds = %147
%157 = load i32, ptr %11, align 4
%158 = icmp eq i32 %157, 1
br i1 %158, label %159, label %160
159: ; preds = %156
br label %165
160: ; preds = %156
%161 = load i32, ptr %11, align 4
%162 = icmp eq i32 %161, 2
%163 = zext i1 %162 to i64
%164 = select i1 %162, i32 3, i32 0
br label %165
165: ; preds = %160, %159
%166 = phi i32 [ 2, %159 ], [ %164, %160 ]
store i32 %166, ptr %11, align 4
br label %167
167: ; preds = %165, %131
%168 = load i32, ptr %11, align 4
%169 = load ptr, ptr %5, align 8
store i32 %168, ptr %169, align 4
%170 = load i32, ptr %10, align 4
%171 = load ptr, ptr %6, align 8
store i32 %170, ptr %171, align 4
%172 = load i32, ptr %11, align 4
%173 = icmp ne i32 %172, 0
br i1 %173, label %177, label %174
174: ; preds = %167
%175 = load i32, ptr %10, align 4
%176 = icmp ne i32 %175, 0
br label %177
177: ; preds = %174, %167
%178 = phi i1 [ true, %167 ], [ %176, %174 ]
%179 = zext i1 %178 to i32
ret i32 %179
}
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpifn8vhdp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"+-^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @extract_ChargeRadical(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 1, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %9, align 8
%20 = call ptr @strpbrk(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %.lr.ph2, label %130
.lr.ph2: ; preds = %3
br label %22
22: ; preds = %.lr.ph2, %114
%23 = load ptr, ptr %7, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
switch i32 %25, label %114 [
i32 43, label %26
i32 45, label %26
i32 94, label %83
]
26: ; preds = %22, %22
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %27
27: ; preds = %55, %26
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %13, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 43, %33
%35 = zext i1 %34 to i32
store i32 %35, ptr %15, align 4
br i1 %34, label %47, label %36
36: ; preds = %27
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %13, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 45, %42
%44 = zext i1 %43 to i32
%45 = sub nsw i32 0, %44
store i32 %45, ptr %15, align 4
%46 = icmp ne i32 %45, 0
br label %47
47: ; preds = %36, %27
%48 = phi i1 [ true, %27 ], [ %46, %36 ]
br i1 %48, label %49, label %58
49: ; preds = %47
%50 = load i32, ptr %15, align 4
store i32 %50, ptr %16, align 4
%51 = load i32, ptr %14, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %14, align 4
%53 = load i32, ptr %12, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %12, align 4
br label %55
55: ; preds = %49
%56 = load i32, ptr %13, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %13, align 4
br label %27, !llvm.loop !6
58: ; preds = %47
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %13, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = call i64 @strtol(ptr noundef %62, ptr noundef %8, i32 noundef 10)
%64 = trunc i64 %63 to i32
store i32 %64, ptr %15, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %58
%67 = load i32, ptr %16, align 4
%68 = load i32, ptr %15, align 4
%69 = sub nsw i32 %68, 1
%70 = mul nsw i32 %67, %69
%71 = load i32, ptr %14, align 4
%72 = add nsw i32 %71, %70
store i32 %72, ptr %14, align 4
br label %73
73: ; preds = %66, %58
%74 = load ptr, ptr %8, align 8
%75 = load ptr, ptr %7, align 8
%76 = ptrtoint ptr %74 to i64
%77 = ptrtoint ptr %75 to i64
%78 = sub i64 %76, %77
%79 = trunc i64 %78 to i32
store i32 %79, ptr %12, align 4
%80 = load i32, ptr %14, align 4
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, %80
store i32 %82, ptr %10, align 4
br label %114
83: ; preds = %22
store i32 1, ptr %11, align 4
store i32 1, ptr %12, align 4
store i32 1, ptr %13, align 4
%84 = load ptr, ptr %7, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %13, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %86, %92
br i1 %93, label %.lr.ph, label %113
.lr.ph: ; preds = %83
br label %94
94: ; preds = %.lr.ph, %99
%95 = load i32, ptr %11, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %11, align 4
%97 = load i32, ptr %12, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %12, align 4
br label %99
99: ; preds = %94
%100 = load i32, ptr %13, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %13, align 4
%102 = load ptr, ptr %7, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 0
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %13, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8, ptr %106, i64 %108
%110 = load i8, ptr %109, align 1
%111 = sext i8 %110 to i32
%112 = icmp eq i32 %105, %111
br i1 %112, label %94, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %99
br label %113
113: ; preds = %._crit_edge, %83
br label %114
114: ; preds = %113, %73, %22
%115 = load ptr, ptr %7, align 8
%116 = load ptr, ptr %7, align 8
%117 = load i32, ptr %12, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %116, i64 %118
%120 = load ptr, ptr %7, align 8
%121 = load i32, ptr %12, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
%124 = call i64 @strlen(ptr noundef %123)
%125 = add nsw i64 %124, 1
%126 = call i32 @memmove(ptr noundef %115, ptr noundef %119, i64 noundef %125)
%127 = load ptr, ptr %9, align 8
%128 = call ptr @strpbrk(ptr noundef %127, ptr noundef @.str)
store ptr %128, ptr %7, align 8
%129 = icmp ne ptr %128, null
br i1 %129, label %22, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %114
br label %130
130: ; preds = %._crit_edge3, %3
%131 = load ptr, ptr %9, align 8
%132 = call i64 @strlen(ptr noundef %131)
%133 = trunc i64 %132 to i32
store i32 %133, ptr %17, align 4
%134 = load ptr, ptr %9, align 8
%135 = call ptr @strrchr(ptr noundef %134, i8 noundef signext 58)
store ptr %135, ptr %7, align 8
%136 = icmp ne ptr %135, null
br i1 %136, label %137, label %147
137: ; preds = %130
%138 = load ptr, ptr %7, align 8
%139 = getelementptr inbounds i8, ptr %138, i64 1
%140 = load i8, ptr %139, align 1
%141 = icmp ne i8 %140, 0
br i1 %141, label %147, label %142
142: ; preds = %137
store i32 1, ptr %11, align 4
%143 = load ptr, ptr %7, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 0
store i8 0, ptr %144, align 1
%145 = load i32, ptr %17, align 4
%146 = add nsw i32 %145, -1
store i32 %146, ptr %17, align 4
br label %178
147: ; preds = %137, %130
br label %148
148: ; preds = %160, %147
%149 = load ptr, ptr %9, align 8
%150 = call ptr @strrchr(ptr noundef %149, i8 noundef signext 46)
store ptr %150, ptr %7, align 8
%151 = icmp ne ptr %150, null
br i1 %151, label %152, label %158
152: ; preds = %148
%153 = load ptr, ptr %7, align 8
%154 = getelementptr inbounds i8, ptr %153, i64 1
%155 = load i8, ptr %154, align 1
%156 = icmp ne i8 %155, 0
%157 = xor i1 %156, true
br label %158
158: ; preds = %152, %148
%159 = phi i1 [ false, %148 ], [ %157, %152 ]
br i1 %159, label %160, label %167
160: ; preds = %158
%161 = load i32, ptr %11, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %11, align 4
%163 = load ptr, ptr %7, align 8
%164 = getelementptr inbounds i8, ptr %163, i64 0
store i8 0, ptr %164, align 1
%165 = load i32, ptr %17, align 4
%166 = add nsw i32 %165, -1
store i32 %166, ptr %17, align 4
br label %148, !llvm.loop !10
167: ; preds = %158
%168 = load i32, ptr %11, align 4
%169 = icmp eq i32 %168, 1
br i1 %169, label %170, label %171
170: ; preds = %167
br label %176
171: ; preds = %167
%172 = load i32, ptr %11, align 4
%173 = icmp eq i32 %172, 2
%174 = zext i1 %173 to i64
%175 = select i1 %173, i32 3, i32 0
br label %176
176: ; preds = %171, %170
%177 = phi i32 [ 2, %170 ], [ %175, %171 ]
store i32 %177, ptr %11, align 4
br label %178
178: ; preds = %176, %142
%179 = load i32, ptr %11, align 4
%180 = load ptr, ptr %5, align 8
store i32 %179, ptr %180, align 4
%181 = load i32, ptr %10, align 4
%182 = load ptr, ptr %6, align 8
store i32 %181, ptr %182, align 4
%183 = load i32, ptr %11, align 4
%184 = icmp ne i32 %183, 0
br i1 %184, label %188, label %185
185: ; preds = %178
%186 = load i32, ptr %10, align 4
%187 = icmp ne i32 %186, 0
br label %188
188: ; preds = %185, %178
%189 = phi i1 [ true, %178 ], [ %187, %185 ]
%190 = zext i1 %189 to i32
ret i32 %190
}
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmps4p2qk_g.c'
source_filename = "/tmp/tmps4p2qk_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wp_log2s(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = sub nsw i32 0, %6
%8 = call i32 @wp_log2(i32 noundef %7)
%9 = sub nsw i32 0, %8
br label %13
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = call i32 @wp_log2(i32 noundef %11)
br label %13
13: ; preds = %10, %5
%14 = phi i32 [ %9, %5 ], [ %12, %10 ]
ret i32 %14
}
declare i32 @wp_log2(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/tmps4p2qk_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wp_log2s(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = sub nsw i32 0, %6
%8 = call i32 @wp_log2(i32 noundef %7)
%9 = sub nsw i32 0, %8
br label %13
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = call i32 @wp_log2(i32 noundef %11)
br label %13
13: ; preds = %10, %5
%14 = phi i32 [ %9, %5 ], [ %12, %10 ]
ret i32 %14
}
declare i32 @wp_log2(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/tmp51iwzzi8.c'
source_filename = "/tmp/tmp51iwzzi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for L\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x4c() #0 {
%1 = call i64 @isbdigit(i32 noundef 76)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 385, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmp51iwzzi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for L\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x4c() #0 {
%1 = call i64 @isbdigit(i32 noundef 76)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 385, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmpzrhyswaq.c'
source_filename = "/tmp/tmpzrhyswaq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"Usage: %s < input_stream > ouput_stream 2> error_stream\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"\0AData will be read from input and written to output.\0A\00", align 1
@.str.2 = private unnamed_addr constant [58 x i8] c"If the output stream blocks, a message will be announced\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"to the error stream, which could feed an alerting system.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #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/tmpzrhyswaq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"Usage: %s < input_stream > ouput_stream 2> error_stream\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"\0AData will be read from input and written to output.\0A\00", align 1
@.str.2 = private unnamed_addr constant [58 x i8] c"If the output stream blocks, a message will be announced\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"to the error stream, which could feed an alerting system.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #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/tmpg5r80qm0.c'
source_filename = "/tmp/tmpg5r80qm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"super = %d, ultra = %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %7, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13)
br label %4, !llvm.loop !6
15: ; preds = %4
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/tmpg5r80qm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"super = %d, ultra = %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 5
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %16
16: ; 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/tmpqhbcvox7.c'
source_filename = "/tmp/tmpqhbcvox7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getDirectory(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strdup(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 47)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
store i8 0, ptr %13, align 1
br label %33
14: ; preds = %1
%15 = load ptr, ptr %4, align 8
%16 = call ptr @strrchr(ptr noundef %15, i8 noundef signext 92)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
store i8 0, ptr %20, align 1
br label %32
21: ; preds = %14
%22 = load ptr, ptr %4, align 8
%23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 58)
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
store i8 0, ptr %28, align 1
br label %31
29: ; preds = %21
%30 = call ptr @strdup(ptr noundef @.str)
store ptr %30, ptr %2, align 8
br label %35
31: ; preds = %26
br label %32
32: ; preds = %31, %19
br label %33
33: ; preds = %32, %12
%34 = load ptr, ptr %4, align 8
store ptr %34, ptr %2, align 8
br label %35
35: ; preds = %33, %29
%36 = load ptr, ptr %2, align 8
ret ptr %36
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqhbcvox7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getDirectory(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strdup(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 47)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
store i8 0, ptr %13, align 1
br label %33
14: ; preds = %1
%15 = load ptr, ptr %4, align 8
%16 = call ptr @strrchr(ptr noundef %15, i8 noundef signext 92)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
store i8 0, ptr %20, align 1
br label %32
21: ; preds = %14
%22 = load ptr, ptr %4, align 8
%23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 58)
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
store i8 0, ptr %28, align 1
br label %31
29: ; preds = %21
%30 = call ptr @strdup(ptr noundef @.str)
store ptr %30, ptr %2, align 8
br label %35
31: ; preds = %26
br label %32
32: ; preds = %31, %19
br label %33
33: ; preds = %32, %12
%34 = load ptr, ptr %4, align 8
store ptr %34, ptr %2, align 8
br label %35
35: ; preds = %33, %29
%36 = load ptr, ptr %2, align 8
ret ptr %36
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj2iax1jc.c'
source_filename = "/tmp/tmpj2iax1jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pm_system(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i32 @pm_system2(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %11)
%19 = load i32, ptr %11, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %5
%22 = load i32, ptr %11, align 4
%23 = call ptr @pm_termStatusDesc(i32 noundef %22)
store ptr %23, ptr %12, align 8
%24 = load ptr, ptr %12, align 8
%25 = call i32 @pm_message(ptr noundef @.str, ptr noundef %24)
%26 = load ptr, ptr %12, align 8
%27 = call i32 @pm_strfree(ptr noundef %26)
br label %28
28: ; preds = %21, %5
ret void
}
declare i32 @pm_system2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @pm_termStatusDesc(i32 noundef) #1
declare i32 @pm_message(ptr noundef, ptr noundef) #1
declare i32 @pm_strfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj2iax1jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pm_system(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i32 @pm_system2(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %11)
%19 = load i32, ptr %11, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %5
%22 = load i32, ptr %11, align 4
%23 = call ptr @pm_termStatusDesc(i32 noundef %22)
store ptr %23, ptr %12, align 8
%24 = load ptr, ptr %12, align 8
%25 = call i32 @pm_message(ptr noundef @.str, ptr noundef %24)
%26 = load ptr, ptr %12, align 8
%27 = call i32 @pm_strfree(ptr noundef %26)
br label %28
28: ; preds = %21, %5
ret void
}
declare i32 @pm_system2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @pm_termStatusDesc(i32 noundef) #1
declare i32 @pm_message(ptr noundef, ptr noundef) #1
declare i32 @pm_strfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp06pz5kql.c'
source_filename = "/tmp/tmp06pz5kql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_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/tmp06pz5kql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_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/tmp7c0t7tfa.c'
source_filename = "/tmp/tmp7c0t7tfa.c"
target datalayout = "e-m:e-p270: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/tmp7c0t7tfa.c"
target datalayout = "e-m:e-p270: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/tmp18h5d4z7.c'
source_filename = "/tmp/tmp18h5d4z7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"\E5\8D\8E\E6\B0\8F\E6\B8\A9\E5\BA\A6--\E6\91\84\E6\B0\8F\E6\B8\A9\E5\BA\A6\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %8, align 4
store float 3.000000e+02, ptr %9, align 4
store float 2.000000e+01, ptr %10, align 4
%11 = load float, ptr %8, align 4
store float %11, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %17, %2
%14 = load float, ptr %6, align 4
%15 = load float, ptr %9, align 4
%16 = fcmp ole float %14, %15
br i1 %16, label %17, label %31
17: ; preds = %13
%18 = load float, ptr %6, align 4
%19 = fpext float %18 to double
%20 = fsub double %19, 3.200000e+01
%21 = fmul double 0x3FE1C71C71C71C72, %20
%22 = fptrunc double %21 to float
store float %22, ptr %7, align 4
%23 = load float, ptr %6, align 4
%24 = fpext float %23 to double
%25 = load float, ptr %7, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %24, double noundef %26)
%28 = load float, ptr %10, align 4
%29 = load float, ptr %6, align 4
%30 = fadd float %29, %28
store float %30, ptr %6, align 4
br label %13, !llvm.loop !6
31: ; preds = %13
%32 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %32
}
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/tmp18h5d4z7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"\E5\8D\8E\E6\B0\8F\E6\B8\A9\E5\BA\A6--\E6\91\84\E6\B0\8F\E6\B8\A9\E5\BA\A6\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %8, align 4
store float 3.000000e+02, ptr %9, align 4
store float 2.000000e+01, ptr %10, align 4
%11 = load float, ptr %8, align 4
store float %11, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load float, ptr %6, align 4
%14 = load float, ptr %9, align 4
%15 = fcmp ole float %13, %14
br i1 %15, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %16
%17 = load float, ptr %6, align 4
%18 = fpext float %17 to double
%19 = fsub double %18, 3.200000e+01
%20 = fmul double 0x3FE1C71C71C71C72, %19
%21 = fptrunc double %20 to float
store float %21, ptr %7, align 4
%22 = load float, ptr %6, align 4
%23 = fpext float %22 to double
%24 = load float, ptr %7, align 4
%25 = fpext float %24 to double
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %23, double noundef %25)
%27 = load float, ptr %10, align 4
%28 = load float, ptr %6, align 4
%29 = fadd float %28, %27
store float %29, ptr %6, align 4
%30 = load float, ptr %6, align 4
%31 = load float, ptr %9, align 4
%32 = fcmp ole float %30, %31
br i1 %32, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %33
33: ; preds = %._crit_edge, %2
%34 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %34
}
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/tmp1fniu8r3.c'
source_filename = "/tmp/tmp1fniu8r3.c"
target datalayout = "e-m:e-p270: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/tmp1fniu8r3.c"
target datalayout = "e-m:e-p270: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/tmpkrxlzpcc.c'
source_filename = "/tmp/tmpkrxlzpcc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_norm(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %21, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = call i64 @pow(double noundef %16, i32 noundef 2)
%18 = sitofp i64 %17 to double
%19 = load double, ptr %5, align 8
%20 = fadd double %19, %18
store double %20, ptr %5, align 8
br label %21
21: ; preds = %11
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %7, !llvm.loop !6
24: ; preds = %7
%25 = load double, ptr %5, align 8
%26 = call double @sqrt(double noundef %25) #3
ret double %26
}
declare i64 @pow(double noundef, i32 noundef) #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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpkrxlzpcc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_norm(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
%15 = load double, ptr %14, align 8
%16 = call i64 @pow(double noundef %15, i32 noundef 2)
%17 = sitofp i64 %16 to double
%18 = load double, ptr %5, align 8
%19 = fadd double %18, %17
store double %19, ptr %5, align 8
br label %20
20: ; preds = %10
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
%27 = load double, ptr %5, align 8
%28 = call double @sqrt(double noundef %27) #3
ret double %28
}
declare i64 @pow(double noundef, i32 noundef) #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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpwm7l4kt8.c'
source_filename = "/tmp/tmpwm7l4kt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"cannot access %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @open_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %18
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 45
br i1 %16, label %17, label %18
17: ; preds = %11
br label %30
18: ; preds = %11, %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = call ptr @fopen(ptr noundef %19, ptr noundef %20)
store ptr %21, ptr %7, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %27, label %23
23: ; preds = %18
%24 = load i32, ptr @errno, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @error(i32 noundef 1, i32 noundef %24, ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %23, %18
%28 = load ptr, ptr %7, align 8
%29 = load ptr, ptr %4, align 8
store ptr %28, ptr %29, align 8
br label %30
30: ; preds = %27, %17
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwm7l4kt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"cannot access %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @open_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %18
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 45
br i1 %16, label %17, label %18
17: ; preds = %11
br label %30
18: ; preds = %11, %3
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = call ptr @fopen(ptr noundef %19, ptr noundef %20)
store ptr %21, ptr %7, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %27, label %23
23: ; preds = %18
%24 = load i32, ptr @errno, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @error(i32 noundef 1, i32 noundef %24, ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %23, %18
%28 = load ptr, ptr %7, align 8
%29 = load ptr, ptr %4, align 8
store ptr %28, ptr %29, align 8
br label %30
30: ; preds = %27, %17
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp13f0vhjx.c'
source_filename = "/tmp/tmp13f0vhjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"grestore\09%% Restore previous graphic state\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_footer(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmp13f0vhjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"grestore\09%% Restore previous graphic state\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_footer(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(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/tmp_3t79wu8.c'
source_filename = "/tmp/tmp_3t79wu8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Kernel panic:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @panic(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 @printk(ptr noundef @.str, ptr noundef %3)
br label %5
5: ; preds = %5, %1
br label %5
}
declare i32 @printk(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/tmp_3t79wu8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Kernel panic:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @panic(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 @printk(ptr noundef @.str, ptr noundef %3)
br label %5
5: ; preds = %5, %1
br label %5
}
declare i32 @printk(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/tmp2tklxtg8.c'
source_filename = "/tmp/tmp2tklxtg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_POLL() #0 {
%1 = call i32 @handle_POLL(i32 noundef 0)
ret i32 0
}
declare i32 @handle_POLL(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/tmp2tklxtg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_POLL() #0 {
%1 = call i32 @handle_POLL(i32 noundef 0)
ret i32 0
}
declare i32 @handle_POLL(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/tmpayv_52k5.c'
source_filename = "/tmp/tmpayv_52k5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %8
8: ; preds = %12, %3
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = load i8, ptr %15, align 1
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store i8 %16, ptr %19, align 1
%20 = load i64, ptr %7, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %7, align 8
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpayv_52k5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
store i8 %15, ptr %18, align 1
%19 = load i64, ptr %7, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %24
24: ; preds = %._crit_edge, %3
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzexyxwz2.c'
source_filename = "/tmp/tmpzexyxwz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"user.name\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"GETFILESTATUS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createUrlForGetFileStatus(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store ptr @.str, ptr %11, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @createQueryURL(ptr noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef @.str.1, i32 noundef 1, ptr noundef %11, ptr noundef %9, ptr noundef %15)
ret i32 %16
}
declare i32 @createQueryURL(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzexyxwz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"user.name\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"GETFILESTATUS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createUrlForGetFileStatus(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store ptr @.str, ptr %11, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @createQueryURL(ptr noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef @.str.1, i32 noundef 1, ptr noundef %11, ptr noundef %9, ptr noundef %15)
ret i32 %16
}
declare i32 @createQueryURL(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkr9lqraf.c'
source_filename = "/tmp/tmpkr9lqraf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfks_matrix_determinant(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca i16, align 2
%9 = alloca i32, align 4
%10 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds float, ptr %14, i64 0
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %4, align 8
store float %16, ptr %17, align 4
br label %63
18: ; preds = %3
store float 0.000000e+00, ptr %7, align 4
store i16 0, ptr %8, align 2
store i32 0, ptr %9, align 4
br label %19
19: ; preds = %57, %18
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %60
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 %26, %27
%29 = call i32 @gfks_matrix_element_minor(ptr noundef %10, ptr noundef %24, i32 noundef %25, i32 noundef %28)
%30 = load i16, ptr %8, align 2
%31 = sext i16 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %44
33: ; preds = %23
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %6, align 4
%37 = mul nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %34, i64 %38
%40 = load float, ptr %39, align 4
%41 = load float, ptr %10, align 4
%42 = load float, ptr %7, align 4
%43 = call float @llvm.fmuladd.f32(float %40, float %41, float %42)
store float %43, ptr %7, align 4
store i16 1, ptr %8, align 2
br label %56
44: ; preds = %23
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %6, align 4
%48 = mul nsw i32 %46, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %45, i64 %49
%51 = load float, ptr %50, align 4
%52 = load float, ptr %10, align 4
%53 = load float, ptr %7, align 4
%54 = fneg float %51
%55 = call float @llvm.fmuladd.f32(float %54, float %52, float %53)
store float %55, ptr %7, align 4
store i16 0, ptr %8, align 2
br label %56
56: ; preds = %44, %33
br label %57
57: ; preds = %56
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
br label %19, !llvm.loop !6
60: ; preds = %19
%61 = load float, ptr %7, align 4
%62 = load ptr, ptr %4, align 8
store float %61, ptr %62, align 4
br label %63
63: ; preds = %60, %13
ret void
}
declare i32 @gfks_matrix_element_minor(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkr9lqraf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfks_matrix_determinant(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca i16, align 2
%9 = alloca i32, align 4
%10 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds float, ptr %14, i64 0
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %4, align 8
store float %16, ptr %17, align 4
br label %65
18: ; preds = %3
store float 0.000000e+00, ptr %7, align 4
store i16 0, ptr %8, align 2
store i32 0, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %62
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %56
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %6, align 4
%27 = mul nsw i32 %25, %26
%28 = call i32 @gfks_matrix_element_minor(ptr noundef %10, ptr noundef %23, i32 noundef %24, i32 noundef %27)
%29 = load i16, ptr %8, align 2
%30 = sext i16 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %43
32: ; preds = %22
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %33, i64 %37
%39 = load float, ptr %38, align 4
%40 = load float, ptr %10, align 4
%41 = load float, ptr %7, align 4
%42 = call float @llvm.fmuladd.f32(float %39, float %40, float %41)
store float %42, ptr %7, align 4
store i16 1, ptr %8, align 2
br label %55
43: ; preds = %22
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %6, align 4
%47 = mul nsw i32 %45, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %44, i64 %48
%50 = load float, ptr %49, align 4
%51 = load float, ptr %10, align 4
%52 = load float, ptr %7, align 4
%53 = fneg float %50
%54 = call float @llvm.fmuladd.f32(float %53, float %51, float %52)
store float %54, ptr %7, align 4
store i16 0, ptr %8, align 2
br label %55
55: ; preds = %43, %32
br label %56
56: ; preds = %55
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %18
%63 = load float, ptr %7, align 4
%64 = load ptr, ptr %4, align 8
store float %63, ptr %64, align 4
br label %65
65: ; preds = %62, %13
ret void
}
declare i32 @gfks_matrix_element_minor(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpalmkdit8.c'
source_filename = "/tmp/tmpalmkdit8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_dobldobl_start_system() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 233, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpalmkdit8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_dobldobl_start_system() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 233, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuj0kj11g.c'
source_filename = "/tmp/tmpuj0kj11g.c"
target datalayout = "e-m:e-p270: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/tmpuj0kj11g.c"
target datalayout = "e-m:e-p270: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/tmpslpnokkr.c'
source_filename = "/tmp/tmpslpnokkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_vec_1(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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 double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %10, align 8
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %35, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = sub nsw i32 %13, %14
%16 = icmp sle i32 %12, %15
br i1 %16, label %17, label %38
17: ; preds = %11
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = call double @log(double noundef %22) #2
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
store double %23, ptr %27, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = load double, ptr %10, align 8
%34 = fadd double %33, %32
store double %34, ptr %10, align 8
br label %35
35: ; preds = %17
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %11, !llvm.loop !6
38: ; preds = %11
%39 = load double, ptr %10, align 8
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %7, align 4
%43 = sub nsw i32 %41, %42
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %40, i64 %45
store double %39, ptr %46, align 8
%47 = load ptr, ptr %5, align 8
ret ptr %47
}
; Function Attrs: nounwind
declare double @log(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpslpnokkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_vec_1(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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 double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %10, align 8
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = sub nsw i32 %12, %13
%15 = icmp sle i32 %11, %14
br i1 %15, label %.lr.ph, label %42
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %34
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %9, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
%22 = call double @log(double noundef %21) #2
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
store double %22, ptr %26, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = load double, ptr %10, align 8
%33 = fadd double %32, %31
store double %33, ptr %10, align 8
br label %34
34: ; preds = %16
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = sub nsw i32 %38, %39
%41 = icmp sle i32 %37, %40
br i1 %41, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %42
42: ; preds = %._crit_edge, %4
%43 = load double, ptr %10, align 8
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %45, %46
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %44, i64 %49
store double %43, ptr %50, align 8
%51 = load ptr, ptr %5, align 8
ret ptr %51
}
; Function Attrs: nounwind
declare double @log(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb6ysju85.c'
source_filename = "/tmp/tmpb6ysju85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Exiting...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SensorActError(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb6ysju85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Exiting...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SensorActError(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp__lwlsna.c'
source_filename = "/tmp/tmp__lwlsna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %35, %3
%13 = load i64, ptr %7, align 8
%14 = add i64 %13, -1
store i64 %14, ptr %7, align 8
%15 = icmp ugt i64 %13, 0
br i1 %15, label %16, label %40
16: ; preds = %12
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = load ptr, ptr %9, align 8
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = icmp slt i32 %19, %22
br i1 %23, label %24, label %25
24: ; preds = %16
store i32 -1, ptr %4, align 4
br label %41
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = load ptr, ptr %9, align 8
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = icmp sgt i32 %28, %31
br i1 %32, label %33, label %34
33: ; preds = %25
store i32 1, ptr %4, align 4
br label %41
34: ; preds = %25
br label %35
35: ; preds = %34
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %8, align 8
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %9, align 8
br label %12, !llvm.loop !6
40: ; preds = %12
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %40, %33, %24
%42 = load i32, ptr %4, align 4
ret i32 %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp__lwlsna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %7, align 8
%14 = icmp ugt i64 %12, 0
br i1 %14, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %34
%16 = load ptr, ptr %8, align 8
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = load ptr, ptr %9, align 8
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = icmp slt i32 %18, %21
br i1 %22, label %23, label %24
23: ; preds = %15
store i32 -1, ptr %4, align 4
br label %43
24: ; preds = %15
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = load ptr, ptr %9, align 8
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = icmp sgt i32 %27, %30
br i1 %31, label %32, label %33
32: ; preds = %24
store i32 1, ptr %4, align 4
br label %43
33: ; preds = %24
br label %34
34: ; preds = %33
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %8, align 8
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %9, align 8
%39 = load i64, ptr %7, align 8
%40 = add i64 %39, -1
store i64 %40, ptr %7, align 8
%41 = icmp ugt i64 %39, 0
br i1 %41, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %42
42: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %43
43: ; preds = %42, %32, %23
%44 = load i32, ptr %4, align 4
ret i32 %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpx_00vt3i.c'
source_filename = "/tmp/tmpx_00vt3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %121, %0
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %124
14: ; preds = %11
store i32 1, ptr %3, align 4
br label %15
15: ; preds = %117, %14
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %16, 10
br i1 %17, label %18, label %120
18: ; preds = %15
store i32 1, ptr %4, align 4
br label %19
19: ; preds = %113, %18
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %116
22: ; preds = %19
store i32 0, ptr %5, align 4
br label %23
23: ; preds = %109, %22
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 10
br i1 %25, label %26, label %112
26: ; preds = %23
store i32 1, ptr %6, align 4
br label %27
27: ; preds = %105, %26
%28 = load i32, ptr %6, align 4
%29 = icmp sle i32 %28, 10
br i1 %29, label %30, label %108
30: ; preds = %27
store i32 1, ptr %7, align 4
br label %31
31: ; preds = %101, %30
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %32, 10
br i1 %33, label %34, label %104
34: ; preds = %31
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %97, %34
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 10
br i1 %37, label %38, label %100
38: ; preds = %35
store i32 1, ptr %9, align 4
br label %39
39: ; preds = %93, %38
%40 = load i32, ptr %9, align 4
%41 = icmp sle i32 %40, 10
br i1 %41, label %42, label %96
42: ; preds = %39
store i32 1, ptr %10, align 4
br label %43
43: ; preds = %89, %42
%44 = load i32, ptr %10, align 4
%45 = icmp slt i32 %44, 10
br i1 %45, label %46, label %92
46: ; preds = %43
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 %48, 1
%50 = load i32, ptr %4, align 4
%51 = mul nsw i32 %49, %50
%52 = add nsw i32 %47, %51
%53 = icmp slt i32 %52, 10
br i1 %53, label %54, label %88
54: ; preds = %46
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = sub nsw i32 %56, 1
%58 = load i32, ptr %7, align 4
%59 = mul nsw i32 %57, %58
%60 = add nsw i32 %55, %59
%61 = icmp slt i32 %60, 10
br i1 %61, label %62, label %88
62: ; preds = %54
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %9, align 4
%65 = sub nsw i32 %64, 1
%66 = load i32, ptr %10, align 4
%67 = mul nsw i32 %65, %66
%68 = add nsw i32 %63, %67
%69 = icmp slt i32 %68, 10
br i1 %69, label %70, label %88
70: ; preds = %62
%71 = load i32, ptr %3, align 4
%72 = load i32, ptr %6, align 4
%73 = mul nsw i32 %71, %72
%74 = load i32, ptr %9, align 4
%75 = mul nsw i32 %73, %74
%76 = icmp ne i32 %75, 1
br i1 %76, label %77, label %88
77: ; preds = %70
%78 = load i32, ptr %2, align 4
%79 = load i32, ptr %3, align 4
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %5, align 4
%82 = load i32, ptr %6, align 4
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %8, align 4
%85 = load i32, ptr %9, align 4
%86 = load i32, ptr %10, align 4
%87 = call i32 @test(i32 noundef %78, i32 noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86)
br label %88
88: ; preds = %77, %70, %62, %54, %46
br label %89
89: ; preds = %88
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %10, align 4
br label %43, !llvm.loop !6
92: ; preds = %43
br label %93
93: ; preds = %92
%94 = load i32, ptr %9, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %9, align 4
br label %39, !llvm.loop !8
96: ; preds = %39
br label %97
97: ; preds = %96
%98 = load i32, ptr %8, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %8, align 4
br label %35, !llvm.loop !9
100: ; preds = %35
br label %101
101: ; preds = %100
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %7, align 4
br label %31, !llvm.loop !10
104: ; preds = %31
br label %105
105: ; preds = %104
%106 = load i32, ptr %6, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %6, align 4
br label %27, !llvm.loop !11
108: ; preds = %27
br label %109
109: ; preds = %108
%110 = load i32, ptr %5, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %5, align 4
br label %23, !llvm.loop !12
112: ; preds = %23
br label %113
113: ; preds = %112
%114 = load i32, ptr %4, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %4, align 4
br label %19, !llvm.loop !13
116: ; preds = %19
br label %117
117: ; preds = %116
%118 = load i32, ptr %3, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %3, align 4
br label %15, !llvm.loop !14
120: ; preds = %15
br label %121
121: ; preds = %120
%122 = load i32, ptr %2, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %2, align 4
br label %11, !llvm.loop !15
124: ; preds = %11
ret i32 0
}
declare i32 @test(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx_00vt3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %.lr.ph23, label %133
.lr.ph23: ; preds = %0
br label %13
13: ; preds = %.lr.ph23, %128
store i32 1, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sle i32 %14, 10
br i1 %15, label %.lr.ph20, label %127
.lr.ph20: ; preds = %13
br label %16
16: ; preds = %.lr.ph20, %122
store i32 1, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %.lr.ph17, label %121
.lr.ph17: ; preds = %16
br label %19
19: ; preds = %.lr.ph17, %116
store i32 0, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %.lr.ph14, label %115
.lr.ph14: ; preds = %19
br label %22
22: ; preds = %.lr.ph14, %110
store i32 1, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %23, 10
br i1 %24, label %.lr.ph11, label %109
.lr.ph11: ; preds = %22
br label %25
25: ; preds = %.lr.ph11, %104
store i32 1, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %26, 10
br i1 %27, label %.lr.ph8, label %103
.lr.ph8: ; preds = %25
br label %28
28: ; preds = %.lr.ph8, %98
store i32 0, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %29, 10
br i1 %30, label %.lr.ph5, label %97
.lr.ph5: ; preds = %28
br label %31
31: ; preds = %.lr.ph5, %92
store i32 1, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp sle i32 %32, 10
br i1 %33, label %.lr.ph2, label %91
.lr.ph2: ; preds = %31
br label %34
34: ; preds = %.lr.ph2, %86
store i32 1, ptr %10, align 4
%35 = load i32, ptr %10, align 4
%36 = icmp slt i32 %35, 10
br i1 %36, label %.lr.ph, label %85
.lr.ph: ; preds = %34
br label %37
37: ; preds = %.lr.ph, %80
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = sub nsw i32 %39, 1
%41 = load i32, ptr %4, align 4
%42 = mul nsw i32 %40, %41
%43 = add nsw i32 %38, %42
%44 = icmp slt i32 %43, 10
br i1 %44, label %45, label %79
45: ; preds = %37
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %6, align 4
%48 = sub nsw i32 %47, 1
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %48, %49
%51 = add nsw i32 %46, %50
%52 = icmp slt i32 %51, 10
br i1 %52, label %53, label %79
53: ; preds = %45
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %9, align 4
%56 = sub nsw i32 %55, 1
%57 = load i32, ptr %10, align 4
%58 = mul nsw i32 %56, %57
%59 = add nsw i32 %54, %58
%60 = icmp slt i32 %59, 10
br i1 %60, label %61, label %79
61: ; preds = %53
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %6, align 4
%64 = mul nsw i32 %62, %63
%65 = load i32, ptr %9, align 4
%66 = mul nsw i32 %64, %65
%67 = icmp ne i32 %66, 1
br i1 %67, label %68, label %79
68: ; preds = %61
%69 = load i32, ptr %2, align 4
%70 = load i32, ptr %3, align 4
%71 = load i32, ptr %4, align 4
%72 = load i32, ptr %5, align 4
%73 = load i32, ptr %6, align 4
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %10, align 4
%78 = call i32 @test(i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %77)
br label %79
79: ; preds = %68, %61, %53, %45, %37
br label %80
80: ; preds = %79
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %10, align 4
%83 = load i32, ptr %10, align 4
%84 = icmp slt i32 %83, 10
br i1 %84, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %80
br label %85
85: ; preds = %._crit_edge, %34
br label %86
86: ; preds = %85
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %9, align 4
%89 = load i32, ptr %9, align 4
%90 = icmp sle i32 %89, 10
br i1 %90, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %86
br label %91
91: ; preds = %._crit_edge3, %31
br label %92
92: ; preds = %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 slt i32 %95, 10
br i1 %96, label %31, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %92
br label %97
97: ; preds = %._crit_edge6, %28
br label %98
98: ; preds = %97
%99 = load i32, ptr %7, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %7, align 4
%101 = load i32, ptr %7, align 4
%102 = icmp slt i32 %101, 10
br i1 %102, label %28, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %98
br label %103
103: ; preds = %._crit_edge9, %25
br label %104
104: ; preds = %103
%105 = load i32, ptr %6, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %6, align 4
%107 = load i32, ptr %6, align 4
%108 = icmp sle i32 %107, 10
br i1 %108, label %25, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %104
br label %109
109: ; preds = %._crit_edge12, %22
br label %110
110: ; preds = %109
%111 = load i32, ptr %5, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %5, align 4
%113 = load i32, ptr %5, align 4
%114 = icmp slt i32 %113, 10
br i1 %114, label %22, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %110
br label %115
115: ; preds = %._crit_edge15, %19
br label %116
116: ; preds = %115
%117 = load i32, ptr %4, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %4, align 4
%119 = load i32, ptr %4, align 4
%120 = icmp slt i32 %119, 10
br i1 %120, label %19, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %116
br label %121
121: ; preds = %._crit_edge18, %16
br label %122
122: ; preds = %121
%123 = load i32, ptr %3, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %3, align 4
%125 = load i32, ptr %3, align 4
%126 = icmp sle i32 %125, 10
br i1 %126, label %16, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %122
br label %127
127: ; preds = %._crit_edge21, %13
br label %128
128: ; preds = %127
%129 = load i32, ptr %2, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %2, align 4
%131 = load i32, ptr %2, align 4
%132 = icmp slt i32 %131, 10
br i1 %132, label %13, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %128
br label %133
133: ; preds = %._crit_edge24, %0
ret i32 0
}
declare i32 @test(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmprvbph1c8.c'
source_filename = "/tmp/tmprvbph1c8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_pf_paramsLP(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 @update_pf_paramsLP_par(i32 noundef %3, ptr noundef null)
ret void
}
declare i32 @update_pf_paramsLP_par(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/tmprvbph1c8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_pf_paramsLP(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 @update_pf_paramsLP_par(i32 noundef %3, ptr noundef null)
ret void
}
declare i32 @update_pf_paramsLP_par(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/tmpgjxmczl6.c'
source_filename = "/tmp/tmpgjxmczl6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"error in writing %s : cannot open file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_tofile_only(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.1, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @fclose(ptr noundef %13)
br label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = call i32 @printf(ptr noundef @.str.2, ptr noundef %16)
%18 = call i32 (...) @wait_a_char()
%19 = call i32 @exit(i32 noundef 3) #3
unreachable
20: ; preds = %9
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @wait_a_char(...) #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/tmpgjxmczl6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"error in writing %s : cannot open file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_tofile_only(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.1, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @fclose(ptr noundef %13)
br label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = call i32 @printf(ptr noundef @.str.2, ptr noundef %16)
%18 = call i32 (...) @wait_a_char()
%19 = call i32 @exit(i32 noundef 3) #3
unreachable
20: ; preds = %9
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @wait_a_char(...) #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/tmpskx9wd5a.c'
source_filename = "/tmp/tmpskx9wd5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Hex2Dec(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i32 @isxdigit(i8 noundef signext %4)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %30
8: ; preds = %1
%9 = load i8, ptr %3, align 1
%10 = call i64 @isdigit(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i8, ptr %3, align 1
%14 = sext i8 %13 to i32
%15 = sub nsw i32 %14, 48
store i32 %15, ptr %2, align 4
br label %30
16: ; preds = %8
%17 = load i8, ptr %3, align 1
%18 = call i64 @isupper(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load i8, ptr %3, align 1
%22 = sext i8 %21 to i32
%23 = sub nsw i32 %22, 65
%24 = add nsw i32 %23, 10
store i32 %24, ptr %2, align 4
br label %30
25: ; preds = %16
%26 = load i8, ptr %3, align 1
%27 = sext i8 %26 to i32
%28 = sub nsw i32 %27, 97
%29 = add nsw i32 %28, 10
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %25, %20, %12, %7
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @isxdigit(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpskx9wd5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Hex2Dec(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i32 @isxdigit(i8 noundef signext %4)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %30
8: ; preds = %1
%9 = load i8, ptr %3, align 1
%10 = call i64 @isdigit(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i8, ptr %3, align 1
%14 = sext i8 %13 to i32
%15 = sub nsw i32 %14, 48
store i32 %15, ptr %2, align 4
br label %30
16: ; preds = %8
%17 = load i8, ptr %3, align 1
%18 = call i64 @isupper(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load i8, ptr %3, align 1
%22 = sext i8 %21 to i32
%23 = sub nsw i32 %22, 65
%24 = add nsw i32 %23, 10
store i32 %24, ptr %2, align 4
br label %30
25: ; preds = %16
%26 = load i8, ptr %3, align 1
%27 = sext i8 %26 to i32
%28 = sub nsw i32 %27, 97
%29 = add nsw i32 %28, 10
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %25, %20, %12, %7
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @isxdigit(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmcfc5lip.c'
source_filename = "/tmp/tmpmcfc5lip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mov_reg32_preg32(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @put8(i32 noundef 139)
%6 = load i32, ptr %3, align 4
%7 = shl i32 %6, 3
%8 = load i32, ptr %4, align 4
%9 = or i32 %7, %8
%10 = call i32 @put8(i32 noundef %9)
ret void
}
declare i32 @put8(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/tmpmcfc5lip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mov_reg32_preg32(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @put8(i32 noundef 139)
%6 = load i32, ptr %3, align 4
%7 = shl i32 %6, 3
%8 = load i32, ptr %4, align 4
%9 = or i32 %7, %8
%10 = call i32 @put8(i32 noundef %9)
ret void
}
declare i32 @put8(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/tmpqkwoq8ph.c'
source_filename = "/tmp/tmpqkwoq8ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kmain() #0 {
%1 = call i32 (...) @clear_screen()
%2 = call i32 (...) @gdt_install()
br label %3
3: ; preds = %3, %0
br label %3
}
declare i32 @clear_screen(...) #1
declare i32 @gdt_install(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqkwoq8ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kmain() #0 {
%1 = call i32 (...) @clear_screen()
%2 = call i32 (...) @gdt_install()
br label %3
3: ; preds = %3, %0
br label %3
}
declare i32 @clear_screen(...) #1
declare i32 @gdt_install(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp53fnh6bl.c'
source_filename = "/tmp/tmp53fnh6bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Module: IMapper. Room exit commands:\00", align 1
@.str.1 = private unnamed_addr constant [500 x i8] c" exit link - Link room # to this one. Both ways.\0D\0A exit stop - Hide rooms beyond this exit.\0D\0A exit length - Increase the exit length by #.\0D\0A exit map - Map the next exit elsewhere.\0D\0A exit lock - Set all unlinked exits in room as locked.\0D\0A exit unilink - One-way exit. Does not create a reverse link.\0D\0A exit destroy - Destroy an exit, and its reverse.\0D\0A exit joinareas - Show two areas on a single 'map'.\0D\0A exit special - Create, destroy, modify or list special exits.\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_exit_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @clientfr(ptr noundef @.str)
%4 = call i32 @clientf(ptr noundef @.str.1)
ret void
}
declare i32 @clientfr(ptr noundef) #1
declare i32 @clientf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp53fnh6bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Module: IMapper. Room exit commands:\00", align 1
@.str.1 = private unnamed_addr constant [500 x i8] c" exit link - Link room # to this one. Both ways.\0D\0A exit stop - Hide rooms beyond this exit.\0D\0A exit length - Increase the exit length by #.\0D\0A exit map - Map the next exit elsewhere.\0D\0A exit lock - Set all unlinked exits in room as locked.\0D\0A exit unilink - One-way exit. Does not create a reverse link.\0D\0A exit destroy - Destroy an exit, and its reverse.\0D\0A exit joinareas - Show two areas on a single 'map'.\0D\0A exit special - Create, destroy, modify or list special exits.\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_exit_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @clientfr(ptr noundef @.str)
%4 = call i32 @clientf(ptr noundef @.str.1)
ret void
}
declare i32 @clientfr(ptr noundef) #1
declare i32 @clientf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9r_e9mmf.c'
source_filename = "/tmp/tmp9r_e9mmf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(float noundef 0x4026CCCCC0000000, i32 noundef 25, i32 noundef 60)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(float noundef, i32 noundef, i32 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/tmp9r_e9mmf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(float noundef 0x4026CCCCC0000000, i32 noundef 25, i32 noundef 60)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(float noundef, i32 noundef, i32 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/tmp1ahaun46.c'
source_filename = "/tmp/tmp1ahaun46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%2d %7d %7d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %17, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %20
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @power3(i32 noundef 2, i32 noundef %12)
%14 = load i32, ptr %6, align 4
%15 = call i32 @power3(i32 noundef -3, i32 noundef %14)
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %13, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %21
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @power3(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/tmp1ahaun46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%2d %7d %7d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @power3(i32 noundef 2, i32 noundef %11)
%13 = load i32, ptr %6, align 4
%14 = call i32 @power3(i32 noundef -3, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @power3(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/tmpfys2xs1l.c'
source_filename = "/tmp/tmpfys2xs1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eol(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 @crlf(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = call i32 @nl(i8 noundef signext %7)
%9 = or i32 %4, %8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
%14 = xor i1 %13, true
%15 = zext i1 %14 to i32
%16 = or i32 %9, %15
ret i32 %16
}
declare i32 @crlf(ptr noundef) #1
declare i32 @nl(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfys2xs1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eol(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 @crlf(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = call i32 @nl(i8 noundef signext %7)
%9 = or i32 %4, %8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
%14 = xor i1 %13, true
%15 = zext i1 %14 to i32
%16 = or i32 %9, %15
ret i32 %16
}
declare i32 @crlf(ptr noundef) #1
declare i32 @nl(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx94dihl2.c'
source_filename = "/tmp/tmpx94dihl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"fopen: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"File: %s - Line: %d: %s.\0A\00", align 1
@.str.4 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EnderUNIX/spamGuard/refs/heads/master/functions.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @load_ignore_sendmail(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store ptr null, ptr %5, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr @errno, align 4
%15 = call ptr @strerror(i32 noundef %14)
%16 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13, ptr noundef %15)
%17 = call i32 @exit(i32 noundef -1) #3
unreachable
18: ; preds = %2
%19 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 1024)
br label %21
21: ; preds = %43, %42, %36, %18
%22 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%23 = load ptr, ptr %5, align 8
%24 = call ptr @fgets(ptr noundef %22, i32 noundef 1024, ptr noundef %23)
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %54
26: ; preds = %21
%27 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%28 = load i8, ptr %27, align 16
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 35
br i1 %30, label %36, label %31
31: ; preds = %26
%32 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%33 = load i8, ptr %32, align 16
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 32
br i1 %35, label %36, label %37
36: ; preds = %31, %26
br label %21, !llvm.loop !6
37: ; preds = %31
%38 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%39 = call ptr @strtok(ptr noundef %38, ptr noundef @.str.2)
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %43
42: ; preds = %37
br label %21, !llvm.loop !6
43: ; preds = %37
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %7, align 8
%46 = call i32 @strlen(ptr noundef %45)
%47 = call i32 @removespaces(ptr noundef %44, i32 noundef %46)
%48 = load ptr, ptr %7, align 8
%49 = call i32 @strdup(ptr noundef %48)
%50 = load i8, ptr %4, align 1
%51 = call i32 @add_ignored(i32 noundef %49, i8 noundef signext %50)
%52 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%53 = call i32 @memset(ptr noundef %52, i32 noundef 0, i32 noundef 1024)
br label %21, !llvm.loop !6
54: ; preds = %21
%55 = load ptr, ptr %5, align 8
%56 = call i64 @fclose(ptr noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %64
58: ; preds = %54
%59 = load i32, ptr @stderr, align 4
%60 = load i32, ptr @errno, align 4
%61 = call ptr @strerror(i32 noundef %60)
%62 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 267, ptr noundef %61)
%63 = call i32 @exit(i32 noundef -1) #3
unreachable
64: ; preds = %54
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @removespaces(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @add_ignored(i32 noundef, i8 noundef signext) #1
declare i32 @strdup(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx94dihl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"fopen: %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"File: %s - Line: %d: %s.\0A\00", align 1
@.str.4 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EnderUNIX/spamGuard/refs/heads/master/functions.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @load_ignore_sendmail(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store ptr null, ptr %5, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr @errno, align 4
%15 = call ptr @strerror(i32 noundef %14)
%16 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13, ptr noundef %15)
%17 = call i32 @exit(i32 noundef -1) #3
unreachable
18: ; preds = %2
%19 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 1024)
%21 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%22 = load ptr, ptr %5, align 8
%23 = call ptr @fgets(ptr noundef %21, i32 noundef 1024, ptr noundef %22)
%24 = icmp ne ptr %23, null
br i1 %24, label %.lr.ph, label %56
.lr.ph: ; preds = %18
br label %25
25: ; preds = %.lr.ph, %.backedge
%26 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%27 = load i8, ptr %26, align 16
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 35
br i1 %29, label %35, label %30
30: ; preds = %25
%31 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%32 = load i8, ptr %31, align 16
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 32
br i1 %34, label %35, label %39
35: ; preds = %30, %25
br label %.backedge
.backedge: ; preds = %35, %44, %45
%36 = load ptr, ptr %5, align 8
%37 = call ptr @fgets(ptr noundef %21, i32 noundef 1024, ptr noundef %36)
%38 = icmp ne ptr %37, null
br i1 %38, label %25, label %._crit_edge, !llvm.loop !6
39: ; preds = %30
%40 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%41 = call ptr @strtok(ptr noundef %40, ptr noundef @.str.2)
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %7, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %45
44: ; preds = %39
br label %.backedge
45: ; preds = %39
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %7, align 8
%48 = call i32 @strlen(ptr noundef %47)
%49 = call i32 @removespaces(ptr noundef %46, i32 noundef %48)
%50 = load ptr, ptr %7, align 8
%51 = call i32 @strdup(ptr noundef %50)
%52 = load i8, ptr %4, align 1
%53 = call i32 @add_ignored(i32 noundef %51, i8 noundef signext %52)
%54 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%55 = call i32 @memset(ptr noundef %54, i32 noundef 0, i32 noundef 1024)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %56
56: ; preds = %._crit_edge, %18
%57 = load ptr, ptr %5, align 8
%58 = call i64 @fclose(ptr noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %66
60: ; preds = %56
%61 = load i32, ptr @stderr, align 4
%62 = load i32, ptr @errno, align 4
%63 = call ptr @strerror(i32 noundef %62)
%64 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 267, ptr noundef %63)
%65 = call i32 @exit(i32 noundef -1) #3
unreachable
66: ; preds = %56
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @removespaces(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @add_ignored(i32 noundef, i8 noundef signext) #1
declare i32 @strdup(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp28aiuzlc.c'
source_filename = "/tmp/tmp28aiuzlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @val_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 10
store ptr %8, ptr %5, align 8
br label %9
9: ; preds = %21, %2
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 70
%13 = icmp ult ptr %10, %12
br i1 %13, label %14, label %24
14: ; preds = %9
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 32
br i1 %18, label %19, label %20
19: ; preds = %14
br label %24
20: ; preds = %14
br label %21
21: ; preds = %20
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
br label %9, !llvm.loop !6
24: ; preds = %19, %9
%25 = load ptr, ptr %5, align 8
store ptr %25, ptr %6, align 8
br label %26
26: ; preds = %38, %24
%27 = load ptr, ptr %6, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 32
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = load ptr, ptr %6, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 47
br label %36
36: ; preds = %31, %26
%37 = phi i1 [ false, %26 ], [ %35, %31 ]
br i1 %37, label %38, label %41
38: ; preds = %36
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %6, align 8
br label %26, !llvm.loop !8
41: ; preds = %36
%42 = load ptr, ptr %6, align 8
store i8 0, ptr %42, align 1
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %5, align 8
%45 = call i32 @strcpy(ptr noundef %43, ptr noundef %44)
ret void
}
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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp28aiuzlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @val_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 10
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 70
%12 = icmp ult ptr %9, %11
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %20
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 32
br i1 %17, label %18, label %19
18: ; preds = %13
br label %27
19: ; preds = %13
br label %20
20: ; preds = %19
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 70
%26 = icmp ult ptr %23, %25
br i1 %26, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %27
27: ; preds = %.loopexit, %18
%28 = load ptr, ptr %5, align 8
store ptr %28, ptr %6, align 8
br label %29
29: ; preds = %41, %27
%30 = load ptr, ptr %6, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 32
br i1 %33, label %34, label %39
34: ; preds = %29
%35 = load ptr, ptr %6, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 47
br label %39
39: ; preds = %34, %29
%40 = phi i1 [ false, %29 ], [ %38, %34 ]
br i1 %40, label %41, label %44
41: ; preds = %39
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %6, align 8
br label %29, !llvm.loop !8
44: ; preds = %39
%45 = load ptr, ptr %6, align 8
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %4, align 8
%47 = load ptr, ptr %5, align 8
%48 = call i32 @strcpy(ptr noundef %46, ptr noundef %47)
ret void
}
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}
|
; ModuleID = '/tmp/tmp953f30vg.c'
source_filename = "/tmp/tmp953f30vg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Usage: %s -l ADDR -p PORT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp953f30vg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Usage: %s -l ADDR -p PORT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbqslu972.c'
source_filename = "/tmp/tmpbqslu972.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_cond_signal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbqslu972.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_cond_signal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpejo_iad7.c'
source_filename = "/tmp/tmpejo_iad7.c"
target datalayout = "e-m:e-p270: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/tmpejo_iad7.c"
target datalayout = "e-m:e-p270: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/tmpswoqefar.c'
source_filename = "/tmp/tmpswoqefar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CDoubleChars(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 double @atof(ptr noundef %3)
ret double %4
}
declare double @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpswoqefar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CDoubleChars(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 double @atof(ptr noundef %3)
ret double %4
}
declare double @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9pvfunv6.c'
source_filename = "/tmp/tmp9pvfunv6.c"
target datalayout = "e-m:e-p270: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/tmp9pvfunv6.c"
target datalayout = "e-m:e-p270: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/tmpamlyw5a6.c'
source_filename = "/tmp/tmpamlyw5a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @save_file(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i64, ptr %5, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i64 noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamlyw5a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @save_file(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i64, ptr %5, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i64 noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx2wl7dk0.c'
source_filename = "/tmp/tmpx2wl7dk0.c"
target datalayout = "e-m:e-p270: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/tmpx2wl7dk0.c"
target datalayout = "e-m:e-p270: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/tmp5ue11cea.c'
source_filename = "/tmp/tmp5ue11cea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basInputs() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca [255 x i8], align 16
%4 = call ptr (...) @popString()
store ptr %4, ptr %1, align 8
%5 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %1, align 8
%7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = call ptr (...) @popString()
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @inputS(ptr noundef %9, ptr noundef %10)
%12 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @pushStringCopy(ptr noundef %12)
%14 = load ptr, ptr %1, align 8
%15 = call i32 @eFree(ptr noundef %14)
ret void
}
declare ptr @popString(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @inputS(ptr noundef, ptr noundef) #1
declare i32 @pushStringCopy(ptr noundef) #1
declare i32 @eFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ue11cea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basInputs() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca [255 x i8], align 16
%4 = call ptr (...) @popString()
store ptr %4, ptr %1, align 8
%5 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %1, align 8
%7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = call ptr (...) @popString()
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @inputS(ptr noundef %9, ptr noundef %10)
%12 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @pushStringCopy(ptr noundef %12)
%14 = load ptr, ptr %1, align 8
%15 = call i32 @eFree(ptr noundef %14)
ret void
}
declare ptr @popString(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @inputS(ptr noundef, ptr noundef) #1
declare i32 @pushStringCopy(ptr noundef) #1
declare i32 @eFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.