llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpgbggd8wd.c'
source_filename = "/tmp/tmpgbggd8wd.c"
target datalayout = "e-m:e-p270: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
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @skipspaces() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @EOF, align 4
store i32 %2, ptr %1, align 4
br label %3
3: ; preds = %8, %0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @getc(i32 noundef %4)
store i32 %5, ptr %1, align 4
%6 = call i64 @isspace(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %3
br label %3, !llvm.loop !6
9: ; preds = %3
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr @EOF, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr @stdin, align 4
%16 = call i32 @ungetc(i32 noundef %14, i32 noundef %15)
br label %17
17: ; preds = %13, %9
ret void
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getc(i32 noundef) #1
declare i32 @ungetc(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/tmpgbggd8wd.c"
target datalayout = "e-m:e-p270: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
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @skipspaces() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @EOF, align 4
store i32 %2, ptr %1, align 4
br label %3
3: ; preds = %3, %0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @getc(i32 noundef %4)
store i32 %5, ptr %1, align 4
%6 = call i64 @isspace(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %3, label %8, !llvm.loop !6
8: ; preds = %3
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr @stdin, align 4
%15 = call i32 @ungetc(i32 noundef %13, i32 noundef %14)
br label %16
16: ; preds = %12, %8
ret void
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getc(i32 noundef) #1
declare i32 @ungetc(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/tmpbukzn_r3.c'
source_filename = "/tmp/tmpbukzn_r3.c"
target datalayout = "e-m:e-p270: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/tmpbukzn_r3.c"
target datalayout = "e-m:e-p270: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/tmpxpzx64kt.c'
source_filename = "/tmp/tmpxpzx64kt.c"
target datalayout = "e-m:e-p270: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/tmpxpzx64kt.c"
target datalayout = "e-m:e-p270: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/tmp76h0179o.c'
source_filename = "/tmp/tmp76h0179o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tbox_term_resize(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 @l_adjust_values(ptr noundef %3)
ret void
}
declare i32 @l_adjust_values(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp76h0179o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tbox_term_resize(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 @l_adjust_values(ptr noundef %3)
ret void
}
declare i32 @l_adjust_values(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9vsjf9g_.c'
source_filename = "/tmp/tmp9vsjf9g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @should_fail() #0 {
%1 = alloca i64, align 8
store i64 20, ptr %1, align 8
%2 = load i64, ptr %1, align 8
%3 = call i32 @f(i64 noundef %2)
ret void
}
declare i32 @f(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/tmp9vsjf9g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @should_fail() #0 {
%1 = alloca i64, align 8
store i64 20, ptr %1, align 8
%2 = load i64, ptr %1, align 8
%3 = call i32 @f(i64 noundef %2)
ret void
}
declare i32 @f(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/tmpn_e2sfbq.c'
source_filename = "/tmp/tmpn_e2sfbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@prot.buf = internal global [11 x i8] zeroinitializer, align 1
@prot.ifmt = internal global [8 x i32] [i32 131, i32 133, i32 132, i32 134, i32 129, i32 130, i32 128, i32 0], align 16
@prot.fmt = internal global [8 x i8] c"pcdb-ls?", align 1
@S_IFMT = dso_local global i32 0, align 4
@S_IREAD = dso_local global i32 0, align 4
@S_IWRITE = dso_local global i32 0, align 4
@S_IEXEC = dso_local global i32 0, align 4
@S_ISUID = dso_local global i32 0, align 4
@S_ISGID = dso_local global i32 0, align 4
@S_ISVTX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @prot(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %22, %1
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [8 x i32], ptr @prot.ifmt, i64 0, i64 %6
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @S_IFMT, align 4
%13 = and i32 %11, %12
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [8 x i32], ptr @prot.ifmt, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = icmp ne i32 %13, %17
br label %19
19: ; preds = %10, %4
%20 = phi i1 [ false, %4 ], [ %18, %10 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %4, !llvm.loop !6
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [8 x i8], ptr @prot.fmt, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
store i8 %29, ptr @prot.buf, align 1
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr @S_IREAD, align 4
%32 = and i32 %30, %31
%33 = icmp ne i32 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, i32 114, i32 45
%36 = trunc i32 %35 to i8
store i8 %36, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 1), align 1
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr @S_IWRITE, align 4
%39 = and i32 %37, %38
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i64
%42 = select i1 %40, i32 119, i32 45
%43 = trunc i32 %42 to i8
store i8 %43, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 2), align 1
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr @S_IEXEC, align 4
%46 = and i32 %44, %45
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 120, i32 45
%50 = trunc i32 %49 to i8
store i8 %50, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 3), align 1
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr @S_ISUID, align 4
%53 = and i32 %51, %52
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %25
%56 = load i8, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 3), align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 45
%59 = zext i1 %58 to i64
%60 = select i1 %58, i32 83, i32 115
%61 = trunc i32 %60 to i8
store i8 %61, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 3), align 1
br label %62
62: ; preds = %55, %25
%63 = load i32, ptr %2, align 4
%64 = load i32, ptr @S_IREAD, align 4
%65 = ashr i32 %64, 3
%66 = and i32 %63, %65
%67 = icmp ne i32 %66, 0
%68 = zext i1 %67 to i64
%69 = select i1 %67, i32 114, i32 45
%70 = trunc i32 %69 to i8
store i8 %70, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 4), align 1
%71 = load i32, ptr %2, align 4
%72 = load i32, ptr @S_IWRITE, align 4
%73 = ashr i32 %72, 3
%74 = and i32 %71, %73
%75 = icmp ne i32 %74, 0
%76 = zext i1 %75 to i64
%77 = select i1 %75, i32 119, i32 45
%78 = trunc i32 %77 to i8
store i8 %78, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 5), align 1
%79 = load i32, ptr %2, align 4
%80 = load i32, ptr @S_IEXEC, align 4
%81 = ashr i32 %80, 3
%82 = and i32 %79, %81
%83 = icmp ne i32 %82, 0
%84 = zext i1 %83 to i64
%85 = select i1 %83, i32 120, i32 45
%86 = trunc i32 %85 to i8
store i8 %86, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 6), align 1
%87 = load i32, ptr %2, align 4
%88 = load i32, ptr @S_ISGID, align 4
%89 = and i32 %87, %88
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %62
%92 = load i8, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 6), align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 45
%95 = zext i1 %94 to i64
%96 = select i1 %94, i32 83, i32 115
%97 = trunc i32 %96 to i8
store i8 %97, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 6), align 1
br label %98
98: ; preds = %91, %62
%99 = load i32, ptr %2, align 4
%100 = load i32, ptr @S_IREAD, align 4
%101 = ashr i32 %100, 6
%102 = and i32 %99, %101
%103 = icmp ne i32 %102, 0
%104 = zext i1 %103 to i64
%105 = select i1 %103, i32 114, i32 45
%106 = trunc i32 %105 to i8
store i8 %106, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 7), align 1
%107 = load i32, ptr %2, align 4
%108 = load i32, ptr @S_IWRITE, align 4
%109 = ashr i32 %108, 6
%110 = and i32 %107, %109
%111 = icmp ne i32 %110, 0
%112 = zext i1 %111 to i64
%113 = select i1 %111, i32 119, i32 45
%114 = trunc i32 %113 to i8
store i8 %114, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 8), align 1
%115 = load i32, ptr %2, align 4
%116 = load i32, ptr @S_IEXEC, align 4
%117 = ashr i32 %116, 6
%118 = and i32 %115, %117
%119 = icmp ne i32 %118, 0
%120 = zext i1 %119 to i64
%121 = select i1 %119, i32 120, i32 45
%122 = trunc i32 %121 to i8
store i8 %122, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 9), align 1
%123 = load i32, ptr %2, align 4
%124 = load i32, ptr @S_ISVTX, align 4
%125 = and i32 %123, %124
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %134
127: ; preds = %98
%128 = load i8, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 9), align 1
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 45
%131 = zext i1 %130 to i64
%132 = select i1 %130, i32 84, i32 116
%133 = trunc i32 %132 to i8
store i8 %133, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 9), align 1
br label %134
134: ; preds = %127, %98
store i8 0, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 10), align 1
ret ptr @prot.buf
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn_e2sfbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@prot.buf = internal global [11 x i8] zeroinitializer, align 1
@prot.ifmt = internal global [8 x i32] [i32 131, i32 133, i32 132, i32 134, i32 129, i32 130, i32 128, i32 0], align 16
@prot.fmt = internal global [8 x i8] c"pcdb-ls?", align 1
@S_IFMT = dso_local global i32 0, align 4
@S_IREAD = dso_local global i32 0, align 4
@S_IWRITE = dso_local global i32 0, align 4
@S_IEXEC = dso_local global i32 0, align 4
@S_ISUID = dso_local global i32 0, align 4
@S_ISGID = dso_local global i32 0, align 4
@S_ISVTX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @prot(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %22, %1
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [8 x i32], ptr @prot.ifmt, i64 0, i64 %6
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @S_IFMT, align 4
%13 = and i32 %11, %12
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [8 x i32], ptr @prot.ifmt, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = icmp ne i32 %13, %17
br label %19
19: ; preds = %10, %4
%20 = phi i1 [ false, %4 ], [ %18, %10 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %4, !llvm.loop !6
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [8 x i8], ptr @prot.fmt, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
store i8 %29, ptr @prot.buf, align 1
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr @S_IREAD, align 4
%32 = and i32 %30, %31
%33 = icmp ne i32 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, i32 114, i32 45
%36 = trunc i32 %35 to i8
store i8 %36, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 1), align 1
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr @S_IWRITE, align 4
%39 = and i32 %37, %38
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i64
%42 = select i1 %40, i32 119, i32 45
%43 = trunc i32 %42 to i8
store i8 %43, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 2), align 1
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr @S_IEXEC, align 4
%46 = and i32 %44, %45
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 120, i32 45
%50 = trunc i32 %49 to i8
store i8 %50, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 3), align 1
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr @S_ISUID, align 4
%53 = and i32 %51, %52
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %25
%56 = load i8, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 3), align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 45
%59 = zext i1 %58 to i64
%60 = select i1 %58, i32 83, i32 115
%61 = trunc i32 %60 to i8
store i8 %61, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 3), align 1
br label %62
62: ; preds = %55, %25
%63 = load i32, ptr %2, align 4
%64 = load i32, ptr @S_IREAD, align 4
%65 = ashr i32 %64, 3
%66 = and i32 %63, %65
%67 = icmp ne i32 %66, 0
%68 = zext i1 %67 to i64
%69 = select i1 %67, i32 114, i32 45
%70 = trunc i32 %69 to i8
store i8 %70, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 4), align 1
%71 = load i32, ptr %2, align 4
%72 = load i32, ptr @S_IWRITE, align 4
%73 = ashr i32 %72, 3
%74 = and i32 %71, %73
%75 = icmp ne i32 %74, 0
%76 = zext i1 %75 to i64
%77 = select i1 %75, i32 119, i32 45
%78 = trunc i32 %77 to i8
store i8 %78, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 5), align 1
%79 = load i32, ptr %2, align 4
%80 = load i32, ptr @S_IEXEC, align 4
%81 = ashr i32 %80, 3
%82 = and i32 %79, %81
%83 = icmp ne i32 %82, 0
%84 = zext i1 %83 to i64
%85 = select i1 %83, i32 120, i32 45
%86 = trunc i32 %85 to i8
store i8 %86, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 6), align 1
%87 = load i32, ptr %2, align 4
%88 = load i32, ptr @S_ISGID, align 4
%89 = and i32 %87, %88
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %62
%92 = load i8, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 6), align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 45
%95 = zext i1 %94 to i64
%96 = select i1 %94, i32 83, i32 115
%97 = trunc i32 %96 to i8
store i8 %97, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 6), align 1
br label %98
98: ; preds = %91, %62
%99 = load i32, ptr %2, align 4
%100 = load i32, ptr @S_IREAD, align 4
%101 = ashr i32 %100, 6
%102 = and i32 %99, %101
%103 = icmp ne i32 %102, 0
%104 = zext i1 %103 to i64
%105 = select i1 %103, i32 114, i32 45
%106 = trunc i32 %105 to i8
store i8 %106, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 7), align 1
%107 = load i32, ptr %2, align 4
%108 = load i32, ptr @S_IWRITE, align 4
%109 = ashr i32 %108, 6
%110 = and i32 %107, %109
%111 = icmp ne i32 %110, 0
%112 = zext i1 %111 to i64
%113 = select i1 %111, i32 119, i32 45
%114 = trunc i32 %113 to i8
store i8 %114, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 8), align 1
%115 = load i32, ptr %2, align 4
%116 = load i32, ptr @S_IEXEC, align 4
%117 = ashr i32 %116, 6
%118 = and i32 %115, %117
%119 = icmp ne i32 %118, 0
%120 = zext i1 %119 to i64
%121 = select i1 %119, i32 120, i32 45
%122 = trunc i32 %121 to i8
store i8 %122, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 9), align 1
%123 = load i32, ptr %2, align 4
%124 = load i32, ptr @S_ISVTX, align 4
%125 = and i32 %123, %124
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %134
127: ; preds = %98
%128 = load i8, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 9), align 1
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 45
%131 = zext i1 %130 to i64
%132 = select i1 %130, i32 84, i32 116
%133 = trunc i32 %132 to i8
store i8 %133, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 9), align 1
br label %134
134: ; preds = %127, %98
store i8 0, ptr getelementptr inbounds ([11 x i8], ptr @prot.buf, i64 0, i64 10), align 1
ret ptr @prot.buf
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvl27uiag.c'
source_filename = "/tmp/tmpvl27uiag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\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 111, ptr %2, align 4
store i32 3, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @rightrox(i32 noundef %4, i32 noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rightrox(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/tmpvl27uiag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\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 111, ptr %2, align 4
store i32 3, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @rightrox(i32 noundef %4, i32 noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rightrox(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/tmpimvgq9qr.c'
source_filename = "/tmp/tmpimvgq9qr.c"
target datalayout = "e-m:e-p270: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 i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %45, %0
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = load i8, ptr @EOF, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %7, %9
br i1 %10, label %11, label %46
11: ; preds = %5
%12 = load i8, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 32
br i1 %14, label %23, label %15
15: ; preds = %11
%16 = load i8, ptr %2, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load i8, ptr %2, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 9
br i1 %22, label %23, label %24
23: ; preds = %19, %15, %11
store i32 0, ptr %4, align 4
br label %45
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @putchar(i8 noundef signext 10)
br label %32
32: ; preds = %30, %27
%33 = load i8, ptr %2, align 1
%34 = call i32 @putchar(i8 noundef signext %33)
store i32 1, ptr %4, align 4
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %44
37: ; preds = %24
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i8, ptr %2, align 1
%42 = call i32 @putchar(i8 noundef signext %41)
br label %43
43: ; preds = %40, %37
br label %44
44: ; preds = %43, %32
br label %45
45: ; preds = %44, %23
br label %5, !llvm.loop !6
46: ; preds = %5
%47 = call i32 @putchar(i8 noundef signext 10)
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpimvgq9qr.c"
target datalayout = "e-m:e-p270: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 i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = load i8, ptr @EOF, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %6, %8
br i1 %9, label %.lr.ph, label %50
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %44
%11 = load i8, ptr %2, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 32
br i1 %13, label %22, label %14
14: ; preds = %10
%15 = load i8, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 10
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 9
br i1 %21, label %22, label %23
22: ; preds = %18, %14, %10
store i32 0, ptr %4, align 4
br label %44
23: ; preds = %18
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %36
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @putchar(i8 noundef signext 10)
br label %31
31: ; preds = %29, %26
%32 = load i8, ptr %2, align 1
%33 = call i32 @putchar(i8 noundef signext %32)
store i32 1, ptr %4, align 4
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %3, align 4
br label %43
36: ; preds = %23
%37 = load i32, ptr %4, align 4
%38 = icmp eq i32 %37, 1
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load i8, ptr %2, align 1
%41 = call i32 @putchar(i8 noundef signext %40)
br label %42
42: ; preds = %39, %36
br label %43
43: ; preds = %42, %31
br label %44
44: ; preds = %43, %22
%45 = call signext i8 (...) @getchar()
store i8 %45, ptr %2, align 1
%46 = sext i8 %45 to i32
%47 = load i8, ptr @EOF, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %46, %48
br i1 %49, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %0
%51 = call i32 @putchar(i8 noundef signext 10)
%52 = load i32, ptr %1, align 4
ret i32 %52
}
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpka428kg4.c'
source_filename = "/tmp/tmpka428kg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rot_regular2ij(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 3
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %9, align 8
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 38
%35 = call double @int4(ptr noundef %34)
%36 = fptosi double %35 to i32
store i32 %36, ptr %18, align 4
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 42
%39 = call double @int4(ptr noundef %38)
%40 = fptosi double %39 to i32
store i32 %40, ptr %19, align 4
%41 = load i32, ptr %18, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %4
%44 = load i32, ptr %18, align 4
%45 = sitofp i32 %44 to double
%46 = load i32, ptr %19, align 4
%47 = sitofp i32 %46 to double
%48 = fdiv double %45, %47
store double %48, ptr %10, align 8
br label %50
49: ; preds = %4
store double 0x3EB0C6F7A0B5ED8D, ptr %10, align 8
br label %50
50: ; preds = %49, %43
%51 = load ptr, ptr %9, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 72
%53 = call double @int4(ptr noundef %52)
%54 = load double, ptr %10, align 8
%55 = fmul double %53, %54
store double %55, ptr %13, align 8
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 76
%58 = call double @uint4(ptr noundef %57)
%59 = load double, ptr %10, align 8
%60 = fmul double %58, %59
store double %60, ptr %14, align 8
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 80
%63 = call double @int4(ptr noundef %62)
%64 = load double, ptr %10, align 8
%65 = fmul double %63, %64
store double %65, ptr %15, align 8
%66 = load double, ptr %15, align 8
%67 = fneg double %66
store double %67, ptr %15, align 8
%68 = load double, ptr %13, align 8
%69 = fadd double 9.000000e+01, %68
%70 = fmul double 0x3F91DF46A2529D39, %69
store double %70, ptr %21, align 8
%71 = load double, ptr %14, align 8
%72 = fmul double 0x3F91DF46A2529D39, %71
store double %72, ptr %22, align 8
%73 = load double, ptr %15, align 8
%74 = fmul double 0x3F91DF46A2529D39, %73
store double %74, ptr %23, align 8
%75 = load double, ptr %21, align 8
%76 = call double @sin(double noundef %75) #4
store double %76, ptr %16, align 8
%77 = load double, ptr %21, align 8
%78 = call double @cos(double noundef %77) #4
store double %78, ptr %17, align 8
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %79, align 8
store ptr %80, ptr %12, align 8
%81 = load ptr, ptr %7, align 8
%82 = load ptr, ptr %81, align 8
store ptr %82, ptr %11, align 8
store i32 0, ptr %20, align 4
br label %83
83: ; preds = %156, %50
%84 = load i32, ptr %20, align 4
%85 = load i32, ptr %8, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %159
87: ; preds = %83
%88 = load ptr, ptr %12, align 8
%89 = load double, ptr %88, align 8
%90 = fmul double 0x3F91DF46A2529D39, %89
store double %90, ptr %24, align 8
%91 = load ptr, ptr %11, align 8
%92 = load double, ptr %91, align 8
%93 = fmul double 0xBF91DF46A2529D39, %92
store double %93, ptr %25, align 8
%94 = load double, ptr %24, align 8
%95 = call double @cos(double noundef %94) #4
%96 = load double, ptr %25, align 8
%97 = call double @cos(double noundef %96) #4
%98 = fmul double %95, %97
%99 = call double @asin(double noundef %98) #4
store double %99, ptr %26, align 8
%100 = load double, ptr %24, align 8
%101 = call double @cos(double noundef %100) #4
%102 = load double, ptr %25, align 8
%103 = call double @sin(double noundef %102) #4
%104 = fmul double %101, %103
%105 = load double, ptr %24, align 8
%106 = call double @sin(double noundef %105) #4
%107 = fneg double %106
%108 = call double @atan2(double noundef %104, double noundef %107) #4
store double %108, ptr %27, align 8
%109 = load double, ptr %16, align 8
%110 = load double, ptr %26, align 8
%111 = call double @sin(double noundef %110) #4
%112 = load double, ptr %17, align 8
%113 = load double, ptr %26, align 8
%114 = call double @cos(double noundef %113) #4
%115 = fmul double %112, %114
%116 = load double, ptr %27, align 8
%117 = load double, ptr %23, align 8
%118 = fsub double %116, %117
%119 = call double @cos(double noundef %118) #4
%120 = fmul double %115, %119
%121 = fneg double %120
%122 = call double @llvm.fmuladd.f64(double %109, double %111, double %121)
%123 = call double @asin(double noundef %122) #4
%124 = fmul double 0x404CA5DC1A63C1F8, %123
store double %124, ptr %28, align 8
%125 = load double, ptr %22, align 8
%126 = fneg double %125
%127 = load double, ptr %26, align 8
%128 = call double @cos(double noundef %127) #4
%129 = load double, ptr %27, align 8
%130 = load double, ptr %23, align 8
%131 = fsub double %129, %130
%132 = call double @sin(double noundef %131) #4
%133 = fmul double %128, %132
%134 = load double, ptr %16, align 8
%135 = load double, ptr %26, align 8
%136 = call double @cos(double noundef %135) #4
%137 = fmul double %134, %136
%138 = load double, ptr %27, align 8
%139 = load double, ptr %23, align 8
%140 = fsub double %138, %139
%141 = call double @cos(double noundef %140) #4
%142 = load double, ptr %17, align 8
%143 = load double, ptr %26, align 8
%144 = call double @sin(double noundef %143) #4
%145 = fmul double %142, %144
%146 = call double @llvm.fmuladd.f64(double %137, double %141, double %145)
%147 = call double @atan2(double noundef %133, double noundef %146) #4
%148 = fadd double %126, %147
%149 = fmul double 0xC04CA5DC1A63C1F8, %148
store double %149, ptr %29, align 8
%150 = load double, ptr %28, align 8
%151 = load ptr, ptr %12, align 8
%152 = getelementptr inbounds double, ptr %151, i32 1
store ptr %152, ptr %12, align 8
store double %150, ptr %151, align 8
%153 = load double, ptr %29, align 8
%154 = load ptr, ptr %11, align 8
%155 = getelementptr inbounds double, ptr %154, i32 1
store ptr %155, ptr %11, align 8
store double %153, ptr %154, align 8
br label %156
156: ; preds = %87
%157 = load i32, ptr %20, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %20, align 4
br label %83, !llvm.loop !6
159: ; preds = %83
ret i32 0
}
declare double @int4(ptr noundef) #1
declare double @uint4(ptr noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #2
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpka428kg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rot_regular2ij(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 3
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %9, align 8
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 38
%35 = call double @int4(ptr noundef %34)
%36 = fptosi double %35 to i32
store i32 %36, ptr %18, align 4
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 42
%39 = call double @int4(ptr noundef %38)
%40 = fptosi double %39 to i32
store i32 %40, ptr %19, align 4
%41 = load i32, ptr %18, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %4
%44 = load i32, ptr %18, align 4
%45 = sitofp i32 %44 to double
%46 = load i32, ptr %19, align 4
%47 = sitofp i32 %46 to double
%48 = fdiv double %45, %47
store double %48, ptr %10, align 8
br label %50
49: ; preds = %4
store double 0x3EB0C6F7A0B5ED8D, ptr %10, align 8
br label %50
50: ; preds = %49, %43
%51 = load ptr, ptr %9, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 72
%53 = call double @int4(ptr noundef %52)
%54 = load double, ptr %10, align 8
%55 = fmul double %53, %54
store double %55, ptr %13, align 8
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 76
%58 = call double @uint4(ptr noundef %57)
%59 = load double, ptr %10, align 8
%60 = fmul double %58, %59
store double %60, ptr %14, align 8
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 80
%63 = call double @int4(ptr noundef %62)
%64 = load double, ptr %10, align 8
%65 = fmul double %63, %64
store double %65, ptr %15, align 8
%66 = load double, ptr %15, align 8
%67 = fneg double %66
store double %67, ptr %15, align 8
%68 = load double, ptr %13, align 8
%69 = fadd double 9.000000e+01, %68
%70 = fmul double 0x3F91DF46A2529D39, %69
store double %70, ptr %21, align 8
%71 = load double, ptr %14, align 8
%72 = fmul double 0x3F91DF46A2529D39, %71
store double %72, ptr %22, align 8
%73 = load double, ptr %15, align 8
%74 = fmul double 0x3F91DF46A2529D39, %73
store double %74, ptr %23, align 8
%75 = load double, ptr %21, align 8
%76 = call double @sin(double noundef %75) #4
store double %76, ptr %16, align 8
%77 = load double, ptr %21, align 8
%78 = call double @cos(double noundef %77) #4
store double %78, ptr %17, align 8
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %79, align 8
store ptr %80, ptr %12, align 8
%81 = load ptr, ptr %7, align 8
%82 = load ptr, ptr %81, align 8
store ptr %82, ptr %11, align 8
store i32 0, ptr %20, align 4
%83 = load i32, ptr %20, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %.lr.ph, label %161
.lr.ph: ; preds = %50
br label %86
86: ; preds = %.lr.ph, %155
%87 = load ptr, ptr %12, align 8
%88 = load double, ptr %87, align 8
%89 = fmul double 0x3F91DF46A2529D39, %88
store double %89, ptr %24, align 8
%90 = load ptr, ptr %11, align 8
%91 = load double, ptr %90, align 8
%92 = fmul double 0xBF91DF46A2529D39, %91
store double %92, ptr %25, align 8
%93 = load double, ptr %24, align 8
%94 = call double @cos(double noundef %93) #4
%95 = load double, ptr %25, align 8
%96 = call double @cos(double noundef %95) #4
%97 = fmul double %94, %96
%98 = call double @asin(double noundef %97) #4
store double %98, ptr %26, align 8
%99 = load double, ptr %24, align 8
%100 = call double @cos(double noundef %99) #4
%101 = load double, ptr %25, align 8
%102 = call double @sin(double noundef %101) #4
%103 = fmul double %100, %102
%104 = load double, ptr %24, align 8
%105 = call double @sin(double noundef %104) #4
%106 = fneg double %105
%107 = call double @atan2(double noundef %103, double noundef %106) #4
store double %107, ptr %27, align 8
%108 = load double, ptr %16, align 8
%109 = load double, ptr %26, align 8
%110 = call double @sin(double noundef %109) #4
%111 = load double, ptr %17, align 8
%112 = load double, ptr %26, align 8
%113 = call double @cos(double noundef %112) #4
%114 = fmul double %111, %113
%115 = load double, ptr %27, align 8
%116 = load double, ptr %23, align 8
%117 = fsub double %115, %116
%118 = call double @cos(double noundef %117) #4
%119 = fmul double %114, %118
%120 = fneg double %119
%121 = call double @llvm.fmuladd.f64(double %108, double %110, double %120)
%122 = call double @asin(double noundef %121) #4
%123 = fmul double 0x404CA5DC1A63C1F8, %122
store double %123, ptr %28, align 8
%124 = load double, ptr %22, align 8
%125 = fneg double %124
%126 = load double, ptr %26, align 8
%127 = call double @cos(double noundef %126) #4
%128 = load double, ptr %27, align 8
%129 = load double, ptr %23, align 8
%130 = fsub double %128, %129
%131 = call double @sin(double noundef %130) #4
%132 = fmul double %127, %131
%133 = load double, ptr %16, align 8
%134 = load double, ptr %26, align 8
%135 = call double @cos(double noundef %134) #4
%136 = fmul double %133, %135
%137 = load double, ptr %27, align 8
%138 = load double, ptr %23, align 8
%139 = fsub double %137, %138
%140 = call double @cos(double noundef %139) #4
%141 = load double, ptr %17, align 8
%142 = load double, ptr %26, align 8
%143 = call double @sin(double noundef %142) #4
%144 = fmul double %141, %143
%145 = call double @llvm.fmuladd.f64(double %136, double %140, double %144)
%146 = call double @atan2(double noundef %132, double noundef %145) #4
%147 = fadd double %125, %146
%148 = fmul double 0xC04CA5DC1A63C1F8, %147
store double %148, ptr %29, align 8
%149 = load double, ptr %28, align 8
%150 = load ptr, ptr %12, align 8
%151 = getelementptr inbounds double, ptr %150, i32 1
store ptr %151, ptr %12, align 8
store double %149, ptr %150, align 8
%152 = load double, ptr %29, align 8
%153 = load ptr, ptr %11, align 8
%154 = getelementptr inbounds double, ptr %153, i32 1
store ptr %154, ptr %11, align 8
store double %152, ptr %153, align 8
br label %155
155: ; preds = %86
%156 = load i32, ptr %20, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %20, align 4
%158 = load i32, ptr %20, align 4
%159 = load i32, ptr %8, align 4
%160 = icmp slt i32 %158, %159
br i1 %160, label %86, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %155
br label %161
161: ; preds = %._crit_edge, %50
ret i32 0
}
declare double @int4(ptr noundef) #1
declare double @uint4(ptr noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #2
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0dgdrfir.c'
source_filename = "/tmp/tmp0dgdrfir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@base64_dec.revalphabet = internal constant [256 x i32] [i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 62, i32 -1, i32 -1, i32 -1, i32 63, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1], align 16
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @base64_dec(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load i64, ptr %6, align 8
%14 = urem i64 %13, 4
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %3
store ptr null, ptr %4, align 8
br label %208
17: ; preds = %3
%18 = load i64, ptr %6, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load ptr, ptr %7, align 8
store i64 0, ptr %21, align 8
%22 = call i64 @strdup(ptr noundef @.str)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %4, align 8
br label %208
24: ; preds = %17
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = sub i64 %26, 2
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 61
br i1 %31, label %32, label %38
32: ; preds = %24
%33 = load i64, ptr %6, align 8
%34 = udiv i64 %33, 4
%35 = mul i64 %34, 3
%36 = sub i64 %35, 2
%37 = load ptr, ptr %7, align 8
store i64 %36, ptr %37, align 8
br label %58
38: ; preds = %24
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = sub i64 %40, 1
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 61
br i1 %45, label %46, label %52
46: ; preds = %38
%47 = load i64, ptr %6, align 8
%48 = udiv i64 %47, 4
%49 = mul i64 %48, 3
%50 = sub i64 %49, 1
%51 = load ptr, ptr %7, align 8
store i64 %50, ptr %51, align 8
br label %57
52: ; preds = %38
%53 = load i64, ptr %6, align 8
%54 = udiv i64 %53, 4
%55 = mul i64 %54, 3
%56 = load ptr, ptr %7, align 8
store i64 %55, ptr %56, align 8
br label %57
57: ; preds = %52, %46
br label %58
58: ; preds = %57, %32
%59 = load ptr, ptr %7, align 8
%60 = load i64, ptr %59, align 8
%61 = add i64 %60, 1
%62 = call ptr @malloc(i64 noundef %61)
store ptr %62, ptr %12, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %66, label %64
64: ; preds = %58
%65 = load ptr, ptr %7, align 8
store i64 0, ptr %65, align 8
store ptr null, ptr %4, align 8
br label %208
66: ; preds = %58
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %67
67: ; preds = %194, %66
%68 = load i64, ptr %8, align 8
%69 = load i64, ptr %6, align 8
%70 = icmp ult i64 %68, %69
br i1 %70, label %71, label %199
71: ; preds = %67
%72 = load ptr, ptr %5, align 8
%73 = load i64, ptr %8, align 8
%74 = getelementptr inbounds i8, ptr %72, i64 %73
%75 = load i8, ptr %74, align 1
%76 = zext i8 %75 to i64
%77 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
store i32 %78, ptr %11, align 4
%79 = icmp eq i32 %78, -1
br i1 %79, label %80, label %81
80: ; preds = %71
br label %205
81: ; preds = %71
%82 = load i32, ptr %11, align 4
%83 = shl i32 %82, 18
store i32 %83, ptr %10, align 4
%84 = load ptr, ptr %5, align 8
%85 = load i64, ptr %8, align 8
%86 = add i64 %85, 1
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = zext i8 %88 to i64
%90 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %89
%91 = load i32, ptr %90, align 4
store i32 %91, ptr %11, align 4
%92 = icmp eq i32 %91, -1
br i1 %92, label %93, label %94
93: ; preds = %81
br label %205
94: ; preds = %81
%95 = load i32, ptr %11, align 4
%96 = shl i32 %95, 12
%97 = load i32, ptr %10, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %10, align 4
%99 = load ptr, ptr %5, align 8
%100 = load i64, ptr %8, align 8
%101 = add i64 %100, 2
%102 = getelementptr inbounds i8, ptr %99, i64 %101
%103 = load i8, ptr %102, align 1
%104 = zext i8 %103 to i64
%105 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %104
%106 = load i32, ptr %105, align 4
store i32 %106, ptr %11, align 4
%107 = icmp eq i32 %106, -1
br i1 %107, label %108, label %124
108: ; preds = %94
%109 = load i64, ptr %8, align 8
%110 = load i64, ptr %6, align 8
%111 = sub i64 %110, 4
%112 = icmp eq i64 %109, %111
br i1 %112, label %113, label %122
113: ; preds = %108
%114 = load ptr, ptr %5, align 8
%115 = load i64, ptr %8, align 8
%116 = add i64 %115, 2
%117 = getelementptr inbounds i8, ptr %114, i64 %116
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 61
br i1 %120, label %121, label %122
121: ; preds = %113
store i32 0, ptr %11, align 4
br label %123
122: ; preds = %113, %108
br label %205
123: ; preds = %121
br label %124
124: ; preds = %123, %94
%125 = load i32, ptr %11, align 4
%126 = shl i32 %125, 6
%127 = load i32, ptr %10, align 4
%128 = add nsw i32 %127, %126
store i32 %128, ptr %10, align 4
%129 = load ptr, ptr %5, align 8
%130 = load i64, ptr %8, align 8
%131 = add i64 %130, 3
%132 = getelementptr inbounds i8, ptr %129, i64 %131
%133 = load i8, ptr %132, align 1
%134 = zext i8 %133 to i64
%135 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %134
%136 = load i32, ptr %135, align 4
store i32 %136, ptr %11, align 4
%137 = icmp eq i32 %136, -1
br i1 %137, label %138, label %154
138: ; preds = %124
%139 = load i64, ptr %8, align 8
%140 = load i64, ptr %6, align 8
%141 = sub i64 %140, 4
%142 = icmp eq i64 %139, %141
br i1 %142, label %143, label %152
143: ; preds = %138
%144 = load ptr, ptr %5, align 8
%145 = load i64, ptr %8, align 8
%146 = add i64 %145, 3
%147 = getelementptr inbounds i8, ptr %144, i64 %146
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 61
br i1 %150, label %151, label %152
151: ; preds = %143
store i32 0, ptr %11, align 4
br label %153
152: ; preds = %143, %138
br label %205
153: ; preds = %151
br label %154
154: ; preds = %153, %124
%155 = load i32, ptr %11, align 4
%156 = load i32, ptr %10, align 4
%157 = add nsw i32 %156, %155
store i32 %157, ptr %10, align 4
%158 = load i32, ptr %10, align 4
%159 = ashr i32 %158, 16
%160 = and i32 %159, 255
%161 = trunc i32 %160 to i8
%162 = load ptr, ptr %12, align 8
%163 = load i64, ptr %9, align 8
%164 = getelementptr inbounds i8, ptr %162, i64 %163
store i8 %161, ptr %164, align 1
%165 = load i64, ptr %9, align 8
%166 = add i64 %165, 1
%167 = load ptr, ptr %7, align 8
%168 = load i64, ptr %167, align 8
%169 = icmp ult i64 %166, %168
br i1 %169, label %170, label %179
170: ; preds = %154
%171 = load i32, ptr %10, align 4
%172 = ashr i32 %171, 8
%173 = and i32 %172, 255
%174 = trunc i32 %173 to i8
%175 = load ptr, ptr %12, align 8
%176 = load i64, ptr %9, align 8
%177 = add i64 %176, 1
%178 = getelementptr inbounds i8, ptr %175, i64 %177
store i8 %174, ptr %178, align 1
br label %179
179: ; preds = %170, %154
%180 = load i64, ptr %9, align 8
%181 = add i64 %180, 2
%182 = load ptr, ptr %7, align 8
%183 = load i64, ptr %182, align 8
%184 = icmp ult i64 %181, %183
br i1 %184, label %185, label %193
185: ; preds = %179
%186 = load i32, ptr %10, align 4
%187 = and i32 %186, 255
%188 = trunc i32 %187 to i8
%189 = load ptr, ptr %12, align 8
%190 = load i64, ptr %9, align 8
%191 = add i64 %190, 2
%192 = getelementptr inbounds i8, ptr %189, i64 %191
store i8 %188, ptr %192, align 1
br label %193
193: ; preds = %185, %179
br label %194
194: ; preds = %193
%195 = load i64, ptr %8, align 8
%196 = add i64 %195, 4
store i64 %196, ptr %8, align 8
%197 = load i64, ptr %9, align 8
%198 = add i64 %197, 3
store i64 %198, ptr %9, align 8
br label %67, !llvm.loop !6
199: ; preds = %67
%200 = load ptr, ptr %12, align 8
%201 = load ptr, ptr %7, align 8
%202 = load i64, ptr %201, align 8
%203 = getelementptr inbounds i8, ptr %200, i64 %202
store i8 0, ptr %203, align 1
%204 = load ptr, ptr %12, align 8
store ptr %204, ptr %4, align 8
br label %208
205: ; preds = %152, %122, %93, %80
%206 = load ptr, ptr %12, align 8
%207 = call i32 @free(ptr noundef %206)
store ptr null, ptr %4, align 8
br label %208
208: ; preds = %205, %199, %64, %20, %16
%209 = load ptr, ptr %4, align 8
ret ptr %209
}
declare i64 @strdup(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0dgdrfir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@base64_dec.revalphabet = internal constant [256 x i32] [i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 62, i32 -1, i32 -1, i32 -1, i32 63, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1], align 16
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @base64_dec(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load i64, ptr %6, align 8
%14 = urem i64 %13, 4
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %3
store ptr null, ptr %4, align 8
br label %210
17: ; preds = %3
%18 = load i64, ptr %6, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load ptr, ptr %7, align 8
store i64 0, ptr %21, align 8
%22 = call i64 @strdup(ptr noundef @.str)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %4, align 8
br label %210
24: ; preds = %17
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = sub i64 %26, 2
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 61
br i1 %31, label %32, label %38
32: ; preds = %24
%33 = load i64, ptr %6, align 8
%34 = udiv i64 %33, 4
%35 = mul i64 %34, 3
%36 = sub i64 %35, 2
%37 = load ptr, ptr %7, align 8
store i64 %36, ptr %37, align 8
br label %58
38: ; preds = %24
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = sub i64 %40, 1
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 61
br i1 %45, label %46, label %52
46: ; preds = %38
%47 = load i64, ptr %6, align 8
%48 = udiv i64 %47, 4
%49 = mul i64 %48, 3
%50 = sub i64 %49, 1
%51 = load ptr, ptr %7, align 8
store i64 %50, ptr %51, align 8
br label %57
52: ; preds = %38
%53 = load i64, ptr %6, align 8
%54 = udiv i64 %53, 4
%55 = mul i64 %54, 3
%56 = load ptr, ptr %7, align 8
store i64 %55, ptr %56, align 8
br label %57
57: ; preds = %52, %46
br label %58
58: ; preds = %57, %32
%59 = load ptr, ptr %7, align 8
%60 = load i64, ptr %59, align 8
%61 = add i64 %60, 1
%62 = call ptr @malloc(i64 noundef %61)
store ptr %62, ptr %12, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %66, label %64
64: ; preds = %58
%65 = load ptr, ptr %7, align 8
store i64 0, ptr %65, align 8
store ptr null, ptr %4, align 8
br label %210
66: ; preds = %58
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%67 = load i64, ptr %8, align 8
%68 = load i64, ptr %6, align 8
%69 = icmp ult i64 %67, %68
br i1 %69, label %.lr.ph, label %201
.lr.ph: ; preds = %66
br label %70
70: ; preds = %.lr.ph, %193
%71 = load ptr, ptr %5, align 8
%72 = load i64, ptr %8, align 8
%73 = getelementptr inbounds i8, ptr %71, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i64
%76 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
store i32 %77, ptr %11, align 4
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %80
79: ; preds = %70
br label %207
80: ; preds = %70
%81 = load i32, ptr %11, align 4
%82 = shl i32 %81, 18
store i32 %82, ptr %10, align 4
%83 = load ptr, ptr %5, align 8
%84 = load i64, ptr %8, align 8
%85 = add i64 %84, 1
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i64
%89 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %88
%90 = load i32, ptr %89, align 4
store i32 %90, ptr %11, align 4
%91 = icmp eq i32 %90, -1
br i1 %91, label %92, label %93
92: ; preds = %80
br label %207
93: ; preds = %80
%94 = load i32, ptr %11, align 4
%95 = shl i32 %94, 12
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %10, align 4
%98 = load ptr, ptr %5, align 8
%99 = load i64, ptr %8, align 8
%100 = add i64 %99, 2
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i8, ptr %101, align 1
%103 = zext i8 %102 to i64
%104 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %103
%105 = load i32, ptr %104, align 4
store i32 %105, ptr %11, align 4
%106 = icmp eq i32 %105, -1
br i1 %106, label %107, label %123
107: ; preds = %93
%108 = load i64, ptr %8, align 8
%109 = load i64, ptr %6, align 8
%110 = sub i64 %109, 4
%111 = icmp eq i64 %108, %110
br i1 %111, label %112, label %121
112: ; preds = %107
%113 = load ptr, ptr %5, align 8
%114 = load i64, ptr %8, align 8
%115 = add i64 %114, 2
%116 = getelementptr inbounds i8, ptr %113, i64 %115
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 61
br i1 %119, label %120, label %121
120: ; preds = %112
store i32 0, ptr %11, align 4
br label %122
121: ; preds = %112, %107
br label %207
122: ; preds = %120
br label %123
123: ; preds = %122, %93
%124 = load i32, ptr %11, align 4
%125 = shl i32 %124, 6
%126 = load i32, ptr %10, align 4
%127 = add nsw i32 %126, %125
store i32 %127, ptr %10, align 4
%128 = load ptr, ptr %5, align 8
%129 = load i64, ptr %8, align 8
%130 = add i64 %129, 3
%131 = getelementptr inbounds i8, ptr %128, i64 %130
%132 = load i8, ptr %131, align 1
%133 = zext i8 %132 to i64
%134 = getelementptr inbounds [256 x i32], ptr @base64_dec.revalphabet, i64 0, i64 %133
%135 = load i32, ptr %134, align 4
store i32 %135, ptr %11, align 4
%136 = icmp eq i32 %135, -1
br i1 %136, label %137, label %153
137: ; preds = %123
%138 = load i64, ptr %8, align 8
%139 = load i64, ptr %6, align 8
%140 = sub i64 %139, 4
%141 = icmp eq i64 %138, %140
br i1 %141, label %142, label %151
142: ; preds = %137
%143 = load ptr, ptr %5, align 8
%144 = load i64, ptr %8, align 8
%145 = add i64 %144, 3
%146 = getelementptr inbounds i8, ptr %143, i64 %145
%147 = load i8, ptr %146, align 1
%148 = sext i8 %147 to i32
%149 = icmp eq i32 %148, 61
br i1 %149, label %150, label %151
150: ; preds = %142
store i32 0, ptr %11, align 4
br label %152
151: ; preds = %142, %137
br label %207
152: ; preds = %150
br label %153
153: ; preds = %152, %123
%154 = load i32, ptr %11, align 4
%155 = load i32, ptr %10, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %10, align 4
%157 = load i32, ptr %10, align 4
%158 = ashr i32 %157, 16
%159 = and i32 %158, 255
%160 = trunc i32 %159 to i8
%161 = load ptr, ptr %12, align 8
%162 = load i64, ptr %9, align 8
%163 = getelementptr inbounds i8, ptr %161, i64 %162
store i8 %160, ptr %163, align 1
%164 = load i64, ptr %9, align 8
%165 = add i64 %164, 1
%166 = load ptr, ptr %7, align 8
%167 = load i64, ptr %166, align 8
%168 = icmp ult i64 %165, %167
br i1 %168, label %169, label %178
169: ; preds = %153
%170 = load i32, ptr %10, align 4
%171 = ashr i32 %170, 8
%172 = and i32 %171, 255
%173 = trunc i32 %172 to i8
%174 = load ptr, ptr %12, align 8
%175 = load i64, ptr %9, align 8
%176 = add i64 %175, 1
%177 = getelementptr inbounds i8, ptr %174, i64 %176
store i8 %173, ptr %177, align 1
br label %178
178: ; preds = %169, %153
%179 = load i64, ptr %9, align 8
%180 = add i64 %179, 2
%181 = load ptr, ptr %7, align 8
%182 = load i64, ptr %181, align 8
%183 = icmp ult i64 %180, %182
br i1 %183, label %184, label %192
184: ; preds = %178
%185 = load i32, ptr %10, align 4
%186 = and i32 %185, 255
%187 = trunc i32 %186 to i8
%188 = load ptr, ptr %12, align 8
%189 = load i64, ptr %9, align 8
%190 = add i64 %189, 2
%191 = getelementptr inbounds i8, ptr %188, i64 %190
store i8 %187, ptr %191, align 1
br label %192
192: ; preds = %184, %178
br label %193
193: ; preds = %192
%194 = load i64, ptr %8, align 8
%195 = add i64 %194, 4
store i64 %195, ptr %8, align 8
%196 = load i64, ptr %9, align 8
%197 = add i64 %196, 3
store i64 %197, ptr %9, align 8
%198 = load i64, ptr %8, align 8
%199 = load i64, ptr %6, align 8
%200 = icmp ult i64 %198, %199
br i1 %200, label %70, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %193
br label %201
201: ; preds = %._crit_edge, %66
%202 = load ptr, ptr %12, align 8
%203 = load ptr, ptr %7, align 8
%204 = load i64, ptr %203, align 8
%205 = getelementptr inbounds i8, ptr %202, i64 %204
store i8 0, ptr %205, align 1
%206 = load ptr, ptr %12, align 8
store ptr %206, ptr %4, align 8
br label %210
207: ; preds = %151, %121, %92, %79
%208 = load ptr, ptr %12, align 8
%209 = call i32 @free(ptr noundef %208)
store ptr null, ptr %4, align 8
br label %210
210: ; preds = %207, %201, %64, %20, %16
%211 = load ptr, ptr %4, align 8
ret ptr %211
}
declare i64 @strdup(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphvtb3qep.c'
source_filename = "/tmp/tmphvtb3qep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_index_of(ptr noundef %0, i64 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
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/tmphvtb3qep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_index_of(ptr noundef %0, i64 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
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/tmp_0ol_77q.c'
source_filename = "/tmp/tmp_0ol_77q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @onIdle() #0 {
%1 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_0ol_77q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @onIdle() #0 {
%1 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkbk8q457.c'
source_filename = "/tmp/tmpkbk8q457.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"Error: waitpid error\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"\0A\09[Note: Do \22$plot-llstat %s\22 to plot a graph using GNU plot]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fork_command(i32 noundef %0, i16 noundef zeroext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [1024 x i8], align 16
%14 = alloca [1030 x i8], align 16
store i32 %0, ptr %5, align 4
store i16 %1, ptr %6, align 2
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i32 1, ptr %11, align 4
%15 = load ptr, ptr %8, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 0, ptr %11, align 4
br label %19
19: ; preds = %18, %4
%20 = load i32, ptr %11, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%22 = call i32 @get_path_stats(i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [1030 x i8], ptr %14, i64 0, i64 0
%24 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24)
%26 = load i32, ptr %11, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %19
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds [1030 x i8], ptr %14, i64 0, i64 0
%31 = call i64 @fork_llstat_command(ptr noundef %29, ptr noundef %30)
store i64 %31, ptr %10, align 8
br label %32
32: ; preds = %28, %19
%33 = load i32, ptr %5, align 4
%34 = load i16, ptr %6, align 2
%35 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%36 = load ptr, ptr %7, align 8
%37 = call i64 @fork_actual_command(i32 noundef %33, i16 noundef zeroext %34, ptr noundef %35, ptr noundef %36)
store i64 %37, ptr %9, align 8
%38 = load i64, ptr %9, align 8
%39 = call i64 @waitpid(i64 noundef %38, ptr noundef null, i32 noundef 0)
%40 = load i64, ptr %9, align 8
%41 = icmp ne i64 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %32
%43 = load i32, ptr @stderr, align 4
%44 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str)
br label %45
45: ; preds = %42, %32
%46 = load i32, ptr %11, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %61
48: ; preds = %45
%49 = call i32 @sleep(i32 noundef 2)
%50 = load i64, ptr %10, align 8
%51 = call i32 @kill(i64 noundef %50, i32 noundef 9)
%52 = load i64, ptr %10, align 8
%53 = call i64 @waitpid(i64 noundef %52, ptr noundef %12, i32 noundef 0)
%54 = load i32, ptr %12, align 4
%55 = call i32 @WIFEXITED(i32 noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %48
%58 = load ptr, ptr %8, align 8
%59 = call i32 @printf(ptr noundef @.str.1, ptr noundef %58)
br label %60
60: ; preds = %57, %48
br label %61
61: ; preds = %60, %45
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @get_path_stats(i32 noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @fork_llstat_command(ptr noundef, ptr noundef) #1
declare i64 @fork_actual_command(i32 noundef, i16 noundef zeroext, ptr noundef, ptr noundef) #1
declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @kill(i64 noundef, i32 noundef) #1
declare i32 @WIFEXITED(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkbk8q457.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"Error: waitpid error\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"\0A\09[Note: Do \22$plot-llstat %s\22 to plot a graph using GNU plot]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fork_command(i32 noundef %0, i16 noundef zeroext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [1024 x i8], align 16
%14 = alloca [1030 x i8], align 16
store i32 %0, ptr %5, align 4
store i16 %1, ptr %6, align 2
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
store i32 1, ptr %11, align 4
%15 = load ptr, ptr %8, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 0, ptr %11, align 4
br label %19
19: ; preds = %18, %4
%20 = load i32, ptr %11, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%22 = call i32 @get_path_stats(i32 noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [1030 x i8], ptr %14, i64 0, i64 0
%24 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24)
%26 = load i32, ptr %11, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %19
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds [1030 x i8], ptr %14, i64 0, i64 0
%31 = call i64 @fork_llstat_command(ptr noundef %29, ptr noundef %30)
store i64 %31, ptr %10, align 8
br label %32
32: ; preds = %28, %19
%33 = load i32, ptr %5, align 4
%34 = load i16, ptr %6, align 2
%35 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
%36 = load ptr, ptr %7, align 8
%37 = call i64 @fork_actual_command(i32 noundef %33, i16 noundef zeroext %34, ptr noundef %35, ptr noundef %36)
store i64 %37, ptr %9, align 8
%38 = load i64, ptr %9, align 8
%39 = call i64 @waitpid(i64 noundef %38, ptr noundef null, i32 noundef 0)
%40 = load i64, ptr %9, align 8
%41 = icmp ne i64 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %32
%43 = load i32, ptr @stderr, align 4
%44 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str)
br label %45
45: ; preds = %42, %32
%46 = load i32, ptr %11, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %61
48: ; preds = %45
%49 = call i32 @sleep(i32 noundef 2)
%50 = load i64, ptr %10, align 8
%51 = call i32 @kill(i64 noundef %50, i32 noundef 9)
%52 = load i64, ptr %10, align 8
%53 = call i64 @waitpid(i64 noundef %52, ptr noundef %12, i32 noundef 0)
%54 = load i32, ptr %12, align 4
%55 = call i32 @WIFEXITED(i32 noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %48
%58 = load ptr, ptr %8, align 8
%59 = call i32 @printf(ptr noundef @.str.1, ptr noundef %58)
br label %60
60: ; preds = %57, %48
br label %61
61: ; preds = %60, %45
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @get_path_stats(i32 noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @fork_llstat_command(ptr noundef, ptr noundef) #1
declare i64 @fork_actual_command(i32 noundef, i16 noundef zeroext, ptr noundef, ptr noundef) #1
declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @kill(i64 noundef, i32 noundef) #1
declare i32 @WIFEXITED(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ub9h3so.c'
source_filename = "/tmp/tmp0ub9h3so.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: [\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @iperf_dump_fdset(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %14
14: ; preds = %34, %4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = load i32, ptr %9, align 4
%20 = load ptr, ptr %8, align 8
%21 = call i64 @FD_ISSET(i32 noundef %19, ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %33
23: ; preds = %18
%24 = load i32, ptr %10, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load ptr, ptr %5, align 8
%28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.1)
br label %29
29: ; preds = %26, %23
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.2, i32 noundef %31)
store i32 1, ptr %10, align 4
br label %33
33: ; preds = %29, %18
br label %34
34: ; preds = %33
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
br label %14, !llvm.loop !6
37: ; preds = %14
%38 = load ptr, ptr %5, align 8
%39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.3)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ub9h3so.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: [\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @iperf_dump_fdset(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %39
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %33
%18 = load i32, ptr %9, align 4
%19 = load ptr, ptr %8, align 8
%20 = call i64 @FD_ISSET(i32 noundef %18, ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %17
%23 = load i32, ptr %10, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load ptr, ptr %5, align 8
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.1)
br label %28
28: ; preds = %25, %22
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %9, align 4
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.2, i32 noundef %30)
store i32 1, ptr %10, align 4
br label %32
32: ; preds = %28, %17
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %4
%40 = load ptr, ptr %5, align 8
%41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.3)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9csxyxbu.c'
source_filename = "/tmp/tmp9csxyxbu.c"
target datalayout = "e-m:e-p270: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/tmp9csxyxbu.c"
target datalayout = "e-m:e-p270: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/tmpas_fi6n3.c'
source_filename = "/tmp/tmpas_fi6n3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dec2hex(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store i8 0, ptr %11, align 1
br label %35
12: ; preds = %2
br label %13
13: ; preds = %16, %12
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %28
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = srem i32 %17, 16
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = call signext i8 @tohex(i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 %20, ptr %25, align 1
%26 = load i32, ptr %3, align 4
%27 = sdiv i32 %26, 16
store i32 %27, ptr %3, align 4
br label %13, !llvm.loop !6
28: ; preds = %13
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %4, align 8
%34 = call i32 @rever(ptr noundef %33)
br label %35
35: ; preds = %28, %9
ret void
}
declare signext i8 @tohex(i32 noundef) #1
declare i32 @rever(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpas_fi6n3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dec2hex(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store i8 0, ptr %11, align 1
br label %36
12: ; preds = %2
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %15
%16 = load i32, ptr %3, align 4
%17 = srem i32 %16, 16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = call signext i8 @tohex(i32 noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
store i8 %19, ptr %24, align 1
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %25, 16
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %29
29: ; preds = %._crit_edge, %12
%30 = load ptr, ptr %4, 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 0, ptr %33, align 1
%34 = load ptr, ptr %4, align 8
%35 = call i32 @rever(ptr noundef %34)
br label %36
36: ; preds = %29, %9
ret void
}
declare signext i8 @tohex(i32 noundef) #1
declare i32 @rever(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmps1nylid8.c'
source_filename = "/tmp/tmps1nylid8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SPI_Register_Handler(i32 noundef %0, i8 noundef zeroext %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i8 %1, ptr %7, align 1
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %8, align 4
%17 = sdiv i32 %15, %16
store i32 %17, ptr %14, align 4
br label %18
18: ; preds = %5, %36
%19 = load i32, ptr %6, align 4
%20 = load i8, ptr %7, align 1
%21 = call i32 @SPI_Read_Value(i32 noundef %19, i8 noundef zeroext %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %13, align 4
%28 = load i32, ptr %14, align 4
%29 = sdiv i32 %27, %28
call void %26(i32 noundef %29)
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
br label %36
30: ; preds = %18
%31 = load i32, ptr %12, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %13, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %13, align 4
br label %36
36: ; preds = %30, %25
%37 = load i32, ptr %8, align 4
%38 = call i32 @sleep(i32 noundef %37)
br label %18
}
declare i32 @SPI_Read_Value(i32 noundef, i8 noundef zeroext) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps1nylid8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SPI_Register_Handler(i32 noundef %0, i8 noundef zeroext %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i8 %1, ptr %7, align 1
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %8, align 4
%17 = sdiv i32 %15, %16
store i32 %17, ptr %14, align 4
br label %18
18: ; preds = %36, %5
%19 = load i32, ptr %6, align 4
%20 = load i8, ptr %7, align 1
%21 = call i32 @SPI_Read_Value(i32 noundef %19, i8 noundef zeroext %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %13, align 4
%28 = load i32, ptr %14, align 4
%29 = sdiv i32 %27, %28
call void %26(i32 noundef %29)
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
br label %36
30: ; preds = %18
%31 = load i32, ptr %12, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %13, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %13, align 4
br label %36
36: ; preds = %30, %25
%37 = load i32, ptr %8, align 4
%38 = call i32 @sleep(i32 noundef %37)
br label %18
}
declare i32 @SPI_Read_Value(i32 noundef, i8 noundef zeroext) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplgn__g29.c'
source_filename = "/tmp/tmplgn__g29.c"
target datalayout = "e-m:e-p270: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/tmplgn__g29.c"
target datalayout = "e-m:e-p270: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/tmpzrw4i51o.c'
source_filename = "/tmp/tmpzrw4i51o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for +\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x2b() #0 {
%1 = call i64 @isxdigit(i32 noundef 43)
%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 220, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpzrw4i51o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for +\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x2b() #0 {
%1 = call i64 @isxdigit(i32 noundef 43)
%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 220, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpasbzrbt3.c'
source_filename = "/tmp/tmpasbzrbt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @coshf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @cosh(float noundef %3)
%5 = sitofp i64 %4 to float
ret float %5
}
declare i64 @cosh(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpasbzrbt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @coshf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @cosh(float noundef %3)
%5 = sitofp i64 %4 to float
ret float %5
}
declare i64 @cosh(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjer6w_5z.c'
source_filename = "/tmp/tmpjer6w_5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %d %s %s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Failed\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"times\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"haha\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [80 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @PrintFloats(i32 noundef 3, double noundef 3.141590e+00, double noundef 2.718280e+00, double noundef 1.414210e+00)
%5 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%6 = call ptr @fmtmsg(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 100, ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @printf(ptr noundef @.str.4, ptr noundef %7)
ret i32 0
}
declare i32 @PrintFloats(i32 noundef, double noundef, double noundef, double noundef) #1
declare ptr @fmtmsg(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjer6w_5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %d %s %s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Failed\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"times\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"haha\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [80 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @PrintFloats(i32 noundef 3, double noundef 3.141590e+00, double noundef 2.718280e+00, double noundef 1.414210e+00)
%5 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%6 = call ptr @fmtmsg(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 100, ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @printf(ptr noundef @.str.4, ptr noundef %7)
ret i32 0
}
declare i32 @PrintFloats(i32 noundef, double noundef, double noundef, double noundef) #1
declare ptr @fmtmsg(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgszr4nsw.c'
source_filename = "/tmp/tmpgszr4nsw.c"
target datalayout = "e-m:e-p270: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/tmpgszr4nsw.c"
target datalayout = "e-m:e-p270: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/tmpaocrwudj.c'
source_filename = "/tmp/tmpaocrwudj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replaceWithInteger(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = call ptr @integerToString(i64 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @replace(ptr noundef %10, ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare ptr @integerToString(i64 noundef) #1
declare i32 @replace(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaocrwudj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replaceWithInteger(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = call ptr @integerToString(i64 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @replace(ptr noundef %10, ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @free(ptr noundef %14)
ret void
}
declare ptr @integerToString(i64 noundef) #1
declare i32 @replace(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu0dsmynq.c'
source_filename = "/tmp/tmpu0dsmynq.c"
target datalayout = "e-m:e-p270: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/tmpu0dsmynq.c"
target datalayout = "e-m:e-p270: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/tmpmazgcw9x.c'
source_filename = "/tmp/tmpmazgcw9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FFFF\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"The base %d conversion is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"1111111111111111\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store i32 16, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @stringToInt(ptr noundef %5, i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4, i32 noundef %7)
%9 = call i32 @stringToInt(ptr noundef @.str.2, i32 noundef 2)
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @stringToInt(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/tmpmazgcw9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FFFF\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"The base %d conversion is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"1111111111111111\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store i32 16, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @stringToInt(ptr noundef %5, i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4, i32 noundef %7)
%9 = call i32 @stringToInt(ptr noundef @.str.2, i32 noundef 2)
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @stringToInt(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/tmpdltwyjyt.c'
source_filename = "/tmp/tmpdltwyjyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dretva(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %9
9: ; preds = %38, %1
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %10, 5
br i1 %11, label %12, label %41
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
%17 = zext i1 %16 to i32
%18 = call i32 @udji_u_ko(i32 noundef %13, i32 noundef %17)
store i32 1, ptr %6, align 4
br label %19
19: ; preds = %28, %12
%20 = load i32, ptr %6, align 4
%21 = icmp sle i32 %20, 5
br i1 %21, label %22, label %31
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @ispisi(i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = call i32 @sleep(i32 noundef 1)
br label %28
28: ; preds = %22
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %19, !llvm.loop !6
31: ; preds = %19
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = zext i1 %35 to i32
%37 = call i32 @izadji_iz_ko(i32 noundef %32, i32 noundef %36)
br label %38
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %9, !llvm.loop !8
41: ; preds = %9
%42 = load ptr, ptr %2, align 8
ret ptr %42
}
declare i32 @udji_u_ko(i32 noundef, i32 noundef) #1
declare i32 @ispisi(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @izadji_iz_ko(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdltwyjyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dretva(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %4, align 4
store i32 1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 5
br i1 %10, label %.lr.ph2, label %43
.lr.ph2: ; preds = %1
br label %11
11: ; preds = %.lr.ph2, %38
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 0
%15 = xor i1 %14, true
%16 = zext i1 %15 to i32
%17 = call i32 @udji_u_ko(i32 noundef %12, i32 noundef %16)
store i32 1, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp sle i32 %18, 5
br i1 %19, label %.lr.ph, label %31
.lr.ph: ; preds = %11
br label %20
20: ; preds = %.lr.ph, %26
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = call i32 @ispisi(i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = call i32 @sleep(i32 noundef 1)
br label %26
26: ; preds = %20
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sle i32 %29, 5
br i1 %30, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %11
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = zext i1 %35 to i32
%37 = call i32 @izadji_iz_ko(i32 noundef %32, i32 noundef %36)
br label %38
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp sle i32 %41, 5
br i1 %42, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %43
43: ; preds = %._crit_edge3, %1
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
declare i32 @udji_u_ko(i32 noundef, i32 noundef) #1
declare i32 @ispisi(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @izadji_iz_ko(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcfezjldn.c'
source_filename = "/tmp/tmpcfezjldn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Give me a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"The complement is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i32, ptr %6, align 4
%11 = call i32 @findComplement(i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @findComplement(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/tmpcfezjldn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Give me a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"The complement is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i32, ptr %6, align 4
%11 = call i32 @findComplement(i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @findComplement(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_0gmcc45.c'
source_filename = "/tmp/tmp_0gmcc45.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"[%d]: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fill_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 100, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %30
11: ; preds = %2
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %26, %11
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%21 = load i32, ptr %6, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
store i32 %21, ptr %25, align 4
br label %26
26: ; preds = %16
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
br label %30
30: ; preds = %29, %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_0gmcc45.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"[%d]: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fill_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 100, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %32
11: ; preds = %2
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %25
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%20 = load i32, ptr %6, align 4
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
store i32 %20, ptr %24, align 4
br label %25
25: ; preds = %15
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %11
br label %32
32: ; preds = %31, %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_2enjsvj.c'
source_filename = "/tmp/tmp_2enjsvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_2enjsvj.c"
target datalayout = "e-m:e-p270: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/tmpk6nmiz8p.c'
source_filename = "/tmp/tmpk6nmiz8p.c"
target datalayout = "e-m:e-p270: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/tmpk6nmiz8p.c"
target datalayout = "e-m:e-p270: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/tmppk33ehxl.c'
source_filename = "/tmp/tmppk33ehxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Displaying number for one to twenty using while loop: \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %4
4: ; preds = %7, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 20
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
br label %4, !llvm.loop !6
12: ; preds = %4
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppk33ehxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Displaying number for one to twenty using while loop: \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 20
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 20
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %0
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmq7gepaj.c'
source_filename = "/tmp/tmpmq7gepaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"by-name : \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ONE \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"\0Aby-value : \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str)
%5 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str.1)
store i64 1, ptr %2, align 8
%6 = load i64, ptr %2, align 8
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 5, %7
%9 = trunc i64 %8 to i32
%10 = call i32 @foobyname_2dfc0(i32 noundef %9)
%11 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str.2)
%12 = call i32 @foobyval_2dd80(i64 noundef 5)
%13 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str.3)
ret i32 0
}
declare i32 @b_outstr(i64 noundef, ptr noundef) #1
declare i32 @foobyname_2dfc0(i32 noundef) #1
declare i32 @foobyval_2dd80(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/tmpmq7gepaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"by-name : \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ONE \00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"\0Aby-value : \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str)
%5 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str.1)
store i64 1, ptr %2, align 8
%6 = load i64, ptr %2, align 8
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 5, %7
%9 = trunc i64 %8 to i32
%10 = call i32 @foobyname_2dfc0(i32 noundef %9)
%11 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str.2)
%12 = call i32 @foobyval_2dd80(i64 noundef 5)
%13 = call i32 @b_outstr(i64 noundef 1, ptr noundef @.str.3)
ret i32 0
}
declare i32 @b_outstr(i64 noundef, ptr noundef) #1
declare i32 @foobyname_2dfc0(i32 noundef) #1
declare i32 @foobyval_2dd80(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/tmpkv1hvw58.c'
source_filename = "/tmp/tmpkv1hvw58.c"
target datalayout = "e-m:e-p270: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/tmpkv1hvw58.c"
target datalayout = "e-m:e-p270: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/tmp5181eft3.c'
source_filename = "/tmp/tmp5181eft3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"labas as krabas.\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @fork()
%6 = call i32 (...) @fork()
%7 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5181eft3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"labas as krabas.\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @fork()
%6 = call i32 (...) @fork()
%7 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4i93ss52.c'
source_filename = "/tmp/tmp4i93ss52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ...) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sitofp i32 %4 to float
store float %5, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = fcmp une float %6, %7
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 (...) @abort() #2
unreachable
11: ; preds = %1
ret i32 2
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp4i93ss52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ...) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sitofp i32 %4 to float
store float %5, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = fcmp une float %6, %7
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 (...) @abort() #2
unreachable
11: ; preds = %1
ret i32 2
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp7gv92dte.c'
source_filename = "/tmp/tmp7gv92dte.c"
target datalayout = "e-m:e-p270: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.spwd = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"Usage...\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Password:\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ok!\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Failed!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = call ptr @getpass(ptr noundef @.str.1)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call ptr @getspnam(ptr noundef %19)
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds %struct.spwd, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = call ptr @crypt(ptr noundef %21, i32 noundef %24)
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds %struct.spwd, ptr %26, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i64 @strcmp(i32 noundef %28, ptr noundef %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %15
%33 = call i32 @puts(ptr noundef @.str.2)
br label %36
34: ; preds = %15
%35 = call i32 @puts(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %32
%37 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getpass(ptr noundef) #1
declare ptr @getspnam(ptr noundef) #1
declare ptr @crypt(ptr noundef, i32 noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp7gv92dte.c"
target datalayout = "e-m:e-p270: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.spwd = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"Usage...\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Password:\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ok!\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Failed!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = call ptr @getpass(ptr noundef @.str.1)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call ptr @getspnam(ptr noundef %19)
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds %struct.spwd, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = call ptr @crypt(ptr noundef %21, i32 noundef %24)
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds %struct.spwd, ptr %26, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i64 @strcmp(i32 noundef %28, ptr noundef %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %15
%33 = call i32 @puts(ptr noundef @.str.2)
br label %36
34: ; preds = %15
%35 = call i32 @puts(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %32
%37 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getpass(ptr noundef) #1
declare ptr @getspnam(ptr noundef) #1
declare ptr @crypt(ptr noundef, i32 noundef) #1
declare i64 @strcmp(i32 noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpt3f9zrxa.c'
source_filename = "/tmp/tmpt3f9zrxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = call i32 (...) @rand()
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 42, ptr %6, align 4
br label %13
12: ; preds = %2
store i32 7, ptr %6, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %6, align 4
ret i32 %14
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt3f9zrxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = call i32 (...) @rand()
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 42, ptr %6, align 4
br label %13
12: ; preds = %2
store i32 7, ptr %6, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %6, align 4
ret i32 %14
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ia024jz.c'
source_filename = "/tmp/tmp5ia024jz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @run_program()
ret i32 0
}
declare i32 @run_program(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ia024jz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @run_program()
ret i32 0
}
declare i32 @run_program(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaof0o7oq.c'
source_filename = "/tmp/tmpaof0o7oq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @tableLoad(ptr noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @size(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @capacity(ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store float 0.000000e+00, ptr %2, align 4
br label %19
13: ; preds = %1
%14 = load i32, ptr %4, align 4
%15 = sitofp i32 %14 to float
%16 = load i32, ptr %5, align 4
%17 = sitofp i32 %16 to float
%18 = fdiv float %15, %17
store float %18, ptr %2, align 4
br label %19
19: ; preds = %13, %12
%20 = load float, ptr %2, align 4
ret float %20
}
declare i32 @size(ptr noundef) #1
declare i32 @capacity(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaof0o7oq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @tableLoad(ptr noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @size(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @capacity(ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store float 0.000000e+00, ptr %2, align 4
br label %19
13: ; preds = %1
%14 = load i32, ptr %4, align 4
%15 = sitofp i32 %14 to float
%16 = load i32, ptr %5, align 4
%17 = sitofp i32 %16 to float
%18 = fdiv float %15, %17
store float %18, ptr %2, align 4
br label %19
19: ; preds = %13, %12
%20 = load float, ptr %2, align 4
ret float %20
}
declare i32 @size(ptr noundef) #1
declare i32 @capacity(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9wwxnufp.c'
source_filename = "/tmp/tmp9wwxnufp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lastIndexOf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = icmp sgt i64 %11, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %5, align 4
br label %74
16: ; preds = %2
store i32 0, ptr %6, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = load ptr, ptr %4, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = sub nsw i64 %18, %20
%22 = trunc i64 %21 to i32
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %9, align 4
br label %25
25: ; preds = %71, %16
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %72
29: ; preds = %25
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 @indexOf_shift(ptr noundef %30, ptr noundef %31, i32 noundef %32)
store i32 %33, ptr %6, align 4
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %8, align 4
%37 = call i32 @indexOf_shift(ptr noundef %34, ptr noundef %35, i32 noundef %36)
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %41
40: ; preds = %29
store i32 -1, ptr %8, align 4
br label %71
41: ; preds = %29
%42 = load i32, ptr %8, align 4
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %67
44: ; preds = %41
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
%48 = icmp eq i32 %45, %47
br i1 %48, label %49, label %51
49: ; preds = %44
%50 = load i32, ptr %6, align 4
store i32 %50, ptr %8, align 4
br label %66
51: ; preds = %44
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %6, align 4
%55 = sub nsw i32 %53, %54
%56 = sdiv i32 %55, 2
%57 = sub nsw i32 %52, %56
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp sle i32 %58, %59
br i1 %60, label %61, label %64
61: ; preds = %51
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %8, align 4
br label %64
64: ; preds = %61, %51
%65 = load i32, ptr %8, align 4
store i32 %65, ptr %9, align 4
br label %66
66: ; preds = %64, %49
br label %70
67: ; preds = %41
%68 = load i32, ptr %8, align 4
store i32 %68, ptr %6, align 4
%69 = load i32, ptr %7, align 4
store i32 %69, ptr %8, align 4
br label %70
70: ; preds = %67, %66
br label %71
71: ; preds = %70, %40
br label %25, !llvm.loop !6
72: ; preds = %25
%73 = load i32, ptr %6, align 4
store i32 %73, ptr %5, align 4
br label %74
74: ; preds = %72, %15
%75 = load i32, ptr %5, align 4
ret i32 %75
}
declare i64 @strlen(ptr noundef) #1
declare i32 @indexOf_shift(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/tmp9wwxnufp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lastIndexOf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = icmp sgt i64 %11, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %5, align 4
br label %76
16: ; preds = %2
store i32 0, ptr %6, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = load ptr, ptr %4, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = sub nsw i64 %18, %20
%22 = trunc i64 %21 to i32
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %.lr.ph, label %74
.lr.ph: ; preds = %16
br label %28
28: ; preds = %.lr.ph, %70
%29 = load ptr, ptr %3, align 8
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = call i32 @indexOf_shift(ptr noundef %29, ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %6, align 4
%33 = load ptr, ptr %3, align 8
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %8, align 4
%36 = call i32 @indexOf_shift(ptr noundef %33, ptr noundef %34, i32 noundef %35)
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %40
39: ; preds = %28
store i32 -1, ptr %8, align 4
br label %70
40: ; preds = %28
%41 = load i32, ptr %8, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %66
43: ; preds = %40
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
%47 = icmp eq i32 %44, %46
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %8, align 4
br label %65
50: ; preds = %43
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %6, align 4
%54 = sub nsw i32 %52, %53
%55 = sdiv i32 %54, 2
%56 = sub nsw i32 %51, %55
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %50
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %8, align 4
br label %63
63: ; preds = %60, %50
%64 = load i32, ptr %8, align 4
store i32 %64, ptr %9, align 4
br label %65
65: ; preds = %63, %48
br label %69
66: ; preds = %40
%67 = load i32, ptr %8, align 4
store i32 %67, ptr %6, align 4
%68 = load i32, ptr %7, align 4
store i32 %68, ptr %8, align 4
br label %69
69: ; preds = %66, %65
br label %70
70: ; preds = %69, %39
%71 = load i32, ptr %6, align 4
%72 = load i32, ptr %8, align 4
%73 = icmp ne i32 %71, %72
br i1 %73, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %74
74: ; preds = %._crit_edge, %16
%75 = load i32, ptr %6, align 4
store i32 %75, ptr %5, align 4
br label %76
76: ; preds = %74, %15
%77 = load i32, ptr %5, align 4
ret i32 %77
}
declare i64 @strlen(ptr noundef) #1
declare i32 @indexOf_shift(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/tmpbqn4ksc7.c'
source_filename = "/tmp/tmpbqn4ksc7.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getpwnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
br label %11
11: ; preds = %27, %5
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load i64, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @getpwent_r(ptr noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %19, label %28
19: ; preds = %11
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds %struct.passwd, ptr %21, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = call i32 @strcmp(ptr noundef %20, i32 noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %19
br label %30
27: ; preds = %19
br label %11, !llvm.loop !6
28: ; preds = %11
%29 = load ptr, ptr %10, align 8
store ptr null, ptr %29, align 8
br label %30
30: ; preds = %28, %26
%31 = call i32 (...) @endpwent()
%32 = load ptr, ptr %10, align 8
%33 = load ptr, ptr %32, align 8
%34 = icmp ne ptr %33, null
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 0, i32 -1
ret i32 %36
}
declare i32 @getpwent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, i32 noundef) #1
declare i32 @endpwent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbqn4ksc7.c"
target datalayout = "e-m:e-p270: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.passwd = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getpwnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = load i64, ptr %9, align 8
%14 = load ptr, ptr %10, align 8
%15 = call i32 @getpwent_r(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %5
br label %26
18: ; preds = %26
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %9, align 8
%22 = load ptr, ptr %10, align 8
%23 = call i32 @getpwent_r(ptr noundef %19, ptr noundef %20, i64 noundef %21, ptr noundef %22)
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %26, label %._crit_edge, !llvm.loop !6
26: ; preds = %.lr.ph, %18
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds %struct.passwd, ptr %28, i32 0, i32 0
%30 = load i32, ptr %29, align 4
%31 = call i32 @strcmp(ptr noundef %27, i32 noundef %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %18, label %33
33: ; preds = %26
br label %36
._crit_edge: ; preds = %18
br label %34
34: ; preds = %._crit_edge, %5
%35 = load ptr, ptr %10, align 8
store ptr null, ptr %35, align 8
br label %36
36: ; preds = %34, %33
%37 = call i32 (...) @endpwent()
%38 = load ptr, ptr %10, align 8
%39 = load ptr, ptr %38, align 8
%40 = icmp ne ptr %39, null
%41 = zext i1 %40 to i64
%42 = select i1 %40, i32 0, i32 -1
ret i32 %42
}
declare i32 @getpwent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, i32 noundef) #1
declare i32 @endpwent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmph9vqb5du.c'
source_filename = "/tmp/tmph9vqb5du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"Error: could not allocate memory for %s !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_malloc_2(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call ptr @malloc(i64 noundef %6) #4
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = call i32 @exit(i32 noundef 1) #5
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph9vqb5du.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"Error: could not allocate memory for %s !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_malloc_2(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call ptr @malloc(i64 noundef %6) #4
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = call i32 @exit(i32 noundef 1) #5
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1jls5uga.c'
source_filename = "/tmp/tmp1jls5uga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%6d%6d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1jls5uga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%6d%6d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %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"}
|
; ModuleID = '/tmp/tmptiv8g_to.c'
source_filename = "/tmp/tmptiv8g_to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%3s\09%6s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"F\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%3.0f\09%6.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fahr_to_cel() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
store float 0.000000e+00, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
br label %4
4: ; preds = %7, %0
%5 = load float, ptr %2, align 4
%6 = fcmp ole float %5, 3.000000e+02
br i1 %6, label %7, label %21
7: ; preds = %4
%8 = load float, ptr %2, align 4
%9 = fpext float %8 to double
%10 = fsub double %9, 3.200000e+01
%11 = fmul double 5.000000e+00, %10
%12 = fdiv double %11, 9.000000e+00
%13 = fptrunc double %12 to float
store float %13, ptr %1, align 4
%14 = load float, ptr %2, align 4
%15 = fpext float %14 to double
%16 = load float, ptr %1, align 4
%17 = fpext float %16 to double
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %15, double noundef %17)
%19 = load float, ptr %2, align 4
%20 = fadd float %19, 2.000000e+01
store float %20, ptr %2, align 4
br label %4, !llvm.loop !6
21: ; preds = %4
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/tmptiv8g_to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%3s\09%6s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"F\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%3.0f\09%6.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fahr_to_cel() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
store float 0.000000e+00, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%4 = load float, ptr %2, align 4
%5 = fcmp ole float %4, 3.000000e+02
br i1 %5, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = fsub double %8, 3.200000e+01
%10 = fmul double 5.000000e+00, %9
%11 = fdiv double %10, 9.000000e+00
%12 = fptrunc double %11 to float
store float %12, ptr %1, align 4
%13 = load float, ptr %2, align 4
%14 = fpext float %13 to double
%15 = load float, ptr %1, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %14, double noundef %16)
%18 = load float, ptr %2, align 4
%19 = fadd float %18, 2.000000e+01
store float %19, ptr %2, align 4
%20 = load float, ptr %2, align 4
%21 = fcmp ole float %20, 3.000000e+02
br i1 %21, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %22
22: ; preds = %._crit_edge, %0
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/tmpp3exwv84.c'
source_filename = "/tmp/tmpp3exwv84.c"
target datalayout = "e-m:e-p270: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
@SIG_BLOCK = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @htx_localtime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = call i32 @sigemptyset(ptr noundef %4)
%10 = call i32 @sigfillset(ptr noundef %3)
%11 = load i32, ptr @errno, align 4
store i32 %11, ptr %8, align 4
%12 = load i32, ptr @SIG_BLOCK, align 4
%13 = call i32 @sigprocmask(i32 noundef %12, ptr noundef %3, ptr noundef %4)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %1
%17 = load i32, ptr %8, align 4
store i32 %17, ptr @errno, align 4
store i32 1, ptr %7, align 4
br label %18
18: ; preds = %16, %1
%19 = load ptr, ptr %2, align 8
%20 = call ptr @localtime(ptr noundef %19)
store ptr %20, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %32
23: ; preds = %18
%24 = load i32, ptr @errno, align 4
store i32 %24, ptr %8, align 4
%25 = load i32, ptr @SIG_SETMASK, align 4
%26 = call i32 @sigprocmask(i32 noundef %25, ptr noundef %4, ptr noundef null)
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = load i32, ptr %8, align 4
store i32 %30, ptr @errno, align 4
br label %31
31: ; preds = %29, %23
br label %32
32: ; preds = %31, %18
%33 = load ptr, ptr %5, align 8
ret ptr %33
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigfillset(ptr noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp3exwv84.c"
target datalayout = "e-m:e-p270: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
@SIG_BLOCK = dso_local global i32 0, align 4
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @htx_localtime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = call i32 @sigemptyset(ptr noundef %4)
%10 = call i32 @sigfillset(ptr noundef %3)
%11 = load i32, ptr @errno, align 4
store i32 %11, ptr %8, align 4
%12 = load i32, ptr @SIG_BLOCK, align 4
%13 = call i32 @sigprocmask(i32 noundef %12, ptr noundef %3, ptr noundef %4)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %1
%17 = load i32, ptr %8, align 4
store i32 %17, ptr @errno, align 4
store i32 1, ptr %7, align 4
br label %18
18: ; preds = %16, %1
%19 = load ptr, ptr %2, align 8
%20 = call ptr @localtime(ptr noundef %19)
store ptr %20, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %32
23: ; preds = %18
%24 = load i32, ptr @errno, align 4
store i32 %24, ptr %8, align 4
%25 = load i32, ptr @SIG_SETMASK, align 4
%26 = call i32 @sigprocmask(i32 noundef %25, ptr noundef %4, ptr noundef null)
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = load i32, ptr %8, align 4
store i32 %30, ptr @errno, align 4
br label %31
31: ; preds = %29, %23
br label %32
32: ; preds = %31, %18
%33 = load ptr, ptr %5, align 8
ret ptr %33
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigfillset(ptr noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcclrmfj_.c'
source_filename = "/tmp/tmpcclrmfj_.c"
target datalayout = "e-m:e-p270: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/tmpcclrmfj_.c"
target datalayout = "e-m:e-p270: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/tmpxea4z3kb.c'
source_filename = "/tmp/tmpxea4z3kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseonedelimchar(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [2048 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %58, %4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %30
22: ; preds = %14
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %22, %14
%31 = phi i1 [ false, %14 ], [ %29, %22 ]
br i1 %31, label %32, label %59
32: ; preds = %30
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load i8, ptr %8, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %38, %40
br i1 %41, label %42, label %45
42: ; preds = %32
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
br label %59
45: ; preds = %32
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 %52
store i8 %50, ptr %53, align 1
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %58
58: ; preds = %45
br label %14, !llvm.loop !6
59: ; preds = %42, %30
%60 = load i32, ptr %10, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 %61
store i8 0, ptr %62, align 1
%63 = load i32, ptr %7, align 4
switch i32 %63, label %72 [
i32 0, label %64
i32 1, label %68
]
64: ; preds = %59
%65 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 0
%66 = call double @atof(ptr noundef %65)
%67 = load ptr, ptr %6, align 8
store double %66, ptr %67, align 8
br label %74
68: ; preds = %59
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 0
%71 = call i32 @sprintf(ptr noundef %69, ptr noundef @.str, ptr noundef %70)
br label %74
72: ; preds = %59
%73 = call i32 @error(i32 noundef 29)
br label %74
74: ; preds = %72, %68, %64
%75 = load i32, ptr %9, align 4
ret i32 %75
}
declare double @atof(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @error(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/tmpxea4z3kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseonedelimchar(ptr noundef %0, ptr noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [2048 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %58, %4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %30
22: ; preds = %14
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %22, %14
%31 = phi i1 [ false, %14 ], [ %29, %22 ]
br i1 %31, label %32, label %.loopexit
32: ; preds = %30
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load i8, ptr %8, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %38, %40
br i1 %41, label %42, label %45
42: ; preds = %32
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
br label %59
45: ; preds = %32
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 %52
store i8 %50, ptr %53, align 1
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %58
58: ; preds = %45
br label %14, !llvm.loop !6
.loopexit: ; preds = %30
br label %59
59: ; preds = %.loopexit, %42
%60 = load i32, ptr %10, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 %61
store i8 0, ptr %62, align 1
%63 = load i32, ptr %7, align 4
switch i32 %63, label %72 [
i32 0, label %64
i32 1, label %68
]
64: ; preds = %59
%65 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 0
%66 = call double @atof(ptr noundef %65)
%67 = load ptr, ptr %6, align 8
store double %66, ptr %67, align 8
br label %74
68: ; preds = %59
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds [2048 x i8], ptr %13, i64 0, i64 0
%71 = call i32 @sprintf(ptr noundef %69, ptr noundef @.str, ptr noundef %70)
br label %74
72: ; preds = %59
%73 = call i32 @error(i32 noundef 29)
br label %74
74: ; preds = %72, %68, %64
%75 = load i32, ptr %9, align 4
ret i32 %75
}
declare double @atof(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @error(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/tmpszjo3gd2.c'
source_filename = "/tmp/tmpszjo3gd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"hexdump_memory called with non-full line\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%08lx \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%02hhx \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" |\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexdump_memory(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca [1000 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%12 = load i64, ptr %4, align 8
%13 = urem i64 %12, 16
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @errx(i32 noundef 1, ptr noundef @.str)
br label %17
17: ; preds = %15, %2
%18 = load i64, ptr %5, align 8
store i64 %18, ptr %6, align 8
br label %19
19: ; preds = %100, %17
%20 = load i64, ptr %6, align 8
%21 = load i64, ptr %5, align 8
%22 = load i64, ptr %4, align 8
%23 = add i64 %21, %22
%24 = icmp ult i64 %20, %23
br i1 %24, label %25, label %103
25: ; preds = %19
%26 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i64, ptr %6, align 8
%29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %27, ptr noundef @.str.1, i64 noundef %28)
%30 = load ptr, ptr %8, align 8
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds i8, ptr %30, i64 %31
store ptr %32, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %33
33: ; preds = %50, %25
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 16
br i1 %35, label %36, label %53
36: ; preds = %33
%37 = load ptr, ptr %8, align 8
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %6, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = add i64 %39, %41
%43 = getelementptr inbounds i8, ptr %38, i64 %42
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %37, ptr noundef @.str.2, i32 noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds i8, ptr %47, i64 %48
store ptr %49, ptr %8, align 8
br label %50
50: ; preds = %36
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
br label %33, !llvm.loop !6
53: ; preds = %33
%54 = load ptr, ptr %8, align 8
%55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %54, ptr noundef @.str.3)
%56 = load ptr, ptr %8, align 8
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds i8, ptr %56, i64 %57
store ptr %58, ptr %8, align 8
store i32 0, ptr %10, align 4
br label %59
59: ; preds = %89, %53
%60 = load i32, ptr %10, align 4
%61 = icmp slt i32 %60, 16
br i1 %61, label %62, label %92
62: ; preds = %59
%63 = load ptr, ptr %3, align 8
%64 = load i64, ptr %6, align 8
%65 = load i32, ptr %10, align 4
%66 = sext i32 %65 to i64
%67 = add i64 %64, %66
%68 = getelementptr inbounds i8, ptr %63, i64 %67
%69 = load i8, ptr %68, align 1
store i8 %69, ptr %11, align 1
%70 = load i8, ptr %11, align 1
%71 = call i64 @isalnum(i8 noundef signext %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %81, label %73
73: ; preds = %62
%74 = load i8, ptr %11, align 1
%75 = call i64 @ispunct(i8 noundef signext %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %73
%78 = load i8, ptr %11, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 32
br i1 %80, label %81, label %85
81: ; preds = %77, %73, %62
%82 = load i8, ptr %11, align 1
%83 = load ptr, ptr %8, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %8, align 8
store i8 %82, ptr %83, align 1
br label %88
85: ; preds = %77
%86 = load ptr, ptr %8, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %8, align 8
store i8 46, ptr %86, align 1
br label %88
88: ; preds = %85, %81
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 %59, !llvm.loop !8
92: ; preds = %59
%93 = load ptr, ptr %8, align 8
%94 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %93, ptr noundef @.str.4)
%95 = load ptr, ptr %8, align 8
%96 = sext i32 %94 to i64
%97 = getelementptr inbounds i8, ptr %95, i64 %96
store ptr %97, ptr %8, align 8
%98 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
%99 = call i32 @puts(ptr noundef %98)
br label %100
100: ; preds = %92
%101 = load i64, ptr %6, align 8
%102 = add i64 %101, 16
store i64 %102, ptr %6, align 8
br label %19, !llvm.loop !9
103: ; preds = %19
ret void
}
declare i32 @errx(i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @ispunct(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpszjo3gd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"hexdump_memory called with non-full line\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%08lx \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%02hhx \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" |\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexdump_memory(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca [1000 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%12 = load i64, ptr %4, align 8
%13 = urem i64 %12, 16
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @errx(i32 noundef 1, ptr noundef @.str)
br label %17
17: ; preds = %15, %2
%18 = load i64, ptr %5, align 8
store i64 %18, ptr %6, align 8
%19 = load i64, ptr %6, align 8
%20 = load i64, ptr %5, align 8
%21 = load i64, ptr %4, align 8
%22 = add i64 %20, %21
%23 = icmp ult i64 %19, %22
br i1 %23, label %.lr.ph5, label %109
.lr.ph5: ; preds = %17
br label %24
24: ; preds = %.lr.ph5, %101
%25 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
store ptr %25, ptr %8, align 8
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %6, align 8
%28 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.1, i64 noundef %27)
%29 = load ptr, ptr %8, align 8
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds i8, ptr %29, i64 %30
store ptr %31, ptr %8, align 8
store i32 0, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp slt i32 %32, 16
br i1 %33, label %.lr.ph, label %53
.lr.ph: ; preds = %24
br label %34
34: ; preds = %.lr.ph, %48
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i64, ptr %6, align 8
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = add i64 %37, %39
%41 = getelementptr inbounds i8, ptr %36, i64 %40
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str.2, i32 noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds i8, ptr %45, i64 %46
store ptr %47, ptr %8, align 8
br label %48
48: ; preds = %34
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp slt i32 %51, 16
br i1 %52, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %53
53: ; preds = %._crit_edge, %24
%54 = load ptr, ptr %8, align 8
%55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %54, ptr noundef @.str.3)
%56 = load ptr, ptr %8, align 8
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds i8, ptr %56, i64 %57
store ptr %58, ptr %8, align 8
store i32 0, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 16
br i1 %60, label %.lr.ph2, label %93
.lr.ph2: ; preds = %53
br label %61
61: ; preds = %.lr.ph2, %88
%62 = load ptr, ptr %3, align 8
%63 = load i64, ptr %6, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = add i64 %63, %65
%67 = getelementptr inbounds i8, ptr %62, i64 %66
%68 = load i8, ptr %67, align 1
store i8 %68, ptr %11, align 1
%69 = load i8, ptr %11, align 1
%70 = call i64 @isalnum(i8 noundef signext %69)
%71 = icmp ne i64 %70, 0
br i1 %71, label %80, label %72
72: ; preds = %61
%73 = load i8, ptr %11, align 1
%74 = call i64 @ispunct(i8 noundef signext %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %80, label %76
76: ; preds = %72
%77 = load i8, ptr %11, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 32
br i1 %79, label %80, label %84
80: ; preds = %76, %72, %61
%81 = load i8, ptr %11, align 1
%82 = load ptr, ptr %8, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %8, align 8
store i8 %81, ptr %82, align 1
br label %87
84: ; preds = %76
%85 = load ptr, ptr %8, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %8, align 8
store i8 46, ptr %85, align 1
br label %87
87: ; preds = %84, %80
br label %88
88: ; preds = %87
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %10, align 4
%91 = load i32, ptr %10, align 4
%92 = icmp slt i32 %91, 16
br i1 %92, label %61, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %88
br label %93
93: ; preds = %._crit_edge3, %53
%94 = load ptr, ptr %8, align 8
%95 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %94, ptr noundef @.str.4)
%96 = load ptr, ptr %8, align 8
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds i8, ptr %96, i64 %97
store ptr %98, ptr %8, align 8
%99 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
%100 = call i32 @puts(ptr noundef %99)
br label %101
101: ; preds = %93
%102 = load i64, ptr %6, align 8
%103 = add i64 %102, 16
store i64 %103, ptr %6, align 8
%104 = load i64, ptr %6, align 8
%105 = load i64, ptr %5, align 8
%106 = load i64, ptr %4, align 8
%107 = add i64 %105, %106
%108 = icmp ult i64 %104, %107
br i1 %108, label %24, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %101
br label %109
109: ; preds = %._crit_edge6, %17
ret void
}
declare i32 @errx(i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @ispunct(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc1wsrray.c'
source_filename = "/tmp/tmpc1wsrray.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @echo_test(ptr noundef %8)
ret i32 0
}
declare i32 @echo_test(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc1wsrray.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @echo_test(ptr noundef %8)
ret i32 0
}
declare i32 @echo_test(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpasi4_6m6.c'
source_filename = "/tmp/tmpasi4_6m6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Fnc() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %12, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, %9
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %8
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load i32, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpasi4_6m6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Fnc() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %11
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, %8
store i32 %10, ptr %4, align 4
br label %11
11: ; preds = %7
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
%14 = load i32, ptr %1, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgy85iuh1.c'
source_filename = "/tmp/tmpgy85iuh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca [6 x i8], align 1
%3 = alloca i32, align 4
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call i32 @gets(ptr noundef %5)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %12, %0
%8 = load ptr, ptr %1, 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 %22
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = mul nsw i32 %13, 8
%15 = load ptr, ptr %1, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = add nsw i32 %14, %17
%19 = sub nsw i32 %18, 48
store i32 %19, ptr %3, align 4
%20 = load ptr, ptr %1, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %1, align 8
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = load i32, ptr %3, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
ret void
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgy85iuh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca [6 x i8], align 1
%3 = alloca i32, align 4
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call i32 @gets(ptr noundef %5)
store i32 0, ptr %3, align 4
%7 = load ptr, ptr %1, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %3, align 4
%13 = mul nsw i32 %12, 8
%14 = load ptr, ptr %1, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = add nsw i32 %13, %16
%18 = sub nsw i32 %17, 48
store i32 %18, ptr %3, align 4
%19 = load ptr, ptr %1, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %1, align 8
%21 = load ptr, ptr %1, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %25
25: ; preds = %._crit_edge, %0
%26 = load i32, ptr %3, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
ret void
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyxu6gqid.c'
source_filename = "/tmp/tmpyxu6gqid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\09| \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printGraphMatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %29, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %32
9: ; preds = %6
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %24, %9
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %27
14: ; preds = %11
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [10 x i32], ptr %15, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [10 x i32], ptr %18, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
br label %24
24: ; preds = %14
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %11, !llvm.loop !6
27: ; preds = %11
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %29
29: ; preds = %27
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %6, !llvm.loop !8
32: ; preds = %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyxu6gqid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\09| \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printGraphMatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph2, label %34
.lr.ph2: ; preds = %1
br label %8
8: ; preds = %.lr.ph2, %29
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %8
br label %12
12: ; preds = %.lr.ph, %22
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x i32], ptr %13, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10 x i32], ptr %16, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
br label %22
22: ; preds = %12
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 10
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %29
29: ; preds = %27
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 10
br i1 %33, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpw1l_wfm3.c'
source_filename = "/tmp/tmpw1l_wfm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @PWM1_1_IRQHandler() #0 {
%1 = call i32 (...) @PWM1_1_DriverIRQHandler()
ret void
}
declare i32 @PWM1_1_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/tmpw1l_wfm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @PWM1_1_IRQHandler() #0 {
%1 = call i32 (...) @PWM1_1_DriverIRQHandler()
ret void
}
declare i32 @PWM1_1_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/tmpurg7s1us.c'
source_filename = "/tmp/tmpurg7s1us.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @riva128_mmio_read_l(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = and i32 %5, 16777215
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @riva128_mmio_read(i32 noundef %8, ptr noundef %9)
%11 = shl i32 %10, 0
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
%14 = load ptr, ptr %4, align 8
%15 = call i32 @riva128_mmio_read(i32 noundef %13, ptr noundef %14)
%16 = shl i32 %15, 8
%17 = or i32 %11, %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 2
%20 = load ptr, ptr %4, align 8
%21 = call i32 @riva128_mmio_read(i32 noundef %19, ptr noundef %20)
%22 = shl i32 %21, 16
%23 = or i32 %17, %22
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 3
%26 = load ptr, ptr %4, align 8
%27 = call i32 @riva128_mmio_read(i32 noundef %25, ptr noundef %26)
%28 = shl i32 %27, 24
%29 = or i32 %23, %28
ret i32 %29
}
declare i32 @riva128_mmio_read(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/tmpurg7s1us.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @riva128_mmio_read_l(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = and i32 %5, 16777215
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @riva128_mmio_read(i32 noundef %8, ptr noundef %9)
%11 = shl i32 %10, 0
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
%14 = load ptr, ptr %4, align 8
%15 = call i32 @riva128_mmio_read(i32 noundef %13, ptr noundef %14)
%16 = shl i32 %15, 8
%17 = or i32 %11, %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 2
%20 = load ptr, ptr %4, align 8
%21 = call i32 @riva128_mmio_read(i32 noundef %19, ptr noundef %20)
%22 = shl i32 %21, 16
%23 = or i32 %17, %22
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 3
%26 = load ptr, ptr %4, align 8
%27 = call i32 @riva128_mmio_read(i32 noundef %25, ptr noundef %26)
%28 = shl i32 %27, 24
%29 = or i32 %23, %28
ret i32 %29
}
declare i32 @riva128_mmio_read(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/tmpl057jf63.c'
source_filename = "/tmp/tmpl057jf63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_strfjoinnchar(ptr noundef %0, i32 noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i8 %2, ptr %6, align 1
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i8, ptr %6, align 1
%11 = call ptr @ft_strjoinnchar(ptr noundef %8, i32 noundef %9, i8 noundef signext %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @free(ptr noundef %12)
%14 = load ptr, ptr %7, align 8
ret ptr %14
}
declare ptr @ft_strjoinnchar(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl057jf63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_strfjoinnchar(ptr noundef %0, i32 noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i8 %2, ptr %6, align 1
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i8, ptr %6, align 1
%11 = call ptr @ft_strjoinnchar(ptr noundef %8, i32 noundef %9, i8 noundef signext %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @free(ptr noundef %12)
%14 = load ptr, ptr %7, align 8
ret ptr %14
}
declare ptr @ft_strjoinnchar(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_a2g6d3.c'
source_filename = "/tmp/tmp4_a2g6d3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_alphaN_table(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @bilinear_interpolation(double noundef %5, double noundef %6)
ret double %7
}
declare double @bilinear_interpolation(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_a2g6d3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_alphaN_table(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @bilinear_interpolation(double noundef %5, double noundef %6)
ret double %7
}
declare double @bilinear_interpolation(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd9hre_si.c'
source_filename = "/tmp/tmpd9hre_si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_bitstream(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/tmpd9hre_si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_bitstream(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/tmpbesujr33.c'
source_filename = "/tmp/tmpbesujr33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"==> \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c" <==\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfn(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %2
br label %8
8: ; preds = %7
%9 = load i32, ptr @STDOUT_FILENO, align 4
%10 = call i64 @write(i32 noundef %9, ptr noundef @.str, i32 noundef 1)
%11 = icmp ne i64 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @oerr()
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15, %2
br label %17
17: ; preds = %16
%18 = load i32, ptr @STDOUT_FILENO, align 4
%19 = call i64 @write(i32 noundef %18, ptr noundef @.str.1, i32 noundef 4)
%20 = icmp ne i64 %19, 4
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 (...) @oerr()
br label %23
23: ; preds = %21, %17
br label %24
24: ; preds = %23
br label %25
25: ; preds = %24
%26 = load i32, ptr @STDOUT_FILENO, align 4
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = call i64 @write(i32 noundef %26, ptr noundef %27, i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = sext i32 %32 to i64
%34 = icmp ne i64 %30, %33
br i1 %34, label %35, label %37
35: ; preds = %25
%36 = call i32 (...) @oerr()
br label %37
37: ; preds = %35, %25
br label %38
38: ; preds = %37
br label %39
39: ; preds = %38
%40 = load i32, ptr @STDOUT_FILENO, align 4
%41 = call i64 @write(i32 noundef %40, ptr noundef @.str.2, i32 noundef 5)
%42 = icmp ne i64 %41, 5
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 (...) @oerr()
br label %45
45: ; preds = %43, %39
br label %46
46: ; preds = %45
ret void
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @oerr(...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbesujr33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"==> \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c" <==\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfn(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %2
br label %8
8: ; preds = %7
%9 = load i32, ptr @STDOUT_FILENO, align 4
%10 = call i64 @write(i32 noundef %9, ptr noundef @.str, i32 noundef 1)
%11 = icmp ne i64 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @oerr()
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15, %2
br label %17
17: ; preds = %16
%18 = load i32, ptr @STDOUT_FILENO, align 4
%19 = call i64 @write(i32 noundef %18, ptr noundef @.str.1, i32 noundef 4)
%20 = icmp ne i64 %19, 4
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 (...) @oerr()
br label %23
23: ; preds = %21, %17
br label %24
24: ; preds = %23
br label %25
25: ; preds = %24
%26 = load i32, ptr @STDOUT_FILENO, align 4
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = call i64 @write(i32 noundef %26, ptr noundef %27, i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = sext i32 %32 to i64
%34 = icmp ne i64 %30, %33
br i1 %34, label %35, label %37
35: ; preds = %25
%36 = call i32 (...) @oerr()
br label %37
37: ; preds = %35, %25
br label %38
38: ; preds = %37
br label %39
39: ; preds = %38
%40 = load i32, ptr @STDOUT_FILENO, align 4
%41 = call i64 @write(i32 noundef %40, ptr noundef @.str.2, i32 noundef 5)
%42 = icmp ne i64 %41, 5
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 (...) @oerr()
br label %45
45: ; preds = %43, %39
br label %46
46: ; preds = %45
ret void
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @oerr(...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp56bfq6zp.c'
source_filename = "/tmp/tmp56bfq6zp.c"
target datalayout = "e-m:e-p270: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/tmp56bfq6zp.c"
target datalayout = "e-m:e-p270: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/tmp7yiwwk3w.c'
source_filename = "/tmp/tmp7yiwwk3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Ana deve seguir o caminho: A, D, B e E\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Ana deve seguir o caminho: A, C e E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %8, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.1)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.2)
br label %17
17: ; preds = %15, %13
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7yiwwk3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Ana deve seguir o caminho: A, D, B e E\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Ana deve seguir o caminho: A, C e E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %8, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.1)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.2)
br label %17
17: ; preds = %15, %13
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8dovpzd7.c'
source_filename = "/tmp/tmp8dovpzd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 1 for C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x43() #0 {
%1 = call i32 @isxdigit(i32 noundef 67) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 340, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8dovpzd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 1 for C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x43() #0 {
%1 = call i32 @isxdigit(i32 noundef 67) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 340, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuc1i4d40.c'
source_filename = "/tmp/tmpuc1i4d40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_little_endian() #0 {
%1 = alloca %union.anon, align 4
store i32 1, ptr %1, align 4
%2 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
%3 = load i8, ptr %2, align 4
%4 = sext i8 %3 to i32
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuc1i4d40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_little_endian() #0 {
%1 = alloca %union.anon, align 4
store i32 1, ptr %1, align 4
%2 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
%3 = load i8, ptr %2, align 4
%4 = sext i8 %3 to i32
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy8pkofhp.c'
source_filename = "/tmp/tmpy8pkofhp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isVisible(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 46
br label %14
14: ; preds = %8, %1
%15 = phi i1 [ false, %1 ], [ %13, %8 ]
%16 = zext i1 %15 to i32
ret i32 %16
}
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/tmpy8pkofhp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isVisible(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 46
br label %14
14: ; preds = %8, %1
%15 = phi i1 [ false, %1 ], [ %13, %8 ]
%16 = zext i1 %15 to i32
ret i32 %16
}
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/tmpuyekqjrz.c'
source_filename = "/tmp/tmpuyekqjrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HAL_EEPROM_Length() #0 {
ret i64 512
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuyekqjrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HAL_EEPROM_Length() #0 {
ret i64 512
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvpis6yar.c'
source_filename = "/tmp/tmpvpis6yar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TestC() #0 {
%1 = alloca i32, align 4
store i32 8192, ptr %1, align 4
br label %2
2: ; preds = %0, %2
%3 = call i32 @milli_delay(i32 noundef 10)
br label %2
}
declare i32 @milli_delay(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/tmpvpis6yar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TestC() #0 {
%1 = alloca i32, align 4
store i32 8192, ptr %1, align 4
br label %2
2: ; preds = %2, %0
%3 = call i32 @milli_delay(i32 noundef 10)
br label %2
}
declare i32 @milli_delay(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/tmpl6c5cb8h.c'
source_filename = "/tmp/tmpl6c5cb8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"And if one green bottle should accidently fall,\0AThere'd be \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %16
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @sing(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @sing(i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str)
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = call i32 @sing(i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str.1)
br label %3, !llvm.loop !6
16: ; preds = %3
ret i32 0
}
declare i32 @sing(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl6c5cb8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"And if one green bottle should accidently fall,\0AThere'd be \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load i32, ptr %2, align 4
%7 = call i32 @sing(i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @sing(i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = call i32 @sing(i32 noundef %12)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %17
17: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @sing(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfqjeqbhv.c'
source_filename = "/tmp/tmpfqjeqbhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@i2d_RSAPrivateKey = dso_local global i64 0, align 8
@PEM_STRING_RSA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PEM_write_bio_RSAPrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = load i64, ptr @i2d_RSAPrivateKey, align 8
%16 = inttoptr i64 %15 to ptr
%17 = load i32, ptr @PEM_STRING_RSA, align 4
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %9, align 8
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %11, align 8
%22 = load i32, ptr %12, align 4
%23 = load ptr, ptr %13, align 8
%24 = load ptr, ptr %14, align 8
%25 = call i32 @PEM_ASN1_write_bio(ptr noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef %24)
ret i32 %25
}
declare i32 @PEM_ASN1_write_bio(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpfqjeqbhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@i2d_RSAPrivateKey = dso_local global i64 0, align 8
@PEM_STRING_RSA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PEM_write_bio_RSAPrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = load i64, ptr @i2d_RSAPrivateKey, align 8
%16 = inttoptr i64 %15 to ptr
%17 = load i32, ptr @PEM_STRING_RSA, align 4
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %9, align 8
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %11, align 8
%22 = load i32, ptr %12, align 4
%23 = load ptr, ptr %13, align 8
%24 = load ptr, ptr %14, align 8
%25 = call i32 @PEM_ASN1_write_bio(ptr noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef %23, ptr noundef %24)
ret i32 %25
}
declare i32 @PEM_ASN1_write_bio(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpadz1yky7.c'
source_filename = "/tmp/tmpadz1yky7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@SIGEV_SIGNAL = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadz1yky7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@SIGEV_SIGNAL = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppd973wh_.c'
source_filename = "/tmp/tmppd973wh_.c"
target datalayout = "e-m:e-p270: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/tmppd973wh_.c"
target datalayout = "e-m:e-p270: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/tmpvhsg2flr.c'
source_filename = "/tmp/tmpvhsg2flr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osys_unlink(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvhsg2flr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osys_unlink(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 @remove(ptr noundef %3)
ret i32 %4
}
declare i32 @remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3cyfi4pq.c'
source_filename = "/tmp/tmp3cyfi4pq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getmyip.ip = internal global [4 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getmyip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @Malloc(i32 noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strtok(ptr noundef %10, ptr noundef @.str)
%12 = call signext i8 @atoi(i32 noundef %11)
store i8 %12, ptr @getmyip.ip, align 1
%13 = call i32 @strtok(ptr noundef null, ptr noundef @.str)
%14 = call signext i8 @atoi(i32 noundef %13)
store i8 %14, ptr getelementptr inbounds ([4 x i8], ptr @getmyip.ip, i64 0, i64 1), align 1
%15 = call i32 @strtok(ptr noundef null, ptr noundef @.str)
%16 = call signext i8 @atoi(i32 noundef %15)
store i8 %16, ptr getelementptr inbounds ([4 x i8], ptr @getmyip.ip, i64 0, i64 2), align 1
%17 = call i32 @strtok(ptr noundef null, ptr noundef @.str)
%18 = call signext i8 @atoi(i32 noundef %17)
store i8 %18, ptr getelementptr inbounds ([4 x i8], ptr @getmyip.ip, i64 0, i64 3), align 1
%19 = load ptr, ptr %3, align 8
%20 = call i32 @Free(ptr noundef %19, i32 noundef 8)
ret ptr @getmyip.ip
}
declare ptr @Malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare signext i8 @atoi(i32 noundef) #1
declare i32 @strtok(ptr noundef, ptr noundef) #1
declare i32 @Free(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3cyfi4pq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getmyip.ip = internal global [4 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getmyip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @Malloc(i32 noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strtok(ptr noundef %10, ptr noundef @.str)
%12 = call signext i8 @atoi(i32 noundef %11)
store i8 %12, ptr @getmyip.ip, align 1
%13 = call i32 @strtok(ptr noundef null, ptr noundef @.str)
%14 = call signext i8 @atoi(i32 noundef %13)
store i8 %14, ptr getelementptr inbounds ([4 x i8], ptr @getmyip.ip, i64 0, i64 1), align 1
%15 = call i32 @strtok(ptr noundef null, ptr noundef @.str)
%16 = call signext i8 @atoi(i32 noundef %15)
store i8 %16, ptr getelementptr inbounds ([4 x i8], ptr @getmyip.ip, i64 0, i64 2), align 1
%17 = call i32 @strtok(ptr noundef null, ptr noundef @.str)
%18 = call signext i8 @atoi(i32 noundef %17)
store i8 %18, ptr getelementptr inbounds ([4 x i8], ptr @getmyip.ip, i64 0, i64 3), align 1
%19 = load ptr, ptr %3, align 8
%20 = call i32 @Free(ptr noundef %19, i32 noundef 8)
ret ptr @getmyip.ip
}
declare ptr @Malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare signext i8 @atoi(i32 noundef) #1
declare i32 @strtok(ptr noundef, ptr noundef) #1
declare i32 @Free(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkm0mv_xf.c'
source_filename = "/tmp/tmpkm0mv_xf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [200002 x i8], align 16
%4 = alloca [200002 x i8], align 16
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %14
14: ; preds = %130, %0
%15 = load i64, ptr %2, align 8
%16 = add nsw i64 %15, -1
store i64 %16, ptr %2, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %18, label %131
18: ; preds = %14
store i64 0, ptr %5, align 8
store i64 1, ptr %6, align 8
store i64 -1, ptr %7, align 8
store i64 -1, ptr %8, align 8
store i32 0, ptr %12, align 4
%19 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 0
%20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %19)
%21 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 0
%22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21)
%23 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 0
%24 = call i64 @strlen(ptr noundef %23)
store i64 %24, ptr %10, align 8
%25 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 0
%26 = call i64 @strlen(ptr noundef %25)
store i64 %26, ptr %9, align 8
store i64 0, ptr %11, align 8
br label %27
27: ; preds = %40, %18
%28 = load i64, ptr %11, align 8
%29 = load i64, ptr %9, align 8
%30 = icmp slt i64 %28, %29
br i1 %30, label %31, label %43
31: ; preds = %27
%32 = load i64, ptr %11, align 8
%33 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 35
br i1 %36, label %37, label %39
37: ; preds = %31
%38 = load i64, ptr %11, align 8
store i64 %38, ptr %7, align 8
br label %43
39: ; preds = %31
br label %40
40: ; preds = %39
%41 = load i64, ptr %11, align 8
%42 = add nsw i64 %41, 1
store i64 %42, ptr %11, align 8
br label %27, !llvm.loop !6
43: ; preds = %37, %27
store i64 0, ptr %11, align 8
br label %44
44: ; preds = %57, %43
%45 = load i64, ptr %11, align 8
%46 = load i64, ptr %9, align 8
%47 = icmp slt i64 %45, %46
br i1 %47, label %48, label %60
48: ; preds = %44
%49 = load i64, ptr %11, align 8
%50 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 35
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = load i64, ptr %11, align 8
store i64 %55, ptr %8, align 8
br label %60
56: ; preds = %48
br label %57
57: ; preds = %56
%58 = load i64, ptr %11, align 8
%59 = add nsw i64 %58, 1
store i64 %59, ptr %11, align 8
br label %44, !llvm.loop !8
60: ; preds = %54, %44
%61 = load i64, ptr %7, align 8
%62 = icmp eq i64 %61, -1
br i1 %62, label %66, label %63
63: ; preds = %60
%64 = load i64, ptr %8, align 8
%65 = icmp eq i64 %64, -1
br i1 %65, label %66, label %67
66: ; preds = %63, %60
store i64 0, ptr %5, align 8
br label %121
67: ; preds = %63
%68 = load i64, ptr %7, align 8
%69 = load i64, ptr %8, align 8
%70 = icmp slt i64 %68, %69
br i1 %70, label %71, label %72
71: ; preds = %67
store i64 2, ptr %6, align 8
br label %72
72: ; preds = %71, %67
store i64 0, ptr %11, align 8
br label %73
73: ; preds = %117, %72
%74 = load i64, ptr %11, align 8
%75 = load i64, ptr %9, align 8
%76 = icmp slt i64 %74, %75
br i1 %76, label %77, label %120
77: ; preds = %73
%78 = load i64, ptr %11, align 8
%79 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 35
br i1 %82, label %83, label %92
83: ; preds = %77
%84 = load i64, ptr %11, align 8
%85 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 35
br i1 %88, label %89, label %92
89: ; preds = %83
%90 = load i32, ptr %12, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %12, align 4
br label %120
92: ; preds = %83, %77
%93 = load i64, ptr %6, align 8
%94 = icmp eq i64 %93, 1
br i1 %94, label %95, label %105
95: ; preds = %92
%96 = load i64, ptr %11, align 8
%97 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 %96
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 35
br i1 %100, label %101, label %104
101: ; preds = %95
store i64 2, ptr %6, align 8
%102 = load i64, ptr %5, align 8
%103 = add nsw i64 %102, 1
store i64 %103, ptr %5, align 8
br label %104
104: ; preds = %101, %95
br label %115
105: ; preds = %92
%106 = load i64, ptr %11, align 8
%107 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 35
br i1 %110, label %111, label %114
111: ; preds = %105
%112 = load i64, ptr %5, align 8
%113 = add nsw i64 %112, 1
store i64 %113, ptr %5, align 8
store i64 1, ptr %6, align 8
br label %114
114: ; preds = %111, %105
br label %115
115: ; preds = %114, %104
br label %116
116: ; preds = %115
br label %117
117: ; preds = %116
%118 = load i64, ptr %11, align 8
%119 = add nsw i64 %118, 1
store i64 %119, ptr %11, align 8
br label %73, !llvm.loop !9
120: ; preds = %89, %73
br label %121
121: ; preds = %120, %66
%122 = load i32, ptr %12, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %126
124: ; preds = %121
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %130
126: ; preds = %121
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%128 = load i64, ptr %5, align 8
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %128)
br label %130
130: ; preds = %126, %124
br label %14, !llvm.loop !10
131: ; preds = %14
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkm0mv_xf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [200002 x i8], align 16
%4 = alloca [200002 x i8], align 16
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%14 = load i64, ptr %2, align 8
%15 = add nsw i64 %14, -1
store i64 %15, ptr %2, align 8
%16 = icmp ne i64 %14, 0
br i1 %16, label %.lr.ph5, label %139
.lr.ph5: ; preds = %0
br label %17
17: ; preds = %.lr.ph5, %135
store i64 0, ptr %5, align 8
store i64 1, ptr %6, align 8
store i64 -1, ptr %7, align 8
store i64 -1, ptr %8, align 8
store i32 0, ptr %12, align 4
%18 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 0
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %18)
%20 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 0
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %20)
%22 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 0
%23 = call i64 @strlen(ptr noundef %22)
store i64 %23, ptr %10, align 8
%24 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 0
%25 = call i64 @strlen(ptr noundef %24)
store i64 %25, ptr %9, align 8
store i64 0, ptr %11, align 8
%26 = load i64, ptr %11, align 8
%27 = load i64, ptr %9, align 8
%28 = icmp slt i64 %26, %27
br i1 %28, label %.lr.ph, label %.loopexit2
.lr.ph: ; preds = %17
br label %29
29: ; preds = %.lr.ph, %38
%30 = load i64, ptr %11, align 8
%31 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 35
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = load i64, ptr %11, align 8
store i64 %36, ptr %7, align 8
br label %44
37: ; preds = %29
br label %38
38: ; preds = %37
%39 = load i64, ptr %11, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %11, align 8
%41 = load i64, ptr %11, align 8
%42 = load i64, ptr %9, align 8
%43 = icmp slt i64 %41, %42
br i1 %43, label %29, label %..loopexit2_crit_edge, !llvm.loop !6
..loopexit2_crit_edge: ; preds = %38
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %17
br label %44
44: ; preds = %.loopexit2, %35
store i64 0, ptr %11, align 8
%45 = load i64, ptr %11, align 8
%46 = load i64, ptr %9, align 8
%47 = icmp slt i64 %45, %46
br i1 %47, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %44
br label %48
48: ; preds = %.lr.ph3, %57
%49 = load i64, ptr %11, align 8
%50 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 35
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = load i64, ptr %11, align 8
store i64 %55, ptr %8, align 8
br label %63
56: ; preds = %48
br label %57
57: ; preds = %56
%58 = load i64, ptr %11, align 8
%59 = add nsw i64 %58, 1
store i64 %59, ptr %11, align 8
%60 = load i64, ptr %11, align 8
%61 = load i64, ptr %9, align 8
%62 = icmp slt i64 %60, %61
br i1 %62, label %48, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %57
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %44
br label %63
63: ; preds = %.loopexit1, %54
%64 = load i64, ptr %7, align 8
%65 = icmp eq i64 %64, -1
br i1 %65, label %69, label %66
66: ; preds = %63
%67 = load i64, ptr %8, align 8
%68 = icmp eq i64 %67, -1
br i1 %68, label %69, label %70
69: ; preds = %66, %63
store i64 0, ptr %5, align 8
br label %126
70: ; preds = %66
%71 = load i64, ptr %7, align 8
%72 = load i64, ptr %8, align 8
%73 = icmp slt i64 %71, %72
br i1 %73, label %74, label %75
74: ; preds = %70
store i64 2, ptr %6, align 8
br label %75
75: ; preds = %74, %70
store i64 0, ptr %11, align 8
%76 = load i64, ptr %11, align 8
%77 = load i64, ptr %9, align 8
%78 = icmp slt i64 %76, %77
br i1 %78, label %.lr.ph4, label %.loopexit
.lr.ph4: ; preds = %75
br label %79
79: ; preds = %.lr.ph4, %119
%80 = load i64, ptr %11, align 8
%81 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 35
br i1 %84, label %85, label %94
85: ; preds = %79
%86 = load i64, ptr %11, align 8
%87 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 35
br i1 %90, label %91, label %94
91: ; preds = %85
%92 = load i32, ptr %12, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %12, align 4
br label %125
94: ; preds = %85, %79
%95 = load i64, ptr %6, align 8
%96 = icmp eq i64 %95, 1
br i1 %96, label %97, label %107
97: ; preds = %94
%98 = load i64, ptr %11, align 8
%99 = getelementptr inbounds [200002 x i8], ptr %3, i64 0, i64 %98
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 35
br i1 %102, label %103, label %106
103: ; preds = %97
store i64 2, ptr %6, align 8
%104 = load i64, ptr %5, align 8
%105 = add nsw i64 %104, 1
store i64 %105, ptr %5, align 8
br label %106
106: ; preds = %103, %97
br label %117
107: ; preds = %94
%108 = load i64, ptr %11, align 8
%109 = getelementptr inbounds [200002 x i8], ptr %4, i64 0, i64 %108
%110 = load i8, ptr %109, align 1
%111 = sext i8 %110 to i32
%112 = icmp eq i32 %111, 35
br i1 %112, label %113, label %116
113: ; preds = %107
%114 = load i64, ptr %5, align 8
%115 = add nsw i64 %114, 1
store i64 %115, ptr %5, align 8
store i64 1, ptr %6, align 8
br label %116
116: ; preds = %113, %107
br label %117
117: ; preds = %116, %106
br label %118
118: ; preds = %117
br label %119
119: ; preds = %118
%120 = load i64, ptr %11, align 8
%121 = add nsw i64 %120, 1
store i64 %121, ptr %11, align 8
%122 = load i64, ptr %11, align 8
%123 = load i64, ptr %9, align 8
%124 = icmp slt i64 %122, %123
br i1 %124, label %79, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %119
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %75
br label %125
125: ; preds = %.loopexit, %91
br label %126
126: ; preds = %125, %69
%127 = load i32, ptr %12, align 4
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %131
129: ; preds = %126
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %135
131: ; preds = %126
%132 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%133 = load i64, ptr %5, align 8
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %133)
br label %135
135: ; preds = %131, %129
%136 = load i64, ptr %2, align 8
%137 = add nsw i64 %136, -1
store i64 %137, ptr %2, align 8
%138 = icmp ne i64 %136, 0
br i1 %138, label %17, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %135
br label %139
139: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpvmdr6vw4.c'
source_filename = "/tmp/tmpvmdr6vw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Error %d on posix_openpt()\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Error %d on grantpt()\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Error %d on unlockpt()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openpt() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @O_RDWR, align 4
%4 = call i32 @posix_openpt(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr @errno, align 4
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9)
store i32 -1, ptr %1, align 4
br label %29
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = call i64 @grantpt(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr @errno, align 4
%18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, i32 noundef %17)
store i32 -1, ptr %1, align 4
br label %29
19: ; preds = %11
%20 = load i32, ptr %2, align 4
%21 = call i64 @unlockpt(i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, ptr @stderr, align 4
%25 = load i32, ptr @errno, align 4
%26 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.2, i32 noundef %25)
store i32 -1, ptr %1, align 4
br label %29
27: ; preds = %19
%28 = load i32, ptr %2, align 4
store i32 %28, ptr %1, align 4
br label %29
29: ; preds = %27, %23, %15, %7
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @posix_openpt(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @grantpt(i32 noundef) #1
declare i64 @unlockpt(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/tmpvmdr6vw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Error %d on posix_openpt()\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Error %d on grantpt()\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Error %d on unlockpt()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openpt() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @O_RDWR, align 4
%4 = call i32 @posix_openpt(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr @errno, align 4
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9)
store i32 -1, ptr %1, align 4
br label %29
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = call i64 @grantpt(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4
%17 = load i32, ptr @errno, align 4
%18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, i32 noundef %17)
store i32 -1, ptr %1, align 4
br label %29
19: ; preds = %11
%20 = load i32, ptr %2, align 4
%21 = call i64 @unlockpt(i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, ptr @stderr, align 4
%25 = load i32, ptr @errno, align 4
%26 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.2, i32 noundef %25)
store i32 -1, ptr %1, align 4
br label %29
27: ; preds = %19
%28 = load i32, ptr %2, align 4
store i32 %28, ptr %1, align 4
br label %29
29: ; preds = %27, %23, %15, %7
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @posix_openpt(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @grantpt(i32 noundef) #1
declare i64 @unlockpt(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/tmpvi51dzt4.c'
source_filename = "/tmp/tmpvi51dzt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter number of lines: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Wrong input!\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\0A\0A\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"\0A\0A**** Memory Error! ****\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c" %d \00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c" %d \00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c" %d \00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c" %d \00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c" %d \00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c" %d \00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %110
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %105, %13
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %108
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 9, %20
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %27, %19
%23 = load i32, ptr %4, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %27
27: ; preds = %25
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %4, align 4
br label %22, !llvm.loop !6
30: ; preds = %22
store i32 0, ptr %5, align 4
br label %31
31: ; preds = %100, %30
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %103
35: ; preds = %31
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %5, align 4
%38 = call i64 @num(i32 noundef %36, i32 noundef %37)
store i64 %38, ptr %6, align 8
%39 = load i64, ptr %6, align 8
%40 = icmp slt i64 %39, 1
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
br label %110
43: ; preds = %35
%44 = load i64, ptr %6, align 8
%45 = icmp slt i64 %44, 10
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load i64, ptr %6, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %47)
br label %98
49: ; preds = %43
%50 = load i64, ptr %6, align 8
%51 = icmp slt i64 %50, 100
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = load i64, ptr %6, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %53)
br label %97
55: ; preds = %49
%56 = load i64, ptr %6, align 8
%57 = icmp slt i64 %56, 1000
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = load i64, ptr %6, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %59)
br label %96
61: ; preds = %55
%62 = load i64, ptr %6, align 8
%63 = icmp slt i64 %62, 10000
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = load i64, ptr %6, align 8
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %65)
br label %95
67: ; preds = %61
%68 = load i64, ptr %6, align 8
%69 = icmp slt i64 %68, 100000
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = load i64, ptr %6, align 8
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %71)
br label %94
73: ; preds = %67
%74 = load i64, ptr %6, align 8
%75 = icmp slt i64 %74, 1000000
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = load i64, ptr %6, align 8
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %77)
br label %93
79: ; preds = %73
%80 = load i64, ptr %6, align 8
%81 = icmp slt i64 %80, 10000000
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = load i64, ptr %6, align 8
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %83)
br label %92
85: ; preds = %79
%86 = load i64, ptr %6, align 8
%87 = icmp sge i64 %86, 10000000
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = load i64, ptr %6, align 8
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %89)
br label %91
91: ; preds = %88, %85
br label %92
92: ; preds = %91, %82
br label %93
93: ; preds = %92, %76
br label %94
94: ; preds = %93, %70
br label %95
95: ; preds = %94, %64
br label %96
96: ; preds = %95, %58
br label %97
97: ; preds = %96, %52
br label %98
98: ; preds = %97, %46
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = load i32, ptr %5, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %5, align 4
br label %31, !llvm.loop !8
103: ; preds = %31
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %105
105: ; preds = %103
%106 = load i32, ptr %3, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %3, align 4
br label %15, !llvm.loop !9
108: ; preds = %15
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %110
110: ; preds = %108, %41, %11
%111 = load i32, ptr %1, align 4
ret i32 %111
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @num(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvi51dzt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter number of lines: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Wrong input!\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\0A\0A\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"\0A\0A**** Memory Error! ****\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c" %d \00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c" %d \00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c" %d \00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c" %d \00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c" %d \00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c" %d \00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %115
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph5, label %113
.lr.ph5: ; preds = %13
br label %18
18: ; preds = %.lr.ph5, %107
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 9, %19
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %.lr.ph, label %30
.lr.ph: ; preds = %18
br label %23
23: ; preds = %.lr.ph, %25
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %25
25: ; preds = %23
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %18
store i32 0, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph2, label %105
.lr.ph2: ; preds = %30
br label %34
34: ; preds = %.lr.ph2, %99
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %5, align 4
%37 = call i64 @num(i32 noundef %35, i32 noundef %36)
store i64 %37, ptr %6, align 8
%38 = load i64, ptr %6, align 8
%39 = icmp slt i64 %38, 1
br i1 %39, label %40, label %42
40: ; preds = %34
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
br label %115
42: ; preds = %34
%43 = load i64, ptr %6, align 8
%44 = icmp slt i64 %43, 10
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i64, ptr %6, align 8
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %46)
br label %97
48: ; preds = %42
%49 = load i64, ptr %6, align 8
%50 = icmp slt i64 %49, 100
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i64, ptr %6, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %52)
br label %96
54: ; preds = %48
%55 = load i64, ptr %6, align 8
%56 = icmp slt i64 %55, 1000
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i64, ptr %6, align 8
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %58)
br label %95
60: ; preds = %54
%61 = load i64, ptr %6, align 8
%62 = icmp slt i64 %61, 10000
br i1 %62, label %63, label %66
63: ; preds = %60
%64 = load i64, ptr %6, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %64)
br label %94
66: ; preds = %60
%67 = load i64, ptr %6, align 8
%68 = icmp slt i64 %67, 100000
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load i64, ptr %6, align 8
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %70)
br label %93
72: ; preds = %66
%73 = load i64, ptr %6, align 8
%74 = icmp slt i64 %73, 1000000
br i1 %74, label %75, label %78
75: ; preds = %72
%76 = load i64, ptr %6, align 8
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %76)
br label %92
78: ; preds = %72
%79 = load i64, ptr %6, align 8
%80 = icmp slt i64 %79, 10000000
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = load i64, ptr %6, align 8
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %82)
br label %91
84: ; preds = %78
%85 = load i64, ptr %6, align 8
%86 = icmp sge i64 %85, 10000000
br i1 %86, label %87, label %90
87: ; preds = %84
%88 = load i64, ptr %6, align 8
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %88)
br label %90
90: ; preds = %87, %84
br label %91
91: ; preds = %90, %81
br label %92
92: ; preds = %91, %75
br label %93
93: ; preds = %92, %69
br label %94
94: ; preds = %93, %63
br label %95
95: ; preds = %94, %57
br label %96
96: ; preds = %95, %51
br label %97
97: ; preds = %96, %45
br label %98
98: ; preds = %97
br label %99
99: ; preds = %98
%100 = load i32, ptr %5, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %5, align 4
%102 = load i32, ptr %5, align 4
%103 = load i32, ptr %3, align 4
%104 = icmp sle i32 %102, %103
br i1 %104, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %99
br label %105
105: ; preds = %._crit_edge3, %30
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %107
107: ; preds = %105
%108 = load i32, ptr %3, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %3, align 4
%110 = load i32, ptr %3, align 4
%111 = load i32, ptr %2, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %18, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %107
br label %113
113: ; preds = %._crit_edge6, %13
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %1, align 4
br label %115
115: ; preds = %113, %40, %11
%116 = load i32, ptr %1, align 4
ret i32 %116
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @num(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp69etyxyz.c'
source_filename = "/tmp/tmp69etyxyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @duda_utils_strtol(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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %8, align 8
store i32 0, ptr %12, align 4
store i32 10, ptr %15, align 4
%17 = load ptr, ptr %8, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %8, align 8
%19 = load i8, ptr %17, align 1
%20 = sext i8 %19 to i32
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp eq i32 %21, 45
br i1 %22, label %23, label %28
23: ; preds = %3
store i32 1, ptr %12, align 4
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %8, align 8
%26 = load i8, ptr %24, align 1
%27 = sext i8 %26 to i32
store i32 %27, ptr %10, align 4
br label %37
28: ; preds = %3
%29 = load i32, ptr %10, align 4
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load i8, ptr %32, align 1
%35 = sext i8 %34 to i32
store i32 %35, ptr %10, align 4
br label %36
36: ; preds = %31, %28
br label %37
37: ; preds = %36, %23
%38 = load i32, ptr %12, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i64, ptr @LONG_MIN, align 8
%42 = sub i64 0, %41
br label %45
43: ; preds = %37
%44 = load i64, ptr @LONG_MAX, align 8
br label %45
45: ; preds = %43, %40
%46 = phi i64 [ %42, %40 ], [ %44, %43 ]
store i64 %46, ptr %11, align 8
%47 = load i64, ptr %11, align 8
%48 = load i32, ptr %15, align 4
%49 = sext i32 %48 to i64
%50 = urem i64 %47, %49
%51 = trunc i64 %50 to i32
store i32 %51, ptr %14, align 4
%52 = load i32, ptr %15, align 4
%53 = sext i32 %52 to i64
%54 = load i64, ptr %11, align 8
%55 = udiv i64 %54, %53
store i64 %55, ptr %11, align 8
store i64 0, ptr %9, align 8
store i32 0, ptr %13, align 4
br label %56
56: ; preds = %104, %45
%57 = load ptr, ptr %8, align 8
%58 = load ptr, ptr %5, align 8
%59 = ptrtoint ptr %57 to i64
%60 = ptrtoint ptr %58 to i64
%61 = sub i64 %59, %60
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = icmp sle i64 %61, %63
br i1 %64, label %65, label %109
65: ; preds = %56
%66 = load i32, ptr %10, align 4
%67 = call i64 @isdigit(i32 noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %65
%70 = load i32, ptr %10, align 4
%71 = sub nsw i32 %70, 48
store i32 %71, ptr %10, align 4
br label %73
72: ; preds = %65
store i32 -1, ptr %13, align 4
br label %109
73: ; preds = %69
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %15, align 4
%76 = icmp sge i32 %74, %75
br i1 %76, label %77, label %78
77: ; preds = %73
store i32 -1, ptr %13, align 4
br label %109
78: ; preds = %73
%79 = load i32, ptr %13, align 4
%80 = icmp slt i32 %79, 0
br i1 %80, label %93, label %81
81: ; preds = %78
%82 = load i64, ptr %9, align 8
%83 = load i64, ptr %11, align 8
%84 = icmp ugt i64 %82, %83
br i1 %84, label %93, label %85
85: ; preds = %81
%86 = load i64, ptr %9, align 8
%87 = load i64, ptr %11, align 8
%88 = icmp eq i64 %86, %87
br i1 %88, label %89, label %94
89: ; preds = %85
%90 = load i32, ptr %10, align 4
%91 = load i32, ptr %14, align 4
%92 = icmp sgt i32 %90, %91
br i1 %92, label %93, label %94
93: ; preds = %89, %81, %78
store i32 -1, ptr %13, align 4
br label %103
94: ; preds = %89, %85
store i32 1, ptr %13, align 4
%95 = load i32, ptr %15, align 4
%96 = sext i32 %95 to i64
%97 = load i64, ptr %9, align 8
%98 = mul i64 %97, %96
store i64 %98, ptr %9, align 8
%99 = load i32, ptr %10, align 4
%100 = sext i32 %99 to i64
%101 = load i64, ptr %9, align 8
%102 = add i64 %101, %100
store i64 %102, ptr %9, align 8
br label %103
103: ; preds = %94, %93
br label %104
104: ; preds = %103
%105 = load ptr, ptr %8, align 8
%106 = getelementptr inbounds i8, ptr %105, i32 1
store ptr %106, ptr %8, align 8
%107 = load i8, ptr %105, align 1
%108 = sext i8 %107 to i32
store i32 %108, ptr %10, align 4
br label %56, !llvm.loop !6
109: ; preds = %77, %72, %56
%110 = load i32, ptr %13, align 4
%111 = icmp slt i32 %110, 0
br i1 %111, label %112, label %114
112: ; preds = %109
%113 = load ptr, ptr %7, align 8
store i64 0, ptr %113, align 8
store i32 -1, ptr %4, align 4
br label %124
114: ; preds = %109
%115 = load i32, ptr %12, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %120
117: ; preds = %114
%118 = load i64, ptr %9, align 8
%119 = sub i64 0, %118
store i64 %119, ptr %9, align 8
br label %120
120: ; preds = %117, %114
br label %121
121: ; preds = %120
%122 = load i64, ptr %9, align 8
%123 = load ptr, ptr %7, align 8
store i64 %122, ptr %123, align 8
store i32 0, ptr %4, align 4
br label %124
124: ; preds = %121, %112
%125 = load i32, ptr %4, align 4
ret i32 %125
}
declare i64 @isdigit(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/tmp69etyxyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @duda_utils_strtol(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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %8, align 8
store i32 0, ptr %12, align 4
store i32 10, ptr %15, align 4
%17 = load ptr, ptr %8, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %8, align 8
%19 = load i8, ptr %17, align 1
%20 = sext i8 %19 to i32
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp eq i32 %21, 45
br i1 %22, label %23, label %28
23: ; preds = %3
store i32 1, ptr %12, align 4
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %8, align 8
%26 = load i8, ptr %24, align 1
%27 = sext i8 %26 to i32
store i32 %27, ptr %10, align 4
br label %37
28: ; preds = %3
%29 = load i32, ptr %10, align 4
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load i8, ptr %32, align 1
%35 = sext i8 %34 to i32
store i32 %35, ptr %10, align 4
br label %36
36: ; preds = %31, %28
br label %37
37: ; preds = %36, %23
%38 = load i32, ptr %12, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i64, ptr @LONG_MIN, align 8
%42 = sub i64 0, %41
br label %45
43: ; preds = %37
%44 = load i64, ptr @LONG_MAX, align 8
br label %45
45: ; preds = %43, %40
%46 = phi i64 [ %42, %40 ], [ %44, %43 ]
store i64 %46, ptr %11, align 8
%47 = load i64, ptr %11, align 8
%48 = load i32, ptr %15, align 4
%49 = sext i32 %48 to i64
%50 = urem i64 %47, %49
%51 = trunc i64 %50 to i32
store i32 %51, ptr %14, align 4
%52 = load i32, ptr %15, align 4
%53 = sext i32 %52 to i64
%54 = load i64, ptr %11, align 8
%55 = udiv i64 %54, %53
store i64 %55, ptr %11, align 8
store i64 0, ptr %9, align 8
store i32 0, ptr %13, align 4
%56 = load ptr, ptr %8, align 8
%57 = load ptr, ptr %5, align 8
%58 = ptrtoint ptr %56 to i64
%59 = ptrtoint ptr %57 to i64
%60 = sub i64 %58, %59
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = icmp sle i64 %60, %62
br i1 %63, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %45
br label %64
64: ; preds = %.lr.ph, %103
%65 = load i32, ptr %10, align 4
%66 = call i64 @isdigit(i32 noundef %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %64
%69 = load i32, ptr %10, align 4
%70 = sub nsw i32 %69, 48
store i32 %70, ptr %10, align 4
br label %72
71: ; preds = %64
store i32 -1, ptr %13, align 4
br label %116
72: ; preds = %68
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %15, align 4
%75 = icmp sge i32 %73, %74
br i1 %75, label %76, label %77
76: ; preds = %72
store i32 -1, ptr %13, align 4
br label %116
77: ; preds = %72
%78 = load i32, ptr %13, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %92, label %80
80: ; preds = %77
%81 = load i64, ptr %9, align 8
%82 = load i64, ptr %11, align 8
%83 = icmp ugt i64 %81, %82
br i1 %83, label %92, label %84
84: ; preds = %80
%85 = load i64, ptr %9, align 8
%86 = load i64, ptr %11, align 8
%87 = icmp eq i64 %85, %86
br i1 %87, label %88, label %93
88: ; preds = %84
%89 = load i32, ptr %10, align 4
%90 = load i32, ptr %14, align 4
%91 = icmp sgt i32 %89, %90
br i1 %91, label %92, label %93
92: ; preds = %88, %80, %77
store i32 -1, ptr %13, align 4
br label %102
93: ; preds = %88, %84
store i32 1, ptr %13, align 4
%94 = load i32, ptr %15, align 4
%95 = sext i32 %94 to i64
%96 = load i64, ptr %9, align 8
%97 = mul i64 %96, %95
store i64 %97, ptr %9, align 8
%98 = load i32, ptr %10, align 4
%99 = sext i32 %98 to i64
%100 = load i64, ptr %9, align 8
%101 = add i64 %100, %99
store i64 %101, ptr %9, align 8
br label %102
102: ; preds = %93, %92
br label %103
103: ; preds = %102
%104 = load ptr, ptr %8, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %8, align 8
%106 = load i8, ptr %104, align 1
%107 = sext i8 %106 to i32
store i32 %107, ptr %10, align 4
%108 = load ptr, ptr %8, align 8
%109 = load ptr, ptr %5, align 8
%110 = ptrtoint ptr %108 to i64
%111 = ptrtoint ptr %109 to i64
%112 = sub i64 %110, %111
%113 = load i32, ptr %6, align 4
%114 = sext i32 %113 to i64
%115 = icmp sle i64 %112, %114
br i1 %115, label %64, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %103
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %45
br label %116
116: ; preds = %.loopexit, %76, %71
%117 = load i32, ptr %13, align 4
%118 = icmp slt i32 %117, 0
br i1 %118, label %119, label %121
119: ; preds = %116
%120 = load ptr, ptr %7, align 8
store i64 0, ptr %120, align 8
store i32 -1, ptr %4, align 4
br label %131
121: ; preds = %116
%122 = load i32, ptr %12, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %127
124: ; preds = %121
%125 = load i64, ptr %9, align 8
%126 = sub i64 0, %125
store i64 %126, ptr %9, align 8
br label %127
127: ; preds = %124, %121
br label %128
128: ; preds = %127
%129 = load i64, ptr %9, align 8
%130 = load ptr, ptr %7, align 8
store i64 %129, ptr %130, align 8
store i32 0, ptr %4, align 4
br label %131
131: ; preds = %128, %119
%132 = load i32, ptr %4, align 4
ret i32 %132
}
declare i64 @isdigit(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/tmpej2o_si4.c'
source_filename = "/tmp/tmpej2o_si4.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"longjmp botch.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @longjmperror() #0 {
%1 = load i32, ptr @STDERR_FILENO, align 4
%2 = call i32 @_write(i32 noundef %1, ptr noundef @.str, i32 noundef 15)
ret void
}
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/tmpej2o_si4.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"longjmp botch.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @longjmperror() #0 {
%1 = load i32, ptr @STDERR_FILENO, align 4
%2 = call i32 @_write(i32 noundef %1, ptr noundef @.str, i32 noundef 15)
ret void
}
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/tmpu_djq1yk.c'
source_filename = "/tmp/tmpu_djq1yk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @a(i32 noundef 3)
%7 = call i32 @b(i32 noundef 5)
ret i32 0
}
declare i32 @a(i32 noundef) #1
declare i32 @b(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/tmpu_djq1yk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @a(i32 noundef 3)
%7 = call i32 @b(i32 noundef 5)
ret i32 0
}
declare i32 @a(i32 noundef) #1
declare i32 @b(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/tmp7ctbaohn.c'
source_filename = "/tmp/tmp7ctbaohn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Xgamm.d = internal global double 0x3FDACFE390C97D69, align 8
@Xgamm.pi = internal global double 0x400921FB54442D28, align 8
@Xgamm.r1 = internal global double 0x3F4AE500E2633B9D, align 8
@Xgamm.r2 = internal global double 0xBF438088801FB7F0, align 8
@Xgamm.r3 = internal global double 0x3F4A019FD248036A, align 8
@Xgamm.r4 = internal global double 0xBF66C16C16BEDADB, align 8
@Xgamm.r5 = internal global double 0x3FB5555555555553, align 8
@Xgamm.p = internal global [7 x double] [double 0x3F41AECE388B5520, double 0x3F657543B1BC273E, double 0x3F94F0ADC5D2DEB2, double 0x3FB2B68EC30140E8, double 0x3FD1E5C36BA08E81, double 0x3FE1B590FEF55F4A, double 1.000000e+00], align 16
@Xgamm.q = internal global [7 x double] [double 0xBF4B4B8939BBBEAD, double 0x3F7340EE530804EE, double 0x3F970FC650FF2D21, double 0xBFC5D19979416037, double 0xBFAD139D75FF82B1, double 0x3FF2170EFDB27CF9, double 1.000000e+00], align 16
@Xgamm.K2 = internal global i32 3, align 4
@Xgamm.K3 = internal global i32 0, align 4
@Xgamm.Xgamm = internal global double 0.000000e+00, align 8
@Xgamm.bot = internal global double 0.000000e+00, align 8
@Xgamm.g = internal global double 0.000000e+00, align 8
@Xgamm.lnx = internal global double 0.000000e+00, align 8
@Xgamm.s = internal global double 0.000000e+00, align 8
@Xgamm.t = internal global double 0.000000e+00, align 8
@Xgamm.top = internal global double 0.000000e+00, align 8
@Xgamm.w = internal global double 0.000000e+00, align 8
@Xgamm.x = internal global double 0.000000e+00, align 8
@Xgamm.z = internal global double 0.000000e+00, align 8
@Xgamm.i = internal global i32 0, align 4
@Xgamm.j = internal global i32 0, align 4
@Xgamm.m = internal global i32 0, align 4
@Xgamm.n = internal global i32 0, align 4
@Xgamm.T1 = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Xgamm(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store double 0.000000e+00, ptr @Xgamm.Xgamm, align 8
%4 = load ptr, ptr %3, align 8
%5 = load double, ptr %4, align 8
store double %5, ptr @Xgamm.x, align 8
%6 = load ptr, ptr %3, align 8
%7 = load double, ptr %6, align 8
%8 = call double @llvm.fabs.f64(double %7)
%9 = fcmp oge double %8, 1.500000e+01
br i1 %9, label %10, label %11
10: ; preds = %1
br label %142
11: ; preds = %1
store double 1.000000e+00, ptr @Xgamm.t, align 8
%12 = load ptr, ptr %3, align 8
%13 = load double, ptr %12, align 8
%14 = call i32 @fifidint(double noundef %13)
%15 = sub nsw i32 %14, 1
store i32 %15, ptr @Xgamm.m, align 4
%16 = load i32, ptr @Xgamm.m, align 4
store i32 %16, ptr @Xgamm.T1, align 4
%17 = load i32, ptr @Xgamm.T1, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %11
br label %43
20: ; preds = %11
%21 = load i32, ptr @Xgamm.T1, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20
br label %40
24: ; preds = %20
br label %25
25: ; preds = %24
store i32 1, ptr @Xgamm.j, align 4
br label %26
26: ; preds = %36, %25
%27 = load i32, ptr @Xgamm.j, align 4
%28 = load i32, ptr @Xgamm.m, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %30, label %39
30: ; preds = %26
%31 = load double, ptr @Xgamm.x, align 8
%32 = fsub double %31, 1.000000e+00
store double %32, ptr @Xgamm.x, align 8
%33 = load double, ptr @Xgamm.x, align 8
%34 = load double, ptr @Xgamm.t, align 8
%35 = fmul double %33, %34
store double %35, ptr @Xgamm.t, align 8
br label %36
36: ; preds = %30
%37 = load i32, ptr @Xgamm.j, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr @Xgamm.j, align 4
br label %26, !llvm.loop !6
39: ; preds = %26
br label %40
40: ; preds = %39, %23
%41 = load double, ptr @Xgamm.x, align 8
%42 = fsub double %41, 1.000000e+00
store double %42, ptr @Xgamm.x, align 8
br label %100
43: ; preds = %19
%44 = load ptr, ptr %3, align 8
%45 = load double, ptr %44, align 8
store double %45, ptr @Xgamm.t, align 8
%46 = load ptr, ptr %3, align 8
%47 = load double, ptr %46, align 8
%48 = fcmp ogt double %47, 0.000000e+00
br i1 %48, label %49, label %50
49: ; preds = %43
br label %83
50: ; preds = %43
%51 = load i32, ptr @Xgamm.m, align 4
%52 = sub nsw i32 0, %51
%53 = sub nsw i32 %52, 1
store i32 %53, ptr @Xgamm.m, align 4
%54 = load i32, ptr @Xgamm.m, align 4
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %50
br label %72
57: ; preds = %50
store i32 1, ptr @Xgamm.j, align 4
br label %58
58: ; preds = %68, %57
%59 = load i32, ptr @Xgamm.j, align 4
%60 = load i32, ptr @Xgamm.m, align 4
%61 = icmp sle i32 %59, %60
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load double, ptr @Xgamm.x, align 8
%64 = fadd double %63, 1.000000e+00
store double %64, ptr @Xgamm.x, align 8
%65 = load double, ptr @Xgamm.x, align 8
%66 = load double, ptr @Xgamm.t, align 8
%67 = fmul double %65, %66
store double %67, ptr @Xgamm.t, align 8
br label %68
68: ; preds = %62
%69 = load i32, ptr @Xgamm.j, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr @Xgamm.j, align 4
br label %58, !llvm.loop !8
71: ; preds = %58
br label %72
72: ; preds = %71, %56
%73 = load double, ptr @Xgamm.x, align 8
%74 = fadd double %73, 1.000000e+00
store double %74, ptr @Xgamm.x, align 8
%75 = load double, ptr @Xgamm.x, align 8
%76 = load double, ptr @Xgamm.t, align 8
%77 = fmul double %75, %76
store double %77, ptr @Xgamm.t, align 8
%78 = load double, ptr @Xgamm.t, align 8
%79 = fcmp oeq double %78, 0.000000e+00
br i1 %79, label %80, label %82
80: ; preds = %72
%81 = load double, ptr @Xgamm.Xgamm, align 8
store double %81, ptr %2, align 8
br label %247
82: ; preds = %72
br label %83
83: ; preds = %82, %49
%84 = load double, ptr @Xgamm.t, align 8
%85 = call double @llvm.fabs.f64(double %84)
%86 = fcmp oge double %85, 1.000000e-30
br i1 %86, label %87, label %88
87: ; preds = %83
br label %100
88: ; preds = %83
%89 = load double, ptr @Xgamm.t, align 8
%90 = call double @llvm.fabs.f64(double %89)
%91 = call double @spmpar(ptr noundef @Xgamm.K2)
%92 = fmul double %90, %91
%93 = fcmp ole double %92, 1.000100e+00
br i1 %93, label %94, label %96
94: ; preds = %88
%95 = load double, ptr @Xgamm.Xgamm, align 8
store double %95, ptr %2, align 8
br label %247
96: ; preds = %88
%97 = load double, ptr @Xgamm.t, align 8
%98 = fdiv double 1.000000e+00, %97
store double %98, ptr @Xgamm.Xgamm, align 8
%99 = load double, ptr @Xgamm.Xgamm, align 8
store double %99, ptr %2, align 8
br label %247
100: ; preds = %87, %40
%101 = load double, ptr @Xgamm.p, align 16
store double %101, ptr @Xgamm.top, align 8
%102 = load double, ptr @Xgamm.q, align 16
store double %102, ptr @Xgamm.bot, align 8
store i32 1, ptr @Xgamm.i, align 4
br label %103
103: ; preds = %121, %100
%104 = load i32, ptr @Xgamm.i, align 4
%105 = icmp slt i32 %104, 7
br i1 %105, label %106, label %124
106: ; preds = %103
%107 = load i32, ptr @Xgamm.i, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [7 x double], ptr @Xgamm.p, i64 0, i64 %108
%110 = load double, ptr %109, align 8
%111 = load double, ptr @Xgamm.x, align 8
%112 = load double, ptr @Xgamm.top, align 8
%113 = call double @llvm.fmuladd.f64(double %111, double %112, double %110)
store double %113, ptr @Xgamm.top, align 8
%114 = load i32, ptr @Xgamm.i, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [7 x double], ptr @Xgamm.q, i64 0, i64 %115
%117 = load double, ptr %116, align 8
%118 = load double, ptr @Xgamm.x, align 8
%119 = load double, ptr @Xgamm.bot, align 8
%120 = call double @llvm.fmuladd.f64(double %118, double %119, double %117)
store double %120, ptr @Xgamm.bot, align 8
br label %121
121: ; preds = %106
%122 = load i32, ptr @Xgamm.i, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr @Xgamm.i, align 4
br label %103, !llvm.loop !9
124: ; preds = %103
%125 = load double, ptr @Xgamm.top, align 8
%126 = load double, ptr @Xgamm.bot, align 8
%127 = fdiv double %125, %126
store double %127, ptr @Xgamm.Xgamm, align 8
%128 = load ptr, ptr %3, align 8
%129 = load double, ptr %128, align 8
%130 = fcmp olt double %129, 1.000000e+00
br i1 %130, label %131, label %132
131: ; preds = %124
br label %137
132: ; preds = %124
%133 = load double, ptr @Xgamm.t, align 8
%134 = load double, ptr @Xgamm.Xgamm, align 8
%135 = fmul double %134, %133
store double %135, ptr @Xgamm.Xgamm, align 8
%136 = load double, ptr @Xgamm.Xgamm, align 8
store double %136, ptr %2, align 8
br label %247
137: ; preds = %131
%138 = load double, ptr @Xgamm.t, align 8
%139 = load double, ptr @Xgamm.Xgamm, align 8
%140 = fdiv double %139, %138
store double %140, ptr @Xgamm.Xgamm, align 8
%141 = load double, ptr @Xgamm.Xgamm, align 8
store double %141, ptr %2, align 8
br label %247
142: ; preds = %10
%143 = load ptr, ptr %3, align 8
%144 = load double, ptr %143, align 8
%145 = call double @llvm.fabs.f64(double %144)
%146 = fcmp oge double %145, 1.000000e+03
br i1 %146, label %147, label %149
147: ; preds = %142
%148 = load double, ptr @Xgamm.Xgamm, align 8
store double %148, ptr %2, align 8
br label %247
149: ; preds = %142
%150 = load ptr, ptr %3, align 8
%151 = load double, ptr %150, align 8
%152 = fcmp ogt double %151, 0.000000e+00
br i1 %152, label %153, label %154
153: ; preds = %149
br label %188
154: ; preds = %149
%155 = load ptr, ptr %3, align 8
%156 = load double, ptr %155, align 8
%157 = fneg double %156
store double %157, ptr @Xgamm.x, align 8
%158 = load double, ptr @Xgamm.x, align 8
%159 = fptosi double %158 to i32
store i32 %159, ptr @Xgamm.n, align 4
%160 = load double, ptr @Xgamm.x, align 8
%161 = load i32, ptr @Xgamm.n, align 4
%162 = sitofp i32 %161 to double
%163 = fsub double %160, %162
store double %163, ptr @Xgamm.t, align 8
%164 = load double, ptr @Xgamm.t, align 8
%165 = fcmp ogt double %164, 9.000000e-01
br i1 %165, label %166, label %169
166: ; preds = %154
%167 = load double, ptr @Xgamm.t, align 8
%168 = fsub double 1.000000e+00, %167
store double %168, ptr @Xgamm.t, align 8
br label %169
169: ; preds = %166, %154
%170 = load double, ptr @Xgamm.pi, align 8
%171 = load double, ptr @Xgamm.t, align 8
%172 = fmul double %170, %171
%173 = call double @sin(double noundef %172) #4
%174 = load double, ptr @Xgamm.pi, align 8
%175 = fdiv double %173, %174
store double %175, ptr @Xgamm.s, align 8
%176 = load i32, ptr @Xgamm.n, align 4
%177 = call i64 @fifmod(i32 noundef %176, i32 noundef 2)
%178 = icmp eq i64 %177, 0
br i1 %178, label %179, label %182
179: ; preds = %169
%180 = load double, ptr @Xgamm.s, align 8
%181 = fneg double %180
store double %181, ptr @Xgamm.s, align 8
br label %182
182: ; preds = %179, %169
%183 = load double, ptr @Xgamm.s, align 8
%184 = fcmp oeq double %183, 0.000000e+00
br i1 %184, label %185, label %187
185: ; preds = %182
%186 = load double, ptr @Xgamm.Xgamm, align 8
store double %186, ptr %2, align 8
br label %247
187: ; preds = %182
br label %188
188: ; preds = %187, %153
%189 = load double, ptr @Xgamm.x, align 8
%190 = load double, ptr @Xgamm.x, align 8
%191 = fmul double %189, %190
%192 = fdiv double 1.000000e+00, %191
store double %192, ptr @Xgamm.t, align 8
%193 = load double, ptr @Xgamm.r1, align 8
%194 = load double, ptr @Xgamm.t, align 8
%195 = load double, ptr @Xgamm.r2, align 8
%196 = call double @llvm.fmuladd.f64(double %193, double %194, double %195)
%197 = load double, ptr @Xgamm.t, align 8
%198 = load double, ptr @Xgamm.r3, align 8
%199 = call double @llvm.fmuladd.f64(double %196, double %197, double %198)
%200 = load double, ptr @Xgamm.t, align 8
%201 = load double, ptr @Xgamm.r4, align 8
%202 = call double @llvm.fmuladd.f64(double %199, double %200, double %201)
%203 = load double, ptr @Xgamm.t, align 8
%204 = load double, ptr @Xgamm.r5, align 8
%205 = call double @llvm.fmuladd.f64(double %202, double %203, double %204)
%206 = load double, ptr @Xgamm.x, align 8
%207 = fdiv double %205, %206
store double %207, ptr @Xgamm.g, align 8
%208 = load double, ptr @Xgamm.x, align 8
%209 = call double @log(double noundef %208) #4
store double %209, ptr @Xgamm.lnx, align 8
%210 = load double, ptr @Xgamm.x, align 8
store double %210, ptr @Xgamm.z, align 8
%211 = load double, ptr @Xgamm.d, align 8
%212 = load double, ptr @Xgamm.g, align 8
%213 = fadd double %211, %212
%214 = load double, ptr @Xgamm.z, align 8
%215 = fsub double %214, 5.000000e-01
%216 = load double, ptr @Xgamm.lnx, align 8
%217 = fsub double %216, 1.000000e+00
%218 = call double @llvm.fmuladd.f64(double %215, double %217, double %213)
store double %218, ptr @Xgamm.g, align 8
%219 = load double, ptr @Xgamm.g, align 8
store double %219, ptr @Xgamm.w, align 8
%220 = load double, ptr @Xgamm.g, align 8
%221 = load double, ptr @Xgamm.w, align 8
%222 = fsub double %220, %221
store double %222, ptr @Xgamm.t, align 8
%223 = load double, ptr @Xgamm.w, align 8
%224 = call double @exparg(ptr noundef @Xgamm.K3)
%225 = fmul double 9.999900e-01, %224
%226 = fcmp ogt double %223, %225
br i1 %226, label %227, label %229
227: ; preds = %188
%228 = load double, ptr @Xgamm.Xgamm, align 8
store double %228, ptr %2, align 8
br label %247
229: ; preds = %188
%230 = load double, ptr @Xgamm.w, align 8
%231 = call double @exp(double noundef %230) #4
%232 = load double, ptr @Xgamm.t, align 8
%233 = fadd double 1.000000e+00, %232
%234 = fmul double %231, %233
store double %234, ptr @Xgamm.Xgamm, align 8
%235 = load ptr, ptr %3, align 8
%236 = load double, ptr %235, align 8
%237 = fcmp olt double %236, 0.000000e+00
br i1 %237, label %238, label %245
238: ; preds = %229
%239 = load double, ptr @Xgamm.Xgamm, align 8
%240 = load double, ptr @Xgamm.s, align 8
%241 = fmul double %239, %240
%242 = fdiv double 1.000000e+00, %241
%243 = load double, ptr @Xgamm.x, align 8
%244 = fdiv double %242, %243
store double %244, ptr @Xgamm.Xgamm, align 8
br label %245
245: ; preds = %238, %229
%246 = load double, ptr @Xgamm.Xgamm, align 8
store double %246, ptr %2, align 8
br label %247
247: ; preds = %245, %227, %185, %147, %137, %132, %96, %94, %80
%248 = load double, ptr %2, align 8
ret double %248
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @fifidint(double noundef) #2
declare double @spmpar(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #3
declare i64 @fifmod(i32 noundef, i32 noundef) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare double @exparg(ptr noundef) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ctbaohn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Xgamm.d = internal global double 0x3FDACFE390C97D69, align 8
@Xgamm.pi = internal global double 0x400921FB54442D28, align 8
@Xgamm.r1 = internal global double 0x3F4AE500E2633B9D, align 8
@Xgamm.r2 = internal global double 0xBF438088801FB7F0, align 8
@Xgamm.r3 = internal global double 0x3F4A019FD248036A, align 8
@Xgamm.r4 = internal global double 0xBF66C16C16BEDADB, align 8
@Xgamm.r5 = internal global double 0x3FB5555555555553, align 8
@Xgamm.p = internal global [7 x double] [double 0x3F41AECE388B5520, double 0x3F657543B1BC273E, double 0x3F94F0ADC5D2DEB2, double 0x3FB2B68EC30140E8, double 0x3FD1E5C36BA08E81, double 0x3FE1B590FEF55F4A, double 1.000000e+00], align 16
@Xgamm.q = internal global [7 x double] [double 0xBF4B4B8939BBBEAD, double 0x3F7340EE530804EE, double 0x3F970FC650FF2D21, double 0xBFC5D19979416037, double 0xBFAD139D75FF82B1, double 0x3FF2170EFDB27CF9, double 1.000000e+00], align 16
@Xgamm.K2 = internal global i32 3, align 4
@Xgamm.K3 = internal global i32 0, align 4
@Xgamm.Xgamm = internal global double 0.000000e+00, align 8
@Xgamm.bot = internal global double 0.000000e+00, align 8
@Xgamm.g = internal global double 0.000000e+00, align 8
@Xgamm.lnx = internal global double 0.000000e+00, align 8
@Xgamm.s = internal global double 0.000000e+00, align 8
@Xgamm.t = internal global double 0.000000e+00, align 8
@Xgamm.top = internal global double 0.000000e+00, align 8
@Xgamm.w = internal global double 0.000000e+00, align 8
@Xgamm.x = internal global double 0.000000e+00, align 8
@Xgamm.z = internal global double 0.000000e+00, align 8
@Xgamm.i = internal global i32 0, align 4
@Xgamm.j = internal global i32 0, align 4
@Xgamm.m = internal global i32 0, align 4
@Xgamm.n = internal global i32 0, align 4
@Xgamm.T1 = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Xgamm(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store double 0.000000e+00, ptr @Xgamm.Xgamm, align 8
%4 = load ptr, ptr %3, align 8
%5 = load double, ptr %4, align 8
store double %5, ptr @Xgamm.x, align 8
%6 = load ptr, ptr %3, align 8
%7 = load double, ptr %6, align 8
%8 = call double @llvm.fabs.f64(double %7)
%9 = fcmp oge double %8, 1.500000e+01
br i1 %9, label %10, label %11
10: ; preds = %1
br label %147
11: ; preds = %1
store double 1.000000e+00, ptr @Xgamm.t, align 8
%12 = load ptr, ptr %3, align 8
%13 = load double, ptr %12, align 8
%14 = call i32 @fifidint(double noundef %13)
%15 = sub nsw i32 %14, 1
store i32 %15, ptr @Xgamm.m, align 4
%16 = load i32, ptr @Xgamm.m, align 4
store i32 %16, ptr @Xgamm.T1, align 4
%17 = load i32, ptr @Xgamm.T1, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %11
br label %45
20: ; preds = %11
%21 = load i32, ptr @Xgamm.T1, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20
br label %42
24: ; preds = %20
br label %25
25: ; preds = %24
store i32 1, ptr @Xgamm.j, align 4
%26 = load i32, ptr @Xgamm.j, align 4
%27 = load i32, ptr @Xgamm.m, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %.lr.ph, label %41
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %35
%30 = load double, ptr @Xgamm.x, align 8
%31 = fsub double %30, 1.000000e+00
store double %31, ptr @Xgamm.x, align 8
%32 = load double, ptr @Xgamm.x, align 8
%33 = load double, ptr @Xgamm.t, align 8
%34 = fmul double %32, %33
store double %34, ptr @Xgamm.t, align 8
br label %35
35: ; preds = %29
%36 = load i32, ptr @Xgamm.j, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr @Xgamm.j, align 4
%38 = load i32, ptr @Xgamm.j, align 4
%39 = load i32, ptr @Xgamm.m, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %25
br label %42
42: ; preds = %41, %23
%43 = load double, ptr @Xgamm.x, align 8
%44 = fsub double %43, 1.000000e+00
store double %44, ptr @Xgamm.x, align 8
br label %104
45: ; preds = %19
%46 = load ptr, ptr %3, align 8
%47 = load double, ptr %46, align 8
store double %47, ptr @Xgamm.t, align 8
%48 = load ptr, ptr %3, align 8
%49 = load double, ptr %48, align 8
%50 = fcmp ogt double %49, 0.000000e+00
br i1 %50, label %51, label %52
51: ; preds = %45
br label %87
52: ; preds = %45
%53 = load i32, ptr @Xgamm.m, align 4
%54 = sub nsw i32 0, %53
%55 = sub nsw i32 %54, 1
store i32 %55, ptr @Xgamm.m, align 4
%56 = load i32, ptr @Xgamm.m, align 4
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %52
br label %76
59: ; preds = %52
store i32 1, ptr @Xgamm.j, align 4
%60 = load i32, ptr @Xgamm.j, align 4
%61 = load i32, ptr @Xgamm.m, align 4
%62 = icmp sle i32 %60, %61
br i1 %62, label %.lr.ph2, label %75
.lr.ph2: ; preds = %59
br label %63
63: ; preds = %.lr.ph2, %69
%64 = load double, ptr @Xgamm.x, align 8
%65 = fadd double %64, 1.000000e+00
store double %65, ptr @Xgamm.x, align 8
%66 = load double, ptr @Xgamm.x, align 8
%67 = load double, ptr @Xgamm.t, align 8
%68 = fmul double %66, %67
store double %68, ptr @Xgamm.t, align 8
br label %69
69: ; preds = %63
%70 = load i32, ptr @Xgamm.j, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr @Xgamm.j, align 4
%72 = load i32, ptr @Xgamm.j, align 4
%73 = load i32, ptr @Xgamm.m, align 4
%74 = icmp sle i32 %72, %73
br i1 %74, label %63, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %59
br label %76
76: ; preds = %75, %58
%77 = load double, ptr @Xgamm.x, align 8
%78 = fadd double %77, 1.000000e+00
store double %78, ptr @Xgamm.x, align 8
%79 = load double, ptr @Xgamm.x, align 8
%80 = load double, ptr @Xgamm.t, align 8
%81 = fmul double %79, %80
store double %81, ptr @Xgamm.t, align 8
%82 = load double, ptr @Xgamm.t, align 8
%83 = fcmp oeq double %82, 0.000000e+00
br i1 %83, label %84, label %86
84: ; preds = %76
%85 = load double, ptr @Xgamm.Xgamm, align 8
store double %85, ptr %2, align 8
br label %252
86: ; preds = %76
br label %87
87: ; preds = %86, %51
%88 = load double, ptr @Xgamm.t, align 8
%89 = call double @llvm.fabs.f64(double %88)
%90 = fcmp oge double %89, 1.000000e-30
br i1 %90, label %91, label %92
91: ; preds = %87
br label %104
92: ; preds = %87
%93 = load double, ptr @Xgamm.t, align 8
%94 = call double @llvm.fabs.f64(double %93)
%95 = call double @spmpar(ptr noundef @Xgamm.K2)
%96 = fmul double %94, %95
%97 = fcmp ole double %96, 1.000100e+00
br i1 %97, label %98, label %100
98: ; preds = %92
%99 = load double, ptr @Xgamm.Xgamm, align 8
store double %99, ptr %2, align 8
br label %252
100: ; preds = %92
%101 = load double, ptr @Xgamm.t, align 8
%102 = fdiv double 1.000000e+00, %101
store double %102, ptr @Xgamm.Xgamm, align 8
%103 = load double, ptr @Xgamm.Xgamm, align 8
store double %103, ptr %2, align 8
br label %252
104: ; preds = %91, %42
%105 = load double, ptr @Xgamm.p, align 16
store double %105, ptr @Xgamm.top, align 8
%106 = load double, ptr @Xgamm.q, align 16
store double %106, ptr @Xgamm.bot, align 8
store i32 1, ptr @Xgamm.i, align 4
%107 = load i32, ptr @Xgamm.i, align 4
%108 = icmp slt i32 %107, 7
br i1 %108, label %.lr.ph5, label %129
.lr.ph5: ; preds = %104
br label %109
109: ; preds = %.lr.ph5, %124
%110 = load i32, ptr @Xgamm.i, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [7 x double], ptr @Xgamm.p, i64 0, i64 %111
%113 = load double, ptr %112, align 8
%114 = load double, ptr @Xgamm.x, align 8
%115 = load double, ptr @Xgamm.top, align 8
%116 = call double @llvm.fmuladd.f64(double %114, double %115, double %113)
store double %116, ptr @Xgamm.top, align 8
%117 = load i32, ptr @Xgamm.i, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [7 x double], ptr @Xgamm.q, i64 0, i64 %118
%120 = load double, ptr %119, align 8
%121 = load double, ptr @Xgamm.x, align 8
%122 = load double, ptr @Xgamm.bot, align 8
%123 = call double @llvm.fmuladd.f64(double %121, double %122, double %120)
store double %123, ptr @Xgamm.bot, align 8
br label %124
124: ; preds = %109
%125 = load i32, ptr @Xgamm.i, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr @Xgamm.i, align 4
%127 = load i32, ptr @Xgamm.i, align 4
%128 = icmp slt i32 %127, 7
br i1 %128, label %109, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %124
br label %129
129: ; preds = %._crit_edge6, %104
%130 = load double, ptr @Xgamm.top, align 8
%131 = load double, ptr @Xgamm.bot, align 8
%132 = fdiv double %130, %131
store double %132, ptr @Xgamm.Xgamm, align 8
%133 = load ptr, ptr %3, align 8
%134 = load double, ptr %133, align 8
%135 = fcmp olt double %134, 1.000000e+00
br i1 %135, label %136, label %137
136: ; preds = %129
br label %142
137: ; preds = %129
%138 = load double, ptr @Xgamm.t, align 8
%139 = load double, ptr @Xgamm.Xgamm, align 8
%140 = fmul double %139, %138
store double %140, ptr @Xgamm.Xgamm, align 8
%141 = load double, ptr @Xgamm.Xgamm, align 8
store double %141, ptr %2, align 8
br label %252
142: ; preds = %136
%143 = load double, ptr @Xgamm.t, align 8
%144 = load double, ptr @Xgamm.Xgamm, align 8
%145 = fdiv double %144, %143
store double %145, ptr @Xgamm.Xgamm, align 8
%146 = load double, ptr @Xgamm.Xgamm, align 8
store double %146, ptr %2, align 8
br label %252
147: ; preds = %10
%148 = load ptr, ptr %3, align 8
%149 = load double, ptr %148, align 8
%150 = call double @llvm.fabs.f64(double %149)
%151 = fcmp oge double %150, 1.000000e+03
br i1 %151, label %152, label %154
152: ; preds = %147
%153 = load double, ptr @Xgamm.Xgamm, align 8
store double %153, ptr %2, align 8
br label %252
154: ; preds = %147
%155 = load ptr, ptr %3, align 8
%156 = load double, ptr %155, align 8
%157 = fcmp ogt double %156, 0.000000e+00
br i1 %157, label %158, label %159
158: ; preds = %154
br label %193
159: ; preds = %154
%160 = load ptr, ptr %3, align 8
%161 = load double, ptr %160, align 8
%162 = fneg double %161
store double %162, ptr @Xgamm.x, align 8
%163 = load double, ptr @Xgamm.x, align 8
%164 = fptosi double %163 to i32
store i32 %164, ptr @Xgamm.n, align 4
%165 = load double, ptr @Xgamm.x, align 8
%166 = load i32, ptr @Xgamm.n, align 4
%167 = sitofp i32 %166 to double
%168 = fsub double %165, %167
store double %168, ptr @Xgamm.t, align 8
%169 = load double, ptr @Xgamm.t, align 8
%170 = fcmp ogt double %169, 9.000000e-01
br i1 %170, label %171, label %174
171: ; preds = %159
%172 = load double, ptr @Xgamm.t, align 8
%173 = fsub double 1.000000e+00, %172
store double %173, ptr @Xgamm.t, align 8
br label %174
174: ; preds = %171, %159
%175 = load double, ptr @Xgamm.pi, align 8
%176 = load double, ptr @Xgamm.t, align 8
%177 = fmul double %175, %176
%178 = call double @sin(double noundef %177) #4
%179 = load double, ptr @Xgamm.pi, align 8
%180 = fdiv double %178, %179
store double %180, ptr @Xgamm.s, align 8
%181 = load i32, ptr @Xgamm.n, align 4
%182 = call i64 @fifmod(i32 noundef %181, i32 noundef 2)
%183 = icmp eq i64 %182, 0
br i1 %183, label %184, label %187
184: ; preds = %174
%185 = load double, ptr @Xgamm.s, align 8
%186 = fneg double %185
store double %186, ptr @Xgamm.s, align 8
br label %187
187: ; preds = %184, %174
%188 = load double, ptr @Xgamm.s, align 8
%189 = fcmp oeq double %188, 0.000000e+00
br i1 %189, label %190, label %192
190: ; preds = %187
%191 = load double, ptr @Xgamm.Xgamm, align 8
store double %191, ptr %2, align 8
br label %252
192: ; preds = %187
br label %193
193: ; preds = %192, %158
%194 = load double, ptr @Xgamm.x, align 8
%195 = load double, ptr @Xgamm.x, align 8
%196 = fmul double %194, %195
%197 = fdiv double 1.000000e+00, %196
store double %197, ptr @Xgamm.t, align 8
%198 = load double, ptr @Xgamm.r1, align 8
%199 = load double, ptr @Xgamm.t, align 8
%200 = load double, ptr @Xgamm.r2, align 8
%201 = call double @llvm.fmuladd.f64(double %198, double %199, double %200)
%202 = load double, ptr @Xgamm.t, align 8
%203 = load double, ptr @Xgamm.r3, align 8
%204 = call double @llvm.fmuladd.f64(double %201, double %202, double %203)
%205 = load double, ptr @Xgamm.t, align 8
%206 = load double, ptr @Xgamm.r4, align 8
%207 = call double @llvm.fmuladd.f64(double %204, double %205, double %206)
%208 = load double, ptr @Xgamm.t, align 8
%209 = load double, ptr @Xgamm.r5, align 8
%210 = call double @llvm.fmuladd.f64(double %207, double %208, double %209)
%211 = load double, ptr @Xgamm.x, align 8
%212 = fdiv double %210, %211
store double %212, ptr @Xgamm.g, align 8
%213 = load double, ptr @Xgamm.x, align 8
%214 = call double @log(double noundef %213) #4
store double %214, ptr @Xgamm.lnx, align 8
%215 = load double, ptr @Xgamm.x, align 8
store double %215, ptr @Xgamm.z, align 8
%216 = load double, ptr @Xgamm.d, align 8
%217 = load double, ptr @Xgamm.g, align 8
%218 = fadd double %216, %217
%219 = load double, ptr @Xgamm.z, align 8
%220 = fsub double %219, 5.000000e-01
%221 = load double, ptr @Xgamm.lnx, align 8
%222 = fsub double %221, 1.000000e+00
%223 = call double @llvm.fmuladd.f64(double %220, double %222, double %218)
store double %223, ptr @Xgamm.g, align 8
%224 = load double, ptr @Xgamm.g, align 8
store double %224, ptr @Xgamm.w, align 8
%225 = load double, ptr @Xgamm.g, align 8
%226 = load double, ptr @Xgamm.w, align 8
%227 = fsub double %225, %226
store double %227, ptr @Xgamm.t, align 8
%228 = load double, ptr @Xgamm.w, align 8
%229 = call double @exparg(ptr noundef @Xgamm.K3)
%230 = fmul double 9.999900e-01, %229
%231 = fcmp ogt double %228, %230
br i1 %231, label %232, label %234
232: ; preds = %193
%233 = load double, ptr @Xgamm.Xgamm, align 8
store double %233, ptr %2, align 8
br label %252
234: ; preds = %193
%235 = load double, ptr @Xgamm.w, align 8
%236 = call double @exp(double noundef %235) #4
%237 = load double, ptr @Xgamm.t, align 8
%238 = fadd double 1.000000e+00, %237
%239 = fmul double %236, %238
store double %239, ptr @Xgamm.Xgamm, align 8
%240 = load ptr, ptr %3, align 8
%241 = load double, ptr %240, align 8
%242 = fcmp olt double %241, 0.000000e+00
br i1 %242, label %243, label %250
243: ; preds = %234
%244 = load double, ptr @Xgamm.Xgamm, align 8
%245 = load double, ptr @Xgamm.s, align 8
%246 = fmul double %244, %245
%247 = fdiv double 1.000000e+00, %246
%248 = load double, ptr @Xgamm.x, align 8
%249 = fdiv double %247, %248
store double %249, ptr @Xgamm.Xgamm, align 8
br label %250
250: ; preds = %243, %234
%251 = load double, ptr @Xgamm.Xgamm, align 8
store double %251, ptr %2, align 8
br label %252
252: ; preds = %250, %232, %190, %152, %142, %137, %100, %98, %84
%253 = load double, ptr %2, align 8
ret double %253
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @fifidint(double noundef) #2
declare double @spmpar(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #3
declare i64 @fifmod(i32 noundef, i32 noundef) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare double @exparg(ptr noundef) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpbo3mw1o9.c'
source_filename = "/tmp/tmpbo3mw1o9.c"
target datalayout = "e-m:e-p270: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.exitlist = type { ptr, ptr }
@ang_atexit.list = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ang_atexit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %17
6: ; preds = %1
%7 = call i32 @mem_alloc(i32 noundef 16)
%8 = call i64 @memset(i32 noundef %7, i32 noundef 0, i32 noundef 16)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.exitlist, ptr %11, i32 0, i32 0
store ptr %10, ptr %12, align 8
%13 = load ptr, ptr @ang_atexit.list, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds %struct.exitlist, ptr %14, i32 0, i32 1
store ptr %13, ptr %15, align 8
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr @ang_atexit.list, align 8
br label %31
17: ; preds = %1
br label %18
18: ; preds = %21, %17
%19 = load ptr, ptr @ang_atexit.list, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load ptr, ptr @ang_atexit.list, align 8
%23 = getelementptr inbounds %struct.exitlist, ptr %22, i32 0, i32 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %3, align 8
%25 = load ptr, ptr @ang_atexit.list, align 8
%26 = getelementptr inbounds %struct.exitlist, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
call void %27()
%28 = load ptr, ptr @ang_atexit.list, align 8
%29 = call i32 @mem_free(ptr noundef %28)
store ptr null, ptr @ang_atexit.list, align 8
%30 = load ptr, ptr %3, align 8
store ptr %30, ptr @ang_atexit.list, align 8
br label %18, !llvm.loop !6
31: ; preds = %6, %18
ret void
}
declare i64 @memset(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mem_alloc(i32 noundef) #1
declare i32 @mem_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/tmpbo3mw1o9.c"
target datalayout = "e-m:e-p270: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.exitlist = type { ptr, ptr }
@ang_atexit.list = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ang_atexit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %17
6: ; preds = %1
%7 = call i32 @mem_alloc(i32 noundef 16)
%8 = call i64 @memset(i32 noundef %7, i32 noundef 0, i32 noundef 16)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.exitlist, ptr %11, i32 0, i32 0
store ptr %10, ptr %12, align 8
%13 = load ptr, ptr @ang_atexit.list, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds %struct.exitlist, ptr %14, i32 0, i32 1
store ptr %13, ptr %15, align 8
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr @ang_atexit.list, align 8
br label %32
17: ; preds = %1
%18 = load ptr, ptr @ang_atexit.list, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %17
br label %20
20: ; preds = %.lr.ph, %20
%21 = load ptr, ptr @ang_atexit.list, align 8
%22 = getelementptr inbounds %struct.exitlist, ptr %21, i32 0, i32 1
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %3, align 8
%24 = load ptr, ptr @ang_atexit.list, align 8
%25 = getelementptr inbounds %struct.exitlist, ptr %24, i32 0, i32 0
%26 = load ptr, ptr %25, align 8
call void %26()
%27 = load ptr, ptr @ang_atexit.list, align 8
%28 = call i32 @mem_free(ptr noundef %27)
store ptr null, ptr @ang_atexit.list, align 8
%29 = load ptr, ptr %3, align 8
store ptr %29, ptr @ang_atexit.list, align 8
%30 = load ptr, ptr @ang_atexit.list, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %20, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %17
br label %32
32: ; preds = %.loopexit, %6
ret void
}
declare i64 @memset(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mem_alloc(i32 noundef) #1
declare i32 @mem_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/tmptmwfmi1y.c'
source_filename = "/tmp/tmptmwfmi1y.c"
target datalayout = "e-m:e-p270: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/tmptmwfmi1y.c"
target datalayout = "e-m:e-p270: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/tmpf0z8fi9i.c'
source_filename = "/tmp/tmpf0z8fi9i.c"
target datalayout = "e-m:e-p270: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/tmpf0z8fi9i.c"
target datalayout = "e-m:e-p270: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/tmp5hw_e9z6.c'
source_filename = "/tmp/tmp5hw_e9z6.c"
target datalayout = "e-m:e-p270: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/tmp5hw_e9z6.c"
target datalayout = "e-m:e-p270: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/tmpi09ajk_z.c'
source_filename = "/tmp/tmpi09ajk_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi09ajk_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp58mkbmrp.c'
source_filename = "/tmp/tmp58mkbmrp.c"
target datalayout = "e-m:e-p270: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/tmp58mkbmrp.c"
target datalayout = "e-m:e-p270: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/tmpo1gmo6mg.c'
source_filename = "/tmp/tmpo1gmo6mg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vrna_db_from_ptable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %65
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i16, ptr %8, i64 0
%10 = load i16, ptr %9, align 2
%11 = sext i16 %10 to i32
%12 = add nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 1
%15 = trunc i64 %14 to i16
%16 = call i64 @vrna_alloc(i16 noundef signext %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i16, ptr %19, i64 0
%21 = load i16, ptr %20, align 2
%22 = call i32 @memset(ptr noundef %18, i8 noundef signext 46, i16 noundef signext %21)
store i32 1, ptr %3, align 4
br label %23
23: ; preds = %56, %7
%24 = load i32, ptr %3, align 4
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i16, ptr %25, i64 0
%27 = load i16, ptr %26, align 2
%28 = sext i16 %27 to i32
%29 = icmp sle i32 %24, %28
br i1 %29, label %30, label %59
30: ; preds = %23
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i16, ptr %31, i64 %33
%35 = load i16, ptr %34, align 2
%36 = sext i16 %35 to i32
%37 = load i32, ptr %3, align 4
%38 = icmp sgt i32 %36, %37
br i1 %38, label %39, label %55
39: ; preds = %30
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %3, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 40, ptr %44, align 1
%45 = load ptr, ptr %4, align 8
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i16, ptr %46, i64 %48
%50 = load i16, ptr %49, align 2
%51 = sext i16 %50 to i32
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %45, i64 %53
store i8 41, ptr %54, align 1
br label %55
55: ; preds = %39, %30
br label %56
56: ; preds = %55
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
br label %23, !llvm.loop !6
59: ; preds = %23
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %3, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %60, i64 %63
store i8 0, ptr %64, align 1
br label %65
65: ; preds = %59, %1
%66 = load ptr, ptr %4, align 8
ret ptr %66
}
declare i64 @vrna_alloc(i16 noundef signext) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i16 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/tmpo1gmo6mg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vrna_db_from_ptable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %69
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i16, ptr %8, i64 0
%10 = load i16, ptr %9, align 2
%11 = sext i16 %10 to i32
%12 = add nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 1
%15 = trunc i64 %14 to i16
%16 = call i64 @vrna_alloc(i16 noundef signext %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i16, ptr %19, i64 0
%21 = load i16, ptr %20, align 2
%22 = call i32 @memset(ptr noundef %18, i8 noundef signext 46, i16 noundef signext %21)
store i32 1, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = load ptr, ptr %2, align 8
%25 = load i16, ptr %24, align 2
%26 = sext i16 %25 to i32
%27 = icmp sle i32 %23, %26
br i1 %27, label %.lr.ph, label %63
.lr.ph: ; preds = %7
br label %28
28: ; preds = %.lr.ph, %54
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i16, ptr %29, i64 %31
%33 = load i16, ptr %32, align 2
%34 = sext i16 %33 to i32
%35 = load i32, ptr %3, align 4
%36 = icmp sgt i32 %34, %35
br i1 %36, label %37, label %53
37: ; preds = %28
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %3, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
store i8 40, ptr %42, align 1
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i16, ptr %44, i64 %46
%48 = load i16, ptr %47, align 2
%49 = sext i16 %48 to i32
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %43, i64 %51
store i8 41, ptr %52, align 1
br label %53
53: ; preds = %37, %28
br label %54
54: ; preds = %53
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = load ptr, ptr %2, align 8
%59 = getelementptr inbounds i16, ptr %58, i64 0
%60 = load i16, ptr %59, align 2
%61 = sext i16 %60 to i32
%62 = icmp sle i32 %57, %61
br i1 %62, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %63
63: ; preds = %._crit_edge, %7
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %3, align 4
%66 = sub nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %64, i64 %67
store i8 0, ptr %68, align 1
br label %69
69: ; preds = %63, %1
%70 = load ptr, ptr %4, align 8
ret ptr %70
}
declare i64 @vrna_alloc(i16 noundef signext) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i16 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/tmpn9nf13u0.c'
source_filename = "/tmp/tmpn9nf13u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fncval.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Modified Bessel Function K0\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"%5s %13s %18s \0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"actual\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"bessk0(x)\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.12 = private unnamed_addr constant [21 x i8] c"%6.2f %16.7e %16.7e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %8, ptr %7, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @nrerror(ptr noundef @.str.2)
br label %12
12: ; preds = %10, %0
%13 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fgets(ptr noundef %13, i32 noundef 80, ptr noundef %14)
br label %16
16: ; preds = %29, %12
%17 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%18 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str.3, i32 noundef 27)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%22 = load ptr, ptr %7, align 8
%23 = call i32 @fgets(ptr noundef %21, i32 noundef 80, ptr noundef %22)
%24 = load ptr, ptr %7, align 8
%25 = call i64 @feof(ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %20
%28 = call i32 @nrerror(ptr noundef @.str.4)
br label %29
29: ; preds = %27, %20
br label %16, !llvm.loop !6
30: ; preds = %16
%31 = load ptr, ptr %7, align 8
%32 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %4)
%33 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10)
store i32 1, ptr %3, align 4
br label %36
36: ; preds = %50, %30
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %53
40: ; preds = %36
%41 = load ptr, ptr %7, align 8
%42 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %41, ptr noundef @.str.11, ptr noundef %6, ptr noundef %5)
%43 = load float, ptr %6, align 4
%44 = fpext float %43 to double
%45 = load float, ptr %5, align 4
%46 = fpext float %45 to double
%47 = load float, ptr %6, align 4
%48 = call double @bessk0(float noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %44, double noundef %46, double noundef %48)
br label %50
50: ; preds = %40
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
br label %36, !llvm.loop !8
53: ; preds = %36
%54 = load ptr, ptr %7, align 8
%55 = call i32 @fclose(ptr noundef %54)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @bessk0(float noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn9nf13u0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fncval.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Modified Bessel Function K0\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"%5s %13s %18s \0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"actual\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"bessk0(x)\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.12 = private unnamed_addr constant [21 x i8] c"%6.2f %16.7e %16.7e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %8, ptr %7, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @nrerror(ptr noundef @.str.2)
br label %12
12: ; preds = %10, %0
%13 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fgets(ptr noundef %13, i32 noundef 80, ptr noundef %14)
%16 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%17 = call i64 @strncmp(ptr noundef %16, ptr noundef @.str.3, i32 noundef 27)
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph, label %31
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %28
%20 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%21 = load ptr, ptr %7, align 8
%22 = call i32 @fgets(ptr noundef %20, i32 noundef 80, ptr noundef %21)
%23 = load ptr, ptr %7, align 8
%24 = call i64 @feof(ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %19
%27 = call i32 @nrerror(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %19
%29 = call i64 @strncmp(ptr noundef %16, ptr noundef @.str.3, i32 noundef 27)
%30 = icmp ne i64 %29, 0
br i1 %30, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %31
31: ; preds = %._crit_edge, %12
%32 = load ptr, ptr %7, align 8
%33 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %4)
%34 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10)
store i32 1, ptr %3, align 4
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %.lr.ph2, label %56
.lr.ph2: ; preds = %31
br label %40
40: ; preds = %.lr.ph2, %50
%41 = load ptr, ptr %7, align 8
%42 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %41, ptr noundef @.str.11, ptr noundef %6, ptr noundef %5)
%43 = load float, ptr %6, align 4
%44 = fpext float %43 to double
%45 = load float, ptr %5, align 4
%46 = fpext float %45 to double
%47 = load float, ptr %6, align 4
%48 = call double @bessk0(float noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %44, double noundef %46, double noundef %48)
br label %50
50: ; preds = %40
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp sle i32 %53, %54
br i1 %55, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %31
%57 = load ptr, ptr %7, align 8
%58 = call i32 @fclose(ptr noundef %57)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @bessk0(float noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjczeeeoz.c'
source_filename = "/tmp/tmpjczeeeoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RMQ(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = sub nsw i32 %14, 1
%16 = icmp sgt i32 %13, %15
br i1 %16, label %21, label %17
17: ; preds = %12
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17, %12, %4
store i32 -1, ptr %5, align 4
br label %29
22: ; preds = %17
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %24, 1
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = call i32 @RMQUtil(ptr noundef %23, i32 noundef 0, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef 0)
store i32 %28, ptr %5, align 4
br label %29
29: ; preds = %22, %21
%30 = load i32, ptr %5, align 4
ret i32 %30
}
declare i32 @RMQUtil(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjczeeeoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RMQ(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = sub nsw i32 %14, 1
%16 = icmp sgt i32 %13, %15
br i1 %16, label %21, label %17
17: ; preds = %12
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17, %12, %4
store i32 -1, ptr %5, align 4
br label %29
22: ; preds = %17
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %24, 1
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = call i32 @RMQUtil(ptr noundef %23, i32 noundef 0, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef 0)
store i32 %28, ptr %5, align 4
br label %29
29: ; preds = %22, %21
%30 = load i32, ptr %5, align 4
ret i32 %30
}
declare i32 @RMQUtil(ptr 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"}
|
; ModuleID = '/tmp/tmp6qkuxby6.c'
source_filename = "/tmp/tmp6qkuxby6.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"usage: myppp [options] ipaddress\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" example: myppp -d2 -s ttyUSB0 -b 115200 -t tun0 fe80::face/64\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" Options are:\0A\00", align 1
@.str.3 = private unnamed_addr constant [67 x i8] c" -b baudrate 9600,19200,38400,57600,115200 (default),230400\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c" -s stty_dev Serial device\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" -t tun Tun interface\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c" -d[level] Debug level\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c" -d1 No Message\0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" -d2 All operation message (Default)\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c" -d3 All PPP level event\0A\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c" -d4 All PPP packets in hex\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stdout, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stdout, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10)
%23 = load i32, ptr @stdout, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.11)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6qkuxby6.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"usage: myppp [options] ipaddress\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [65 x i8] c" example: myppp -d2 -s ttyUSB0 -b 115200 -t tun0 fe80::face/64\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" Options are:\0A\00", align 1
@.str.3 = private unnamed_addr constant [67 x i8] c" -b baudrate 9600,19200,38400,57600,115200 (default),230400\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c" -s stty_dev Serial device\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" -t tun Tun interface\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c" -d[level] Debug level\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c" -d1 No Message\0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" -d2 All operation message (Default)\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c" -d3 All PPP level event\0A\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c" -d4 All PPP packets in hex\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stdout, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stdout, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.10)
%23 = load i32, ptr @stdout, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.11)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6nhvz2ee.c'
source_filename = "/tmp/tmp6nhvz2ee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %73
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 %16, 1
%18 = call i64 @calloc(i32 noundef %17, i32 noundef 4)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %8, align 8
store i32 1, ptr %7, align 4
br label %20
20: ; preds = %36, %15
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %39
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = getelementptr inbounds i32, ptr %34, i64 -1
store i32 %30, ptr %35, align 4
br label %36
36: ; preds = %24
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %20, !llvm.loop !6
39: ; preds = %20
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %4, align 4
%42 = sub nsw i32 %41, 1
%43 = call i32 @hcd(ptr noundef %40, i32 noundef %42)
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sgt i32 %44, 0
br i1 %45, label %46, label %70
46: ; preds = %39
store i32 0, ptr %11, align 4
%47 = load i32, ptr %4, align 4
%48 = sub nsw i32 %47, 1
store i32 %48, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %49
49: ; preds = %63, %46
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %10, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %66
53: ; preds = %49
%54 = load ptr, ptr %8, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %6, align 4
%60 = sdiv i32 %58, %59
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, %60
store i32 %62, ptr %11, align 4
br label %63
63: ; preds = %53
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
br label %49, !llvm.loop !8
66: ; preds = %49
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %11, align 4
%69 = call i32 @printf(ptr noundef @.str, i32 noundef %67, i32 noundef %68)
br label %71
70: ; preds = %39
store i32 1, ptr %3, align 4
br label %73
71: ; preds = %66
br label %72
72: ; preds = %71
store i32 0, ptr %3, align 4
br label %73
73: ; preds = %72, %70, %14
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @hcd(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6nhvz2ee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %12, 2
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %77
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 %16, 1
%18 = call i64 @calloc(i32 noundef %17, i32 noundef 4)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %8, align 8
store i32 1, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %41
.lr.ph: ; preds = %15
br label %23
23: ; preds = %.lr.ph, %35
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 @atoi(ptr noundef %28)
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = getelementptr inbounds i32, ptr %33, i64 -1
store i32 %29, ptr %34, align 4
br label %35
35: ; preds = %23
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %15
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %4, align 4
%44 = sub nsw i32 %43, 1
%45 = call i32 @hcd(ptr noundef %42, i32 noundef %44)
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %74
48: ; preds = %41
store i32 0, ptr %11, align 4
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 %49, 1
store i32 %50, ptr %10, align 4
store i32 0, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %10, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph2, label %70
.lr.ph2: ; preds = %48
br label %54
54: ; preds = %.lr.ph2, %64
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %6, align 4
%61 = sdiv i32 %59, %60
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, %61
store i32 %63, ptr %11, align 4
br label %64
64: ; preds = %54
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %9, align 4
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %10, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %70
70: ; preds = %._crit_edge3, %48
%71 = load i32, ptr %6, align 4
%72 = load i32, ptr %11, align 4
%73 = call i32 @printf(ptr noundef @.str, i32 noundef %71, i32 noundef %72)
br label %75
74: ; preds = %41
store i32 1, ptr %3, align 4
br label %77
75: ; preds = %70
br label %76
76: ; preds = %75
store i32 0, ptr %3, align 4
br label %77
77: ; preds = %76, %74, %14
%78 = load i32, ptr %3, align 4
ret i32 %78
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @hcd(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphyf9jd7z.c'
source_filename = "/tmp/tmphyf9jd7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error looking up model.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_oldapprox(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @remove_benchmarks_at_param(ptr noundef %9, ptr noundef %10, ptr noundef %6)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = call ptr @lookup_model(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
br label %19
19: ; preds = %17, %2
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %32, %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = call i32 @insert_bench(ptr noundef %25, ptr noundef %30)
br label %32
32: ; preds = %24
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %20, !llvm.loop !6
35: ; preds = %20
%36 = load ptr, ptr %5, align 8
ret ptr %36
}
declare i32 @remove_benchmarks_at_param(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @lookup_model(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @insert_bench(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyf9jd7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error looking up model.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_oldapprox(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @remove_benchmarks_at_param(ptr noundef %9, ptr noundef %10, ptr noundef %6)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = call ptr @lookup_model(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
br label %19
19: ; preds = %17, %2
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %37
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %31
%24 = load ptr, ptr %3, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i32 @insert_bench(ptr noundef %24, ptr noundef %29)
br label %31
31: ; preds = %23
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %19
%38 = load ptr, ptr %5, align 8
ret ptr %38
}
declare i32 @remove_benchmarks_at_param(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @lookup_model(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @insert_bench(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphe8le0ux.c'
source_filename = "/tmp/tmphe8le0ux.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"[-] close: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"[-] socketpair: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_socket_tree(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca [2 x i32], align 4
%6 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %83, %2
%8 = load i64, ptr %6, align 8
%9 = icmp ult i64 %8, 20
br i1 %9, label %10, label %86
10: ; preds = %7
%11 = load i64, ptr %4, align 8
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = call i32 @putchar(i8 noundef signext 46)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fflush(i32 noundef %15)
br label %17
17: ; preds = %13, %10
%18 = load i64, ptr %4, align 8
%19 = icmp eq i64 %18, 2
br i1 %19, label %20, label %39
20: ; preds = %17
%21 = call i32 (...) @create_filtered_socket()
%22 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
store i32 %21, ptr %22, align 4
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%25 = load i32, ptr %24, align 4
%26 = call i32 @send_fd(i32 noundef %23, i32 noundef %25)
%27 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%28 = load i32, ptr %27, align 4
%29 = call i64 @close(i32 noundef %28)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %20
br label %32
32: ; preds = %31
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 @printf(ptr noundef @.str, ptr noundef %34)
%36 = call i32 @exit(i32 noundef 57) #3
unreachable
37: ; No predecessors!
br label %38
38: ; preds = %37, %20
br label %82
39: ; preds = %17
%40 = load i32, ptr @AF_UNIX, align 4
%41 = load i32, ptr @SOCK_DGRAM, align 4
%42 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%43 = call i64 @socketpair(i32 noundef %40, i32 noundef %41, i32 noundef 0, ptr noundef %42)
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %52
45: ; preds = %39
br label %46
46: ; preds = %45
%47 = load i32, ptr @errno, align 4
%48 = call ptr @strerror(i32 noundef %47)
%49 = call i32 @printf(ptr noundef @.str.1, ptr noundef %48)
%50 = call i32 @exit(i32 noundef 57) #3
unreachable
51: ; No predecessors!
br label %52
52: ; preds = %51, %39
%53 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%54 = load i32, ptr %53, align 4
%55 = load i64, ptr %4, align 8
%56 = add i64 %55, 1
call void @create_socket_tree(i32 noundef %54, i64 noundef %56)
%57 = load i32, ptr %3, align 4
%58 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%59 = load i32, ptr %58, align 4
%60 = call i32 @send_fd(i32 noundef %57, i32 noundef %59)
%61 = load i32, ptr %3, align 4
%62 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%63 = load i32, ptr %62, align 4
%64 = call i32 @send_fd(i32 noundef %61, i32 noundef %63)
%65 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%66 = load i32, ptr %65, align 4
%67 = call i64 @close(i32 noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %74, label %69
69: ; preds = %52
%70 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%71 = load i32, ptr %70, align 4
%72 = call i64 @close(i32 noundef %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %81
74: ; preds = %69, %52
br label %75
75: ; preds = %74
%76 = load i32, ptr @errno, align 4
%77 = call ptr @strerror(i32 noundef %76)
%78 = call i32 @printf(ptr noundef @.str, ptr noundef %77)
%79 = call i32 @exit(i32 noundef 57) #3
unreachable
80: ; No predecessors!
br label %81
81: ; preds = %80, %69
br label %82
82: ; preds = %81, %38
br label %83
83: ; preds = %82
%84 = load i64, ptr %6, align 8
%85 = add i64 %84, 1
store i64 %85, ptr %6, align 8
br label %7, !llvm.loop !6
86: ; preds = %7
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @create_filtered_socket(...) #1
declare i32 @send_fd(i32 noundef, i32 noundef) #1
declare i64 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmphe8le0ux.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"[-] close: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"[-] socketpair: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_socket_tree(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca [2 x i32], align 4
%6 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
store i64 0, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = icmp ult i64 %7, 20
br i1 %8, label %.lr.ph, label %87
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %82
%10 = load i64, ptr %4, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = call i32 @putchar(i8 noundef signext 46)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 @fflush(i32 noundef %14)
br label %16
16: ; preds = %12, %9
%17 = load i64, ptr %4, align 8
%18 = icmp eq i64 %17, 2
br i1 %18, label %19, label %38
19: ; preds = %16
%20 = call i32 (...) @create_filtered_socket()
%21 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %3, align 4
%23 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%24 = load i32, ptr %23, align 4
%25 = call i32 @send_fd(i32 noundef %22, i32 noundef %24)
%26 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = call i64 @close(i32 noundef %27)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %19
br label %31
31: ; preds = %30
%32 = load i32, ptr @errno, align 4
%33 = call ptr @strerror(i32 noundef %32)
%34 = call i32 @printf(ptr noundef @.str, ptr noundef %33)
%35 = call i32 @exit(i32 noundef 57) #3
unreachable
36: ; No predecessors!
unreachable
37: ; preds = %19
br label %81
38: ; preds = %16
%39 = load i32, ptr @AF_UNIX, align 4
%40 = load i32, ptr @SOCK_DGRAM, align 4
%41 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%42 = call i64 @socketpair(i32 noundef %39, i32 noundef %40, i32 noundef 0, ptr noundef %41)
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %51
44: ; preds = %38
br label %45
45: ; preds = %44
%46 = load i32, ptr @errno, align 4
%47 = call ptr @strerror(i32 noundef %46)
%48 = call i32 @printf(ptr noundef @.str.1, ptr noundef %47)
%49 = call i32 @exit(i32 noundef 57) #3
unreachable
50: ; No predecessors!
unreachable
51: ; preds = %38
%52 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%53 = load i32, ptr %52, align 4
%54 = load i64, ptr %4, align 8
%55 = add i64 %54, 1
call void @create_socket_tree(i32 noundef %53, i64 noundef %55)
%56 = load i32, ptr %3, align 4
%57 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%58 = load i32, ptr %57, align 4
%59 = call i32 @send_fd(i32 noundef %56, i32 noundef %58)
%60 = load i32, ptr %3, align 4
%61 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%62 = load i32, ptr %61, align 4
%63 = call i32 @send_fd(i32 noundef %60, i32 noundef %62)
%64 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%65 = load i32, ptr %64, align 4
%66 = call i64 @close(i32 noundef %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %73, label %68
68: ; preds = %51
%69 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%70 = load i32, ptr %69, align 4
%71 = call i64 @close(i32 noundef %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %68, %51
br label %74
74: ; preds = %73
%75 = load i32, ptr @errno, align 4
%76 = call ptr @strerror(i32 noundef %75)
%77 = call i32 @printf(ptr noundef @.str, ptr noundef %76)
%78 = call i32 @exit(i32 noundef 57) #3
unreachable
79: ; No predecessors!
unreachable
80: ; preds = %68
br label %81
81: ; preds = %80, %37
br label %82
82: ; preds = %81
%83 = load i64, ptr %6, align 8
%84 = add i64 %83, 1
store i64 %84, ptr %6, align 8
%85 = load i64, ptr %6, align 8
%86 = icmp ult i64 %85, 20
br i1 %86, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %82
br label %87
87: ; preds = %._crit_edge, %2
ret void
}
declare i32 @putchar(i8 noundef signext) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @create_filtered_socket(...) #1
declare i32 @send_fd(i32 noundef, i32 noundef) #1
declare i64 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpry3vo1il.c'
source_filename = "/tmp/tmpry3vo1il.c"
target datalayout = "e-m:e-p270: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/tmpry3vo1il.c"
target datalayout = "e-m:e-p270: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/tmplttio5vh.c'
source_filename = "/tmp/tmplttio5vh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EasyVR_Start() #0 {
%1 = call i32 @UART2_send(i8 noundef signext 105)
%2 = call i32 @UART2_send(i8 noundef signext 68)
ret void
}
declare i32 @UART2_send(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/tmplttio5vh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EasyVR_Start() #0 {
%1 = call i32 @UART2_send(i8 noundef signext 105)
%2 = call i32 @UART2_send(i8 noundef signext 68)
ret void
}
declare i32 @UART2_send(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/tmpbj5i4ry6.c'
source_filename = "/tmp/tmpbj5i4ry6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %34, %0
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %10
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%16 = load i32, ptr %4, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %6, align 8
%19 = alloca i32, i64 %17, align 16
store i64 %17, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %20
20: ; preds = %29, %14
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %19, i64 %26
%28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %27)
br label %29
29: ; preds = %24
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
br label %20, !llvm.loop !6
32: ; preds = %20
%33 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %33)
br label %34
34: ; preds = %32
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %10, !llvm.loop !8
37: ; preds = %10
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbj5i4ry6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph2, label %41
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %35
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%15 = load i32, ptr %4, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %6, align 8
%18 = alloca i32, i64 %16, align 16
store i64 %16, ptr %7, align 8
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %33
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %27
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %18, i64 %24
%26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %22
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %13
%34 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %34)
br label %35
35: ; preds = %33
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzkczg6rx.c'
source_filename = "/tmp/tmpzkczg6rx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(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 i64 @printf(ptr noundef @.str, ptr noundef %3)
%5 = icmp sgt i64 %4, 0
%6 = zext i1 %5 to i64
%7 = select i1 %5, i32 1, i32 -1
ret i32 %7
}
declare i64 @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/tmpzkczg6rx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(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 i64 @printf(ptr noundef @.str, ptr noundef %3)
%5 = icmp sgt i64 %4, 0
%6 = zext i1 %5 to i64
%7 = select i1 %5, i32 1, i32 -1
ret i32 %7
}
declare i64 @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/tmp7o7aao_1.c'
source_filename = "/tmp/tmp7o7aao_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %26, %2
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %29
14: ; preds = %7
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %15, ptr noundef %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %14
%24 = load i32, ptr %6, align 4
store i32 %24, ptr %3, align 4
br label %30
25: ; preds = %14
br label %26
26: ; preds = %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %7, !llvm.loop !6
29: ; preds = %7
store i32 -1, ptr %3, align 4
br label %30
30: ; preds = %29, %23
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7o7aao_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %7, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strcmp(ptr noundef %14, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %13
%23 = load i32, ptr %6, align 4
store i32 %23, ptr %3, align 4
br label %35
24: ; preds = %13
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %34
34: ; preds = %._crit_edge, %2
store i32 -1, ptr %3, align 4
br label %35
35: ; preds = %34, %22
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8zhpt_l4.c'
source_filename = "/tmp/tmp8zhpt_l4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2modet(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 @str2uint32(ptr noundef %3)
ret i32 %4
}
declare i32 @str2uint32(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zhpt_l4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2modet(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 @str2uint32(ptr noundef %3)
ret i32 %4
}
declare i32 @str2uint32(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgs201s9b.c'
source_filename = "/tmp/tmpgs201s9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULONG_MAX = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgs201s9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULONG_MAX = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwb6obm02.c'
source_filename = "/tmp/tmpwb6obm02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @truncate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 0, ptr %18, align 1
br label %19
19: ; preds = %14, %2
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 0, ptr %27, align 1
br label %28
28: ; preds = %23, %19
ret i32 0
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwb6obm02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @truncate(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 0, ptr %18, align 1
br label %19
19: ; preds = %14, %2
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 0, ptr %27, align 1
br label %28
28: ; preds = %23, %19
ret i32 0
}
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"}
|
; ModuleID = '/tmp/tmp3qw7g529.c'
source_filename = "/tmp/tmp3qw7g529.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @posix_clock() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timespec, align 4
%3 = alloca double, align 8
store double 0.000000e+00, ptr %3, align 8
%4 = load double, ptr %3, align 8
ret double %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3qw7g529.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @posix_clock() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timespec, align 4
%3 = alloca double, align 8
store double 0.000000e+00, ptr %3, align 8
%4 = load double, ptr %3, align 8
ret double %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.