llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpqhw5pc5f.c'
source_filename = "/tmp/tmpqhw5pc5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookinteger16array_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = mul i32 %7, 16
%9 = call i32 @lookNarray(ptr noundef %5, i32 noundef %8)
ret void
}
declare i32 @lookNarray(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/tmpqhw5pc5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookinteger16array_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = mul i32 %7, 16
%9 = call i32 @lookNarray(ptr noundef %5, i32 noundef %8)
ret void
}
declare i32 @lookNarray(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/tmpktkp6z13.c'
source_filename = "/tmp/tmpktkp6z13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i64 @malloc(i32 noundef 4)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @__set_file_attribute(ptr noundef %11)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare i64 @malloc(i32 noundef) #1
declare i32 @__set_file_attribute(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpktkp6z13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i64 @malloc(i32 noundef 4)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call i32 @__set_file_attribute(ptr noundef %11)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare i64 @malloc(i32 noundef) #1
declare i32 @__set_file_attribute(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8aafpww7.c'
source_filename = "/tmp/tmp8aafpww7.c"
target datalayout = "e-m:e-p270: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 [93 x i8] c"\0A[ERROR]: No input provided. Please provide the reference file followed by the query file\0A\0A.\00", align 1
@.str.1 = private unnamed_addr constant [80 x i8] c"\0AThis program is designed to help outmated BLAST execution of query sequences.\0A\00", align 1
@.str.2 = private unnamed_addr constant [170 x i8] c"\0ASpecifically, it's intended for use with deletion mutants. This program will help you find whether your deletion fragment is present in your mutant candidate sequence.\0A\00", align 1
@.str.3 = private unnamed_addr constant [75 x i8] c"\0AExecution Example:\0A$ muta organism_sequence.fasta mutant_sequence.fasta\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"PWD\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"\226 qseqid sseqid pident sstart send length qlen evalue\22\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"%s.blastout\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"blastn -db %s -query %s -outfmt %s -out %s\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [61 x i8] c"\0A**********************************************************\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"* BLAST was successful!\0A\00", align 1
@.str.11 = private unnamed_addr constant [29 x i8] c"* Output file < %s > created\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"These are the BLAST hits for your sequence...\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [35 x i8] c"for i in 4 5; do cut -f$i %s ;done\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.15 = private unnamed_addr constant [41 x i8] c"Could not open/find BLAST output file %s\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.17 = private unnamed_addr constant [62 x i8] c"\0A\0A**********************************************************\0A\00", align 1
@.str.18 = private unnamed_addr constant [37 x i8] c"* Sorry, BLAST was UNSUCCESSFUL :( \0A\00", align 1
@.str.19 = private unnamed_addr constant [24 x i8] c"* Please re-run program\00", align 1
@.str.20 = private unnamed_addr constant [62 x i8] c"\0A**********************************************************\0A\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 [250 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [50 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [150 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 3
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %79
24: ; preds = %2
%25 = call ptr @getenv(ptr noundef @.str.4)
store ptr %25, ptr %7, align 8
store ptr @.str.5, ptr %8, align 8
%26 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.6, ptr noundef %29)
%31 = getelementptr inbounds [250 x i8], ptr %6, i64 0, i64 0
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%40 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.7, ptr noundef %34, ptr noundef %37, ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [250 x i8], ptr %6, i64 0, i64 0
%42 = call i64 @system(ptr noundef %41)
%43 = getelementptr inbounds [250 x i8], ptr %6, i64 0, i64 0
%44 = call i64 @system(ptr noundef %43)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %73
46: ; preds = %24
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%50 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%55 = getelementptr inbounds [150 x i8], ptr %15, i64 0, i64 0
%56 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%57 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %55, ptr noundef @.str.13, ptr noundef %56)
%58 = getelementptr inbounds [150 x i8], ptr %15, i64 0, i64 0
%59 = call i64 @system(ptr noundef %58)
%60 = getelementptr inbounds [150 x i8], ptr %15, i64 0, i64 0
%61 = call ptr @popen(ptr noundef %60, ptr noundef @.str.14)
store ptr %61, ptr %10, align 8
%62 = load ptr, ptr %10, align 8
%63 = icmp eq ptr %62, null
br i1 %63, label %64, label %67
64: ; preds = %46
%65 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %65)
store i32 0, ptr %3, align 4
br label %79
67: ; preds = %46
%68 = load ptr, ptr %10, align 8
%69 = call i32 @fscanf(ptr noundef %68, ptr noundef @.str.16, ptr noundef %11, ptr noundef %13, ptr noundef %12, ptr noundef %14)
%70 = load ptr, ptr %10, align 8
%71 = call i32 @pclose(ptr noundef %70)
%72 = call i32 @hits(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
br label %78
73: ; preds = %24
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %78
78: ; preds = %73, %67
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %78, %64, %18
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @system(ptr noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
declare i32 @hits(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/tmp8aafpww7.c"
target datalayout = "e-m:e-p270: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 [93 x i8] c"\0A[ERROR]: No input provided. Please provide the reference file followed by the query file\0A\0A.\00", align 1
@.str.1 = private unnamed_addr constant [80 x i8] c"\0AThis program is designed to help outmated BLAST execution of query sequences.\0A\00", align 1
@.str.2 = private unnamed_addr constant [170 x i8] c"\0ASpecifically, it's intended for use with deletion mutants. This program will help you find whether your deletion fragment is present in your mutant candidate sequence.\0A\00", align 1
@.str.3 = private unnamed_addr constant [75 x i8] c"\0AExecution Example:\0A$ muta organism_sequence.fasta mutant_sequence.fasta\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"PWD\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"\226 qseqid sseqid pident sstart send length qlen evalue\22\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"%s.blastout\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"blastn -db %s -query %s -outfmt %s -out %s\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [61 x i8] c"\0A**********************************************************\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"* BLAST was successful!\0A\00", align 1
@.str.11 = private unnamed_addr constant [29 x i8] c"* Output file < %s > created\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"These are the BLAST hits for your sequence...\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [35 x i8] c"for i in 4 5; do cut -f$i %s ;done\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.15 = private unnamed_addr constant [41 x i8] c"Could not open/find BLAST output file %s\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.17 = private unnamed_addr constant [62 x i8] c"\0A\0A**********************************************************\0A\00", align 1
@.str.18 = private unnamed_addr constant [37 x i8] c"* Sorry, BLAST was UNSUCCESSFUL :( \0A\00", align 1
@.str.19 = private unnamed_addr constant [24 x i8] c"* Please re-run program\00", align 1
@.str.20 = private unnamed_addr constant [62 x i8] c"\0A**********************************************************\0A\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 [250 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [50 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [150 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 3
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %79
24: ; preds = %2
%25 = call ptr @getenv(ptr noundef @.str.4)
store ptr %25, ptr %7, align 8
store ptr @.str.5, ptr %8, align 8
%26 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.6, ptr noundef %29)
%31 = getelementptr inbounds [250 x i8], ptr %6, i64 0, i64 0
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%40 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.7, ptr noundef %34, ptr noundef %37, ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [250 x i8], ptr %6, i64 0, i64 0
%42 = call i64 @system(ptr noundef %41)
%43 = getelementptr inbounds [250 x i8], ptr %6, i64 0, i64 0
%44 = call i64 @system(ptr noundef %43)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %73
46: ; preds = %24
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%50 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%55 = getelementptr inbounds [150 x i8], ptr %15, i64 0, i64 0
%56 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%57 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %55, ptr noundef @.str.13, ptr noundef %56)
%58 = getelementptr inbounds [150 x i8], ptr %15, i64 0, i64 0
%59 = call i64 @system(ptr noundef %58)
%60 = getelementptr inbounds [150 x i8], ptr %15, i64 0, i64 0
%61 = call ptr @popen(ptr noundef %60, ptr noundef @.str.14)
store ptr %61, ptr %10, align 8
%62 = load ptr, ptr %10, align 8
%63 = icmp eq ptr %62, null
br i1 %63, label %64, label %67
64: ; preds = %46
%65 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %65)
store i32 0, ptr %3, align 4
br label %79
67: ; preds = %46
%68 = load ptr, ptr %10, align 8
%69 = call i32 @fscanf(ptr noundef %68, ptr noundef @.str.16, ptr noundef %11, ptr noundef %13, ptr noundef %12, ptr noundef %14)
%70 = load ptr, ptr %10, align 8
%71 = call i32 @pclose(ptr noundef %70)
%72 = call i32 @hits(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
br label %78
73: ; preds = %24
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %78
78: ; preds = %73, %67
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %78, %64, %18
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @system(ptr noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
declare i32 @hits(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/tmpuk3vmg85.c'
source_filename = "/tmp/tmpuk3vmg85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__lwt_kthd_idle() #0 {
br label %1
1: ; preds = %0, %1
%2 = call i32 @lwt_yield(ptr noundef null)
br label %1
}
declare i32 @lwt_yield(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuk3vmg85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__lwt_kthd_idle() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 @lwt_yield(ptr noundef null)
br label %1
}
declare i32 @lwt_yield(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq3w9jayr.c'
source_filename = "/tmp/tmpq3w9jayr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"is-safe-data-type-cast\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq3w9jayr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"is-safe-data-type-cast\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp40yj1ji_.c'
source_filename = "/tmp/tmp40yj1ji_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runContractTests() #0 {
%1 = call i32 (...) @installTokensForTest()
%2 = call i32 (...) @runTokenParseTests()
%3 = call i32 (...) @runTokenLookupTests()
ret void
}
declare i32 @installTokensForTest(...) #1
declare i32 @runTokenParseTests(...) #1
declare i32 @runTokenLookupTests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp40yj1ji_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runContractTests() #0 {
%1 = call i32 (...) @installTokensForTest()
%2 = call i32 (...) @runTokenParseTests()
%3 = call i32 (...) @runTokenLookupTests()
ret void
}
declare i32 @installTokensForTest(...) #1
declare i32 @runTokenParseTests(...) #1
declare i32 @runTokenLookupTests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6_00_uuh.c'
source_filename = "/tmp/tmp6_00_uuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test1.nums = private unnamed_addr constant [4 x i32] [i32 5, i32 6, i32 3, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test1() #0 {
%1 = alloca [4 x i32], align 16
%2 = alloca [4 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test1.nums, i64 16, i1 false)
%3 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @walk(ptr noundef %3, i32 noundef 8000000)
%5 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @merge(ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @walk(ptr noundef %8, i32 noundef 8000000)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @walk(ptr noundef, i32 noundef) #2
declare i32 @merge(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_00_uuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test1.nums = private unnamed_addr constant [4 x i32] [i32 5, i32 6, i32 3, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test1() #0 {
%1 = alloca [4 x i32], align 16
%2 = alloca [4 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test1.nums, i64 16, i1 false)
%3 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @walk(ptr noundef %3, i32 noundef 8000000)
%5 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @merge(ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @walk(ptr noundef %8, i32 noundef 8000000)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @walk(ptr noundef, i32 noundef) #2
declare i32 @merge(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"}
|
; ModuleID = '/tmp/tmpm8_u9s_f.c'
source_filename = "/tmp/tmpm8_u9s_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_float_f2i(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call float @u2f(i32 noundef %5)
store float %6, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = fptosi float %7 to i32
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare float @u2f(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/tmpm8_u9s_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_float_f2i(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call float @u2f(i32 noundef %5)
store float %6, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = fptosi float %7 to i32
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare float @u2f(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/tmpehf9my87.c'
source_filename = "/tmp/tmpehf9my87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %5, align 8
%8 = load double, ptr %6, align 8
%9 = call double @cos(double noundef %8) #3
%10 = load double, ptr %4, align 8
%11 = load double, ptr %6, align 8
%12 = call double @sin(double noundef %11) #3
%13 = fmul double %10, %12
%14 = fneg double %13
%15 = call double @llvm.fmuladd.f64(double %7, double %9, double %14)
ret double %15
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpehf9my87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %5, align 8
%8 = load double, ptr %6, align 8
%9 = call double @cos(double noundef %8) #3
%10 = load double, ptr %4, align 8
%11 = load double, ptr %6, align 8
%12 = call double @sin(double noundef %11) #3
%13 = fmul double %10, %12
%14 = fneg double %13
%15 = call double @llvm.fmuladd.f64(double %7, double %9, double %14)
ret double %15
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp82fnpo_y.c'
source_filename = "/tmp/tmp82fnpo_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp82fnpo_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpke0rlluh.c'
source_filename = "/tmp/tmpke0rlluh.c"
target datalayout = "e-m:e-p270: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/tmpke0rlluh.c"
target datalayout = "e-m:e-p270: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/tmp6kl6g8gh.c'
source_filename = "/tmp/tmp6kl6g8gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" a?;\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" z?;\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" goto L%d;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printgoto(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 (ptr, ...) @output(ptr noundef @.str)
br label %15
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 (ptr, ...) @output(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %9
br label %15
15: ; preds = %14, %7
%16 = load i32, ptr %3, align 4
%17 = call i32 (ptr, ...) @output(ptr noundef @.str.2, i32 noundef %16)
ret void
}
declare i32 @output(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6kl6g8gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" a?;\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" z?;\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" goto L%d;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printgoto(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 (ptr, ...) @output(ptr noundef @.str)
br label %15
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 (ptr, ...) @output(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %9
br label %15
15: ; preds = %14, %7
%16 = load i32, ptr %3, align 4
%17 = call i32 (ptr, ...) @output(ptr noundef @.str.2, i32 noundef %16)
ret void
}
declare i32 @output(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptwf8hxhc.c'
source_filename = "/tmp/tmptwf8hxhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Wait(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 (...) @GetTimeStamp()
store i32 %5, ptr %3, align 4
br label %6
6: ; preds = %1, %14
%7 = call i32 (...) @GetTimeStamp()
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %8, %9
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %6
br label %15
14: ; preds = %6
br label %6
15: ; preds = %13
ret void
}
declare i32 @GetTimeStamp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptwf8hxhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Wait(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 (...) @GetTimeStamp()
store i32 %5, ptr %3, align 4
br label %6
6: ; preds = %6, %1
%7 = call i32 (...) @GetTimeStamp()
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %8, %9
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %6
13: ; preds = %6
br label %14
14: ; preds = %13
ret void
}
declare i32 @GetTimeStamp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb3kyutwe.c'
source_filename = "/tmp/tmpb3kyutwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb3kyutwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt205dn7y.c'
source_filename = "/tmp/tmpt205dn7y.c"
target datalayout = "e-m:e-p270: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/tmpt205dn7y.c"
target datalayout = "e-m:e-p270: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/tmpj7rvptrt.c'
source_filename = "/tmp/tmpj7rvptrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_charset_uint8_t(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
br label %12
12: ; preds = %37, %4
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %13, %14
br i1 %15, label %16, label %40
16: ; preds = %12
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = ashr i32 %19, 3
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %11, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %37
24: ; preds = %16
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %11, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %10, align 4
%31 = and i32 %30, 7
%32 = shl i32 1, %31
%33 = and i32 %29, %32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %24
%36 = load ptr, ptr %6, align 8
store ptr %36, ptr %5, align 8
br label %41
37: ; preds = %24, %16
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i32, ptr %38, i32 1
store ptr %39, ptr %6, align 8
br label %12, !llvm.loop !6
40: ; preds = %12
store ptr null, ptr %5, align 8
br label %41
41: ; preds = %40, %35
%42 = load ptr, ptr %5, align 8
ret ptr %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj7rvptrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_charset_uint8_t(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %12, %13
br i1 %14, label %.lr.ph, label %42
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %36
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = ashr i32 %18, 3
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %36
23: ; preds = %15
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %10, align 4
%30 = and i32 %29, 7
%31 = shl i32 1, %30
%32 = and i32 %28, %31
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %23
%35 = load ptr, ptr %6, align 8
store ptr %35, ptr %5, align 8
br label %43
36: ; preds = %23, %15
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i32, ptr %37, i32 1
store ptr %38, ptr %6, align 8
%39 = load ptr, ptr %6, align 8
%40 = load ptr, ptr %7, align 8
%41 = icmp ne ptr %39, %40
br i1 %41, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %4
store ptr null, ptr %5, align 8
br label %43
43: ; preds = %42, %34
%44 = load ptr, ptr %5, align 8
ret ptr %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu_zwpl0w.c'
source_filename = "/tmp/tmpu_zwpl0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
@.str = private unnamed_addr constant [43 x i8] c"La ligne est > MAXLINE (voir mcu_macros.h)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readl(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %38, %1
%7 = call signext i8 (...) @getchar()
store i8 %7, ptr %4, align 1
%8 = sext i8 %7 to i32
%9 = load i8, ptr @EOF, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %8, %10
br i1 %11, label %12, label %39
12: ; preds = %6
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
%21 = load i32, ptr %5, align 4
store i32 %21, ptr %2, align 4
br label %53
22: ; preds = %12
%23 = load i32, ptr %5, align 4
%24 = icmp sge i32 %23, 81
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = icmp sge i32 %26, 81
%28 = zext i1 %27 to i32
%29 = call i32 @fatal(i32 noundef %28, ptr noundef @.str, i32 noundef 2)
br label %37
30: ; preds = %22
%31 = load i8, ptr %4, align 1
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store i8 %31, ptr %36, align 1
br label %37
37: ; preds = %30, %25
br label %38
38: ; preds = %37
br label %6, !llvm.loop !6
39: ; preds = %6
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
%44 = load i32, ptr %5, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %39
%47 = load i8, ptr @EOF, align 1
%48 = sext i8 %47 to i32
br label %51
49: ; preds = %39
%50 = load i32, ptr %5, align 4
br label %51
51: ; preds = %49, %46
%52 = phi i32 [ %48, %46 ], [ %50, %49 ]
store i32 %52, ptr %2, align 4
br label %53
53: ; preds = %51, %16
%54 = load i32, ptr %2, align 4
ret i32 %54
}
declare signext i8 @getchar(...) #1
declare i32 @fatal(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu_zwpl0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
@.str = private unnamed_addr constant [43 x i8] c"La ligne est > MAXLINE (voir mcu_macros.h)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readl(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %4, align 1
%7 = sext i8 %6 to i32
%8 = load i8, ptr @EOF, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %7, %9
br i1 %10, label %.lr.ph, label %43
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %37
%12 = load i8, ptr %4, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 10
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 0, ptr %19, align 1
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %2, align 4
br label %57
21: ; preds = %11
%22 = load i32, ptr %5, align 4
%23 = icmp sge i32 %22, 81
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load i32, ptr %5, align 4
%26 = icmp sge i32 %25, 81
%27 = zext i1 %26 to i32
%28 = call i32 @fatal(i32 noundef %27, ptr noundef @.str, i32 noundef 2)
br label %36
29: ; preds = %21
%30 = load i8, ptr %4, align 1
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
store i8 %30, ptr %35, align 1
br label %36
36: ; preds = %29, %24
br label %37
37: ; preds = %36
%38 = call signext i8 (...) @getchar()
store i8 %38, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = load i8, ptr @EOF, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %39, %41
br i1 %42, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %1
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
%48 = load i32, ptr %5, align 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %43
%51 = load i8, ptr @EOF, align 1
%52 = sext i8 %51 to i32
br label %55
53: ; preds = %43
%54 = load i32, ptr %5, align 4
br label %55
55: ; preds = %53, %50
%56 = phi i32 [ %52, %50 ], [ %54, %53 ]
store i32 %56, ptr %2, align 4
br label %57
57: ; preds = %55, %15
%58 = load i32, ptr %2, align 4
ret i32 %58
}
declare signext i8 @getchar(...) #1
declare i32 @fatal(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqnqr4w5u.c'
source_filename = "/tmp/tmpqnqr4w5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@replace_Substring.temp = internal global [4096 x i8] zeroinitializer, align 16
@replace_Substring.buffer = internal global [4096 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @replace_Substring(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %9, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = call i32 @strcpy(ptr noundef @replace_Substring.temp, ptr noundef %14)
%16 = load ptr, ptr %7, align 8
%17 = call ptr @strstr(ptr noundef @replace_Substring.temp, ptr noundef %16)
store ptr %17, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %20, label %19
19: ; preds = %4
store ptr @replace_Substring.temp, ptr %5, align 8
br label %47
20: ; preds = %4
%21 = load ptr, ptr %10, align 8
%22 = ptrtoint ptr %21 to i64
%23 = sub i64 %22, ptrtoint (ptr @replace_Substring.temp to i64)
%24 = trunc i64 %23 to i32
%25 = call i32 @strncpy(ptr noundef @replace_Substring.buffer, ptr noundef @replace_Substring.temp, i32 noundef %24)
%26 = load ptr, ptr %10, align 8
%27 = ptrtoint ptr %26 to i64
%28 = sub i64 %27, ptrtoint (ptr @replace_Substring.temp to i64)
%29 = getelementptr inbounds [4096 x i8], ptr @replace_Substring.buffer, i64 0, i64 %28
store i8 0, ptr %29, align 1
%30 = load ptr, ptr %10, align 8
%31 = ptrtoint ptr %30 to i64
%32 = sub i64 %31, ptrtoint (ptr @replace_Substring.temp to i64)
%33 = getelementptr inbounds i8, ptr @replace_Substring.buffer, i64 %32
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %10, align 8
%36 = load ptr, ptr %7, align 8
%37 = call i32 @strlen(ptr noundef %36)
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %33, ptr noundef @.str, ptr noundef %34, ptr noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %44, ptr noundef @.str.1, ptr noundef @replace_Substring.buffer)
%46 = load ptr, ptr %6, align 8
store ptr %46, ptr %5, align 8
br label %47
47: ; preds = %20, %19
%48 = load ptr, ptr %5, align 8
ret ptr %48
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqnqr4w5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@replace_Substring.temp = internal global [4096 x i8] zeroinitializer, align 16
@replace_Substring.buffer = internal global [4096 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @replace_Substring(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %9, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = call i32 @strcpy(ptr noundef @replace_Substring.temp, ptr noundef %14)
%16 = load ptr, ptr %7, align 8
%17 = call ptr @strstr(ptr noundef @replace_Substring.temp, ptr noundef %16)
store ptr %17, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %20, label %19
19: ; preds = %4
store ptr @replace_Substring.temp, ptr %5, align 8
br label %47
20: ; preds = %4
%21 = load ptr, ptr %10, align 8
%22 = ptrtoint ptr %21 to i64
%23 = sub i64 %22, ptrtoint (ptr @replace_Substring.temp to i64)
%24 = trunc i64 %23 to i32
%25 = call i32 @strncpy(ptr noundef @replace_Substring.buffer, ptr noundef @replace_Substring.temp, i32 noundef %24)
%26 = load ptr, ptr %10, align 8
%27 = ptrtoint ptr %26 to i64
%28 = sub i64 %27, ptrtoint (ptr @replace_Substring.temp to i64)
%29 = getelementptr inbounds [4096 x i8], ptr @replace_Substring.buffer, i64 0, i64 %28
store i8 0, ptr %29, align 1
%30 = load ptr, ptr %10, align 8
%31 = ptrtoint ptr %30 to i64
%32 = sub i64 %31, ptrtoint (ptr @replace_Substring.temp to i64)
%33 = getelementptr inbounds i8, ptr @replace_Substring.buffer, i64 %32
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %10, align 8
%36 = load ptr, ptr %7, align 8
%37 = call i32 @strlen(ptr noundef %36)
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %33, ptr noundef @.str, ptr noundef %34, ptr noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %44, ptr noundef @.str.1, ptr noundef @replace_Substring.buffer)
%46 = load ptr, ptr %6, align 8
store ptr %46, ptr %5, align 8
br label %47
47: ; preds = %20, %19
%48 = load ptr, ptr %5, align 8
ret ptr %48
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp054732c4.c'
source_filename = "/tmp/tmp054732c4.c"
target datalayout = "e-m:e-p270: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/tmp054732c4.c"
target datalayout = "e-m:e-p270: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/tmpw05mrbfu.c'
source_filename = "/tmp/tmpw05mrbfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractBit(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 8
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ false, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load i8, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = load i32, ptr %4, align 4
%17 = shl i32 1, %16
%18 = and i32 %15, %17
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %18, %19
ret i32 %20
}
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/tmpw05mrbfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractBit(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 8
br label %10
10: ; preds = %7, %2
%11 = phi i1 [ false, %2 ], [ %9, %7 ]
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load i8, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = load i32, ptr %4, align 4
%17 = shl i32 1, %16
%18 = and i32 %15, %17
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %18, %19
ret i32 %20
}
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/tmpqjm5ma4a.c'
source_filename = "/tmp/tmpqjm5ma4a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mali_InterruptCheck(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %16
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = call i32 @Mali_AnyInterruptCheck(i32 noundef 0, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %3, align 4
br label %20
16: ; preds = %9, %2
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = call i32 @Mali_AnyInterruptCheck(i32 noundef 3, i32 noundef %17, i32 noundef %18)
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %16, %12
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @Mali_AnyInterruptCheck(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/tmpqjm5ma4a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mali_InterruptCheck(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %16
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = call i32 @Mali_AnyInterruptCheck(i32 noundef 0, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %3, align 4
br label %20
16: ; preds = %9, %2
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = call i32 @Mali_AnyInterruptCheck(i32 noundef 3, i32 noundef %17, i32 noundef %18)
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %16, %12
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @Mali_AnyInterruptCheck(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/tmpes8egv6a.c'
source_filename = "/tmp/tmpes8egv6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
br label %6
6: ; preds = %20, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %10, label %23
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load i8, ptr %5, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %13, %15
br i1 %16, label %17, label %19
17: ; preds = %10
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %3, align 8
br label %24
19: ; preds = %10
br label %20
20: ; preds = %19
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
br label %6, !llvm.loop !6
23: ; preds = %6
store ptr null, ptr %3, align 8
br label %24
24: ; preds = %23, %17
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpes8egv6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %19
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %12, %14
br i1 %15, label %16, label %18
16: ; preds = %9
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %3, align 8
br label %26
18: ; preds = %9
br label %19
19: ; preds = %18
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %26
26: ; preds = %25, %16
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp83afq05c.c'
source_filename = "/tmp/tmp83afq05c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Linux \00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"localhost.localdomain \00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"2.4.19-16 \00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"#1 Fri Sep 20 18:15:05 CEST 2002 \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"i686 \00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"Intel \00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"unknown \00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"GNU/Linux \00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mymain(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %8
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %19, %8
%22 = load i32, ptr %10, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %21
%27 = load i32, ptr %11, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @printf(ptr noundef @.str.2)
br label %31
31: ; preds = %29, %26
%32 = load i32, ptr %12, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %31
%37 = load i32, ptr %13, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 @printf(ptr noundef @.str.4)
br label %41
41: ; preds = %39, %36
%42 = load i32, ptr %14, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = call i32 @printf(ptr noundef @.str.5)
br label %46
46: ; preds = %44, %41
%47 = load i32, ptr %15, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.6)
br label %51
51: ; preds = %49, %46
%52 = load i32, ptr %16, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 @printf(ptr noundef @.str.7)
br label %56
56: ; preds = %54, %51
%57 = call i32 @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp83afq05c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Linux \00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"localhost.localdomain \00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"2.4.19-16 \00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"#1 Fri Sep 20 18:15:05 CEST 2002 \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"i686 \00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"Intel \00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"unknown \00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"GNU/Linux \00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mymain(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %9, align 4
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %8
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %19, %8
%22 = load i32, ptr %10, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %21
%27 = load i32, ptr %11, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @printf(ptr noundef @.str.2)
br label %31
31: ; preds = %29, %26
%32 = load i32, ptr %12, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %31
%37 = load i32, ptr %13, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 @printf(ptr noundef @.str.4)
br label %41
41: ; preds = %39, %36
%42 = load i32, ptr %14, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = call i32 @printf(ptr noundef @.str.5)
br label %46
46: ; preds = %44, %41
%47 = load i32, ptr %15, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.6)
br label %51
51: ; preds = %49, %46
%52 = load i32, ptr %16, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 @printf(ptr noundef @.str.7)
br label %56
56: ; preds = %54, %51
%57 = call i32 @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpos3lx7af.c'
source_filename = "/tmp/tmpos3lx7af.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @one_argument(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %12, %2
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = call i64 @isspace(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %3, align 8
br label %7, !llvm.loop !6
15: ; preds = %7
store i8 32, ptr %5, align 1
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 39
br i1 %19, label %25, label %20
20: ; preds = %15
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 34
br i1 %24, label %25, label %29
25: ; preds = %20, %15
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %3, align 8
%28 = load i8, ptr %26, align 1
store i8 %28, ptr %5, align 1
br label %29
29: ; preds = %25, %20
br label %30
30: ; preds = %51, %29
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %39, label %35
35: ; preds = %30
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
%38 = icmp sge i32 %37, 255
br label %39
39: ; preds = %35, %30
%40 = phi i1 [ true, %30 ], [ %38, %35 ]
br i1 %40, label %41, label %59
41: ; preds = %39
%42 = load ptr, ptr %3, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load i8, ptr %5, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %44, %46
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %3, align 8
br label %59
51: ; preds = %41
%52 = load ptr, ptr %3, align 8
%53 = load i8, ptr %52, align 1
%54 = load ptr, ptr %4, align 8
store i8 %53, ptr %54, align 1
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %4, align 8
%57 = load ptr, ptr %3, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %3, align 8
br label %30, !llvm.loop !8
59: ; preds = %48, %39
%60 = load ptr, ptr %4, align 8
store i8 0, ptr %60, align 1
br label %61
61: ; preds = %66, %59
%62 = load ptr, ptr %3, align 8
%63 = load i8, ptr %62, align 1
%64 = call i64 @isspace(i8 noundef signext %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %61
%67 = load ptr, ptr %3, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %3, align 8
br label %61, !llvm.loop !9
69: ; preds = %61
%70 = load ptr, ptr %3, align 8
ret ptr %70
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpos3lx7af.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @one_argument(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = call i64 @isspace(i8 noundef signext %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = call i64 @isspace(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %18
18: ; preds = %._crit_edge, %2
store i8 32, ptr %5, align 1
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 39
br i1 %22, label %28, label %23
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 34
br i1 %27, label %28, label %32
28: ; preds = %23, %18
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %3, align 8
%31 = load i8, ptr %29, align 1
store i8 %31, ptr %5, align 1
br label %32
32: ; preds = %28, %23
br label %33
33: ; preds = %54, %32
%34 = load ptr, ptr %3, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %42, label %38
38: ; preds = %33
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = icmp sge i32 %40, 255
br label %42
42: ; preds = %38, %33
%43 = phi i1 [ true, %33 ], [ %41, %38 ]
br i1 %43, label %44, label %.loopexit
44: ; preds = %42
%45 = load ptr, ptr %3, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = load i8, ptr %5, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %47, %49
br i1 %50, label %51, label %54
51: ; preds = %44
%52 = load ptr, ptr %3, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %3, align 8
br label %62
54: ; preds = %44
%55 = load ptr, ptr %3, align 8
%56 = load i8, ptr %55, align 1
%57 = load ptr, ptr %4, align 8
store i8 %56, ptr %57, align 1
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %4, align 8
%60 = load ptr, ptr %3, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %3, align 8
br label %33, !llvm.loop !8
.loopexit: ; preds = %42
br label %62
62: ; preds = %.loopexit, %51
%63 = load ptr, ptr %4, align 8
store i8 0, ptr %63, align 1
%64 = load ptr, ptr %3, align 8
%65 = load i8, ptr %64, align 1
%66 = call i64 @isspace(i8 noundef signext %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %.lr.ph2, label %75
.lr.ph2: ; preds = %62
br label %68
68: ; preds = %.lr.ph2, %68
%69 = load ptr, ptr %3, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %3, align 8
%71 = load ptr, ptr %3, align 8
%72 = load i8, ptr %71, align 1
%73 = call i64 @isspace(i8 noundef signext %72)
%74 = icmp ne i64 %73, 0
br i1 %74, label %68, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %68
br label %75
75: ; preds = %._crit_edge3, %62
%76 = load ptr, ptr %3, align 8
ret ptr %76
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpofpym0x5.c'
source_filename = "/tmp/tmpofpym0x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @special(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %16 [
i32 128, label %8
i32 131, label %10
i32 130, label %12
i32 129, label %14
]
8: ; preds = %3
%9 = call i32 (...) @up()
br label %16
10: ; preds = %3
%11 = call i32 (...) @down()
br label %16
12: ; preds = %3
%13 = call i32 (...) @left()
br label %16
14: ; preds = %3
%15 = call i32 (...) @right()
br label %16
16: ; preds = %3, %14, %12, %10, %8
ret void
}
declare i32 @up(...) #1
declare i32 @down(...) #1
declare i32 @left(...) #1
declare i32 @right(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpofpym0x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @special(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %16 [
i32 128, label %8
i32 131, label %10
i32 130, label %12
i32 129, label %14
]
8: ; preds = %3
%9 = call i32 (...) @up()
br label %16
10: ; preds = %3
%11 = call i32 (...) @down()
br label %16
12: ; preds = %3
%13 = call i32 (...) @left()
br label %16
14: ; preds = %3
%15 = call i32 (...) @right()
br label %16
16: ; preds = %14, %12, %10, %8, %3
ret void
}
declare i32 @up(...) #1
declare i32 @down(...) #1
declare i32 @left(...) #1
declare i32 @right(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5tri1655.c'
source_filename = "/tmp/tmp5tri1655.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i64, i32 }
@O_RDWR = dso_local global i32 0, align 4
@O_NOCTTY = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@IGNPAR = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCIOFLUSH = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mwsp_connect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.termios, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = load i32, ptr @O_NOCTTY, align 4
%9 = or i32 %7, %8
%10 = call i32 @open(ptr noundef %6, i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 -1, ptr %2, align 4
br label %44
14: ; preds = %1
%15 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%16 = load i32, ptr @B115200, align 4
%17 = load i32, ptr @CRTSCTS, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @CS8, align 4
%20 = or i32 %18, %19
%21 = load i32, ptr @CLOCAL, align 4
%22 = or i32 %20, %21
%23 = load i32, ptr @CREAD, align 4
%24 = or i32 %22, %23
%25 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
store i32 %24, ptr %25, align 8
%26 = load i32, ptr @IGNPAR, align 4
%27 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 3
store i32 %26, ptr %27, align 8
%28 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 2
store i64 0, ptr %28, align 8
%29 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%30 = load ptr, ptr %29, align 8
%31 = load i64, ptr @VMIN, align 8
%32 = getelementptr inbounds i32, ptr %30, i64 %31
store i32 0, ptr %32, align 4
%33 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%34 = load ptr, ptr %33, align 8
%35 = load i64, ptr @VTIME, align 8
%36 = getelementptr inbounds i32, ptr %34, i64 %35
store i32 1, ptr %36, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr @TCIOFLUSH, align 4
%39 = call i32 @tcflush(i32 noundef %37, i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr @TCSANOW, align 4
%42 = call i32 @tcsetattr(i32 noundef %40, i32 noundef %41, ptr noundef %4)
%43 = load i32, ptr %5, align 4
store i32 %43, ptr %2, align 4
br label %44
44: ; preds = %14, %13
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @tcflush(i32 noundef, i32 noundef) #1
declare i32 @tcsetattr(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/tmp5tri1655.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i64, i32 }
@O_RDWR = dso_local global i32 0, align 4
@O_NOCTTY = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@IGNPAR = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCIOFLUSH = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mwsp_connect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.termios, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = load i32, ptr @O_NOCTTY, align 4
%9 = or i32 %7, %8
%10 = call i32 @open(ptr noundef %6, i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 -1, ptr %2, align 4
br label %44
14: ; preds = %1
%15 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%16 = load i32, ptr @B115200, align 4
%17 = load i32, ptr @CRTSCTS, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @CS8, align 4
%20 = or i32 %18, %19
%21 = load i32, ptr @CLOCAL, align 4
%22 = or i32 %20, %21
%23 = load i32, ptr @CREAD, align 4
%24 = or i32 %22, %23
%25 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
store i32 %24, ptr %25, align 8
%26 = load i32, ptr @IGNPAR, align 4
%27 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 3
store i32 %26, ptr %27, align 8
%28 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 2
store i64 0, ptr %28, align 8
%29 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%30 = load ptr, ptr %29, align 8
%31 = load i64, ptr @VMIN, align 8
%32 = getelementptr inbounds i32, ptr %30, i64 %31
store i32 0, ptr %32, align 4
%33 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 1
%34 = load ptr, ptr %33, align 8
%35 = load i64, ptr @VTIME, align 8
%36 = getelementptr inbounds i32, ptr %34, i64 %35
store i32 1, ptr %36, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr @TCIOFLUSH, align 4
%39 = call i32 @tcflush(i32 noundef %37, i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr @TCSANOW, align 4
%42 = call i32 @tcsetattr(i32 noundef %40, i32 noundef %41, ptr noundef %4)
%43 = load i32, ptr %5, align 4
store i32 %43, ptr %2, align 4
br label %44
44: ; preds = %14, %13
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @tcflush(i32 noundef, i32 noundef) #1
declare i32 @tcsetattr(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/tmp7durf3jc.c'
source_filename = "/tmp/tmp7durf3jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testDowncast(i32 noundef %0, i8 noundef zeroext %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 = icmp sle i32 %5, -10
br i1 %6, label %7, label %24
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = trunc i32 %8 to i8
%10 = zext i8 %9 to i32
%11 = load i8, ptr %4, align 1
%12 = zext i8 %11 to i32
%13 = icmp eq i32 %10, %12
br i1 %13, label %14, label %16
14: ; preds = %7
%15 = call i32 (...) @clang_analyzer_warnIfReached()
br label %16
16: ; preds = %14, %7
%17 = load i32, ptr %3, align 4
%18 = load i8, ptr %4, align 1
%19 = zext i8 %18 to i32
%20 = icmp eq i32 %17, %19
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 (...) @clang_analyzer_warnIfReached()
br label %23
23: ; preds = %21, %16
br label %24
24: ; preds = %23, %2
ret void
}
declare i32 @clang_analyzer_warnIfReached(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7durf3jc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testDowncast(i32 noundef %0, i8 noundef zeroext %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 = icmp sle i32 %5, -10
br i1 %6, label %7, label %24
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = trunc i32 %8 to i8
%10 = zext i8 %9 to i32
%11 = load i8, ptr %4, align 1
%12 = zext i8 %11 to i32
%13 = icmp eq i32 %10, %12
br i1 %13, label %14, label %16
14: ; preds = %7
%15 = call i32 (...) @clang_analyzer_warnIfReached()
br label %16
16: ; preds = %14, %7
%17 = load i32, ptr %3, align 4
%18 = load i8, ptr %4, align 1
%19 = zext i8 %18 to i32
%20 = icmp eq i32 %17, %19
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 (...) @clang_analyzer_warnIfReached()
br label %23
23: ; preds = %21, %16
br label %24
24: ; preds = %23, %2
ret void
}
declare i32 @clang_analyzer_warnIfReached(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_0yi46_4.c'
source_filename = "/tmp/tmp_0yi46_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"[C Source Parser Start]\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c" -> Function Count: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"[LLVM Compile Start]\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"clang -S -m32 -O3 -emit-llvm __%03d.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @split_c_source(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @read_file(ptr noundef %7)
%9 = call i32 (...) @get_token_order_top()
%10 = call i32 @set_token_order_current(i32 noundef %9)
%11 = call i32 (...) @parser_c_source()
%12 = call i32 (...) @create_proc_source()
store i32 %12, ptr %3, align 4
%13 = call i32 (...) @create_header_source()
%14 = call i32 (...) @clean_token_order()
%15 = load i32, ptr %3, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = call ptr @malloc(i32 noundef 256)
store ptr %18, ptr %5, align 8
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %29, %1
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %32
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %4, align 4
%26 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str.3, i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = call i32 @system(ptr noundef %27)
br label %29
29: ; preds = %23
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
br label %19, !llvm.loop !6
32: ; preds = %19
%33 = load ptr, ptr %5, align 8
%34 = call i32 @free(ptr noundef %33)
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_file(ptr noundef) #1
declare i32 @set_token_order_current(i32 noundef) #1
declare i32 @get_token_order_top(...) #1
declare i32 @parser_c_source(...) #1
declare i32 @create_proc_source(...) #1
declare i32 @create_header_source(...) #1
declare i32 @clean_token_order(...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_0yi46_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"[C Source Parser Start]\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c" -> Function Count: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"[LLVM Compile Start]\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"clang -S -m32 -O3 -emit-llvm __%03d.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @split_c_source(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @read_file(ptr noundef %7)
%9 = call i32 (...) @get_token_order_top()
%10 = call i32 @set_token_order_current(i32 noundef %9)
%11 = call i32 (...) @parser_c_source()
%12 = call i32 (...) @create_proc_source()
store i32 %12, ptr %3, align 4
%13 = call i32 (...) @create_header_source()
%14 = call i32 (...) @clean_token_order()
%15 = load i32, ptr %3, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%18 = call ptr @malloc(i32 noundef 256)
store ptr %18, ptr %5, align 8
store i32 0, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %34
.lr.ph: ; preds = %1
br label %22
22: ; preds = %.lr.ph, %28
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %4, align 4
%25 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str.3, i32 noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = call i32 @system(ptr noundef %26)
br label %28
28: ; preds = %22
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %1
%35 = load ptr, ptr %5, align 8
%36 = call i32 @free(ptr noundef %35)
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_file(ptr noundef) #1
declare i32 @set_token_order_current(i32 noundef) #1
declare i32 @get_token_order_top(...) #1
declare i32 @parser_c_source(...) #1
declare i32 @create_proc_source(...) #1
declare i32 @create_header_source(...) #1
declare i32 @clean_token_order(...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiz186xkl.c'
source_filename = "/tmp/tmpiz186xkl.c"
target datalayout = "e-m:e-p270: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 @detab(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %46, %1
%6 = call i32 (...) @getchar()
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 10
br label %12
12: ; preds = %9, %5
%13 = phi i1 [ false, %5 ], [ %11, %9 ]
br i1 %13, label %14, label %47
14: ; preds = %12
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, 10
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = icmp ne i32 %18, 9
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = trunc i32 %23 to i8
%25 = call i32 @putchar(i8 noundef signext %24)
br label %26
26: ; preds = %20, %17, %14
%27 = load i32, ptr %3, align 4
%28 = icmp eq i32 %27, 9
br i1 %28, label %29, label %38
29: ; preds = %26
br label %30
30: ; preds = %35, %29
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @putchar(i8 noundef signext 32)
br label %30, !llvm.loop !6
37: ; preds = %30
br label %38
38: ; preds = %37, %26
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp sge i32 %39, %40
br i1 %41, label %45, label %42
42: ; preds = %38
%43 = load i32, ptr %3, align 4
%44 = icmp eq i32 %43, 10
br i1 %44, label %45, label %46
45: ; preds = %42, %38
store i32 0, ptr %4, align 4
br label %46
46: ; preds = %45, %42
br label %5, !llvm.loop !8
47: ; preds = %12
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiz186xkl.c"
target datalayout = "e-m:e-p270: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 @detab(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %49, %1
%6 = call i32 (...) @getchar()
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 10
br label %12
12: ; preds = %9, %5
%13 = phi i1 [ false, %5 ], [ %11, %9 ]
br i1 %13, label %14, label %50
14: ; preds = %12
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, 10
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = icmp ne i32 %18, 9
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = trunc i32 %23 to i8
%25 = call i32 @putchar(i8 noundef signext %24)
br label %26
26: ; preds = %20, %17, %14
%27 = load i32, ptr %3, align 4
%28 = icmp eq i32 %27, 9
br i1 %28, label %29, label %41
29: ; preds = %26
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %30, %32
br i1 %33, label %.lr.ph, label %40
.lr.ph: ; preds = %29
br label %34
34: ; preds = %.lr.ph, %34
%35 = call i32 @putchar(i8 noundef signext 32)
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp slt i32 %36, %38
br i1 %39, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %29
br label %41
41: ; preds = %40, %26
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp sge i32 %42, %43
br i1 %44, label %48, label %45
45: ; preds = %41
%46 = load i32, ptr %3, align 4
%47 = icmp eq i32 %46, 10
br i1 %47, label %48, label %49
48: ; preds = %45, %41
store i32 0, ptr %4, align 4
br label %49
49: ; preds = %48, %45
br label %5, !llvm.loop !8
50: ; preds = %12
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfsn1o9wt.c'
source_filename = "/tmp/tmpfsn1o9wt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfsn1o9wt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwsvae2j1.c'
source_filename = "/tmp/tmpwsvae2j1.c"
target datalayout = "e-m:e-p270: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/tmpwsvae2j1.c"
target datalayout = "e-m:e-p270: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/tmpfdci_hv9.c'
source_filename = "/tmp/tmpfdci_hv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wcsutil_str2double(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [72 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds [72 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @wcsutil_dot_to_locale(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @sscanf(i32 noundef %8, ptr noundef @.str, ptr noundef %9)
%11 = icmp slt i32 %10, 1
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i32 @sscanf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @wcsutil_dot_to_locale(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/tmpfdci_hv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wcsutil_str2double(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [72 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds [72 x i8], ptr %5, i64 0, i64 0
%8 = call i32 @wcsutil_dot_to_locale(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 @sscanf(i32 noundef %8, ptr noundef @.str, ptr noundef %9)
%11 = icmp slt i32 %10, 1
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i32 @sscanf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @wcsutil_dot_to_locale(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/tmptjlhihho.c'
source_filename = "/tmp/tmptjlhihho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @tolower(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = or i32 %4, 32
%6 = trunc i32 %5 to i8
ret i8 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptjlhihho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @tolower(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = or i32 %4, 32
%6 = trunc i32 %5 to i8
ret i8 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwnlwppw_.c'
source_filename = "/tmp/tmpwnlwppw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@xdr_int = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"Send (int) : %d, Received : %d\0A\00", align 1
@xdr_long = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [35 x i8] c"Send (long) : %ld, Received : %ld\0A\00", align 1
@xdr_double = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [37 x i8] c"Send (double) : %lf, Received : %lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"text to send.\00", align 1
@xdr_wrapstring = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [35 x i8] c"Send (string) : %s, Received : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca i64, align 8
%17 = 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
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%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 @atoi(ptr noundef %20)
store i32 %21, ptr %8, align 4
store i32 -65536, ptr %10, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %8, align 4
%26 = load i64, ptr @xdr_int, align 8
%27 = trunc i64 %26 to i32
%28 = load i64, ptr @xdr_int, align 8
%29 = trunc i64 %28 to i32
%30 = call i32 @callrpc(ptr noundef %24, i32 noundef %25, i32 noundef 1, i32 noundef 1000, i32 noundef %27, ptr noundef %10, i32 noundef %29, ptr noundef %14)
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %14, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %2
store i32 1, ptr %7, align 4
br label %35
35: ; preds = %34, %2
%36 = load i32, ptr %6, align 4
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %42
38: ; preds = %35
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %14, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40)
br label %42
42: ; preds = %38, %35
store i32 16777216, ptr %10, align 4
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 1
%45 = load ptr, ptr %44, align 8
%46 = load i32, ptr %8, align 4
%47 = load i64, ptr @xdr_int, align 8
%48 = trunc i64 %47 to i32
%49 = load i64, ptr @xdr_int, align 8
%50 = trunc i64 %49 to i32
%51 = call i32 @callrpc(ptr noundef %45, i32 noundef %46, i32 noundef 1, i32 noundef 1000, i32 noundef %48, ptr noundef %10, i32 noundef %50, ptr noundef %14)
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %14, align 4
%54 = icmp ne i32 %52, %53
br i1 %54, label %55, label %56
55: ; preds = %42
store i32 1, ptr %7, align 4
br label %56
56: ; preds = %55, %42
%57 = load i32, ptr %6, align 4
%58 = icmp eq i32 %57, 1
br i1 %58, label %59, label %63
59: ; preds = %56
%60 = load i32, ptr %10, align 4
%61 = load i32, ptr %14, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %60, i32 noundef %61)
br label %63
63: ; preds = %59, %56
store i64 -430000, ptr %12, align 8
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 1
%66 = load ptr, ptr %65, align 8
%67 = load i32, ptr %8, align 4
%68 = load i64, ptr @xdr_long, align 8
%69 = trunc i64 %68 to i32
%70 = load i64, ptr @xdr_long, align 8
%71 = trunc i64 %70 to i32
%72 = call i32 @callrpc(ptr noundef %66, i32 noundef %67, i32 noundef 1, i32 noundef 3000, i32 noundef %69, ptr noundef %12, i32 noundef %71, ptr noundef %16)
%73 = load i64, ptr %12, align 8
%74 = load i64, ptr %16, align 8
%75 = icmp ne i64 %73, %74
br i1 %75, label %76, label %77
76: ; preds = %63
store i32 1, ptr %7, align 4
br label %77
77: ; preds = %76, %63
%78 = load i32, ptr %6, align 4
%79 = icmp eq i32 %78, 1
br i1 %79, label %80, label %84
80: ; preds = %77
%81 = load i64, ptr %12, align 8
%82 = load i64, ptr %16, align 8
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %81, i64 noundef %82)
br label %84
84: ; preds = %80, %77
store double 0xC09B1E8520000000, ptr %11, align 8
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds ptr, ptr %85, i64 1
%87 = load ptr, ptr %86, align 8
%88 = load i32, ptr %8, align 4
%89 = load i64, ptr @xdr_double, align 8
%90 = trunc i64 %89 to i32
%91 = load i64, ptr @xdr_double, align 8
%92 = trunc i64 %91 to i32
%93 = call i32 @callrpc(ptr noundef %87, i32 noundef %88, i32 noundef 1, i32 noundef 2000, i32 noundef %90, ptr noundef %11, i32 noundef %92, ptr noundef %15)
%94 = load double, ptr %11, align 8
%95 = load double, ptr %15, align 8
%96 = fcmp une double %94, %95
br i1 %96, label %97, label %98
97: ; preds = %84
store i32 1, ptr %7, align 4
br label %98
98: ; preds = %97, %84
%99 = load i32, ptr %6, align 4
%100 = icmp eq i32 %99, 1
br i1 %100, label %101, label %105
101: ; preds = %98
%102 = load double, ptr %11, align 8
%103 = load double, ptr %15, align 8
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %102, double noundef %103)
br label %105
105: ; preds = %101, %98
store ptr @.str.3, ptr %13, align 8
%106 = call i64 @malloc(i32 noundef 64)
%107 = inttoptr i64 %106 to ptr
store ptr %107, ptr %17, align 8
%108 = load ptr, ptr %5, align 8
%109 = getelementptr inbounds ptr, ptr %108, i64 1
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %8, align 4
%112 = load i64, ptr @xdr_wrapstring, align 8
%113 = trunc i64 %112 to i32
%114 = load i64, ptr @xdr_wrapstring, align 8
%115 = trunc i64 %114 to i32
%116 = call i32 @callrpc(ptr noundef %110, i32 noundef %111, i32 noundef 1, i32 noundef 4000, i32 noundef %113, ptr noundef %13, i32 noundef %115, ptr noundef %17)
%117 = load ptr, ptr %13, align 8
%118 = load ptr, ptr %17, align 8
%119 = call i64 @strcmp(ptr noundef %117, ptr noundef %118)
%120 = icmp ne i64 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %105
store i32 1, ptr %7, align 4
br label %122
122: ; preds = %121, %105
%123 = load i32, ptr %6, align 4
%124 = icmp eq i32 %123, 1
br i1 %124, label %125, label %129
125: ; preds = %122
%126 = load ptr, ptr %13, align 8
%127 = load ptr, ptr %17, align 8
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %126, ptr noundef %127)
br label %129
129: ; preds = %125, %122
%130 = load i32, ptr %7, align 4
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %130)
%132 = load i32, ptr %7, align 4
ret i32 %132
}
declare i32 @atoi(ptr noundef) #1
declare i32 @callrpc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
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/tmpwnlwppw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@xdr_int = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"Send (int) : %d, Received : %d\0A\00", align 1
@xdr_long = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [35 x i8] c"Send (long) : %ld, Received : %ld\0A\00", align 1
@xdr_double = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [37 x i8] c"Send (double) : %lf, Received : %lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"text to send.\00", align 1
@xdr_wrapstring = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [35 x i8] c"Send (string) : %s, Received : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca i64, align 8
%17 = 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
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%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 @atoi(ptr noundef %20)
store i32 %21, ptr %8, align 4
store i32 -65536, ptr %10, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %8, align 4
%26 = load i64, ptr @xdr_int, align 8
%27 = trunc i64 %26 to i32
%28 = load i64, ptr @xdr_int, align 8
%29 = trunc i64 %28 to i32
%30 = call i32 @callrpc(ptr noundef %24, i32 noundef %25, i32 noundef 1, i32 noundef 1000, i32 noundef %27, ptr noundef %10, i32 noundef %29, ptr noundef %14)
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %14, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %2
store i32 1, ptr %7, align 4
br label %35
35: ; preds = %34, %2
%36 = load i32, ptr %6, align 4
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %42
38: ; preds = %35
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %14, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40)
br label %42
42: ; preds = %38, %35
store i32 16777216, ptr %10, align 4
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 1
%45 = load ptr, ptr %44, align 8
%46 = load i32, ptr %8, align 4
%47 = load i64, ptr @xdr_int, align 8
%48 = trunc i64 %47 to i32
%49 = load i64, ptr @xdr_int, align 8
%50 = trunc i64 %49 to i32
%51 = call i32 @callrpc(ptr noundef %45, i32 noundef %46, i32 noundef 1, i32 noundef 1000, i32 noundef %48, ptr noundef %10, i32 noundef %50, ptr noundef %14)
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %14, align 4
%54 = icmp ne i32 %52, %53
br i1 %54, label %55, label %56
55: ; preds = %42
store i32 1, ptr %7, align 4
br label %56
56: ; preds = %55, %42
%57 = load i32, ptr %6, align 4
%58 = icmp eq i32 %57, 1
br i1 %58, label %59, label %63
59: ; preds = %56
%60 = load i32, ptr %10, align 4
%61 = load i32, ptr %14, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %60, i32 noundef %61)
br label %63
63: ; preds = %59, %56
store i64 -430000, ptr %12, align 8
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 1
%66 = load ptr, ptr %65, align 8
%67 = load i32, ptr %8, align 4
%68 = load i64, ptr @xdr_long, align 8
%69 = trunc i64 %68 to i32
%70 = load i64, ptr @xdr_long, align 8
%71 = trunc i64 %70 to i32
%72 = call i32 @callrpc(ptr noundef %66, i32 noundef %67, i32 noundef 1, i32 noundef 3000, i32 noundef %69, ptr noundef %12, i32 noundef %71, ptr noundef %16)
%73 = load i64, ptr %12, align 8
%74 = load i64, ptr %16, align 8
%75 = icmp ne i64 %73, %74
br i1 %75, label %76, label %77
76: ; preds = %63
store i32 1, ptr %7, align 4
br label %77
77: ; preds = %76, %63
%78 = load i32, ptr %6, align 4
%79 = icmp eq i32 %78, 1
br i1 %79, label %80, label %84
80: ; preds = %77
%81 = load i64, ptr %12, align 8
%82 = load i64, ptr %16, align 8
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %81, i64 noundef %82)
br label %84
84: ; preds = %80, %77
store double 0xC09B1E8520000000, ptr %11, align 8
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds ptr, ptr %85, i64 1
%87 = load ptr, ptr %86, align 8
%88 = load i32, ptr %8, align 4
%89 = load i64, ptr @xdr_double, align 8
%90 = trunc i64 %89 to i32
%91 = load i64, ptr @xdr_double, align 8
%92 = trunc i64 %91 to i32
%93 = call i32 @callrpc(ptr noundef %87, i32 noundef %88, i32 noundef 1, i32 noundef 2000, i32 noundef %90, ptr noundef %11, i32 noundef %92, ptr noundef %15)
%94 = load double, ptr %11, align 8
%95 = load double, ptr %15, align 8
%96 = fcmp une double %94, %95
br i1 %96, label %97, label %98
97: ; preds = %84
store i32 1, ptr %7, align 4
br label %98
98: ; preds = %97, %84
%99 = load i32, ptr %6, align 4
%100 = icmp eq i32 %99, 1
br i1 %100, label %101, label %105
101: ; preds = %98
%102 = load double, ptr %11, align 8
%103 = load double, ptr %15, align 8
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %102, double noundef %103)
br label %105
105: ; preds = %101, %98
store ptr @.str.3, ptr %13, align 8
%106 = call i64 @malloc(i32 noundef 64)
%107 = inttoptr i64 %106 to ptr
store ptr %107, ptr %17, align 8
%108 = load ptr, ptr %5, align 8
%109 = getelementptr inbounds ptr, ptr %108, i64 1
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %8, align 4
%112 = load i64, ptr @xdr_wrapstring, align 8
%113 = trunc i64 %112 to i32
%114 = load i64, ptr @xdr_wrapstring, align 8
%115 = trunc i64 %114 to i32
%116 = call i32 @callrpc(ptr noundef %110, i32 noundef %111, i32 noundef 1, i32 noundef 4000, i32 noundef %113, ptr noundef %13, i32 noundef %115, ptr noundef %17)
%117 = load ptr, ptr %13, align 8
%118 = load ptr, ptr %17, align 8
%119 = call i64 @strcmp(ptr noundef %117, ptr noundef %118)
%120 = icmp ne i64 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %105
store i32 1, ptr %7, align 4
br label %122
122: ; preds = %121, %105
%123 = load i32, ptr %6, align 4
%124 = icmp eq i32 %123, 1
br i1 %124, label %125, label %129
125: ; preds = %122
%126 = load ptr, ptr %13, align 8
%127 = load ptr, ptr %17, align 8
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %126, ptr noundef %127)
br label %129
129: ; preds = %125, %122
%130 = load i32, ptr %7, align 4
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %130)
%132 = load i32, ptr %7, align 4
ret i32 %132
}
declare i32 @atoi(ptr noundef) #1
declare i32 @callrpc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
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/tmpowyt9c4l.c'
source_filename = "/tmp/tmpowyt9c4l.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @directory_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @stat(ptr noundef %5, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
br label %14
10: ; preds = %1
%11 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 @S_ISDIR(i32 noundef %12)
br label %14
14: ; preds = %10, %9
%15 = phi i32 [ 0, %9 ], [ %13, %10 ]
ret i32 %15
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @S_ISDIR(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/tmpowyt9c4l.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @directory_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @stat(ptr noundef %5, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
br label %14
10: ; preds = %1
%11 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 @S_ISDIR(i32 noundef %12)
br label %14
14: ; preds = %10, %9
%15 = phi i32 [ 0, %9 ], [ %13, %10 ]
ret i32 %15
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @S_ISDIR(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/tmpqnjq90ie.c'
source_filename = "/tmp/tmpqnjq90ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_event_new(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @EINVAL, align 4
%4 = sub nsw i32 0, %3
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqnjq90ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_event_new(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @EINVAL, align 4
%4 = sub nsw i32 0, %3
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphluntt2f.c'
source_filename = "/tmp/tmphluntt2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CL_ForwardCommandToServer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, 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/tmphluntt2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CL_ForwardCommandToServer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, 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/tmptt_gko3t.c'
source_filename = "/tmp/tmptt_gko3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CmdIgnoreDef(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 %0, ptr %2, align 4
br label %4
4: ; preds = %14, %1
%5 = call signext i8 (...) @getTexChar()
store i8 %5, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %4
%9 = load i8, ptr %3, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 123
br label %12
12: ; preds = %8, %4
%13 = phi i1 [ false, %4 ], [ %11, %8 ]
br i1 %13, label %14, label %15
14: ; preds = %12
br label %4, !llvm.loop !6
15: ; preds = %12
%16 = call i32 (...) @parseBrace()
ret void
}
declare signext i8 @getTexChar(...) #1
declare i32 @parseBrace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmptt_gko3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CmdIgnoreDef(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 %0, ptr %2, align 4
br label %4
4: ; preds = %12, %1
%5 = call signext i8 (...) @getTexChar()
store i8 %5, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %4
%9 = load i8, ptr %3, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 123
br label %12
12: ; preds = %8, %4
%13 = phi i1 [ false, %4 ], [ %11, %8 ]
br i1 %13, label %4, label %14, !llvm.loop !6
14: ; preds = %12
%15 = call i32 (...) @parseBrace()
ret void
}
declare signext i8 @getTexChar(...) #1
declare i32 @parseBrace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp64jlwi_f.c'
source_filename = "/tmp/tmp64jlwi_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CAN_TIMER_Wakeup() #0 {
%1 = call i32 (...) @CAN_TIMER_RestoreConfig()
ret void
}
declare i32 @CAN_TIMER_RestoreConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp64jlwi_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CAN_TIMER_Wakeup() #0 {
%1 = call i32 (...) @CAN_TIMER_RestoreConfig()
ret void
}
declare i32 @CAN_TIMER_RestoreConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnauxaaca.c'
source_filename = "/tmp/tmpnauxaaca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/self/exe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_executable_path() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @safe_malloc(i32 noundef 4096)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @readlink(ptr noundef @.str, ptr noundef %4, i32 noundef 4095)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @free(ptr noundef %9)
store ptr null, ptr %1, align 8
br label %16
11: ; preds = %0
%12 = load ptr, ptr %1, align 8
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store i8 0, ptr %15, align 1
br label %16
16: ; preds = %11, %8
%17 = load ptr, ptr %1, align 8
ret ptr %17
}
declare ptr @safe_malloc(i32 noundef) #1
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnauxaaca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/self/exe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_executable_path() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @safe_malloc(i32 noundef 4096)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @readlink(ptr noundef @.str, ptr noundef %4, i32 noundef 4095)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @free(ptr noundef %9)
store ptr null, ptr %1, align 8
br label %16
11: ; preds = %0
%12 = load ptr, ptr %1, align 8
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store i8 0, ptr %15, align 1
br label %16
16: ; preds = %11, %8
%17 = load ptr, ptr %1, align 8
ret ptr %17
}
declare ptr @safe_malloc(i32 noundef) #1
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1v5ibnfh.c'
source_filename = "/tmp/tmp1v5ibnfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter decimal: \00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"out of range\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"overlapping\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"result: %u\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @check_intInput(ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @get_max(i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @get_min(i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = add i32 %17, %18
%20 = icmp ugt i32 %19, 32
br i1 %20, label %21, label %26
21: ; preds = %0
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %0
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = add i32 %27, %28
%30 = load i32, ptr %6, align 4
%31 = icmp uge i32 %29, %30
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %26
br label %38
38: ; preds = %37
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = call i32 @exchange_bits(i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42)
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44)
%46 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @check_intInput(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @get_max(i32 noundef, i32 noundef) #1
declare i32 @get_min(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @exchange_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp1v5ibnfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter decimal: \00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"out of range\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"overlapping\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"result: %u\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @check_intInput(ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @get_max(i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @get_min(i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = add i32 %17, %18
%20 = icmp ugt i32 %19, 32
br i1 %20, label %21, label %26
21: ; preds = %0
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %0
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = add i32 %27, %28
%30 = load i32, ptr %6, align 4
%31 = icmp uge i32 %29, %30
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %26
br label %38
38: ; preds = %37
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = call i32 @exchange_bits(i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42)
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44)
%46 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @check_intInput(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @get_max(i32 noundef, i32 noundef) #1
declare i32 @get_min(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @exchange_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpvegdthwx.c'
source_filename = "/tmp/tmpvegdthwx.c"
target datalayout = "e-m:e-p270: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/tmpvegdthwx.c"
target datalayout = "e-m:e-p270: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/tmp4terl8ut.c'
source_filename = "/tmp/tmp4terl8ut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_node(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call ptr @random_node_aux(ptr noundef %4, ptr noundef null, ptr noundef %3)
ret ptr %5
}
declare ptr @random_node_aux(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/tmp4terl8ut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_node(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call ptr @random_node_aux(ptr noundef %4, ptr noundef null, ptr noundef %3)
ret ptr %5
}
declare ptr @random_node_aux(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/tmp77q6shje.c'
source_filename = "/tmp/tmp77q6shje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xRSA_generate_key(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
%9 = call ptr (...) @RSA_new()
store ptr %9, ptr %7, align 8
%10 = call ptr (...) @BN_new()
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load ptr, ptr %8, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13, %2
br label %50
17: ; preds = %13
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %36, %17
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 64
br i1 %20, label %21, label %39
21: ; preds = %18
%22 = load i64, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = zext i32 %23 to i64
%25 = shl i64 1, %24
%26 = and i64 %22, %25
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %21
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %6, align 4
%31 = call i64 @BN_set_bit(ptr noundef %29, i32 noundef %30)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %28
br label %50
34: ; preds = %28
br label %35
35: ; preds = %34, %21
br label %36
36: ; preds = %35
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %18, !llvm.loop !6
39: ; preds = %18
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %4, align 4
%42 = load ptr, ptr %8, align 8
%43 = call i64 @rsa_builtin_keygen(ptr noundef %40, i32 noundef %41, ptr noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %39
%46 = load ptr, ptr %8, align 8
%47 = call i32 @BN_free(ptr noundef %46)
%48 = load ptr, ptr %7, align 8
store ptr %48, ptr %3, align 8
br label %63
49: ; preds = %39
br label %50
50: ; preds = %49, %33, %16
%51 = load ptr, ptr %8, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load ptr, ptr %8, align 8
%55 = call i32 @BN_free(ptr noundef %54)
br label %56
56: ; preds = %53, %50
%57 = load ptr, ptr %7, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load ptr, ptr %7, align 8
%61 = call i32 @RSA_free(ptr noundef %60)
br label %62
62: ; preds = %59, %56
store ptr null, ptr %3, align 8
br label %63
63: ; preds = %62, %45
%64 = load ptr, ptr %3, align 8
ret ptr %64
}
declare ptr @RSA_new(...) #1
declare ptr @BN_new(...) #1
declare i64 @BN_set_bit(ptr noundef, i32 noundef) #1
declare i64 @rsa_builtin_keygen(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @BN_free(ptr noundef) #1
declare i32 @RSA_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp77q6shje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xRSA_generate_key(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
%9 = call ptr (...) @RSA_new()
store ptr %9, ptr %7, align 8
%10 = call ptr (...) @BN_new()
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load ptr, ptr %8, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13, %2
br label %51
17: ; preds = %13
store i32 0, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 64
br i1 %19, label %.lr.ph, label %40
.lr.ph: ; preds = %17
br label %20
20: ; preds = %.lr.ph, %35
%21 = load i64, ptr %5, align 8
%22 = load i32, ptr %6, align 4
%23 = zext i32 %22 to i64
%24 = shl i64 1, %23
%25 = and i64 %21, %24
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %20
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %6, align 4
%30 = call i64 @BN_set_bit(ptr noundef %28, i32 noundef %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
br label %51
33: ; preds = %27
br label %34
34: ; preds = %33, %20
br label %35
35: ; preds = %34
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %38, 64
br i1 %39, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %17
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %4, align 4
%43 = load ptr, ptr %8, align 8
%44 = call i64 @rsa_builtin_keygen(ptr noundef %41, i32 noundef %42, ptr noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %40
%47 = load ptr, ptr %8, align 8
%48 = call i32 @BN_free(ptr noundef %47)
%49 = load ptr, ptr %7, align 8
store ptr %49, ptr %3, align 8
br label %64
50: ; preds = %40
br label %51
51: ; preds = %50, %32, %16
%52 = load ptr, ptr %8, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = load ptr, ptr %8, align 8
%56 = call i32 @BN_free(ptr noundef %55)
br label %57
57: ; preds = %54, %51
%58 = load ptr, ptr %7, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = load ptr, ptr %7, align 8
%62 = call i32 @RSA_free(ptr noundef %61)
br label %63
63: ; preds = %60, %57
store ptr null, ptr %3, align 8
br label %64
64: ; preds = %63, %46
%65 = load ptr, ptr %3, align 8
ret ptr %65
}
declare ptr @RSA_new(...) #1
declare ptr @BN_new(...) #1
declare i64 @BN_set_bit(ptr noundef, i32 noundef) #1
declare i64 @rsa_builtin_keygen(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @BN_free(ptr noundef) #1
declare i32 @RSA_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1cemj5u3.c'
source_filename = "/tmp/tmp1cemj5u3.c"
target datalayout = "e-m:e-p270: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/tmp1cemj5u3.c"
target datalayout = "e-m:e-p270: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/tmpl4amxotl.c'
source_filename = "/tmp/tmpl4amxotl.c"
target datalayout = "e-m:e-p270: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/tmpl4amxotl.c"
target datalayout = "e-m:e-p270: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/tmpwuohbcrk.c'
source_filename = "/tmp/tmpwuohbcrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = 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/tmpwuohbcrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = 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/tmpmpi6mv68.c'
source_filename = "/tmp/tmpmpi6mv68.c"
target datalayout = "e-m:e-p270: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/tmpmpi6mv68.c"
target datalayout = "e-m:e-p270: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/tmprn9f9y09.c'
source_filename = "/tmp/tmprn9f9y09.c"
target datalayout = "e-m:e-p270: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/tmprn9f9y09.c"
target datalayout = "e-m:e-p270: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/tmpa6xq6hrj.c'
source_filename = "/tmp/tmpa6xq6hrj.c"
target datalayout = "e-m:e-p270: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/tmpa6xq6hrj.c"
target datalayout = "e-m:e-p270: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/tmpidsb5ook.c'
source_filename = "/tmp/tmpidsb5ook.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08x \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 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 [12 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %19, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 12
br i1 %6, label %7, label %22
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %8, %9
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 %10, %11
%13 = load i32, ptr %3, align 4
%14 = mul i32 %13, -1640531527
%15 = add i32 %12, %14
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %17
store i32 %15, ptr %18, align 4
br label %19
19: ; preds = %7
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %4, !llvm.loop !6
22: ; preds = %4
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %38, %22
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 12
br i1 %25, label %26, label %41
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = srem i32 %32, 4
%34 = icmp eq i32 %33, 3
br i1 %34, label %35, label %37
35: ; preds = %26
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35, %26
br label %38
38: ; preds = %37
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %23, !llvm.loop !8
41: ; preds = %23
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%43 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 0
%44 = call i32 @gimli(ptr noundef %43)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %60, %41
%46 = load i32, ptr %3, align 4
%47 = icmp slt i32 %46, 12
br i1 %47, label %48, label %63
48: ; preds = %45
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %52)
%54 = load i32, ptr %3, align 4
%55 = srem i32 %54, 4
%56 = icmp eq i32 %55, 3
br i1 %56, label %57, label %59
57: ; preds = %48
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %59
59: ; preds = %57, %48
br label %60
60: ; preds = %59
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %45, !llvm.loop !9
63: ; preds = %45
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gimli(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpidsb5ook.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%08x \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 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 [12 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 12
br i1 %5, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %18
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %7, %8
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %9, %10
%12 = load i32, ptr %3, align 4
%13 = mul i32 %12, -1640531527
%14 = add i32 %11, %13
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %16
store i32 %14, ptr %17, align 4
br label %18
18: ; preds = %6
%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 = icmp slt i32 %21, 12
br i1 %22, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 12
br i1 %25, label %.lr.ph2, label %43
.lr.ph2: ; preds = %23
br label %26
26: ; preds = %.lr.ph2, %38
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = srem i32 %32, 4
%34 = icmp eq i32 %33, 3
br i1 %34, label %35, label %37
35: ; preds = %26
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35, %26
br label %38
38: ; preds = %37
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %41, 12
br i1 %42, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %43
43: ; preds = %._crit_edge3, %23
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%45 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 0
%46 = call i32 @gimli(ptr noundef %45)
store i32 0, ptr %3, align 4
%47 = load i32, ptr %3, align 4
%48 = icmp slt i32 %47, 12
br i1 %48, label %.lr.ph5, label %66
.lr.ph5: ; preds = %43
br label %49
49: ; preds = %.lr.ph5, %61
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %53)
%55 = load i32, ptr %3, align 4
%56 = srem i32 %55, 4
%57 = icmp eq i32 %56, 3
br i1 %57, label %58, label %60
58: ; preds = %49
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %60
60: ; preds = %58, %49
br label %61
61: ; preds = %60
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
%64 = load i32, ptr %3, align 4
%65 = icmp slt i32 %64, 12
br i1 %65, label %49, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %61
br label %66
66: ; preds = %._crit_edge6, %43
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gimli(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpcu0d2qol.c'
source_filename = "/tmp/tmpcu0d2qol.c"
target datalayout = "e-m:e-p270: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/tmpcu0d2qol.c"
target datalayout = "e-m:e-p270: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/tmp0gz2cgc4.c'
source_filename = "/tmp/tmp0gz2cgc4.c"
target datalayout = "e-m:e-p270: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/tmp0gz2cgc4.c"
target datalayout = "e-m:e-p270: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/tmpw1tgvbbj.c'
source_filename = "/tmp/tmpw1tgvbbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inCircle(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, 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
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %27, align 4
store i32 0, ptr %28, align 4
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %31, align 4
store i32 %32, ptr %19, align 4
%33 = load ptr, ptr %11, align 8
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %20, align 4
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %21, align 4
%37 = load ptr, ptr %13, align 8
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %22, align 4
%39 = load ptr, ptr %15, align 8
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %23, align 4
%41 = load ptr, ptr %16, align 8
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %24, align 4
%43 = load i32, ptr %19, align 4
%44 = load i32, ptr %20, align 4
%45 = sub nsw i32 %43, %44
%46 = call i64 @pow(i32 noundef %45, i32 noundef 2)
%47 = load i32, ptr %21, align 4
%48 = load i32, ptr %22, align 4
%49 = sub nsw i32 %47, %48
%50 = call i64 @pow(i32 noundef %49, i32 noundef 2)
%51 = add nsw i64 %46, %50
%52 = sitofp i64 %51 to double
%53 = call i64 @sqrt(double noundef %52)
%54 = trunc i64 %53 to i32
store i32 %54, ptr %29, align 4
%55 = load i32, ptr %23, align 4
%56 = call i64 @calloc(i32 noundef %55, i32 noundef 8)
%57 = inttoptr i64 %56 to ptr
store ptr %57, ptr %30, align 8
store i32 0, ptr %25, align 4
br label %58
58: ; preds = %70, %9
%59 = load i32, ptr %25, align 4
%60 = load i32, ptr %23, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %73
62: ; preds = %58
%63 = load i32, ptr %24, align 4
%64 = call i64 @calloc(i32 noundef %63, i32 noundef 8)
%65 = inttoptr i64 %64 to ptr
%66 = load ptr, ptr %30, align 8
%67 = load i32, ptr %25, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
store ptr %65, ptr %69, align 8
br label %70
70: ; preds = %62
%71 = load i32, ptr %25, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %25, align 4
br label %58, !llvm.loop !6
73: ; preds = %58
store i32 0, ptr %25, align 4
br label %74
74: ; preds = %103, %73
%75 = load i32, ptr %25, align 4
%76 = load i32, ptr %23, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %106
78: ; preds = %74
store i32 0, ptr %26, align 4
br label %79
79: ; preds = %99, %78
%80 = load i32, ptr %26, align 4
%81 = load i32, ptr %24, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %102
83: ; preds = %79
%84 = load ptr, ptr %14, align 8
%85 = load i32, ptr %27, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %84, i64 %86
%88 = load double, ptr %87, align 8
%89 = load ptr, ptr %30, align 8
%90 = load i32, ptr %25, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %26, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
store double %88, ptr %96, align 8
%97 = load i32, ptr %27, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %27, align 4
br label %99
99: ; preds = %83
%100 = load i32, ptr %26, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %26, align 4
br label %79, !llvm.loop !8
102: ; preds = %79
br label %103
103: ; preds = %102
%104 = load i32, ptr %25, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %25, align 4
br label %74, !llvm.loop !9
106: ; preds = %74
store i32 0, ptr %27, align 4
store i32 0, ptr %25, align 4
br label %107
107: ; preds = %162, %106
%108 = load i32, ptr %25, align 4
%109 = load i32, ptr %23, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %111, label %165
111: ; preds = %107
store i32 0, ptr %26, align 4
br label %112
112: ; preds = %158, %111
%113 = load i32, ptr %26, align 4
%114 = load i32, ptr %24, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %116, label %161
116: ; preds = %112
%117 = load i32, ptr %26, align 4
%118 = load i32, ptr %19, align 4
%119 = sub nsw i32 %117, %118
%120 = call i64 @pow(i32 noundef %119, i32 noundef 2)
%121 = load i32, ptr %25, align 4
%122 = load i32, ptr %21, align 4
%123 = sub nsw i32 %121, %122
%124 = call i64 @pow(i32 noundef %123, i32 noundef 2)
%125 = add nsw i64 %120, %124
%126 = load i32, ptr %29, align 4
%127 = call i64 @pow(i32 noundef %126, i32 noundef 2)
%128 = icmp sgt i64 %125, %127
br i1 %128, label %129, label %138
129: ; preds = %116
%130 = load ptr, ptr %30, align 8
%131 = load i32, ptr %25, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds ptr, ptr %130, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = load i32, ptr %26, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %134, i64 %136
store double 1.000000e+00, ptr %137, align 8
store i32 1, ptr %28, align 4
br label %138
138: ; preds = %129, %116
%139 = load i32, ptr %28, align 4
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %157
141: ; preds = %138
%142 = load ptr, ptr %30, align 8
%143 = load i32, ptr %25, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds ptr, ptr %142, i64 %144
%146 = load ptr, ptr %145, align 8
%147 = load i32, ptr %26, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, ptr %146, i64 %148
%150 = load double, ptr %149, align 8
%151 = load ptr, ptr %17, align 8
%152 = load i32, ptr %27, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, ptr %151, i64 %153
store double %150, ptr %154, align 8
%155 = load i32, ptr %27, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %27, align 4
br label %157
157: ; preds = %141, %138
store i32 0, ptr %28, align 4
br label %158
158: ; preds = %157
%159 = load i32, ptr %26, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %26, align 4
br label %112, !llvm.loop !10
161: ; preds = %112
br label %162
162: ; preds = %161
%163 = load i32, ptr %25, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %25, align 4
br label %107, !llvm.loop !11
165: ; preds = %107
%166 = load i32, ptr %27, align 4
%167 = load ptr, ptr %18, align 8
store i32 %166, ptr %167, align 4
store i32 0, ptr %27, align 4
store i32 0, ptr %25, align 4
br label %168
168: ; preds = %197, %165
%169 = load i32, ptr %25, align 4
%170 = load i32, ptr %23, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %172, label %200
172: ; preds = %168
store i32 0, ptr %26, align 4
br label %173
173: ; preds = %193, %172
%174 = load i32, ptr %26, align 4
%175 = load i32, ptr %24, align 4
%176 = icmp slt i32 %174, %175
br i1 %176, label %177, label %196
177: ; preds = %173
%178 = load ptr, ptr %30, align 8
%179 = load i32, ptr %25, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds ptr, ptr %178, i64 %180
%182 = load ptr, ptr %181, align 8
%183 = load i32, ptr %26, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds double, ptr %182, i64 %184
%186 = load double, ptr %185, align 8
%187 = load ptr, ptr %14, align 8
%188 = load i32, ptr %27, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds double, ptr %187, i64 %189
store double %186, ptr %190, align 8
%191 = load i32, ptr %27, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %27, align 4
br label %193
193: ; preds = %177
%194 = load i32, ptr %26, align 4
%195 = add nsw i32 %194, 1
store i32 %195, ptr %26, align 4
br label %173, !llvm.loop !12
196: ; preds = %173
br label %197
197: ; preds = %196
%198 = load i32, ptr %25, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %25, align 4
br label %168, !llvm.loop !13
200: ; preds = %168
%201 = load ptr, ptr %30, align 8
%202 = call i32 @free(ptr noundef %201)
ret void
}
declare i64 @sqrt(double noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw1tgvbbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inCircle(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, 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
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i32 0, ptr %27, align 4
store i32 0, ptr %28, align 4
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %31, align 4
store i32 %32, ptr %19, align 4
%33 = load ptr, ptr %11, align 8
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %20, align 4
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %21, align 4
%37 = load ptr, ptr %13, align 8
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %22, align 4
%39 = load ptr, ptr %15, align 8
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %23, align 4
%41 = load ptr, ptr %16, align 8
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %24, align 4
%43 = load i32, ptr %19, align 4
%44 = load i32, ptr %20, align 4
%45 = sub nsw i32 %43, %44
%46 = call i64 @pow(i32 noundef %45, i32 noundef 2)
%47 = load i32, ptr %21, align 4
%48 = load i32, ptr %22, align 4
%49 = sub nsw i32 %47, %48
%50 = call i64 @pow(i32 noundef %49, i32 noundef 2)
%51 = add nsw i64 %46, %50
%52 = sitofp i64 %51 to double
%53 = call i64 @sqrt(double noundef %52)
%54 = trunc i64 %53 to i32
store i32 %54, ptr %29, align 4
%55 = load i32, ptr %23, align 4
%56 = call i64 @calloc(i32 noundef %55, i32 noundef 8)
%57 = inttoptr i64 %56 to ptr
store ptr %57, ptr %30, align 8
store i32 0, ptr %25, align 4
%58 = load i32, ptr %25, align 4
%59 = load i32, ptr %23, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %.lr.ph, label %75
.lr.ph: ; preds = %9
br label %61
61: ; preds = %.lr.ph, %69
%62 = load i32, ptr %24, align 4
%63 = call i64 @calloc(i32 noundef %62, i32 noundef 8)
%64 = inttoptr i64 %63 to ptr
%65 = load ptr, ptr %30, align 8
%66 = load i32, ptr %25, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
store ptr %64, ptr %68, align 8
br label %69
69: ; preds = %61
%70 = load i32, ptr %25, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %25, align 4
%72 = load i32, ptr %25, align 4
%73 = load i32, ptr %23, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %61, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %75
75: ; preds = %._crit_edge, %9
store i32 0, ptr %25, align 4
%76 = load i32, ptr %25, align 4
%77 = load i32, ptr %23, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph5, label %112
.lr.ph5: ; preds = %75
br label %79
79: ; preds = %.lr.ph5, %106
store i32 0, ptr %26, align 4
%80 = load i32, ptr %26, align 4
%81 = load i32, ptr %24, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %.lr.ph2, label %105
.lr.ph2: ; preds = %79
br label %83
83: ; preds = %.lr.ph2, %99
%84 = load ptr, ptr %14, align 8
%85 = load i32, ptr %27, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %84, i64 %86
%88 = load double, ptr %87, align 8
%89 = load ptr, ptr %30, align 8
%90 = load i32, ptr %25, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %26, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
store double %88, ptr %96, align 8
%97 = load i32, ptr %27, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %27, align 4
br label %99
99: ; preds = %83
%100 = load i32, ptr %26, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %26, align 4
%102 = load i32, ptr %26, align 4
%103 = load i32, ptr %24, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %83, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %99
br label %105
105: ; preds = %._crit_edge3, %79
br label %106
106: ; preds = %105
%107 = load i32, ptr %25, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %25, align 4
%109 = load i32, ptr %25, align 4
%110 = load i32, ptr %23, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %79, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %106
br label %112
112: ; preds = %._crit_edge6, %75
store i32 0, ptr %27, align 4
store i32 0, ptr %25, align 4
%113 = load i32, ptr %25, align 4
%114 = load i32, ptr %23, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %.lr.ph11, label %175
.lr.ph11: ; preds = %112
br label %116
116: ; preds = %.lr.ph11, %169
store i32 0, ptr %26, align 4
%117 = load i32, ptr %26, align 4
%118 = load i32, ptr %24, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %.lr.ph8, label %168
.lr.ph8: ; preds = %116
br label %120
120: ; preds = %.lr.ph8, %162
%121 = load i32, ptr %26, align 4
%122 = load i32, ptr %19, align 4
%123 = sub nsw i32 %121, %122
%124 = call i64 @pow(i32 noundef %123, i32 noundef 2)
%125 = load i32, ptr %25, align 4
%126 = load i32, ptr %21, align 4
%127 = sub nsw i32 %125, %126
%128 = call i64 @pow(i32 noundef %127, i32 noundef 2)
%129 = add nsw i64 %124, %128
%130 = load i32, ptr %29, align 4
%131 = call i64 @pow(i32 noundef %130, i32 noundef 2)
%132 = icmp sgt i64 %129, %131
br i1 %132, label %133, label %142
133: ; preds = %120
%134 = load ptr, ptr %30, align 8
%135 = load i32, ptr %25, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds ptr, ptr %134, i64 %136
%138 = load ptr, ptr %137, align 8
%139 = load i32, ptr %26, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %138, i64 %140
store double 1.000000e+00, ptr %141, align 8
store i32 1, ptr %28, align 4
br label %142
142: ; preds = %133, %120
%143 = load i32, ptr %28, align 4
%144 = icmp eq i32 %143, 0
br i1 %144, label %145, label %161
145: ; preds = %142
%146 = load ptr, ptr %30, align 8
%147 = load i32, ptr %25, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds ptr, ptr %146, i64 %148
%150 = load ptr, ptr %149, align 8
%151 = load i32, ptr %26, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, ptr %150, i64 %152
%154 = load double, ptr %153, align 8
%155 = load ptr, ptr %17, align 8
%156 = load i32, ptr %27, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds double, ptr %155, i64 %157
store double %154, ptr %158, align 8
%159 = load i32, ptr %27, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %27, align 4
br label %161
161: ; preds = %145, %142
store i32 0, ptr %28, align 4
br label %162
162: ; preds = %161
%163 = load i32, ptr %26, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %26, align 4
%165 = load i32, ptr %26, align 4
%166 = load i32, ptr %24, align 4
%167 = icmp slt i32 %165, %166
br i1 %167, label %120, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %162
br label %168
168: ; preds = %._crit_edge9, %116
br label %169
169: ; preds = %168
%170 = load i32, ptr %25, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %25, align 4
%172 = load i32, ptr %25, align 4
%173 = load i32, ptr %23, align 4
%174 = icmp slt i32 %172, %173
br i1 %174, label %116, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %169
br label %175
175: ; preds = %._crit_edge12, %112
%176 = load i32, ptr %27, align 4
%177 = load ptr, ptr %18, align 8
store i32 %176, ptr %177, align 4
store i32 0, ptr %27, align 4
store i32 0, ptr %25, align 4
%178 = load i32, ptr %25, align 4
%179 = load i32, ptr %23, align 4
%180 = icmp slt i32 %178, %179
br i1 %180, label %.lr.ph17, label %214
.lr.ph17: ; preds = %175
br label %181
181: ; preds = %.lr.ph17, %208
store i32 0, ptr %26, align 4
%182 = load i32, ptr %26, align 4
%183 = load i32, ptr %24, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %.lr.ph14, label %207
.lr.ph14: ; preds = %181
br label %185
185: ; preds = %.lr.ph14, %201
%186 = load ptr, ptr %30, align 8
%187 = load i32, ptr %25, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds ptr, ptr %186, i64 %188
%190 = load ptr, ptr %189, align 8
%191 = load i32, ptr %26, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %190, i64 %192
%194 = load double, ptr %193, align 8
%195 = load ptr, ptr %14, align 8
%196 = load i32, ptr %27, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, ptr %195, i64 %197
store double %194, ptr %198, align 8
%199 = load i32, ptr %27, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %27, align 4
br label %201
201: ; preds = %185
%202 = load i32, ptr %26, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %26, align 4
%204 = load i32, ptr %26, align 4
%205 = load i32, ptr %24, align 4
%206 = icmp slt i32 %204, %205
br i1 %206, label %185, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %201
br label %207
207: ; preds = %._crit_edge15, %181
br label %208
208: ; preds = %207
%209 = load i32, ptr %25, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %25, align 4
%211 = load i32, ptr %25, align 4
%212 = load i32, ptr %23, align 4
%213 = icmp slt i32 %211, %212
br i1 %213, label %181, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %208
br label %214
214: ; preds = %._crit_edge18, %175
%215 = load ptr, ptr %30, align 8
%216 = call i32 @free(ptr noundef %215)
ret void
}
declare i64 @sqrt(double noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpm1vynryg.c'
source_filename = "/tmp/tmpm1vynryg.c"
target datalayout = "e-m:e-p270: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/tmpm1vynryg.c"
target datalayout = "e-m:e-p270: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/tmpujjbd9pi.c'
source_filename = "/tmp/tmpujjbd9pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @score(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call ptr @wcsdup(ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = call ptr @wcsdup(ptr noundef %12)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %6, align 4
%17 = call double @score_inplace(ptr noundef %14, ptr noundef %15, i32 noundef %16)
store double %17, ptr %9, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %8, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load double, ptr %9, align 8
ret double %22
}
declare ptr @wcsdup(ptr noundef) #1
declare double @score_inplace(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpujjbd9pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @score(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call ptr @wcsdup(ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = call ptr @wcsdup(ptr noundef %12)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %6, align 4
%17 = call double @score_inplace(ptr noundef %14, ptr noundef %15, i32 noundef %16)
store double %17, ptr %9, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %8, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load double, ptr %9, align 8
ret double %22
}
declare ptr @wcsdup(ptr noundef) #1
declare double @score_inplace(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw4tpv1yu.c'
source_filename = "/tmp/tmpw4tpv1yu.c"
target datalayout = "e-m:e-p270: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/tmpw4tpv1yu.c"
target datalayout = "e-m:e-p270: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/tmp5wvddcfh.c'
source_filename = "/tmp/tmp5wvddcfh.c"
target datalayout = "e-m:e-p270: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/tmp5wvddcfh.c"
target datalayout = "e-m:e-p270: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/tmpvf7dtcri.c'
source_filename = "/tmp/tmpvf7dtcri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [31 x i8] c"Incorrect number of arguments.\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Number of cards has to be %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Enter %d for number of cards\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Number of hands has to be between %d and %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"Number of hands has to be a positive integer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkInput(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %54
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isdigit(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %12
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp ne i32 %24, 5
br i1 %25, label %26, label %28
26: ; preds = %19
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 5)
store i32 0, ptr %3, align 4
br label %54
28: ; preds = %19
br label %31
29: ; preds = %12
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 5)
store i32 0, ptr %3, align 4
br label %54
31: ; preds = %28
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = load i8, ptr %34, align 1
%36 = call i64 @isdigit(i8 noundef signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %31
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = call i32 @atoi(ptr noundef %41)
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %43, 1
br i1 %44, label %48, label %45
45: ; preds = %38
%46 = load i32, ptr %7, align 4
%47 = icmp sgt i32 %46, 10
br i1 %47, label %48, label %50
48: ; preds = %45, %38
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1, i32 noundef 10)
store i32 0, ptr %3, align 4
br label %54
50: ; preds = %45
br label %53
51: ; preds = %31
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %54
53: ; preds = %50
store i32 1, ptr %3, align 4
br label %54
54: ; preds = %53, %51, %48, %29, %26, %10
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvf7dtcri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [31 x i8] c"Incorrect number of arguments.\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Number of cards has to be %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Enter %d for number of cards\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Number of hands has to be between %d and %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"Number of hands has to be a positive integer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkInput(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %54
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isdigit(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %12
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp ne i32 %24, 5
br i1 %25, label %26, label %28
26: ; preds = %19
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 5)
store i32 0, ptr %3, align 4
br label %54
28: ; preds = %19
br label %31
29: ; preds = %12
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 5)
store i32 0, ptr %3, align 4
br label %54
31: ; preds = %28
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = load i8, ptr %34, align 1
%36 = call i64 @isdigit(i8 noundef signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %31
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = call i32 @atoi(ptr noundef %41)
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %43, 1
br i1 %44, label %48, label %45
45: ; preds = %38
%46 = load i32, ptr %7, align 4
%47 = icmp sgt i32 %46, 10
br i1 %47, label %48, label %50
48: ; preds = %45, %38
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1, i32 noundef 10)
store i32 0, ptr %3, align 4
br label %54
50: ; preds = %45
br label %53
51: ; preds = %31
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %54
53: ; preds = %50
store i32 1, ptr %3, align 4
br label %54
54: ; preds = %53, %51, %48, %29, %26, %10
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpybuqms6s.c'
source_filename = "/tmp/tmpybuqms6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @exit(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 @task_exit(i32 noundef %3)
unreachable
}
declare i32 @task_exit(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybuqms6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @exit(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 @task_exit(i32 noundef %3)
unreachable
}
declare i32 @task_exit(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1m1ibogj.c'
source_filename = "/tmp/tmp1m1ibogj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
ret ptr %3
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1m1ibogj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
ret ptr %3
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp00z8ulmo.c'
source_filename = "/tmp/tmp00z8ulmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_LNK = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp00z8ulmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DT_LNK = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7aixfcn4.c'
source_filename = "/tmp/tmp7aixfcn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden ptr @xzmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @xmalloc(i64 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %2, align 8
%8 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare ptr @xmalloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 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/tmp7aixfcn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden ptr @xzmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @xmalloc(i64 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %2, align 8
%8 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare ptr @xmalloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 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/tmpvre1o92d.c'
source_filename = "/tmp/tmpvre1o92d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fins_read(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr 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 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 ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %10, align 8
%17 = call i32 @fins_command(ptr noundef %11, i32 noundef 1, i32 noundef 1, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef 0, ptr noundef null, i32 noundef %15, ptr noundef %16)
ret i32 %17
}
declare i32 @fins_command(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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/tmpvre1o92d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fins_read(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr 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 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 ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %10, align 8
%17 = call i32 @fins_command(ptr noundef %11, i32 noundef 1, i32 noundef 1, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef 0, ptr noundef null, i32 noundef %15, ptr noundef %16)
ret i32 %17
}
declare i32 @fins_command(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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/tmp1b7gbdqi.c'
source_filename = "/tmp/tmp1b7gbdqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_cistlv_prependNetworkVarInt(i16 noundef zeroext %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i16 %0, ptr %6, align 2
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = load ptr, ptr %8, align 8
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %14
14: ; preds = %31, %4
%15 = load i32, ptr %10, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %34
17: ; preds = %14
%18 = load i32, ptr %7, align 4
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i8
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %10, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 %20, ptr %25, align 1
%26 = load i32, ptr %11, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %11, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp ult i32 %28, 128
br i1 %29, label %30, label %31
30: ; preds = %17
br label %34
31: ; preds = %17
%32 = load i32, ptr %7, align 4
%33 = lshr i32 %32, 8
store i32 %33, ptr %7, align 4
br label %14, !llvm.loop !6
34: ; preds = %30, %14
%35 = load i32, ptr %10, align 4
%36 = load ptr, ptr %8, align 8
store i32 %35, ptr %36, align 4
%37 = load i16, ptr %6, align 2
%38 = load i32, ptr %11, align 4
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %9, align 8
%41 = call i64 @ccnl_cistlv_prependTL(i16 noundef zeroext %37, i32 noundef %38, ptr noundef %39, ptr noundef %40)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %34
store i32 -1, ptr %5, align 4
br label %47
44: ; preds = %34
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 4
store i32 %46, ptr %5, align 4
br label %47
47: ; preds = %44, %43
%48 = load i32, ptr %5, align 4
ret i32 %48
}
declare i64 @ccnl_cistlv_prependTL(i16 noundef zeroext, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1b7gbdqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_cistlv_prependNetworkVarInt(i16 noundef zeroext %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i16, align 2
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i16 %0, ptr %6, align 2
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = load ptr, ptr %8, align 8
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %10, align 4
store i32 0, ptr %11, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %30
%17 = load i32, ptr %7, align 4
%18 = and i32 %17, 255
%19 = trunc i32 %18 to i8
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
store i8 %19, ptr %24, align 1
%25 = load i32, ptr %11, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %11, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp ult i32 %27, 128
br i1 %28, label %29, label %30
29: ; preds = %16
br label %35
30: ; preds = %16
%31 = load i32, ptr %7, align 4
%32 = lshr i32 %31, 8
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %30
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %4
br label %35
35: ; preds = %.loopexit, %29
%36 = load i32, ptr %10, align 4
%37 = load ptr, ptr %8, align 8
store i32 %36, ptr %37, align 4
%38 = load i16, ptr %6, align 2
%39 = load i32, ptr %11, align 4
%40 = load ptr, ptr %8, align 8
%41 = load ptr, ptr %9, align 8
%42 = call i64 @ccnl_cistlv_prependTL(i16 noundef zeroext %38, i32 noundef %39, ptr noundef %40, ptr noundef %41)
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %35
store i32 -1, ptr %5, align 4
br label %48
45: ; preds = %35
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %46, 4
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %45, %44
%49 = load i32, ptr %5, align 4
ret i32 %49
}
declare i64 @ccnl_cistlv_prependTL(i16 noundef zeroext, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx9xxlluj.c'
source_filename = "/tmp/tmpx9xxlluj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dnaMarkMakeLog2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %51, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %9, label %54
9: ; preds = %6
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %47, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 5
br i1 %12, label %13, label %50
13: ; preds = %10
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %43, %13
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %17, label %46
17: ; preds = %14
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [5 x [5 x double]], ptr %18, i64 %20
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x [5 x double]], ptr %21, i64 0, i64 %23
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [5 x double], ptr %24, i64 0, i64 %26
%28 = load double, ptr %27, align 8
%29 = fptosi double %28 to i32
%30 = call double @log(i32 noundef %29)
%31 = call double @log(i32 noundef 2)
%32 = fdiv double %30, %31
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x [5 x double]], ptr %33, i64 %35
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [5 x [5 x double]], ptr %36, i64 0, i64 %38
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [5 x double], ptr %39, i64 0, i64 %41
store double %32, ptr %42, align 8
br label %43
43: ; preds = %17
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %14, !llvm.loop !6
46: ; preds = %14
br label %47
47: ; preds = %46
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
br label %10, !llvm.loop !8
50: ; preds = %10
br label %51
51: ; preds = %50
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %3, align 4
br label %6, !llvm.loop !9
54: ; preds = %6
ret void
}
declare double @log(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx9xxlluj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dnaMarkMakeLog2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %.lr.ph5, label %57
.lr.ph5: ; preds = %1
br label %8
8: ; preds = %.lr.ph5, %52
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %.lr.ph2, label %51
.lr.ph2: ; preds = %8
br label %11
11: ; preds = %.lr.ph2, %46
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 5
br i1 %13, label %.lr.ph, label %45
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %40
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [5 x [5 x double]], ptr %15, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [5 x [5 x double]], ptr %18, i64 0, i64 %20
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x double], ptr %21, i64 0, i64 %23
%25 = load double, ptr %24, align 8
%26 = fptosi double %25 to i32
%27 = call double @log(i32 noundef %26)
%28 = call double @log(i32 noundef 2)
%29 = fdiv double %27, %28
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [5 x [5 x double]], ptr %30, i64 %32
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x [5 x double]], ptr %33, i64 0, i64 %35
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [5 x double], ptr %36, i64 0, i64 %38
store double %29, ptr %39, align 8
br label %40
40: ; preds = %14
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 5
br i1 %44, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %11
br label %46
46: ; preds = %45
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %49, 5
br i1 %50, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %51
51: ; preds = %._crit_edge3, %8
br label %52
52: ; preds = %51
%53 = load i32, ptr %3, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = icmp slt i32 %55, 5
br i1 %56, label %8, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %52
br label %57
57: ; preds = %._crit_edge6, %1
ret void
}
declare double @log(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp8xvcn3t6.c'
source_filename = "/tmp/tmp8xvcn3t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [271 x i8] c"\0A<metadata>\0A<name>Osmawalk track</name>\0A<desc>Walk track found by Osmawalk</desc>\0A<author>\0A<name>Tomas Pokorny</name>\0A<email id=\22xtompok\22 domain=\22gmail.com\22 />\0A<link href=\22https://github.com/xtompok/osmawalk\22><text>Osmawalk on Github</text></link>\0A</author>\0A</metadata>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeGpxMetadata(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8xvcn3t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [271 x i8] c"\0A<metadata>\0A<name>Osmawalk track</name>\0A<desc>Walk track found by Osmawalk</desc>\0A<author>\0A<name>Tomas Pokorny</name>\0A<email id=\22xtompok\22 domain=\22gmail.com\22 />\0A<link href=\22https://github.com/xtompok/osmawalk\22><text>Osmawalk on Github</text></link>\0A</author>\0A</metadata>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeGpxMetadata(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqkust04y.c'
source_filename = "/tmp/tmpqkust04y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bst_sequences.array_buff = internal global [4096 x ptr] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bst_sequences(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 %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr @bst_sequences.array_buff, align 16
%7 = call i32 @bst_sequences_aux(ptr noundef @bst_sequences.array_buff, i32 noundef 1, i32 noundef 1)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @bst_sequences_aux(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/tmpqkust04y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bst_sequences.array_buff = internal global [4096 x ptr] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bst_sequences(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 %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr @bst_sequences.array_buff, align 16
%7 = call i32 @bst_sequences_aux(ptr noundef @bst_sequences.array_buff, i32 noundef 1, i32 noundef 1)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @bst_sequences_aux(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/tmp2mdvynbi.c'
source_filename = "/tmp/tmp2mdvynbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetContrast_OV6680(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
switch i32 %4, label %90 [
i32 1, label %5
i32 2, label %22
i32 3, label %39
i32 4, label %56
i32 5, label %73
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 28)
%7 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 48)
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 63)
%9 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 84)
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 111)
%11 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 121)
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 130)
%13 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 139)
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 146)
%15 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 153)
%16 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 160)
%17 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 172)
%18 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 183)
%19 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 202)
%20 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 219)
%21 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 235)
br label %91
22: ; preds = %1
%23 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 32)
%24 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 32)
%25 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 45)
%26 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 66)
%27 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 96)
%28 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 107)
%29 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 118)
%30 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 128)
%31 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 138)
%32 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 146)
%33 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 153)
%34 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 166)
%35 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 175)
%36 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 196)
%37 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 215)
%38 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 232)
br label %91
39: ; preds = %1
%40 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 25)
%41 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 12)
%42 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 24)
%43 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 47)
%44 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 84)
%45 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 100)
%46 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 113)
%47 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 125)
%48 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 136)
%49 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 145)
%50 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 152)
%51 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 167)
%52 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 180)
%53 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 203)
%54 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 222)
%55 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 237)
br label %91
56: ; preds = %1
%57 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 25)
%58 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 9)
%59 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 19)
%60 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 41)
%61 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 79)
%62 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 95)
%63 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 110)
%64 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 123)
%65 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 135)
%66 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 145)
%67 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 154)
%68 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 171)
%69 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 182)
%70 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 205)
%71 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 223)
%72 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 237)
br label %91
73: ; preds = %1
%74 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 44)
%75 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 17)
%76 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 26)
%77 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 42)
%78 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 66)
%79 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 76)
%80 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 86)
%81 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 95)
%82 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 103)
%83 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 112)
%84 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 120)
%85 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 135)
%86 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 149)
%87 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 175)
%88 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 200)
%89 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 223)
br label %91
90: ; preds = %1
br label %91
91: ; preds = %90, %73, %56, %39, %22, %5
ret void
}
declare i32 @VIM_SIF_I2cWriteByte(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/tmp2mdvynbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetContrast_OV6680(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
switch i32 %4, label %90 [
i32 1, label %5
i32 2, label %22
i32 3, label %39
i32 4, label %56
i32 5, label %73
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 28)
%7 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 48)
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 63)
%9 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 84)
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 111)
%11 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 121)
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 130)
%13 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 139)
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 146)
%15 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 153)
%16 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 160)
%17 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 172)
%18 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 183)
%19 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 202)
%20 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 219)
%21 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 235)
br label %91
22: ; preds = %1
%23 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 32)
%24 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 32)
%25 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 45)
%26 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 66)
%27 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 96)
%28 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 107)
%29 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 118)
%30 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 128)
%31 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 138)
%32 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 146)
%33 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 153)
%34 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 166)
%35 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 175)
%36 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 196)
%37 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 215)
%38 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 232)
br label %91
39: ; preds = %1
%40 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 25)
%41 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 12)
%42 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 24)
%43 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 47)
%44 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 84)
%45 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 100)
%46 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 113)
%47 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 125)
%48 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 136)
%49 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 145)
%50 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 152)
%51 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 167)
%52 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 180)
%53 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 203)
%54 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 222)
%55 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 237)
br label %91
56: ; preds = %1
%57 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 25)
%58 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 9)
%59 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 19)
%60 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 41)
%61 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 79)
%62 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 95)
%63 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 110)
%64 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 123)
%65 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 135)
%66 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 145)
%67 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 154)
%68 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 171)
%69 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 182)
%70 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 205)
%71 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 223)
%72 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 237)
br label %91
73: ; preds = %1
%74 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 129, i32 noundef 44)
%75 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 130, i32 noundef 17)
%76 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 131, i32 noundef 26)
%77 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 132, i32 noundef 42)
%78 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 133, i32 noundef 66)
%79 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 134, i32 noundef 76)
%80 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 135, i32 noundef 86)
%81 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 136, i32 noundef 95)
%82 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 137, i32 noundef 103)
%83 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 138, i32 noundef 112)
%84 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 139, i32 noundef 120)
%85 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 140, i32 noundef 135)
%86 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 141, i32 noundef 149)
%87 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 142, i32 noundef 175)
%88 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 143, i32 noundef 200)
%89 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 144, i32 noundef 223)
br label %91
90: ; preds = %1
br label %91
91: ; preds = %90, %73, %56, %39, %22, %5
ret void
}
declare i32 @VIM_SIF_I2cWriteByte(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/tmp9f5bl_k7.c'
source_filename = "/tmp/tmp9f5bl_k7.c"
target datalayout = "e-m:e-p270: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/tmp9f5bl_k7.c"
target datalayout = "e-m:e-p270: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/tmpzpy4t_o1.c'
source_filename = "/tmp/tmpzpy4t_o1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Error opening pipe!\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Error forking!\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"SMPAGER\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"PAGER\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"less\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [26 x i8] c"Failed to execute pager!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_page() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x i32], align 4
%4 = alloca [2 x ptr], align 16
store i32 0, ptr %1, align 4
%5 = load i32, ptr @STDOUT_FILENO, align 4
%6 = call i64 @isatty(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %59
8: ; preds = %0
%9 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%10 = call i64 @pipe(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %58
15: ; preds = %8
%16 = call i32 (...) @fork()
store i32 %16, ptr %2, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %57
21: ; preds = %15
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %21
%25 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%26 = load i32, ptr %25, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr @STDOUT_FILENO, align 4
%31 = call i32 @dup2(i32 noundef %29, i32 noundef %30)
%32 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%33 = load i32, ptr %32, align 4
%34 = call i32 @close(i32 noundef %33)
br label %56
35: ; preds = %21
%36 = call ptr @check_env(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%37 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0
store ptr %36, ptr %37, align 16
%38 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 1
store ptr null, ptr %38, align 8
%39 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%40 = load i32, ptr %39, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr @STDIN_FILENO, align 4
%45 = call i32 @dup2(i32 noundef %43, i32 noundef %44)
%46 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%47 = load i32, ptr %46, align 4
%48 = call i32 @close(i32 noundef %47)
%49 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0
%50 = load ptr, ptr %49, align 16
%51 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0
%52 = call i32 @execvp(ptr noundef %50, ptr noundef %51)
%53 = load i32, ptr @stderr, align 4
%54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.5)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %24
br label %57
57: ; preds = %56, %18
br label %58
58: ; preds = %57, %12
br label %59
59: ; preds = %58, %0
%60 = load i32, ptr %1, align 4
ret i32 %60
}
declare i64 @isatty(i32 noundef) #1
declare i64 @pipe(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare ptr @check_env(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpy4t_o1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Error opening pipe!\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Error forking!\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"SMPAGER\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"PAGER\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"less\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [26 x i8] c"Failed to execute pager!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_page() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x i32], align 4
%4 = alloca [2 x ptr], align 16
store i32 0, ptr %1, align 4
%5 = load i32, ptr @STDOUT_FILENO, align 4
%6 = call i64 @isatty(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %59
8: ; preds = %0
%9 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%10 = call i64 @pipe(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %58
15: ; preds = %8
%16 = call i32 (...) @fork()
store i32 %16, ptr %2, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %57
21: ; preds = %15
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %21
%25 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%26 = load i32, ptr %25, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr @STDOUT_FILENO, align 4
%31 = call i32 @dup2(i32 noundef %29, i32 noundef %30)
%32 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%33 = load i32, ptr %32, align 4
%34 = call i32 @close(i32 noundef %33)
br label %56
35: ; preds = %21
%36 = call ptr @check_env(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%37 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0
store ptr %36, ptr %37, align 16
%38 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 1
store ptr null, ptr %38, align 8
%39 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%40 = load i32, ptr %39, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr @STDIN_FILENO, align 4
%45 = call i32 @dup2(i32 noundef %43, i32 noundef %44)
%46 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%47 = load i32, ptr %46, align 4
%48 = call i32 @close(i32 noundef %47)
%49 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0
%50 = load ptr, ptr %49, align 16
%51 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0
%52 = call i32 @execvp(ptr noundef %50, ptr noundef %51)
%53 = load i32, ptr @stderr, align 4
%54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.5)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %24
br label %57
57: ; preds = %56, %18
br label %58
58: ; preds = %57, %12
br label %59
59: ; preds = %58, %0
%60 = load i32, ptr %1, align 4
ret i32 %60
}
declare i64 @isatty(i32 noundef) #1
declare i64 @pipe(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare ptr @check_env(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaa_egf_b.c'
source_filename = "/tmp/tmpaa_egf_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.byte = private unnamed_addr constant [2 x i32] [i32 0, i32 255], align 4
@__const.main.four = private unnamed_addr constant [4 x i32] [i32 0, i32 85, i32 170, i32 255], align 16
@__const.main.B = private unnamed_addr constant [4 x i32] [i32 32, i32 96, i32 159, i32 223], align 16
@__const.main.G = private unnamed_addr constant [8 x i32] [i32 16, i32 48, i32 80, i32 112, i32 143, i32 175, i32 207, i32 239], align 16
@__const.main.R = private unnamed_addr constant [3 x i32] [i32 42, i32 128, i32 213], align 4
@.str = private unnamed_addr constant [15 x i8] c"minimOS128.pal\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"*** CANNOT WRITE ***\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%c%c%c\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Created %d system colours\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"Added system greyscale (total %d entries)\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"Finished palette with %d entries\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [2 x i32], align 4
%10 = alloca [4 x i32], align 16
%11 = alloca [4 x i32], align 16
%12 = alloca [8 x i32], align 16
%13 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 @__const.main.byte, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.four, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.B, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.G, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 @__const.main.R, i64 12, i1 false)
%14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %147
19: ; preds = %0
store i32 0, ptr %6, align 4
br label %20
20: ; preds = %68, %19
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 2
br i1 %22, label %23, label %71
23: ; preds = %20
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %64, %23
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %25, 2
br i1 %26, label %27, label %67
27: ; preds = %24
store i32 0, ptr %7, align 4
br label %28
28: ; preds = %60, %27
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %29, 2
br i1 %30, label %31, label %63
31: ; preds = %28
store i32 0, ptr %5, align 4
br label %32
32: ; preds = %56, %31
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %33, 2
br i1 %34, label %35, label %59
35: ; preds = %32
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %6, align 4
%39 = shl i32 %38, 1
%40 = load i32, ptr %7, align 4
%41 = or i32 %39, %40
store i32 %41, ptr %4, align 4
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = call i32 @fprintf(ptr noundef %42, ptr noundef @.str.3, i32 noundef %46, i32 noundef %50, i32 noundef %54)
br label %56
56: ; preds = %35
%57 = load i32, ptr %5, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %5, align 4
br label %32, !llvm.loop !6
59: ; preds = %32
br label %60
60: ; preds = %59
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %28, !llvm.loop !8
63: ; preds = %28
br label %64
64: ; preds = %63
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
br label %24, !llvm.loop !9
67: ; preds = %24
br label %68
68: ; preds = %67
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %6, align 4
br label %20, !llvm.loop !10
71: ; preds = %20
%72 = load i32, ptr %8, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %72)
store i32 15, ptr %4, align 4
br label %74
74: ; preds = %85, %71
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %75, 255
br i1 %76, label %77, label %88
77: ; preds = %74
%78 = load i32, ptr %8, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %8, align 4
%80 = load ptr, ptr %2, align 8
%81 = load i32, ptr %4, align 4
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %4, align 4
%84 = call i32 @fprintf(ptr noundef %80, ptr noundef @.str.3, i32 noundef %81, i32 noundef %82, i32 noundef %83)
br label %85
85: ; preds = %77
%86 = load i32, ptr %4, align 4
%87 = add nsw i32 %86, 15
store i32 %87, ptr %4, align 4
br label %74, !llvm.loop !11
88: ; preds = %74
%89 = load i32, ptr %8, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %89)
store i32 0, ptr %3, align 4
br label %91
91: ; preds = %139, %88
%92 = load i32, ptr %3, align 4
%93 = icmp slt i32 %92, 3
br i1 %93, label %94, label %142
94: ; preds = %91
store i32 0, ptr %7, align 4
br label %95
95: ; preds = %135, %94
%96 = load i32, ptr %7, align 4
%97 = icmp slt i32 %96, 2
br i1 %97, label %98, label %138
98: ; preds = %95
store i32 0, ptr %4, align 4
br label %99
99: ; preds = %131, %98
%100 = load i32, ptr %4, align 4
%101 = icmp slt i32 %100, 8
br i1 %101, label %102, label %134
102: ; preds = %99
store i32 0, ptr %6, align 4
br label %103
103: ; preds = %127, %102
%104 = load i32, ptr %6, align 4
%105 = icmp slt i32 %104, 2
br i1 %105, label %106, label %130
106: ; preds = %103
%107 = load i32, ptr %8, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %8, align 4
%109 = load i32, ptr %6, align 4
%110 = shl i32 %109, 1
%111 = load i32, ptr %7, align 4
%112 = or i32 %110, %111
store i32 %112, ptr %5, align 4
%113 = load ptr, ptr %2, align 8
%114 = load i32, ptr %3, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %115
%117 = load i32, ptr %116, align 4
%118 = load i32, ptr %4, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [8 x i32], ptr %12, i64 0, i64 %119
%121 = load i32, ptr %120, align 4
%122 = load i32, ptr %5, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %123
%125 = load i32, ptr %124, align 4
%126 = call i32 @fprintf(ptr noundef %113, ptr noundef @.str.3, i32 noundef %117, i32 noundef %121, i32 noundef %125)
br label %127
127: ; preds = %106
%128 = load i32, ptr %6, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %6, align 4
br label %103, !llvm.loop !12
130: ; preds = %103
br label %131
131: ; preds = %130
%132 = load i32, ptr %4, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %4, align 4
br label %99, !llvm.loop !13
134: ; preds = %99
br label %135
135: ; preds = %134
%136 = load i32, ptr %7, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %7, align 4
br label %95, !llvm.loop !14
138: ; preds = %95
br label %139
139: ; preds = %138
%140 = load i32, ptr %3, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %3, align 4
br label %91, !llvm.loop !15
142: ; preds = %91
%143 = load ptr, ptr %2, align 8
%144 = call i32 @fclose(ptr noundef %143)
%145 = load i32, ptr %8, align 4
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %145)
store i32 0, ptr %1, align 4
br label %147
147: ; preds = %142, %17
%148 = load i32, ptr %1, align 4
ret i32 %148
}
; 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 ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaa_egf_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.byte = private unnamed_addr constant [2 x i32] [i32 0, i32 255], align 4
@__const.main.four = private unnamed_addr constant [4 x i32] [i32 0, i32 85, i32 170, i32 255], align 16
@__const.main.B = private unnamed_addr constant [4 x i32] [i32 32, i32 96, i32 159, i32 223], align 16
@__const.main.G = private unnamed_addr constant [8 x i32] [i32 16, i32 48, i32 80, i32 112, i32 143, i32 175, i32 207, i32 239], align 16
@__const.main.R = private unnamed_addr constant [3 x i32] [i32 42, i32 128, i32 213], align 4
@.str = private unnamed_addr constant [15 x i8] c"minimOS128.pal\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"*** CANNOT WRITE ***\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%c%c%c\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Created %d system colours\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"Added system greyscale (total %d entries)\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"Finished palette with %d entries\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [2 x i32], align 4
%10 = alloca [4 x i32], align 16
%11 = alloca [4 x i32], align 16
%12 = alloca [8 x i32], align 16
%13 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 @__const.main.byte, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.four, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.B, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.G, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 @__const.main.R, i64 12, i1 false)
%14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %156
19: ; preds = %0
store i32 0, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %20, 2
br i1 %21, label %.lr.ph8, label %75
.lr.ph8: ; preds = %19
br label %22
22: ; preds = %.lr.ph8, %70
store i32 0, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %23, 2
br i1 %24, label %.lr.ph5, label %69
.lr.ph5: ; preds = %22
br label %25
25: ; preds = %.lr.ph5, %64
store i32 0, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %26, 2
br i1 %27, label %.lr.ph2, label %63
.lr.ph2: ; preds = %25
br label %28
28: ; preds = %.lr.ph2, %58
store i32 0, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %29, 2
br i1 %30, label %.lr.ph, label %57
.lr.ph: ; preds = %28
br label %31
31: ; preds = %.lr.ph, %52
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = shl i32 %34, 1
%36 = load i32, ptr %7, align 4
%37 = or i32 %35, %36
store i32 %37, ptr %4, align 4
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = call i32 @fprintf(ptr noundef %38, ptr noundef @.str.3, i32 noundef %42, i32 noundef %46, i32 noundef %50)
br label %52
52: ; preds = %31
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %5, align 4
%56 = icmp slt i32 %55, 2
br i1 %56, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %57
57: ; preds = %._crit_edge, %28
br label %58
58: ; preds = %57
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %61, 2
br i1 %62, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %58
br label %63
63: ; preds = %._crit_edge3, %25
br label %64
64: ; preds = %63
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp slt i32 %67, 2
br i1 %68, label %25, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %69
69: ; preds = %._crit_edge6, %22
br label %70
70: ; preds = %69
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %6, align 4
%73 = load i32, ptr %6, align 4
%74 = icmp slt i32 %73, 2
br i1 %74, label %22, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %70
br label %75
75: ; preds = %._crit_edge9, %19
%76 = load i32, ptr %8, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %76)
store i32 15, ptr %4, align 4
%78 = load i32, ptr %4, align 4
%79 = icmp slt i32 %78, 255
br i1 %79, label %.lr.ph11, label %93
.lr.ph11: ; preds = %75
br label %80
80: ; preds = %.lr.ph11, %88
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %8, align 4
%83 = load ptr, ptr %2, align 8
%84 = load i32, ptr %4, align 4
%85 = load i32, ptr %4, align 4
%86 = load i32, ptr %4, align 4
%87 = call i32 @fprintf(ptr noundef %83, ptr noundef @.str.3, i32 noundef %84, i32 noundef %85, i32 noundef %86)
br label %88
88: ; preds = %80
%89 = load i32, ptr %4, align 4
%90 = add nsw i32 %89, 15
store i32 %90, ptr %4, align 4
%91 = load i32, ptr %4, align 4
%92 = icmp slt i32 %91, 255
br i1 %92, label %80, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %88
br label %93
93: ; preds = %._crit_edge12, %75
%94 = load i32, ptr %8, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %94)
store i32 0, ptr %3, align 4
%96 = load i32, ptr %3, align 4
%97 = icmp slt i32 %96, 3
br i1 %97, label %.lr.ph23, label %151
.lr.ph23: ; preds = %93
br label %98
98: ; preds = %.lr.ph23, %146
store i32 0, ptr %7, align 4
%99 = load i32, ptr %7, align 4
%100 = icmp slt i32 %99, 2
br i1 %100, label %.lr.ph20, label %145
.lr.ph20: ; preds = %98
br label %101
101: ; preds = %.lr.ph20, %140
store i32 0, ptr %4, align 4
%102 = load i32, ptr %4, align 4
%103 = icmp slt i32 %102, 8
br i1 %103, label %.lr.ph17, label %139
.lr.ph17: ; preds = %101
br label %104
104: ; preds = %.lr.ph17, %134
store i32 0, ptr %6, align 4
%105 = load i32, ptr %6, align 4
%106 = icmp slt i32 %105, 2
br i1 %106, label %.lr.ph14, label %133
.lr.ph14: ; preds = %104
br label %107
107: ; preds = %.lr.ph14, %128
%108 = load i32, ptr %8, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %8, align 4
%110 = load i32, ptr %6, align 4
%111 = shl i32 %110, 1
%112 = load i32, ptr %7, align 4
%113 = or i32 %111, %112
store i32 %113, ptr %5, align 4
%114 = load ptr, ptr %2, align 8
%115 = load i32, ptr %3, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %116
%118 = load i32, ptr %117, align 4
%119 = load i32, ptr %4, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [8 x i32], ptr %12, i64 0, i64 %120
%122 = load i32, ptr %121, align 4
%123 = load i32, ptr %5, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 %124
%126 = load i32, ptr %125, align 4
%127 = call i32 @fprintf(ptr noundef %114, ptr noundef @.str.3, i32 noundef %118, i32 noundef %122, i32 noundef %126)
br label %128
128: ; preds = %107
%129 = load i32, ptr %6, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %6, align 4
%131 = load i32, ptr %6, align 4
%132 = icmp slt i32 %131, 2
br i1 %132, label %107, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %128
br label %133
133: ; preds = %._crit_edge15, %104
br label %134
134: ; preds = %133
%135 = load i32, ptr %4, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %4, align 4
%137 = load i32, ptr %4, align 4
%138 = icmp slt i32 %137, 8
br i1 %138, label %104, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %134
br label %139
139: ; preds = %._crit_edge18, %101
br label %140
140: ; preds = %139
%141 = load i32, ptr %7, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %7, align 4
%143 = load i32, ptr %7, align 4
%144 = icmp slt i32 %143, 2
br i1 %144, label %101, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %140
br label %145
145: ; preds = %._crit_edge21, %98
br label %146
146: ; preds = %145
%147 = load i32, ptr %3, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %3, align 4
%149 = load i32, ptr %3, align 4
%150 = icmp slt i32 %149, 3
br i1 %150, label %98, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %146
br label %151
151: ; preds = %._crit_edge24, %93
%152 = load ptr, ptr %2, align 8
%153 = call i32 @fclose(ptr noundef %152)
%154 = load i32, ptr %8, align 4
%155 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %154)
store i32 0, ptr %1, align 4
br label %156
156: ; preds = %151, %17
%157 = load i32, ptr %1, align 4
ret i32 %157
}
; 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 ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmpadqpwd9t.c'
source_filename = "/tmp/tmpadqpwd9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = zext i32 %10 to i64
%12 = load i32, ptr %2, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %3, align 8
%15 = mul nuw i64 %11, %13
%16 = alloca i32, i64 %15, align 16
store i64 %11, ptr %4, align 8
store i64 %13, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %6, align 4
br label %17
17: ; preds = %39, %0
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %42
21: ; preds = %17
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %35, %21
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %38
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = mul nsw i64 %28, %13
%30 = getelementptr inbounds i32, ptr %16, i64 %29
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = call i32 @scanf(ptr noundef @.str, ptr noundef %33)
br label %35
35: ; preds = %26
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %22, !llvm.loop !6
38: ; preds = %22
br label %39
39: ; preds = %38
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %17, !llvm.loop !8
42: ; preds = %17
%43 = load i32, ptr %2, align 4
%44 = zext i32 %43 to i64
%45 = load i32, ptr %2, align 4
%46 = zext i32 %45 to i64
%47 = mul nuw i64 %44, %46
%48 = alloca i32, i64 %47, align 16
store i64 %44, ptr %8, align 8
store i64 %46, ptr %9, align 8
store i32 0, ptr %6, align 4
br label %49
49: ; preds = %78, %42
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %2, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %81
53: ; preds = %49
store i32 0, ptr %7, align 4
br label %54
54: ; preds = %74, %53
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %77
58: ; preds = %54
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = mul nsw i64 %60, %13
%62 = getelementptr inbounds i32, ptr %16, i64 %61
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = mul nsw i64 %68, %46
%70 = getelementptr inbounds i32, ptr %48, i64 %69
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
store i32 %66, ptr %73, align 4
br label %74
74: ; preds = %58
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
br label %54, !llvm.loop !9
77: ; preds = %54
br label %78
78: ; preds = %77
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %6, align 4
br label %49, !llvm.loop !10
81: ; preds = %49
store i32 0, ptr %6, align 4
br label %82
82: ; preds = %106, %81
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %2, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %109
86: ; preds = %82
store i32 0, ptr %7, align 4
br label %87
87: ; preds = %101, %86
%88 = load i32, ptr %7, align 4
%89 = load i32, ptr %2, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %104
91: ; preds = %87
%92 = load i32, ptr %6, align 4
%93 = sext i32 %92 to i64
%94 = mul nsw i64 %93, %46
%95 = getelementptr inbounds i32, ptr %48, i64 %94
%96 = load i32, ptr %7, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %95, i64 %97
%99 = load i32, ptr %98, align 4
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %99)
br label %101
101: ; preds = %91
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %7, align 4
br label %87, !llvm.loop !11
104: ; preds = %87
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %106
106: ; preds = %104
%107 = load i32, ptr %6, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %6, align 4
br label %82, !llvm.loop !12
109: ; preds = %82
%110 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %110)
%111 = load i32, ptr %1, align 4
ret i32 %111
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadqpwd9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = zext i32 %10 to i64
%12 = load i32, ptr %2, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %3, align 8
%15 = mul nuw i64 %11, %13
%16 = alloca i32, i64 %15, align 16
store i64 %11, ptr %4, align 8
store i64 %13, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph2, label %46
.lr.ph2: ; preds = %0
br label %20
20: ; preds = %.lr.ph2, %40
store i32 0, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %39
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %33
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = mul nsw i64 %26, %13
%28 = getelementptr inbounds i32, ptr %16, i64 %27
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = call i32 @scanf(ptr noundef @.str, ptr noundef %31)
br label %33
33: ; preds = %24
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %20
br label %40
40: ; preds = %39
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %46
46: ; preds = %._crit_edge3, %0
%47 = load i32, ptr %2, align 4
%48 = zext i32 %47 to i64
%49 = load i32, ptr %2, align 4
%50 = zext i32 %49 to i64
%51 = mul nuw i64 %48, %50
%52 = alloca i32, i64 %51, align 16
store i64 %48, ptr %8, align 8
store i64 %50, ptr %9, align 8
store i32 0, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph8, label %89
.lr.ph8: ; preds = %46
br label %56
56: ; preds = %.lr.ph8, %83
store i32 0, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %2, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %.lr.ph5, label %82
.lr.ph5: ; preds = %56
br label %60
60: ; preds = %.lr.ph5, %76
%61 = load i32, ptr %7, align 4
%62 = sext i32 %61 to i64
%63 = mul nsw i64 %62, %13
%64 = getelementptr inbounds i32, ptr %16, i64 %63
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = mul nsw i64 %70, %50
%72 = getelementptr inbounds i32, ptr %52, i64 %71
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
store i32 %68, ptr %75, align 4
br label %76
76: ; preds = %60
%77 = load i32, ptr %7, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %7, align 4
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %2, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %60, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %56
br label %83
83: ; preds = %82
%84 = load i32, ptr %6, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %6, align 4
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %2, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %56, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %83
br label %89
89: ; preds = %._crit_edge9, %46
store i32 0, ptr %6, align 4
%90 = load i32, ptr %6, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %.lr.ph14, label %121
.lr.ph14: ; preds = %89
br label %93
93: ; preds = %.lr.ph14, %115
store i32 0, ptr %7, align 4
%94 = load i32, ptr %7, align 4
%95 = load i32, ptr %2, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %.lr.ph11, label %113
.lr.ph11: ; preds = %93
br label %97
97: ; preds = %.lr.ph11, %107
%98 = load i32, ptr %6, align 4
%99 = sext i32 %98 to i64
%100 = mul nsw i64 %99, %50
%101 = getelementptr inbounds i32, ptr %52, i64 %100
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
%105 = load i32, ptr %104, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %105)
br label %107
107: ; preds = %97
%108 = load i32, ptr %7, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %7, align 4
%110 = load i32, ptr %7, align 4
%111 = load i32, ptr %2, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %97, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %107
br label %113
113: ; preds = %._crit_edge12, %93
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %115
115: ; preds = %113
%116 = load i32, ptr %6, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %6, align 4
%118 = load i32, ptr %6, align 4
%119 = load i32, ptr %2, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %93, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %115
br label %121
121: ; preds = %._crit_edge15, %89
%122 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %122)
%123 = load i32, ptr %1, align 4
ret i32 %123
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpkgb3iuz7.c'
source_filename = "/tmp/tmpkgb3iuz7.c"
target datalayout = "e-m:e-p270: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/tmpkgb3iuz7.c"
target datalayout = "e-m:e-p270: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/tmpppje_060.c'
source_filename = "/tmp/tmpppje_060.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @loudbug_stringpost(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 @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
ret void
}
declare i32 @fputs(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/tmpppje_060.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @loudbug_stringpost(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 @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
ret void
}
declare i32 @fputs(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/tmptf0l095m.c'
source_filename = "/tmp/tmptf0l095m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %18
18: ; preds = %178, %0
%19 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%20 = load i64, ptr @EOF, align 8
%21 = icmp ne i64 %19, %20
br i1 %21, label %22, label %179
22: ; preds = %18
store i32 1, ptr %6, align 4
br label %23
23: ; preds = %175, %22
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %178
27: ; preds = %23
%28 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11, ptr noundef %12, ptr noundef %13)
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %13, align 4
%31 = icmp sge i32 %29, %30
br i1 %31, label %32, label %40
32: ; preds = %27
%33 = load i32, ptr %13, align 4
%34 = sitofp i32 %33 to double
%35 = fmul double 0x400921FB54442D18, %34
%36 = load i32, ptr %13, align 4
%37 = sitofp i32 %36 to double
%38 = fmul double %35, %37
%39 = call i32 @printf(ptr noundef @.str.2, double noundef %38)
br label %175
40: ; preds = %27
%41 = load i32, ptr %12, align 4
%42 = sitofp i32 %41 to double
%43 = fmul double 2.000000e+00, %42
%44 = load i32, ptr %11, align 4
%45 = sitofp i32 %44 to double
%46 = fmul double 1.000000e+00, %45
%47 = fdiv double %43, %46
%48 = call double @atan(double noundef %47) #4
store double %48, ptr %14, align 8
%49 = load i32, ptr %13, align 4
%50 = load i32, ptr %12, align 4
%51 = sitofp i32 %50 to double
%52 = fmul double 1.000000e+00, %51
%53 = fmul double %52, 1.000000e+00
%54 = load i32, ptr %12, align 4
%55 = sitofp i32 %54 to double
%56 = load i32, ptr %11, align 4
%57 = sitofp i32 %56 to double
%58 = fmul double 1.000000e+00, %57
%59 = fmul double %58, 1.000000e+00
%60 = load i32, ptr %11, align 4
%61 = sitofp i32 %60 to double
%62 = fmul double %59, %61
%63 = fdiv double %62, 4.000000e+00
%64 = call double @llvm.fmuladd.f64(double %53, double %55, double %63)
%65 = call i32 @pow(double noundef %64, double noundef 5.000000e-01)
%66 = sub nsw i32 %49, %65
%67 = sitofp i32 %66 to double
store double %67, ptr %16, align 8
%68 = load double, ptr %16, align 8
%69 = load i32, ptr %11, align 4
%70 = sitofp i32 %69 to double
%71 = fmul double 5.000000e-01, %70
%72 = fcmp ole double %68, %71
br i1 %72, label %73, label %109
73: ; preds = %40
%74 = load i32, ptr %13, align 4
%75 = sitofp i32 %74 to double
%76 = fmul double 2.500000e-01, %75
%77 = fmul double %76, 1.000000e+00
%78 = load i32, ptr %13, align 4
%79 = sitofp i32 %78 to double
%80 = fmul double %77, %79
%81 = load double, ptr %14, align 8
%82 = fmul double 5.000000e-01, %81
%83 = load i32, ptr %13, align 4
%84 = sitofp i32 %83 to double
%85 = fmul double %82, %84
%86 = load i32, ptr %13, align 4
%87 = sitofp i32 %86 to double
%88 = fmul double %85, %87
%89 = call double @llvm.fmuladd.f64(double %80, double 3.140000e+00, double %88)
%90 = load i32, ptr %11, align 4
%91 = sitofp i32 %90 to double
%92 = fmul double 1.000000e+00, %91
%93 = fdiv double %92, 2.000000e+00
%94 = fmul double %93, 1.000000e+00
%95 = load i32, ptr %12, align 4
%96 = sitofp i32 %95 to double
%97 = fmul double %94, %96
%98 = call double @llvm.fmuladd.f64(double %97, double 5.000000e-01, double %89)
%99 = load double, ptr %16, align 8
%100 = fmul double 5.000000e-01, %99
%101 = load double, ptr %16, align 8
%102 = fmul double %100, %101
%103 = load double, ptr %14, align 8
%104 = fsub double 3.140000e+00, %103
%105 = call double @llvm.fmuladd.f64(double %102, double %104, double %98)
store double %105, ptr %15, align 8
%106 = load double, ptr %15, align 8
%107 = fmul double %106, 2.000000e+00
%108 = call i32 @printf(ptr noundef @.str.2, double noundef %107)
br label %174
109: ; preds = %40
%110 = load i32, ptr %11, align 4
%111 = sitofp i32 %110 to double
%112 = fmul double 1.000000e+00, %111
%113 = load double, ptr %16, align 8
%114 = fmul double 2.000000e+00, %113
%115 = fdiv double %112, %114
%116 = call double @acos(double noundef %115) #4
store double %116, ptr %17, align 8
%117 = load i32, ptr %13, align 4
%118 = sitofp i32 %117 to double
%119 = fmul double 2.500000e-01, %118
%120 = fmul double %119, 1.000000e+00
%121 = load i32, ptr %13, align 4
%122 = sitofp i32 %121 to double
%123 = fmul double %120, %122
%124 = load double, ptr %14, align 8
%125 = fmul double 5.000000e-01, %124
%126 = load i32, ptr %13, align 4
%127 = sitofp i32 %126 to double
%128 = fmul double %125, %127
%129 = load i32, ptr %13, align 4
%130 = sitofp i32 %129 to double
%131 = fmul double %128, %130
%132 = call double @llvm.fmuladd.f64(double %123, double 3.140000e+00, double %131)
%133 = load i32, ptr %11, align 4
%134 = sitofp i32 %133 to double
%135 = fmul double 1.000000e+00, %134
%136 = fdiv double %135, 2.000000e+00
%137 = fmul double %136, 1.000000e+00
%138 = load i32, ptr %12, align 4
%139 = sitofp i32 %138 to double
%140 = fmul double %137, %139
%141 = call double @llvm.fmuladd.f64(double %140, double 5.000000e-01, double %132)
%142 = load double, ptr %16, align 8
%143 = fmul double 5.000000e-01, %142
%144 = load double, ptr %16, align 8
%145 = fmul double %143, %144
%146 = load double, ptr %14, align 8
%147 = fsub double 3.140000e+00, %146
%148 = call double @llvm.fmuladd.f64(double %145, double %147, double %141)
%149 = load double, ptr %17, align 8
%150 = fmul double %149, 5.000000e-01
%151 = load double, ptr %16, align 8
%152 = fmul double %150, %151
%153 = load double, ptr %16, align 8
%154 = fneg double %152
%155 = call double @llvm.fmuladd.f64(double %154, double %153, double %148)
%156 = load i32, ptr %11, align 4
%157 = sitofp i32 %156 to double
%158 = fmul double 2.500000e-01, %157
%159 = load double, ptr %16, align 8
%160 = load double, ptr %16, align 8
%161 = load i32, ptr %11, align 4
%162 = sitofp i32 %161 to double
%163 = fmul double 2.500000e-01, %162
%164 = load i32, ptr %11, align 4
%165 = sitofp i32 %164 to double
%166 = fmul double %163, %165
%167 = fneg double %166
%168 = call double @llvm.fmuladd.f64(double %159, double %160, double %167)
%169 = call double @sqrt(double noundef %168) #4
%170 = call double @llvm.fmuladd.f64(double %158, double %169, double %155)
store double %170, ptr %15, align 8
%171 = load double, ptr %15, align 8
%172 = fmul double %171, 2.000000e+00
%173 = call i32 @printf(ptr noundef @.str.2, double noundef %172)
br label %174
174: ; preds = %109, %73
br label %175
175: ; preds = %174, %32
%176 = load i32, ptr %6, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %6, align 4
br label %23, !llvm.loop !6
178: ; preds = %23
br label %18, !llvm.loop !8
179: ; preds = %18
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @atan(double noundef) #2
declare i32 @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @acos(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptf0l095m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 0, ptr %1, align 4
%18 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%19 = load i64, ptr @EOF, align 8
%20 = icmp ne i64 %18, %19
br i1 %20, label %.lr.ph2, label %183
.lr.ph2: ; preds = %0
br label %21
21: ; preds = %.lr.ph2, %179
store i32 1, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %.lr.ph, label %179
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %173
%26 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11, ptr noundef %12, ptr noundef %13)
%27 = load i32, ptr %12, align 4
%28 = load i32, ptr %13, align 4
%29 = icmp sge i32 %27, %28
br i1 %29, label %30, label %38
30: ; preds = %25
%31 = load i32, ptr %13, align 4
%32 = sitofp i32 %31 to double
%33 = fmul double 0x400921FB54442D18, %32
%34 = load i32, ptr %13, align 4
%35 = sitofp i32 %34 to double
%36 = fmul double %33, %35
%37 = call i32 @printf(ptr noundef @.str.2, double noundef %36)
br label %173
38: ; preds = %25
%39 = load i32, ptr %12, align 4
%40 = sitofp i32 %39 to double
%41 = fmul double 2.000000e+00, %40
%42 = load i32, ptr %11, align 4
%43 = sitofp i32 %42 to double
%44 = fmul double 1.000000e+00, %43
%45 = fdiv double %41, %44
%46 = call double @atan(double noundef %45) #4
store double %46, ptr %14, align 8
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr %12, align 4
%49 = sitofp i32 %48 to double
%50 = fmul double 1.000000e+00, %49
%51 = fmul double %50, 1.000000e+00
%52 = load i32, ptr %12, align 4
%53 = sitofp i32 %52 to double
%54 = load i32, ptr %11, align 4
%55 = sitofp i32 %54 to double
%56 = fmul double 1.000000e+00, %55
%57 = fmul double %56, 1.000000e+00
%58 = load i32, ptr %11, align 4
%59 = sitofp i32 %58 to double
%60 = fmul double %57, %59
%61 = fdiv double %60, 4.000000e+00
%62 = call double @llvm.fmuladd.f64(double %51, double %53, double %61)
%63 = call i32 @pow(double noundef %62, double noundef 5.000000e-01)
%64 = sub nsw i32 %47, %63
%65 = sitofp i32 %64 to double
store double %65, ptr %16, align 8
%66 = load double, ptr %16, align 8
%67 = load i32, ptr %11, align 4
%68 = sitofp i32 %67 to double
%69 = fmul double 5.000000e-01, %68
%70 = fcmp ole double %66, %69
br i1 %70, label %71, label %107
71: ; preds = %38
%72 = load i32, ptr %13, align 4
%73 = sitofp i32 %72 to double
%74 = fmul double 2.500000e-01, %73
%75 = fmul double %74, 1.000000e+00
%76 = load i32, ptr %13, align 4
%77 = sitofp i32 %76 to double
%78 = fmul double %75, %77
%79 = load double, ptr %14, align 8
%80 = fmul double 5.000000e-01, %79
%81 = load i32, ptr %13, align 4
%82 = sitofp i32 %81 to double
%83 = fmul double %80, %82
%84 = load i32, ptr %13, align 4
%85 = sitofp i32 %84 to double
%86 = fmul double %83, %85
%87 = call double @llvm.fmuladd.f64(double %78, double 3.140000e+00, double %86)
%88 = load i32, ptr %11, align 4
%89 = sitofp i32 %88 to double
%90 = fmul double 1.000000e+00, %89
%91 = fdiv double %90, 2.000000e+00
%92 = fmul double %91, 1.000000e+00
%93 = load i32, ptr %12, align 4
%94 = sitofp i32 %93 to double
%95 = fmul double %92, %94
%96 = call double @llvm.fmuladd.f64(double %95, double 5.000000e-01, double %87)
%97 = load double, ptr %16, align 8
%98 = fmul double 5.000000e-01, %97
%99 = load double, ptr %16, align 8
%100 = fmul double %98, %99
%101 = load double, ptr %14, align 8
%102 = fsub double 3.140000e+00, %101
%103 = call double @llvm.fmuladd.f64(double %100, double %102, double %96)
store double %103, ptr %15, align 8
%104 = load double, ptr %15, align 8
%105 = fmul double %104, 2.000000e+00
%106 = call i32 @printf(ptr noundef @.str.2, double noundef %105)
br label %172
107: ; preds = %38
%108 = load i32, ptr %11, align 4
%109 = sitofp i32 %108 to double
%110 = fmul double 1.000000e+00, %109
%111 = load double, ptr %16, align 8
%112 = fmul double 2.000000e+00, %111
%113 = fdiv double %110, %112
%114 = call double @acos(double noundef %113) #4
store double %114, ptr %17, align 8
%115 = load i32, ptr %13, align 4
%116 = sitofp i32 %115 to double
%117 = fmul double 2.500000e-01, %116
%118 = fmul double %117, 1.000000e+00
%119 = load i32, ptr %13, align 4
%120 = sitofp i32 %119 to double
%121 = fmul double %118, %120
%122 = load double, ptr %14, align 8
%123 = fmul double 5.000000e-01, %122
%124 = load i32, ptr %13, align 4
%125 = sitofp i32 %124 to double
%126 = fmul double %123, %125
%127 = load i32, ptr %13, align 4
%128 = sitofp i32 %127 to double
%129 = fmul double %126, %128
%130 = call double @llvm.fmuladd.f64(double %121, double 3.140000e+00, double %129)
%131 = load i32, ptr %11, align 4
%132 = sitofp i32 %131 to double
%133 = fmul double 1.000000e+00, %132
%134 = fdiv double %133, 2.000000e+00
%135 = fmul double %134, 1.000000e+00
%136 = load i32, ptr %12, align 4
%137 = sitofp i32 %136 to double
%138 = fmul double %135, %137
%139 = call double @llvm.fmuladd.f64(double %138, double 5.000000e-01, double %130)
%140 = load double, ptr %16, align 8
%141 = fmul double 5.000000e-01, %140
%142 = load double, ptr %16, align 8
%143 = fmul double %141, %142
%144 = load double, ptr %14, align 8
%145 = fsub double 3.140000e+00, %144
%146 = call double @llvm.fmuladd.f64(double %143, double %145, double %139)
%147 = load double, ptr %17, align 8
%148 = fmul double %147, 5.000000e-01
%149 = load double, ptr %16, align 8
%150 = fmul double %148, %149
%151 = load double, ptr %16, align 8
%152 = fneg double %150
%153 = call double @llvm.fmuladd.f64(double %152, double %151, double %146)
%154 = load i32, ptr %11, align 4
%155 = sitofp i32 %154 to double
%156 = fmul double 2.500000e-01, %155
%157 = load double, ptr %16, align 8
%158 = load double, ptr %16, align 8
%159 = load i32, ptr %11, align 4
%160 = sitofp i32 %159 to double
%161 = fmul double 2.500000e-01, %160
%162 = load i32, ptr %11, align 4
%163 = sitofp i32 %162 to double
%164 = fmul double %161, %163
%165 = fneg double %164
%166 = call double @llvm.fmuladd.f64(double %157, double %158, double %165)
%167 = call double @sqrt(double noundef %166) #4
%168 = call double @llvm.fmuladd.f64(double %156, double %167, double %153)
store double %168, ptr %15, align 8
%169 = load double, ptr %15, align 8
%170 = fmul double %169, 2.000000e+00
%171 = call i32 @printf(ptr noundef @.str.2, double noundef %170)
br label %172
172: ; preds = %107, %71
br label %173
173: ; preds = %172, %30
%174 = load i32, ptr %6, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %6, align 4
%176 = load i32, ptr %6, align 4
%177 = load i32, ptr %5, align 4
%178 = icmp sle i32 %176, %177
br i1 %178, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %173
br label %179
179: ; preds = %._crit_edge, %21
%180 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%181 = load i64, ptr @EOF, align 8
%182 = icmp ne i64 %180, %181
br i1 %182, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %179
br label %183
183: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @atan(double noundef) #2
declare i32 @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @acos(double noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp85fmvzi5.c'
source_filename = "/tmp/tmp85fmvzi5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"queryusers_callback\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mumble_queryusers_callback(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp85fmvzi5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"queryusers_callback\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mumble_queryusers_callback(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnde5fe_v.c'
source_filename = "/tmp/tmpnde5fe_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leer_linea(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @getline(ptr noundef %5, ptr noundef %4, ptr noundef %6)
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %5, align 8
%11 = call ptr @chomp(ptr noundef %10)
store ptr %11, ptr %2, align 8
br label %15
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
%14 = call i32 @free(ptr noundef %13)
store ptr null, ptr %2, align 8
br label %15
15: ; preds = %12, %9
%16 = load ptr, ptr %2, align 8
ret ptr %16
}
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @chomp(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/tmpnde5fe_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leer_linea(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @getline(ptr noundef %5, ptr noundef %4, ptr noundef %6)
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %5, align 8
%11 = call ptr @chomp(ptr noundef %10)
store ptr %11, ptr %2, align 8
br label %15
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
%14 = call i32 @free(ptr noundef %13)
store ptr null, ptr %2, align 8
br label %15
15: ; preds = %12, %9
%16 = load ptr, ptr %2, align 8
ret ptr %16
}
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @chomp(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/tmpjjetkvxq.c'
source_filename = "/tmp/tmpjjetkvxq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bytes_to_ui32(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = shl i32 %5, 24
%7 = and i32 %6, -16777216
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 1
%10 = load i32, ptr %9, align 4
%11 = shl i32 %10, 16
%12 = and i32 %11, 16711680
%13 = or i32 %7, %12
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 2
%16 = load i32, ptr %15, align 4
%17 = shl i32 %16, 8
%18 = and i32 %17, 65280
%19 = or i32 %13, %18
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 3
%22 = load i32, ptr %21, align 4
%23 = and i32 %22, 255
%24 = or i32 %19, %23
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjetkvxq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bytes_to_ui32(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = shl i32 %5, 24
%7 = and i32 %6, -16777216
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 1
%10 = load i32, ptr %9, align 4
%11 = shl i32 %10, 16
%12 = and i32 %11, 16711680
%13 = or i32 %7, %12
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 2
%16 = load i32, ptr %15, align 4
%17 = shl i32 %16, 8
%18 = and i32 %17, 65280
%19 = or i32 %13, %18
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 3
%22 = load i32, ptr %21, align 4
%23 = and i32 %22, 255
%24 = or i32 %19, %23
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsm28wohj.c'
source_filename = "/tmp/tmpsm28wohj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Notunuzu giriniz: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Siz Kaldiniz! Notunuz: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Harf notunuz: B. Notunuz: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Harf notunuz: A. Notunuz: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Shaka yapma!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %38
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 100
br i1 %9, label %10, label %38
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %14, 59
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
br label %19
19: ; preds = %16, %13, %10
%20 = load i32, ptr %2, align 4
%21 = icmp sge i32 %20, 60
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = load i32, ptr %2, align 4
%24 = icmp sle i32 %23, 79
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26)
br label %28
28: ; preds = %25, %22, %19
%29 = load i32, ptr %2, align 4
%30 = icmp sge i32 %29, 80
br i1 %30, label %31, label %37
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = icmp sle i32 %32, 100
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
br label %37
37: ; preds = %34, %31, %28
br label %40
38: ; preds = %7, %0
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %40
40: ; preds = %38, %37
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsm28wohj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Notunuzu giriniz: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Siz Kaldiniz! Notunuz: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Harf notunuz: B. Notunuz: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Harf notunuz: A. Notunuz: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Shaka yapma!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %38
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 100
br i1 %9, label %10, label %38
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %14, 59
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
br label %19
19: ; preds = %16, %13, %10
%20 = load i32, ptr %2, align 4
%21 = icmp sge i32 %20, 60
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = load i32, ptr %2, align 4
%24 = icmp sle i32 %23, 79
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26)
br label %28
28: ; preds = %25, %22, %19
%29 = load i32, ptr %2, align 4
%30 = icmp sge i32 %29, 80
br i1 %30, label %31, label %37
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = icmp sle i32 %32, 100
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
br label %37
37: ; preds = %34, %31, %28
br label %40
38: ; preds = %7, %0
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %40
40: ; preds = %38, %37
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpga5jqe56.c'
source_filename = "/tmp/tmpga5jqe56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"func2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @crash()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @crash(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpga5jqe56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"func2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @crash()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @crash(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa8dda_f1.c'
source_filename = "/tmp/tmpa8dda_f1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Zeta=%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"zeta\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa8dda_f1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Zeta=%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"zeta\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp98jpjh2k.c'
source_filename = "/tmp/tmp98jpjh2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hd\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_assume_default_colors(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i16, align 2
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 %35
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
%15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = call i32 @report_count(i32 noundef 1)
%19 = call i32 @report_error(ptr noundef @.str.1)
br label %35
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = call i32 @report_count(i32 noundef 1)
%28 = call i32 @report_error(ptr noundef @.str.1)
br label %35
29: ; preds = %20
%30 = call i32 @report_count(i32 noundef 1)
%31 = load i16, ptr %5, align 2
%32 = load i16, ptr %6, align 2
%33 = call i32 @assume_default_colors(i16 noundef signext %31, i16 noundef signext %32)
%34 = call i32 @report_return(i32 noundef %33)
br label %35
35: ; preds = %29, %26, %17, %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 @assume_default_colors(i16 noundef signext, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp98jpjh2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%hd\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_assume_default_colors(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca i16, align 2
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 %35
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
%15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = call i32 @report_count(i32 noundef 1)
%19 = call i32 @report_error(ptr noundef @.str.1)
br label %35
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = call i32 @report_count(i32 noundef 1)
%28 = call i32 @report_error(ptr noundef @.str.1)
br label %35
29: ; preds = %20
%30 = call i32 @report_count(i32 noundef 1)
%31 = load i16, ptr %5, align 2
%32 = load i16, ptr %6, align 2
%33 = call i32 @assume_default_colors(i16 noundef signext %31, i16 noundef signext %32)
%34 = call i32 @report_return(i32 noundef %33)
br label %35
35: ; preds = %29, %26, %17, %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 @assume_default_colors(i16 noundef signext, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo5njgmjs.c'
source_filename = "/tmp/tmpo5njgmjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-v\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"%012llx 0x%08x 0x%08x ** ERROR **\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"%012llx %08x %08x %d errors\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"%012llx bytes %llu Mbytes %d errors\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%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
store i64 0, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %15
store i32 1, ptr %12, align 4
br label %22
22: ; preds = %21, %15, %2
store i64 0, ptr %9, align 8
br label %23
23: ; preds = %68, %22
%24 = load i32, ptr @stdin, align 4
%25 = call i64 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %71
27: ; preds = %23
%28 = load i64, ptr %9, align 8
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load i32, ptr %6, align 4
store i32 %31, ptr %8, align 4
store i32 %31, ptr %7, align 4
br label %53
32: ; preds = %27
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %8, align 4
%35 = add i32 %34, 1
%36 = icmp ne i32 %33, %35
br i1 %36, label %37, label %50
37: ; preds = %32
%38 = load i32, ptr %11, align 4
%39 = add i32 %38, 1
store i32 %39, ptr %11, align 4
%40 = icmp ult i32 %39, 10
br i1 %40, label %41, label %47
41: ; preds = %37
%42 = load i64, ptr %9, align 8
%43 = load i32, ptr %8, align 4
%44 = zext i32 %43 to i64
%45 = load i32, ptr %6, align 4
%46 = call i32 (ptr, i64, i64, i32, ...) @printf(ptr noundef @.str.1, i64 noundef %42, i64 noundef %44, i32 noundef %45)
br label %47
47: ; preds = %41, %37
%48 = load i32, ptr %10, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %10, align 4
br label %51
50: ; preds = %32
store i32 0, ptr %11, align 4
br label %51
51: ; preds = %50, %47
%52 = load i32, ptr %6, align 4
store i32 %52, ptr %8, align 4
br label %53
53: ; preds = %51, %30
%54 = load i32, ptr %12, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %67
56: ; preds = %53
%57 = load i64, ptr %9, align 8
%58 = urem i64 %57, 262144
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %67
60: ; preds = %56
%61 = load i64, ptr %9, align 8
%62 = load i32, ptr %7, align 4
%63 = zext i32 %62 to i64
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %10, align 4
%66 = call i32 (ptr, i64, i64, i32, ...) @printf(ptr noundef @.str.2, i64 noundef %61, i64 noundef %63, i32 noundef %64, i32 noundef %65)
br label %67
67: ; preds = %60, %56, %53
br label %68
68: ; preds = %67
%69 = load i64, ptr %9, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %9, align 8
br label %23, !llvm.loop !6
71: ; preds = %23
%72 = load i64, ptr %9, align 8
%73 = mul i64 %72, 4
%74 = load i64, ptr %9, align 8
%75 = mul i64 %74, 4
%76 = udiv i64 %75, 1048576
%77 = load i32, ptr %10, align 4
%78 = call i32 (ptr, i64, i64, i32, ...) @printf(ptr noundef @.str.3, i64 noundef %73, i64 noundef %76, i32 noundef %77)
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 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/tmpo5njgmjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-v\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"%012llx 0x%08x 0x%08x ** ERROR **\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"%012llx %08x %08x %d errors\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"%012llx bytes %llu Mbytes %d errors\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%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
store i64 0, ptr %9, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %15
store i32 1, ptr %12, align 4
br label %22
22: ; preds = %21, %15, %2
store i64 0, ptr %9, align 8
%23 = load i32, ptr @stdin, align 4
%24 = call i64 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, i32 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %.lr.ph, label %73
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %67
%27 = load i64, ptr %9, align 8
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = load i32, ptr %6, align 4
store i32 %30, ptr %8, align 4
store i32 %30, ptr %7, align 4
br label %52
31: ; preds = %26
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %8, align 4
%34 = add i32 %33, 1
%35 = icmp ne i32 %32, %34
br i1 %35, label %36, label %49
36: ; preds = %31
%37 = load i32, ptr %11, align 4
%38 = add i32 %37, 1
store i32 %38, ptr %11, align 4
%39 = icmp ult i32 %38, 10
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i64, ptr %9, align 8
%42 = load i32, ptr %8, align 4
%43 = zext i32 %42 to i64
%44 = load i32, ptr %6, align 4
%45 = call i32 (ptr, i64, i64, i32, ...) @printf(ptr noundef @.str.1, i64 noundef %41, i64 noundef %43, i32 noundef %44)
br label %46
46: ; preds = %40, %36
%47 = load i32, ptr %10, align 4
%48 = add i32 %47, 1
store i32 %48, ptr %10, align 4
br label %50
49: ; preds = %31
store i32 0, ptr %11, align 4
br label %50
50: ; preds = %49, %46
%51 = load i32, ptr %6, align 4
store i32 %51, ptr %8, align 4
br label %52
52: ; preds = %50, %29
%53 = load i32, ptr %12, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %66
55: ; preds = %52
%56 = load i64, ptr %9, align 8
%57 = urem i64 %56, 262144
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %66
59: ; preds = %55
%60 = load i64, ptr %9, align 8
%61 = load i32, ptr %7, align 4
%62 = zext i32 %61 to i64
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %10, align 4
%65 = call i32 (ptr, i64, i64, i32, ...) @printf(ptr noundef @.str.2, i64 noundef %60, i64 noundef %62, i32 noundef %63, i32 noundef %64)
br label %66
66: ; preds = %59, %55, %52
br label %67
67: ; preds = %66
%68 = load i64, ptr %9, align 8
%69 = add i64 %68, 1
store i64 %69, ptr %9, align 8
%70 = load i32, ptr @stdin, align 4
%71 = call i64 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, i32 noundef %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %67
br label %73
73: ; preds = %._crit_edge, %22
%74 = load i64, ptr %9, align 8
%75 = mul i64 %74, 4
%76 = load i64, ptr %9, align 8
%77 = mul i64 %76, 4
%78 = udiv i64 %77, 1048576
%79 = load i32, ptr %10, align 4
%80 = call i32 (ptr, i64, i64, i32, ...) @printf(ptr noundef @.str.3, i64 noundef %75, i64 noundef %78, i32 noundef %79)
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 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/tmp_58yhiou.c'
source_filename = "/tmp/tmp_58yhiou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"max value is : %d \0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 100, ptr %2, align 4
store i32 200, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @max(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_58yhiou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"max value is : %d \0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 100, ptr %2, align 4
store i32 200, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @max(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw7v0atox.c'
source_filename = "/tmp/tmpw7v0atox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PR_GET_SECCOMP = dso_local global i32 0, align 4
@PR_SET_SECCOMP = dso_local global i32 0, align 4
@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/tmpw7v0atox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PR_GET_SECCOMP = dso_local global i32 0, align 4
@PR_SET_SECCOMP = dso_local global i32 0, align 4
@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/tmp7l55ht1l.c'
source_filename = "/tmp/tmp7l55ht1l.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Assert failed (%s): %s line %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pbcAssertHandler(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 i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp7l55ht1l.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Assert failed (%s): %s line %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pbcAssertHandler(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 i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp0ogzati8.c'
source_filename = "/tmp/tmp0ogzati8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"\0A----- Max usage not available--------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReportMaxPoolUsages() #0 {
%1 = call i32 @uprintf(ptr noundef @.str)
ret void
}
declare i32 @uprintf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ogzati8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"\0A----- Max usage not available--------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReportMaxPoolUsages() #0 {
%1 = call i32 @uprintf(ptr noundef @.str)
ret void
}
declare i32 @uprintf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp5sqsbuj.c'
source_filename = "/tmp/tmpp5sqsbuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCSI_Out_Ctl_Wakeup() #0 {
%1 = call i32 (...) @SCSI_Out_Ctl_RestoreConfig()
ret void
}
declare i32 @SCSI_Out_Ctl_RestoreConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5sqsbuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCSI_Out_Ctl_Wakeup() #0 {
%1 = call i32 (...) @SCSI_Out_Ctl_RestoreConfig()
ret void
}
declare i32 @SCSI_Out_Ctl_RestoreConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprqhnrp1a.c'
source_filename = "/tmp/tmprqhnrp1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"+=============+=================================+\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"| command | description |\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"+=============+=================================|\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"| help | command details |\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"| hello | welcome |\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"| quit | exit command |\0A\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c"| rectangle | draw a rectangle |\0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c"| add | addition of two numbers |\0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c"| subtract | subtraction of two numbers |\0A\00", align 1
@.str.9 = private unnamed_addr constant [51 x i8] c"| multiply | multiplication of two numbers |\0A\00", align 1
@.str.10 = private unnamed_addr constant [51 x i8] c"| divide | division of two numbers |\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = 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/tmprqhnrp1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"+=============+=================================+\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"| command | description |\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"+=============+=================================|\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"| help | command details |\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"| hello | welcome |\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"| quit | exit command |\0A\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c"| rectangle | draw a rectangle |\0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c"| add | addition of two numbers |\0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c"| subtract | subtraction of two numbers |\0A\00", align 1
@.str.9 = private unnamed_addr constant [51 x i8] c"| multiply | multiplication of two numbers |\0A\00", align 1
@.str.10 = private unnamed_addr constant [51 x i8] c"| divide | division of two numbers |\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = 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/tmp1upnygvf.c'
source_filename = "/tmp/tmp1upnygvf.c"
target datalayout = "e-m:e-p270: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/tmp1upnygvf.c"
target datalayout = "e-m:e-p270: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/tmpy6vzbp5z.c'
source_filename = "/tmp/tmpy6vzbp5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"array1[%d] = %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stack_overflow_test() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x i8], align 1
%3 = alloca [1 x i8], align 1
%4 = getelementptr inbounds [1 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %17, %0
%7 = load i32, ptr %1, align 4
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %8, 1
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i8 noundef signext %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %1, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %1, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 @sleep(i32 noundef 1)
ret i32 0
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy6vzbp5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"array1[%d] = %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stack_overflow_test() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x i8], align 1
%3 = alloca [1 x i8], align 1
%4 = getelementptr inbounds [1 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
store i32 0, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = sext i32 %6 to i64
%8 = icmp ult i64 %7, 1
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %16
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i8 noundef signext %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %1, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %1, align 4
%19 = load i32, ptr %1, align 4
%20 = sext i32 %19 to i64
%21 = icmp ult i64 %20, 1
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @sleep(i32 noundef 1)
ret i32 0
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpslnn2dfu.c'
source_filename = "/tmp/tmpslnn2dfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"1 to start, -1 to quit: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0Aenter character: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"3\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.8 = private unnamed_addr constant [45 x i8] c"\C3\87\C3\81\C2\B7\C3\8E\C2\B1\C3\97\C2\B7\C2\A5\C3\80\C2\BB \C3\81\C2\BE\C2\B7\C3\A1\C3\87\C3\95\C2\B4\C3\8F\C2\B4\C3\99.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 0, ptr %2, align 1
store i32 0, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @scanf_s(ptr noundef @.str.1, ptr noundef %3, i32 noundef 1)
%6 = call i32 (...) @getchar()
br label %7
7: ; preds = %55, %0
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %8, -1
br i1 %9, label %10, label %56
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @scanf_s(ptr noundef @.str.3, ptr noundef %2, i32 noundef 1)
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = icmp sge i32 %14, 65
br i1 %15, label %16, label %22
16: ; preds = %10
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
%19 = icmp sle i32 %18, 90
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = call i32 @printf(ptr noundef @.str.4)
br label %56
22: ; preds = %16, %10
%23 = load i8, ptr %2, align 1
%24 = sext i8 %23 to i32
%25 = icmp sge i32 %24, 97
br i1 %25, label %26, label %32
26: ; preds = %22
%27 = load i8, ptr %2, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 122
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @printf(ptr noundef @.str.5)
br label %56
32: ; preds = %26, %22
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp sge i32 %34, 48
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i8, ptr %2, align 1
%38 = sext i8 %37 to i32
%39 = icmp sle i32 %38, 57
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @printf(ptr noundef @.str.6)
br label %56
42: ; preds = %36, %32
%43 = load i8, ptr %2, align 1
%44 = sext i8 %43 to i32
%45 = icmp sgt i32 %44, -1
br i1 %45, label %46, label %52
46: ; preds = %42
%47 = load i8, ptr %2, align 1
%48 = sext i8 %47 to i32
%49 = icmp slt i32 %48, 128
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = call i32 @printf(ptr noundef @.str.7)
br label %56
52: ; preds = %46, %42
br label %53
53: ; preds = %52
br label %54
54: ; preds = %53
br label %55
55: ; preds = %54
store i32 -1, ptr %3, align 4
br label %7, !llvm.loop !6
56: ; preds = %50, %40, %30, %20, %7
%57 = call i32 @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf_s(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpslnn2dfu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"1 to start, -1 to quit: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0Aenter character: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"2\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"3\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.8 = private unnamed_addr constant [45 x i8] c"\C3\87\C3\81\C2\B7\C3\8E\C2\B1\C3\97\C2\B7\C2\A5\C3\80\C2\BB \C3\81\C2\BE\C2\B7\C3\A1\C3\87\C3\95\C2\B4\C3\8F\C2\B4\C3\99.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 0, ptr %2, align 1
store i32 0, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @scanf_s(ptr noundef @.str.1, ptr noundef %3, i32 noundef 1)
%6 = call i32 (...) @getchar()
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %54
%10 = call i32 @printf(ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @scanf_s(ptr noundef @.str.3, ptr noundef %2, i32 noundef 1)
%12 = load i8, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = icmp sge i32 %13, 65
br i1 %14, label %15, label %21
15: ; preds = %9
%16 = load i8, ptr %2, align 1
%17 = sext i8 %16 to i32
%18 = icmp sle i32 %17, 90
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str.4)
br label %57
21: ; preds = %15, %9
%22 = load i8, ptr %2, align 1
%23 = sext i8 %22 to i32
%24 = icmp sge i32 %23, 97
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load i8, ptr %2, align 1
%27 = sext i8 %26 to i32
%28 = icmp sle i32 %27, 122
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = call i32 @printf(ptr noundef @.str.5)
br label %57
31: ; preds = %25, %21
%32 = load i8, ptr %2, align 1
%33 = sext i8 %32 to i32
%34 = icmp sge i32 %33, 48
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load i8, ptr %2, align 1
%37 = sext i8 %36 to i32
%38 = icmp sle i32 %37, 57
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 @printf(ptr noundef @.str.6)
br label %57
41: ; preds = %35, %31
%42 = load i8, ptr %2, align 1
%43 = sext i8 %42 to i32
%44 = icmp sgt i32 %43, -1
br i1 %44, label %45, label %51
45: ; preds = %41
%46 = load i8, ptr %2, align 1
%47 = sext i8 %46 to i32
%48 = icmp slt i32 %47, 128
br i1 %48, label %49, label %51
49: ; preds = %45
%50 = call i32 @printf(ptr noundef @.str.7)
br label %57
51: ; preds = %45, %41
br label %52
52: ; preds = %51
br label %53
53: ; preds = %52
br label %54
54: ; preds = %53
store i32 -1, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = icmp ne i32 %55, -1
br i1 %56, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %54
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %57
57: ; preds = %.loopexit, %49, %39, %29, %19
%58 = call i32 @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf_s(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmprpi_5_8p.c'
source_filename = "/tmp/tmprpi_5_8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @f(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @f2(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @f(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @f2(i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = call i32 @f(i32 noundef %11)
%13 = sdiv i32 %10, %12
%14 = load i32, ptr %2, align 4
%15 = call i32 @f2(i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i32 @f(i32 noundef %16)
%18 = add nsw i32 %15, %17
%19 = mul nsw i32 %13, %18
%20 = load i32, ptr %2, align 4
%21 = call i32 @f2(i32 noundef %20)
%22 = sdiv i32 %19, %21
%23 = load i32, ptr %2, align 4
%24 = call i32 @f(i32 noundef %23)
%25 = srem i32 %22, %24
%26 = load i32, ptr %2, align 4
%27 = call i32 @f2(i32 noundef %26)
%28 = srem i32 %25, %27
%29 = sub nsw i32 %8, %28
%30 = mul nsw i32 %6, %29
%31 = add nsw i32 %4, %30
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = call i32 @f(i32 noundef %32)
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %68
35: ; preds = %0
%36 = load i32, ptr %2, align 4
%37 = call i32 @f2(i32 noundef %36)
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %65
39: ; preds = %35
%40 = load i32, ptr %2, align 4
%41 = call i32 @f(i32 noundef %40)
%42 = load i32, ptr %2, align 4
%43 = call i32 @f2(i32 noundef %42)
%44 = load i32, ptr %2, align 4
%45 = call i32 @f(i32 noundef %44)
%46 = sdiv i32 %43, %45
%47 = icmp sgt i32 %41, %46
br i1 %47, label %63, label %48
48: ; preds = %39
%49 = load i32, ptr %2, align 4
%50 = call i32 @f2(i32 noundef %49)
%51 = load i32, ptr %2, align 4
%52 = call i32 @f(i32 noundef %51)
%53 = add nsw i32 %50, %52
%54 = load i32, ptr %2, align 4
%55 = call i32 @f2(i32 noundef %54)
%56 = sdiv i32 %53, %55
%57 = load i32, ptr %2, align 4
%58 = call i32 @f(i32 noundef %57)
%59 = srem i32 %56, %58
%60 = load i32, ptr %2, align 4
%61 = call i32 @f2(i32 noundef %60)
%62 = icmp slt i32 %59, %61
br label %63
63: ; preds = %48, %39
%64 = phi i1 [ true, %39 ], [ %62, %48 ]
br label %65
65: ; preds = %63, %35
%66 = phi i1 [ false, %35 ], [ %64, %63 ]
%67 = zext i1 %66 to i32
br label %70
68: ; preds = %0
%69 = call i32 @f2(i32 noundef 5)
br label %70
70: ; preds = %68, %65
%71 = phi i32 [ %67, %65 ], [ %69, %68 ]
store i32 %71, ptr %2, align 4
ret i32 0
}
declare i32 @f(i32 noundef) #1
declare i32 @f2(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/tmprpi_5_8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @f(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @f2(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @f(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @f2(i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = call i32 @f(i32 noundef %11)
%13 = sdiv i32 %10, %12
%14 = load i32, ptr %2, align 4
%15 = call i32 @f2(i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i32 @f(i32 noundef %16)
%18 = add nsw i32 %15, %17
%19 = mul nsw i32 %13, %18
%20 = load i32, ptr %2, align 4
%21 = call i32 @f2(i32 noundef %20)
%22 = sdiv i32 %19, %21
%23 = load i32, ptr %2, align 4
%24 = call i32 @f(i32 noundef %23)
%25 = srem i32 %22, %24
%26 = load i32, ptr %2, align 4
%27 = call i32 @f2(i32 noundef %26)
%28 = srem i32 %25, %27
%29 = sub nsw i32 %8, %28
%30 = mul nsw i32 %6, %29
%31 = add nsw i32 %4, %30
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = call i32 @f(i32 noundef %32)
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %68
35: ; preds = %0
%36 = load i32, ptr %2, align 4
%37 = call i32 @f2(i32 noundef %36)
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %65
39: ; preds = %35
%40 = load i32, ptr %2, align 4
%41 = call i32 @f(i32 noundef %40)
%42 = load i32, ptr %2, align 4
%43 = call i32 @f2(i32 noundef %42)
%44 = load i32, ptr %2, align 4
%45 = call i32 @f(i32 noundef %44)
%46 = sdiv i32 %43, %45
%47 = icmp sgt i32 %41, %46
br i1 %47, label %63, label %48
48: ; preds = %39
%49 = load i32, ptr %2, align 4
%50 = call i32 @f2(i32 noundef %49)
%51 = load i32, ptr %2, align 4
%52 = call i32 @f(i32 noundef %51)
%53 = add nsw i32 %50, %52
%54 = load i32, ptr %2, align 4
%55 = call i32 @f2(i32 noundef %54)
%56 = sdiv i32 %53, %55
%57 = load i32, ptr %2, align 4
%58 = call i32 @f(i32 noundef %57)
%59 = srem i32 %56, %58
%60 = load i32, ptr %2, align 4
%61 = call i32 @f2(i32 noundef %60)
%62 = icmp slt i32 %59, %61
br label %63
63: ; preds = %48, %39
%64 = phi i1 [ true, %39 ], [ %62, %48 ]
br label %65
65: ; preds = %63, %35
%66 = phi i1 [ false, %35 ], [ %64, %63 ]
%67 = zext i1 %66 to i32
br label %70
68: ; preds = %0
%69 = call i32 @f2(i32 noundef 5)
br label %70
70: ; preds = %68, %65
%71 = phi i32 [ %67, %65 ], [ %69, %68 ]
store i32 %71, ptr %2, align 4
ret i32 0
}
declare i32 @f(i32 noundef) #1
declare i32 @f2(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/tmpuaye33a4.c'
source_filename = "/tmp/tmpuaye33a4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
ret ptr %14
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuaye33a4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
ret ptr %14
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4la6ott.c'
source_filename = "/tmp/tmpj4la6ott.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
br label %11
11: ; preds = %15, %3
%12 = load i64, ptr %6, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %6, align 8
%14 = icmp ne i64 %12, 0
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %16, align 1
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %7, align 8
store i8 %18, ptr %19, align 1
br label %11, !llvm.loop !6
21: ; preds = %11
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpj4la6ott.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = add i64 %11, -1
store i64 %12, ptr %6, align 8
%13 = icmp ne i64 %11, 0
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %8, align 8
%17 = load i8, ptr %15, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
store i8 %17, ptr %18, align 1
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, -1
store i64 %21, ptr %6, align 8
%22 = icmp ne i64 %20, 0
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %23
23: ; preds = %._crit_edge, %3
%24 = load ptr, ptr %4, align 8
ret ptr %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_47_82fe.c'
source_filename = "/tmp/tmp_47_82fe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @insert_range(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [32 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %28, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %31
12: ; preds = %8
%13 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%14 = load i32, ptr %6, align 4
%15 = call i64 @snprintf(ptr noundef %13, i32 noundef 32, ptr noundef @.str, i32 noundef %14)
store i64 %15, ptr %7, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp uge i64 %16, 32
br i1 %17, label %18, label %19
18: ; preds = %12
store i64 31, ptr %7, align 8
br label %19
19: ; preds = %18, %12
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%22 = load i64, ptr %7, align 8
%23 = add i64 %22, 1
%24 = call i64 @shash_insert(ptr noundef %20, ptr noundef %21, i64 noundef %23, ptr noundef null)
%25 = icmp eq i64 0, %24
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
br label %28
28: ; preds = %19
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %8, !llvm.loop !6
31: ; preds = %8
ret void
}
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @shash_insert(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_47_82fe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @insert_range(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [32 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %27
%12 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%13 = load i32, ptr %6, align 4
%14 = call i64 @snprintf(ptr noundef %12, i32 noundef 32, ptr noundef @.str, i32 noundef %13)
store i64 %14, ptr %7, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp uge i64 %15, 32
br i1 %16, label %17, label %18
17: ; preds = %11
store i64 31, ptr %7, align 8
br label %18
18: ; preds = %17, %11
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%21 = load i64, ptr %7, align 8
%22 = add i64 %21, 1
%23 = call i64 @shash_insert(ptr noundef %19, ptr noundef %20, i64 noundef %22, ptr noundef null)
%24 = icmp eq i64 0, %23
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
br label %27
27: ; preds = %18
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
ret void
}
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @shash_insert(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2s3pvy4y.c'
source_filename = "/tmp/tmp2s3pvy4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_for_control_characters(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %24, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = call i64 @is_control_character(i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %11
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %28
23: ; preds = %11
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %27, %20
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i64 @is_control_character(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/tmp2s3pvy4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_for_control_characters(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %23
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = call i64 @is_control_character(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %10
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %30
22: ; preds = %10
br label %23
23: ; preds = %22
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %29, %19
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i64 @is_control_character(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/tmpuww928ch.c'
source_filename = "/tmp/tmpuww928ch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s_str_test() #0 {
%1 = call i32 (...) @s_str_test_char()
%2 = call i32 (...) @s_str_test_readNum()
%3 = call i32 (...) @s_string_test()
%4 = call i32 (...) @s_string_replace()
%5 = call i32 (...) @s_stringlist_test()
ret void
}
declare i32 @s_str_test_char(...) #1
declare i32 @s_str_test_readNum(...) #1
declare i32 @s_string_test(...) #1
declare i32 @s_string_replace(...) #1
declare i32 @s_stringlist_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuww928ch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s_str_test() #0 {
%1 = call i32 (...) @s_str_test_char()
%2 = call i32 (...) @s_str_test_readNum()
%3 = call i32 (...) @s_string_test()
%4 = call i32 (...) @s_string_replace()
%5 = call i32 (...) @s_stringlist_test()
ret void
}
declare i32 @s_str_test_char(...) #1
declare i32 @s_str_test_readNum(...) #1
declare i32 @s_string_test(...) #1
declare i32 @s_string_replace(...) #1
declare i32 @s_stringlist_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9bb4f8j_.c'
source_filename = "/tmp/tmp9bb4f8j_.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tv_difference(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%9 = load i64, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%12 = load i64, ptr %11, align 8
%13 = sub nsw i64 %9, %12
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1
store i64 %13, ptr %15, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0
%18 = load i64, ptr %17, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = sub nsw i64 %18, %21
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 0
store i64 %22, ptr %24, align 8
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds %struct.timeval, ptr %25, i32 0, i32 0
%27 = load i64, ptr %26, align 8
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %3
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = add nsw i64 %32, -1
store i64 %33, ptr %31, align 8
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds %struct.timeval, ptr %34, i32 0, i32 0
%36 = load i64, ptr %35, align 8
%37 = add nsw i64 %36, 1000000
store i64 %37, ptr %35, align 8
br label %38
38: ; preds = %29, %3
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/tmp9bb4f8j_.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tv_difference(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%9 = load i64, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%12 = load i64, ptr %11, align 8
%13 = sub nsw i64 %9, %12
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1
store i64 %13, ptr %15, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0
%18 = load i64, ptr %17, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = sub nsw i64 %18, %21
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 0
store i64 %22, ptr %24, align 8
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds %struct.timeval, ptr %25, i32 0, i32 0
%27 = load i64, ptr %26, align 8
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %3
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = add nsw i64 %32, -1
store i64 %33, ptr %31, align 8
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds %struct.timeval, ptr %34, i32 0, i32 0
%36 = load i64, ptr %35, align 8
%37 = add nsw i64 %36, 1000000
store i64 %37, ptr %35, align 8
br label %38
38: ; preds = %29, %3
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.