llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpu353pwos.c'
source_filename = "/tmp/tmpu353pwos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Max Stack usage = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @finish() #0 {
%1 = alloca [65536 x i8], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %15, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 65536
br i1 %5, label %6, label %18
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [65536 x i8], ptr %1, i64 0, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 85
br i1 %12, label %13, label %14
13: ; preds = %6
br label %18
14: ; preds = %6
br label %15
15: ; preds = %14
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %3, !llvm.loop !6
18: ; preds = %13, %3
%19 = load i32, ptr %2, align 4
%20 = sub nsw i32 65536, %19
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
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/tmpu353pwos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Max Stack usage = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @finish() #0 {
%1 = alloca [65536 x i8], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 65536
br i1 %4, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %14
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds [65536 x i8], ptr %1, i64 0, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 85
br i1 %11, label %12, label %13
12: ; preds = %5
br label %19
13: ; preds = %5
br label %14
14: ; preds = %13
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 65536
br i1 %18, label %5, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %14
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %19
19: ; preds = %.loopexit, %12
%20 = load i32, ptr %2, align 4
%21 = sub nsw i32 65536, %20
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
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/tmpgij_3mzj.c'
source_filename = "/tmp/tmpgij_3mzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { double, double }
@wtime.tv = internal global %struct.timeval zeroinitializer, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wtime() #0 {
%1 = call i32 @gettimeofday(ptr noundef @wtime.tv, ptr noundef null)
%2 = load double, ptr @wtime.tv, align 8
%3 = load double, ptr getelementptr inbounds (%struct.timeval, ptr @wtime.tv, i32 0, i32 1), align 8
%4 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %3, double %2)
ret double %4
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgij_3mzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { double, double }
@wtime.tv = internal global %struct.timeval zeroinitializer, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wtime() #0 {
%1 = call i32 @gettimeofday(ptr noundef @wtime.tv, ptr noundef null)
%2 = load double, ptr @wtime.tv, align 8
%3 = load double, ptr getelementptr inbounds (%struct.timeval, ptr @wtime.tv, i32 0, i32 1), align 8
%4 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %3, double %2)
ret double %4
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkg4p9pun.c'
source_filename = "/tmp/tmpkg4p9pun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%llu\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 @scanf(ptr noundef @.str, ptr noundef %2)
br label %5
5: ; preds = %16, %13, %0
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, -1
store i64 %7, ptr %2, align 8
%8 = icmp ne i64 %6, 0
br i1 %8, label %9, label %26
9: ; preds = %5
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%11 = load i64, ptr %3, align 8
%12 = icmp ult i64 %11, 2
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i64, ptr %3, align 8
%15 = call i32 @printf(ptr noundef @.str.1, i64 noundef %14)
br label %5, !llvm.loop !6
16: ; preds = %9
%17 = load i64, ptr %3, align 8
%18 = mul i64 8, %17
%19 = add i64 %18, 1
%20 = trunc i64 %19 to i32
%21 = call double @sqrt(i32 noundef %20)
%22 = fsub double %21, 1.000000e+00
%23 = fmul double %22, 5.000000e-01
%24 = fptoui double %23 to i64
%25 = call i32 @printf(ptr noundef @.str.1, i64 noundef %24)
br label %5, !llvm.loop !6
26: ; preds = %5
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare double @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkg4p9pun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%llu\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 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i64, ptr %2, align 8
%6 = add i64 %5, -1
store i64 %6, ptr %2, align 8
%7 = icmp ne i64 %5, 0
br i1 %7, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %.backedge
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = load i64, ptr %3, align 8
%11 = icmp ult i64 %10, 2
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = load i64, ptr %3, align 8
%14 = call i32 @printf(ptr noundef @.str.1, i64 noundef %13)
br label %.backedge
.backedge: ; preds = %12, %18
%15 = load i64, ptr %2, align 8
%16 = add i64 %15, -1
store i64 %16, ptr %2, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
18: ; preds = %8
%19 = load i64, ptr %3, align 8
%20 = mul i64 8, %19
%21 = add i64 %20, 1
%22 = trunc i64 %21 to i32
%23 = call double @sqrt(i32 noundef %22)
%24 = fsub double %23, 1.000000e+00
%25 = fmul double %24, 5.000000e-01
%26 = fptoui double %25 to i64
%27 = call i32 @printf(ptr noundef @.str.1, i64 noundef %26)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %28
28: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare double @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7w30arm_.c'
source_filename = "/tmp/tmp7w30arm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_add_words(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp sge i32 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load i32, ptr %9, align 4
%18 = icmp sle i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %4
store i32 0, ptr %5, align 4
br label %170
20: ; preds = %4
store i32 0, ptr %10, align 4
br label %21
21: ; preds = %161, %20
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 0
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %12, align 4
%25 = load i32, ptr %12, align 4
%26 = load i32, ptr %10, align 4
%27 = add i32 %25, %26
%28 = zext i32 %27 to i64
%29 = and i64 %28, 4294967295
%30 = trunc i64 %29 to i32
store i32 %30, ptr %12, align 4
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp ult i32 %31, %32
%34 = zext i1 %33 to i32
store i32 %34, ptr %10, align 4
%35 = load i32, ptr %12, align 4
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 0
%38 = load i32, ptr %37, align 4
%39 = add i32 %35, %38
%40 = zext i32 %39 to i64
%41 = and i64 %40, 4294967295
%42 = trunc i64 %41 to i32
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %12, align 4
%45 = icmp ult i32 %43, %44
%46 = zext i1 %45 to i32
%47 = load i32, ptr %10, align 4
%48 = add i32 %47, %46
store i32 %48, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 0
store i32 %49, ptr %51, align 4
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %9, align 4
%54 = icmp sle i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %21
br label %168
56: ; preds = %21
%57 = load ptr, ptr %7, align 8
%58 = getelementptr inbounds i32, ptr %57, i64 1
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %12, align 4
%60 = load i32, ptr %12, align 4
%61 = load i32, ptr %10, align 4
%62 = add i32 %60, %61
%63 = zext i32 %62 to i64
%64 = and i64 %63, 4294967295
%65 = trunc i64 %64 to i32
store i32 %65, ptr %12, align 4
%66 = load i32, ptr %12, align 4
%67 = load i32, ptr %10, align 4
%68 = icmp ult i32 %66, %67
%69 = zext i1 %68 to i32
store i32 %69, ptr %10, align 4
%70 = load i32, ptr %12, align 4
%71 = load ptr, ptr %8, align 8
%72 = getelementptr inbounds i32, ptr %71, i64 1
%73 = load i32, ptr %72, align 4
%74 = add i32 %70, %73
%75 = zext i32 %74 to i64
%76 = and i64 %75, 4294967295
%77 = trunc i64 %76 to i32
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %12, align 4
%80 = icmp ult i32 %78, %79
%81 = zext i1 %80 to i32
%82 = load i32, ptr %10, align 4
%83 = add i32 %82, %81
store i32 %83, ptr %10, align 4
%84 = load i32, ptr %11, align 4
%85 = load ptr, ptr %6, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 1
store i32 %84, ptr %86, align 4
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, -1
store i32 %88, ptr %9, align 4
%89 = icmp sle i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %56
br label %168
91: ; preds = %56
%92 = load ptr, ptr %7, align 8
%93 = getelementptr inbounds i32, ptr %92, i64 2
%94 = load i32, ptr %93, align 4
store i32 %94, ptr %12, align 4
%95 = load i32, ptr %12, align 4
%96 = load i32, ptr %10, align 4
%97 = add i32 %95, %96
%98 = zext i32 %97 to i64
%99 = and i64 %98, 4294967295
%100 = trunc i64 %99 to i32
store i32 %100, ptr %12, align 4
%101 = load i32, ptr %12, align 4
%102 = load i32, ptr %10, align 4
%103 = icmp ult i32 %101, %102
%104 = zext i1 %103 to i32
store i32 %104, ptr %10, align 4
%105 = load i32, ptr %12, align 4
%106 = load ptr, ptr %8, align 8
%107 = getelementptr inbounds i32, ptr %106, i64 2
%108 = load i32, ptr %107, align 4
%109 = add i32 %105, %108
%110 = zext i32 %109 to i64
%111 = and i64 %110, 4294967295
%112 = trunc i64 %111 to i32
store i32 %112, ptr %11, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %12, align 4
%115 = icmp ult i32 %113, %114
%116 = zext i1 %115 to i32
%117 = load i32, ptr %10, align 4
%118 = add i32 %117, %116
store i32 %118, ptr %10, align 4
%119 = load i32, ptr %11, align 4
%120 = load ptr, ptr %6, align 8
%121 = getelementptr inbounds i32, ptr %120, i64 2
store i32 %119, ptr %121, align 4
%122 = load i32, ptr %9, align 4
%123 = add nsw i32 %122, -1
store i32 %123, ptr %9, align 4
%124 = icmp sle i32 %123, 0
br i1 %124, label %125, label %126
125: ; preds = %91
br label %168
126: ; preds = %91
%127 = load ptr, ptr %7, align 8
%128 = getelementptr inbounds i32, ptr %127, i64 3
%129 = load i32, ptr %128, align 4
store i32 %129, ptr %12, align 4
%130 = load i32, ptr %12, align 4
%131 = load i32, ptr %10, align 4
%132 = add i32 %130, %131
%133 = zext i32 %132 to i64
%134 = and i64 %133, 4294967295
%135 = trunc i64 %134 to i32
store i32 %135, ptr %12, align 4
%136 = load i32, ptr %12, align 4
%137 = load i32, ptr %10, align 4
%138 = icmp ult i32 %136, %137
%139 = zext i1 %138 to i32
store i32 %139, ptr %10, align 4
%140 = load i32, ptr %12, align 4
%141 = load ptr, ptr %8, align 8
%142 = getelementptr inbounds i32, ptr %141, i64 3
%143 = load i32, ptr %142, align 4
%144 = add i32 %140, %143
%145 = zext i32 %144 to i64
%146 = and i64 %145, 4294967295
%147 = trunc i64 %146 to i32
store i32 %147, ptr %11, align 4
%148 = load i32, ptr %11, align 4
%149 = load i32, ptr %12, align 4
%150 = icmp ult i32 %148, %149
%151 = zext i1 %150 to i32
%152 = load i32, ptr %10, align 4
%153 = add i32 %152, %151
store i32 %153, ptr %10, align 4
%154 = load i32, ptr %11, align 4
%155 = load ptr, ptr %6, align 8
%156 = getelementptr inbounds i32, ptr %155, i64 3
store i32 %154, ptr %156, align 4
%157 = load i32, ptr %9, align 4
%158 = add nsw i32 %157, -1
store i32 %158, ptr %9, align 4
%159 = icmp sle i32 %158, 0
br i1 %159, label %160, label %161
160: ; preds = %126
br label %168
161: ; preds = %126
%162 = load ptr, ptr %7, align 8
%163 = getelementptr inbounds i32, ptr %162, i64 4
store ptr %163, ptr %7, align 8
%164 = load ptr, ptr %8, align 8
%165 = getelementptr inbounds i32, ptr %164, i64 4
store ptr %165, ptr %8, align 8
%166 = load ptr, ptr %6, align 8
%167 = getelementptr inbounds i32, ptr %166, i64 4
store ptr %167, ptr %6, align 8
br label %21
168: ; preds = %160, %125, %90, %55
%169 = load i32, ptr %10, align 4
store i32 %169, ptr %5, align 4
br label %170
170: ; preds = %168, %19
%171 = load i32, ptr %5, align 4
ret i32 %171
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7w30arm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_add_words(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp sge i32 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load i32, ptr %9, align 4
%18 = icmp sle i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %4
store i32 0, ptr %5, align 4
br label %170
20: ; preds = %4
store i32 0, ptr %10, align 4
br label %21
21: ; preds = %161, %20
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 0
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %12, align 4
%25 = load i32, ptr %12, align 4
%26 = load i32, ptr %10, align 4
%27 = add i32 %25, %26
%28 = zext i32 %27 to i64
%29 = and i64 %28, 4294967295
%30 = trunc i64 %29 to i32
store i32 %30, ptr %12, align 4
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp ult i32 %31, %32
%34 = zext i1 %33 to i32
store i32 %34, ptr %10, align 4
%35 = load i32, ptr %12, align 4
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 0
%38 = load i32, ptr %37, align 4
%39 = add i32 %35, %38
%40 = zext i32 %39 to i64
%41 = and i64 %40, 4294967295
%42 = trunc i64 %41 to i32
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %12, align 4
%45 = icmp ult i32 %43, %44
%46 = zext i1 %45 to i32
%47 = load i32, ptr %10, align 4
%48 = add i32 %47, %46
store i32 %48, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 0
store i32 %49, ptr %51, align 4
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %9, align 4
%54 = icmp sle i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %21
br label %168
56: ; preds = %21
%57 = load ptr, ptr %7, align 8
%58 = getelementptr inbounds i32, ptr %57, i64 1
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %12, align 4
%60 = load i32, ptr %12, align 4
%61 = load i32, ptr %10, align 4
%62 = add i32 %60, %61
%63 = zext i32 %62 to i64
%64 = and i64 %63, 4294967295
%65 = trunc i64 %64 to i32
store i32 %65, ptr %12, align 4
%66 = load i32, ptr %12, align 4
%67 = load i32, ptr %10, align 4
%68 = icmp ult i32 %66, %67
%69 = zext i1 %68 to i32
store i32 %69, ptr %10, align 4
%70 = load i32, ptr %12, align 4
%71 = load ptr, ptr %8, align 8
%72 = getelementptr inbounds i32, ptr %71, i64 1
%73 = load i32, ptr %72, align 4
%74 = add i32 %70, %73
%75 = zext i32 %74 to i64
%76 = and i64 %75, 4294967295
%77 = trunc i64 %76 to i32
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %12, align 4
%80 = icmp ult i32 %78, %79
%81 = zext i1 %80 to i32
%82 = load i32, ptr %10, align 4
%83 = add i32 %82, %81
store i32 %83, ptr %10, align 4
%84 = load i32, ptr %11, align 4
%85 = load ptr, ptr %6, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 1
store i32 %84, ptr %86, align 4
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, -1
store i32 %88, ptr %9, align 4
%89 = icmp sle i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %56
br label %168
91: ; preds = %56
%92 = load ptr, ptr %7, align 8
%93 = getelementptr inbounds i32, ptr %92, i64 2
%94 = load i32, ptr %93, align 4
store i32 %94, ptr %12, align 4
%95 = load i32, ptr %12, align 4
%96 = load i32, ptr %10, align 4
%97 = add i32 %95, %96
%98 = zext i32 %97 to i64
%99 = and i64 %98, 4294967295
%100 = trunc i64 %99 to i32
store i32 %100, ptr %12, align 4
%101 = load i32, ptr %12, align 4
%102 = load i32, ptr %10, align 4
%103 = icmp ult i32 %101, %102
%104 = zext i1 %103 to i32
store i32 %104, ptr %10, align 4
%105 = load i32, ptr %12, align 4
%106 = load ptr, ptr %8, align 8
%107 = getelementptr inbounds i32, ptr %106, i64 2
%108 = load i32, ptr %107, align 4
%109 = add i32 %105, %108
%110 = zext i32 %109 to i64
%111 = and i64 %110, 4294967295
%112 = trunc i64 %111 to i32
store i32 %112, ptr %11, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %12, align 4
%115 = icmp ult i32 %113, %114
%116 = zext i1 %115 to i32
%117 = load i32, ptr %10, align 4
%118 = add i32 %117, %116
store i32 %118, ptr %10, align 4
%119 = load i32, ptr %11, align 4
%120 = load ptr, ptr %6, align 8
%121 = getelementptr inbounds i32, ptr %120, i64 2
store i32 %119, ptr %121, align 4
%122 = load i32, ptr %9, align 4
%123 = add nsw i32 %122, -1
store i32 %123, ptr %9, align 4
%124 = icmp sle i32 %123, 0
br i1 %124, label %125, label %126
125: ; preds = %91
br label %168
126: ; preds = %91
%127 = load ptr, ptr %7, align 8
%128 = getelementptr inbounds i32, ptr %127, i64 3
%129 = load i32, ptr %128, align 4
store i32 %129, ptr %12, align 4
%130 = load i32, ptr %12, align 4
%131 = load i32, ptr %10, align 4
%132 = add i32 %130, %131
%133 = zext i32 %132 to i64
%134 = and i64 %133, 4294967295
%135 = trunc i64 %134 to i32
store i32 %135, ptr %12, align 4
%136 = load i32, ptr %12, align 4
%137 = load i32, ptr %10, align 4
%138 = icmp ult i32 %136, %137
%139 = zext i1 %138 to i32
store i32 %139, ptr %10, align 4
%140 = load i32, ptr %12, align 4
%141 = load ptr, ptr %8, align 8
%142 = getelementptr inbounds i32, ptr %141, i64 3
%143 = load i32, ptr %142, align 4
%144 = add i32 %140, %143
%145 = zext i32 %144 to i64
%146 = and i64 %145, 4294967295
%147 = trunc i64 %146 to i32
store i32 %147, ptr %11, align 4
%148 = load i32, ptr %11, align 4
%149 = load i32, ptr %12, align 4
%150 = icmp ult i32 %148, %149
%151 = zext i1 %150 to i32
%152 = load i32, ptr %10, align 4
%153 = add i32 %152, %151
store i32 %153, ptr %10, align 4
%154 = load i32, ptr %11, align 4
%155 = load ptr, ptr %6, align 8
%156 = getelementptr inbounds i32, ptr %155, i64 3
store i32 %154, ptr %156, align 4
%157 = load i32, ptr %9, align 4
%158 = add nsw i32 %157, -1
store i32 %158, ptr %9, align 4
%159 = icmp sle i32 %158, 0
br i1 %159, label %160, label %161
160: ; preds = %126
br label %168
161: ; preds = %126
%162 = load ptr, ptr %7, align 8
%163 = getelementptr inbounds i32, ptr %162, i64 4
store ptr %163, ptr %7, align 8
%164 = load ptr, ptr %8, align 8
%165 = getelementptr inbounds i32, ptr %164, i64 4
store ptr %165, ptr %8, align 8
%166 = load ptr, ptr %6, align 8
%167 = getelementptr inbounds i32, ptr %166, i64 4
store ptr %167, ptr %6, align 8
br label %21
168: ; preds = %160, %125, %90, %55
%169 = load i32, ptr %10, align 4
store i32 %169, ptr %5, align 4
br label %170
170: ; preds = %168, %19
%171 = load i32, ptr %5, align 4
ret i32 %171
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc4c3xs8q.c'
source_filename = "/tmp/tmpc4c3xs8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Conversion chart for F to C temperatures\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%3.0f\09%6.1f\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"Conversion chart for C to F temperatures\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %2, align 4
br label %5
5: ; preds = %16, %0
%6 = load float, ptr %2, align 4
%7 = fcmp ole float %6, 3.000000e+02
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to double
%11 = load float, ptr %2, align 4
%12 = fpext float %11 to double
%13 = fsub double %12, 3.200000e+01
%14 = fmul double 0x3FE1C71C71C71C72, %13
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %10, double noundef %14)
br label %16
16: ; preds = %8
%17 = load float, ptr %2, align 4
%18 = fadd float %17, 2.000000e+01
store float %18, ptr %2, align 4
br label %5, !llvm.loop !6
19: ; preds = %5
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store float 0.000000e+00, ptr %3, align 4
br label %22
22: ; preds = %32, %19
%23 = load float, ptr %3, align 4
%24 = fcmp ole float %23, 1.000000e+02
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load float, ptr %3, align 4
%27 = fpext float %26 to double
%28 = load float, ptr %3, align 4
%29 = fpext float %28 to double
%30 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %29, double 3.200000e+01)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %27, double noundef %30)
br label %32
32: ; preds = %25
%33 = load float, ptr %3, align 4
%34 = fadd float %33, 5.000000e+00
store float %34, ptr %3, align 4
br label %22, !llvm.loop !8
35: ; preds = %22
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store float 3.000000e+02, ptr %2, align 4
br label %38
38: ; preds = %49, %35
%39 = load float, ptr %2, align 4
%40 = fcmp oge float %39, 0.000000e+00
br i1 %40, label %41, label %52
41: ; preds = %38
%42 = load float, ptr %2, align 4
%43 = fpext float %42 to double
%44 = load float, ptr %2, align 4
%45 = fpext float %44 to double
%46 = fsub double %45, 3.200000e+01
%47 = fmul double 0x3FE1C71C71C71C72, %46
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %43, double noundef %47)
br label %49
49: ; preds = %41
%50 = load float, ptr %2, align 4
%51 = fsub float %50, 2.000000e+01
store float %51, ptr %2, align 4
br label %38, !llvm.loop !9
52: ; preds = %38
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store float 1.000000e+02, ptr %3, align 4
br label %55
55: ; preds = %65, %52
%56 = load float, ptr %3, align 4
%57 = fcmp oge float %56, 0.000000e+00
br i1 %57, label %58, label %68
58: ; preds = %55
%59 = load float, ptr %3, align 4
%60 = fpext float %59 to double
%61 = load float, ptr %3, align 4
%62 = fpext float %61 to double
%63 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %62, double 3.200000e+01)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %60, double noundef %63)
br label %65
65: ; preds = %58
%66 = load float, ptr %3, align 4
%67 = fsub float %66, 5.000000e+00
store float %67, ptr %3, align 4
br label %55, !llvm.loop !10
68: ; preds = %55
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc4c3xs8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Conversion chart for F to C temperatures\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%3.0f\09%6.1f\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"Conversion chart for C to F temperatures\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %2, align 4
%5 = load float, ptr %2, align 4
%6 = fcmp ole float %5, 3.000000e+02
br i1 %6, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %15
%8 = load float, ptr %2, align 4
%9 = fpext float %8 to double
%10 = load float, ptr %2, align 4
%11 = fpext float %10 to double
%12 = fsub double %11, 3.200000e+01
%13 = fmul double 0x3FE1C71C71C71C72, %12
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %9, double noundef %13)
br label %15
15: ; preds = %7
%16 = load float, ptr %2, align 4
%17 = fadd float %16, 2.000000e+01
store float %17, ptr %2, align 4
%18 = load float, ptr %2, align 4
%19 = fcmp ole float %18, 3.000000e+02
br i1 %19, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store float 0.000000e+00, ptr %3, align 4
%23 = load float, ptr %3, align 4
%24 = fcmp ole float %23, 1.000000e+02
br i1 %24, label %.lr.ph2, label %37
.lr.ph2: ; preds = %20
br label %25
25: ; preds = %.lr.ph2, %32
%26 = load float, ptr %3, align 4
%27 = fpext float %26 to double
%28 = load float, ptr %3, align 4
%29 = fpext float %28 to double
%30 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %29, double 3.200000e+01)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %27, double noundef %30)
br label %32
32: ; preds = %25
%33 = load float, ptr %3, align 4
%34 = fadd float %33, 5.000000e+00
store float %34, ptr %3, align 4
%35 = load float, ptr %3, align 4
%36 = fcmp ole float %35, 1.000000e+02
br i1 %36, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %37
37: ; preds = %._crit_edge3, %20
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store float 3.000000e+02, ptr %2, align 4
%40 = load float, ptr %2, align 4
%41 = fcmp oge float %40, 0.000000e+00
br i1 %41, label %.lr.ph5, label %55
.lr.ph5: ; preds = %37
br label %42
42: ; preds = %.lr.ph5, %50
%43 = load float, ptr %2, align 4
%44 = fpext float %43 to double
%45 = load float, ptr %2, align 4
%46 = fpext float %45 to double
%47 = fsub double %46, 3.200000e+01
%48 = fmul double 0x3FE1C71C71C71C72, %47
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %44, double noundef %48)
br label %50
50: ; preds = %42
%51 = load float, ptr %2, align 4
%52 = fsub float %51, 2.000000e+01
store float %52, ptr %2, align 4
%53 = load float, ptr %2, align 4
%54 = fcmp oge float %53, 0.000000e+00
br i1 %54, label %42, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %50
br label %55
55: ; preds = %._crit_edge6, %37
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store float 1.000000e+02, ptr %3, align 4
%58 = load float, ptr %3, align 4
%59 = fcmp oge float %58, 0.000000e+00
br i1 %59, label %.lr.ph8, label %72
.lr.ph8: ; preds = %55
br label %60
60: ; preds = %.lr.ph8, %67
%61 = load float, ptr %3, align 4
%62 = fpext float %61 to double
%63 = load float, ptr %3, align 4
%64 = fpext float %63 to double
%65 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %64, double 3.200000e+01)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %62, double noundef %65)
br label %67
67: ; preds = %60
%68 = load float, ptr %3, align 4
%69 = fsub float %68, 5.000000e+00
store float %69, ptr %3, align 4
%70 = load float, ptr %3, align 4
%71 = fcmp oge float %70, 0.000000e+00
br i1 %71, label %60, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %67
br label %72
72: ; preds = %._crit_edge9, %55
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp6duqwjd5.c'
source_filename = "/tmp/tmp6duqwjd5.c"
target datalayout = "e-m:e-p270: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/tmp6duqwjd5.c"
target datalayout = "e-m:e-p270: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/tmpxnbsw5r3.c'
source_filename = "/tmp/tmpxnbsw5r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xy\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mcdis_box(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%13 = load double, ptr %7, align 8
%14 = load double, ptr %8, align 8
%15 = load double, ptr %9, align 8
%16 = load double, ptr %12, align 8
%17 = fdiv double %16, 2.000000e+00
%18 = fsub double %15, %17
%19 = load double, ptr %10, align 8
%20 = load double, ptr %11, align 8
%21 = call i32 @mcdis_rectangle(ptr noundef @.str, double noundef %13, double noundef %14, double noundef %18, double noundef %19, double noundef %20)
%22 = load double, ptr %7, align 8
%23 = load double, ptr %8, align 8
%24 = load double, ptr %9, align 8
%25 = load double, ptr %12, align 8
%26 = fdiv double %25, 2.000000e+00
%27 = fadd double %24, %26
%28 = load double, ptr %10, align 8
%29 = load double, ptr %11, align 8
%30 = call i32 @mcdis_rectangle(ptr noundef @.str, double noundef %22, double noundef %23, double noundef %27, double noundef %28, double noundef %29)
%31 = load double, ptr %7, align 8
%32 = load double, ptr %10, align 8
%33 = fdiv double %32, 2.000000e+00
%34 = fsub double %31, %33
%35 = load double, ptr %8, align 8
%36 = load double, ptr %11, align 8
%37 = fdiv double %36, 2.000000e+00
%38 = fsub double %35, %37
%39 = load double, ptr %9, align 8
%40 = load double, ptr %12, align 8
%41 = fdiv double %40, 2.000000e+00
%42 = fsub double %39, %41
%43 = load double, ptr %7, align 8
%44 = load double, ptr %10, align 8
%45 = fdiv double %44, 2.000000e+00
%46 = fsub double %43, %45
%47 = load double, ptr %8, align 8
%48 = load double, ptr %11, align 8
%49 = fdiv double %48, 2.000000e+00
%50 = fsub double %47, %49
%51 = load double, ptr %9, align 8
%52 = load double, ptr %12, align 8
%53 = fdiv double %52, 2.000000e+00
%54 = fadd double %51, %53
%55 = call i32 @mcdis_line(double noundef %34, double noundef %38, double noundef %42, double noundef %46, double noundef %50, double noundef %54)
%56 = load double, ptr %7, align 8
%57 = load double, ptr %10, align 8
%58 = fdiv double %57, 2.000000e+00
%59 = fsub double %56, %58
%60 = load double, ptr %8, align 8
%61 = load double, ptr %11, align 8
%62 = fdiv double %61, 2.000000e+00
%63 = fadd double %60, %62
%64 = load double, ptr %9, align 8
%65 = load double, ptr %12, align 8
%66 = fdiv double %65, 2.000000e+00
%67 = fsub double %64, %66
%68 = load double, ptr %7, align 8
%69 = load double, ptr %10, align 8
%70 = fdiv double %69, 2.000000e+00
%71 = fsub double %68, %70
%72 = load double, ptr %8, align 8
%73 = load double, ptr %11, align 8
%74 = fdiv double %73, 2.000000e+00
%75 = fadd double %72, %74
%76 = load double, ptr %9, align 8
%77 = load double, ptr %12, align 8
%78 = fdiv double %77, 2.000000e+00
%79 = fadd double %76, %78
%80 = call i32 @mcdis_line(double noundef %59, double noundef %63, double noundef %67, double noundef %71, double noundef %75, double noundef %79)
%81 = load double, ptr %7, align 8
%82 = load double, ptr %10, align 8
%83 = fdiv double %82, 2.000000e+00
%84 = fadd double %81, %83
%85 = load double, ptr %8, align 8
%86 = load double, ptr %11, align 8
%87 = fdiv double %86, 2.000000e+00
%88 = fsub double %85, %87
%89 = load double, ptr %9, align 8
%90 = load double, ptr %12, align 8
%91 = fdiv double %90, 2.000000e+00
%92 = fsub double %89, %91
%93 = load double, ptr %7, align 8
%94 = load double, ptr %10, align 8
%95 = fdiv double %94, 2.000000e+00
%96 = fadd double %93, %95
%97 = load double, ptr %8, align 8
%98 = load double, ptr %11, align 8
%99 = fdiv double %98, 2.000000e+00
%100 = fsub double %97, %99
%101 = load double, ptr %9, align 8
%102 = load double, ptr %12, align 8
%103 = fdiv double %102, 2.000000e+00
%104 = fadd double %101, %103
%105 = call i32 @mcdis_line(double noundef %84, double noundef %88, double noundef %92, double noundef %96, double noundef %100, double noundef %104)
%106 = load double, ptr %7, align 8
%107 = load double, ptr %10, align 8
%108 = fdiv double %107, 2.000000e+00
%109 = fadd double %106, %108
%110 = load double, ptr %8, align 8
%111 = load double, ptr %11, align 8
%112 = fdiv double %111, 2.000000e+00
%113 = fadd double %110, %112
%114 = load double, ptr %9, align 8
%115 = load double, ptr %12, align 8
%116 = fdiv double %115, 2.000000e+00
%117 = fsub double %114, %116
%118 = load double, ptr %7, align 8
%119 = load double, ptr %10, align 8
%120 = fdiv double %119, 2.000000e+00
%121 = fadd double %118, %120
%122 = load double, ptr %8, align 8
%123 = load double, ptr %11, align 8
%124 = fdiv double %123, 2.000000e+00
%125 = fadd double %122, %124
%126 = load double, ptr %9, align 8
%127 = load double, ptr %12, align 8
%128 = fdiv double %127, 2.000000e+00
%129 = fadd double %126, %128
%130 = call i32 @mcdis_line(double noundef %109, double noundef %113, double noundef %117, double noundef %121, double noundef %125, double noundef %129)
ret void
}
declare i32 @mcdis_rectangle(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @mcdis_line(double noundef, double noundef, double noundef, double noundef, 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/tmpxnbsw5r3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xy\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mcdis_box(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%13 = load double, ptr %7, align 8
%14 = load double, ptr %8, align 8
%15 = load double, ptr %9, align 8
%16 = load double, ptr %12, align 8
%17 = fdiv double %16, 2.000000e+00
%18 = fsub double %15, %17
%19 = load double, ptr %10, align 8
%20 = load double, ptr %11, align 8
%21 = call i32 @mcdis_rectangle(ptr noundef @.str, double noundef %13, double noundef %14, double noundef %18, double noundef %19, double noundef %20)
%22 = load double, ptr %7, align 8
%23 = load double, ptr %8, align 8
%24 = load double, ptr %9, align 8
%25 = load double, ptr %12, align 8
%26 = fdiv double %25, 2.000000e+00
%27 = fadd double %24, %26
%28 = load double, ptr %10, align 8
%29 = load double, ptr %11, align 8
%30 = call i32 @mcdis_rectangle(ptr noundef @.str, double noundef %22, double noundef %23, double noundef %27, double noundef %28, double noundef %29)
%31 = load double, ptr %7, align 8
%32 = load double, ptr %10, align 8
%33 = fdiv double %32, 2.000000e+00
%34 = fsub double %31, %33
%35 = load double, ptr %8, align 8
%36 = load double, ptr %11, align 8
%37 = fdiv double %36, 2.000000e+00
%38 = fsub double %35, %37
%39 = load double, ptr %9, align 8
%40 = load double, ptr %12, align 8
%41 = fdiv double %40, 2.000000e+00
%42 = fsub double %39, %41
%43 = load double, ptr %7, align 8
%44 = load double, ptr %10, align 8
%45 = fdiv double %44, 2.000000e+00
%46 = fsub double %43, %45
%47 = load double, ptr %8, align 8
%48 = load double, ptr %11, align 8
%49 = fdiv double %48, 2.000000e+00
%50 = fsub double %47, %49
%51 = load double, ptr %9, align 8
%52 = load double, ptr %12, align 8
%53 = fdiv double %52, 2.000000e+00
%54 = fadd double %51, %53
%55 = call i32 @mcdis_line(double noundef %34, double noundef %38, double noundef %42, double noundef %46, double noundef %50, double noundef %54)
%56 = load double, ptr %7, align 8
%57 = load double, ptr %10, align 8
%58 = fdiv double %57, 2.000000e+00
%59 = fsub double %56, %58
%60 = load double, ptr %8, align 8
%61 = load double, ptr %11, align 8
%62 = fdiv double %61, 2.000000e+00
%63 = fadd double %60, %62
%64 = load double, ptr %9, align 8
%65 = load double, ptr %12, align 8
%66 = fdiv double %65, 2.000000e+00
%67 = fsub double %64, %66
%68 = load double, ptr %7, align 8
%69 = load double, ptr %10, align 8
%70 = fdiv double %69, 2.000000e+00
%71 = fsub double %68, %70
%72 = load double, ptr %8, align 8
%73 = load double, ptr %11, align 8
%74 = fdiv double %73, 2.000000e+00
%75 = fadd double %72, %74
%76 = load double, ptr %9, align 8
%77 = load double, ptr %12, align 8
%78 = fdiv double %77, 2.000000e+00
%79 = fadd double %76, %78
%80 = call i32 @mcdis_line(double noundef %59, double noundef %63, double noundef %67, double noundef %71, double noundef %75, double noundef %79)
%81 = load double, ptr %7, align 8
%82 = load double, ptr %10, align 8
%83 = fdiv double %82, 2.000000e+00
%84 = fadd double %81, %83
%85 = load double, ptr %8, align 8
%86 = load double, ptr %11, align 8
%87 = fdiv double %86, 2.000000e+00
%88 = fsub double %85, %87
%89 = load double, ptr %9, align 8
%90 = load double, ptr %12, align 8
%91 = fdiv double %90, 2.000000e+00
%92 = fsub double %89, %91
%93 = load double, ptr %7, align 8
%94 = load double, ptr %10, align 8
%95 = fdiv double %94, 2.000000e+00
%96 = fadd double %93, %95
%97 = load double, ptr %8, align 8
%98 = load double, ptr %11, align 8
%99 = fdiv double %98, 2.000000e+00
%100 = fsub double %97, %99
%101 = load double, ptr %9, align 8
%102 = load double, ptr %12, align 8
%103 = fdiv double %102, 2.000000e+00
%104 = fadd double %101, %103
%105 = call i32 @mcdis_line(double noundef %84, double noundef %88, double noundef %92, double noundef %96, double noundef %100, double noundef %104)
%106 = load double, ptr %7, align 8
%107 = load double, ptr %10, align 8
%108 = fdiv double %107, 2.000000e+00
%109 = fadd double %106, %108
%110 = load double, ptr %8, align 8
%111 = load double, ptr %11, align 8
%112 = fdiv double %111, 2.000000e+00
%113 = fadd double %110, %112
%114 = load double, ptr %9, align 8
%115 = load double, ptr %12, align 8
%116 = fdiv double %115, 2.000000e+00
%117 = fsub double %114, %116
%118 = load double, ptr %7, align 8
%119 = load double, ptr %10, align 8
%120 = fdiv double %119, 2.000000e+00
%121 = fadd double %118, %120
%122 = load double, ptr %8, align 8
%123 = load double, ptr %11, align 8
%124 = fdiv double %123, 2.000000e+00
%125 = fadd double %122, %124
%126 = load double, ptr %9, align 8
%127 = load double, ptr %12, align 8
%128 = fdiv double %127, 2.000000e+00
%129 = fadd double %126, %128
%130 = call i32 @mcdis_line(double noundef %109, double noundef %113, double noundef %117, double noundef %121, double noundef %125, double noundef %129)
ret void
}
declare i32 @mcdis_rectangle(ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @mcdis_line(double noundef, double noundef, double noundef, double noundef, 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/tmpfg6mgkv_.c'
source_filename = "/tmp/tmpfg6mgkv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bFlip(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i64 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = zext i32 %4 to i64
%6 = load i64, ptr @RAND_MAX, align 8
%7 = add i64 %6, 1
%8 = udiv i64 %7, 100
%9 = mul i64 %5, %8
%10 = icmp ult i64 %3, %9
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @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/tmpfg6mgkv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bFlip(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i64 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = zext i32 %4 to i64
%6 = load i64, ptr @RAND_MAX, align 8
%7 = add i64 %6, 1
%8 = udiv i64 %7, 100
%9 = mul i64 %5, %8
%10 = icmp ult i64 %3, %9
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @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/tmpeoduhud5.c'
source_filename = "/tmp/tmpeoduhud5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @z_set_window() #0 {
%1 = call i32 (...) @winarg0()
%2 = call i32 @set_window(i32 noundef %1)
ret void
}
declare i32 @set_window(i32 noundef) #1
declare i32 @winarg0(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeoduhud5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @z_set_window() #0 {
%1 = call i32 (...) @winarg0()
%2 = call i32 @set_window(i32 noundef %1)
ret void
}
declare i32 @set_window(i32 noundef) #1
declare i32 @winarg0(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkaosn1jr.c'
source_filename = "/tmp/tmpkaosn1jr.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"store_item: bad type = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @store_item(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
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
store double %4, ptr %10, align 8
%18 = load i32, ptr %7, align 4
switch i32 %18, label %55 [
i32 1, label %19
i32 4, label %23
i32 2, label %28
i32 5, label %33
i32 3, label %38
i32 6, label %42
i32 7, label %46
i32 8, label %51
]
19: ; preds = %5
%20 = load i32, ptr %8, align 4
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %6, align 8
store i8 %21, ptr %22, align 1
br label %60
23: ; preds = %5
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %11, align 8
%25 = load i32, ptr %9, align 4
%26 = trunc i32 %25 to i8
%27 = load ptr, ptr %11, align 8
store i8 %26, ptr %27, align 1
br label %60
28: ; preds = %5
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %12, align 8
%30 = load i32, ptr %8, align 4
%31 = trunc i32 %30 to i16
%32 = load ptr, ptr %12, align 8
store i16 %31, ptr %32, align 2
br label %60
33: ; preds = %5
%34 = load ptr, ptr %6, align 8
store ptr %34, ptr %13, align 8
%35 = load i32, ptr %9, align 4
%36 = trunc i32 %35 to i16
%37 = load ptr, ptr %13, align 8
store i16 %36, ptr %37, align 2
br label %60
38: ; preds = %5
%39 = load ptr, ptr %6, align 8
store ptr %39, ptr %14, align 8
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %14, align 8
store i32 %40, ptr %41, align 4
br label %60
42: ; preds = %5
%43 = load ptr, ptr %6, align 8
store ptr %43, ptr %15, align 8
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %15, align 8
store i32 %44, ptr %45, align 4
br label %60
46: ; preds = %5
%47 = load ptr, ptr %6, align 8
store ptr %47, ptr %16, align 8
%48 = load double, ptr %10, align 8
%49 = fptrunc double %48 to float
%50 = load ptr, ptr %16, align 8
store float %49, ptr %50, align 4
br label %60
51: ; preds = %5
%52 = load ptr, ptr %6, align 8
store ptr %52, ptr %17, align 8
%53 = load double, ptr %10, align 8
%54 = load ptr, ptr %17, align 8
store double %53, ptr %54, align 8
br label %60
55: ; preds = %5
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %7, align 4
%58 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str, i32 noundef %57)
%59 = call i32 @exit(i32 noundef -1) #3
unreachable
60: ; preds = %51, %46, %42, %38, %33, %28, %23, %19
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkaosn1jr.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"store_item: bad type = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @store_item(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
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
store double %4, ptr %10, align 8
%18 = load i32, ptr %7, align 4
switch i32 %18, label %55 [
i32 1, label %19
i32 4, label %23
i32 2, label %28
i32 5, label %33
i32 3, label %38
i32 6, label %42
i32 7, label %46
i32 8, label %51
]
19: ; preds = %5
%20 = load i32, ptr %8, align 4
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %6, align 8
store i8 %21, ptr %22, align 1
br label %60
23: ; preds = %5
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %11, align 8
%25 = load i32, ptr %9, align 4
%26 = trunc i32 %25 to i8
%27 = load ptr, ptr %11, align 8
store i8 %26, ptr %27, align 1
br label %60
28: ; preds = %5
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %12, align 8
%30 = load i32, ptr %8, align 4
%31 = trunc i32 %30 to i16
%32 = load ptr, ptr %12, align 8
store i16 %31, ptr %32, align 2
br label %60
33: ; preds = %5
%34 = load ptr, ptr %6, align 8
store ptr %34, ptr %13, align 8
%35 = load i32, ptr %9, align 4
%36 = trunc i32 %35 to i16
%37 = load ptr, ptr %13, align 8
store i16 %36, ptr %37, align 2
br label %60
38: ; preds = %5
%39 = load ptr, ptr %6, align 8
store ptr %39, ptr %14, align 8
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %14, align 8
store i32 %40, ptr %41, align 4
br label %60
42: ; preds = %5
%43 = load ptr, ptr %6, align 8
store ptr %43, ptr %15, align 8
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %15, align 8
store i32 %44, ptr %45, align 4
br label %60
46: ; preds = %5
%47 = load ptr, ptr %6, align 8
store ptr %47, ptr %16, align 8
%48 = load double, ptr %10, align 8
%49 = fptrunc double %48 to float
%50 = load ptr, ptr %16, align 8
store float %49, ptr %50, align 4
br label %60
51: ; preds = %5
%52 = load ptr, ptr %6, align 8
store ptr %52, ptr %17, align 8
%53 = load double, ptr %10, align 8
%54 = load ptr, ptr %17, align 8
store double %53, ptr %54, align 8
br label %60
55: ; preds = %5
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %7, align 4
%58 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str, i32 noundef %57)
%59 = call i32 @exit(i32 noundef -1) #3
unreachable
60: ; preds = %51, %46, %42, %38, %33, %28, %23, %19
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb2hinjnm.c'
source_filename = "/tmp/tmpb2hinjnm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".L%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenNumLabel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf2(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf2(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/tmpb2hinjnm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".L%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenNumLabel(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf2(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf2(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/tmpxs_sciq4.c'
source_filename = "/tmp/tmpxs_sciq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i \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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
br label %5
5: ; preds = %30, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 50
br i1 %7, label %8, label %33
8: ; preds = %5
store i32 1, ptr %4, align 4
store i32 2, ptr %3, align 4
br label %9
9: ; preds = %20, %8
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %23
13: ; preds = %9
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = srem i32 %14, %15
%17 = icmp eq i32 0, %16
br i1 %17, label %18, label %19
18: ; preds = %13
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %18, %13
br label %20
20: ; preds = %19
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr %2, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
br label %29
29: ; preds = %26, %23
br label %30
30: ; preds = %29
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %5, !llvm.loop !8
33: ; preds = %5
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxs_sciq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i \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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 50
br i1 %6, label %.lr.ph2, label %36
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %31
store i32 1, ptr %4, align 4
store i32 2, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %7
br label %11
11: ; preds = %.lr.ph, %18
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = srem i32 %12, %13
%15 = icmp eq i32 0, %14
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %16, %11
br label %18
18: ; preds = %17
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %7
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28)
br label %30
30: ; preds = %27, %24
br label %31
31: ; preds = %30
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp sle i32 %34, 50
br i1 %35, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %36
36: ; preds = %._crit_edge3, %0
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpd23tn8d6.c'
source_filename = "/tmp/tmpd23tn8d6.c"
target datalayout = "e-m:e-p270: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/tmpd23tn8d6.c"
target datalayout = "e-m:e-p270: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/tmpxv6spf4f.c'
source_filename = "/tmp/tmpxv6spf4f.c"
target datalayout = "e-m:e-p270: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/tmpxv6spf4f.c"
target datalayout = "e-m:e-p270: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/tmpe1id0ggy.c'
source_filename = "/tmp/tmpe1id0ggy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Multivariate noise reduction using the GHKSS algorithm\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Usage: %s [options]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [144 x i8] c"Everything not being a valid option will be interpreted as a possible datafile.\0AIf no datafile is given stdin is read. Just - also means stdin\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"\09-l # of data to use [Default: whole file]\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"\09-x # of lines to be ignored [Default: 0]\0A\00", align 1
@.str.6 = private unnamed_addr constant [52 x i8] c"\09-c column to read [Default: 1,..,# of components]\0A\00", align 1
@.str.7 = private unnamed_addr constant [56 x i8] c"\09-m # of components,embedding dimension [Default: 1,5]\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"\09-d delay [Default: 1]\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"\09-q dimension to project to [Default: 2]\0A\00", align 1
@.str.10 = private unnamed_addr constant [48 x i8] c"\09-k minimal number of neighbours [Default: 50]\0A\00", align 1
@.str.11 = private unnamed_addr constant [70 x i8] c"\09-r minimal neighbourhood size \0A\09\09[Default: (interval of data)/1000]\0A\00", align 1
@.str.12 = private unnamed_addr constant [34 x i8] c"\09-i # of iterations [Default: 1]\0A\00", align 1
@.str.13 = private unnamed_addr constant [51 x i8] c"\09-2 use euklidean metric [Default: non euklidean]\0A\00", align 1
@.str.14 = private unnamed_addr constant [150 x i8] c"\09-o name of output file \0A\09\09[Default: 'datafile'.opt.n, where n is the iteration.\0A\09\09 If no -o is given, the last iteration is also written to stdout]\0A\00", align 1
@.str.15 = private unnamed_addr constant [169 x i8] c"\09-V verbosity level [Default: 7]\0A\09\090='only panic messages'\0A\09\091='+ input/output messages'\0A\09\092='+ average correction and trend'\0A\09\094='+ how many points for which epsilon'\0A\00", align 1
@.str.16 = private unnamed_addr constant [24 x i8] c"\09-h show these options\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_options(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 @what_i_do(ptr noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.9)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.10)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.11)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.12)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.13)
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.14)
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.15)
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.16)
%38 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @what_i_do(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe1id0ggy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Multivariate noise reduction using the GHKSS algorithm\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Usage: %s [options]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [144 x i8] c"Everything not being a valid option will be interpreted as a possible datafile.\0AIf no datafile is given stdin is read. Just - also means stdin\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"\09-l # of data to use [Default: whole file]\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"\09-x # of lines to be ignored [Default: 0]\0A\00", align 1
@.str.6 = private unnamed_addr constant [52 x i8] c"\09-c column to read [Default: 1,..,# of components]\0A\00", align 1
@.str.7 = private unnamed_addr constant [56 x i8] c"\09-m # of components,embedding dimension [Default: 1,5]\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"\09-d delay [Default: 1]\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"\09-q dimension to project to [Default: 2]\0A\00", align 1
@.str.10 = private unnamed_addr constant [48 x i8] c"\09-k minimal number of neighbours [Default: 50]\0A\00", align 1
@.str.11 = private unnamed_addr constant [70 x i8] c"\09-r minimal neighbourhood size \0A\09\09[Default: (interval of data)/1000]\0A\00", align 1
@.str.12 = private unnamed_addr constant [34 x i8] c"\09-i # of iterations [Default: 1]\0A\00", align 1
@.str.13 = private unnamed_addr constant [51 x i8] c"\09-2 use euklidean metric [Default: non euklidean]\0A\00", align 1
@.str.14 = private unnamed_addr constant [150 x i8] c"\09-o name of output file \0A\09\09[Default: 'datafile'.opt.n, where n is the iteration.\0A\09\09 If no -o is given, the last iteration is also written to stdout]\0A\00", align 1
@.str.15 = private unnamed_addr constant [169 x i8] c"\09-V verbosity level [Default: 7]\0A\09\090='only panic messages'\0A\09\091='+ input/output messages'\0A\09\092='+ average correction and trend'\0A\09\094='+ how many points for which epsilon'\0A\00", align 1
@.str.16 = private unnamed_addr constant [24 x i8] c"\09-h show these options\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_options(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 @what_i_do(ptr noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.9)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.10)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.11)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.12)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.13)
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.14)
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.15)
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.16)
%38 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @what_i_do(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyvsd79lu.c'
source_filename = "/tmp/tmpyvsd79lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"H2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @h2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyvsd79lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"H2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @h2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5rlujwgb.c'
source_filename = "/tmp/tmp5rlujwgb.c"
target datalayout = "e-m:e-p270: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/tmp5rlujwgb.c"
target datalayout = "e-m:e-p270: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/tmptpoefjb6.c'
source_filename = "/tmp/tmptpoefjb6.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptpoefjb6.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpheo_oqe9.c'
source_filename = "/tmp/tmpheo_oqe9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [30 x i8] c"isxdigit should be 0 for 0x9d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x9d() #0 {
%1 = call i64 @isxdigit(i32 noundef 157)
%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 790, 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/tmpheo_oqe9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [30 x i8] c"isxdigit should be 0 for 0x9d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x9d() #0 {
%1 = call i64 @isxdigit(i32 noundef 157)
%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 790, 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/tmp2foxx5hi.c'
source_filename = "/tmp/tmp2foxx5hi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_ppi_wordread(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca i16, align 2
%10 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store ptr %3, ptr %8, align 8
store i16 2, ptr %9, align 2
store i8 -64, ptr %10, align 1
%11 = call i32 (...) @OAL_OBTAIN_SEMAPHORE()
%12 = load i16, ptr %7, align 2
%13 = zext i16 %12 to i32
%14 = and i32 %13, 65280
%15 = ashr i32 %14, 8
%16 = trunc i32 %15 to i8
store volatile i8 %16, ptr null, align 1
%17 = load i16, ptr %7, align 2
%18 = zext i16 %17 to i32
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i8
store volatile i8 %20, ptr null, align 1
%21 = load i8, ptr %10, align 1
store volatile i8 %21, ptr null, align 1
%22 = load i16, ptr %9, align 2
%23 = zext i16 %22 to i32
%24 = and i32 %23, 255
%25 = trunc i32 %24 to i8
store volatile i8 %25, ptr null, align 1
%26 = load volatile i8, ptr null, align 1
%27 = zext i8 %26 to i16
%28 = load ptr, ptr %8, align 8
store i16 %27, ptr %28, align 2
%29 = load volatile i8, ptr null, align 1
%30 = zext i8 %29 to i32
%31 = shl i32 %30, 8
%32 = load ptr, ptr %8, align 8
%33 = load i16, ptr %32, align 2
%34 = zext i16 %33 to i32
%35 = or i32 %34, %31
%36 = trunc i32 %35 to i16
store i16 %36, ptr %32, align 2
%37 = call i32 (...) @OAL_RELEASE_SEMAPHORE()
ret i32 0
}
declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1
declare i32 @OAL_RELEASE_SEMAPHORE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2foxx5hi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_ppi_wordread(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca ptr, align 8
%9 = alloca i16, align 2
%10 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store ptr %3, ptr %8, align 8
store i16 2, ptr %9, align 2
store i8 -64, ptr %10, align 1
%11 = call i32 (...) @OAL_OBTAIN_SEMAPHORE()
%12 = load i16, ptr %7, align 2
%13 = zext i16 %12 to i32
%14 = and i32 %13, 65280
%15 = ashr i32 %14, 8
%16 = trunc i32 %15 to i8
store volatile i8 %16, ptr null, align 1
%17 = load i16, ptr %7, align 2
%18 = zext i16 %17 to i32
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i8
store volatile i8 %20, ptr null, align 1
%21 = load i8, ptr %10, align 1
store volatile i8 %21, ptr null, align 1
%22 = load i16, ptr %9, align 2
%23 = zext i16 %22 to i32
%24 = and i32 %23, 255
%25 = trunc i32 %24 to i8
store volatile i8 %25, ptr null, align 1
%26 = load volatile i8, ptr null, align 1
%27 = zext i8 %26 to i16
%28 = load ptr, ptr %8, align 8
store i16 %27, ptr %28, align 2
%29 = load volatile i8, ptr null, align 1
%30 = zext i8 %29 to i32
%31 = shl i32 %30, 8
%32 = load ptr, ptr %8, align 8
%33 = load i16, ptr %32, align 2
%34 = zext i16 %33 to i32
%35 = or i32 %34, %31
%36 = trunc i32 %35 to i16
store i16 %36, ptr %32, align 2
%37 = call i32 (...) @OAL_RELEASE_SEMAPHORE()
ret i32 0
}
declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1
declare i32 @OAL_RELEASE_SEMAPHORE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8nksjdph.c'
source_filename = "/tmp/tmp8nksjdph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 17)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8nksjdph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 17)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpftj4oj9f.c'
source_filename = "/tmp/tmpftj4oj9f.c"
target datalayout = "e-m:e-p270: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/tmpftj4oj9f.c"
target datalayout = "e-m:e-p270: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/tmpsqzroga3.c'
source_filename = "/tmp/tmpsqzroga3.c"
target datalayout = "e-m:e-p270: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/tmpsqzroga3.c"
target datalayout = "e-m:e-p270: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/tmpnn5dxlo1.c'
source_filename = "/tmp/tmpnn5dxlo1.c"
target datalayout = "e-m:e-p270: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/tmpnn5dxlo1.c"
target datalayout = "e-m:e-p270: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/tmpxu421s0i.c'
source_filename = "/tmp/tmpxu421s0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_hline(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
br label %31
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @sscanf(ptr noundef %17, ptr noundef @.str, ptr noundef %5)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %11
%21 = call i32 @report_count(i32 noundef 1)
%22 = call i32 @report_error(ptr noundef @.str.1)
br label %31
23: ; preds = %11
%24 = call i32 @report_count(i32 noundef 1)
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %5, align 4
%29 = call i32 @hline(i32 noundef %27, i32 noundef %28)
%30 = call i32 @report_return(i32 noundef %29)
br label %31
31: ; preds = %23, %20, %10
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @hline(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/tmpxu421s0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_hline(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
br label %31
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @sscanf(ptr noundef %17, ptr noundef @.str, ptr noundef %5)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %11
%21 = call i32 @report_count(i32 noundef 1)
%22 = call i32 @report_error(ptr noundef @.str.1)
br label %31
23: ; preds = %11
%24 = call i32 @report_count(i32 noundef 1)
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %5, align 4
%29 = call i32 @hline(i32 noundef %27, i32 noundef %28)
%30 = call i32 @report_return(i32 noundef %29)
br label %31
31: ; preds = %23, %20, %10
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @hline(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/tmp5460qld0.c'
source_filename = "/tmp/tmp5460qld0.c"
target datalayout = "e-m:e-p270: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/tmp5460qld0.c"
target datalayout = "e-m:e-p270: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/tmpi_cpnzec.c'
source_filename = "/tmp/tmpi_cpnzec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @request_utf8cplen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %6, align 8
br label %11
11: ; preds = %43, %2
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp ult i64 %16, %17
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ false, %11 ], [ %18, %15 ]
br i1 %20, label %21, label %44
21: ; preds = %19
%22 = load i64, ptr %8, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %8, align 8
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %6, align 8
br label %26
26: ; preds = %40, %21
%27 = load ptr, ptr %4, align 8
%28 = load i64, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = and i32 %31, 192
%33 = icmp eq i32 %32, 128
br i1 %33, label %34, label %38
34: ; preds = %26
%35 = load i64, ptr %6, align 8
%36 = load i64, ptr %7, align 8
%37 = icmp ult i64 %35, %36
br label %38
38: ; preds = %34, %26
%39 = phi i1 [ false, %26 ], [ %37, %34 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load i64, ptr %6, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %6, align 8
br label %26, !llvm.loop !6
43: ; preds = %38
br label %11, !llvm.loop !8
44: ; preds = %19
%45 = load i64, ptr %5, align 8
%46 = load i64, ptr %6, align 8
%47 = icmp ugt i64 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = load i64, ptr %5, align 8
store i64 %49, ptr %3, align 8
br label %52
50: ; preds = %44
%51 = load i64, ptr %6, align 8
store i64 %51, ptr %3, align 8
br label %52
52: ; preds = %50, %48
%53 = load i64, ptr %3, align 8
ret i64 %53
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi_cpnzec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @request_utf8cplen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %6, align 8
br label %11
11: ; preds = %43, %2
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp ult i64 %16, %17
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ false, %11 ], [ %18, %15 ]
br i1 %20, label %21, label %44
21: ; preds = %19
%22 = load i64, ptr %8, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %8, align 8
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %6, align 8
br label %26
26: ; preds = %40, %21
%27 = load ptr, ptr %4, align 8
%28 = load i64, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = and i32 %31, 192
%33 = icmp eq i32 %32, 128
br i1 %33, label %34, label %38
34: ; preds = %26
%35 = load i64, ptr %6, align 8
%36 = load i64, ptr %7, align 8
%37 = icmp ult i64 %35, %36
br label %38
38: ; preds = %34, %26
%39 = phi i1 [ false, %26 ], [ %37, %34 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load i64, ptr %6, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %6, align 8
br label %26, !llvm.loop !6
43: ; preds = %38
br label %11, !llvm.loop !8
44: ; preds = %19
%45 = load i64, ptr %5, align 8
%46 = load i64, ptr %6, align 8
%47 = icmp ugt i64 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = load i64, ptr %5, align 8
store i64 %49, ptr %3, align 8
br label %52
50: ; preds = %44
%51 = load i64, ptr %6, align 8
store i64 %51, ptr %3, align 8
br label %52
52: ; preds = %50, %48
%53 = load i64, ptr %3, align 8
ret i64 %53
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp15j61uw1.c'
source_filename = "/tmp/tmp15j61uw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"Welcome to the 8th-level branch office of the First National Bank of Ularn.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @obank2() #0 {
%1 = call i32 @banktitle(ptr noundef @.str)
ret void
}
declare i32 @banktitle(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp15j61uw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"Welcome to the 8th-level branch office of the First National Bank of Ularn.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @obank2() #0 {
%1 = call i32 @banktitle(ptr noundef @.str)
ret void
}
declare i32 @banktitle(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpemwlfe1y.c'
source_filename = "/tmp/tmpemwlfe1y.c"
target datalayout = "e-m:e-p270: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/tmpemwlfe1y.c"
target datalayout = "e-m:e-p270: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/tmpunio_a3q.c'
source_filename = "/tmp/tmpunio_a3q.c"
target datalayout = "e-m:e-p270: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/tmpunio_a3q.c"
target datalayout = "e-m:e-p270: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/tmpygz683qi.c'
source_filename = "/tmp/tmpygz683qi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XXH32_result_SSE2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @XXH32_getIntermediateResult_SSE2(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = load i32, ptr %3, align 4
ret i32 %8
}
declare i32 @XXH32_getIntermediateResult_SSE2(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/tmpygz683qi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XXH32_result_SSE2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @XXH32_getIntermediateResult_SSE2(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = load i32, ptr %3, align 4
ret i32 %8
}
declare i32 @XXH32_getIntermediateResult_SSE2(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/tmpu9t5o2em.c'
source_filename = "/tmp/tmpu9t5o2em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Error enabling I2C clocks: %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [95 x i8] c"Using address 0x%X (0x%X).\0AYou can provide address as a parameter (in hexadecimal without 0x)\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"I2C-2 initialized\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Sonar firmware version: %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Range: %u (%u %u)\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 i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 (...) @enable_i2c_clocls()
store i32 %13, ptr %8, align 4
store i32 0, ptr %11, align 4
store i32 224, ptr %12, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load i32, ptr %8, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %8, align 4
store i32 %19, ptr %3, align 4
br label %69
20: ; preds = %2
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strtol(ptr noundef %26, ptr noundef null, i32 noundef 16)
store i32 %27, ptr %12, align 4
br label %28
28: ; preds = %23, %20
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = ashr i32 %30, 1
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %31)
%33 = load i32, ptr %12, align 4
%34 = ashr i32 %33, 1
store i32 %34, ptr %12, align 4
%35 = call i32 @i2c_init(i32 noundef 100000, i32 noundef 1)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = call i32 @usleep(i32 noundef 100000)
%38 = load i32, ptr %12, align 4
%39 = call i32 @i2c_reg_read(i32 noundef %38, i32 noundef 0)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40)
%42 = load i32, ptr %12, align 4
%43 = call i32 @i2c_reg_write(i32 noundef %42, i32 noundef 1, i32 noundef 7)
store i64 0, ptr %6, align 8
br label %44
44: ; preds = %64, %28
%45 = load i64, ptr %6, align 8
%46 = icmp ult i64 %45, 200
br i1 %46, label %47, label %67
47: ; preds = %44
%48 = load i32, ptr %12, align 4
%49 = call i32 @i2c_reg_write(i32 noundef %48, i32 noundef 0, i32 noundef 81)
%50 = call i32 @usleep(i32 noundef 65000)
%51 = load i32, ptr %12, align 4
%52 = call i32 @i2c_reg_read(i32 noundef %51, i32 noundef 2)
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %12, align 4
%54 = call i32 @i2c_reg_read(i32 noundef %53, i32 noundef 3)
store i32 %54, ptr %10, align 4
%55 = load i32, ptr %9, align 4
%56 = shl i32 %55, 8
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %56, %57
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %11, align 4
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %10, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59, i32 noundef %60, i32 noundef %61)
%63 = call i32 @usleep(i32 noundef 100000)
br label %64
64: ; preds = %47
%65 = load i64, ptr %6, align 8
%66 = add i64 %65, 1
store i64 %66, ptr %6, align 8
br label %44, !llvm.loop !6
67: ; preds = %44
%68 = call i32 (...) @i2c_uninit()
store i32 0, ptr %3, align 4
br label %69
69: ; preds = %67, %16
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare i32 @enable_i2c_clocls(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @i2c_init(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @i2c_reg_read(i32 noundef, i32 noundef) #1
declare i32 @i2c_reg_write(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @i2c_uninit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpu9t5o2em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Error enabling I2C clocks: %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [95 x i8] c"Using address 0x%X (0x%X).\0AYou can provide address as a parameter (in hexadecimal without 0x)\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"I2C-2 initialized\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Sonar firmware version: %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Range: %u (%u %u)\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 i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 (...) @enable_i2c_clocls()
store i32 %13, ptr %8, align 4
store i32 0, ptr %11, align 4
store i32 224, ptr %12, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load i32, ptr %8, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %8, align 4
store i32 %19, ptr %3, align 4
br label %70
20: ; preds = %2
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strtol(ptr noundef %26, ptr noundef null, i32 noundef 16)
store i32 %27, ptr %12, align 4
br label %28
28: ; preds = %23, %20
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = ashr i32 %30, 1
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %31)
%33 = load i32, ptr %12, align 4
%34 = ashr i32 %33, 1
store i32 %34, ptr %12, align 4
%35 = call i32 @i2c_init(i32 noundef 100000, i32 noundef 1)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = call i32 @usleep(i32 noundef 100000)
%38 = load i32, ptr %12, align 4
%39 = call i32 @i2c_reg_read(i32 noundef %38, i32 noundef 0)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40)
%42 = load i32, ptr %12, align 4
%43 = call i32 @i2c_reg_write(i32 noundef %42, i32 noundef 1, i32 noundef 7)
store i64 0, ptr %6, align 8
%44 = load i64, ptr %6, align 8
%45 = icmp ult i64 %44, 200
br i1 %45, label %.lr.ph, label %68
.lr.ph: ; preds = %28
br label %46
46: ; preds = %.lr.ph, %63
%47 = load i32, ptr %12, align 4
%48 = call i32 @i2c_reg_write(i32 noundef %47, i32 noundef 0, i32 noundef 81)
%49 = call i32 @usleep(i32 noundef 65000)
%50 = load i32, ptr %12, align 4
%51 = call i32 @i2c_reg_read(i32 noundef %50, i32 noundef 2)
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %12, align 4
%53 = call i32 @i2c_reg_read(i32 noundef %52, i32 noundef 3)
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %9, align 4
%55 = shl i32 %54, 8
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %55, %56
store i32 %57, ptr %11, align 4
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %58, i32 noundef %59, i32 noundef %60)
%62 = call i32 @usleep(i32 noundef 100000)
br label %63
63: ; preds = %46
%64 = load i64, ptr %6, align 8
%65 = add i64 %64, 1
store i64 %65, ptr %6, align 8
%66 = load i64, ptr %6, align 8
%67 = icmp ult i64 %66, 200
br i1 %67, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %68
68: ; preds = %._crit_edge, %28
%69 = call i32 (...) @i2c_uninit()
store i32 0, ptr %3, align 4
br label %70
70: ; preds = %68, %16
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare i32 @enable_i2c_clocls(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @i2c_init(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @i2c_reg_read(i32 noundef, i32 noundef) #1
declare i32 @i2c_reg_write(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @i2c_uninit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp2ee758m9.c'
source_filename = "/tmp/tmp2ee758m9.c"
target datalayout = "e-m:e-p270: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/tmp2ee758m9.c"
target datalayout = "e-m:e-p270: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/tmpd7btxiq9.c'
source_filename = "/tmp/tmpd7btxiq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@readSourceLine.buffer = internal global [1000 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readSourceLine(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @sourceFileName(i32 noundef %8)
%10 = call ptr @fopen(i32 noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %40
13: ; preds = %2
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %34, %13
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = call i64 @fgets(ptr noundef @readSourceLine.buffer, i32 noundef 1000, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store ptr null, ptr %3, align 8
br label %41
23: ; preds = %18
br label %24
24: ; preds = %32, %23
%25 = call ptr @strchr(ptr noundef @readSourceLine.buffer, i8 noundef signext 10)
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load ptr, ptr %7, align 8
%29 = call i64 @fgets(ptr noundef @readSourceLine.buffer, i32 noundef 1000, ptr noundef %28)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store ptr @readSourceLine.buffer, ptr %3, align 8
br label %41
32: ; preds = %27
br label %24, !llvm.loop !6
33: ; preds = %24
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %14, !llvm.loop !8
37: ; preds = %14
%38 = load ptr, ptr %7, align 8
%39 = call i32 @fclose(ptr noundef %38)
store ptr @readSourceLine.buffer, ptr %3, align 8
br label %41
40: ; preds = %2
store ptr null, ptr %3, align 8
br label %41
41: ; preds = %40, %37, %31, %22
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @sourceFileName(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #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/tmpd7btxiq9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@readSourceLine.buffer = internal global [1000 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readSourceLine(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @sourceFileName(i32 noundef %8)
%10 = call ptr @fopen(i32 noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %43
13: ; preds = %2
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph2, label %40
.lr.ph2: ; preds = %13
br label %17
17: ; preds = %.lr.ph2, %34
%18 = load ptr, ptr %7, align 8
%19 = call i64 @fgets(ptr noundef @readSourceLine.buffer, i32 noundef 1000, ptr noundef %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store ptr null, ptr %3, align 8
br label %44
22: ; preds = %17
%23 = call ptr @strchr(ptr noundef @readSourceLine.buffer, i8 noundef signext 10)
%24 = icmp eq ptr %23, null
br i1 %24, label %.lr.ph, label %33
.lr.ph: ; preds = %22
br label %28
25: ; preds = %28
%26 = call ptr @strchr(ptr noundef @readSourceLine.buffer, i8 noundef signext 10)
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %._crit_edge, !llvm.loop !6
28: ; preds = %.lr.ph, %25
%29 = load ptr, ptr %7, align 8
%30 = call i64 @fgets(ptr noundef @readSourceLine.buffer, i32 noundef 1000, ptr noundef %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %25
32: ; preds = %28
store ptr @readSourceLine.buffer, ptr %3, align 8
br label %44
._crit_edge: ; preds = %25
br label %33
33: ; preds = %._crit_edge, %22
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %40
40: ; preds = %._crit_edge3, %13
%41 = load ptr, ptr %7, align 8
%42 = call i32 @fclose(ptr noundef %41)
store ptr @readSourceLine.buffer, ptr %3, align 8
br label %44
43: ; preds = %2
store ptr null, ptr %3, align 8
br label %44
44: ; preds = %43, %40, %32, %21
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @sourceFileName(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #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/tmpxzzt5xyr.c'
source_filename = "/tmp/tmpxzzt5xyr.c"
target datalayout = "e-m:e-p270: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/tmpxzzt5xyr.c"
target datalayout = "e-m:e-p270: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/tmpd9aa32xz.c'
source_filename = "/tmp/tmpd9aa32xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd9aa32xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptms5yytc.c'
source_filename = "/tmp/tmptms5yytc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pipeHelperWriteChar(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret i32 %6
}
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/tmptms5yytc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pipeHelperWriteChar(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret i32 %6
}
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/tmpgpz6xyg7.c'
source_filename = "/tmp/tmpgpz6xyg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @natural(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @floorf(double noundef %3)
%5 = load double, ptr %2, align 8
%6 = fcmp oeq double %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare double @floorf(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/tmpgpz6xyg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @natural(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @floorf(double noundef %3)
%5 = load double, ptr %2, align 8
%6 = fcmp oeq double %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare double @floorf(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/tmps7ibr25h.c'
source_filename = "/tmp/tmps7ibr25h.c"
target datalayout = "e-m:e-p270: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/tmps7ibr25h.c"
target datalayout = "e-m:e-p270: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/tmp9t6_y52e.c'
source_filename = "/tmp/tmp9t6_y52e.c"
target datalayout = "e-m:e-p270: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/tmp9t6_y52e.c"
target datalayout = "e-m:e-p270: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/tmpbfjhc0lr.c'
source_filename = "/tmp/tmpbfjhc0lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [5 x i8] c"%53s\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\1B[32mSuccess\1B[39m\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"\1B[31mFailure\1B[39m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @meta_accept_payment(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
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
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %8, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @accept_payment(ptr noundef %15, i32 noundef 5)
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %25
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 1
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %21, align 4
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2)
br label %31
25: ; preds = %4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 2
%28 = load i32, ptr %27, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %27, align 4
%30 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.3)
br label %31
31: ; preds = %25, %19
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @accept_payment(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/tmpbfjhc0lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [5 x i8] c"%53s\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\1B[32mSuccess\1B[39m\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"\1B[31mFailure\1B[39m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @meta_accept_payment(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
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
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %8, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @accept_payment(ptr noundef %15, i32 noundef 5)
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %25
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 1
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %21, align 4
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2)
br label %31
25: ; preds = %4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 2
%28 = load i32, ptr %27, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %27, align 4
%30 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.3)
br label %31
31: ; preds = %25, %19
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @accept_payment(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/tmp3ms0ism9.c'
source_filename = "/tmp/tmp3ms0ism9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [100 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %0, %21
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 43
br i1 %19, label %20, label %21
20: ; preds = %9
br label %22
21: ; preds = %9
br label %9
22: ; preds = %20
%23 = load i32, ptr %6, align 4
store i32 %23, ptr %7, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %6, align 4
br label %24
24: ; preds = %36, %22
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %39
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = mul nsw i32 %34, 10
store i32 %35, ptr %2, align 4
br label %36
36: ; preds = %28
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %24, !llvm.loop !6
39: ; preds = %24
%40 = load i32, ptr %2, align 4
%41 = sdiv i32 %40, 10
store i32 %41, ptr %2, align 4
%42 = load i32, ptr %1, align 4
ret i32 %42
}
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/tmp3ms0ism9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [100 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %9, %0
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 43
br i1 %19, label %20, label %9
20: ; preds = %9
br label %21
21: ; preds = %20
%22 = load i32, ptr %6, align 4
store i32 %22, ptr %7, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %40
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %34
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = mul nsw i32 %32, 10
store i32 %33, ptr %2, align 4
br label %34
34: ; preds = %26
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %21
%41 = load i32, ptr %2, align 4
%42 = sdiv i32 %41, 10
store i32 %42, ptr %2, align 4
%43 = load i32, ptr %1, align 4
ret i32 %43
}
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/tmpsm09u0h9.c'
source_filename = "/tmp/tmpsm09u0h9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpc_delete_node(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %1
br label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @_free_rpc_node(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @free(ptr noundef %9)
br label %11
11: ; preds = %6, %5
ret void
}
declare i32 @_free_rpc_node(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/tmpsm09u0h9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpc_delete_node(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %1
br label %11
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @_free_rpc_node(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @free(ptr noundef %9)
br label %11
11: ; preds = %6, %5
ret void
}
declare i32 @_free_rpc_node(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/tmppsyd7bpt.c'
source_filename = "/tmp/tmppsyd7bpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"the charge\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c" the radius\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c" the potential depth\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c" the ion mass\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"atom 0 0 0 myserial uber.ion %f %f %f %f;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [80 x i8], align 16
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 80, i32 noundef %11)
%13 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str.1, ptr noundef %2)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @fgets(ptr noundef %16, i32 noundef 80, i32 noundef %17)
%19 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%20 = call i32 @sscanf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %5)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%22 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%23 = load i32, ptr @stdin, align 4
%24 = call i32 @fgets(ptr noundef %22, i32 noundef 80, i32 noundef %23)
%25 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.1, ptr noundef %6)
%27 = load float, ptr %6, align 4
%28 = call float @fabs(float noundef %27)
store float %28, ptr %6, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%31 = load i32, ptr @stdin, align 4
%32 = call i32 @fgets(ptr noundef %30, i32 noundef 80, i32 noundef %31)
%33 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%34 = call i32 @sscanf(ptr noundef %33, ptr noundef @.str.1, ptr noundef %7)
%35 = load float, ptr %5, align 4
%36 = load float, ptr %5, align 4
%37 = fmul float %35, %36
%38 = load float, ptr %5, align 4
%39 = fmul float %37, %38
store float %39, ptr %5, align 4
%40 = load float, ptr %5, align 4
%41 = load float, ptr %5, align 4
%42 = fmul float %41, %40
store float %42, ptr %5, align 4
%43 = load float, ptr %6, align 4
%44 = fpext float %43 to double
%45 = fmul double 2.000000e+00, %44
%46 = load float, ptr %5, align 4
%47 = fpext float %46 to double
%48 = fmul double %45, %47
%49 = fptrunc double %48 to float
%50 = call float @sqrt(float noundef %49)
store float %50, ptr %3, align 4
%51 = load float, ptr %6, align 4
%52 = load float, ptr %5, align 4
%53 = fmul float %51, %52
%54 = load float, ptr %5, align 4
%55 = fmul float %53, %54
%56 = call float @sqrt(float noundef %55)
store float %56, ptr %4, align 4
%57 = load float, ptr %2, align 4
%58 = fpext float %57 to double
%59 = load float, ptr %3, align 4
%60 = fpext float %59 to double
%61 = load float, ptr %4, align 4
%62 = fpext float %61 to double
%63 = load float, ptr %7, align 4
%64 = fpext float %63 to double
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %58, double noundef %60, double noundef %62, double noundef %64)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare float @fabs(float noundef) #1
declare float @sqrt(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/tmppsyd7bpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"the charge\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c" the radius\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c" the potential depth\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c" the ion mass\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"atom 0 0 0 myserial uber.ion %f %f %f %f;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [80 x i8], align 16
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 80, i32 noundef %11)
%13 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%14 = call i32 @sscanf(ptr noundef %13, ptr noundef @.str.1, ptr noundef %2)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @fgets(ptr noundef %16, i32 noundef 80, i32 noundef %17)
%19 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%20 = call i32 @sscanf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %5)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%22 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%23 = load i32, ptr @stdin, align 4
%24 = call i32 @fgets(ptr noundef %22, i32 noundef 80, i32 noundef %23)
%25 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.1, ptr noundef %6)
%27 = load float, ptr %6, align 4
%28 = call float @fabs(float noundef %27)
store float %28, ptr %6, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%31 = load i32, ptr @stdin, align 4
%32 = call i32 @fgets(ptr noundef %30, i32 noundef 80, i32 noundef %31)
%33 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%34 = call i32 @sscanf(ptr noundef %33, ptr noundef @.str.1, ptr noundef %7)
%35 = load float, ptr %5, align 4
%36 = load float, ptr %5, align 4
%37 = fmul float %35, %36
%38 = load float, ptr %5, align 4
%39 = fmul float %37, %38
store float %39, ptr %5, align 4
%40 = load float, ptr %5, align 4
%41 = load float, ptr %5, align 4
%42 = fmul float %41, %40
store float %42, ptr %5, align 4
%43 = load float, ptr %6, align 4
%44 = fpext float %43 to double
%45 = fmul double 2.000000e+00, %44
%46 = load float, ptr %5, align 4
%47 = fpext float %46 to double
%48 = fmul double %45, %47
%49 = fptrunc double %48 to float
%50 = call float @sqrt(float noundef %49)
store float %50, ptr %3, align 4
%51 = load float, ptr %6, align 4
%52 = load float, ptr %5, align 4
%53 = fmul float %51, %52
%54 = load float, ptr %5, align 4
%55 = fmul float %53, %54
%56 = call float @sqrt(float noundef %55)
store float %56, ptr %4, align 4
%57 = load float, ptr %2, align 4
%58 = fpext float %57 to double
%59 = load float, ptr %3, align 4
%60 = fpext float %59 to double
%61 = load float, ptr %4, align 4
%62 = fpext float %61 to double
%63 = load float, ptr %7, align 4
%64 = fpext float %63 to double
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %58, double noundef %60, double noundef %62, double noundef %64)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare float @fabs(float noundef) #1
declare float @sqrt(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/tmpgcm2hr_f.c'
source_filename = "/tmp/tmpgcm2hr_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"import struct\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"event = struct.Struct('=IhBB')\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"corr = struct.Struct('=ihH')\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"version = 0x%x\0A\00", align 1
@JS_VERSION = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [21 x i8] c"event_button = 0x%x\0A\00", align 1
@JS_EVENT_BUTTON = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [19 x i8] c"event_axis = 0x%x\0A\00", align 1
@JS_EVENT_AXIS = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [19 x i8] c"event_init = 0x%x\0A\00", align 1
@JS_EVENT_INIT = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [17 x i8] c"gversion = 0x%x\0A\00", align 1
@JSIOCGVERSION = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [14 x i8] c"gaxes = 0x%x\0A\00", align 1
@JSIOCGAXES = dso_local global i64 0, align 8
@.str.9 = private unnamed_addr constant [17 x i8] c"gbuttons = 0x%x\0A\00", align 1
@JSIOCGBUTTONS = dso_local global i64 0, align 8
@.str.10 = private unnamed_addr constant [14 x i8] c"gname = 0x%x\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"scorr = 0x%x\0A\00", align 1
@JSIOCSCORR = dso_local global i64 0, align 8
@.str.12 = private unnamed_addr constant [14 x i8] c"gcorr = 0x%x\0A\00", align 1
@JSIOCGCORR = dso_local global i64 0, align 8
@.str.13 = private unnamed_addr constant [15 x i8] c"saxmap = 0x%x\0A\00", align 1
@JSIOCSAXMAP = dso_local global i64 0, align 8
@.str.14 = private unnamed_addr constant [15 x i8] c"gaxmap = 0x%x\0A\00", align 1
@JSIOCGAXMAP = dso_local global i64 0, align 8
@.str.15 = private unnamed_addr constant [16 x i8] c"sbtnmap = 0x%x\0A\00", align 1
@JSIOCSBTNMAP = dso_local global i64 0, align 8
@.str.16 = private unnamed_addr constant [16 x i8] c"gbtnmap = 0x%x\0A\00", align 1
@JSIOCGBTNMAP = dso_local global i64 0, align 8
@.str.17 = private unnamed_addr constant [18 x i8] c"corr_none = 0x%x\0A\00", align 1
@JS_CORR_NONE = dso_local global i64 0, align 8
@.str.18 = private unnamed_addr constant [20 x i8] c"corr_broken = 0x%x\0A\00", align 1
@JS_CORR_BROKEN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%5 = load i64, ptr @JS_VERSION, align 8
%6 = trunc i64 %5 to i32
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %6)
%8 = load i64, ptr @JS_EVENT_BUTTON, align 8
%9 = trunc i64 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %9)
%11 = load i64, ptr @JS_EVENT_AXIS, align 8
%12 = trunc i64 %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %12)
%14 = load i64, ptr @JS_EVENT_INIT, align 8
%15 = trunc i64 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %15)
%17 = load i64, ptr @JSIOCGVERSION, align 8
%18 = trunc i64 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %18)
%20 = load i64, ptr @JSIOCGAXES, align 8
%21 = trunc i64 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %21)
%23 = load i64, ptr @JSIOCGBUTTONS, align 8
%24 = trunc i64 %23 to i32
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %24)
%26 = call i64 @JSIOCGNAME(i32 noundef 4096)
%27 = trunc i64 %26 to i32
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %27)
%29 = load i64, ptr @JSIOCSCORR, align 8
%30 = trunc i64 %29 to i32
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %30)
%32 = load i64, ptr @JSIOCGCORR, align 8
%33 = trunc i64 %32 to i32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %33)
%35 = load i64, ptr @JSIOCSAXMAP, align 8
%36 = trunc i64 %35 to i32
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %36)
%38 = load i64, ptr @JSIOCGAXMAP, align 8
%39 = trunc i64 %38 to i32
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %39)
%41 = load i64, ptr @JSIOCSBTNMAP, align 8
%42 = trunc i64 %41 to i32
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %42)
%44 = load i64, ptr @JSIOCGBTNMAP, align 8
%45 = trunc i64 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %45)
%47 = load i64, ptr @JS_CORR_NONE, align 8
%48 = trunc i64 %47 to i32
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %48)
%50 = load i64, ptr @JS_CORR_BROKEN, align 8
%51 = trunc i64 %50 to i32
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %51)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @JSIOCGNAME(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/tmpgcm2hr_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"import struct\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"event = struct.Struct('=IhBB')\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"corr = struct.Struct('=ihH')\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"version = 0x%x\0A\00", align 1
@JS_VERSION = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [21 x i8] c"event_button = 0x%x\0A\00", align 1
@JS_EVENT_BUTTON = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [19 x i8] c"event_axis = 0x%x\0A\00", align 1
@JS_EVENT_AXIS = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [19 x i8] c"event_init = 0x%x\0A\00", align 1
@JS_EVENT_INIT = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [17 x i8] c"gversion = 0x%x\0A\00", align 1
@JSIOCGVERSION = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [14 x i8] c"gaxes = 0x%x\0A\00", align 1
@JSIOCGAXES = dso_local global i64 0, align 8
@.str.9 = private unnamed_addr constant [17 x i8] c"gbuttons = 0x%x\0A\00", align 1
@JSIOCGBUTTONS = dso_local global i64 0, align 8
@.str.10 = private unnamed_addr constant [14 x i8] c"gname = 0x%x\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"scorr = 0x%x\0A\00", align 1
@JSIOCSCORR = dso_local global i64 0, align 8
@.str.12 = private unnamed_addr constant [14 x i8] c"gcorr = 0x%x\0A\00", align 1
@JSIOCGCORR = dso_local global i64 0, align 8
@.str.13 = private unnamed_addr constant [15 x i8] c"saxmap = 0x%x\0A\00", align 1
@JSIOCSAXMAP = dso_local global i64 0, align 8
@.str.14 = private unnamed_addr constant [15 x i8] c"gaxmap = 0x%x\0A\00", align 1
@JSIOCGAXMAP = dso_local global i64 0, align 8
@.str.15 = private unnamed_addr constant [16 x i8] c"sbtnmap = 0x%x\0A\00", align 1
@JSIOCSBTNMAP = dso_local global i64 0, align 8
@.str.16 = private unnamed_addr constant [16 x i8] c"gbtnmap = 0x%x\0A\00", align 1
@JSIOCGBTNMAP = dso_local global i64 0, align 8
@.str.17 = private unnamed_addr constant [18 x i8] c"corr_none = 0x%x\0A\00", align 1
@JS_CORR_NONE = dso_local global i64 0, align 8
@.str.18 = private unnamed_addr constant [20 x i8] c"corr_broken = 0x%x\0A\00", align 1
@JS_CORR_BROKEN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%5 = load i64, ptr @JS_VERSION, align 8
%6 = trunc i64 %5 to i32
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %6)
%8 = load i64, ptr @JS_EVENT_BUTTON, align 8
%9 = trunc i64 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %9)
%11 = load i64, ptr @JS_EVENT_AXIS, align 8
%12 = trunc i64 %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %12)
%14 = load i64, ptr @JS_EVENT_INIT, align 8
%15 = trunc i64 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %15)
%17 = load i64, ptr @JSIOCGVERSION, align 8
%18 = trunc i64 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %18)
%20 = load i64, ptr @JSIOCGAXES, align 8
%21 = trunc i64 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %21)
%23 = load i64, ptr @JSIOCGBUTTONS, align 8
%24 = trunc i64 %23 to i32
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %24)
%26 = call i64 @JSIOCGNAME(i32 noundef 4096)
%27 = trunc i64 %26 to i32
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %27)
%29 = load i64, ptr @JSIOCSCORR, align 8
%30 = trunc i64 %29 to i32
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %30)
%32 = load i64, ptr @JSIOCGCORR, align 8
%33 = trunc i64 %32 to i32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %33)
%35 = load i64, ptr @JSIOCSAXMAP, align 8
%36 = trunc i64 %35 to i32
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %36)
%38 = load i64, ptr @JSIOCGAXMAP, align 8
%39 = trunc i64 %38 to i32
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %39)
%41 = load i64, ptr @JSIOCSBTNMAP, align 8
%42 = trunc i64 %41 to i32
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %42)
%44 = load i64, ptr @JSIOCGBTNMAP, align 8
%45 = trunc i64 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %45)
%47 = load i64, ptr @JS_CORR_NONE, align 8
%48 = trunc i64 %47 to i32
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %48)
%50 = load i64, ptr @JS_CORR_BROKEN, align 8
%51 = trunc i64 %50 to i32
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %51)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @JSIOCGNAME(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/tmpiarid9gg.c'
source_filename = "/tmp/tmpiarid9gg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Act_Distance() #0 {
%1 = call i32 (...) @ArgItem()
%2 = call i32 (...) @ArgItem()
%3 = call i32 (...) @ArgNum()
ret void
}
declare i32 @ArgItem(...) #1
declare i32 @ArgNum(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiarid9gg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Act_Distance() #0 {
%1 = call i32 (...) @ArgItem()
%2 = call i32 (...) @ArgItem()
%3 = call i32 (...) @ArgNum()
ret void
}
declare i32 @ArgItem(...) #1
declare i32 @ArgNum(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoxu46r9h.c'
source_filename = "/tmp/tmpoxu46r9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbb(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @ccc(i32 noundef 789)
ret void
}
declare i32 @ccc(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/tmpoxu46r9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbb(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @ccc(i32 noundef 789)
ret void
}
declare i32 @ccc(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/tmpy24oke98.c'
source_filename = "/tmp/tmpy24oke98.c"
target datalayout = "e-m:e-p270: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/tmpy24oke98.c"
target datalayout = "e-m:e-p270: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/tmphcfm3e6j.c'
source_filename = "/tmp/tmphcfm3e6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @name_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphcfm3e6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @name_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm0k43ykp.c'
source_filename = "/tmp/tmpm0k43ykp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 32)
store ptr %3, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 8)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
store ptr %4, ptr %6, align 8
%7 = call ptr @malloc(i32 noundef 8)
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
store ptr %7, ptr %9, align 8
%10 = call ptr @malloc(i32 noundef 8)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 2
store ptr %10, ptr %12, align 8
%13 = call ptr @malloc(i32 noundef 8)
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 3
store ptr %13, ptr %15, align 8
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
store i32 0, ptr %19, align 4
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 1
store i32 1, ptr %23, align 4
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
store i32 3, ptr %27, align 4
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 1
store i32 2, ptr %31, align 4
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 0
store i32 1, ptr %35, align 4
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
store i32 3, ptr %39, align 4
%40 = load ptr, ptr %2, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
%43 = getelementptr inbounds i32, ptr %42, i64 0
store i32 3, ptr %43, align 4
%44 = load ptr, ptr %2, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 3
%46 = load ptr, ptr %45, align 8
%47 = getelementptr inbounds i32, ptr %46, i64 1
store i32 1, ptr %47, align 4
%48 = load ptr, ptr %2, align 8
%49 = call i32 @canFinish(i32 noundef 4, ptr noundef %48, i32 noundef 4, i32 noundef 2)
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %49)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @canFinish(i32 noundef, 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/tmpm0k43ykp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 32)
store ptr %3, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 8)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
store ptr %4, ptr %6, align 8
%7 = call ptr @malloc(i32 noundef 8)
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
store ptr %7, ptr %9, align 8
%10 = call ptr @malloc(i32 noundef 8)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 2
store ptr %10, ptr %12, align 8
%13 = call ptr @malloc(i32 noundef 8)
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 3
store ptr %13, ptr %15, align 8
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
store i32 0, ptr %19, align 4
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 1
store i32 1, ptr %23, align 4
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
store i32 3, ptr %27, align 4
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 1
store i32 2, ptr %31, align 4
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 0
store i32 1, ptr %35, align 4
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
store i32 3, ptr %39, align 4
%40 = load ptr, ptr %2, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
%43 = getelementptr inbounds i32, ptr %42, i64 0
store i32 3, ptr %43, align 4
%44 = load ptr, ptr %2, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 3
%46 = load ptr, ptr %45, align 8
%47 = getelementptr inbounds i32, ptr %46, i64 1
store i32 1, ptr %47, align 4
%48 = load ptr, ptr %2, align 8
%49 = call i32 @canFinish(i32 noundef 4, ptr noundef %48, i32 noundef 4, i32 noundef 2)
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %49)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @canFinish(i32 noundef, 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/tmp9dxzwi5y.c'
source_filename = "/tmp/tmp9dxzwi5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isanumber(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 @strtol(ptr noundef %4, ptr noundef %3, i32 noundef 0)
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = icmp ne ptr %6, %7
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br label %14
14: ; preds = %9, %1
%15 = phi i1 [ false, %1 ], [ %13, %9 ]
%16 = zext i1 %15 to i32
ret i32 %16
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dxzwi5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isanumber(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 @strtol(ptr noundef %4, ptr noundef %3, i32 noundef 0)
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = icmp ne ptr %6, %7
br i1 %8, label %9, label %14
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br label %14
14: ; preds = %9, %1
%15 = phi i1 [ false, %1 ], [ %13, %9 ]
%16 = zext i1 %15 to i32
ret i32 %16
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgg5688fu.c'
source_filename = "/tmp/tmpgg5688fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rlemap_unpackVRam(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i8, align 1
%13 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
store i16 %2, ptr %6, align 2
%14 = call i32 @VDP_setAutoInc(i32 noundef 2)
store ptr inttoptr (i64 12582916 to ptr), ptr %7, align 8
store ptr inttoptr (i64 12582912 to ptr), ptr %8, align 8
%15 = load i16, ptr %5, align 2
%16 = zext i16 %15 to i32
%17 = and i32 %16, 16383
%18 = add nsw i32 16384, %17
%19 = shl i32 %18, 16
%20 = load i16, ptr %5, align 2
%21 = zext i16 %20 to i32
%22 = ashr i32 %21, 14
%23 = or i32 %22, 0
%24 = add nsw i32 %19, %23
%25 = sext i32 %24 to i64
%26 = load ptr, ptr %7, align 8
store volatile i64 %25, ptr %26, align 8
%27 = load ptr, ptr %4, align 8
%28 = load i16, ptr %27, align 2
store i16 %28, ptr %10, align 2
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 2
store ptr %30, ptr %9, align 8
br label %31
31: ; preds = %87, %3
%32 = load i16, ptr %10, align 2
%33 = add i16 %32, -1
store i16 %33, ptr %10, align 2
%34 = icmp ne i16 %32, 0
br i1 %34, label %35, label %88
35: ; preds = %31
%36 = load ptr, ptr %9, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %9, align 8
%38 = load i8, ptr %36, align 1
store i8 %38, ptr %12, align 1
%39 = load i8, ptr %12, align 1
%40 = zext i8 %39 to i32
%41 = and i32 %40, 127
%42 = add nsw i32 %41, 1
%43 = trunc i32 %42 to i16
store i16 %43, ptr %13, align 2
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 0
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = shl i32 %47, 8
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 1
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = shl i32 %52, 0
%54 = or i32 %48, %53
%55 = trunc i32 %54 to i16
store i16 %55, ptr %11, align 2
%56 = load i16, ptr %6, align 2
%57 = zext i16 %56 to i32
%58 = load i16, ptr %11, align 2
%59 = zext i16 %58 to i32
%60 = add nsw i32 %59, %57
%61 = trunc i32 %60 to i16
store i16 %61, ptr %11, align 2
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 2
store ptr %63, ptr %9, align 8
%64 = load i8, ptr %12, align 1
%65 = zext i8 %64 to i32
%66 = and i32 %65, 128
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %78
68: ; preds = %35
br label %69
69: ; preds = %73, %68
%70 = load i16, ptr %13, align 2
%71 = add i16 %70, -1
store i16 %71, ptr %13, align 2
%72 = icmp ne i16 %70, 0
br i1 %72, label %73, label %77
73: ; preds = %69
%74 = load i16, ptr %11, align 2
%75 = add i16 %74, 1
store i16 %75, ptr %11, align 2
%76 = load ptr, ptr %8, align 8
store volatile i16 %74, ptr %76, align 2
br label %69, !llvm.loop !6
77: ; preds = %69
br label %87
78: ; preds = %35
br label %79
79: ; preds = %83, %78
%80 = load i16, ptr %13, align 2
%81 = add i16 %80, -1
store i16 %81, ptr %13, align 2
%82 = icmp ne i16 %80, 0
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = load i16, ptr %11, align 2
%85 = load ptr, ptr %8, align 8
store volatile i16 %84, ptr %85, align 2
br label %79, !llvm.loop !8
86: ; preds = %79
br label %87
87: ; preds = %86, %77
br label %31, !llvm.loop !9
88: ; preds = %31
ret void
}
declare i32 @VDP_setAutoInc(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/tmpgg5688fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rlemap_unpackVRam(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i8, align 1
%13 = alloca i16, align 2
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
store i16 %2, ptr %6, align 2
%14 = call i32 @VDP_setAutoInc(i32 noundef 2)
store ptr inttoptr (i64 12582916 to ptr), ptr %7, align 8
store ptr inttoptr (i64 12582912 to ptr), ptr %8, align 8
%15 = load i16, ptr %5, align 2
%16 = zext i16 %15 to i32
%17 = and i32 %16, 16383
%18 = add nsw i32 16384, %17
%19 = shl i32 %18, 16
%20 = load i16, ptr %5, align 2
%21 = zext i16 %20 to i32
%22 = ashr i32 %21, 14
%23 = or i32 %22, 0
%24 = add nsw i32 %19, %23
%25 = sext i32 %24 to i64
%26 = load ptr, ptr %7, align 8
store volatile i64 %25, ptr %26, align 8
%27 = load ptr, ptr %4, align 8
%28 = load i16, ptr %27, align 2
store i16 %28, ptr %10, align 2
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 2
store ptr %30, ptr %9, align 8
%31 = load i16, ptr %10, align 2
%32 = add i16 %31, -1
store i16 %32, ptr %10, align 2
%33 = icmp ne i16 %31, 0
br i1 %33, label %.lr.ph5, label %94
.lr.ph5: ; preds = %3
br label %34
34: ; preds = %.lr.ph5, %90
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %9, align 8
%37 = load i8, ptr %35, align 1
store i8 %37, ptr %12, align 1
%38 = load i8, ptr %12, align 1
%39 = zext i8 %38 to i32
%40 = and i32 %39, 127
%41 = add nsw i32 %40, 1
%42 = trunc i32 %41 to i16
store i16 %42, ptr %13, align 2
%43 = load ptr, ptr %9, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 0
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = shl i32 %46, 8
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = shl i32 %51, 0
%53 = or i32 %47, %52
%54 = trunc i32 %53 to i16
store i16 %54, ptr %11, align 2
%55 = load i16, ptr %6, align 2
%56 = zext i16 %55 to i32
%57 = load i16, ptr %11, align 2
%58 = zext i16 %57 to i32
%59 = add nsw i32 %58, %56
%60 = trunc i32 %59 to i16
store i16 %60, ptr %11, align 2
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
store ptr %62, ptr %9, align 8
%63 = load i8, ptr %12, align 1
%64 = zext i8 %63 to i32
%65 = and i32 %64, 128
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %79
67: ; preds = %34
%68 = load i16, ptr %13, align 2
%69 = add i16 %68, -1
store i16 %69, ptr %13, align 2
%70 = icmp ne i16 %68, 0
br i1 %70, label %.lr.ph2, label %78
.lr.ph2: ; preds = %67
br label %71
71: ; preds = %.lr.ph2, %71
%72 = load i16, ptr %11, align 2
%73 = add i16 %72, 1
store i16 %73, ptr %11, align 2
%74 = load ptr, ptr %8, align 8
store volatile i16 %72, ptr %74, align 2
%75 = load i16, ptr %13, align 2
%76 = add i16 %75, -1
store i16 %76, ptr %13, align 2
%77 = icmp ne i16 %75, 0
br i1 %77, label %71, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %71
br label %78
78: ; preds = %._crit_edge3, %67
br label %90
79: ; preds = %34
%80 = load i16, ptr %13, align 2
%81 = add i16 %80, -1
store i16 %81, ptr %13, align 2
%82 = icmp ne i16 %80, 0
br i1 %82, label %.lr.ph, label %89
.lr.ph: ; preds = %79
br label %83
83: ; preds = %.lr.ph, %83
%84 = load i16, ptr %11, align 2
%85 = load ptr, ptr %8, align 8
store volatile i16 %84, ptr %85, align 2
%86 = load i16, ptr %13, align 2
%87 = add i16 %86, -1
store i16 %87, ptr %13, align 2
%88 = icmp ne i16 %86, 0
br i1 %88, label %83, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %79
br label %90
90: ; preds = %89, %78
%91 = load i16, ptr %10, align 2
%92 = add i16 %91, -1
store i16 %92, ptr %10, align 2
%93 = icmp ne i16 %91, 0
br i1 %93, label %34, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %90
br label %94
94: ; preds = %._crit_edge6, %3
ret void
}
declare i32 @VDP_setAutoInc(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/tmprcgv2w8x.c'
source_filename = "/tmp/tmprcgv2w8x.c"
target datalayout = "e-m:e-p270: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/tmprcgv2w8x.c"
target datalayout = "e-m:e-p270: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/tmpqlpl0ma8.c'
source_filename = "/tmp/tmpqlpl0ma8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_write_next_solution_to_defined_output_file(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%17 = load ptr, ptr %8, align 8
%18 = call i32 @_ada_use_c2phc(i32 noundef 141, ptr noundef %15, ptr noundef %16, ptr noundef %17)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
ret i32 %19
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqlpl0ma8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_write_next_solution_to_defined_output_file(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%17 = load ptr, ptr %8, align 8
%18 = call i32 @_ada_use_c2phc(i32 noundef 141, ptr noundef %15, ptr noundef %16, ptr noundef %17)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
ret i32 %19
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5e_rusnr.c'
source_filename = "/tmp/tmp5e_rusnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xc0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xc0() #0 {
%1 = call i64 @isgraph(i32 noundef 192)
%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 965, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5e_rusnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xc0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xc0() #0 {
%1 = call i64 @isgraph(i32 noundef 192)
%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 965, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn7482g8_.c'
source_filename = "/tmp/tmpn7482g8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [97 x i8] c"Error: in file %s, line %d, one allele of SNP %d is '%c' and not 0, 1, 2, 3, 4, A, C, T, or G.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_token_ped(i8 noundef signext %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i8, ptr %5, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 48
br i1 %11, label %51, label %12
12: ; preds = %4
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 49
br i1 %15, label %51, label %16
16: ; preds = %12
%17 = load i8, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 50
br i1 %19, label %51, label %20
20: ; preds = %16
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 51
br i1 %23, label %51, label %24
24: ; preds = %20
%25 = load i8, ptr %5, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 52
br i1 %27, label %51, label %28
28: ; preds = %24
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 65
br i1 %31, label %51, label %32
32: ; preds = %28
%33 = load i8, ptr %5, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 67
br i1 %35, label %51, label %36
36: ; preds = %32
%37 = load i8, ptr %5, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 84
br i1 %39, label %51, label %40
40: ; preds = %36
%41 = load i8, ptr %5, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 71
br i1 %43, label %51, label %44
44: ; preds = %40
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %6, align 4
%48 = load i8, ptr %5, align 1
%49 = call i32 @printf(ptr noundef @.str, ptr noundef %45, i32 noundef %46, i32 noundef %47, i8 noundef signext %48)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %40, %36, %32, %28, %24, %20, %16, %12, %4
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn7482g8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [97 x i8] c"Error: in file %s, line %d, one allele of SNP %d is '%c' and not 0, 1, 2, 3, 4, A, C, T, or G.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_token_ped(i8 noundef signext %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i8, ptr %5, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 48
br i1 %11, label %51, label %12
12: ; preds = %4
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 49
br i1 %15, label %51, label %16
16: ; preds = %12
%17 = load i8, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 50
br i1 %19, label %51, label %20
20: ; preds = %16
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 51
br i1 %23, label %51, label %24
24: ; preds = %20
%25 = load i8, ptr %5, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 52
br i1 %27, label %51, label %28
28: ; preds = %24
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 65
br i1 %31, label %51, label %32
32: ; preds = %28
%33 = load i8, ptr %5, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 67
br i1 %35, label %51, label %36
36: ; preds = %32
%37 = load i8, ptr %5, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 84
br i1 %39, label %51, label %40
40: ; preds = %36
%41 = load i8, ptr %5, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 71
br i1 %43, label %51, label %44
44: ; preds = %40
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %6, align 4
%48 = load i8, ptr %5, align 1
%49 = call i32 @printf(ptr noundef @.str, ptr noundef %45, i32 noundef %46, i32 noundef %47, i8 noundef signext %48)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %40, %36, %32, %28, %24, %20, %16, %12, %4
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqb3i9kwg.c'
source_filename = "/tmp/tmpqb3i9kwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_zeros(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = mul nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 8
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
%16 = load ptr, ptr %4, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %30, %3
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = mul nsw i32 %21, %22
%24 = icmp slt i32 %20, %23
br i1 %24, label %25, label %33
25: ; preds = %19
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %26, i64 %28
store double 0.000000e+00, ptr %29, align 8
br label %30
30: ; preds = %25
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %19, !llvm.loop !6
33: ; preds = %19
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqb3i9kwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_zeros(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = mul nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 8
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
%16 = load ptr, ptr %4, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %7, align 8
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = mul nsw i32 %20, %21
%23 = icmp slt i32 %19, %22
br i1 %23, label %.lr.ph, label %37
.lr.ph: ; preds = %3
br label %24
24: ; preds = %.lr.ph, %29
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
store double 0.000000e+00, ptr %28, align 8
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
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %6, align 4
%35 = mul nsw i32 %33, %34
%36 = icmp slt i32 %32, %35
br i1 %36, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %37
37: ; preds = %._crit_edge, %3
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpidpc9f6a.c'
source_filename = "/tmp/tmpidpc9f6a.c"
target datalayout = "e-m:e-p270: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/tmpidpc9f6a.c"
target datalayout = "e-m:e-p270: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/tmpfb7iedse.c'
source_filename = "/tmp/tmpfb7iedse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = 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
%12 = load i32, ptr %4, align 4
switch i32 %12, label %22 [
i32 5, label %13
]
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = call double @atof(ptr noundef %16)
store double %17, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %7, align 4
br label %24
22: ; preds = %2
%23 = call i32 (...) @print_usage()
store i32 -1, ptr %3, align 4
br label %55
24: ; preds = %13
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call ptr @read_image_to_gray(ptr noundef %27, ptr noundef %8, ptr noundef %9)
store ptr %28, ptr %10, align 8
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = mul nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 8
%34 = trunc i64 %33 to i32
%35 = call i64 @malloc(i32 noundef %34)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %11, align 8
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %9, align 4
%41 = load double, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = call i32 @gaussconv_sampled_kernel(ptr noundef %37, ptr noundef %38, i32 noundef %39, i32 noundef %40, double noundef %41, i32 noundef %42)
%44 = load ptr, ptr %11, align 8
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %9, align 4
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 4
%49 = load ptr, ptr %48, align 8
%50 = call i32 @printImage(ptr noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %49)
%51 = load ptr, ptr %10, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load ptr, ptr %11, align 8
%54 = call i32 @free(ptr noundef %53)
store i32 0, ptr %3, align 4
br label %55
55: ; preds = %24, %22
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare double @atof(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @print_usage(...) #1
declare ptr @read_image_to_gray(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @gaussconv_sampled_kernel(ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, i32 noundef) #1
declare i32 @printImage(ptr noundef, i32 noundef, i32 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/tmpfb7iedse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = 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
%12 = load i32, ptr %4, align 4
switch i32 %12, label %22 [
i32 5, label %13
]
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = call double @atof(ptr noundef %16)
store double %17, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %7, align 4
br label %24
22: ; preds = %2
%23 = call i32 (...) @print_usage()
store i32 -1, ptr %3, align 4
br label %55
24: ; preds = %13
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call ptr @read_image_to_gray(ptr noundef %27, ptr noundef %8, ptr noundef %9)
store ptr %28, ptr %10, align 8
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = mul nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 8
%34 = trunc i64 %33 to i32
%35 = call i64 @malloc(i32 noundef %34)
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %11, align 8
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %9, align 4
%41 = load double, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = call i32 @gaussconv_sampled_kernel(ptr noundef %37, ptr noundef %38, i32 noundef %39, i32 noundef %40, double noundef %41, i32 noundef %42)
%44 = load ptr, ptr %11, align 8
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %9, align 4
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 4
%49 = load ptr, ptr %48, align 8
%50 = call i32 @printImage(ptr noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef %49)
%51 = load ptr, ptr %10, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load ptr, ptr %11, align 8
%54 = call i32 @free(ptr noundef %53)
store i32 0, ptr %3, align 4
br label %55
55: ; preds = %24, %22
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare double @atof(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @print_usage(...) #1
declare ptr @read_image_to_gray(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @gaussconv_sampled_kernel(ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, i32 noundef) #1
declare i32 @printImage(ptr noundef, i32 noundef, i32 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/tmpt41t6yxp.c'
source_filename = "/tmp/tmpt41t6yxp.c"
target datalayout = "e-m:e-p270: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/tmpt41t6yxp.c"
target datalayout = "e-m:e-p270: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/tmpm8_4vxw3.c'
source_filename = "/tmp/tmpm8_4vxw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"aaalaalla\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\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
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
br label %3
3: ; preds = %8, %0
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %10)
br label %3, !llvm.loop !6
12: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm8_4vxw3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"aaalaalla\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\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
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i32 1
store ptr %4, ptr %2, align 8
%5 = load i8, ptr %3, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %15
15: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp95pet7j1.c'
source_filename = "/tmp/tmp95pet7j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"sizeof (char) == %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"sizeof (short) == %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"sizeof (int) == %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"sizeof (long) == %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"sizeof (long long) == %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"sizeof (void *) == %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"sizeof (void (*)(void)) == %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"sizeof (float) == %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"sizeof (double) == %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"sizeof (long double) == %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"valueof ('\\377') == %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [33 x i8] c"valueof ((int) (char) -1) == %d\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"valueof ((int) (signed char) -1) == %d\0A\00", align 1
@.str.13 = private unnamed_addr constant [42 x i8] c"valueof ((int) (unsigned char) -1) == %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @fill_structs()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2)
%5 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4)
%6 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8)
%7 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8)
%8 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8)
%9 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8)
%10 = call i32 @printf(ptr noundef @.str.7, i32 noundef 4)
%11 = call i32 @printf(ptr noundef @.str.8, i32 noundef 8)
%12 = call i32 @printf(ptr noundef @.str.9, i32 noundef 16)
%13 = call i32 @printf(ptr noundef @.str.10, i32 noundef -1)
%14 = call i32 @printf(ptr noundef @.str.11, i32 noundef -1)
%15 = call i32 @printf(ptr noundef @.str.12, i32 noundef -1)
%16 = call i32 @printf(ptr noundef @.str.13, i32 noundef 255)
ret i32 0
}
declare i32 @fill_structs(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp95pet7j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"sizeof (char) == %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"sizeof (short) == %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"sizeof (int) == %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"sizeof (long) == %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"sizeof (long long) == %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"sizeof (void *) == %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"sizeof (void (*)(void)) == %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"sizeof (float) == %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"sizeof (double) == %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"sizeof (long double) == %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"valueof ('\\377') == %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [33 x i8] c"valueof ((int) (char) -1) == %d\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"valueof ((int) (signed char) -1) == %d\0A\00", align 1
@.str.13 = private unnamed_addr constant [42 x i8] c"valueof ((int) (unsigned char) -1) == %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @fill_structs()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2)
%5 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4)
%6 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8)
%7 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8)
%8 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8)
%9 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8)
%10 = call i32 @printf(ptr noundef @.str.7, i32 noundef 4)
%11 = call i32 @printf(ptr noundef @.str.8, i32 noundef 8)
%12 = call i32 @printf(ptr noundef @.str.9, i32 noundef 16)
%13 = call i32 @printf(ptr noundef @.str.10, i32 noundef -1)
%14 = call i32 @printf(ptr noundef @.str.11, i32 noundef -1)
%15 = call i32 @printf(ptr noundef @.str.12, i32 noundef -1)
%16 = call i32 @printf(ptr noundef @.str.13, i32 noundef 255)
ret i32 0
}
declare i32 @fill_structs(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa7go3197.c'
source_filename = "/tmp/tmpa7go3197.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@MB_CUR_MAX = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa7go3197.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@MB_CUR_MAX = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk_aopuse.c'
source_filename = "/tmp/tmpk_aopuse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @double_reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = call i32 @glOrtho(double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef -1.000000e+00, double noundef 1.000000e+00)
%12 = load i32, ptr @GL_MODELVIEW, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
%14 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glOrtho(double noundef, double noundef, double noundef, double noundef, 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/tmpk_aopuse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @double_reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = call i32 @glOrtho(double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef -1.000000e+00, double noundef 1.000000e+00)
%12 = load i32, ptr @GL_MODELVIEW, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
%14 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glOrtho(double noundef, double noundef, double noundef, double noundef, 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/tmph1vkhn67.c'
source_filename = "/tmp/tmph1vkhn67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error: deletion\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strdel_a(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %8, align 4
%12 = zext i32 %11 to i64
%13 = load i32, ptr %8, align 4
%14 = zext i32 %13 to i64
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %10, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %31
20: ; preds = %5
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = mul nsw i64 %23, %14
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i32, ptr %10, align 4
%30 = call i32 @memset(ptr noundef %28, i8 noundef signext 32, i32 noundef %29)
br label %33
31: ; preds = %5
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %20
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1vkhn67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error: deletion\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strdel_a(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %8, align 4
%12 = zext i32 %11 to i64
%13 = load i32, ptr %8, align 4
%14 = zext i32 %13 to i64
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %10, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %31
20: ; preds = %5
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = mul nsw i64 %23, %14
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i32, ptr %10, align 4
%30 = call i32 @memset(ptr noundef %28, i8 noundef signext 32, i32 noundef %29)
br label %33
31: ; preds = %5
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %20
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, 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"}
|
; ModuleID = '/tmp/tmpjc9l5fsf.c'
source_filename = "/tmp/tmpjc9l5fsf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"in = %s out = %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_test(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca [2 x i8], align 1
%4 = alloca [3 x [10 x i8]], align 16
store i8 %0, ptr %2, align 1
%5 = load i8, ptr %2, align 1
%6 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @hamming(i8 noundef signext %5, ptr noundef %6)
%8 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 0
%9 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%10 = load i8, ptr %2, align 1
%11 = call i32 @string_of_byte(ptr noundef %9, i8 noundef signext %10)
%12 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 1
%13 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%14 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%15 = load i8, ptr %14, align 1
%16 = call i32 @string_of_byte(ptr noundef %13, i8 noundef signext %15)
%17 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 2
%18 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0
%19 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1
%20 = load i8, ptr %19, align 1
%21 = call i32 @string_of_byte(ptr noundef %18, i8 noundef signext %20)
%22 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 0
%23 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0
%24 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 1
%25 = getelementptr inbounds [10 x i8], ptr %24, i64 0, i64 0
%26 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 2
%27 = getelementptr inbounds [10 x i8], ptr %26, i64 0, i64 0
%28 = call i32 @printf(ptr noundef @.str, ptr noundef %23, ptr noundef %25, ptr noundef %27)
ret void
}
declare i32 @hamming(i8 noundef signext, ptr noundef) #1
declare i32 @string_of_byte(ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjc9l5fsf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"in = %s out = %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_test(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca [2 x i8], align 1
%4 = alloca [3 x [10 x i8]], align 16
store i8 %0, ptr %2, align 1
%5 = load i8, ptr %2, align 1
%6 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @hamming(i8 noundef signext %5, ptr noundef %6)
%8 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 0
%9 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0
%10 = load i8, ptr %2, align 1
%11 = call i32 @string_of_byte(ptr noundef %9, i8 noundef signext %10)
%12 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 1
%13 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0
%14 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%15 = load i8, ptr %14, align 1
%16 = call i32 @string_of_byte(ptr noundef %13, i8 noundef signext %15)
%17 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 2
%18 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0
%19 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1
%20 = load i8, ptr %19, align 1
%21 = call i32 @string_of_byte(ptr noundef %18, i8 noundef signext %20)
%22 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 0
%23 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0
%24 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 1
%25 = getelementptr inbounds [10 x i8], ptr %24, i64 0, i64 0
%26 = getelementptr inbounds [3 x [10 x i8]], ptr %4, i64 0, i64 2
%27 = getelementptr inbounds [10 x i8], ptr %26, i64 0, i64 0
%28 = call i32 @printf(ptr noundef @.str, ptr noundef %23, ptr noundef %25, ptr noundef %27)
ret void
}
declare i32 @hamming(i8 noundef signext, ptr noundef) #1
declare i32 @string_of_byte(ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmh04h7lj.c'
source_filename = "/tmp/tmpmh04h7lj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_set_oemdbg_blk_avail(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @set_blk_avail(i32 noundef %3)
ret void
}
declare i32 @set_blk_avail(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/tmpmh04h7lj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_set_oemdbg_blk_avail(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @set_blk_avail(i32 noundef %3)
ret void
}
declare i32 @set_blk_avail(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/tmp0ye_he9s.c'
source_filename = "/tmp/tmp0ye_he9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_sqrt_ss(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @_mm_sqrt_ss(i32 noundef %3)
ret i32 %4
}
declare i32 @_mm_sqrt_ss(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/tmp0ye_he9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_sqrt_ss(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @_mm_sqrt_ss(i32 noundef %3)
ret i32 %4
}
declare i32 @_mm_sqrt_ss(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/tmp72v0x7n5.c'
source_filename = "/tmp/tmp72v0x7n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffr4uint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca double, align 8
%23 = alloca ptr, align 8
%24 = alloca i16, align 2
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store i32 %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%25 = load i32, ptr %15, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %121
27: ; preds = %10
%28 = load double, ptr %13, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %78
30: ; preds = %27
%31 = load double, ptr %14, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %78
33: ; preds = %30
store i64 0, ptr %21, align 8
br label %34
34: ; preds = %74, %33
%35 = load i64, ptr %21, align 8
%36 = load i64, ptr %12, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %77
38: ; preds = %34
%39 = load ptr, ptr %11, align 8
%40 = load i64, ptr %21, align 8
%41 = getelementptr inbounds float, ptr %39, i64 %40
%42 = load float, ptr %41, align 4
%43 = fpext float %42 to double
%44 = fcmp olt double %43, -4.900000e-01
br i1 %44, label %45, label %50
45: ; preds = %38
%46 = load ptr, ptr %20, align 8
store i32 -11, ptr %46, align 4
%47 = load ptr, ptr %19, align 8
%48 = load i64, ptr %21, align 8
%49 = getelementptr inbounds i32, ptr %47, i64 %48
store i32 0, ptr %49, align 4
br label %73
50: ; preds = %38
%51 = load ptr, ptr %11, align 8
%52 = load i64, ptr %21, align 8
%53 = getelementptr inbounds float, ptr %51, i64 %52
%54 = load float, ptr %53, align 4
%55 = fpext float %54 to double
%56 = fcmp ogt double %55, 0x41EFFFFFFFEFAE14
br i1 %56, label %57, label %63
57: ; preds = %50
%58 = load ptr, ptr %20, align 8
store i32 -11, ptr %58, align 4
%59 = load i32, ptr @UINT_MAX, align 4
%60 = load ptr, ptr %19, align 8
%61 = load i64, ptr %21, align 8
%62 = getelementptr inbounds i32, ptr %60, i64 %61
store i32 %59, ptr %62, align 4
br label %72
63: ; preds = %50
%64 = load ptr, ptr %11, align 8
%65 = load i64, ptr %21, align 8
%66 = getelementptr inbounds float, ptr %64, i64 %65
%67 = load float, ptr %66, align 4
%68 = fptoui float %67 to i32
%69 = load ptr, ptr %19, align 8
%70 = load i64, ptr %21, align 8
%71 = getelementptr inbounds i32, ptr %69, i64 %70
store i32 %68, ptr %71, align 4
br label %72
72: ; preds = %63, %57
br label %73
73: ; preds = %72, %45
br label %74
74: ; preds = %73
%75 = load i64, ptr %21, align 8
%76 = add nsw i64 %75, 1
store i64 %76, ptr %21, align 8
br label %34, !llvm.loop !6
77: ; preds = %34
br label %120
78: ; preds = %30, %27
store i64 0, ptr %21, align 8
br label %79
79: ; preds = %116, %78
%80 = load i64, ptr %21, align 8
%81 = load i64, ptr %12, align 8
%82 = icmp slt i64 %80, %81
br i1 %82, label %83, label %119
83: ; preds = %79
%84 = load ptr, ptr %11, align 8
%85 = load i64, ptr %21, align 8
%86 = getelementptr inbounds float, ptr %84, i64 %85
%87 = load float, ptr %86, align 4
%88 = fpext float %87 to double
%89 = load double, ptr %13, align 8
%90 = load double, ptr %14, align 8
%91 = call double @llvm.fmuladd.f64(double %88, double %89, double %90)
store double %91, ptr %22, align 8
%92 = load double, ptr %22, align 8
%93 = fcmp olt double %92, -4.900000e-01
br i1 %93, label %94, label %99
94: ; preds = %83
%95 = load ptr, ptr %20, align 8
store i32 -11, ptr %95, align 4
%96 = load ptr, ptr %19, align 8
%97 = load i64, ptr %21, align 8
%98 = getelementptr inbounds i32, ptr %96, i64 %97
store i32 0, ptr %98, align 4
br label %115
99: ; preds = %83
%100 = load double, ptr %22, align 8
%101 = fcmp ogt double %100, 0x41EFFFFFFFEFAE14
br i1 %101, label %102, label %108
102: ; preds = %99
%103 = load ptr, ptr %20, align 8
store i32 -11, ptr %103, align 4
%104 = load i32, ptr @UINT_MAX, align 4
%105 = load ptr, ptr %19, align 8
%106 = load i64, ptr %21, align 8
%107 = getelementptr inbounds i32, ptr %105, i64 %106
store i32 %104, ptr %107, align 4
br label %114
108: ; preds = %99
%109 = load double, ptr %22, align 8
%110 = fptoui double %109 to i32
%111 = load ptr, ptr %19, align 8
%112 = load i64, ptr %21, align 8
%113 = getelementptr inbounds i32, ptr %111, i64 %112
store i32 %110, ptr %113, align 4
br label %114
114: ; preds = %108, %102
br label %115
115: ; preds = %114, %94
br label %116
116: ; preds = %115
%117 = load i64, ptr %21, align 8
%118 = add nsw i64 %117, 1
store i64 %118, ptr %21, align 8
br label %79, !llvm.loop !8
119: ; preds = %79
br label %120
120: ; preds = %119, %77
br label %331
121: ; preds = %10
%122 = load ptr, ptr %11, align 8
store ptr %122, ptr %23, align 8
%123 = load ptr, ptr %23, align 8
%124 = getelementptr inbounds i16, ptr %123, i32 1
store ptr %124, ptr %23, align 8
%125 = load double, ptr %13, align 8
%126 = fcmp oeq double %125, 1.000000e+00
br i1 %126, label %127, label %221
127: ; preds = %121
%128 = load double, ptr %14, align 8
%129 = fcmp oeq double %128, 0.000000e+00
br i1 %129, label %130, label %221
130: ; preds = %127
store i64 0, ptr %21, align 8
br label %131
131: ; preds = %215, %130
%132 = load i64, ptr %21, align 8
%133 = load i64, ptr %12, align 8
%134 = icmp slt i64 %132, %133
br i1 %134, label %135, label %220
135: ; preds = %131
%136 = load ptr, ptr %23, align 8
%137 = load i16, ptr %136, align 2
%138 = sext i16 %137 to i32
%139 = and i32 %138, 32640
%140 = icmp eq i32 %139, 32640
br i1 %140, label %141, label %142
141: ; preds = %135
br label %150
142: ; preds = %135
%143 = load ptr, ptr %23, align 8
%144 = load i16, ptr %143, align 2
%145 = sext i16 %144 to i32
%146 = and i32 %145, 32640
%147 = icmp eq i32 %146, 0
%148 = zext i1 %147 to i64
%149 = select i1 %147, i32 2, i32 0
br label %150
150: ; preds = %142, %141
%151 = phi i32 [ 1, %141 ], [ %149, %142 ]
%152 = trunc i32 %151 to i16
store i16 %152, ptr %24, align 2
%153 = sext i16 %152 to i32
%154 = icmp ne i32 0, %153
br i1 %154, label %155, label %178
155: ; preds = %150
%156 = load i16, ptr %24, align 2
%157 = sext i16 %156 to i32
%158 = icmp eq i32 %157, 1
br i1 %158, label %159, label %173
159: ; preds = %155
%160 = load ptr, ptr %18, align 8
store i32 1, ptr %160, align 4
%161 = load i32, ptr %15, align 4
%162 = icmp eq i32 %161, 1
br i1 %162, label %163, label %168
163: ; preds = %159
%164 = load i32, ptr %16, align 4
%165 = load ptr, ptr %19, align 8
%166 = load i64, ptr %21, align 8
%167 = getelementptr inbounds i32, ptr %165, i64 %166
store i32 %164, ptr %167, align 4
br label %172
168: ; preds = %159
%169 = load ptr, ptr %17, align 8
%170 = load i64, ptr %21, align 8
%171 = getelementptr inbounds i8, ptr %169, i64 %170
store i8 1, ptr %171, align 1
br label %172
172: ; preds = %168, %163
br label %177
173: ; preds = %155
%174 = load ptr, ptr %19, align 8
%175 = load i64, ptr %21, align 8
%176 = getelementptr inbounds i32, ptr %174, i64 %175
store i32 0, ptr %176, align 4
br label %177
177: ; preds = %173, %172
br label %214
178: ; preds = %150
%179 = load ptr, ptr %11, align 8
%180 = load i64, ptr %21, align 8
%181 = getelementptr inbounds float, ptr %179, i64 %180
%182 = load float, ptr %181, align 4
%183 = fpext float %182 to double
%184 = fcmp olt double %183, -4.900000e-01
br i1 %184, label %185, label %190
185: ; preds = %178
%186 = load ptr, ptr %20, align 8
store i32 -11, ptr %186, align 4
%187 = load ptr, ptr %19, align 8
%188 = load i64, ptr %21, align 8
%189 = getelementptr inbounds i32, ptr %187, i64 %188
store i32 0, ptr %189, align 4
br label %213
190: ; preds = %178
%191 = load ptr, ptr %11, align 8
%192 = load i64, ptr %21, align 8
%193 = getelementptr inbounds float, ptr %191, i64 %192
%194 = load float, ptr %193, align 4
%195 = fpext float %194 to double
%196 = fcmp ogt double %195, 0x41EFFFFFFFEFAE14
br i1 %196, label %197, label %203
197: ; preds = %190
%198 = load ptr, ptr %20, align 8
store i32 -11, ptr %198, align 4
%199 = load i32, ptr @UINT_MAX, align 4
%200 = load ptr, ptr %19, align 8
%201 = load i64, ptr %21, align 8
%202 = getelementptr inbounds i32, ptr %200, i64 %201
store i32 %199, ptr %202, align 4
br label %212
203: ; preds = %190
%204 = load ptr, ptr %11, align 8
%205 = load i64, ptr %21, align 8
%206 = getelementptr inbounds float, ptr %204, i64 %205
%207 = load float, ptr %206, align 4
%208 = fptoui float %207 to i32
%209 = load ptr, ptr %19, align 8
%210 = load i64, ptr %21, align 8
%211 = getelementptr inbounds i32, ptr %209, i64 %210
store i32 %208, ptr %211, align 4
br label %212
212: ; preds = %203, %197
br label %213
213: ; preds = %212, %185
br label %214
214: ; preds = %213, %177
br label %215
215: ; preds = %214
%216 = load i64, ptr %21, align 8
%217 = add nsw i64 %216, 1
store i64 %217, ptr %21, align 8
%218 = load ptr, ptr %23, align 8
%219 = getelementptr inbounds i16, ptr %218, i64 2
store ptr %219, ptr %23, align 8
br label %131, !llvm.loop !9
220: ; preds = %131
br label %330
221: ; preds = %127, %121
store i64 0, ptr %21, align 8
br label %222
222: ; preds = %324, %221
%223 = load i64, ptr %21, align 8
%224 = load i64, ptr %12, align 8
%225 = icmp slt i64 %223, %224
br i1 %225, label %226, label %329
226: ; preds = %222
%227 = load ptr, ptr %23, align 8
%228 = load i16, ptr %227, align 2
%229 = sext i16 %228 to i32
%230 = and i32 %229, 32640
%231 = icmp eq i32 %230, 32640
br i1 %231, label %232, label %233
232: ; preds = %226
br label %241
233: ; preds = %226
%234 = load ptr, ptr %23, align 8
%235 = load i16, ptr %234, align 2
%236 = sext i16 %235 to i32
%237 = and i32 %236, 32640
%238 = icmp eq i32 %237, 0
%239 = zext i1 %238 to i64
%240 = select i1 %238, i32 2, i32 0
br label %241
241: ; preds = %233, %232
%242 = phi i32 [ 1, %232 ], [ %240, %233 ]
%243 = trunc i32 %242 to i16
store i16 %243, ptr %24, align 2
%244 = sext i16 %243 to i32
%245 = icmp ne i32 0, %244
br i1 %245, label %246, label %290
246: ; preds = %241
%247 = load i16, ptr %24, align 2
%248 = sext i16 %247 to i32
%249 = icmp eq i32 %248, 1
br i1 %249, label %250, label %264
250: ; preds = %246
%251 = load ptr, ptr %18, align 8
store i32 1, ptr %251, align 4
%252 = load i32, ptr %15, align 4
%253 = icmp eq i32 %252, 1
br i1 %253, label %254, label %259
254: ; preds = %250
%255 = load i32, ptr %16, align 4
%256 = load ptr, ptr %19, align 8
%257 = load i64, ptr %21, align 8
%258 = getelementptr inbounds i32, ptr %256, i64 %257
store i32 %255, ptr %258, align 4
br label %263
259: ; preds = %250
%260 = load ptr, ptr %17, align 8
%261 = load i64, ptr %21, align 8
%262 = getelementptr inbounds i8, ptr %260, i64 %261
store i8 1, ptr %262, align 1
br label %263
263: ; preds = %259, %254
br label %289
264: ; preds = %246
%265 = load double, ptr %14, align 8
%266 = fcmp olt double %265, -4.900000e-01
br i1 %266, label %267, label %272
267: ; preds = %264
%268 = load ptr, ptr %20, align 8
store i32 -11, ptr %268, align 4
%269 = load ptr, ptr %19, align 8
%270 = load i64, ptr %21, align 8
%271 = getelementptr inbounds i32, ptr %269, i64 %270
store i32 0, ptr %271, align 4
br label %288
272: ; preds = %264
%273 = load double, ptr %14, align 8
%274 = fcmp ogt double %273, 0x41EFFFFFFFEFAE14
br i1 %274, label %275, label %281
275: ; preds = %272
%276 = load ptr, ptr %20, align 8
store i32 -11, ptr %276, align 4
%277 = load i32, ptr @UINT_MAX, align 4
%278 = load ptr, ptr %19, align 8
%279 = load i64, ptr %21, align 8
%280 = getelementptr inbounds i32, ptr %278, i64 %279
store i32 %277, ptr %280, align 4
br label %287
281: ; preds = %272
%282 = load double, ptr %14, align 8
%283 = fptoui double %282 to i32
%284 = load ptr, ptr %19, align 8
%285 = load i64, ptr %21, align 8
%286 = getelementptr inbounds i32, ptr %284, i64 %285
store i32 %283, ptr %286, align 4
br label %287
287: ; preds = %281, %275
br label %288
288: ; preds = %287, %267
br label %289
289: ; preds = %288, %263
br label %323
290: ; preds = %241
%291 = load ptr, ptr %11, align 8
%292 = load i64, ptr %21, align 8
%293 = getelementptr inbounds float, ptr %291, i64 %292
%294 = load float, ptr %293, align 4
%295 = fpext float %294 to double
%296 = load double, ptr %13, align 8
%297 = load double, ptr %14, align 8
%298 = call double @llvm.fmuladd.f64(double %295, double %296, double %297)
store double %298, ptr %22, align 8
%299 = load double, ptr %22, align 8
%300 = fcmp olt double %299, -4.900000e-01
br i1 %300, label %301, label %306
301: ; preds = %290
%302 = load ptr, ptr %20, align 8
store i32 -11, ptr %302, align 4
%303 = load ptr, ptr %19, align 8
%304 = load i64, ptr %21, align 8
%305 = getelementptr inbounds i32, ptr %303, i64 %304
store i32 0, ptr %305, align 4
br label %322
306: ; preds = %290
%307 = load double, ptr %22, align 8
%308 = fcmp ogt double %307, 0x41EFFFFFFFEFAE14
br i1 %308, label %309, label %315
309: ; preds = %306
%310 = load ptr, ptr %20, align 8
store i32 -11, ptr %310, align 4
%311 = load i32, ptr @UINT_MAX, align 4
%312 = load ptr, ptr %19, align 8
%313 = load i64, ptr %21, align 8
%314 = getelementptr inbounds i32, ptr %312, i64 %313
store i32 %311, ptr %314, align 4
br label %321
315: ; preds = %306
%316 = load double, ptr %22, align 8
%317 = fptoui double %316 to i32
%318 = load ptr, ptr %19, align 8
%319 = load i64, ptr %21, align 8
%320 = getelementptr inbounds i32, ptr %318, i64 %319
store i32 %317, ptr %320, align 4
br label %321
321: ; preds = %315, %309
br label %322
322: ; preds = %321, %301
br label %323
323: ; preds = %322, %289
br label %324
324: ; preds = %323
%325 = load i64, ptr %21, align 8
%326 = add nsw i64 %325, 1
store i64 %326, ptr %21, align 8
%327 = load ptr, ptr %23, align 8
%328 = getelementptr inbounds i16, ptr %327, i64 2
store ptr %328, ptr %23, align 8
br label %222, !llvm.loop !10
329: ; preds = %222
br label %330
330: ; preds = %329, %220
br label %331
331: ; preds = %330, %120
%332 = load ptr, ptr %20, align 8
%333 = load i32, ptr %332, align 4
ret i32 %333
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp72v0x7n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffr4uint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca double, align 8
%23 = alloca ptr, align 8
%24 = alloca i16, align 2
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store i32 %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%25 = load i32, ptr %15, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %125
27: ; preds = %10
%28 = load double, ptr %13, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %80
30: ; preds = %27
%31 = load double, ptr %14, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %80
33: ; preds = %30
store i64 0, ptr %21, align 8
%34 = load i64, ptr %21, align 8
%35 = load i64, ptr %12, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %79
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %73
%38 = load ptr, ptr %11, align 8
%39 = load i64, ptr %21, align 8
%40 = getelementptr inbounds float, ptr %38, i64 %39
%41 = load float, ptr %40, align 4
%42 = fpext float %41 to double
%43 = fcmp olt double %42, -4.900000e-01
br i1 %43, label %44, label %49
44: ; preds = %37
%45 = load ptr, ptr %20, align 8
store i32 -11, ptr %45, align 4
%46 = load ptr, ptr %19, align 8
%47 = load i64, ptr %21, align 8
%48 = getelementptr inbounds i32, ptr %46, i64 %47
store i32 0, ptr %48, align 4
br label %72
49: ; preds = %37
%50 = load ptr, ptr %11, align 8
%51 = load i64, ptr %21, align 8
%52 = getelementptr inbounds float, ptr %50, i64 %51
%53 = load float, ptr %52, align 4
%54 = fpext float %53 to double
%55 = fcmp ogt double %54, 0x41EFFFFFFFEFAE14
br i1 %55, label %56, label %62
56: ; preds = %49
%57 = load ptr, ptr %20, align 8
store i32 -11, ptr %57, align 4
%58 = load i32, ptr @UINT_MAX, align 4
%59 = load ptr, ptr %19, align 8
%60 = load i64, ptr %21, align 8
%61 = getelementptr inbounds i32, ptr %59, i64 %60
store i32 %58, ptr %61, align 4
br label %71
62: ; preds = %49
%63 = load ptr, ptr %11, align 8
%64 = load i64, ptr %21, align 8
%65 = getelementptr inbounds float, ptr %63, i64 %64
%66 = load float, ptr %65, align 4
%67 = fptoui float %66 to i32
%68 = load ptr, ptr %19, align 8
%69 = load i64, ptr %21, align 8
%70 = getelementptr inbounds i32, ptr %68, i64 %69
store i32 %67, ptr %70, align 4
br label %71
71: ; preds = %62, %56
br label %72
72: ; preds = %71, %44
br label %73
73: ; preds = %72
%74 = load i64, ptr %21, align 8
%75 = add nsw i64 %74, 1
store i64 %75, ptr %21, align 8
%76 = load i64, ptr %21, align 8
%77 = load i64, ptr %12, align 8
%78 = icmp slt i64 %76, %77
br i1 %78, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %73
br label %79
79: ; preds = %._crit_edge9, %33
br label %124
80: ; preds = %30, %27
store i64 0, ptr %21, align 8
%81 = load i64, ptr %21, align 8
%82 = load i64, ptr %12, align 8
%83 = icmp slt i64 %81, %82
br i1 %83, label %.lr.ph5, label %123
.lr.ph5: ; preds = %80
br label %84
84: ; preds = %.lr.ph5, %117
%85 = load ptr, ptr %11, align 8
%86 = load i64, ptr %21, align 8
%87 = getelementptr inbounds float, ptr %85, i64 %86
%88 = load float, ptr %87, align 4
%89 = fpext float %88 to double
%90 = load double, ptr %13, align 8
%91 = load double, ptr %14, align 8
%92 = call double @llvm.fmuladd.f64(double %89, double %90, double %91)
store double %92, ptr %22, align 8
%93 = load double, ptr %22, align 8
%94 = fcmp olt double %93, -4.900000e-01
br i1 %94, label %95, label %100
95: ; preds = %84
%96 = load ptr, ptr %20, align 8
store i32 -11, ptr %96, align 4
%97 = load ptr, ptr %19, align 8
%98 = load i64, ptr %21, align 8
%99 = getelementptr inbounds i32, ptr %97, i64 %98
store i32 0, ptr %99, align 4
br label %116
100: ; preds = %84
%101 = load double, ptr %22, align 8
%102 = fcmp ogt double %101, 0x41EFFFFFFFEFAE14
br i1 %102, label %103, label %109
103: ; preds = %100
%104 = load ptr, ptr %20, align 8
store i32 -11, ptr %104, align 4
%105 = load i32, ptr @UINT_MAX, align 4
%106 = load ptr, ptr %19, align 8
%107 = load i64, ptr %21, align 8
%108 = getelementptr inbounds i32, ptr %106, i64 %107
store i32 %105, ptr %108, align 4
br label %115
109: ; preds = %100
%110 = load double, ptr %22, align 8
%111 = fptoui double %110 to i32
%112 = load ptr, ptr %19, align 8
%113 = load i64, ptr %21, align 8
%114 = getelementptr inbounds i32, ptr %112, i64 %113
store i32 %111, ptr %114, align 4
br label %115
115: ; preds = %109, %103
br label %116
116: ; preds = %115, %95
br label %117
117: ; preds = %116
%118 = load i64, ptr %21, align 8
%119 = add nsw i64 %118, 1
store i64 %119, ptr %21, align 8
%120 = load i64, ptr %21, align 8
%121 = load i64, ptr %12, align 8
%122 = icmp slt i64 %120, %121
br i1 %122, label %84, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %117
br label %123
123: ; preds = %._crit_edge6, %80
br label %124
124: ; preds = %123, %79
br label %339
125: ; preds = %10
%126 = load ptr, ptr %11, align 8
store ptr %126, ptr %23, align 8
%127 = load ptr, ptr %23, align 8
%128 = getelementptr inbounds i16, ptr %127, i32 1
store ptr %128, ptr %23, align 8
%129 = load double, ptr %13, align 8
%130 = fcmp oeq double %129, 1.000000e+00
br i1 %130, label %131, label %227
131: ; preds = %125
%132 = load double, ptr %14, align 8
%133 = fcmp oeq double %132, 0.000000e+00
br i1 %133, label %134, label %227
134: ; preds = %131
store i64 0, ptr %21, align 8
%135 = load i64, ptr %21, align 8
%136 = load i64, ptr %12, align 8
%137 = icmp slt i64 %135, %136
br i1 %137, label %.lr.ph2, label %226
.lr.ph2: ; preds = %134
br label %138
138: ; preds = %.lr.ph2, %218
%139 = load ptr, ptr %23, align 8
%140 = load i16, ptr %139, align 2
%141 = sext i16 %140 to i32
%142 = and i32 %141, 32640
%143 = icmp eq i32 %142, 32640
br i1 %143, label %144, label %145
144: ; preds = %138
br label %153
145: ; preds = %138
%146 = load ptr, ptr %23, align 8
%147 = load i16, ptr %146, align 2
%148 = sext i16 %147 to i32
%149 = and i32 %148, 32640
%150 = icmp eq i32 %149, 0
%151 = zext i1 %150 to i64
%152 = select i1 %150, i32 2, i32 0
br label %153
153: ; preds = %145, %144
%154 = phi i32 [ 1, %144 ], [ %152, %145 ]
%155 = trunc i32 %154 to i16
store i16 %155, ptr %24, align 2
%156 = sext i16 %155 to i32
%157 = icmp ne i32 0, %156
br i1 %157, label %158, label %181
158: ; preds = %153
%159 = load i16, ptr %24, align 2
%160 = sext i16 %159 to i32
%161 = icmp eq i32 %160, 1
br i1 %161, label %162, label %176
162: ; preds = %158
%163 = load ptr, ptr %18, align 8
store i32 1, ptr %163, align 4
%164 = load i32, ptr %15, align 4
%165 = icmp eq i32 %164, 1
br i1 %165, label %166, label %171
166: ; preds = %162
%167 = load i32, ptr %16, align 4
%168 = load ptr, ptr %19, align 8
%169 = load i64, ptr %21, align 8
%170 = getelementptr inbounds i32, ptr %168, i64 %169
store i32 %167, ptr %170, align 4
br label %175
171: ; preds = %162
%172 = load ptr, ptr %17, align 8
%173 = load i64, ptr %21, align 8
%174 = getelementptr inbounds i8, ptr %172, i64 %173
store i8 1, ptr %174, align 1
br label %175
175: ; preds = %171, %166
br label %180
176: ; preds = %158
%177 = load ptr, ptr %19, align 8
%178 = load i64, ptr %21, align 8
%179 = getelementptr inbounds i32, ptr %177, i64 %178
store i32 0, ptr %179, align 4
br label %180
180: ; preds = %176, %175
br label %217
181: ; preds = %153
%182 = load ptr, ptr %11, align 8
%183 = load i64, ptr %21, align 8
%184 = getelementptr inbounds float, ptr %182, i64 %183
%185 = load float, ptr %184, align 4
%186 = fpext float %185 to double
%187 = fcmp olt double %186, -4.900000e-01
br i1 %187, label %188, label %193
188: ; preds = %181
%189 = load ptr, ptr %20, align 8
store i32 -11, ptr %189, align 4
%190 = load ptr, ptr %19, align 8
%191 = load i64, ptr %21, align 8
%192 = getelementptr inbounds i32, ptr %190, i64 %191
store i32 0, ptr %192, align 4
br label %216
193: ; preds = %181
%194 = load ptr, ptr %11, align 8
%195 = load i64, ptr %21, align 8
%196 = getelementptr inbounds float, ptr %194, i64 %195
%197 = load float, ptr %196, align 4
%198 = fpext float %197 to double
%199 = fcmp ogt double %198, 0x41EFFFFFFFEFAE14
br i1 %199, label %200, label %206
200: ; preds = %193
%201 = load ptr, ptr %20, align 8
store i32 -11, ptr %201, align 4
%202 = load i32, ptr @UINT_MAX, align 4
%203 = load ptr, ptr %19, align 8
%204 = load i64, ptr %21, align 8
%205 = getelementptr inbounds i32, ptr %203, i64 %204
store i32 %202, ptr %205, align 4
br label %215
206: ; preds = %193
%207 = load ptr, ptr %11, align 8
%208 = load i64, ptr %21, align 8
%209 = getelementptr inbounds float, ptr %207, i64 %208
%210 = load float, ptr %209, align 4
%211 = fptoui float %210 to i32
%212 = load ptr, ptr %19, align 8
%213 = load i64, ptr %21, align 8
%214 = getelementptr inbounds i32, ptr %212, i64 %213
store i32 %211, ptr %214, align 4
br label %215
215: ; preds = %206, %200
br label %216
216: ; preds = %215, %188
br label %217
217: ; preds = %216, %180
br label %218
218: ; preds = %217
%219 = load i64, ptr %21, align 8
%220 = add nsw i64 %219, 1
store i64 %220, ptr %21, align 8
%221 = load ptr, ptr %23, align 8
%222 = getelementptr inbounds i16, ptr %221, i64 2
store ptr %222, ptr %23, align 8
%223 = load i64, ptr %21, align 8
%224 = load i64, ptr %12, align 8
%225 = icmp slt i64 %223, %224
br i1 %225, label %138, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %218
br label %226
226: ; preds = %._crit_edge3, %134
br label %338
227: ; preds = %131, %125
store i64 0, ptr %21, align 8
%228 = load i64, ptr %21, align 8
%229 = load i64, ptr %12, align 8
%230 = icmp slt i64 %228, %229
br i1 %230, label %.lr.ph, label %337
.lr.ph: ; preds = %227
br label %231
231: ; preds = %.lr.ph, %329
%232 = load ptr, ptr %23, align 8
%233 = load i16, ptr %232, align 2
%234 = sext i16 %233 to i32
%235 = and i32 %234, 32640
%236 = icmp eq i32 %235, 32640
br i1 %236, label %237, label %238
237: ; preds = %231
br label %246
238: ; preds = %231
%239 = load ptr, ptr %23, align 8
%240 = load i16, ptr %239, align 2
%241 = sext i16 %240 to i32
%242 = and i32 %241, 32640
%243 = icmp eq i32 %242, 0
%244 = zext i1 %243 to i64
%245 = select i1 %243, i32 2, i32 0
br label %246
246: ; preds = %238, %237
%247 = phi i32 [ 1, %237 ], [ %245, %238 ]
%248 = trunc i32 %247 to i16
store i16 %248, ptr %24, align 2
%249 = sext i16 %248 to i32
%250 = icmp ne i32 0, %249
br i1 %250, label %251, label %295
251: ; preds = %246
%252 = load i16, ptr %24, align 2
%253 = sext i16 %252 to i32
%254 = icmp eq i32 %253, 1
br i1 %254, label %255, label %269
255: ; preds = %251
%256 = load ptr, ptr %18, align 8
store i32 1, ptr %256, align 4
%257 = load i32, ptr %15, align 4
%258 = icmp eq i32 %257, 1
br i1 %258, label %259, label %264
259: ; preds = %255
%260 = load i32, ptr %16, align 4
%261 = load ptr, ptr %19, align 8
%262 = load i64, ptr %21, align 8
%263 = getelementptr inbounds i32, ptr %261, i64 %262
store i32 %260, ptr %263, align 4
br label %268
264: ; preds = %255
%265 = load ptr, ptr %17, align 8
%266 = load i64, ptr %21, align 8
%267 = getelementptr inbounds i8, ptr %265, i64 %266
store i8 1, ptr %267, align 1
br label %268
268: ; preds = %264, %259
br label %294
269: ; preds = %251
%270 = load double, ptr %14, align 8
%271 = fcmp olt double %270, -4.900000e-01
br i1 %271, label %272, label %277
272: ; preds = %269
%273 = load ptr, ptr %20, align 8
store i32 -11, ptr %273, align 4
%274 = load ptr, ptr %19, align 8
%275 = load i64, ptr %21, align 8
%276 = getelementptr inbounds i32, ptr %274, i64 %275
store i32 0, ptr %276, align 4
br label %293
277: ; preds = %269
%278 = load double, ptr %14, align 8
%279 = fcmp ogt double %278, 0x41EFFFFFFFEFAE14
br i1 %279, label %280, label %286
280: ; preds = %277
%281 = load ptr, ptr %20, align 8
store i32 -11, ptr %281, align 4
%282 = load i32, ptr @UINT_MAX, align 4
%283 = load ptr, ptr %19, align 8
%284 = load i64, ptr %21, align 8
%285 = getelementptr inbounds i32, ptr %283, i64 %284
store i32 %282, ptr %285, align 4
br label %292
286: ; preds = %277
%287 = load double, ptr %14, align 8
%288 = fptoui double %287 to i32
%289 = load ptr, ptr %19, align 8
%290 = load i64, ptr %21, align 8
%291 = getelementptr inbounds i32, ptr %289, i64 %290
store i32 %288, ptr %291, align 4
br label %292
292: ; preds = %286, %280
br label %293
293: ; preds = %292, %272
br label %294
294: ; preds = %293, %268
br label %328
295: ; preds = %246
%296 = load ptr, ptr %11, align 8
%297 = load i64, ptr %21, align 8
%298 = getelementptr inbounds float, ptr %296, i64 %297
%299 = load float, ptr %298, align 4
%300 = fpext float %299 to double
%301 = load double, ptr %13, align 8
%302 = load double, ptr %14, align 8
%303 = call double @llvm.fmuladd.f64(double %300, double %301, double %302)
store double %303, ptr %22, align 8
%304 = load double, ptr %22, align 8
%305 = fcmp olt double %304, -4.900000e-01
br i1 %305, label %306, label %311
306: ; preds = %295
%307 = load ptr, ptr %20, align 8
store i32 -11, ptr %307, align 4
%308 = load ptr, ptr %19, align 8
%309 = load i64, ptr %21, align 8
%310 = getelementptr inbounds i32, ptr %308, i64 %309
store i32 0, ptr %310, align 4
br label %327
311: ; preds = %295
%312 = load double, ptr %22, align 8
%313 = fcmp ogt double %312, 0x41EFFFFFFFEFAE14
br i1 %313, label %314, label %320
314: ; preds = %311
%315 = load ptr, ptr %20, align 8
store i32 -11, ptr %315, align 4
%316 = load i32, ptr @UINT_MAX, align 4
%317 = load ptr, ptr %19, align 8
%318 = load i64, ptr %21, align 8
%319 = getelementptr inbounds i32, ptr %317, i64 %318
store i32 %316, ptr %319, align 4
br label %326
320: ; preds = %311
%321 = load double, ptr %22, align 8
%322 = fptoui double %321 to i32
%323 = load ptr, ptr %19, align 8
%324 = load i64, ptr %21, align 8
%325 = getelementptr inbounds i32, ptr %323, i64 %324
store i32 %322, ptr %325, align 4
br label %326
326: ; preds = %320, %314
br label %327
327: ; preds = %326, %306
br label %328
328: ; preds = %327, %294
br label %329
329: ; preds = %328
%330 = load i64, ptr %21, align 8
%331 = add nsw i64 %330, 1
store i64 %331, ptr %21, align 8
%332 = load ptr, ptr %23, align 8
%333 = getelementptr inbounds i16, ptr %332, i64 2
store ptr %333, ptr %23, align 8
%334 = load i64, ptr %21, align 8
%335 = load i64, ptr %12, align 8
%336 = icmp slt i64 %334, %335
br i1 %336, label %231, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %329
br label %337
337: ; preds = %._crit_edge, %227
br label %338
338: ; preds = %337, %226
br label %339
339: ; preds = %338, %124
%340 = load ptr, ptr %20, align 8
%341 = load i32, ptr %340, align 4
ret i32 %341
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpc9_mqppz.c'
source_filename = "/tmp/tmpc9_mqppz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptdestroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @pthread_cancel(i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @pthread_join(i32 noundef %7, ptr noundef null)
ret void
}
declare i32 @pthread_cancel(i32 noundef) #1
declare i32 @pthread_join(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/tmpc9_mqppz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptdestroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @pthread_cancel(i32 noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @pthread_join(i32 noundef %7, ptr noundef null)
ret void
}
declare i32 @pthread_cancel(i32 noundef) #1
declare i32 @pthread_join(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/tmpk_ehlaaq.c'
source_filename = "/tmp/tmpk_ehlaaq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setLength(ptr noundef %0, i16 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %4, align 2
%6 = call signext i16 @htons(i16 noundef signext %5)
store i16 %6, ptr %4, align 2
%7 = load ptr, ptr %3, align 8
%8 = call i32 @memcpy(ptr noundef %7, ptr noundef %4, i32 noundef 2)
ret void
}
declare signext i16 @htons(i16 noundef signext) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk_ehlaaq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setLength(ptr noundef %0, i16 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %4, align 2
%6 = call signext i16 @htons(i16 noundef signext %5)
store i16 %6, ptr %4, align 2
%7 = load ptr, ptr %3, align 8
%8 = call i32 @memcpy(ptr noundef %7, ptr noundef %4, i32 noundef 2)
ret void
}
declare signext i16 @htons(i16 noundef signext) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp559eaas0.c'
source_filename = "/tmp/tmp559eaas0.c"
target datalayout = "e-m:e-p270: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/tmp559eaas0.c"
target datalayout = "e-m:e-p270: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/tmpfruvm1kz.c'
source_filename = "/tmp/tmpfruvm1kz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FFT_num_flops(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sitofp i32 %5 to double
store double %6, ptr %3, align 8
%7 = load i32, ptr %2, align 4
%8 = call i64 @int_log2(i32 noundef %7)
%9 = sitofp i64 %8 to double
store double %9, ptr %4, align 8
%10 = load double, ptr %3, align 8
%11 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %10, double -2.000000e+00)
%12 = load double, ptr %4, align 8
%13 = load double, ptr %3, align 8
%14 = fadd double %13, 1.000000e+00
%15 = fmul double 2.000000e+00, %14
%16 = call double @llvm.fmuladd.f64(double %11, double %12, double %15)
ret double %16
}
declare i64 @int_log2(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfruvm1kz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FFT_num_flops(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sitofp i32 %5 to double
store double %6, ptr %3, align 8
%7 = load i32, ptr %2, align 4
%8 = call i64 @int_log2(i32 noundef %7)
%9 = sitofp i64 %8 to double
store double %9, ptr %4, align 8
%10 = load double, ptr %3, align 8
%11 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %10, double -2.000000e+00)
%12 = load double, ptr %4, align 8
%13 = load double, ptr %3, align 8
%14 = fadd double %13, 1.000000e+00
%15 = fmul double 2.000000e+00, %14
%16 = call double @llvm.fmuladd.f64(double %11, double %12, double %15)
ret double %16
}
declare i64 @int_log2(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoa52x2s3.c'
source_filename = "/tmp/tmpoa52x2s3.c"
target datalayout = "e-m:e-p270: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 [210 x i8] c"usage: hmsg_monitor/hs tools\0A \09\09hmsg_monitor --start hash message monitor\0A\09\09hs [add/del] [name=value] add name and value to hash table\0A\09\09hs commit save name and value to file\0A\09\09hs get [name] get value of name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usage() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
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/tmpoa52x2s3.c"
target datalayout = "e-m:e-p270: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 [210 x i8] c"usage: hmsg_monitor/hs tools\0A \09\09hmsg_monitor --start hash message monitor\0A\09\09hs [add/del] [name=value] add name and value to hash table\0A\09\09hs commit save name and value to file\0A\09\09hs get [name] get value of name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @usage() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
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/tmp4x2vsce0.c'
source_filename = "/tmp/tmp4x2vsce0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Calling Receiver\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Calling Sender\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Wrong Arguments.....!!\0AAborting....!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @gen_crc_table()
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 (...) @receiver()
br label %26
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 3
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.1)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = call i32 @sender(ptr noundef %20)
br label %25
22: ; preds = %13
%23 = call i32 @printf(ptr noundef @.str.2)
%24 = call i32 @exit(i32 noundef -1) #3
unreachable
25: ; preds = %16
br label %26
26: ; preds = %25, %10
ret i32 0
}
declare i32 @gen_crc_table(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @receiver(...) #1
declare i32 @sender(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4x2vsce0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Calling Receiver\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Calling Sender\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"Wrong Arguments.....!!\0AAborting....!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @gen_crc_table()
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 (...) @receiver()
br label %26
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 3
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.1)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = call i32 @sender(ptr noundef %20)
br label %25
22: ; preds = %13
%23 = call i32 @printf(ptr noundef @.str.2)
%24 = call i32 @exit(i32 noundef -1) #3
unreachable
25: ; preds = %16
br label %26
26: ; preds = %25, %10
ret i32 0
}
declare i32 @gen_crc_table(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @receiver(...) #1
declare i32 @sender(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmposrf0vfa.c'
source_filename = "/tmp/tmposrf0vfa.c"
target datalayout = "e-m:e-p270: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/tmposrf0vfa.c"
target datalayout = "e-m:e-p270: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/tmp6ef8xmo6.c'
source_filename = "/tmp/tmp6ef8xmo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork error!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = icmp eq i32 -1, %3
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %16
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 0, %8
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = call i32 (...) @do_something()
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
13: ; preds = %7
%14 = call i32 (...) @getSyscallNum()
br label %15
15: ; preds = %13
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %15, %5
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @do_something(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getSyscallNum(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp6ef8xmo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork error!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = icmp eq i32 -1, %3
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %16
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 0, %8
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = call i32 (...) @do_something()
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
13: ; preds = %7
%14 = call i32 (...) @getSyscallNum()
br label %15
15: ; preds = %13
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %15, %5
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @do_something(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getSyscallNum(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpi3ofh05w.c'
source_filename = "/tmp/tmpi3ofh05w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i8 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xerror_minor_code(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i8 %5, ptr %8, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi3ofh05w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i8 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xerror_minor_code(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i8 %5, ptr %8, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp5fq258n.c'
source_filename = "/tmp/tmpp5fq258n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Vetor cheio!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inserir(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %7, align 4
%9 = icmp slt i32 %8, 50
br i1 %9, label %10, label %20
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %12, i64 %15
store i32 %11, ptr %16, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %17, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %17, align 4
br label %22
20: ; preds = %3
%21 = call i32 @printf(ptr noundef @.str)
br label %22
22: ; preds = %20, %10
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5fq258n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Vetor cheio!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inserir(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %7, align 4
%9 = icmp slt i32 %8, 50
br i1 %9, label %10, label %20
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %12, i64 %15
store i32 %11, ptr %16, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %17, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %17, align 4
br label %22
20: ; preds = %3
%21 = call i32 @printf(ptr noundef @.str)
br label %22
22: ; preds = %20, %10
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5kguzp6p.c'
source_filename = "/tmp/tmp5kguzp6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thinit() #0 {
%1 = call i32 @syscall(i32 noundef 61, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @syscall(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/tmp5kguzp6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thinit() #0 {
%1 = call i32 @syscall(i32 noundef 61, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @syscall(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/tmpig9hk1g1.c'
source_filename = "/tmp/tmpig9hk1g1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Boole logic table generator\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"coded by Cooler_x86 visit http://botecounix.com.br\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"(1)create table A B C D\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"(2)create table A B C \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"(0)Sair\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"-> \00", align 1
@__const.opcao_menu.banner = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [6 x i8] c" %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @opcao_menu() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = alloca [6 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.opcao_menu.banner, i64 48, i1 false)
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 5
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [6 x ptr], ptr %3, i64 0, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str.6, ptr noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = load i8, ptr %1, align 1
ret i8 %17
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpig9hk1g1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Boole logic table generator\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"coded by Cooler_x86 visit http://botecounix.com.br\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"(1)create table A B C D\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"(2)create table A B C \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"(0)Sair\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"-> \00", align 1
@__const.opcao_menu.banner = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [6 x i8] c" %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @opcao_menu() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = alloca [6 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.opcao_menu.banner, i64 48, i1 false)
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 5
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr %2, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [6 x ptr], ptr %3, i64 0, i64 %8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @printf(ptr noundef @.str.6, ptr noundef %10)
br label %12
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %15, 5
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i8, ptr %1, align 1
ret i8 %18
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvkgmlrex.c'
source_filename = "/tmp/tmpvkgmlrex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Report_std(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvkgmlrex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Report_std(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkymzzg25.c'
source_filename = "/tmp/tmpkymzzg25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysTickPeriodSet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 %3, 1
%5 = sext i32 %4 to i64
store volatile i64 %5, ptr inttoptr (i64 3758153748 to ptr), align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkymzzg25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysTickPeriodSet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 %3, 1
%5 = sext i32 %4 to i64
store volatile i64 %5, ptr inttoptr (i64 3758153748 to ptr), align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy_8nk890.c'
source_filename = "/tmp/tmpy_8nk890.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_encode_alloc(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = add i64 %9, 2
%11 = udiv i64 %10, 3
%12 = mul i64 %11, 4
%13 = add i64 1, %12
store i64 %13, ptr %8, align 8
%14 = load i64, ptr %6, align 8
%15 = load i64, ptr %8, align 8
%16 = icmp ugt i64 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
store ptr null, ptr %18, align 8
store i64 0, ptr %4, align 8
br label %37
19: ; preds = %3
%20 = load i64, ptr %8, align 8
%21 = call ptr @malloc(i64 noundef %20)
%22 = load ptr, ptr %7, align 8
store ptr %21, ptr %22, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %23, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %28, label %26
26: ; preds = %19
%27 = load i64, ptr %8, align 8
store i64 %27, ptr %4, align 8
br label %37
28: ; preds = %19
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i64, ptr %8, align 8
%34 = call i32 @base64_encode(ptr noundef %29, i64 noundef %30, ptr noundef %32, i64 noundef %33)
%35 = load i64, ptr %8, align 8
%36 = sub i64 %35, 1
store i64 %36, ptr %4, align 8
br label %37
37: ; preds = %28, %26, %17
%38 = load i64, ptr %4, align 8
ret i64 %38
}
declare ptr @malloc(i64 noundef) #1
declare i32 @base64_encode(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_8nk890.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_encode_alloc(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = add i64 %9, 2
%11 = udiv i64 %10, 3
%12 = mul i64 %11, 4
%13 = add i64 1, %12
store i64 %13, ptr %8, align 8
%14 = load i64, ptr %6, align 8
%15 = load i64, ptr %8, align 8
%16 = icmp ugt i64 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
store ptr null, ptr %18, align 8
store i64 0, ptr %4, align 8
br label %37
19: ; preds = %3
%20 = load i64, ptr %8, align 8
%21 = call ptr @malloc(i64 noundef %20)
%22 = load ptr, ptr %7, align 8
store ptr %21, ptr %22, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %23, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %28, label %26
26: ; preds = %19
%27 = load i64, ptr %8, align 8
store i64 %27, ptr %4, align 8
br label %37
28: ; preds = %19
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i64, ptr %8, align 8
%34 = call i32 @base64_encode(ptr noundef %29, i64 noundef %30, ptr noundef %32, i64 noundef %33)
%35 = load i64, ptr %8, align 8
%36 = sub i64 %35, 1
store i64 %36, ptr %4, align 8
br label %37
37: ; preds = %28, %26, %17
%38 = load i64, ptr %4, align 8
ret i64 %38
}
declare ptr @malloc(i64 noundef) #1
declare i32 @base64_encode(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjq2kw7sq.c'
source_filename = "/tmp/tmpjq2kw7sq.c"
target datalayout = "e-m:e-p270: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/tmpjq2kw7sq.c"
target datalayout = "e-m:e-p270: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/tmp4sxkclrr.c'
source_filename = "/tmp/tmp4sxkclrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 float, align 4
%7 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call float @atof(ptr noundef %10)
store float %11, ptr %6, align 4
%12 = load float, ptr %6, align 4
%13 = call float @pow(i32 noundef 100, float noundef %12)
store float %13, ptr %7, align 4
ret i32 0
}
declare float @atof(ptr noundef) #1
declare float @pow(i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4sxkclrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 float, align 4
%7 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call float @atof(ptr noundef %10)
store float %11, ptr %6, align 4
%12 = load float, ptr %6, align 4
%13 = call float @pow(i32 noundef 100, float noundef %12)
store float %13, ptr %7, align 4
ret i32 0
}
declare float @atof(ptr noundef) #1
declare float @pow(i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnakhphh4.c'
source_filename = "/tmp/tmpnakhphh4.c"
target datalayout = "e-m:e-p270: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/tmpnakhphh4.c"
target datalayout = "e-m:e-p270: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/tmpcmjs_fj3.c'
source_filename = "/tmp/tmpcmjs_fj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @func()
%3 = icmp eq i32 %2, 1
%4 = zext i1 %3 to i64
%5 = select i1 %3, i32 0, i32 1
ret i32 %5
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcmjs_fj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @func()
%3 = icmp eq i32 %2, 1
%4 = zext i1 %3 to i64
%5 = select i1 %3, i32 0, i32 1
ret i32 %5
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgepr939a.c'
source_filename = "/tmp/tmpgepr939a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@X_OK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"/bin/csh\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"/usr/bin/zsh\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"/bin/ash\00", align 1
@__const.guess_shell.shells = private unnamed_addr constant [6 x ptr] [ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @guess_shell() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca [6 x ptr], align 16
%5 = alloca i32, align 4
store ptr null, ptr %2, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %31
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @invalid_filename(ptr noundef %10, i32 noundef 0)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @is_dir(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %30, label %15
15: ; preds = %9
%16 = load ptr, ptr %2, align 8
%17 = call ptr @strstr(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %30
19: ; preds = %15
%20 = load ptr, ptr %2, align 8
%21 = call i64 @stat(ptr noundef %20, ptr noundef %3)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr @X_OK, align 4
%26 = call i64 @access(ptr noundef %24, i32 noundef %25)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = load ptr, ptr %2, align 8
store ptr %29, ptr %1, align 8
br label %63
30: ; preds = %23, %19, %15, %9
br label %31
31: ; preds = %30, %0
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.guess_shell.shells, i64 48, i1 false)
store i32 0, ptr %5, align 4
br label %32
32: ; preds = %58, %31
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %61
38: ; preds = %32
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = call i64 @stat(ptr noundef %42, ptr noundef %3)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %38
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr @X_OK, align 4
%51 = call i64 @access(ptr noundef %49, i32 noundef %50)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %45
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %55
%57 = load ptr, ptr %56, align 8
store ptr %57, ptr %2, align 8
br label %61
58: ; preds = %45, %38
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %32, !llvm.loop !6
61: ; preds = %53, %32
%62 = load ptr, ptr %2, align 8
store ptr %62, ptr %1, align 8
br label %63
63: ; preds = %61, %28
%64 = load ptr, ptr %1, align 8
ret ptr %64
}
declare ptr @getenv(ptr noundef) #1
declare i32 @invalid_filename(ptr noundef, i32 noundef) #1
declare i32 @is_dir(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpgepr939a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@X_OK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"/bin/csh\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"/usr/bin/zsh\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"/bin/ash\00", align 1
@__const.guess_shell.shells = private unnamed_addr constant [6 x ptr] [ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @guess_shell() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca [6 x ptr], align 16
%5 = alloca i32, align 4
store ptr null, ptr %2, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %31
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @invalid_filename(ptr noundef %10, i32 noundef 0)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @is_dir(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %30, label %15
15: ; preds = %9
%16 = load ptr, ptr %2, align 8
%17 = call ptr @strstr(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %30
19: ; preds = %15
%20 = load ptr, ptr %2, align 8
%21 = call i64 @stat(ptr noundef %20, ptr noundef %3)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr @X_OK, align 4
%26 = call i64 @access(ptr noundef %24, i32 noundef %25)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = load ptr, ptr %2, align 8
store ptr %29, ptr %1, align 8
br label %67
30: ; preds = %23, %19, %15, %9
br label %31
31: ; preds = %30, %0
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.guess_shell.shells, i64 48, i1 false)
store i32 0, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %31
br label %37
37: ; preds = %.lr.ph, %57
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = call i64 @stat(ptr noundef %41, ptr noundef %3)
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %37
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = load i32, ptr @X_OK, align 4
%50 = call i64 @access(ptr noundef %48, i32 noundef %49)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %44
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %54
%56 = load ptr, ptr %55, align 8
store ptr %56, ptr %2, align 8
br label %65
57: ; preds = %44, %37
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [6 x ptr], ptr %4, i64 0, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %37, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %57
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %31
br label %65
65: ; preds = %.loopexit, %52
%66 = load ptr, ptr %2, align 8
store ptr %66, ptr %1, align 8
br label %67
67: ; preds = %65, %28
%68 = load ptr, ptr %1, align 8
ret ptr %68
}
declare ptr @getenv(ptr noundef) #1
declare i32 @invalid_filename(ptr noundef, i32 noundef) #1
declare i32 @is_dir(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpylbmsgl1.c'
source_filename = "/tmp/tmpylbmsgl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asinhf(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca x86_fp80, align 16
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call x86_fp80 @__fabsl(float noundef %4)
store x86_fp80 %5, ptr %3, align 16
%6 = load x86_fp80, ptr %3, align 16
%7 = load x86_fp80, ptr %3, align 16
%8 = fmul x86_fp80 %6, %7
%9 = load x86_fp80, ptr %3, align 16
%10 = load x86_fp80, ptr %3, align 16
%11 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %9, x86_fp80 %10, x86_fp80 0xK3FFF8000000000000000)
%12 = call double @sqrtl(x86_fp80 noundef %11)
%13 = fadd double %12, 1.000000e+00
%14 = fpext double %13 to x86_fp80
%15 = fdiv x86_fp80 %8, %14
%16 = load x86_fp80, ptr %3, align 16
%17 = fadd x86_fp80 %15, %16
%18 = call float @log1pl(x86_fp80 noundef %17)
%19 = load float, ptr %2, align 4
%20 = call float @__sgn1l(float noundef %19)
%21 = fmul float %18, %20
ret float %21
}
declare x86_fp80 @__fabsl(float noundef) #1
declare float @log1pl(x86_fp80 noundef) #1
declare double @sqrtl(x86_fp80 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
declare float @__sgn1l(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpylbmsgl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asinhf(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca x86_fp80, align 16
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call x86_fp80 @__fabsl(float noundef %4)
store x86_fp80 %5, ptr %3, align 16
%6 = load x86_fp80, ptr %3, align 16
%7 = load x86_fp80, ptr %3, align 16
%8 = fmul x86_fp80 %6, %7
%9 = load x86_fp80, ptr %3, align 16
%10 = load x86_fp80, ptr %3, align 16
%11 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %9, x86_fp80 %10, x86_fp80 0xK3FFF8000000000000000)
%12 = call double @sqrtl(x86_fp80 noundef %11)
%13 = fadd double %12, 1.000000e+00
%14 = fpext double %13 to x86_fp80
%15 = fdiv x86_fp80 %8, %14
%16 = load x86_fp80, ptr %3, align 16
%17 = fadd x86_fp80 %15, %16
%18 = call float @log1pl(x86_fp80 noundef %17)
%19 = load float, ptr %2, align 4
%20 = call float @__sgn1l(float noundef %19)
%21 = fmul float %18, %20
ret float %21
}
declare x86_fp80 @__fabsl(float noundef) #1
declare float @log1pl(x86_fp80 noundef) #1
declare double @sqrtl(x86_fp80 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
declare float @__sgn1l(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsg6sc61n.c'
source_filename = "/tmp/tmpsg6sc61n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = call ptr @malloc(i32 noundef 4096)
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @vsprintf(ptr noundef %10, ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fwrite(ptr noundef %14, i32 noundef 1, i32 noundef %15, ptr noundef %16)
store i32 %17, ptr %7, align 4
%18 = load ptr, ptr %8, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load i32, ptr %7, align 4
ret i32 %20
}
declare ptr @malloc(i32 noundef) #1
declare i32 @vsprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 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/tmpsg6sc61n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = call ptr @malloc(i32 noundef 4096)
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @vsprintf(ptr noundef %10, ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fwrite(ptr noundef %14, i32 noundef 1, i32 noundef %15, ptr noundef %16)
store i32 %17, ptr %7, align 4
%18 = load ptr, ptr %8, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load i32, ptr %7, align 4
ret i32 %20
}
declare ptr @malloc(i32 noundef) #1
declare i32 @vsprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 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/tmpjjyj7o_h.c'
source_filename = "/tmp/tmpjjyj7o_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_params(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %12, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = call ptr @malloc(i32 noundef 0)
store ptr %16, ptr %11, align 8
%17 = load ptr, ptr %11, align 8
store ptr %17, ptr %4, align 8
br label %92
18: ; preds = %3
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 1, %19
%21 = sub nsw i32 %20, 1
%22 = add nsw i32 %21, 2
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %23, align 4
%25 = add nsw i32 %24, %22
store i32 %25, ptr %23, align 4
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %26, align 4
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %11, align 8
%29 = load ptr, ptr %11, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 0
store i8 123, ptr %30, align 1
store i32 1, ptr %10, align 4
store i32 0, ptr %8, align 4
br label %31
31: ; preds = %78, %18
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %81
35: ; preds = %31
store i32 0, ptr %9, align 4
br label %36
36: ; preds = %64, %35
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %67
48: ; preds = %36
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %58, i64 %62
store i8 %57, ptr %63, align 1
br label %64
64: ; preds = %48
%65 = load i32, ptr %9, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %9, align 4
br label %36, !llvm.loop !6
67: ; preds = %36
%68 = load ptr, ptr %11, align 8
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %68, i64 %72
store i8 44, ptr %73, align 1
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %10, align 4
br label %78
78: ; preds = %67
%79 = load i32, ptr %8, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %8, align 4
br label %31, !llvm.loop !8
81: ; preds = %31
%82 = load ptr, ptr %11, align 8
%83 = load i32, ptr %10, align 4
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %82, i64 %85
store i8 125, ptr %86, align 1
%87 = load ptr, ptr %11, align 8
%88 = load i32, ptr %10, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
store i8 0, ptr %90, align 1
%91 = load ptr, ptr %11, align 8
store ptr %91, ptr %4, align 8
br label %92
92: ; preds = %81, %15
%93 = load ptr, ptr %4, align 8
ret ptr %93
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjyj7o_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_params(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %12, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = call ptr @malloc(i32 noundef 0)
store ptr %16, ptr %11, align 8
%17 = load ptr, ptr %11, align 8
store ptr %17, ptr %4, align 8
br label %104
18: ; preds = %3
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 1, %19
%21 = sub nsw i32 %20, 1
%22 = add nsw i32 %21, 2
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %23, align 4
%25 = add nsw i32 %24, %22
store i32 %25, ptr %23, align 4
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %26, align 4
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %11, align 8
%29 = load ptr, ptr %11, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 0
store i8 123, ptr %30, align 1
store i32 1, ptr %10, align 4
store i32 0, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %93
.lr.ph2: ; preds = %18
br label %34
34: ; preds = %.lr.ph2, %87
store i32 0, ptr %9, align 4
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %.lr.ph, label %76
.lr.ph: ; preds = %34
br label %46
46: ; preds = %.lr.ph, %62
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = load ptr, ptr %11, align 8
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %57, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %56, i64 %60
store i8 %55, ptr %61, align 1
br label %62
62: ; preds = %46
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 0
br i1 %75, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %76
76: ; preds = %._crit_edge, %34
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %77, i64 %81
store i8 44, ptr %82, align 1
%83 = load i32, ptr %9, align 4
%84 = add nsw i32 %83, 1
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %10, align 4
br label %87
87: ; preds = %76
%88 = load i32, ptr %8, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %8, align 4
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %87
br label %93
93: ; preds = %._crit_edge3, %18
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %10, align 4
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %94, i64 %97
store i8 125, ptr %98, align 1
%99 = load ptr, ptr %11, align 8
%100 = load i32, ptr %10, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %99, i64 %101
store i8 0, ptr %102, align 1
%103 = load ptr, ptr %11, align 8
store ptr %103, ptr %4, align 8
br label %104
104: ; preds = %93, %15
%105 = load ptr, ptr %4, align 8
ret ptr %105
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpaz7aw_jy.c'
source_filename = "/tmp/tmpaz7aw_jy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_dlright(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 @dlright(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @wl_rcursor(ptr noundef %5)
ret void
}
declare i32 @dlright(ptr noundef) #1
declare i32 @wl_rcursor(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaz7aw_jy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_dlright(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 @dlright(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @wl_rcursor(ptr noundef %5)
ret void
}
declare i32 @dlright(ptr noundef) #1
declare i32 @wl_rcursor(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsbcb5mvi.c'
source_filename = "/tmp/tmpsbcb5mvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"equals\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"not_equal\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"<>\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"greater_than\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"greater_than_equal_to\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c">=\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"less_than\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"less_than_equal_to\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"<=\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"begins\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"contains\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"or_,\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"not_contains\00", align 1
@.str.16 = private unnamed_addr constant [19 x i8] c"not_equal_or_empty\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"between\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"is_empty\00", align 1
@.str.19 = private unnamed_addr constant [10 x i8] c"not_empty\00", align 1
@.str.20 = private unnamed_addr constant [17 x i8] c"unknown operator\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_operator_character(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %74
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store ptr @.str.3, ptr %2, align 8
br label %74
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.4)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr @.str.5, ptr %2, align 8
br label %74
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.6)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store ptr @.str.7, ptr %2, align 8
br label %74
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.8)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store ptr @.str.9, ptr %2, align 8
br label %74
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.10)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store ptr @.str.11, ptr %2, align 8
br label %74
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.12)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store ptr @.str.12, ptr %2, align 8
br label %74
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.13)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store ptr @.str.13, ptr %2, align 8
br label %74
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.14)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store ptr @.str.14, ptr %2, align 8
br label %74
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.15)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store ptr @.str.15, ptr %2, align 8
br label %74
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.16)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store ptr @.str.16, ptr %2, align 8
br label %74
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.17)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store ptr @.str.17, ptr %2, align 8
br label %74
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.18)
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store ptr @.str.18, ptr %2, align 8
br label %74
68: ; preds = %63
%69 = load ptr, ptr %3, align 8
%70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.19)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store ptr @.str.19, ptr %2, align 8
br label %74
73: ; preds = %68
store ptr @.str.20, ptr %2, align 8
br label %74
74: ; preds = %73, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%75 = load ptr, ptr %2, align 8
ret ptr %75
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbcb5mvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"equals\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"not_equal\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"<>\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"greater_than\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"greater_than_equal_to\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c">=\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"less_than\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"less_than_equal_to\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"<=\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"begins\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"contains\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"or_,\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"not_contains\00", align 1
@.str.16 = private unnamed_addr constant [19 x i8] c"not_equal_or_empty\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c"between\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"is_empty\00", align 1
@.str.19 = private unnamed_addr constant [10 x i8] c"not_empty\00", align 1
@.str.20 = private unnamed_addr constant [17 x i8] c"unknown operator\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_operator_character(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %74
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store ptr @.str.3, ptr %2, align 8
br label %74
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.4)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr @.str.5, ptr %2, align 8
br label %74
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.6)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store ptr @.str.7, ptr %2, align 8
br label %74
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.8)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store ptr @.str.9, ptr %2, align 8
br label %74
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.10)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store ptr @.str.11, ptr %2, align 8
br label %74
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.12)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store ptr @.str.12, ptr %2, align 8
br label %74
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.13)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store ptr @.str.13, ptr %2, align 8
br label %74
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.14)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store ptr @.str.14, ptr %2, align 8
br label %74
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.15)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store ptr @.str.15, ptr %2, align 8
br label %74
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.16)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store ptr @.str.16, ptr %2, align 8
br label %74
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.17)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store ptr @.str.17, ptr %2, align 8
br label %74
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.18)
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store ptr @.str.18, ptr %2, align 8
br label %74
68: ; preds = %63
%69 = load ptr, ptr %3, align 8
%70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.19)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store ptr @.str.19, ptr %2, align 8
br label %74
73: ; preds = %68
store ptr @.str.20, ptr %2, align 8
br label %74
74: ; preds = %73, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%75 = load ptr, ptr %2, align 8
ret ptr %75
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqjc7eqcj.c'
source_filename = "/tmp/tmpqjc7eqcj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjc7eqcj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1jxqrlfv.c'
source_filename = "/tmp/tmp1jxqrlfv.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fgetc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 1, ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = icmp eq i64 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i8, ptr %4, align 1
%11 = zext i8 %10 to i32
store i32 %11, ptr %2, align 4
br label %14
12: ; preds = %1
%13 = load i32, ptr @EOF, align 4
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %12, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @fread(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1jxqrlfv.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fgetc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 1, ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = icmp eq i64 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i8, ptr %4, align 1
%11 = zext i8 %10 to i32
store i32 %11, ptr %2, align 4
br label %14
12: ; preds = %1
%13 = load i32, ptr @EOF, align 4
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %12, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @fread(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphshy73g0.c'
source_filename = "/tmp/tmphshy73g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cbstrcountutf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @assert(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %40, %1
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = zext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %43
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = and i32 %16, 128
%18 = icmp eq i32 %17, 0
br i1 %18, label %37, label %19
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = and i32 %22, 224
%24 = icmp eq i32 %23, 192
br i1 %24, label %37, label %25
25: ; preds = %19
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = and i32 %28, 240
%30 = icmp eq i32 %29, 224
br i1 %30, label %37, label %31
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = and i32 %34, 248
%36 = icmp eq i32 %35, 240
br i1 %36, label %37, label %40
37: ; preds = %31, %25, %19, %13
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %4, align 4
br label %40
40: ; preds = %37, %31
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %3, align 8
br label %8, !llvm.loop !6
43: ; preds = %8
%44 = load i32, ptr %4, align 4
ret i32 %44
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmphshy73g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cbstrcountutf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @assert(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %3, align 8
store i32 0, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = zext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %46
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %39
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = and i32 %15, 128
%17 = icmp eq i32 %16, 0
br i1 %17, label %36, label %18
18: ; preds = %12
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = and i32 %21, 224
%23 = icmp eq i32 %22, 192
br i1 %23, label %36, label %24
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = and i32 %27, 240
%29 = icmp eq i32 %28, 224
br i1 %29, label %36, label %30
30: ; preds = %24
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = and i32 %33, 248
%35 = icmp eq i32 %34, 240
br i1 %35, label %36, label %39
36: ; preds = %30, %24, %18, %12
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %39
39: ; preds = %36, %30
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %3, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %46
46: ; preds = %._crit_edge, %1
%47 = load i32, ptr %4, align 4
ret i32 %47
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmps9dkdgxt.c'
source_filename = "/tmp/tmps9dkdgxt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @format_to_string()
%7 = call i32 (...) @format_integer_types()
%8 = call i32 (...) @format_float_types()
%9 = call i32 (...) @format_string_types()
ret i32 0
}
declare i32 @format_to_string(...) #1
declare i32 @format_integer_types(...) #1
declare i32 @format_float_types(...) #1
declare i32 @format_string_types(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps9dkdgxt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @format_to_string()
%7 = call i32 (...) @format_integer_types()
%8 = call i32 (...) @format_float_types()
%9 = call i32 (...) @format_string_types()
ret i32 0
}
declare i32 @format_to_string(...) #1
declare i32 @format_integer_types(...) #1
declare i32 @format_float_types(...) #1
declare i32 @format_string_types(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5p_jbncg.c'
source_filename = "/tmp/tmp5p_jbncg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [889 x i8] c"Usage: parallel [OPTIONS] COMMAND -- ARGUMENTS\0A Run COMMAND in parallel and pass one ARGUMENT to each instance.\0A or: parallel [OPTIONS] -- COMMANDS\0A Run specified COMMANDS in parallel.\0A\0AOptions:\0A -h Display this help.\0A -j maxjobs Use to limit the number of jobs that are run at the same time.\0A -l maxload Wait as needed to avoid starting new jobs when the system's load\0A average is not below the specified limit.\0A -i Normally the command is passed the argument at the end of its\0A command line. With this option, any instances of \22{}\22 in the\0A command are replaced with the argument.\0A -n #args Number of arguments to pass to a command at a time. Default is 1.\0A When specified together with -i, each {} (up to #args) will be\0A replaced by a different argument.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5p_jbncg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [889 x i8] c"Usage: parallel [OPTIONS] COMMAND -- ARGUMENTS\0A Run COMMAND in parallel and pass one ARGUMENT to each instance.\0A or: parallel [OPTIONS] -- COMMANDS\0A Run specified COMMANDS in parallel.\0A\0AOptions:\0A -h Display this help.\0A -j maxjobs Use to limit the number of jobs that are run at the same time.\0A -l maxload Wait as needed to avoid starting new jobs when the system's load\0A average is not below the specified limit.\0A -i Normally the command is passed the argument at the end of its\0A command line. With this option, any instances of \22{}\22 in the\0A command are replaced with the argument.\0A -n #args Number of arguments to pass to a command at a time. Default is 1.\0A When specified together with -i, each {} (up to #args) will be\0A replaced by a different argument.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpau8ofn78.c'
source_filename = "/tmp/tmpau8ofn78.c"
target datalayout = "e-m:e-p270: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/tmpau8ofn78.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.